:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--off-white);font-synthesis:none;--ink:#171B22;--graphite:#171B22;--muted:#687280;--line:#e1e5e9;--copper:#F47835;--copper-dark:#A84313;--off-white:#F4F6F8;--accent:var(--copper);--accent-text:var(--copper-dark);--accent-hover:#ff8b49}
*{box-sizing:border-box}
body{margin:0}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.45}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.icon{height:21px;width:21px;flex-shrink:0;vertical-align:middle}
.muted{color:var(--muted)}
.mono,code{font-family:Consolas,monospace;font-size:12px}
.initial{padding:60px}
.brand{display:flex;align-items:center;gap:10px;color:var(--off-white);font-size:23px;font-weight:750;letter-spacing:-1px;white-space:nowrap}
.brand-light{color:var(--copper);font-weight:750}
.brand small{display:block;font-size:8px;letter-spacing:2.1px;color:#a6aeb9;margin-top:7px;font-weight:500}
.brand-symbol{width:49px;height:37px;display:grid;place-items:center;flex-shrink:0}
.brand-symbol img{width:100%;height:auto;display:block}
.sidebar{background:var(--graphite);color:#fff;position:fixed;inset:0 auto 0 0;width:250px;padding:32px 22px 20px;display:flex;flex-direction:column;z-index:5;border-right:1px solid #2b323d}
.workspace{margin:38px 0 29px;padding:16px 10px;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12;display:flex;align-items:center;gap:10px}
.workspace-icon{color:var(--muted)}
.workspace strong{font-size:12px;font-weight:500;display:block}
.workspace small{font-size:11px;color:var(--muted);display:block;margin-top:5px}
.nav-label{font-size:9px;letter-spacing:1.7px;color:var(--muted);padding:0 12px;margin-bottom:13px}
nav{display:grid;gap:7px}
.nav-item{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:7px;color:var(--muted);font-size:13px}
.nav-item:hover{background:#ffffff08;color:#fff}
.nav-item.selected{background:var(--accent);color:var(--graphite);font-weight:650}
.nav-item .icon{width:19px;height:19px}
.nav-item b{margin-left:auto;font-size:11px}
.sidebar-bottom{margin-top:auto;padding-top:35px}
.subscription-tile{padding:15px 10px;border:1px solid #3a424e;border-radius:8px;background:#202630;display:flex;gap:10px;color:#e4e8ee}
.subscription-tile strong{font-size:11px}
.subscription-tile small{display:block;color:var(--muted);font-size:9px;line-height:1.6;margin-top:4px}
.profile{display:flex;align-items:center;gap:10px;margin-top:23px;padding-top:20px;border-top:1px solid #ffffff12}
.avatar{display:grid;place-items:center;width:33px;height:33px;background:#303844;border-radius:50%;font-size:10px;color:#f4f6f8}
.profile strong{font-size:11px}
.profile small{font-size:10px;display:block;color:var(--muted);margin-top:3px}
.profile .icon-button{margin-left:auto;color:var(--muted)}
.icon-button{background:transparent;border:0;padding:6px;display:grid;place-items:center}
.main-layout{margin-left:250px;min-height:100vh;display:flex;flex-direction:column}
.topbar{height:73px;padding:0 40px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:12px}
.breadcrumb{display:flex;gap:14px;color:var(--muted)}
.breadcrumb strong{color:#3c414a;font-weight:500}
.top-status{display:flex;align-items:center;gap:8px;font-size:11px;color:#636975}
.dot{display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;flex-shrink:0}
.top-status .dot{color:#6b7382}
.prototype-banner{padding:10px 40px;display:flex;align-items:center;gap:9px;background:#fff4eb;border-bottom:1px solid #f0dcca;color:var(--muted);font-size:11px;line-height:1.5}
.prototype-banner .icon{width:15px;height:15px}
.prototype-banner strong{font-weight:600}
main{padding:37px 40px 24px;width:100%;max-width:1680px;margin:0 auto}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}
.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#6a7180;display:block}
.page-heading h1{font-size:31px;font-weight:580;letter-spacing:-1.2px;line-height:1.2;margin:11px 0 10px}
.page-heading p{margin:0;font-size:12px;line-height:1.7;color:#767980}
.overview-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.dashboard-info-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #dce1e7;border-radius:50%;background:#fff;color:var(--accent-text);cursor:pointer}.dashboard-info-button:hover{background:var(--off-white)}.dashboard-info-button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.dashboard-info-button .icon{width:18px;height:18px}
h2{font-size:17px;font-weight:600;letter-spacing:-.35px;margin:0}
h3{font-size:13px;font-weight:600;margin:0}
p{font-size:13px;line-height:1.65;color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:6px;min-height:40px;padding:10px 17px;border:1px solid transparent;font-size:12px;font-weight:550;white-space:nowrap;transition:background .15s}
.button .icon{width:16px;height:16px}
.primary{background:var(--accent);color:var(--graphite);border-color:var(--accent);font-weight:650}
.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.secondary{background:#fff;border-color:#dce1e7;color:#394350}
.secondary:hover{background:var(--off-white)}
.button.small{font-size:11px;min-height:34px;padding:8px 11px;gap:8px}
.text-button{background:none;color:#6c6f75}
.inline-link{display:inline-flex;gap:9px;align-items:center;font-size:11px;font-weight:600;color:var(--accent-text)}
.inline-link .icon{width:15px;height:15px}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:28px}
.metrics.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.metric{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px 22px}
.metric>div{display:flex;justify-content:space-between;align-items:center;color:#6d727c;font-size:11px}
.metric>div .icon{color:var(--muted);width:18px;height:18px}
.metric>strong{display:block;font-size:28px;letter-spacing:-.8px;font-weight:550;margin:14px 0 8px;line-height:1}
.metric>small{font-size:10px;color:var(--muted);line-height:1.5;display:block}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px;align-items:start}
.panel{background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:23px;overflow:hidden}
.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:23px 24px;gap:15px}
.panel-heading p{font-size:11px;margin:7px 0 0}
.count{background:#eef0f2;border:1px solid #e2e4e7;padding:4px 8px;border-radius:5px;color:var(--muted);font-size:11px}
.box-row{display:flex;gap:15px;padding:23px 24px;align-items:center;border-top:1px solid #ecedef;flex-wrap:wrap}
.box-picture{width:49px;height:49px;border-radius:9px;background:#fff0e5;display:grid;place-items:center;color:var(--muted);position:relative;flex-shrink:0}
.box-picture .icon{height:27px;width:27px}
.box-picture i{position:absolute;right:6px;bottom:6px;width:5px;height:5px;background:#398055;border-radius:50%}
.box-picture.offline{background:#f0f1f2;color:var(--muted)}
.box-picture.offline i{background:#bfc2c7}
.box-info{min-width:125px;flex:1}
.box-info p{font-size:10px;margin:7px 0 0;line-height:1.5}
.box-info .mono{font-size:10px}
.box-state{min-width:130px}
.box-state small{display:block;font-size:9px;color:var(--muted);margin:8px 0 0}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:500;border-radius:5px;padding:5px 7px;background:#ecedef;color:#7b7f87;white-space:nowrap}
.badge.green{background:#e8f4ed;color:#326b48}
.badge.amber{background:#fff2dc;color:var(--muted)}
.badge.gray{background:#edf0f3;color:#687280}
.panel-foot{border-top:1px solid #ecedef;padding:14px 24px;color:var(--muted);font-size:10px;display:flex;align-items:center;gap:8px;background:#fcfcfc}
.panel-foot .icon{height:14px;width:14px}
.how-panel{border:1px solid #343d49;background:var(--graphite);border-radius:9px;padding:25px 23px;margin-bottom:23px;position:relative}
.how-panel h2{font-size:23px;line-height:1.3;margin-top:12px;letter-spacing:-.6px;color:var(--off-white)}
.how-panel ol{padding:0;margin:26px 0 0;list-style:none}
.how-panel li{display:flex;gap:15px;margin-bottom:20px}
.how-panel li>span{font-size:10px;color:var(--accent);font-family:Consolas,monospace;padding-top:4px}
.how-panel strong{font-size:11px;color:#f4f6f8}
.how-panel p{font-size:11px;line-height:1.65;color:#b4bdc9;margin:5px 0 0}
.how-note{font-size:9px;line-height:1.6;color:#b4bdc9;padding-top:14px;border-top:1px solid #343d49}
dialog.how-dialog{width:350px;max-width:calc(100vw - 32px);padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}.how-panel-dialog{display:block;margin:0;padding-top:20px}.how-panel-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.how-panel-top .eyebrow{color:var(--accent)}.how-panel-top .icon-button{color:#c8d0da;border-color:#47515f}.how-panel-top .icon-button:hover{background:#262e39}.how-panel-dialog h2{margin-top:15px}
.empty{padding:30px 25px 38px;text-align:center;color:#6c7483}
.empty-icon{display:inline-grid;place-items:center;height:43px;width:43px;border:1px dashed #cbced4;border-radius:50%;background:#f9f9fa;margin-bottom:13px;color:var(--muted)}
.empty h3{font-weight:500;color:#5c6371}
.empty p{font-size:11px;max-width:440px;margin:8px auto 0;color:var(--muted)}
.table-scroll{overflow:auto}
table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
th{background:#f9f9fa;font-size:10px;letter-spacing:.2px;font-weight:500;color:var(--muted);padding:13px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
td{padding:19px 22px;font-size:11px;color:#616774;border-bottom:1px solid #edeef1}
tr:last-child td{border-bottom:0}
td strong{font-size:12px;color:#3e434c;display:block;font-weight:500}
td small{display:block;margin-top:6px;font-size:10px;color:var(--muted)}
.table-actions{display:flex;gap:8px;align-items:center}
.app-footer{display:flex;justify-content:space-between;gap:20px;padding:17px 40px 23px;margin-top:auto;font-size:9px;color:var(--muted)}
.app-footer .muted{margin:0 8px}
.padded{padding:26px}
.padded h2{margin:17px 0}
.padded>p{font-size:12px}
.notice{padding:17px 19px;background:#ecedef;border:1px solid #dde0e4;border-radius:7px;color:#6b7281;font-size:12px;line-height:1.7;margin:20px 0;display:flex;align-items:flex-start;gap:10px}
.notice strong{color:#4a4f5a}
.amber-notice{background:#f7edda;border-color:#eadfca;display:block}
.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:23px}
.feature-list{list-style:none;padding:8px 0;margin:20px 0}
.feature-list li{display:flex;align-items:center;gap:12px;font-size:12px;color:#5e6573;margin:15px 0}
.feature-list .icon{color:var(--accent-text);width:17px;height:17px}
.operator-note{display:flex;align-items:center;gap:10px;color:#c4cdd8;font-size:12px}
.operator-note small{display:block;font-size:9px;color:var(--muted);margin-top:5px}
.admin-grid{grid-template-columns:minmax(0,1fr) 320px}
.system-summary>div{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eaebed;font-size:11px;color:#737a87;gap:8px}
.system-summary>a{margin-top:18px}
.audit-list>div{display:flex;gap:14px;align-items:center;padding:15px 25px;border-top:1px solid #edeef0}
.audit-list .icon{color:var(--muted);width:17px;height:17px}
.audit-list strong{font-size:11px;font-weight:500;display:block}
.audit-list small{font-size:10px;color:var(--muted);display:block;margin-top:5px}
.audit-list time{margin-left:auto;font-size:10px;color:#7f8797}
.backup-grid{display:grid;grid-template-columns:1fr 1fr 1fr;padding:25px 0;border-block:1px solid var(--line);gap:20px;margin-top:25px}
.backup-grid small{font-size:11px;color:#747b89;display:block}
.backup-grid strong{font-size:20px;display:block;font-weight:500;margin-top:10px}
.node-row{display:flex;align-items:center;gap:18px;padding:15px 0}
.node-row>.icon{width:30px;height:30px;color:var(--muted)}
.node-row>div{flex:1}
.node-row strong{font-size:13px}
.node-row p{font-size:11px;margin:7px 0}
.node-row .badge{margin-left:auto}
dialog{border:1px solid var(--line);border-radius:14px;width:520px;max-width:calc(100vw - 32px);padding:28px;color:var(--ink);box-shadow:0 25px 100px #15161922}
dialog::backdrop{background:#171b2288;backdrop-filter:blur(3px)}
.dialog-top{display:flex;justify-content:space-between;align-items:center}
.dialog-top .icon-button{color:#767d8a}
dialog h2{font-size:25px;margin:14px 0}
dialog p{font-size:12px}
.target-card{display:flex;align-items:center;gap:15px;padding:17px;background:var(--off-white);border-radius:8px;margin:22px 0;color:var(--ink)}
.target-card strong{font-size:13px;display:block}
.target-card small{font-size:10px;display:block;margin-top:5px}
.target-input{display:flex;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--line);border-radius:6px;font-size:12px;color:#5a606d}
.field-help{font-size:10px;color:var(--muted);display:block;line-height:1.6;margin:8px 0 22px}
label{display:block;font-size:12px;font-weight:500;margin:22px 0 9px}
input{display:block;width:100%;border:1px solid #d8dadf;background:#fff;border-radius:6px;padding:13px 14px;font-size:13px;color:#363a41}
input::placeholder{color:var(--muted)}
select{display:block;width:100%;border:1px solid #d8dadf;background:#fff;border-radius:6px;padding:13px 14px;font-size:13px;color:#363a41}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px}
#request-error,#login-error{font-size:12px;color:var(--muted);line-height:1.5;margin-top:14px}
#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:var(--graphite);color:white;border:1px solid #4d5868;border-radius:9px;padding:15px 22px;font-size:12px;max-width:calc(100vw - 30px);z-index:50;opacity:0;pointer-events:none;transition:.2s}
#toast.visible{opacity:1;transform:translate(-50%,0)}
.login-layout{min-height:100vh;display:grid;grid-template-columns:46% 54%;background:white}
.login-story{background:radial-gradient(ellipse at 15% 90%,#30313a 0,transparent 55%),var(--graphite);color:var(--off-white);position:relative;padding:46px 55px;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #303844}
.login-copy{margin:auto 0;padding:65px 0}
.eyebrow.light{color:var(--accent);font-size:9px}
.login-copy h1{font-size:clamp(32px,3.4vw,54px);line-height:1.16;font-weight:470;letter-spacing:-2px;margin:26px 0}
.login-copy h1 span{color:var(--accent)}
.login-copy>p{font-size:14px;color:#b4bdc9;line-height:1.85}
.wire-illustration{display:flex;align-items:center;margin-top:70px;max-width:430px}
.wire-illustration>span{position:relative;display:grid;place-items:center;width:65px;height:65px;border:1px solid #4b5665;border-radius:12px;color:#c4cdd8;background:#242c37}
.wire-illustration>span .icon{width:28px;height:28px}
.wire-illustration>span.wire-box{width:82px;height:82px;background:var(--accent);color:var(--graphite);border-color:var(--accent)}
.wire-illustration small{position:absolute;bottom:-30px;color:var(--muted);font-size:10px;white-space:nowrap}
.wire-illustration i{height:2px;flex:1;background:linear-gradient(90deg,var(--accent-text),var(--accent))}
.login-bottom{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#747c8d;line-height:1.6}
.login-form-panel{display:flex;flex-direction:column;padding:40px 55px}
.login-switch{font-size:11px;text-align:right;color:var(--muted);line-height:2}
.login-switch a{color:var(--accent-text);font-weight:600;white-space:nowrap;margin-left:9px}
.login-switch .icon{height:13px;width:13px}
.login-form-wrap{width:100%;max-width:360px;margin:auto; padding:50px 0}
.login-form-wrap h2{font-size:32px;letter-spacing:-1px;font-weight:550;margin:13px 0}
.login-form-wrap>p{font-size:12px;margin:0 0 27px;color:var(--muted)}
.login-submit{width:100%;margin-top:24px;height:45px;justify-content:space-between}
.local-login-note{display:flex;gap:12px;margin-top:28px;padding:17px 0;border-top:1px solid var(--line);color:#7f8797}
.local-login-note strong{font-size:11px;color:#717a8b;font-weight:500}
.local-login-note p{font-size:10px;line-height:1.7;margin:6px 0 0;color:var(--muted)}
.local-login-note code{font-size:10px;overflow-wrap:anywhere}
.login-form-panel footer{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:var(--muted)}

@media(min-width:1500px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 310px}
.box-row{gap:20px}
.box-info{min-width:160px}
}
@media(max-width:1200px){.sidebar{width:220px;padding:28px 17px}
.main-layout{margin-left:220px}
main{padding:30px 26px}
.topbar,.prototype-banner{padding-left:26px;padding-right:26px}
.dashboard-grid,.admin-grid{grid-template-columns:1fr}
.how-panel{display:none}
.how-panel-dialog{display:block}
.box-row{flex-wrap:nowrap}
.metrics.four{grid-template-columns:repeat(2,minmax(0,1fr))}
.login-story{padding:35px}
.login-form-panel{padding:35px}
.app-footer{padding-inline:26px}
}
@media(max-width:800px){.sidebar{width:76px;padding:22px 12px}
.sidebar .brand{justify-content:center}
.sidebar .brand>span:last-child,.workspace,.nav-label,.nav-item span,.nav-item b,.sidebar-bottom{display:none}
.sidebar nav{margin-top:32px}
.nav-item{padding:14px;justify-content:center}
.main-layout{margin-left:76px}
.page-heading{align-items:flex-start}
.page-heading h1{font-size:26px}
.page-heading>.button{display:none}
.metrics{gap:10px}
.metric{padding:17px 14px}
.metric>strong{font-size:24px}
.metric>small{font-size:9px}
.box-row{flex-wrap:wrap;padding:20px}
.box-state{margin-left:auto}
.box-row>.button{margin-left:64px}
.two-columns{grid-template-columns:1fr}
.login-layout{grid-template-columns:1fr}
.login-story{display:none}
.login-form-panel{min-height:100vh;padding:25px}
.login-form-wrap{padding:55px 0}
.backup-grid{grid-template-columns:1fr}
.node-row{flex-wrap:wrap}
}
@media(max-width:540px){main{padding:26px 17px}
.topbar{padding:0 17px;height:60px}
.top-status{font-size:9px}
.breadcrumb{font-size:10px;gap:8px}
.prototype-banner{padding:10px 17px;font-size:10px}
.page-heading h1{font-size:24px;line-height:1.3}
.page-heading p{font-size:11px}
.metrics{grid-template-columns:1fr}
.metrics.four{grid-template-columns:1fr 1fr}
.metric{padding:16px 18px}
.metric>strong{font-size:25px;margin:10px 0 6px}
.box-state{margin-left:64px}
.panel-heading{padding:19px}
.panel-heading .inline-link{font-size:0}
.panel-heading h2{font-size:15px}
.panel-heading p{font-size:10px}
.app-footer{padding:17px;flex-wrap:wrap}
.panel-foot{font-size:9px;padding:13px 18px}
.audit-list time{font-size:9px}
.audit-list>div{gap:9px;padding:15px}
.login-form-panel footer{flex-direction:column;gap:9px}
.page-heading{margin-bottom:22px}
dialog{padding:22px}
.dialog-actions .button{padding:10px}
.notice{font-size:11px}
}

:root .mobile-logout{display:none}
@media(max-width:800px){:root .mobile-logout{display:grid;color:#6c7585;padding:5px;margin-left:8px}
.top-status{margin-left:auto}
.breadcrumb{margin-right:10px}
}
@media(max-width:540px){.top-status{font-size:8px}
.top-status .dot{display:none}
}


/* RemoteWire brand applications */
.brand.on-light{color:var(--graphite)}

.brand.on-light small{color:var(--muted)}

.login-story .brand{font-size:29px;gap:14px}

.login-story .brand-symbol{width:74px;height:44px}

.login-story .brand small{font-size:9px;letter-spacing:2.8px}

.brand-signature{margin:0 0 15px;letter-spacing:2.8px;font-size:10px;color:#c4cbd5}

.brand-signature::before{content:"";display:block;width:38px;height:3px;background:var(--accent);margin-bottom:18px}

.how-panel .eyebrow{color:var(--accent)}

.sidebar .workspace small,.sidebar .nav-label,.sidebar .profile small,.sidebar .profile .icon-button,.sidebar .subscription-tile small,.sidebar .operator-note small{color:#a3adba}

.nav-item{color:#c0c8d3}

.sidebar .workspace-icon{color:#a3adba}

.login-story .wire-illustration small,.login-story .login-bottom{color:#aeb7c4}

.login-mobile-brand{display:none}

@media(max-width:800px){.login-mobile-brand{display:block;margin:15px 0 30px}
.login-form-wrap{padding-top:30px}
.sidebar .brand-symbol{width:48px}
.sidebar .brand{gap:0}
}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}
}


/* Operator identity: CNYT Labs magenta, separate from the product logo. */
:root[data-area="operator"]{--accent:#E040FB;--accent-text:#C026D3;--accent-hover:#ed70ff}
.login-language{display:flex;justify-content:flex-end;margin-bottom:16px}
.topbar .language-switch{margin-left:auto;margin-right:16px}
.registry-panel>.panel-heading{padding:0 0 22px}.registry-panel fieldset{border:0;padding:0;margin:0;min-width:0}.registry-fields{display:grid;grid-template-columns:130px minmax(160px,1fr) minmax(180px,1.3fr);gap:18px}.registry-fields>div{min-width:0}.registry-fields label{display:block;font-size:12px;margin-bottom:8px}.registry-fields input{width:100%;box-sizing:border-box}.registry-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0}.registry-actions p{font-size:13px}.registry-actions strong{color:var(--accent-text);margin-left:8px}#registry-error{color:#a52640;font-size:13px;margin:8px 0}.registry-result p{margin:5px 0}.registry-result code{display:block;margin-top:6px}.registry-panel .table-scroll{margin-top:24px}.registry-empty{color:var(--muted);font-size:13px;padding-top:14px}
@media(max-width:1100px){.registry-fields{grid-template-columns:1fr 1fr}.registry-fields>div:last-child{grid-column:1/-1}}
@media(max-width:600px){.registry-fields{grid-template-columns:1fr}.registry-actions{align-items:stretch;flex-direction:column}.registry-actions .button{width:100%}.registry-table small{overflow-wrap:anywhere}.registry-panel .panel-heading{align-items:flex-start}}
.dialog-top .language-switch{margin-left:auto;margin-right:8px}
@media(max-width:800px){.topbar .language-switch{margin-right:5px}.topbar .top-status{display:none}.topbar .breadcrumb{min-width:0}.topbar .breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:540px){.topbar .breadcrumb{font-size:9px}.topbar .language-switch button{padding:7px 6px}.dialog-top{gap:8px}.dialog-top .eyebrow{font-size:9px;letter-spacing:1px}.dialog-top .language-switch{margin-right:0}.dialog-top .language-switch button{padding:7px 5px}}
[data-area="operator"] .sidebar{border-top:3px solid var(--accent);background:#1c1923}
[data-area="operator"] .topbar{box-shadow:inset 0 3px var(--accent)}
[data-area="operator"] .breadcrumb strong,[data-area="operator"] .page-heading .eyebrow,[data-area="operator"] .login-form-wrap>.eyebrow{color:var(--accent-text)}
[data-area="operator"] .workspace-icon,[data-area="operator"] .operator-note>.icon{color:var(--accent)}
[data-area="operator"] .avatar{background:#442344;color:#f7d9fb}
[data-area="operator"] .box-picture:not(.offline){background:#f8eafb;color:var(--accent-text)}
[data-area="operator"] .login-story{background:radial-gradient(ellipse at 15% 90%,#39213e 0,transparent 60%),var(--graphite)}
[data-area="operator"] .login-form-panel{border-top:3px solid var(--accent)}
/* Device enrollment and ownership stay visually separate from LAB fixtures. */
.device-form { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; margin: 20px 0 12px; }
.device-form > div { flex: 1 1 180px; min-width: 0; }
.device-form label, .device-secret label { display: block; margin-bottom: 7px; font-size: 13px; }
.device-form input, .device-form select, .device-secret input { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--border, #dce0e5); border-radius: 7px; background: #fff; color: #171b22; font: inherit; }
.device-panel > .muted { font-size: 13px; line-height: 1.6; }
#device-error { color: #a8253d; }
.device-secret { display: block; }
.device-secret > div { width: 100%; }
.device-secret input { display: block; max-width: 600px; font-family: monospace; margin-bottom: 12px; }
.device-table { min-width: 760px; }
.device-actions { min-width: 190px; }
.device-actions button { margin: 3px; }
.device-claims article { padding: 18px 0; border-top: 1px solid #dce0e5; }
.device-claims code { display: block; overflow-wrap: anywhere; padding: 12px; background: #f4f6f8; }
.device-claims small { display: block; margin-top: 8px; }
@media (max-width: 600px) { .device-form { display: grid; } .device-form > button { width: 100%; } }

/* Compact inventory tools; search changes rows without rebuilding active forms. */
.boxes-page .page-heading{margin-bottom:16px}
.boxes-page .page-heading h1{margin:6px 0;font-size:27px}
.boxes-page .registry-panel,.boxes-page .device-panel{padding:18px 20px}
.boxes-page .registry-panel>.panel-heading,.boxes-page .device-panel>.panel-heading{padding:0 0 12px}
.boxes-page .padded .panel-heading h2{margin:0;font-size:16px}
.boxes-page .device-panel .eyebrow{margin-bottom:6px}
.boxes-page .registry-fields{grid-template-columns:110px minmax(150px,.9fr) minmax(180px,1.4fr) auto;gap:12px;align-items:end}
.boxes-page .registry-fields>div:last-of-type{grid-column:auto}
.boxes-page .registry-fields label{font-size:11px;margin:0 0 5px}
.boxes-page .registry-fields input{padding:10px 12px;height:40px}
.boxes-page .registry-fields>.button{height:40px;white-space:nowrap;padding:10px 15px}
.boxes-page .registry-actions{margin:9px 0 0;gap:12px;align-items:baseline}
.boxes-page .registry-actions p{margin:0;font-size:11px}
.boxes-page .registry-actions>span{color:var(--muted);font-size:11px;line-height:1.5}
.boxes-page #registry-error:empty,.boxes-page #device-error:empty{display:none}
.boxes-page .registry-empty{padding:0;margin:10px 0 0;font-size:11px}
.boxes-page .registry-panel .table-scroll{margin-top:14px}
.boxes-page .registry-result{padding:10px 12px;margin:12px 0}
.boxes-page .device-form{margin:10px 0;gap:12px}
.boxes-page .device-form label{margin:0 0 6px}
.boxes-page .device-form input,.boxes-page .device-form select{padding:10px 12px}
.boxes-page .device-panel>.muted{font-size:11px;margin:8px 0 12px}
.boxes-page .device-panel>.notice:not(.device-secret){padding:10px 12px;margin:12px 0 0;font-size:11px}
.box-search-bar{display:flex;align-items:flex-end;gap:12px;margin-bottom:18px}
.box-search-bar>div{flex:1;max-width:650px;min-width:0}
.box-search-bar label{display:block;font-size:12px;font-weight:550;margin:0 0 6px}
.box-search-bar input{width:100%;height:42px;padding:10px 13px;background:#fff}
.box-search-bar>.button{height:42px;white-space:nowrap}
#box-search-count{font-size:12px;color:var(--muted);padding-bottom:13px;white-space:nowrap;margin-left:auto}
.box-search-empty{padding:12px 15px;border:1px solid var(--line);border-radius:7px;background:white;font-size:12px;color:var(--muted)}
.boxes-page [data-box-key][hidden]{display:none}
.boxes-page .page-heading>[data-device-add]{display:inline-flex;flex-shrink:0}
.customer-device-card{padding:20px 24px;border-top:1px solid var(--line)}
.customer-device-heading{display:flex;align-items:center;gap:15px}
.customer-device-heading>div{min-width:0;flex:1}
.customer-device-heading h3{font-size:16px;margin:0 0 5px}
.customer-device-heading small{color:var(--muted);overflow-wrap:anywhere}
.customer-device-info{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.customer-device-info>div{min-width:0}
.customer-device-info dt{font-size:11px;color:var(--muted);margin-bottom:5px}
.customer-device-info dd{font-size:13px;margin:0;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.customer-device-note{grid-column:1/-1}
.customer-device-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}
#device-dialog fieldset{border:0;padding:0;margin:0;min-width:0}
#device-dialog input,#device-dialog textarea{width:100%;box-sizing:border-box}
#device-dialog textarea{display:block;resize:vertical;min-height:95px;border:1px solid var(--line);border-radius:7px;padding:12px;font:inherit;font-size:13px;color:var(--ink)}
#device-dialog .field-help{display:block;margin-top:12px;line-height:1.65}
#device-dialog .dialog-top{justify-content:flex-end}
#device-dialog-error{color:#a8253d;font-size:12px;line-height:1.6}
#device-dialog-error:empty{display:none}
.login-expiry-notice{margin:12px 24px 0;border-color:#e9a04c;background:#fff4df;color:#663e09}
.login-expiry-notice[hidden]{display:none}
#hardware-dialog{width:min(700px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
#hardware-dialog h3{margin:22px 0 10px;font-size:15px}
#hardware-dialog .dialog-top{justify-content:flex-end}
#hardware-dialog form{margin-top:18px;padding-top:8px;border-top:1px solid var(--line)}
#hardware-dialog form>.button{margin-top:16px}
#hardware-dialog input:not([type=checkbox]),#hardware-dialog select{width:100%;box-sizing:border-box}
#hardware-dialog select{min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font:inherit;font-size:13px}
.hardware-summary{padding:12px;background:#f4f6f8;border-radius:7px}.hardware-summary small{display:block;margin-top:4px}
.hardware-report{margin:8px 0;font-size:12px}.hardware-report>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px;padding:5px 0}.hardware-report dt{color:var(--muted)}.hardware-report dd{margin:0;overflow-wrap:anywhere}
.hardware-command,.hardware-fingerprint{display:block;white-space:normal;overflow-wrap:anywhere;font-size:11px;padding:10px;background:#f4f6f8;border-radius:6px}
#hardware-dialog .hardware-check{display:flex;gap:10px;align-items:flex-start;line-height:1.6;margin:16px 0}.hardware-check input{width:18px;min-width:18px;height:18px;margin-top:3px}
.hardware-pending{margin-top:18px;border-top:1px solid var(--line)}.hardware-pending>button{margin-top:14px}
.hardware-history{margin-top:22px}.hardware-history article{border-top:1px solid var(--line);padding:14px 0}
#hardware-dialog summary{cursor:pointer;font-size:13px;font-weight:600}#hardware-error{color:#a8253d;font-size:12px}#hardware-message{color:#236443;font-size:12px}
@media(max-width:600px){#hardware-dialog{padding:20px}.hardware-report>div{grid-template-columns:1fr;gap:2px}.customer-device-heading{flex-wrap:wrap}#hardware-dialog .dialog-actions{flex-wrap:wrap}}
@media(max-width:600px){.boxes-page .page-heading:has([data-device-add]){flex-wrap:wrap}.customer-device-card{padding:18px 16px}.customer-device-heading{flex-wrap:wrap;gap:10px}.customer-device-heading>div{flex-basis:calc(100% - 120px)}.customer-device-info{grid-template-columns:1fr}.customer-device-note{grid-column:auto}#device-dialog .dialog-actions{flex-wrap:wrap}#device-dialog .dialog-actions .button{flex:1;white-space:nowrap}}
@media(max-width:1100px){.boxes-page .registry-fields{grid-template-columns:110px 1fr}.boxes-page .registry-actions{flex-wrap:wrap}}
@media(max-width:600px){.boxes-page .registry-panel,.boxes-page .device-panel{padding:16px}.boxes-page .registry-fields{grid-template-columns:minmax(0,1fr)}.boxes-page .registry-actions{flex-direction:column;gap:5px}.boxes-page .registry-fields>.button{width:100%}.box-search-bar{flex-wrap:wrap;gap:8px}.box-search-bar>div{flex-basis:100%}.box-search-bar>.button{height:36px}#box-search-count{padding-bottom:10px}.boxes-page .page-heading h1{font-size:23px}}
.team-panel{margin-bottom:18px}.access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px}.access-grid article{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:9px;padding:16px}.access-grid article>div{min-width:0;flex:1}.access-grid strong,.access-grid small{display:block}.access-grid small{color:var(--muted);margin-top:4px}.access-grid p{margin:6px 0 0;font-size:11px}.access-grid .box-picture{width:42px;height:42px;min-width:42px}.access-grid .button{margin-left:auto}.secret-link{display:flex;gap:10px;margin:20px 0}.secret-link input{font-family:Consolas,monospace;font-size:11px}.choice{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:8px;padding:14px;margin:10px 0;cursor:pointer}.choice input{width:18px;height:18px;margin:2px 0 0;flex:none}.choice strong,.choice small{display:block}.choice small{color:var(--muted);font-size:10px;margin-top:4px}.member-choices{border:0;padding:8px 0 0;margin:18px 0 0}.member-choices legend{font-size:12px;font-weight:600;margin-bottom:5px}.member-choices label{display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line);padding:11px 3px;margin:0}.member-choices input{width:17px;height:17px;margin:0}.member-choices span{font-size:12px}.member-choices small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
@media(max-width:760px){.access-grid{grid-template-columns:1fr;padding:14px}.access-grid article{flex-wrap:wrap}.access-grid .button{margin-left:56px}.secret-link{flex-direction:column}}
/* Operator communication */
.mail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.mail-columns > * { min-width: 0; }
.mail-title, .mail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.mail-title { justify-content: space-between; }
.mail-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.mail-fields > div { min-width: 0; }
.mail-actions { margin-top: 20px; }
.mail-columns p { line-height: 1.7; }
.mail-columns fieldset, #mail-confirm fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.mail-columns select, .mail-columns textarea { width: 100%; }
.mail-columns textarea { display: block; border: 1px solid #d8dadf; border-radius: 6px; padding: 13px 14px; color: #363a41; background: #fff; font-size: 13px; line-height: 1.7; resize: vertical; }
.mail-preview { padding: 20px; border: 1px solid #dfe2e7; border-radius: 8px; margin: 20px 0; }
.mail-preview div { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.mail-recipients { max-height: 220px; overflow: auto; padding-left: 20px; overflow-wrap: anywhere; }
.mail-recipients li { margin: 12px 0; }
#mail-dialog { width: min(700px, calc(100vw - 32px)); }
#mail-dialog details { margin-bottom: 20px; }
#mail-error { color: #aa2345; }
.windows-client-panel { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 20px; padding: 24px; align-items: start; border-left: 3px solid #f47835; }
.client-symbol { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #171b22; color: #f47835; font-weight: 800; letter-spacing: -.04em; }
.client-copy h2 { font-size: 18px; margin: 5px 0 12px; }
.client-copy p { margin: 6px 0; font-size: 13px; line-height: 1.6; }
.client-copy .client-status { font-weight: 700; color: #865315; }
.windows-client-panel[data-state="running"] .client-status { color: #1c6a4a; }
.client-copy small, .client-footnote { color: #667080; font-size: 12px; }
.client-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.client-actions [hidden] { display: none; }
.client-actions .inline-link { justify-content: center; font-size: 12px; }
.client-download-unavailable { color: #667080; font-size: 12px; text-align: center; line-height: 1.5; }
.client-footnote { grid-column: 2 / -1; margin: 0; line-height: 1.5; }
@media (max-width: 720px) {
  .windows-client-panel { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .client-symbol { width: 40px; height: 40px; }
  .client-actions, .client-footnote { grid-column: 1 / -1; }
}
@media (max-width: 1100px) { .mail-columns { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mail-fields { grid-template-columns: 1fr; } }
