:root{color-scheme:dark;--bg:#0b1016;--surface:#111922;--surface-up:#19232e;--line:#273440;--text:#f2f5f7;--muted:#91a1ae;--orange:#ff7a1a;--orange-light:#ffb367;--cyan:#55d4c3;--red:#ff858a;--focus:#ffd166;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-width:320px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button,input{min-height:44px}input{width:100%;min-width:0;padding:12px 13px;color:var(--text);background:#0e151d;border:1px solid #33404d;border-radius:8px;transition:border-color .15s}input:hover{border-color:#596675}input:focus{border-color:var(--orange);outline:2px solid #ff7a1a25;outline-offset:1px}input::placeholder{color:#70808e}input[type=search]::-webkit-search-cancel-button{cursor:pointer}label{display:grid;gap:8px;color:#c4cdd5;font-size:.85rem;font-weight:550}h1,h2,h3,p{margin:0}button .icon,a .icon{flex-shrink:0}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:12px;top:-100px;z-index:100;padding:12px 16px;border-radius:7px;background:var(--focus);color:#111}.skip:focus{top:12px}.noscript{margin:20px;padding:20px;border:1px solid var(--orange)}.muted{color:var(--muted);line-height:1.55}.eyebrow{color:var(--muted);font-size:.66rem;font-weight:650;letter-spacing:.14em;text-transform:uppercase}.brand{display:inline-flex;align-items:center;gap:12px;font-size:1.04rem;font-weight:850;letter-spacing:.13em;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:36px;height:36px;background:var(--orange);border-radius:8px;color:#12171a;font-size:32px;line-height:1;font-weight:800;letter-spacing:0;padding-bottom:4px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 17px;border:1px solid transparent;border-radius:8px;font-weight:650;font-size:.85rem;line-height:1.3;transition:background .15s,border-color .15s}.button.primary{background:var(--orange);color:#10161c}.button.primary:hover{background:#ff903e}.button.secondary{background:#18222c;border-color:#35424e;color:#e1e8ee}.button.secondary:hover{background:#24313d;border-color:#546574}.button.compact{min-height:38px;padding:8px 12px;font-size:.77rem}.button.compact .icon{width:17px;height:17px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;min-height:40px;padding:8px;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:7px}.icon-button:hover{background:var(--surface-up);color:var(--text)}.feedback{line-height:1.5;padding:11px 13px;border-radius:7px;font-size:.83rem;overflow-wrap:anywhere}.feedback.error{color:#ffc0c4;background:#7f28352c;border:1px solid #c4516240}.feedback.success{color:var(--cyan);background:#55d4c310}.loading-view{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px}.loading-view p{color:var(--muted);font-size:.9rem}.loading-line{height:3px;width:140px;background:linear-gradient(90deg,transparent,var(--orange),transparent);animation:breathe 1.3s ease-in-out infinite}@keyframes breathe{50%{opacity:.3}}
/* Entry */
.login-view{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;padding:42px 8vw 32px 5vw;background:radial-gradient(ellipse at 10% 75%,#213a3b60,transparent 62%),#111b23;border-right:1px solid var(--line)}.login-story:before{position:absolute;content:"";inset:0;background:linear-gradient(#a4bcc306 1px,transparent 1px),linear-gradient(90deg,#a4bcc306 1px,transparent 1px);background-size:48px 48px;pointer-events:none}.login-story>*{position:relative}.story-copy{padding:68px 0 40px}.story-copy .eyebrow{color:var(--orange-light);margin-bottom:24px}.story-copy h1{font-size:clamp(2.9rem,4.9vw,5.4rem);font-weight:650;letter-spacing:-.058em;line-height:1.04}.story-description{margin-top:26px;color:#a7b8c3;font-size:1rem;line-height:1.8}.story-footer{display:flex;align-items:center;gap:8px;color:#91a6b1;font-size:.73rem;letter-spacing:.01em}.tiny-dot{width:6px;height:6px;border-radius:50%;background:var(--cyan)}.signal-art{width:180px;height:115px;margin-top:42px;position:relative;display:grid;place-items:center}.signal-center{width:52px;height:52px;display:grid;place-items:center;border:1px solid #547e79;border-radius:14px;background:#183632;color:var(--cyan);z-index:1}.signal-center .icon{width:25px;height:25px}.signal-art>span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #497d762e;border-radius:25px;width:94px;height:94px}.signal-art>span:nth-last-child(2){width:132px;height:132px;border-radius:34px;border-color:#497d761c}.signal-art>span:last-child{width:172px;height:172px;border-radius:44px;border-color:#497d7610}.login-form-wrap{position:relative;display:flex;align-items:center;justify-content:center;padding:60px 42px 100px;background:radial-gradient(ellipse at 100% 0,#ff7a1a07,transparent 55%)}.login-card{width:100%;max-width:360px}.section-number{font-size:.64rem;letter-spacing:.19em;color:var(--orange-light);font-weight:650}.login-card h2{font-size:1.87rem;font-weight:630;letter-spacing:-.035em;margin:18px 0 12px}.login-intro{font-size:.87rem;margin-bottom:32px;max-width:330px}.login-card form{display:grid;gap:20px}.password-field{position:relative;display:block}.password-field input{padding-right:90px}.reveal-password{position:absolute;right:3px;top:2px;bottom:2px;background:transparent;border:0;padding:0 11px;color:var(--muted);font-size:.69rem;border-radius:5px;min-height:40px}.reveal-password:hover{color:var(--text)}.login-submit{width:100%;justify-content:space-between;min-height:49px;margin-top:6px}.login-help{display:flex;gap:10px;margin-top:28px;color:#81919f;font-size:.72rem;line-height:1.7}.login-help .icon{width:16px;height:16px;margin-top:2px;color:#637787}.login-footer{position:absolute;bottom:28px;text-align:center;color:#637582;font-size:.65rem;letter-spacing:.045em}.login-footer span{padding:0 8px}
/* Workspace */
.dashboard{display:grid;grid-template-columns:270px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{display:flex;min-width:0;flex-direction:column;background:#101821;border-right:1px solid var(--line);padding:24px 16px 14px}.sidebar-brand{padding:0 12px 26px;display:flex;align-items:center;justify-content:space-between}.sidebar .brand{font-size:.93rem;gap:10px}.sidebar .brand-symbol{width:32px;height:32px;font-size:29px;border-radius:7px}.workspace-label{display:flex;align-items:center;gap:10px;padding:13px 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:.74rem;color:#abb8c3}.workspace-label .icon{color:var(--orange-light);width:17px;height:17px}.device-heading{display:flex;align-items:center;gap:8px;padding:20px 8px 10px;min-height:65px}.device-heading h2{font-size:.76rem;font-weight:600;color:var(--muted)}.count{font-size:.65rem;padding:2px 6px;border:1px solid #2a3a46;background:#192531;color:#a9b5be;border-radius:5px}.device-heading .icon-button{margin-left:auto;width:30px;min-height:30px;padding:5px}.device-heading .icon{width:17px;height:17px}.search-label{position:relative;margin:0 4px 14px}.search-label>.icon{position:absolute;left:11px;top:12px;width:16px;height:16px;color:#71818e}.search-label input{padding:10px 10px 10px 35px;min-height:40px;border-color:#2a3946;background:#0c131a;font-size:.77rem;border-radius:7px}.device-list{display:flex;flex-direction:column;gap:6px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#354350 transparent;min-height:0}.device-item{position:relative;display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px 11px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text);min-height:66px}.device-item:hover{background:#1a2530}.device-item[aria-current=true]{background:#ff7a1a0d;border-color:#ff7a1a4d}.device-item[aria-current=true]:before{content:"";position:absolute;left:-1px;top:16px;bottom:16px;width:3px;border-radius:3px;background:var(--orange)}.device-glyph{display:grid;place-items:center;width:34px;height:36px;border:1px solid #354352;border-radius:8px;color:#8d9dab;background:#17212b;flex-shrink:0}.device-item[aria-current=true] .device-glyph{color:var(--orange-light);border-color:#845330;background:#36271f}.device-glyph .icon{width:17px;height:17px}.device-copy{display:grid;gap:5px;min-width:0;flex:1}.device-copy strong{font-size:.81rem;font-weight:580;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.device-copy small{font-size:.67rem;color:#8294a3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.device-item .status-dot{width:6px;height:6px}.list-empty{font-size:.8rem;color:var(--muted);padding:20px 10px;text-align:center;line-height:1.6}.sidebar-bottom{margin-top:auto;padding:18px 8px 0}.account{border-top:1px solid var(--line);padding:19px 0 13px;display:flex;align-items:center;gap:10px;min-width:0}.account-avatar{display:grid;place-items:center;width:33px;height:33px;background:#293440;border:1px solid #3b4752;border-radius:50%;font-size:.75rem;font-weight:650;color:#d0d8df}.account>div{display:grid;gap:4px;min-width:0}.account strong{font-size:.79rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account span:not(.account-avatar){font-size:.66rem;color:var(--muted)}.account-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.subtle-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:35px;background:transparent;color:#98a9b6;border:0;border-radius:5px;font-size:.71rem;padding:6px}.subtle-button:hover{color:var(--text);background:#1b2833}.subtle-button .icon{width:15px;height:15px}.workspace{display:flex;flex-direction:column;min-width:0;min-height:0;background:#0b1117}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:86px;flex-shrink:0;padding:18px 26px;border-bottom:1px solid var(--line);background:#0f171f}.workspace-title{min-width:0;display:flex;gap:10px;align-items:center}.workspace-title>div{min-width:0}.workspace-title h1{margin-top:7px;font-size:1.25rem;font-weight:630;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-title .eyebrow{font-size:.58rem;letter-spacing:.12em}.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.status-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #35424f;background:#1b25304a;border-radius:999px;padding:6px 9px;color:#a3b1bd;white-space:nowrap;font-size:.68rem}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7a8a99;flex-shrink:0}.status-badge.online{color:#76d6b2;border-color:#3e917547;background:#2a72521a}.online .status-dot,.status-dot.online{background:#5cd5a1}.status-badge.offline{color:#efaa95;border-color:#b5694c4d;background:#b55e2912}.offline .status-dot,.status-dot.offline{background:#e9a477}.status-badge.error{color:var(--red);border-color:#ff858a40}.error .status-dot,.status-dot.error{background:var(--red)}.device-meta{display:flex;align-items:center;gap:20px;padding:10px 27px;min-height:36px;border-bottom:1px solid #202e39;background:#131d26;color:#95a6b4;font-size:.65rem;flex-shrink:0;flex-wrap:wrap;line-height:1.4}.device-meta-note{margin-left:auto;color:#718595}.workspace-feedback{padding:10px 26px;background:#60382430;border-bottom:1px solid #7d543b5c;color:#edbd98;font-size:.8rem;line-height:1.55}.empty-workspace{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;flex:1;text-align:center;padding:40px 25px}.empty-icon{display:grid;place-items:center;width:64px;height:64px;border:1px solid #3b4d5c;border-radius:17px;margin-bottom:8px;background:#182632;color:#a3b4c0}.empty-icon .icon{width:25px;height:25px}.empty-workspace h2{font-size:1.3rem;font-weight:600}.empty-workspace p{font-size:.87rem;color:var(--muted);line-height:1.65;max-width:390px}.empty-workspace .button{margin-top:10px}.assistant-frame-wrap{position:relative;display:flex;flex:1;min-height:0;overflow:hidden}.assistant-frame-wrap iframe{display:block;border:0;width:100%;height:100%;min-height:0;background:#0a0f14}.frame-loading{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:#0b1117;color:var(--muted);font-size:.88rem;z-index:1}.offline-panel{display:flex;align-items:center;gap:16px;padding:22px 26px;background:#4630184d;border-bottom:1px solid #6f553346;flex-shrink:0}.offline-panel>.icon{color:var(--orange-light);width:26px;height:26px}.offline-panel>div{flex:1}.offline-panel strong{font-size:.85rem;font-weight:600;color:#efd0b3}.offline-panel p{margin-top:6px;color:#ac9f91;font-size:.77rem;line-height:1.6;max-width:700px}.mobile-only{display:none}.sidebar-backdrop{position:fixed;inset:0;z-index:29;border:0;background:#0009;backdrop-filter:blur(2px)}
/* Dialogs */
.modal{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #3b4b59;border-radius:14px;color:var(--text);background:#131d27;box-shadow:0 30px 100px #0008;overflow:auto}.modal::backdrop{background:#05090dbf;backdrop-filter:blur(5px)}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:25px 26px 21px;border-bottom:1px solid #2d3a47}.modal-heading h2{font-size:1.28rem;font-weight:600;letter-spacing:-.02em;margin-top:8px}.modal-heading .eyebrow{color:var(--orange-light);font-size:.58rem}.modal-heading .icon-button{margin:-7px -8px 0 0}.modal-body{display:grid;gap:22px;padding:24px 26px}.modal-body fieldset{border:0;padding:0;margin:0;min-width:0}.modal-body legend{padding:0;margin-bottom:14px;color:#e3eaf0;font-size:.86rem;font-weight:650}.modal-body label{font-size:.75rem;gap:7px;font-weight:500}.modal-body input{font-size:.83rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-hint{font-size:.7rem;color:#879aaa;line-height:1.65;margin-top:10px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 26px;border-top:1px solid #2d3a47;background:#101922}.password-reset-section{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #2d3a47;padding-top:20px}.password-reset-section strong{font-size:.83rem;font-weight:550}.password-reset-section .field-hint{margin-top:5px}.password-reset-section .button{flex-shrink:0}.password-modal{max-width:460px}.password-modal .modal-body{gap:18px}.password-modal .muted{font-size:.83rem}.password-modal .field-hint{margin-top:-11px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;background:#203c34;border:1px solid #55d4a778;border-radius:9px;padding:14px 20px;max-width:min(480px,calc(100vw - 32px));color:#d0eee1;box-shadow:0 10px 40px #0005;font-size:.84rem;line-height:1.55;text-align:center}
.full-field{grid-column:1/-1}
.device-actions{display:flex;align-items:center;gap:14px;flex-shrink:0;padding:10px 26px;border-bottom:1px solid var(--line);background:#111b24}.device-actions>.button{flex-shrink:0;min-height:40px}.device-reboot-feedback{font-size:.72rem;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}.device-reboot-feedback.error{color:var(--red)}
@media(max-width:760px){.device-actions{align-items:flex-start;flex-wrap:wrap;gap:7px;padding:10px 17px}.device-actions>.button{min-height:44px}.device-reboot-feedback{font-size:.69rem}}
@media(min-width:1600px){.login-story{padding-left:9vw}.login-form-wrap{padding-right:8vw}.story-copy h1{font-size:5.6rem}}
@media(max-width:1100px){.dashboard{grid-template-columns:230px minmax(0,1fr)}.sidebar{padding-inline:12px}.sidebar-brand{padding-inline:9px}.workspace-label{font-size:.67rem;padding-inline:9px;gap:8px}.workspace-header{padding:16px 18px;gap:10px}.workspace-title h1{font-size:1.05rem}.header-actions{gap:6px}.header-actions .compact span{display:none}.header-actions .compact{width:37px;height:38px;padding:9px}.device-meta{padding-inline:20px}.offline-panel{padding:20px;flex-wrap:wrap}.offline-panel .button{margin-left:42px}.login-story{padding-right:5vw;padding-left:5vw}.story-copy h1{font-size:4.6vw}.login-form-wrap{padding-inline:30px}.login-card h2{font-size:1.65rem}}
@media(max-width:760px){.login-view{display:flex;flex-direction:column;min-height:100dvh}.login-story{padding:23px 24px;background:#121c25;border-bottom:1px solid var(--line);border-right:0}.login-story>.brand{font-size:.92rem}.login-story .brand-symbol{width:32px;height:32px;font-size:29px}.story-copy,.story-footer{display:none}.login-form-wrap{flex:1;align-items:flex-start;padding:48px 25px 85px}.login-card{max-width:400px}.login-card h2{font-size:1.85rem}.login-footer{bottom:25px}.dashboard{display:flex;flex-direction:column}.workspace{flex:1}.sidebar{position:fixed;left:0;top:0;bottom:0;width:min(300px,85vw);z-index:30;transform:translateX(-100%);transition:transform .18s ease;padding-inline:16px;padding-top:21px}.dashboard.sidebar-open .sidebar{transform:translateX(0)}.sidebar-brand{padding-bottom:24px}.sidebar-brand .mobile-only{margin:-4px -8px -4px 0}.mobile-only{display:inline-flex}.workspace-label{font-size:.74rem}.workspace-header{min-height:81px;padding:14px 12px;align-items:center;gap:8px;flex-wrap:wrap}.workspace-title{gap:5px;flex:1}.workspace-title .eyebrow{font-size:.54rem}.workspace-title h1{font-size:1.02rem;max-width:48vw}.workspace-title .icon-button{margin-left:-5px}.header-actions{gap:3px}.header-actions .status-badge{font-size:.6rem;padding:5px 7px;margin-right:3px}.header-actions>.icon-button{width:32px;min-height:36px;padding:7px}.header-actions .compact{width:32px;padding:7px;min-height:36px;height:36px;border-color:transparent;background:transparent;color:var(--muted)}.device-meta{gap:8px 14px;padding:9px 17px;font-size:.59rem}.device-meta-note{display:none}.workspace-feedback{padding:11px 17px;font-size:.73rem}.offline-panel{padding:18px;gap:12px}.offline-panel>.icon{width:23px;height:23px}.offline-panel strong{font-size:.8rem}.offline-panel p{font-size:.72rem}.offline-panel .button{margin-left:35px}.modal{width:calc(100vw - 24px);max-height:calc(100dvh - 28px);border-radius:12px}.modal-heading{padding:22px 20px 18px}.modal-heading h2{font-size:1.17rem}.modal-body{padding:22px 20px}.modal-footer{padding:16px 20px}.password-reset-section{flex-direction:column;align-items:flex-start}.toast{bottom:18px}}
@media(max-width:390px){.workspace-title h1{max-width:41vw}.header-actions .status-badge{max-width:89px;overflow:hidden}.header-actions .status-badge span:last-child{overflow:hidden;text-overflow:ellipsis}.form-grid{grid-template-columns:1fr}.modal-footer{gap:8px;padding-inline:16px}.modal-footer .button{font-size:.77rem;padding-inline:12px}.login-form-wrap{padding-top:35px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:760px){.sidebar{visibility:hidden}.dashboard.sidebar-open .sidebar{visibility:visible}}
