:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#f2f5fb;background:#0d121b;--accent:#fa884d;--line:#2a3545;--muted:#9babc0;--panel:#19212e}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}h1,h2,h3,h4,p{margin-top:0}h3{font-size:20px}small,.sub,.hint{color:var(--muted)}a{color:#ffb48b}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ffad75;outline-offset:2px}.primary{background:var(--accent);border:1px solid #ed854f;color:#16171a;border-radius:9px;padding:11px 17px;font-weight:750}.secondary{background:#273241;color:#edf3fb;border:1px solid #3a4b5d;border-radius:9px;padding:10px 14px;font-weight:600}.primary:hover{background:#ffae82}.secondary:hover{border-color:#8298b1}.wide{width:100%}.login-shell{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at top,#293142 0,#0d121b 60%)}.login-card{width:min(460px,100%);background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:33px;box-shadow:0 20px 80px #0007}.identity{display:flex;gap:12px;align-items:center}.identity img{width:58px;height:65px;object-fit:contain}.identity h1{font-size:21px;line-height:1.1;margin:0}.identity h1 span{color:var(--accent)}.identity p{font-size:12px;color:var(--muted);margin:4px 0}.login-card>h2{font-size:26px;margin:28px 0 6px}.login-card .sub{margin-bottom:25px}.login-card label{margin-bottom:15px}.danger{color:#ff9f9f;min-height:20px}.workspace{display:flex;min-height:100vh}.sidebar{width:240px;background:#131a25;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:17px 13px;position:sticky;top:0;height:100vh;flex-shrink:0}.brand{padding:7px 5px 24px}.brand img{width:49px;height:55px}.brand h1{font-size:18px}.sidebar nav{display:grid;gap:5px}.nav{text-align:left;background:transparent;color:#afbbcb;border:0;border-radius:9px;padding:12px 14px;width:100%;font-weight:650}.nav span{margin-left:8px}.nav:hover,.nav.active{background:#303b4b;color:#fff}.nav.active{box-shadow:inset 3px 0 var(--accent)}.bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:13px}.person{font-size:11px;overflow-wrap:anywhere;color:var(--muted);padding:8px 13px}.main{min-width:0;flex:1;max-width:1600px;padding:0 34px}.main header{height:96px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:26px}.main header h2{font-size:26px;margin:2px 0}.eyebrow{font-size:10px;font-weight:800;color:#ffae8c;letter-spacing:2px}.header-right{display:flex;align-items:center;gap:18px}.online{color:#a6e1bd;font-size:12px}#notice:not(:empty){padding:13px 15px;background:#263743;border:1px solid #47627c;border-radius:9px;margin-bottom:20px;white-space:pre-wrap;overflow-wrap:anywhere}#notice.error{border-color:#b55e5e;color:#ffb5b5}.page{padding-bottom:24px}.hero{background:linear-gradient(112deg,#292f3b,#3b312e);border:1px solid #5b463b;border-radius:18px;padding:27px 30px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:23px}.hero h3{font-size:31px;line-height:1.15;max-width:460px;margin:8px 0}.hero p{color:#d1cbd0;max-width:560px}.hero img{width:160px;height:170px;object-fit:contain}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stats article,.panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:20px;margin-bottom:19px}.stats small{display:block}.stats strong{font-size:35px;display:block;margin:6px 0;color:#fff}.stats span{font-size:12px;color:var(--muted)}.panel>h3{font-size:18px}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.steps div{border-top:1px solid var(--line);padding-top:13px}.steps b{color:var(--accent);display:block}.steps strong{display:block;margin:7px 0}.steps p{color:var(--muted);font-size:12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.page-heading h3{margin-bottom:4px}.page-heading p{color:var(--muted);margin:0}.two{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{display:block;font-size:12px;font-weight:650;color:#c9d5e6;margin:12px 0}input,textarea,select{display:block;width:100%;padding:11px;background:#0e1721;border:1px solid #3a485a;border-radius:8px;color:#f0f4f9;margin-top:6px;min-width:0}textarea{resize:vertical}.actions{display:flex;gap:9px;flex-wrap:wrap}.hint{font-size:12px;margin-top:16px}.stack{display:grid;gap:12px}.item{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#111b27;border:1px solid #303f51;border-radius:10px;padding:14px}.item strong{display:block;overflow-wrap:anywhere}.item p{margin:3px 0 0;font-size:12px;color:var(--muted)}.item .actions{justify-content:flex-end}.pill{display:inline-block;border:1px solid #49566a;color:#b5c7dd;border-radius:999px;font-size:10px;padding:3px 7px;margin-right:6px}.pill.completed{border-color:#377859;color:#a0edc4}.pill.failed,.pill.partial{border-color:#8c4e50;color:#ffc1b9}.pill.running{border-color:#816d3a;color:#f6dc92}.table-scroll{overflow:auto;max-height:550px;border:1px solid var(--line);border-radius:9px}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid #2b3848;max-width:450px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}th{position:sticky;top:0;background:#263246;color:#d7e5f2}td{color:#c6d4e1}.pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px}footer{text-align:center;font-size:11px;color:var(--muted);padding:30px 0}h4{margin-bottom:5px}@media(max-width:900px){.sidebar{width:72px}.sidebar .brand div,.sidebar .nav span,.person{display:none}.main{padding:0 16px}.sidebar .nav{padding:12px}.stats,.steps{grid-template-columns:1fr}.hero img{width:85px}.hero h3{font-size:25px}}@media(max-width:550px){.sidebar{width:100%;height:auto;position:fixed;bottom:0;top:auto;z-index:9;border-top:1px solid var(--line);padding:5px}.sidebar .brand,.sidebar .bottom{display:none}.sidebar nav{display:flex;justify-content:space-evenly}.sidebar .nav{width:auto;font-size:14px}.main{padding:0 13px 90px}.main header{height:90px}.header-right{gap:5px}.online{display:none}.hero{padding:19px}.hero img{display:none}.two{grid-template-columns:1fr}.item{align-items:flex-start;flex-direction:column}.item .actions{justify-content:flex-start}.login-card{padding:23px}}
/* Explicitly distinguish website restrictions from a parser failure. */
.pill.blocked{border-color:#a97837;color:#ffda9a}
.item .danger{overflow-wrap:anywhere;white-space:normal;max-width:850px}

/* Licensed feed permission control: compact and accessible on mobile. */
.confirm-rights{display:flex;align-items:flex-start;gap:10px;line-height:1.5;background:#101d2c;border:1px solid #41566b;border-radius:9px;padding:12px;margin:14px 0}
.confirm-rights input[type="checkbox"]{width:18px;min-width:18px;height:18px;margin:2px 0 0;accent-color:var(--accent)}
.confirm-rights span{flex:1}
