:root{color-scheme:dark;--bg:#090c12;--surface:#11161f;--surface2:#171e29;--line:#252d3a;--ink:#f2f5fa;--muted:#939fb1;--blue:#519dff;--radius:20px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:inherit;min-height:100svh}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9ec8ff;outline-offset:4px}button{border:1px solid transparent;border-radius:11px;padding:12px 17px;font-weight:600;transition:background .16s,border-color .16s}button:hover{filter:brightness(1.12)}button:active{transform:translateY(1px)}[hidden]{display:none!important}.topbar{min-height:86px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:18px max(24px,calc((100vw - 1380px)/2));gap:20px}.brand{display:flex;align-items:center;font-size:25px;font-weight:750;letter-spacing:-1px;white-space:nowrap}.brand>span:not(.play){color:var(--blue)}.brand small{margin-left:23px;padding-left:23px;border-left:1px solid var(--line);font-size:12px;font-weight:500;letter-spacing:.02em;color:var(--muted)}.play{display:grid;place-items:center;background:#3189f4;color:white;width:33px;height:33px;border-radius:50%;font-size:16px;padding-left:2px;margin-right:10px;letter-spacing:0}.top-actions{display:flex;align-items:center;gap:13px;font-size:12px;color:var(--muted)}.quiet{background:var(--surface2);border-color:var(--line);color:var(--ink)}.primary{background:#438ff3;color:#06172e;box-shadow:inset 0 1px 0 #ffffff25}.danger{background:#4e252e;color:#ffc5cc;border-color:#703440}.icon-button{display:grid;place-items:center;min-width:36px;height:36px;padding:4px;background:transparent;color:var(--muted);font-size:23px;border-color:var(--line)}main{width:min(1380px,calc(100% - 48px));margin:auto}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:var(--blue);margin-bottom:18px}h1,h2,h3,p{margin:0}h1{font-size:clamp(35px,4vw,54px);letter-spacing:-.045em;line-height:1.08;font-weight:650}h2{font-size:19px;letter-spacing:-.025em;font-weight:650}h3{font-size:16px}p{color:var(--muted);line-height:1.65;font-size:14px}.dot{color:var(--blue)}.auth-panel{width:min(440px,100%);margin:66px auto 48px}.auth-panel>h1{font-size:60px}.intro{margin:19px 0 32px;max-width:350px}.auth-card{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.auth-card h2{margin:21px 0 9px}.auth-card>p{margin-bottom:24px;font-size:13px}.badge{display:inline-block;font-size:10px;padding:6px 10px;border-radius:6px;border:1px solid #334764;background:#19283e;color:#a5caff}.auth-card button{width:100%;margin-top:4px}.footnote{font-size:11px;line-height:1.7;margin:20px 0;color:var(--muted)}.auth-panel>.footnote{text-align:center;padding:0 16px}label{display:block;color:#c5cfdd;font-size:12px;margin:18px 0}input,select{width:100%;display:block;background:#0c111a;border:1px solid #303a4a;border-radius:9px;color:var(--ink);padding:13px 14px;margin-top:8px;min-height:45px;transition:border-color .15s}input:focus,select:focus{border-color:var(--blue)}input::placeholder{color:#69778d}input[type=file]{font-size:12px}input[type=file]::file-selector-button{background:#26334a;color:var(--ink);border:0;border-radius:5px;padding:7px;margin-right:10px}.check{display:flex;gap:10px;align-items:center}.check input{width:17px;min-height:17px;margin:0;accent-color:var(--blue)}small{color:var(--muted);font-size:11px;line-height:1.6}.form-error{color:#ffa9b2!important;font-size:12px!important;margin:14px 0!important;min-height:0;overflow-wrap:anywhere}.form-error:empty{display:none}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:56px 0 35px}.page-heading p{margin-top:14px}.page-heading .eyebrow{margin-bottom:12px}.stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;border:1px solid var(--line);background:var(--surface);border-radius:15px;margin-bottom:28px}.stats>div{padding:23px 28px}.stats>div+div{border-left:1px solid var(--line)}.stats>div>span:not(.status-dot){font-size:31px;font-weight:600;font-variant-numeric:tabular-nums}.stats small{display:block;margin-top:4px}.stats .sync-note{display:flex;gap:14px;align-items:center}.sync-note p{font-size:12px;color:#d5dfed;line-height:1.4}.sync-note small{margin-top:7px;font-size:11px;color:var(--muted)}.status-dot{width:7px;height:7px;flex-shrink:0;background:var(--blue);border-radius:50%;box-shadow:0 0 0 5px #519dff18}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:475px;gap:24px}.device-panel,.detail-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 0}.panel-heading h2{font-size:15px}.search-label{margin:18px 20px}.search-label input{padding:11px 13px;font-size:12px}.device-item{width:calc(100% - 24px);margin:0 12px 8px;text-align:left;padding:17px 14px;background:transparent;color:var(--ink);display:flex;align-items:center;gap:12px;border:1px solid transparent}.device-item[aria-pressed=true]{background:#1b2b43;border-color:#36527a}.device-item:hover{background:#1a2433}.device-icon{display:grid;place-items:center;width:37px;height:37px;background:#252e3e;color:#b0c9ee;border-radius:10px;flex-shrink:0;font-size:18px}.device-item strong{display:block;font-size:13px;overflow-wrap:anywhere}.device-item small{display:block;margin-top:6px;font-size:10px}.detail-panel{padding:30px}.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.detail-heading h2{font-size:25px;overflow-wrap:anywhere}.device-meta{margin-top:11px;font-size:11px;overflow-wrap:anywhere}.detail-tools{display:flex;gap:7px}.detail-tools button{font-size:11px;padding:9px 11px}.state-strip{display:flex;align-items:center;gap:9px;padding:13px 15px;border:1px solid #2c3c54;background:#152033;border-radius:10px;color:#afccf5;font-size:11px;margin:25px 0 30px;line-height:1.5}.state-strip.blocked{background:#2e1b24;border-color:#59303b;color:#ffb6c5}.sources-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.sources-heading h3{font-size:15px}.sources-heading button{font-size:12px;padding:10px 14px}.source-row{display:flex;gap:13px;align-items:center;padding:17px 0;border-top:1px solid var(--line)}.source-copy{flex:1;min-width:0}.source-copy strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.source-copy small{display:block;margin-top:6px}.source-actions{display:flex;gap:7px}.source-actions button{font-size:11px;padding:8px 10px;background:#202a3a;color:#d4deed}.source-actions button:last-child{color:#f6a4b4;background:#2b202b}.empty{padding:55px 20px;text-align:center}.empty .device-icon{margin:0 auto 19px;width:48px;height:48px;font-size:24px}.empty h3{font-size:17px;margin-bottom:10px}.empty p{font-size:12px;max-width:360px;margin:auto}.empty button{margin-top:23px;font-size:12px}.dashboard-note{font-size:11px;margin:20px 0 40px;text-align:right}.list-empty{font-size:12px;color:var(--muted);padding:20px;line-height:1.7}dialog{width:min(500px,calc(100% - 32px));max-height:calc(100svh - 40px);padding:30px;background:var(--surface);color:var(--ink);border:1px solid #344055;border-radius:22px;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#02050abf;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}.dialog-heading .eyebrow{font-size:9px;margin-bottom:12px}dialog h2{font-size:24px}dialog p{font-size:12px}dialog form>button.primary{width:100%;margin-top:8px}dialog .footnote{font-size:10px;text-align:center;margin-bottom:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}#confirm-copy{margin-top:16px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#c4dcff;color:#102749;padding:14px 24px;border-radius:12px;box-shadow:0 10px 45px #0008;font-size:13px;z-index:10;max-width:90vw}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.auth-panel{margin-top:9vh}}@media(max-width:1000px){.workspace{grid-template-columns:255px minmax(0,1fr);gap:15px}.detail-panel{padding:23px}.detail-heading{flex-direction:column}.stats>div{padding:22px}.brand small{display:none}}@media(max-width:700px){main{width:calc(100% - 32px)}.topbar{padding:16px;min-height:73px}.top-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.top-actions a{display:none}.top-actions button{font-size:10px;padding:8px}.brand{font-size:22px}.play{width:29px;height:29px;font-size:13px}.page-heading{margin-top:34px;align-items:flex-start;flex-direction:column;gap:22px}.page-heading h1{font-size:41px}.stats{grid-template-columns:1fr 1fr}.stats .sync-note{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:17px 24px}.stats>div{padding:19px 24px}.workspace{grid-template-columns:1fr}.device-panel{max-height:330px;overflow:auto}.detail-panel{padding:22px 18px}.source-row{flex-wrap:wrap}.source-actions{width:100%;padding-left:50px}.detail-heading h2{font-size:23px}.dashboard-note{text-align:left}.auth-panel{margin-top:42px}.auth-panel>h1{font-size:54px}.auth-card{padding:24px}dialog{padding:25px 22px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
