:root{color-scheme:dark;--bg:#050b07;--panel:#0c1710;--panel2:#102017;--line:rgba(146,190,157,.16);--text:#eff8f0;--muted:#90a797;--green:#5bea91;--green2:#169951;--amber:#efbd61;--red:#ff7979}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -15%,rgba(34,131,73,.18),transparent 48%),linear-gradient(160deg,#07100a,#040805 70%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:hidden}.ambient{position:fixed;z-index:0;width:320px;height:320px;border-radius:50%;filter:blur(110px);opacity:.12;pointer-events:none}.ambient-one{top:15%;left:-190px;background:#20b75d}.ambient-two{right:-200px;bottom:5%;background:#0a8650}.app-shell{position:relative;z-index:1;width:min(1100px,100% - 40px);margin:auto;min-height:100vh;display:flex;flex-direction:column}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid #5bea9170;border-radius:14px;background:linear-gradient(145deg,#174b2c,#0b1a11);color:var(--green);font-size:20px;font-weight:900;box-shadow:0 0 32px #20bd6030}.brand small,.brand strong{display:block}.brand small{font-size:9px;letter-spacing:.2em;color:var(--green);font-weight:800}.brand strong{font-size:13px;letter-spacing:.02em;margin-top:4px}.secure-label{display:flex;align-items:center;gap:9px;color:#879e8d;font-size:9px;letter-spacing:.15em;font-weight:800}.secure-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 13px var(--green)}.login-layout{flex:1;display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(40px,8vw,110px);align-items:center;padding:72px 0}.eyebrow{margin:0 0 12px;color:var(--green);font-size:9px;letter-spacing:.2em;font-weight:900}.hero-copy h1,.dashboard-heading h1{margin:0;font-size:clamp(38px,6vw,68px);line-height:1.02;letter-spacing:-.065em}.hero-copy h1 span{color:var(--green)}.lead{max-width:470px;margin:23px 0 30px;color:var(--muted);font-size:14px;line-height:1.8}.feature-line{display:flex;align-items:center;gap:12px;margin-top:14px;color:#bfd0c2;font-size:12px}.feature-icon{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:var(--green);background:#ffffff06;font-size:15px}.panel{border:1px solid var(--line);border-radius:23px;background:linear-gradient(150deg,rgba(17,37,24,.97),rgba(8,17,11,.98));box-shadow:0 30px 80px #0006,inset 0 1px #ffffff09}.login-panel{position:relative;padding:32px;overflow:hidden}.panel-orb{width:42px;height:42px;display:grid;place-items:center;margin-bottom:29px;border-radius:13px;border:1px solid #58e18a70;background:#58e18a14;color:var(--green);font-weight:900}h2{margin:0;font-size:23px;letter-spacing:-.035em}.muted{color:var(--muted);font-size:12px;line-height:1.7}.login-panel form{margin-top:25px}.login-panel label{display:block;margin-bottom:9px;color:#cbd9ce;font-size:10px;font-weight:700}.login-panel input{width:100%;height:49px;padding:0 14px;border:1px solid #294233;border-radius:12px;background:#050d08;color:var(--text);outline:none;font-size:13px}.login-panel input:focus{border-color:#59da88;box-shadow:0 0 0 3px #58e18a15}.button{border:0;cursor:pointer;font:inherit;transition:transform .15s ease,filter .15s ease}.button:active{transform:scale(.985)}.button:focus-visible,.icon-button:focus-visible{outline:2px solid var(--green);outline-offset:3px}.primary-button{width:100%;height:50px;margin-top:13px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border:1px solid #63ed9b80;border-radius:12px;background:linear-gradient(105deg,#1c9e54,#12663b);color:white;font-size:12px;font-weight:800}.primary-button b{font-size:19px}.primary-button:disabled,.small-primary:disabled{opacity:.55;cursor:wait}.status-line{min-height:18px;margin:13px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.status-line.error{color:var(--red)}.status-line.success{color:var(--green)}.panel-foot{padding-top:18px;margin-top:22px;border-top:1px solid var(--line);color:#809687;font-size:9px;letter-spacing:.03em}.lock{margin-right:7px;color:var(--green)}.login-footer,.dashboard-footer{display:flex;justify-content:space-between;gap:12px;padding:22px 0;color:#617568;font-size:8px;font-weight:800;letter-spacing:.16em}.hidden{display:none!important}.dashboard{flex:1;padding:48px 0 24px}.dashboard-heading,.devices-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.dashboard-heading h1{font-size:clamp(32px,4.5vw,48px)}.dashboard-heading .muted{margin:9px 0 0}.ghost-button{min-height:39px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:11px;background:#ffffff07;color:#d5e1d8;font-size:10px;font-weight:800}.ghost-button:hover{border-color:#5bea9170;color:var(--green)}.summary-grid{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:12px;margin:28px 0}.summary-card{min-height:118px;padding:19px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#0e1d13,#09110c)}.summary-label{display:block;color:#8ca292;font-size:8px;font-weight:900;letter-spacing:.16em}.summary-card>strong{display:block;margin:12px 0 4px;font-size:29px;letter-spacing:-.04em}.summary-card small{color:#869b8c;font-size:9px}.summary-action{display:flex;align-items:center;justify-content:space-between;gap:15px}.summary-action strong{display:block;margin:9px 0 4px;font-size:15px}.small-primary{min-height:37px;padding:0 13px;border-radius:10px;background:#1c9c53;color:white;font-size:10px;font-weight:800;white-space:nowrap}.devices-header{align-items:center;margin:37px 0 14px}.devices-header h2{font-size:21px}.device-list{display:grid;gap:11px}.device-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:17px 18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#0e1b12,#08100b)}.device-main{display:flex;align-items:center;gap:13px;min-width:0}.device-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;background:#58e18a15;border:1px solid #58e18a30;color:var(--green);font-size:17px}.device-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800}.device-meta{margin-top:5px;color:#8aa08f;font-size:9px}.device-state{display:inline-flex;align-items:center;gap:6px;margin-top:7px;color:#9aab9e;font-size:9px}.state-dot{width:6px;height:6px;border-radius:50%;background:#79877d}.state-dot.online{background:var(--green);box-shadow:0 0 9px var(--green)}.device-actions{display:flex;gap:8px}.device-actions button{min-width:83px;min-height:36px;padding:0 11px;border-radius:10px;font-size:9px;font-weight:900}.open-button{border:1px solid #5bea9180;background:#157340;color:white}.close-button{border:1px solid #a75a5a75;background:#3a1717;color:#ffb2b2}.device-actions button:disabled{opacity:.45;cursor:wait}.empty-state{padding:45px 20px;border:1px dashed #355341;border-radius:16px;text-align:center;background:#ffffff03}.empty-icon{width:42px;height:42px;margin:0 auto 13px;display:grid;place-items:center;border-radius:13px;background:#58e18a14;color:var(--green);font-size:22px}.empty-state h3{margin:0;font-size:14px}.empty-state p{max-width:360px;margin:8px auto 0;color:var(--muted);font-size:10px;line-height:1.7}.pair-panel{padding:22px;margin-top:19px}.pair-head{display:flex;align-items:center;justify-content:space-between}.pair-head h2{font-size:19px}.icon-button{width:32px;height:32px;border:1px solid var(--line);border-radius:9px;background:#ffffff08;color:#d8e3db;font-size:21px;cursor:pointer}.code-row{display:flex;align-items:center;gap:14px;margin-top:18px}.code-row code{flex:1;padding:14px;border:1px solid #39744f;border-radius:11px;background:#050e08;color:var(--green);font-size:clamp(17px,4vw,23px);font-weight:900;letter-spacing:.13em;overflow-wrap:anywhere}.pair-countdown{margin:9px 0 0;color:var(--amber);font-size:10px}.dashboard-footer{margin-top:auto;border-top:1px solid var(--line)}
@media(max-width:760px){.app-shell{width:min(100% - 30px,560px)}.login-layout{grid-template-columns:1fr;gap:35px;padding:46px 0}.hero-copy h1{font-size:clamp(39px,12vw,57px)}.login-panel{padding:24px}.summary-grid{grid-template-columns:1fr 1fr}.summary-action{grid-column:1/-1}.dashboard{padding-top:35px}.device-card{grid-template-columns:1fr;gap:13px}.device-actions button{flex:1}.dashboard-heading{align-items:flex-start}.secure-label{font-size:7px}.topbar{height:75px}.login-footer,.dashboard-footer{font-size:7px;letter-spacing:.1em}}
@media(max-width:390px){.summary-card{padding:14px}.summary-action{align-items:flex-start;flex-direction:column}.code-row{align-items:stretch;flex-direction:column}.code-row code{text-align:center}.dashboard-heading h1{font-size:31px}}
