:root{color-scheme:dark;--bg:#08111b;--panel:#111d29;--panel2:#162534;--line:#26384a;--text:#eaf1f7;--muted:#90a2b6;--amber:#ff8c36;--green:#36d399;--red:#ff6b6b;--blue:#4ea1ff}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}.shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#0b1621;border-right:1px solid var(--line);padding:24px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center}.brand strong{display:block;font-size:18px}.brand span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.brand.big{margin-bottom:34px}.mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--amber);color:#101820;font-weight:900}.sidebar nav{display:grid;gap:8px;margin-top:36px}.sidebar nav a{padding:12px 14px;border-radius:9px;color:#c9d6e2}.sidebar nav a:hover{background:var(--panel)}.side-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:18px}.content{padding:32px;min-width:0}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.page-head h1{margin:0;font-size:30px}.page-head p{margin:7px 0 0;color:var(--muted)}.pill,.status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em}.pill{background:#3b2615;color:#ffc28e}.status.ok{background:#123729;color:#72e3b6}.status.off{background:#3a2024;color:#ffaaaa}.notice,.warn,.error-box{padding:14px 16px;border-radius:10px;margin-bottom:20px}.notice{background:#102235;border:1px solid #244769;color:#b9d8f5}.warn{background:#352817;border:1px solid #6e5026;color:#ffd39d}.error-box{background:#3a1d22;border:1px solid #7a343d;color:#ffbdc3}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px}.console-card:hover{border-color:#435e78;transform:translateY(-1px)}.row{display:flex;justify-content:space-between;gap:12px;align-items:center}.kv{display:grid;grid-template-columns:minmax(110px,.7fr) 1.3fr;gap:10px 14px;margin-top:18px}.kv span{color:var(--muted)}.kv b{overflow-wrap:anywhere}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.panel{margin-bottom:16px}.panel h2{margin:0 0 16px;font-size:18px}.muted{color:var(--muted)}label{display:grid;gap:7px;color:#b9c6d2;font-size:13px;margin-bottom:14px}input{width:100%;background:#0b1621;border:1px solid #31465b;border-radius:9px;padding:12px 13px;color:var(--text);outline:none}input:focus{border-color:var(--blue)}button,.small-btn{border:0;border-radius:9px;padding:11px 14px;background:var(--amber);color:#141a20;font-weight:800;cursor:pointer}.ghost{background:#182737;color:#c9d6e2;width:100%;margin-top:10px}.small-btn{display:inline-flex;padding:7px 10px;font-size:12px}.back{color:#9ecbff}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.chips{display:flex;flex-wrap:wrap;gap:10px}.chips span{background:var(--panel2);border:1px solid var(--line);border-radius:999px;padding:8px 11px;color:#c9d6e2}.chips b{color:var(--amber)}.empty{padding:40px;color:var(--muted);border:1px dashed var(--line);border-radius:14px}.login-body{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 60% 0,#18283b 0,#08111b 42%)}.login-card{width:min(430px,100%);background:#0e1b28;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 30px 80px rgba(0,0,0,.35)}.login-card h1{margin:0 0 8px}.login-card form button{width:100%;margin-top:4px}.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.video-card{background:#05090d;border:1px solid var(--line);border-radius:14px;overflow:hidden}.video-card h2{font-size:14px;padding:12px 14px;margin:0;background:#0e1b28}.video-card iframe{display:block;border:0;width:100%;aspect-ratio:16/9;background:#000}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.content{padding:22px}.two-col,.video-grid{grid-template-columns:1fr}}.success-box{padding:14px 16px;border-radius:10px;margin-bottom:20px;background:#123729;border:1px solid #28644c;color:#9bf0c9}.activation-card{width:min(500px,100%)}.step-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-8px 0 26px}.step-strip span{padding:8px 6px;border-radius:999px;background:#152331;border:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:800;text-align:center}.step-strip span.current{border-color:var(--amber);color:#ffd0aa;background:#352416}.step-strip span.done{border-color:#28644c;color:#9bf0c9;background:#123729}.qr-wrap{display:grid;place-items:center;background:#fff;border-radius:14px;padding:18px;margin:18px auto;width:max-content;max-width:100%}.qr-wrap img{display:block;width:238px;height:238px;max-width:65vw;max-height:65vw}.qr-wrap.compact img{width:170px;height:170px}.secret-box{display:grid;gap:7px;margin:14px 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#0b1621}.secret-box span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.secret-box code{font-size:13px;overflow-wrap:anywhere;color:#ffd0aa}

/* v0.1.2 brand + signup */
.brand-logo-tile{width:54px;height:42px;display:grid;place-items:center;background:#fff;border-radius:10px;padding:5px;flex:0 0 54px}.brand-logo-tile img{max-width:100%;max-height:100%;object-fit:contain;display:block}.auth-logo-tile{width:104px;height:74px;display:grid;place-items:center;background:#fff;border-radius:12px;padding:8px;flex:0 0 104px}.auth-logo-tile img{max-width:100%;max-height:100%;object-fit:contain;display:block}.auth-switch{text-align:center;color:var(--muted);margin:18px 0 0;font-size:13px}.auth-switch a{color:#ffc28e;font-weight:800}.login-card .brand.big{align-items:center}.login-card .brand.big>div strong{font-size:20px}

.dev-activation-btn{display:flex;align-items:center;justify-content:center;width:100%;border-radius:9px;padding:12px 14px;margin:0 0 18px;background:var(--amber);color:#141a20;font-weight:900}.dev-activation-btn:hover{filter:brightness(1.05)}

.dev-activation-btn{display:flex;align-items:center;justify-content:center;width:100%;border-radius:9px;padding:12px 14px;background:var(--amber);color:#141a20;font-weight:800;margin:0 0 14px}.flow-hint{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#0b1621;color:#b9c6d2;font-size:13px;line-height:1.5;margin-bottom:18px}.security-grid .panel form button{width:100%}

/* v0.2.0 ENTERPRISE_OBSERVABILITY_REPORTING_FOUNDATION_R1 */
.sidebar nav a.current{background:#223449;border-left:3px solid var(--amber);color:#fff}.eyebrow{color:var(--amber);font-size:10px;font-weight:900;letter-spacing:.14em;margin-bottom:8px}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:16px}.metric-card{display:block;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px;min-width:0}.metric-card span,.metric-card small{display:block;color:var(--muted);font-size:12px}.metric-card b{display:block;font-size:24px;margin-top:7px;overflow-wrap:anywhere}.metric-card code{display:block;margin-top:8px;overflow-wrap:anywhere}.section-head,.action-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-list{display:grid;gap:8px}.report-row{display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#0d1823}.status-normal{background:#123729;color:#72e3b6}.status-minor{background:#3b3017;color:#ffd36a}.status-attention{background:#432918;color:#ffb36a}.status-critical{background:#4a1f25;color:#ff9ca4}.status-insufficient_data{background:#253344;color:#b4c6d8}.tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;margin:0 0 16px}.tabs a{flex:0 0 auto;width:max-content;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel);font-size:12px;font-weight:800}.tabs a.current{background:#263a50;border-color:#4e6b88;color:#fff}.inline-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.compact-form{padding:15px}.scope-form{display:grid;grid-template-columns:minmax(100px,1fr) minmax(90px,1fr) auto;gap:7px;margin-top:14px}.scope-bar{padding:12px}.filter-grid,.form-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px;align-items:end}.form-grid label{margin:0}.span-2{grid-column:span 2}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:7px;margin:10px 0 14px}.check-grid label{display:flex;align-items:center;gap:8px;margin:0;background:#0c1721;border:1px solid var(--line);padding:8px;border-radius:8px}.check-grid input{width:auto}.finding-list{display:grid;gap:10px}.finding-card{background:var(--panel);border:1px solid var(--line);border-left:4px solid #61748a;border-radius:12px;padding:15px}.finding-card.severity-critical{border-left-color:var(--red)}.finding-card.severity-warning,.finding-card.severity-attention{border-left-color:var(--amber)}.finding-card.severity-minor{border-left-color:#e5c15a}.finding-card p{color:#bac7d3;margin:12px 0 0}.template-card{display:grid;gap:7px;border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:8px}.template-card span{color:var(--muted);font-size:12px}.template-card code{white-space:pre-wrap;overflow-wrap:anywhere}.admin-request{display:grid;grid-template-columns:minmax(190px,1.3fr) minmax(130px,1fr) minmax(130px,1fr) minmax(130px,1fr) auto auto;gap:8px;align-items:center;margin-bottom:8px}.danger{background:#8a2f37;color:#fff}.break{overflow-wrap:anywhere;word-break:break-all}.user-line{font-size:11px;margin-top:10px}.lang-switch,.auth-lang{display:flex;gap:6px;flex-wrap:wrap}.lang-switch a,.auth-lang a{padding:4px 6px;border-radius:6px;color:var(--muted);font-size:10px}.lang-switch a.on{background:#223449;color:#fff}.auth-lang{justify-content:flex-end;margin-bottom:14px}.auth-lang a{font-size:11px;border:1px solid var(--line)}select,textarea{width:100%;background:#0b1621;border:1px solid #31465b;border-radius:9px;padding:11px 12px;color:var(--text);outline:none}select:focus,textarea:focus{border-color:var(--blue)}.wrap{white-space:normal;min-width:240px;overflow-wrap:anywhere}.primary{background:var(--amber)!important;color:#141a20!important}.card form button{width:auto}.table-wrap.panel{padding:10px}.table-wrap table{min-width:max-content}.table-wrap td.wrap{max-width:520px}.content>.tabs{position:relative}.report-row:hover,.metric-card:hover{border-color:#405c78}.report-row strong{overflow-wrap:anywhere}.panel code{color:#b7c9db}.status{white-space:nowrap}
@media(max-width:1200px){.filter-grid,.form-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.admin-request{grid-template-columns:1fr 1fr}.report-row{grid-template-columns:auto 1fr}.report-row .muted{grid-column:2}}
@media(max-width:900px){.filter-grid,.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.check-grid{grid-template-columns:1fr}.scope-form{grid-template-columns:1fr}.admin-request{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr 1fr}}


/* v0.2.1 OPERATIONS_UX_DATA_TRUST_R1 */
.site-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:14px;margin-bottom:16px}.site-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px}.site-card h2{margin:2px 0 0}.virtual-site{border-style:dashed}.count-badge{display:grid;place-items:center;min-width:42px;height:42px;border-radius:999px;background:#153c31;color:#7ee7bb}.site-actions{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.site-actions summary{cursor:pointer;font-weight:800;color:#bdcad6}.site-action-row{justify-content:flex-start;margin-top:10px}.form-action{display:flex;align-items:end}.enrollment-reveal{border-color:#c66b2a;background:linear-gradient(135deg,#171f27,#261b13)}.enrollment-code{display:block;padding:18px;margin:14px 0;background:#071019;border:1px solid #5a432f;border-radius:10px;font-size:18px;color:#ffd1aa;overflow-wrap:anywhere}.compact-metrics{margin:14px 0}.telemetry-filter{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;align-items:end}.chart-panel{padding-bottom:14px}.chart-wrap{position:relative;min-height:360px;background:#09131d;border:1px solid var(--line);border-radius:12px;padding:8px}.chart-wrap canvas{display:block;width:100%}.chart-empty{display:grid;place-items:center;min-height:340px;color:var(--muted)}.chart-legend{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.chart-legend span{display:flex;align-items:center;gap:5px;font-size:11px;color:#b7c5d2}.chart-legend i{width:9px;height:9px;border-radius:999px}.video-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:0 0 14px}.video-toolbar input{max-width:420px}.video-modes{margin:0}.video-modes button{background:var(--panel);color:#cbd7e2;border:1px solid var(--line);width:max-content}.video-modes button.current{background:#263a50;color:#fff}.camera-wall{display:grid;grid-template-columns:repeat(auto-fit,minmax(520px,1fr));gap:14px}.camera-wall-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}.camera-head{display:flex;justify-content:space-between;gap:12px;padding:14px 16px}.camera-dual{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line)}.camera-channel{min-width:0;background:#020406}.camera-channel iframe{display:block;border:0;width:100%;aspect-ratio:16/9;background:#000}.channel-label{padding:7px 10px;background:#0a1520;color:#bdcad6;font-size:11px;font-weight:800}.camera-detail-link{display:block;padding:10px 15px;border-top:1px solid var(--line);color:#9ecbff;font-size:12px}.camera-wall[data-mode="visible"] .thermal-channel{display:none}.camera-wall[data-mode="visible"] .camera-dual,.camera-wall[data-mode="thermal"] .camera-dual{grid-template-columns:1fr}.camera-wall[data-mode="thermal"] .visible-channel{display:none}.log-filter{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(160px,1fr)) auto auto;gap:10px;align-items:end}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 4px}.disabled-link{pointer-events:none;opacity:.35}.data-grid-toolbar{display:flex;justify-content:flex-end;gap:8px;padding:8px 0}.data-grid-toolbar>input{max-width:280px}.grid-columns{position:relative}.grid-columns summary{cursor:pointer;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#142332;color:#cbd7e2;font-size:12px;font-weight:800}.grid-column-menu{position:absolute;right:0;top:42px;z-index:10;min-width:190px;background:#101d2a;border:1px solid var(--line);border-radius:10px;padding:10px;box-shadow:0 15px 40px rgba(0,0,0,.35)}.grid-column-menu label{display:flex;align-items:center;gap:8px;margin:0;padding:6px}.grid-column-menu input{width:auto}.data-grid th{position:relative;user-select:none;cursor:pointer}.column-resizer{position:absolute;right:-4px;top:0;width:8px;height:100%;cursor:col-resize}.period-preview{display:grid;gap:5px;padding:13px 15px;margin:14px 0;border:1px solid var(--line);border-radius:10px;background:#0a1621}.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:16px}.health-item{display:grid;gap:6px;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.health-item span,.health-item small{color:var(--muted)}.health-item b{font-size:20px}.health-item.healthy{border-left:4px solid #39b77d}.health-item.degraded{border-left:4px solid var(--amber)}.session-list{display:grid;gap:8px}.session-row{display:grid;gap:4px;padding:11px;border:1px solid var(--line);border-radius:9px;background:#0b1621}.session-row>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
@media(max-width:1200px){.telemetry-filter{grid-template-columns:repeat(2,minmax(150px,1fr))}.log-filter{grid-template-columns:repeat(2,minmax(150px,1fr))}.camera-wall{grid-template-columns:1fr}}
@media(max-width:760px){.telemetry-filter,.log-filter{grid-template-columns:1fr}.camera-dual{grid-template-columns:1fr}.video-toolbar{align-items:stretch;flex-direction:column}.video-toolbar input{max-width:none}}

/* v0.2.2 OPERATIONS_REPORTING_LIFECYCLE_R1 */
.custom-range-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.custom-range-fields[hidden]{display:none!important}.time-context{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin:-4px 0 16px;padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#0b1621}.time-context span{color:var(--muted);font-size:12px}.time-context code{font-size:11px}.readiness-panel{margin:18px 0 14px;padding:18px;border:1px solid #3b5369;border-radius:14px;background:#0b1722}.readiness-panel[data-state="ready"]{border-left:4px solid var(--green)}.readiness-panel[data-state="limited"]{border-left:4px solid var(--amber)}.readiness-panel[data-state="no_data"],.readiness-panel[data-state="no_scope"],.readiness-panel[data-state="error"]{border-left:4px solid var(--red)}.readiness-status,.workflow-pill{display:inline-flex;padding:6px 9px;border-radius:999px;background:#1c3043;color:#c9d6e2;font-size:11px;font-weight:900}.report-submit-row{display:flex;justify-content:space-between;align-items:center;gap:14px}.finding-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.finding-actions form{margin:0}.report-card-list{display:grid;gap:12px}.report-summary-card{display:grid;gap:12px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.report-summary-card:hover{border-color:#47647f}.report-summary-card h2{margin:4px 0 0}.report-summary-card p{margin:5px 0}.report-card-kpis{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:12px}.report-card-kpis b{color:var(--text)}.report-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.report-hero h1{margin:0;font-size:30px}.report-hero p{color:var(--muted)}.report-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.report-kpi{display:grid;gap:6px;min-height:112px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.report-kpi span,.report-kpi small{color:var(--muted);font-size:11px}.report-kpi b{font-size:21px;overflow-wrap:anywhere}.report-two-col{display:grid;grid-template-columns:1.05fr .95fr;gap:14px}.report-summary-text{font-size:15px;line-height:1.7;color:#d6e0e9}.alarm-distribution{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center}.alarm-total{width:130px;height:130px;border-radius:50%;border:18px solid #28445f;display:grid;place-items:center;align-content:center}.alarm-total b{font-size:32px}.alarm-total span{font-size:10px;color:var(--muted)}.alarm-breakdown{display:grid;gap:9px}.alarm-breakdown>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:6px}.report-chart-wrap{min-height:320px}.report-chart-wrap canvas{width:100%;height:320px}.report-main-row .panel{min-width:0}.report-findings{display:grid;gap:8px}.report-finding-row{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:10px;border-bottom:1px solid var(--line)}.report-finding-row small{display:block;color:var(--muted);margin-top:4px}.quality-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quality-grid>div{padding:12px;border:1px solid var(--line);border-radius:10px}.quality-grid span,.quality-grid b{display:block}.quality-grid span{color:var(--muted);font-size:11px}.quality-grid b{font-size:20px;margin-top:5px}.metric-summary-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.metric-summary-list>div{padding:10px;border:1px solid var(--line);border-radius:9px}.metric-summary-list span,.metric-summary-list small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.action-item-list{display:grid;gap:8px}.action-item-list>div{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.action-item-list input{width:auto}.action-item-list small{display:block;color:var(--muted);margin-top:4px}.snapshot-footer{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:var(--muted)}.snapshot-footer>div{display:grid;gap:5px}.snapshot-footer b{color:var(--text)}
@media(max-width:1300px){.report-kpi-grid{grid-template-columns:repeat(3,1fr)}.report-two-col{grid-template-columns:1fr}.quality-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.custom-range-fields{grid-template-columns:1fr}.time-context{grid-template-columns:1fr}.report-kpi-grid{grid-template-columns:1fr 1fr}.report-hero{display:grid}.alarm-distribution{grid-template-columns:1fr}.metric-summary-list{grid-template-columns:1fr}.snapshot-footer{display:grid}}

/* v0.2.2 report media evidence */
.media-evidence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin-top:12px}.media-evidence-card{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line,#26384a);border-radius:12px;background:rgba(255,255,255,.02)}.media-evidence-card small{display:block;color:var(--muted,#90a2b6);margin-top:3px}.media-evidence-icon{height:48px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:rgba(255,140,54,.12);color:#ff8c36;font-size:11px;font-weight:800;letter-spacing:.04em}


/* v0.2.3 OPERATIONS_WORKSPACE_UX_R1 */
:root{--surface:#0c1722;--surface-raised:#111f2c;--surface-soft:#0a141e;--line-soft:#203244;--shadow:0 18px 48px rgba(0,0,0,.22)}
.workspace-shell{grid-template-columns:238px minmax(0,1fr)}.workspace-main{min-width:0}.workspace-bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:68px;padding:10px 28px;background:rgba(8,17,27,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.workspace-crumb{display:flex;align-items:center;gap:8px;min-width:0;color:#b9c8d5;font-size:12px}.workspace-crumb i{color:#52677b;font-style:normal}.workspace-crumb strong{color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-scope-form{display:flex;align-items:end;gap:7px}.workspace-scope-form label{display:grid;gap:3px;margin:0}.workspace-scope-form label span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#71859a}.workspace-scope-form select{min-width:128px;max-width:220px;padding:7px 28px 7px 9px;font-size:11px}.content{max-width:1680px;width:100%;margin:0 auto;padding:30px 34px 48px}.nav-groups{display:grid!important;gap:18px!important;margin-top:30px!important}.nav-group{display:grid;gap:4px}.nav-group>span{padding:0 12px 5px;color:#596e82;font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.nav-group a{padding:9px 12px!important}.breadcrumb,.section-kicker{color:#71859a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}.workspace-page-head{align-items:center}.workspace-page-head h1{letter-spacing:-.025em}.freshness{display:grid;gap:3px;text-align:right}.freshness span{font-size:10px;color:var(--muted);text-transform:uppercase}.freshness b{font-size:18px}.ops-overview{display:grid;grid-template-columns:1.35fr repeat(3,1fr);border:1px solid var(--line);border-left:4px solid #5f7285;border-radius:15px;background:linear-gradient(135deg,#101e2b,#0b1621);margin-bottom:16px;overflow:hidden}.ops-overview.status-normal{border-left-color:var(--green)}.ops-overview.status-attention{border-left-color:var(--amber)}.ops-overview.status-critical{border-left-color:var(--red)}.ops-status,.ops-stat{padding:20px 22px;display:grid;gap:6px}.ops-stat{border-left:1px solid var(--line)}.ops-status span,.ops-stat span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.ops-status strong{font-size:28px}.ops-status small,.ops-stat small{color:var(--muted);font-size:11px}.ops-stat b{font-size:24px}.workspace-grid-main{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.attention-list,.site-health-list{display:grid}.attention-row,.site-health-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 2px;border-bottom:1px solid var(--line-soft)}.attention-row:last-child,.site-health-row:last-child{border-bottom:0}.attention-row small,.site-health-row small{display:block;color:var(--muted);margin-top:4px}.attention-row time{font-size:10px;color:var(--muted)}.site-health-row{grid-template-columns:auto minmax(0,1fr) auto}.health-dot{width:9px;height:9px;border-radius:50%;background:#6a7d90}.health-dot.status-normal{background:var(--green)}.health-dot.status-attention{background:var(--amber)}.health-dot.status-critical{background:var(--red)}.compact-empty{padding:24px}.small-btn.quiet{background:#182737;color:#cbd8e3;border:1px solid #2a4055}.asset-summary{display:flex;gap:18px;align-items:center;padding:0 2px 16px;color:var(--muted);font-size:11px}.asset-summary span{display:flex;align-items:baseline;gap:7px}.asset-summary b{font-size:18px;color:var(--text)}.workspace-site-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.workspace-site-card{display:grid;gap:18px;min-height:220px}.site-card-top{display:flex;justify-content:space-between;gap:12px}.site-card-top h2{margin:2px 0 4px}.icon-btn{width:34px;height:34px;padding:0;display:grid;place-items:center;background:#172634;color:#c5d2dd;border:1px solid #2a4053;border-radius:9px}.site-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.site-card-stats>div,.console-card-metrics>div{display:grid;gap:5px;padding:10px;background:#0b1620;border-radius:9px}.site-card-stats span,.console-card-metrics span{font-size:10px;color:var(--muted)}.site-card-stats b,.console-card-metrics b{font-size:18px}.small-value{font-size:11px!important;overflow-wrap:anywhere}.site-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto}.card-link{font-size:11px;color:#9ecbff}.virtual-site{display:block}.workspace-dialog{width:min(620px,calc(100vw - 32px));max-height:86vh;overflow:auto;border:1px solid #324b62;border-radius:16px;padding:0;background:#0e1a26;color:var(--text);box-shadow:0 40px 100px rgba(0,0,0,.55)}.workspace-dialog::backdrop{background:rgba(1,6,11,.7);backdrop-filter:blur(4px)}.dialog-close-row{display:flex;justify-content:flex-end;padding:12px 12px 0}.dialog-title{padding:4px 22px 18px;border-bottom:1px solid var(--line)}.dialog-title h2{margin:4px 0}.dialog-title p{margin:6px 0 0;color:var(--muted)}.dialog-section{padding:18px 22px;border-bottom:1px solid var(--line)}.dialog-section:last-child{border-bottom:0}.dialog-section h3{margin:0 0 10px;font-size:14px}.danger-zone{background:rgba(255,107,107,.035)}.danger-zone ul{color:#b9c7d3;font-size:12px;line-height:1.7}.enrollment-dialog{padding-bottom:22px}.console-workspace-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:14px}.console-workspace-card{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel);display:grid;gap:16px}.console-card-head{display:flex;justify-content:space-between;gap:14px}.console-card-head h2{margin:4px 0;font-size:17px;overflow-wrap:anywhere}.console-card-head small{color:var(--muted)}.plane-status{display:flex;flex-wrap:wrap;gap:7px}.plane-status span{display:flex;align-items:center;gap:5px;padding:6px 8px;background:#0b1620;border-radius:7px;color:#91a2b3;font-size:9px;font-weight:800}.plane-status i{width:6px;height:6px;border-radius:50%;background:#687b8d}.plane-status .on i{background:var(--green)}.plane-status .off i{background:#687b8d}.console-card-metrics{display:grid;grid-template-columns:90px 90px 1fr;gap:8px}.console-card-actions{display:flex;justify-content:flex-end;gap:8px}.workflow-tabs a b{margin-left:6px;color:#fff}.finding-workspace-list{display:grid;gap:8px}.finding-workspace-card{border:1px solid var(--line);border-left:4px solid #61748a;border-radius:12px;background:var(--panel);overflow:hidden}.finding-workspace-card.severity-critical{border-left-color:var(--red)}.finding-workspace-card.severity-attention,.finding-workspace-card.severity-warning{border-left-color:var(--amber)}.finding-main{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;background:transparent;color:var(--text);text-align:left;padding:15px 17px;border-radius:0}.finding-main:hover{background:#142332}.finding-main h2{margin:0;font-size:15px}.finding-main p{margin:5px 0 0;color:var(--muted);font-size:11px}.finding-meta{display:grid;text-align:right;gap:5px}.finding-meta small{color:var(--muted);font-size:10px}.finding-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:18px 22px}.finding-detail-grid>div{padding:10px;background:#0b1620;border-radius:8px}.finding-detail-grid span,.finding-detail-grid b{display:block}.finding-detail-grid span{font-size:10px;color:var(--muted)}.finding-detail-grid b{margin-top:5px;font-size:12px;overflow-wrap:anywhere}.evidence-box{max-height:220px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#08121b;border:1px solid var(--line);border-radius:9px;padding:12px;color:#aebdca;font-size:10px}.left-actions{justify-content:flex-start}.finding-workflow-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.finding-workflow-actions form{margin:0}.suppress-form{display:flex;gap:7px;align-items:center;flex:1}.suppress-form select{width:90px}.suppress-form input{min-width:140px}.telemetry-workspace-filter,.log-workspace-filter{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;align-items:end}.telemetry-tabs{margin-bottom:12px}.current-resource-strip{padding:14px 18px}.resource-now-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.resource-now-list a{display:grid;gap:4px;padding:10px;border-radius:9px;background:#0b1620}.resource-now-list span,.resource-now-list small{font-size:10px;color:var(--muted)}.ranking-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:14px 0}.ranking-controls label{margin:0;min-width:150px}.ranking-list{display:grid}.ranking-list>div{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line)}.rank-index{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#172634;color:#9fb0c0}.ranking-list small{display:block;color:var(--muted);margin-top:3px}.log-workspace-filter{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(130px,1fr)) auto auto}.health-probes .health-item small{line-height:1.45}.report-small-multiples{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:10px}.report-mini-chart{border:1px solid var(--line);border-radius:10px;background:#0a1520;padding:10px;min-width:0}.report-mini-chart canvas{width:100%;height:190px;display:block}.mini-chart-head{display:flex;justify-content:space-between;gap:10px;padding:2px 4px 8px}.mini-chart-head span{font-size:10px;color:var(--muted)}.alarm-bars{display:grid;gap:10px}.alarm-bars>div{display:grid;grid-template-columns:86px minmax(80px,1fr) 40px;gap:8px;align-items:center}.alarm-bars span{font-size:10px;color:var(--muted)}.alarm-bars i{height:8px;border-radius:999px;background:linear-gradient(90deg,var(--amber) calc(var(--count)/var(--total)*100%),#1d3042 0)}.alarm-bars b{text-align:right}.quality-grid{grid-template-columns:repeat(5,1fr)}.action-index{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#172634;color:#9fb0c0;font-size:10px}.action-item-list>div{grid-template-columns:auto 1fr auto}.data-grid th[aria-sort="ascending"]::after{content:" ↑"}.data-grid th[aria-sort="descending"]::after{content:" ↓"}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #78b7ff;outline-offset:2px}
@media(max-width:1180px){.workspace-bar{align-items:flex-start;flex-direction:column}.workspace-scope-form{width:100%;flex-wrap:wrap}.ops-overview{grid-template-columns:1fr 1fr}.ops-stat:nth-child(2){border-left:0}.workspace-grid-main{grid-template-columns:1fr}.telemetry-workspace-filter,.log-workspace-filter{grid-template-columns:repeat(2,minmax(140px,1fr))}.report-small-multiples{grid-template-columns:1fr}.quality-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.workspace-bar{position:relative;padding:12px 18px}.workspace-scope-form{display:grid;grid-template-columns:1fr 1fr}.workspace-scope-form label:last-of-type{grid-column:span 2}.workspace-scope-form select{width:100%;max-width:none}.content{padding:22px 18px}.ops-overview{grid-template-columns:1fr}.ops-stat{border-left:0;border-top:1px solid var(--line)}.site-card-stats,.console-card-metrics,.finding-detail-grid,.quality-grid{grid-template-columns:1fr}.console-workspace-grid{grid-template-columns:1fr}.finding-main{grid-template-columns:auto 1fr}.finding-meta{grid-column:2;text-align:left}.telemetry-workspace-filter,.log-workspace-filter{grid-template-columns:1fr}.suppress-form{align-items:stretch;flex-direction:column}.suppress-form select{width:100%}}
/* v0.2.4 Site workspace scale UX */
.workspace-crumb{font-size:13px}.workspace-scope-form label span{font-size:10px}.workspace-scope-form select{font-size:12px}
.site-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:18px 0 12px}.site-search-field{display:grid;gap:5px;min-width:min(480px,60vw);margin:0}.site-search-field>span{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.site-search-field input{width:100%}.view-switch{display:flex;gap:5px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#0b1620}.view-switch button{border:0;background:transparent;color:#91a5b8;padding:8px 11px;border-radius:7px;font-size:11px;font-weight:800;cursor:pointer}.view-switch button[aria-pressed="true"]{background:#22384f;color:#fff}.site-view-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.site-view-card .site-card{min-height:218px}.site-quick-actions{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap;margin-top:auto}.ghost-btn{background:#132231!important;border:1px solid #2a4055!important;color:#c4d3df!important}.danger-outline{background:transparent!important;border:1px solid rgba(255,107,107,.5)!important;color:#ff9a9a!important}.danger-outline:hover{background:rgba(255,107,107,.09)!important}.site-view-list{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.site-list-head,.site-list-row{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(120px,1fr) 90px 90px minmax(150px,1fr) minmax(270px,auto);gap:12px;align-items:center}.site-list-head{padding:10px 14px;background:#0c1722;color:#71859a;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.site-list-row{padding:12px 14px;border-top:1px solid var(--line);font-size:11px}.site-list-row:first-of-type{border-top:0}.site-list-row:hover{background:#142331}.site-list-row strong{display:block;font-size:12px}.site-list-row small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.site-list-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.virtual-site-row{color:inherit}.site-filter-hidden{display:none!important}.site-empty-filter{padding:20px;text-align:center;color:var(--muted)}.dependency-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.dependency-grid span{display:grid;gap:2px;padding:10px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:10px}.dependency-grid b{font-size:18px;color:var(--text)}.archived-site-panel{margin-top:18px}.site-archive-list{display:grid}.site-archive-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}.site-archive-row:first-child{border-top:0}.site-archive-row strong,.site-archive-row small{display:block}.site-archive-row small{color:var(--muted);margin-top:3px}.archived-site-panel .section-head p{margin:4px 0 0;color:var(--muted);font-size:10px}
@media(max-width:1100px){.site-list-head{display:none}.site-list-row{grid-template-columns:1fr 1fr 70px 70px}.site-list-row>span:nth-of-type(4){display:none}.site-list-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:760px){.site-toolbar{align-items:stretch;flex-direction:column}.site-search-field{min-width:0}.view-switch{align-self:flex-start}.site-view-card{grid-template-columns:1fr}.site-list-row{grid-template-columns:1fr 1fr}.dependency-grid{grid-template-columns:repeat(2,1fr)}}
/* v0.3.4 Console operations dashboard mirror */
.console-operations{display:grid;gap:16px}.console-ops-head{margin-bottom:0}.console-ops-head-actions{display:grid;justify-items:end;gap:8px;min-width:210px}.console-ops-head-actions small{color:var(--muted);font-size:10px}.console-ops-identity{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.console-ops-identity span,.console-device-counts span{display:inline-flex;gap:6px;align-items:center;padding:6px 9px;border-radius:8px;background:#0b1620;border:1px solid var(--line);color:var(--muted);font-size:10px}.console-ops-identity b,.console-device-counts b{color:var(--text)}.console-freshness-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;border:1px solid var(--line);font-size:11px;letter-spacing:.04em;background:#152331}.console-freshness-badge i{width:7px;height:7px;border-radius:50%;background:#738496}.console-freshness-badge[data-freshness-state="LIVE"]{color:#8eeac7;background:#113527;border-color:#28644c}.console-freshness-badge[data-freshness-state="LIVE"] i{background:var(--green);box-shadow:0 0 0 4px rgba(54,211,153,.1)}.console-freshness-badge[data-freshness-state="STALE"]{color:#ffd39d;background:#352817;border-color:#6e5026}.console-freshness-badge[data-freshness-state="STALE"] i{background:var(--amber)}.console-freshness-badge[data-freshness-state="OFFLINE"]{color:#ffb1b1;background:#3a2024;border-color:#713840}.console-freshness-badge[data-freshness-state="OFFLINE"] i{background:var(--red)}.console-authority-note{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0}.console-authority-note p{margin:5px 0 0;font-size:11px;color:#a6bad0}.console-authority-note .pill{white-space:nowrap}.console-freshness-warning{margin:0}.console-ops-tabs{position:sticky;top:0;z-index:8;display:flex;flex-wrap:wrap;gap:6px;padding:7px;border:1px solid var(--line);border-radius:12px;background:rgba(8,17,27,.94);backdrop-filter:blur(10px)}.console-ops-tabs a{padding:8px 10px;border-radius:8px;color:#9fb0c0;font-size:10px;font-weight:800}.console-ops-tabs a:hover{background:#17293a;color:#fff}.console-ops-section{scroll-margin-top:72px}.console-section-head{align-items:flex-start}.console-section-head h2{margin:2px 0 0}.console-section-head p{margin:5px 0 0;color:var(--muted);font-size:11px}.console-overall-status{min-width:130px;display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#0b1620}.console-overall-status i{grid-row:1/3;width:9px;height:9px;border-radius:50%;background:#718397}.console-overall-status span{font-size:9px;color:var(--muted);text-transform:uppercase}.console-overall-status strong{font-size:11px}.console-overall-status.normal i{background:var(--green)}.console-overall-status.warning i{background:var(--amber)}.console-overall-status.alarm i{background:var(--red)}.console-health-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.console-health-card{position:relative;min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.console-health-card.normal{border-color:rgba(54,211,153,.34)}.console-health-card.warning{border-color:rgba(255,140,54,.5)}.console-health-card.alarm{border-color:rgba(255,107,107,.5)}.console-health-card.unavailable{opacity:.72}.console-health-card-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.console-health-card-head span{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.05em}.console-health-card-head b{font-size:9px;color:#879caf}.console-health-card.normal .console-health-card-head b{color:var(--green)}.console-health-card.warning .console-health-card-head b{color:#ffc27e}.console-health-card.alarm .console-health-card-head b{color:#ff9d9d}.console-health-card>strong{display:block;font-size:23px;margin:14px 0 6px}.console-health-card>small{display:block;min-height:26px;color:var(--muted);font-size:9px;line-height:1.45;overflow-wrap:anywhere}.console-health-wide{grid-column:span 2}.console-health-meter{height:5px;border-radius:999px;background:#1c3043;margin-top:12px;overflow:hidden}.console-health-meter i{display:block;height:100%;width:0;background:var(--blue);border-radius:inherit;transition:width .25s ease}.console-health-card.warning .console-health-meter i{background:var(--amber)}.console-health-card.alarm .console-health-meter i{background:var(--red)}.console-health-source{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:9px}.console-health-source b{color:#b8c6d3}.console-health-source small{margin-left:auto}.console-bool-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.console-bool-summary>div{padding:12px;border:1px solid var(--line);border-radius:10px;background:#0b1620}.console-bool-summary span{display:block;font-size:9px;color:var(--muted);text-transform:uppercase}.console-bool-summary strong{display:block;font-size:22px;margin-top:5px}.console-bool-summary .normal strong{color:var(--green)}.console-bool-summary .alarm strong{color:var(--red)}.console-bool-summary .unavailable strong{color:#8da0b2}.console-bool-groups{display:grid;gap:10px}.console-bool-group{border:1px solid var(--line);border-radius:11px;background:#0b1620;overflow:hidden}.console-bool-group.alarm{border-color:rgba(255,107,107,.48)}.console-bool-group.normal{border-color:rgba(54,211,153,.28)}.console-bool-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line)}.console-bool-group-head strong,.console-bool-group-head small{display:block}.console-bool-group-head small{margin-top:3px;color:var(--muted);font-size:9px}.console-bool-state{display:inline-flex;padding:5px 7px;border-radius:999px;background:#1d2b39;color:#99aabd;font-size:8px;font-weight:900;white-space:nowrap}.console-bool-state.normal{background:#123729;color:#72e3b6}.console-bool-state.alarm{background:#3a2024;color:#ffaaaa}.console-bool-state.warning{background:#352817;color:#ffd39d}.console-bool-state.unavailable{background:#202b35;color:#9cabb9}.console-bool-point-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;padding:10px}.console-bool-point{display:grid;gap:7px;padding:10px;border:1px solid #223445;border-radius:9px;background:#101d29}.console-bool-point.normal{border-left:3px solid var(--green)}.console-bool-point.alarm{border-left:3px solid var(--red)}.console-bool-point.warning{border-left:3px solid var(--amber)}.console-bool-point.unavailable{border-left:3px solid #607487}.console-bool-point-top{display:flex;justify-content:space-between;gap:10px}.console-bool-point-top strong{font-size:11px;overflow-wrap:anywhere}.console-bool-point-top b{font-size:18px}.console-bool-point small{font-size:8px;color:var(--muted)}.console-point-error{color:#ffaaa8!important}.console-policy-note{margin:11px 0 0;color:var(--muted);font-size:9px}.console-telemetry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.console-telemetry-card{display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#0b1620;min-width:0}.console-telemetry-card-head{display:flex;justify-content:space-between;gap:8px}.console-telemetry-card-head span{font-size:9px;color:var(--muted);text-transform:uppercase;font-weight:800}.console-telemetry-card-head small{font-size:8px;color:#7f93a7}.console-telemetry-card>strong{font-size:20px;overflow-wrap:anywhere}.console-telemetry-card>b{font-size:9px;color:#b7c5d2;overflow-wrap:anywhere}.console-telemetry-card>small{font-size:8px;color:var(--muted)}.console-alert-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.console-event-list{display:grid}.console-event-row{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:11px 2px;border-top:1px solid var(--line)}.console-event-row:first-child{border-top:0}.console-event-marker{width:7px;height:7px;border-radius:50%;background:#718397;margin-top:5px}.console-event-row.normal .console-event-marker{background:var(--green)}.console-event-row.warning .console-event-marker{background:var(--amber)}.console-event-row.alarm .console-event-marker{background:var(--red)}.console-event-row strong{display:block;font-size:11px}.console-event-row p{margin:4px 0;color:#b6c5d3;font-size:9px;line-height:1.45}.console-event-row small{font-size:8px;color:var(--muted)}.console-device-counts{display:flex;gap:5px;flex-wrap:wrap}.console-maintenance-grid{margin-bottom:0}.empty.compact{padding:16px}.console-operations[data-api-state="stale"] .console-ops-tabs{border-color:#6e5026}
@media(max-width:1180px){.console-health-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}.console-health-wide{grid-column:span 1}.console-alert-layout{grid-template-columns:1fr}}
@media(max-width:760px){.console-ops-head{flex-direction:column}.console-ops-head-actions{justify-items:start;min-width:0}.console-authority-note{align-items:flex-start;flex-direction:column}.console-ops-tabs{position:relative}.console-health-grid,.console-bool-summary{grid-template-columns:1fr 1fr}.console-health-source small{margin-left:0}.console-bool-group-head{align-items:flex-start;flex-direction:column}.console-device-counts{margin-top:8px}}
@media(max-width:480px){.console-health-grid,.console-bool-summary{grid-template-columns:1fr}}

/* v0.3.5 Monitoring Metric/Status workspace: read-only Console dashboard information architecture */
.monitoring-data-tabs{margin-bottom:14px}.status-data-workspace{display:grid;gap:14px}.status-data-filter{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr)) auto;gap:10px;align-items:end}.status-data-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:9px}.status-data-summary-grid.point-summary{grid-template-columns:repeat(4,minmax(120px,1fr))}.status-data-summary-grid article{padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.status-data-summary-grid span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.05em}.status-data-summary-grid strong{display:block;margin-top:5px;font-size:22px}.status-data-summary-grid .normal strong{color:var(--green)}.status-data-summary-grid .warning strong{color:var(--amber)}.status-data-summary-grid .alarm strong{color:var(--red)}.status-data-summary-grid .unavailable strong{color:#8da0b2}.status-data-section-head{margin-top:2px}.status-data-refresh{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:9px}.status-console-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.status-console-card{display:grid;gap:11px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.status-console-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.status-console-head strong,.status-console-head small{display:block}.status-console-head small{margin-top:3px;color:var(--muted);font-size:9px}.status-console-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px}.status-console-meta span{padding:7px 8px;border-radius:8px;background:#0b1620;color:var(--muted);font-size:9px}.status-console-meta b{color:var(--text)}.status-plc-detail{margin:0}.status-plc-group{border:1px solid var(--line);border-radius:11px;background:#0b1620;overflow:hidden;margin-top:9px}.status-plc-group.state-alarm{border-color:rgba(255,107,107,.48)}.status-plc-group.state-normal{border-color:rgba(54,211,153,.28)}.status-plc-group-head{display:flex;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid var(--line)}.status-plc-group-head strong,.status-plc-group-head small{display:block}.status-plc-group-head small{margin-top:3px;color:var(--muted);font-size:9px}.status-plc-point-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:7px;padding:9px}.status-plc-point{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:9px;border:1px solid #223445;border-radius:9px;background:#101d29}.status-plc-point>div strong,.status-plc-point>div small{display:block}.status-plc-point>div small{margin-top:2px;color:var(--muted);font-size:8px}.status-plc-point>b{font-size:18px}.status-plc-point>span{grid-column:1/3;font-size:8px;color:var(--muted)}.status-plc-point.state-normal{border-left:3px solid var(--green)}.status-plc-point.state-alarm{border-left:3px solid var(--red)}.status-plc-point.state-unavailable,.status-plc-point.state-stale,.status-plc-point.state-offline,.status-plc-point.state-no_data,.status-plc-point.state-comm_error,.status-plc-point.state-bad_quality,.status-plc-point.state-invalid,.status-plc-point.state-disabled{border-left:3px solid #607487}@media(max-width:980px){.status-data-filter{grid-template-columns:1fr 1fr}.status-data-summary-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.status-data-filter,.status-data-summary-grid,.status-data-summary-grid.point-summary,.status-console-meta{grid-template-columns:1fr}.status-data-refresh{align-items:flex-start;flex-direction:column}}


/* v0.3.7 Console-parity multi-scope Metric Data dashboard */
.telemetry-page-head{align-items:flex-end}.telemetry-toolbar{display:flex;align-items:flex-end;justify-content:flex-end;gap:9px;flex-wrap:wrap}.telemetry-toolbar label{display:grid;gap:5px;color:var(--muted);font-size:11px;font-weight:800}.telemetry-toolbar select{min-width:110px}.telemetry-auto-refresh{display:inline-flex!important;grid-auto-flow:column;align-items:center;gap:7px!important;padding:0 10px;border:1px solid var(--line);border-radius:9px}.telemetry-auto-refresh input{width:16px;height:16px;margin:0}.telemetry-stat-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:14px}.telemetry-stat{min-width:0;min-height:100px;padding:14px 15px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--line);border-radius:13px;background:var(--panel);box-shadow:var(--shadow)}.telemetry-stat>span{color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.telemetry-stat strong{margin-top:6px;font-size:24px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.telemetry-stat small{margin-top:7px}.telemetry-stat.accent{border-color:rgba(238,143,53,.5);background:linear-gradient(135deg,rgba(238,143,53,.13),var(--panel))}.telemetry-stat-time{font-size:16px!important}.telemetry-semantic-strip{display:grid;grid-template-columns:1.25fr repeat(4,minmax(0,1fr));align-items:center;gap:10px;margin-bottom:18px;padding:11px 15px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}.telemetry-semantic-strip>div{min-width:0;display:flex;align-items:center;gap:8px}.telemetry-semantic-strip>div:not(:first-child){padding-left:10px;border-left:1px solid var(--line)}.telemetry-semantic-strip span{color:var(--muted);font-size:10px;font-weight:750;white-space:nowrap}.telemetry-semantic-strip code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telemetry-semantic-mark{display:inline-grid;place-items:center;width:38px;height:26px;border-radius:7px;background:#26384e;color:white!important;font-weight:900!important}.telemetry-workspace{display:grid;grid-template-columns:minmax(310px,360px) minmax(0,1fr);gap:18px;align-items:start}.telemetry-explorer{position:sticky;top:88px;max-height:calc(100vh - 108px);margin:0;padding:16px;overflow:hidden;display:flex;flex-direction:column}.telemetry-explorer-head,.telemetry-board-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.telemetry-explorer-head h2,.telemetry-board-head h2{margin:0;font-size:20px}.telemetry-search-label{margin:14px 0 6px;color:var(--muted);font-size:11px;font-weight:800}.telemetry-explorer-actions{display:flex;align-items:center;gap:9px;justify-content:space-between;padding:9px 0 11px;border-bottom:1px solid var(--line)}.telemetry-explorer-bulk-actions{display:flex;gap:6px;flex-wrap:wrap}.telemetry-explorer-actions span{color:var(--muted);font-size:10px;text-align:right}.telemetry-device-list{min-height:120px;margin:0 -5px 0 0;padding:10px 5px 2px 0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}.telemetry-device-group{margin-bottom:10px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--panel)}.telemetry-device-head{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px;background:var(--panel2);border-bottom:1px solid var(--line)}.telemetry-device-head>div{min-width:0}.telemetry-device-head strong,.telemetry-device-head span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telemetry-device-head strong{font-size:13px}.telemetry-device-head span{margin-top:2px;color:var(--muted);font-size:10px}.telemetry-device-metrics{display:grid}.telemetry-metric-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;padding:9px 10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);box-shadow:none;text-align:left}.telemetry-metric-row:last-child{border-bottom:0}.telemetry-metric-row:hover,.telemetry-metric-row.selected{background:rgba(238,143,53,.09)}.telemetry-metric-check{display:inline-grid;place-items:center;width:23px;height:23px;border:1px solid var(--line);border-radius:7px;background:var(--panel2);font-weight:900}.telemetry-metric-row.selected .telemetry-metric-check{border-color:var(--amber);background:var(--amber);color:white}.telemetry-metric-labels{min-width:0}.telemetry-metric-labels strong,.telemetry-metric-labels small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telemetry-metric-labels strong{font-size:12px}.telemetry-metric-labels small{max-width:220px;margin-top:2px;font-size:9px}.telemetry-metric-latest{padding-left:6px;font-size:11px;font-weight:850;white-space:nowrap}.telemetry-empty{padding:24px 12px;color:var(--muted);text-align:center}.telemetry-board{min-width:0}.telemetry-board-head{margin-bottom:12px}.telemetry-board-head p:not(.eyebrow){margin:4px 0 0;color:var(--muted);font-size:12px}.telemetry-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.telemetry-board-empty{grid-column:1/-1;min-height:250px;display:grid;place-content:center;justify-items:center;gap:7px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center}.telemetry-panel{min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:var(--shadow);overflow:hidden}.telemetry-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 15px 0}.telemetry-panel-head>div{min-width:0}.telemetry-panel-head span{display:block;color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.telemetry-panel-head h3{margin:3px 0 0;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.telemetry-panel-remove{width:29px;height:29px;min-height:0;padding:0;border-radius:8px;background:var(--panel2);color:var(--muted)}.telemetry-current{display:flex;align-items:baseline;gap:7px;padding:8px 15px 0}.telemetry-current strong{font-size:clamp(27px,2.8vw,38px);line-height:1}.telemetry-current span{font-size:13px;font-weight:800}.telemetry-panel-context{min-height:30px;display:flex;align-items:center;gap:8px;padding:8px 15px 4px;color:var(--muted);font-size:10px}.telemetry-overlay-toggle{display:inline-flex;align-items:center;gap:4px}.telemetry-chart{position:relative;height:205px;margin:0 9px;overflow:hidden}.telemetry-chart-svg{display:block;width:100%;height:175px;overflow:visible}.telemetry-chart-gridline{stroke:rgba(128,145,165,.22);stroke-width:1;vector-effect:non-scaling-stroke}.telemetry-chart-line{fill:none;stroke:var(--amber);stroke-width:2.3;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.telemetry-chart-range-line{fill:none;stroke:var(--amber);stroke-width:1;stroke-dasharray:3 3;opacity:.28;vector-effect:non-scaling-stroke}.telemetry-chart-point{fill:var(--amber)}.telemetry-chart-empty{height:175px;display:grid;place-items:center;color:var(--muted);font-size:11px}.telemetry-chart-axis{position:absolute;left:9px;right:9px;bottom:3px;display:flex;align-items:center;justify-content:space-between;gap:7px;color:var(--muted);font-size:9px}.telemetry-panel-foot{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;padding:10px 15px 13px;border-top:1px solid var(--line);background:var(--panel2)}.telemetry-panel-foot code,.telemetry-panel-foot small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telemetry-panel-foot code{font-size:9px}.telemetry-panel-foot small{margin-top:3px;font-size:9px}.telemetry-overlay-card{margin:0 0 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:var(--shadow);overflow:hidden}.telemetry-overlay-head{display:flex;justify-content:space-between;gap:12px;padding:15px 16px 8px}.telemetry-overlay-head h2{margin:0}.telemetry-overlay-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.telemetry-overlay-head-status{display:flex;gap:6px;align-items:flex-start}.telemetry-overlay-tabbar{display:flex;gap:7px;align-items:center;padding:8px 15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow-x:auto}.telemetry-overlay-tabs{display:flex;gap:6px;flex:1}.telemetry-overlay-tab{white-space:nowrap;background:var(--panel2);color:var(--muted)}.telemetry-overlay-tab.active{background:var(--amber);color:white;border-color:var(--amber)}.telemetry-overlay-legend{display:flex;gap:8px;flex-wrap:wrap;padding:10px 15px 0}.telemetry-overlay-legend-item{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.telemetry-overlay-legend-item i{width:8px;height:8px;border-radius:50%}.telemetry-overlay-chart{height:330px;padding:5px 10px 10px}.telemetry-overlay-svg{display:block;width:100%;height:100%}.telemetry-overlay-range-line{fill:none;stroke-width:1;stroke-dasharray:3 3;opacity:.22;vector-effect:non-scaling-stroke}.telemetry-wall-range-line{stroke-width:1;stroke-dasharray:3 3;opacity:.22;vector-effect:non-scaling-stroke}.telemetry-wall-scale-note{margin-top:-26px;padding:4px 8px;color:#8fa3b7;font-size:9px;font-weight:800;letter-spacing:.04em;position:relative;z-index:2;text-align:right;pointer-events:none}.telemetry-wall-overlay{position:fixed;inset:0;z-index:1000;background:#070b11}.telemetry-wall-overlay-toolbar{height:54px;display:grid;grid-template-columns:auto 1fr auto auto auto;gap:8px;align-items:center;padding:8px 12px;background:#101722;border-bottom:1px solid #243244;color:#e9eef5}.telemetry-wall-overlay iframe{width:100%;height:calc(100vh - 54px);border:0}.telemetry-wall-body{margin:0;background:#091019;color:#ecf3fb}.telemetry-wall-page{padding:16px}.telemetry-wall-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.telemetry-wall-head h1{margin:0}.telemetry-wall-main-chart{height:340px;border:1px solid #26364a;border-radius:14px;background:#0e1722;margin-bottom:14px;padding:8px}.telemetry-wall-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.telemetry-wall-card{border:1px solid #26364a;border-radius:12px;background:#0e1722;overflow:hidden}.telemetry-wall-card header{display:flex;justify-content:space-between;gap:10px;padding:12px}.telemetry-wall-card header strong,.telemetry-wall-card header span{display:block}.telemetry-wall-card header span{color:#8fa3b7;font-size:9px}.telemetry-wall-card header b{font-size:20px;white-space:nowrap}.telemetry-wall-card .telemetry-chart{height:180px}.telemetry-wall-card .telemetry-chart-svg{height:155px}@media(max-width:1500px){.telemetry-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.telemetry-workspace{grid-template-columns:1fr}.telemetry-explorer{position:relative;top:auto;max-height:none}.telemetry-panel-grid{grid-template-columns:1fr}.telemetry-wall-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.telemetry-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.telemetry-semantic-strip{grid-template-columns:1fr}.telemetry-semantic-strip>div:not(:first-child){border-left:0;padding-left:0}.telemetry-wall-grid{grid-template-columns:1fr}}
/* v0.4.0 TELEMETRY_RESPONSIVE_UX_R1 */
.telemetry-content-wide{max-width:none!important;margin:0!important;padding-left:28px!important;padding-right:28px!important}
.telemetry-dashboard{width:100%;max-width:none}
.telemetry-workspace{grid-template-columns:minmax(340px,380px) minmax(0,1fr)}
.telemetry-console-group{margin-bottom:13px;border:1px solid #32475b;border-radius:13px;background:#0c1722;overflow:hidden}
.telemetry-console-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid #32475b;background:#132230}
.telemetry-console-head>div{min-width:0}.telemetry-console-head strong,.telemetry-console-head small,.telemetry-console-kicker{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.telemetry-console-kicker{margin-bottom:2px;color:var(--amber);font-size:8px;font-weight:900;letter-spacing:.12em}.telemetry-console-head strong{font-size:12px}.telemetry-console-head small{margin-top:2px;color:var(--muted);font-size:9px}
.telemetry-console-devices{padding:8px}.telemetry-console-devices .telemetry-device-group{margin-bottom:8px}.telemetry-console-devices .telemetry-device-group:last-child{margin-bottom:0}
.telemetry-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.telemetry-panel.no-data .telemetry-chart{height:82px}.telemetry-panel.no-data .telemetry-chart-empty{height:64px}.telemetry-panel.no-data .telemetry-current strong{font-size:27px}
.telemetry-overlay-legend{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px 12px;max-height:118px;overflow:auto;padding:10px 15px;scrollbar-gutter:stable;border-bottom:1px solid var(--line-soft)}
.telemetry-overlay-legend-item{min-width:0;padding:4px 0}.telemetry-overlay-legend-item span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telemetry-overlay-swatch{display:inline-block;flex:0 0 12px;width:12px;height:3px;border-radius:999px}
.telemetry-overlay-line{fill:none;stroke-width:1.85;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.92}
.telemetry-overlay-threshold{stroke-width:1;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}.telemetry-overlay-point{vector-effect:non-scaling-stroke}
.telemetry-overlay-axis-text{fill:#90a2b6;font-size:10px;font-weight:700}
@media(min-width:1700px){.telemetry-panel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.telemetry-chart{height:190px}.telemetry-chart-svg{height:160px}}
@media(min-width:2400px){.telemetry-panel-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.telemetry-workspace{grid-template-columns:minmax(350px,390px) minmax(0,1fr)}.telemetry-overlay-chart{height:380px}}
@media(max-width:1100px){.telemetry-content-wide{padding-left:22px!important;padding-right:22px!important}.telemetry-workspace{grid-template-columns:1fr}.telemetry-panel-grid{grid-template-columns:1fr}}
/* v0.4.0 REMOTE_LIVE_ON_DEMAND_R1 */
.camera-on-demand-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#0c1722}.camera-live-state{color:var(--muted);font-size:10px;font-weight:800}.camera-live-toggle{white-space:nowrap}
.camera-channel{position:relative;min-height:120px;background:#05090d}.camera-live-placeholder{display:grid;place-items:center;min-height:150px;color:#71859a;font-size:10px;font-weight:800;letter-spacing:.04em;background:radial-gradient(circle at 50% 40%,#132333,#070c12 70%)}.camera-channel iframe[hidden]{display:none!important}
\n\n/* v0.4.0 R15 global Dark/Bright theme. Dark is the compatibility default. */\n.theme-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:rgba(0,0,0,.16);margin-bottom:12px}.theme-switch button{padding:7px 8px;border-radius:7px;background:transparent;color:var(--muted);font-size:10px;letter-spacing:.03em}.theme-switch button.on,.theme-switch button[aria-pressed="true"]{background:var(--panel2);color:var(--text);box-shadow:inset 0 0 0 1px var(--line)}.theme-switch.compact{display:inline-grid;grid-template-columns:auto auto;width:max-content;margin:0 0 16px auto}.theme-switch.compact button{min-width:62px}.telemetry-wall-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.telemetry-wall-actions .theme-switch{margin:0 4px 0 0}\nhtml[data-theme="bright"]{color-scheme:light;--bg:#f4f7fb;--panel:#ffffff;--panel2:#eef3f7;--line:#d5dee7;--text:#17232d;--muted:#607181;--amber:#e8741a;--green:#157a58;--red:#c34040;--blue:#176db5}\nhtml[data-theme="bright"] body{background:var(--bg);color:var(--text)}\nhtml[data-theme="bright"] .sidebar{background:#ffffff}\nhtml[data-theme="bright"] .sidebar nav a{color:#344554}html[data-theme="bright"] .sidebar nav a:hover,html[data-theme="bright"] .sidebar nav a.current{background:#edf3f8;color:#17232d}\nhtml[data-theme="bright"] label,html[data-theme="bright"] .chips span,html[data-theme="bright"] .ghost,html[data-theme="bright"] .console-health-source b,html[data-theme="bright"] .console-telemetry-card>b,html[data-theme="bright"] .console-event-row p{color:#415363}\nhtml[data-theme="bright"] input,html[data-theme="bright"] select,html[data-theme="bright"] textarea,html[data-theme="bright"] .secret-box,html[data-theme="bright"] .console-bool-summary>div,html[data-theme="bright"] .console-bool-group,html[data-theme="bright"] .console-telemetry-card,html[data-theme="bright"] .console-health-card,html[data-theme="bright"] .console-bool-point{background:#ffffff;border-color:var(--line);color:var(--text)}\nhtml[data-theme="bright"] .ghost,html[data-theme="bright"] .small-btn.quiet,html[data-theme="bright"] .icon-btn,html[data-theme="bright"] .ghost-btn{background:#edf2f6;color:#334655}\nhtml[data-theme="bright"] .login-body{background:radial-gradient(circle at 60% 0,#ffffff 0,#eef3f8 46%,#e8eef5 100%)}html[data-theme="bright"] .login-card{background:#ffffff;box-shadow:0 28px 72px rgba(37,55,73,.14)}\nhtml[data-theme="bright"] .pill{background:#fff0e3;color:#a34e0c}html[data-theme="bright"] .status.ok,html[data-theme="bright"] .success-box{background:#e5f6ef;color:#146648;border-color:#b9e4d4}html[data-theme="bright"] .status.off,html[data-theme="bright"] .error-box{background:#fdebec;color:#9f3438;border-color:#f1c7c9}html[data-theme="bright"] .notice{background:#eaf3fc;border-color:#c6dcf0;color:#245d8d}html[data-theme="bright"] .warn{background:#fff4df;border-color:#ecd4a7;color:#8a5a13}\nhtml[data-theme="bright"] .step-strip span{background:#eef3f7}html[data-theme="bright"] .step-strip span.current{background:#fff0e3;color:#9f510f}html[data-theme="bright"] .step-strip span.done{background:#e5f6ef;color:#146648}\nhtml[data-theme="bright"] .report-row,html[data-theme="bright"] .report-summary-card,html[data-theme="bright"] .session-row,html[data-theme="bright"] .finding-detail-grid,html[data-theme="bright"] .evidence-box,html[data-theme="bright"] .period-preview,html[data-theme="bright"] .readiness-panel,html[data-theme="bright"] .report-mini-chart,html[data-theme="bright"] .site-card,html[data-theme="bright"] .site-list-row,html[data-theme="bright"] .workspace-dialog,html[data-theme="bright"] .time-context,html[data-theme="bright"] .grid-column-menu{background:#ffffff;border-color:var(--line);color:var(--text)}\nhtml[data-theme="bright"] .tabs a.current,html[data-theme="bright"] .lang-switch a.on,html[data-theme="bright"] .view-switch button[aria-pressed="true"],html[data-theme="bright"] .workflow-tabs a.current{background:#eaf1f7;color:#17232d}\nhtml[data-theme="bright"] .chart-wrap,html[data-theme="bright"] .telemetry-chart-wrap,html[data-theme="bright"] .telemetry-dashboard-panel,html[data-theme="bright"] .telemetry-overlay-chart,html[data-theme="bright"] .telemetry-wall-main-chart,html[data-theme="bright"] .telemetry-wall-card,html[data-theme="bright"] .telemetry-wall-group{background:#ffffff;border-color:var(--line)}\nhtml[data-theme="bright"] .telemetry-wall-body{background:#eef3f8}html[data-theme="bright"] .telemetry-wall-head{background:rgba(255,255,255,.94);border-color:var(--line)}html[data-theme="bright"] .telemetry-wall-card-head,html[data-theme="bright"] .telemetry-wall-group-head{background:#f5f8fb;border-color:var(--line)}\nhtml[data-theme="bright"] .telemetry-chart-grid,html[data-theme="bright"] .telemetry-overlay-grid,html[data-theme="bright"] .telemetry-wall-grid-line{stroke:var(--line)!important}html[data-theme="bright"] .telemetry-chart-axis,html[data-theme="bright"] .telemetry-overlay-axis,html[data-theme="bright"] .telemetry-wall-axis{fill:var(--muted)!important}\nhtml[data-theme="bright"] .console-bool-state{background:#e9eef3;color:#526779}html[data-theme="bright"] .console-bool-state.normal{background:#e5f6ef;color:#146648}html[data-theme="bright"] .console-bool-state.alarm{background:#fdebec;color:#9f3438}html[data-theme="bright"] .console-bool-state.warning{background:#fff4df;color:#8a5a13}html[data-theme="bright"] .console-bool-state.unavailable{background:#edf1f4;color:#526779}\nhtml[data-theme="bright"] .console-event-marker{background:#8293a2}html[data-theme="bright"] .theme-switch{background:#f3f6f9}html[data-theme="bright"] .theme-switch button.on,html[data-theme="bright"] .theme-switch button[aria-pressed="true"]{background:#ffffff}\nhtml[data-theme="bright"] .workspace-bar{background:rgba(255,255,255,.94);border-color:var(--line)}html[data-theme="bright"] .workspace-crumb strong,html[data-theme="bright"] .panel code,html[data-theme="bright"] .secret-box code{color:#a85312}\n/* Video surfaces deliberately remain dark for image/video contrast in both themes. */\n

/* v0.4.1 DUAL_THEME_READABILITY_TRILINGUAL_UNIT_GEOMETRY_R1
   Text containers are content-driven; bright theme explicitly overrides legacy dark-only surfaces. */
:root{
  --ui-link:#9ecbff;--ui-secondary:#b9c7d3;--ui-success-fg:#72e3b6;--ui-warning-fg:#ffd39d;--ui-danger-fg:#ffb1b1;--ui-neutral-fg:#c9d6e2;
}
/* Text-sized capsules/buttons: no inherited grid stretch and no fixed vertical box. */
.status,.pill,.readiness-status,.workflow-pill,.console-freshness-badge,.console-bool-state,.plane-status span,.small-btn,.theme-switch button,.count-badge{
  display:inline-flex;align-items:center;justify-content:center;align-self:start;width:max-content;max-width:100%;height:auto;min-height:0;line-height:1.2;vertical-align:middle;box-sizing:border-box;
}
.status,.pill,.readiness-status,.workflow-pill,.console-freshness-badge,.console-bool-state,.plane-status span,.count-badge{white-space:normal;overflow-wrap:anywhere}
.count-badge{min-width:0;padding:8px 11px;justify-self:end}
.small-btn,.theme-switch button{white-space:normal;text-align:center}
/* Site cards no longer reserve empty vertical space below short translated text. */
.workspace-site-grid,.site-grid{align-items:start}
.workspace-site-card,.site-view-card .site-card{min-height:0;height:max-content;align-self:start}
.site-card-footer{margin-top:2px;flex-wrap:wrap;align-items:center}
.site-card-head,.site-card-title-row,.site-card-actions{align-items:flex-start}
.telemetry-panel-context,.console-health-card>small{min-height:0}
/* Dark theme readability: keep intended palette but use one consistent readable secondary foreground. */
label,.flow-hint,.finding-card p,.site-actions summary,.grid-columns summary,.report-summary-text,.danger-zone ul,.console-authority-note p,.console-health-card-head b,.console-telemetry-card-head small,.console-telemetry-card>b,.console-event-row p{color:var(--ui-secondary)}
.back,.card-link{color:var(--ui-link)}
.status-normal{color:var(--ui-success-fg)}.status-minor,.status-attention{color:var(--ui-warning-fg)}.status-critical{color:var(--ui-danger-fg)}.status-insufficient_data,.readiness-status,.workflow-pill{color:var(--ui-neutral-fg)}
/* Bright theme semantic foregrounds are AA-readable on their light surfaces. */
html[data-theme="bright"]{--ui-link:#0b5f9e;--ui-secondary:#415363;--ui-success-fg:#146648;--ui-warning-fg:#76500d;--ui-danger-fg:#9f3438;--ui-neutral-fg:#415363}
html[data-theme="bright"] .back,html[data-theme="bright"] .card-link{color:var(--ui-link)}
html[data-theme="bright"] .auth-switch a,html[data-theme="bright"] .enrollment-code{color:#8a4c0e}
html[data-theme="bright"] .flow-hint,html[data-theme="bright"] .check-grid label,html[data-theme="bright"] .grid-columns summary,html[data-theme="bright"] .site-card-stats>div,html[data-theme="bright"] .console-card-metrics>div,html[data-theme="bright"] .finding-detail-grid>div,html[data-theme="bright"] .resource-now-list a,html[data-theme="bright"] .console-ops-identity span,html[data-theme="bright"] .console-device-counts span,html[data-theme="bright"] .console-overall-status,html[data-theme="bright"] .status-console-meta span,html[data-theme="bright"] .status-plc-group,html[data-theme="bright"] .status-plc-point{background:#f7f9fb;border-color:var(--line);color:var(--text)}
html[data-theme="bright"] .status-normal{background:#e5f6ef;color:#146648}html[data-theme="bright"] .status-minor{background:#fff8db;color:#6c5500}html[data-theme="bright"] .status-attention{background:#fff0df;color:#8a4c0e}html[data-theme="bright"] .status-critical{background:#fdebec;color:#9f3438}html[data-theme="bright"] .status-insufficient_data,html[data-theme="bright"] .readiness-status,html[data-theme="bright"] .workflow-pill{background:#edf2f6;color:#415363}
html[data-theme="bright"] .count-badge{background:#e5f6ef;color:#146648}
html[data-theme="bright"] .enrollment-reveal{background:linear-gradient(135deg,#f8fafc,#fff4e9);border-color:#e2c9ad}html[data-theme="bright"] .enrollment-code{background:#fff;border-color:#e0c8ad}
html[data-theme="bright"] .video-modes button.current{background:#e4edf5;color:#17324a;border-color:#b8cbdc}
html[data-theme="bright"] .finding-main:hover,html[data-theme="bright"] .site-list-row:hover,html[data-theme="bright"] .console-ops-tabs a:hover{background:#edf3f8}
html[data-theme="bright"] .ops-overview{background:linear-gradient(135deg,#ffffff,#f1f5f8);border-color:var(--line)}
html[data-theme="bright"] .plane-status span{background:#edf2f6;color:#415363}
html[data-theme="bright"] .rank-index,html[data-theme="bright"] .action-index{background:#e8eef4;color:#334c60}
html[data-theme="bright"] .site-list-head{background:#eef3f7;color:#526779}
html[data-theme="bright"] .console-freshness-badge{background:#edf2f6;color:#415363}html[data-theme="bright"] .console-freshness-badge[data-freshness-state="LIVE"]{background:#e5f6ef;color:#146648;border-color:#b9e4d4}html[data-theme="bright"] .console-freshness-badge[data-freshness-state="STALE"]{background:#fff4df;color:#76500d;border-color:#ecd4a7}html[data-theme="bright"] .console-freshness-badge[data-freshness-state="OFFLINE"]{background:#fdebec;color:#9f3438;border-color:#f1c7c9}
html[data-theme="bright"] .console-health-meter{background:#dde6ee}
html[data-theme="bright"] .telemetry-semantic-mark{background:#e8eef4;color:#334c60}
html[data-theme="bright"] .telemetry-console-group{background:#fff;border-color:var(--line)}html[data-theme="bright"] .telemetry-console-head{background:#f5f8fb;border-color:var(--line)}
/* Preserve intentionally dark video/camera canvases in both themes; only their surrounding text/control surfaces are themed. */
@media(max-width:900px){.status,.pill,.readiness-status,.workflow-pill,.console-freshness-badge,.count-badge{max-width:100%}.site-card-footer{align-items:flex-start}}
/* v0.4.1 bright-theme legacy foreground completion. */
html[data-theme="bright"] .chart-legend span,html[data-theme="bright"] .workspace-scope-form label span,html[data-theme="bright"] .breadcrumb,html[data-theme="bright"] .section-kicker,html[data-theme="bright"] .telemetry-wall-scale-note,html[data-theme="bright"] .telemetry-wall-card header span{color:#526779}
html[data-theme="bright"] .camera-detail-link{color:#0b5f9e}
html[data-theme="bright"] .media-evidence-icon{background:#fff0df;color:#8a4c0e}
html[data-theme="bright"] .danger-outline{color:#9f3438!important;border-color:#d99a9e!important}
html[data-theme="bright"] .workflow-tabs a b{color:#334c60}
html[data-theme="bright"] .workflow-tabs a.current b{color:#17232d}
html[data-theme="bright"] .console-health-card.warning .console-health-card-head b{color:#76500d}
html[data-theme="bright"] .console-health-card.alarm .console-health-card-head b,html[data-theme="bright"] .console-point-error{color:#9f3438!important}
html[data-theme="bright"] .console-bool-summary .unavailable strong,html[data-theme="bright"] .status-data-summary-grid .unavailable strong{color:#526779}

/* v0.4.1 final AA completion: neutral BOOL state pills must remain >= WCAG AA 4.5:1. */
html[data-theme="bright"] .console-bool-state{background:#e9eef3;color:#526779}
html[data-theme="bright"] .console-bool-state.unavailable{background:#edf1f4;color:#526779}


/* v0.4.4 METRIC_PRESENTATION_CONSOLE_PARITY_R1 — operator-facing metric labels + graph geometry */
.telemetry-presentation-strip strong{font-size:11px;overflow-wrap:anywhere}.telemetry-presentation-note{display:flex;gap:10px;align-items:flex-start;margin:-4px 0 14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);font-size:12px;line-height:1.45}.telemetry-presentation-note strong{flex:0 0 auto;color:var(--amber)}.telemetry-presentation-note span{min-width:0;color:var(--muted);overflow-wrap:anywhere}.telemetry-analysis-filter{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(180px,1.2fr) minmax(130px,.7fr) auto;gap:10px 12px;align-items:end}.telemetry-analysis-filter label,.telemetry-analysis-filter .form-action{min-width:0;margin:0}.telemetry-analysis-filter select,.telemetry-analysis-filter input{width:100%;min-width:0}.telemetry-analysis-filter .custom-range-fields{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;min-width:0}.telemetry-analysis-heading{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}.telemetry-analysis-heading>div{display:grid;gap:3px;min-width:220px;max-width:100%;padding:10px 12px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.telemetry-analysis-heading span,.telemetry-analysis-heading small{font-size:11px;color:var(--muted)}.telemetry-analysis-heading strong{font-size:14px;overflow-wrap:anywhere}.telemetry-kpis .metric-card b em{font-size:.55em;font-style:normal;font-weight:700;color:var(--muted)}.telemetry-friendly-cell{display:grid;gap:3px;min-width:0;max-width:100%}.telemetry-friendly-cell strong,.telemetry-friendly-cell b,.telemetry-friendly-cell span,.telemetry-friendly-cell small{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}.telemetry-friendly-cell small{color:var(--muted);font-size:10px}.telemetry-technical-id{font:500 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);overflow-wrap:anywhere;white-space:normal}.telemetry-value-nowrap{white-space:nowrap}.telemetry-friendly-ranking>div{grid-template-columns:auto minmax(0,1fr) minmax(110px,auto)}.telemetry-friendly-ranking>div>strong{text-align:right;white-space:nowrap}.telemetry-friendly-table table{table-layout:auto;min-width:880px}.telemetry-friendly-table td:nth-child(3),.telemetry-friendly-table td:nth-child(4){white-space:normal;min-width:170px;max-width:300px}.telemetry-analysis-chart-panel{min-width:0;overflow:hidden}.telemetry-analysis-chart-panel .section-head{align-items:flex-start;flex-wrap:wrap}.telemetry-analysis-chart-panel .section-head>div:first-child{min-width:180px;max-width:100%}.telemetry-analysis-chart-wrap{position:relative;width:100%;max-width:100%;min-width:0;overflow:hidden;padding:6px 8px 0}.telemetry-analysis-chart-wrap canvas{display:block;width:100%;max-width:100%;height:360px}.telemetry-analysis-chart-wrap .chart-empty{position:absolute;inset:0;display:grid;place-items:center}.chart-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 10px;min-width:0;max-width:min(100%,720px)}.chart-legend span{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:260px;font-size:10px;color:var(--muted)}.chart-legend span>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend i{width:8px;height:8px;border-radius:50%;flex:0 0 8px}.telemetry-panel-foot{grid-template-columns:repeat(2,minmax(0,1fr))}.telemetry-friendly-foot{display:grid;gap:3px;min-width:0}.telemetry-friendly-foot strong,.telemetry-friendly-foot small{min-width:0;overflow-wrap:anywhere;white-space:normal}.telemetry-friendly-foot small{color:var(--muted);font-size:9px}
@media(max-width:1200px){.telemetry-analysis-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.telemetry-analysis-filter .custom-range-fields{grid-column:1/-1}.telemetry-analysis-filter .form-action{grid-column:1/-1}.telemetry-analysis-filter .form-action button{width:100%}.chart-legend{justify-content:flex-start;max-width:100%}}
@media(max-width:720px){.telemetry-analysis-filter{grid-template-columns:1fr}.telemetry-analysis-filter .custom-range-fields{grid-template-columns:1fr;grid-column:1}.telemetry-analysis-filter .span-2{grid-column:1}.telemetry-analysis-heading>div{width:100%;min-width:0}.telemetry-analysis-chart-wrap{padding-left:2px;padding-right:2px}.telemetry-analysis-chart-wrap canvas{height:320px}.telemetry-friendly-ranking>div{grid-template-columns:auto minmax(0,1fr)}.telemetry-friendly-ranking>div>strong{grid-column:2;text-align:left}.telemetry-panel-foot{grid-template-columns:1fr}}

/* v0.4.5 TELEMETRY_ANALYSIS_GRAPH_VISUAL_ARTIFACT_GUARD_R1 */
.telemetry-analysis-chart-wrap .chart-empty[hidden]{display:none!important}

/* v0.4.8 BRIGHT_THEME_CONSOLE_PALETTE_PARITY_R1
   Bright-only color parity with Amber Console 0.12.4.
   COLOR ONLY: no layout, spacing, sizing, radius, typography, DOM, or chart geometry changes. */
html[data-theme="bright"]{
  color-scheme:light;
  --bg:#eef2f6;
  --panel:#ffffff;
  --panel2:#f7f9fb;
  --line:#d7dee7;
  --text:#18212f;
  --muted:#5d6c7f;
  --amber:#b95714;
  --green:#177f50;
  --red:#bd3434;
  --blue:#205fa7;
  --console-ink-soft:#4b5a6e;
  --console-nav:#172131;
  --console-nav-2:#213149;
  --console-accent-dark:#a84a0d;
  --console-accent-soft:#fff0e4;
  --console-success-soft:#e6f5ee;
  --console-danger-soft:#fdeaea;
  --console-warning:#8c6500;
  --console-warning-soft:#fff5cf;
  --console-secondary-bg:#edf1f5;
  --console-secondary-text:#334256;
  --console-secondary-line:#d5dce5;
  --console-chart-grid:#dfe4e8;
}
html[data-theme="bright"] body{background:#eef2f6;color:#18212f}
html[data-theme="bright"] .sidebar{background:#172131;border-color:#243348;color:#d8e0eb}
html[data-theme="bright"] .sidebar .brand strong{color:#ffffff}
html[data-theme="bright"] .sidebar .brand span{color:#aebbd0}
html[data-theme="bright"] .sidebar nav a{color:#bfcbdc}
html[data-theme="bright"] .sidebar nav a span{color:#8fa3bd}
html[data-theme="bright"] .sidebar .nav-group>span{color:#8fa3bd}
html[data-theme="bright"] .sidebar nav a:hover{background:#213149;color:#ffffff}
html[data-theme="bright"] .sidebar nav a.current{background:#2b3d57;color:#ffffff;border-left-color:#b95714}
html[data-theme="bright"] .sidebar .side-foot{color:#8191a8;border-color:rgba(255,255,255,.07)}
html[data-theme="bright"] .sidebar .theme-switch{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.14)}
html[data-theme="bright"] .sidebar .theme-switch button{background:transparent;color:#bac6d7}
html[data-theme="bright"] .sidebar .theme-switch button.on,html[data-theme="bright"] .sidebar .theme-switch button[aria-pressed="true"]{background:#ffffff;color:#172131}
html[data-theme="bright"] .brand:not(.sidebar .brand) span,html[data-theme="bright"] .page-head p,html[data-theme="bright"] .muted,html[data-theme="bright"] small{color:#5d6c7f}
html[data-theme="bright"] label,html[data-theme="bright"] .chips span,html[data-theme="bright"] .console-health-source b,html[data-theme="bright"] .console-telemetry-card>b,html[data-theme="bright"] .console-event-row p{color:#4b5a6e}
html[data-theme="bright"] input,html[data-theme="bright"] select,html[data-theme="bright"] textarea,html[data-theme="bright"] .secret-box{background:#ffffff;border-color:#bfc9d6;color:#18212f}
html[data-theme="bright"] input:hover,html[data-theme="bright"] select:hover,html[data-theme="bright"] textarea:hover{border-color:#9cabbc}
html[data-theme="bright"] input:focus,html[data-theme="bright"] select:focus,html[data-theme="bright"] textarea:focus{border-color:#d6722a;box-shadow:0 0 0 3px rgba(230,128,50,.15)}
html[data-theme="bright"] button,html[data-theme="bright"] .small-btn{background:#b95714;color:#ffffff}
html[data-theme="bright"] button:hover,html[data-theme="bright"] .small-btn:hover{background:#a84a0d;color:#ffffff}
html[data-theme="bright"] .ghost,html[data-theme="bright"] .small-btn.quiet,html[data-theme="bright"] .icon-btn,html[data-theme="bright"] .ghost-btn{background:#edf1f5;color:#334256;border-color:#d5dce5}
html[data-theme="bright"] .ghost:hover,html[data-theme="bright"] .small-btn.quiet:hover,html[data-theme="bright"] .icon-btn:hover,html[data-theme="bright"] .ghost-btn:hover{background:#e2e8ef;color:#334256}
html[data-theme="bright"] .back,html[data-theme="bright"] .card-link,html[data-theme="bright"] .camera-detail-link{color:#205fa7}
html[data-theme="bright"] .workspace-crumb strong,html[data-theme="bright"] .panel code,html[data-theme="bright"] .secret-box code,html[data-theme="bright"] .eyebrow{color:#a84a0d}
html[data-theme="bright"] .pill,html[data-theme="bright"] .step-strip span.current,html[data-theme="bright"] .media-evidence-icon{background:#fff0e4;color:#9b4600;border-color:#efd6c3}
html[data-theme="bright"] .status.ok,html[data-theme="bright"] .success-box,html[data-theme="bright"] .status-normal,html[data-theme="bright"] .count-badge,html[data-theme="bright"] .console-bool-state.normal,html[data-theme="bright"] .console-freshness-badge[data-freshness-state="LIVE"]{background:#e6f5ee;color:#12643f;border-color:#b9dfce}
html[data-theme="bright"] .status.off,html[data-theme="bright"] .error-box,html[data-theme="bright"] .status-critical,html[data-theme="bright"] .console-bool-state.alarm,html[data-theme="bright"] .console-freshness-badge[data-freshness-state="OFFLINE"]{background:#fdeaea;color:#902828;border-color:#efc3c3}
html[data-theme="bright"] .warn,html[data-theme="bright"] .status-minor,html[data-theme="bright"] .status-attention,html[data-theme="bright"] .console-bool-state.warning,html[data-theme="bright"] .console-freshness-badge[data-freshness-state="STALE"]{background:#fff5cf;color:#684b00;border-color:#e5cf7b}
html[data-theme="bright"] .notice{background:#f7f9fb;color:#205fa7;border-color:#d7dee7}
html[data-theme="bright"] .status-insufficient_data,html[data-theme="bright"] .readiness-status,html[data-theme="bright"] .workflow-pill,html[data-theme="bright"] .plane-status span,html[data-theme="bright"] .console-freshness-badge,html[data-theme="bright"] .console-bool-state,html[data-theme="bright"] .console-bool-state.unavailable{background:#edf1f5;color:#526174;border-color:#d5dce5}
html[data-theme="bright"] .report-row,html[data-theme="bright"] .report-summary-card,html[data-theme="bright"] .session-row,html[data-theme="bright"] .finding-detail-grid,html[data-theme="bright"] .evidence-box,html[data-theme="bright"] .period-preview,html[data-theme="bright"] .readiness-panel,html[data-theme="bright"] .report-mini-chart,html[data-theme="bright"] .site-card,html[data-theme="bright"] .site-list-row,html[data-theme="bright"] .workspace-dialog,html[data-theme="bright"] .time-context,html[data-theme="bright"] .grid-column-menu,html[data-theme="bright"] .console-bool-summary>div,html[data-theme="bright"] .console-bool-group,html[data-theme="bright"] .console-telemetry-card,html[data-theme="bright"] .console-health-card,html[data-theme="bright"] .console-bool-point{background:#ffffff;border-color:#d7dee7;color:#18212f}
html[data-theme="bright"] .site-card-stats>div,html[data-theme="bright"] .console-card-metrics>div,html[data-theme="bright"] .finding-detail-grid>div,html[data-theme="bright"] .resource-now-list a,html[data-theme="bright"] .console-ops-identity span,html[data-theme="bright"] .console-device-counts span,html[data-theme="bright"] .console-overall-status,html[data-theme="bright"] .status-console-meta span,html[data-theme="bright"] .status-plc-group,html[data-theme="bright"] .status-plc-point{background:#f7f9fb;border-color:#d7dee7;color:#18212f}
html[data-theme="bright"] .tabs a.current,html[data-theme="bright"] .lang-switch a.on,html[data-theme="bright"] .view-switch button[aria-pressed="true"],html[data-theme="bright"] .workflow-tabs a.current{background:#edf1f5;color:#18212f;border-color:#d5dce5}
html[data-theme="bright"] .chart-wrap,html[data-theme="bright"] .telemetry-chart-wrap,html[data-theme="bright"] .telemetry-dashboard-panel,html[data-theme="bright"] .telemetry-overlay-chart,html[data-theme="bright"] .telemetry-wall-main-chart,html[data-theme="bright"] .telemetry-wall-card,html[data-theme="bright"] .telemetry-wall-group,html[data-theme="bright"] .telemetry-console-group{background:#ffffff;border-color:#d7dee7}
html[data-theme="bright"] .telemetry-wall-body{background:#eef2f6}
html[data-theme="bright"] .telemetry-wall-head,html[data-theme="bright"] .workspace-bar{background:rgba(255,255,255,.94);border-color:#d7dee7}
html[data-theme="bright"] .telemetry-wall-card-head,html[data-theme="bright"] .telemetry-wall-group-head,html[data-theme="bright"] .telemetry-console-head,html[data-theme="bright"] .site-list-head{background:#f7f9fb;border-color:#d7dee7;color:#526174}
html[data-theme="bright"] .telemetry-chart-grid,html[data-theme="bright"] .telemetry-overlay-grid,html[data-theme="bright"] .telemetry-wall-grid-line{stroke:#dfe4e8!important}
html[data-theme="bright"] .telemetry-chart-axis,html[data-theme="bright"] .telemetry-overlay-axis,html[data-theme="bright"] .telemetry-wall-axis,html[data-theme="bright"] .telemetry-overlay-axis-text{fill:#5d6c7f!important}
html[data-theme="bright"] .console-health-meter{background:#dfe4e8}
html[data-theme="bright"] .telemetry-semantic-mark,html[data-theme="bright"] .rank-index,html[data-theme="bright"] .action-index{background:#edf1f5;color:#596779}
html[data-theme="bright"] .finding-main:hover,html[data-theme="bright"] .site-list-row:hover,html[data-theme="bright"] .console-ops-tabs a:hover{background:#fcf8f5}
html[data-theme="bright"] .ops-overview{background:linear-gradient(135deg,#ffffff,#f7f9fb);border-color:#d7dee7}
html[data-theme="bright"] .login-body{background:radial-gradient(circle at 20% 20%,#fff7f0 0,transparent 34%),#eef2f6}
html[data-theme="bright"] .login-card{background:#ffffff;border-color:#d7dee7;color:#18212f}
/* Video/camera image canvases intentionally retain their existing dark treatment. */

/* v0.4.9 CAMERA_WALL_CURRENT_INVENTORY_BRIGHT_READABILITY_R1
   Bright-only semantic foreground/surface corrections; Dark theme remains untouched. */
html[data-theme="bright"] .finding-workspace-card{background:#ffffff;border-color:#d7dee7;color:#18212f}
html[data-theme="bright"] .finding-main{background:transparent;color:#18212f}
html[data-theme="bright"] .finding-main p,html[data-theme="bright"] .finding-meta small{color:#5d6c7f}
html[data-theme="bright"] .finding-main:hover{background:#f7f9fb;color:#18212f}
html[data-theme="bright"] .telemetry-metric-row{background:transparent;color:#18212f}
html[data-theme="bright"] .telemetry-metric-row:hover,html[data-theme="bright"] .telemetry-metric-row.selected{background:#fff0e4;color:#18212f}
html[data-theme="bright"] .telemetry-metric-labels strong,html[data-theme="bright"] .telemetry-metric-latest{color:#18212f}
html[data-theme="bright"] .telemetry-metric-labels small{color:#5d6c7f}
html[data-theme="bright"] .telemetry-metric-check{background:#f7f9fb;border-color:#d7dee7;color:#334256}
html[data-theme="bright"] .telemetry-metric-row.selected .telemetry-metric-check{background:#b95714;border-color:#b95714;color:#ffffff}
html[data-theme="bright"] .primary{background:#b95714!important;color:#ffffff!important}
html[data-theme="bright"] .primary:hover{background:#a84a0d!important;color:#ffffff!important}


/* v0.4.13 UNIFIED_ALERT_CENTER_ACK_DETAIL_LIVE_R1
   Compact Console-metric-alarm geometry adapted for Sight's upper-left control-center surface. */
.sight-alert-dock{position:fixed;z-index:1080;top:82px;left:256px;width:min(370px,calc(100vw - 274px));max-height:min(58vh,640px);display:grid;gap:9px;overflow:auto;overscroll-behavior:contain;pointer-events:none;scrollbar-width:thin}
.sight-alert-card{--alert-accent:#3d7da6;min-width:0;overflow:hidden;pointer-events:auto;border:1px solid rgba(10,20,30,.2);border-left:6px solid var(--alert-accent);border-radius:13px;background:#111b25;color:#fff;box-shadow:0 16px 42px rgba(8,15,23,.28);animation:sight-alert-in .16s ease-out}
.sight-alert-card.severity-critical{--alert-accent:#e34b3a}.sight-alert-card.severity-warning,.sight-alert-card.severity-attention{--alert-accent:#f0a02b}.sight-alert-card.severity-minor{--alert-accent:#e5c15a}.sight-alert-card.severity-info{--alert-accent:#3d7da6}
.sight-alert-card header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:start;padding:10px 11px 8px;border-bottom:1px solid rgba(255,255,255,.08)}
.sight-alert-card header div{min-width:0}.sight-alert-card header b{display:block;font-size:15px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sight-alert-card header small{display:block;margin-top:3px;color:#aebdca;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sight-alert-severity{align-self:start;padding:3px 6px;border-radius:6px;background:var(--alert-accent);color:#fff;font-size:9px;font-weight:900;letter-spacing:.06em}
.sight-alert-body{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,.07)}.sight-alert-body>div{min-width:0;padding:8px 10px;background:#111b25}.sight-alert-body span{display:block;color:#8fa3b4;font-size:9px;font-weight:800;letter-spacing:.06em}.sight-alert-body b{display:block;margin-top:3px;color:#f4f7fa;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sight-alert-card footer{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px 10px;background:#0e1821}.sight-alert-action{display:flex;align-items:center;justify-content:center;min-height:32px;padding:7px 9px;border-radius:8px;border:1px solid rgba(255,255,255,.13);font-size:11px;font-weight:900;text-align:center}.sight-alert-action.detail{background:#1b2a38;color:#dce6ee}.sight-alert-action.detail:hover{background:#263a4c;color:#fff}.sight-alert-action.ack{background:#b95714;color:#fff;border-color:#c76520}.sight-alert-action.ack:hover{background:#d6722a}.sight-alert-action.ack:disabled{opacity:.58;cursor:wait}
.sight-alert-more{pointer-events:auto;justify-self:start;padding:7px 10px;border-radius:8px;background:#111b25;border:1px solid rgba(255,255,255,.12);color:#dce6ee;font-size:11px;font-weight:800;box-shadow:0 8px 24px rgba(8,15,23,.22)}
@keyframes sight-alert-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.alert-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:18px;border:1px solid var(--line);border-left:6px solid #61748a;border-radius:14px;background:var(--panel)}.alert-detail-hero.severity-critical{border-left-color:var(--red)}.alert-detail-hero.severity-warning,.alert-detail-hero.severity-attention{border-left-color:var(--amber)}.alert-detail-hero.severity-minor{border-left-color:#e5c15a}.alert-detail-hero h2{margin:8px 0 4px}.alert-detail-hero p{margin:0;color:var(--muted)}
.alert-detail-meta{margin-bottom:14px}.alert-detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:14px;align-items:start}.alert-log-panel,.alert-video-panel{min-width:0}.alert-log-panel h3{margin:18px 0 8px}.alert-log-list{display:grid;gap:8px;max-height:520px;overflow:auto}.alert-log-list pre{margin:0;padding:10px;border:1px solid var(--line);border-radius:9px;background:#0c1721;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.alert-audit-list{display:grid;gap:7px}.alert-audit-list>div{display:grid;gap:3px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:var(--panel2)}.alert-audit-list span,.alert-audit-list small{color:var(--muted);font-size:11px}.alert-camera-wall{grid-template-columns:1fr}.alert-no-camera{min-height:180px;display:grid;place-items:center}.alert-video-panel .camera-wall-card{margin-top:10px}
html[data-theme="bright"] .sight-alert-card,html[data-theme="bright"] .sight-alert-body>div,html[data-theme="bright"] .sight-alert-card footer,html[data-theme="bright"] .sight-alert-more{background:#111b25;color:#fff}html[data-theme="bright"] .sight-alert-action.detail{background:#1b2a38;color:#dce6ee}html[data-theme="bright"] .alert-log-list pre{background:#f7f9fb;color:#18212f;border-color:#d7dee7}html[data-theme="bright"] .alert-audit-list>div{background:#f7f9fb;border-color:#d7dee7}
@media(max-width:900px){.sight-alert-dock{top:76px;left:10px;width:min(370px,calc(100vw - 20px));max-height:52vh}.alert-detail-grid{grid-template-columns:1fr}.alert-detail-hero{align-items:flex-start;flex-direction:column}}


/* v0.4.15 ALERT_DETAIL_LIVE_SLOT_EVENT_EVIDENCE_R1
   Live 102/202 replaces its own placeholder; exact 101/201 evidence is a separate on-demand card. */
.camera-live-placeholder[hidden]{display:none!important}
.alert-media-column{display:grid;gap:14px;min-width:0}.alert-event-panel{min-width:0}.alert-event-help{margin:10px 0 12px}.alert-event-tracks{display:grid;gap:9px}.alert-event-track{border:1px solid var(--line);border-radius:11px;background:var(--panel2);overflow:hidden}.alert-event-track-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 12px}.alert-event-track-head>div{min-width:0}.alert-event-track-head b{display:block}.alert-event-track-head small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.alert-event-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-top:1px solid var(--line);background:rgba(0,0,0,.08)}.alert-event-meta{min-width:0;color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-event-player{padding:10px 12px 12px;border-top:1px solid var(--line);background:#04080c}.alert-event-player[hidden],.alert-event-player video[hidden],.alert-event-play[hidden],.alert-event-status-error[hidden]{display:none!important}.alert-event-player video{display:block;width:100%;max-height:360px;background:#000;border-radius:8px}.alert-event-status-error{margin-top:10px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:11px}
html[data-theme="bright"] .alert-event-track{background:#f7f9fb}html[data-theme="bright"] .alert-event-actions{background:#eef3f7}html[data-theme="bright"] .alert-event-player{background:#111820}


/* v0.4.16 realtime alert category policy */
/* Position-only relocation: preserve v0.4.13 card geometry, stack, max-height and overflow contract. */
.sight-alert-dock{top:auto;left:auto;right:24px;bottom:24px}
@media(max-width:900px){.sight-alert-dock{top:auto;left:auto;right:10px;bottom:10px}}
.alert-settings-panel{max-width:1100px}
.alert-settings-scope{grid-template-columns:minmax(260px,420px) auto;align-items:end;margin:14px 0 18px}
.alert-settings-scope button{min-height:42px}
.alert-settings-contract{display:flex;flex-direction:column;gap:4px;margin:0 0 14px}
.alert-settings-list{display:grid;gap:10px}
.alert-setting-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.alert-setting-copy{display:grid;gap:5px;min-width:0}
.alert-setting-copy strong{font-size:15px}
.alert-setting-copy span,.alert-setting-copy small{color:var(--muted);line-height:1.45}
.alert-setting-toggle-form{margin:0}
.realtime-alert-toggle{display:inline-flex;align-items:center;gap:9px;border:0;background:transparent;padding:6px 0;min-width:86px;justify-content:flex-end;color:var(--ink);cursor:pointer}
.realtime-alert-toggle:disabled{opacity:.62;cursor:not-allowed}
.realtime-alert-toggle .toggle-track{position:relative;width:46px;height:26px;border-radius:999px;background:var(--line);box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);transition:background .16s ease}
.realtime-alert-toggle .toggle-track i{position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:var(--surface);box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .16s ease}
.realtime-alert-toggle.is-on .toggle-track{background:var(--success)}
.realtime-alert-toggle.is-on .toggle-track i{transform:translateX(20px)}
.realtime-alert-toggle.is-off b{color:var(--muted)}
.alert-settings-footnote{margin-top:14px}
@media(max-width:760px){.alert-setting-row{grid-template-columns:1fr}.alert-setting-toggle-form{justify-self:start}.realtime-alert-toggle{justify-content:flex-start}.alert-settings-scope{grid-template-columns:1fr}}

/* v0.4.19 MON_ALERT_SYNC_WALL_ALERT_OPT_IN_CUMULATIVE_R1 · restored semantic telemetry wall */
.telemetry-wall-main-chart{height:auto;min-height:360px;padding:0;overflow:hidden}.telemetry-wall-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:6px 14px;padding:12px 14px;border-bottom:1px solid #26364a}.telemetry-wall-legend-item{min-width:0;display:flex;align-items:center;gap:8px;color:#c9d6e4;font-size:11px;font-weight:750}.telemetry-wall-legend-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telemetry-wall-legend-swatch{flex:0 0 16px;width:16px;height:3px;border-radius:999px}.telemetry-wall-chart-shell{height:300px;display:grid;grid-template-columns:88px minmax(0,1fr) 88px;align-items:stretch;padding:8px 8px 0}.telemetry-wall-plot{min-width:0;min-height:0}.telemetry-wall-plot .telemetry-overlay-svg{width:100%;height:100%}.telemetry-wall-y-axis{display:flex;flex-direction:column;justify-content:space-between;padding:14px 5px 10px;color:#9fb1c4;font-size:9px;font-weight:800;white-space:nowrap}.telemetry-wall-y-axis.left{text-align:right}.telemetry-wall-y-axis.right{text-align:left}.telemetry-wall-x-axis{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;padding:3px 100px 10px;color:#8fa3b7;font-size:9px;font-weight:750}.telemetry-wall-x-axis span:last-child{text-align:right}.telemetry-wall-grid-line{stroke:rgba(128,145,165,.22);stroke-width:1;vector-effect:non-scaling-stroke}.telemetry-wall-card-chart{height:auto!important;margin:0!important}.telemetry-wall-card-chart .telemetry-wall-chart-shell{height:165px;grid-template-columns:74px minmax(0,1fr) 10px;padding-top:0}.telemetry-wall-card-chart .telemetry-wall-x-axis{padding:2px 18px 8px}.telemetry-wall-card-chart .telemetry-wall-y-axis.right{display:none}.telemetry-wall-card-chart .telemetry-wall-y-axis{font-size:8px}.telemetry-wall-card header{border-bottom:1px solid #26364a}.telemetry-wall-card header b{color:#f5f8fb}.telemetry-wall-scale-note{margin-top:0;padding:4px 100px 2px}.telemetry-wall-overlay iframe{background:#091019}
html[data-theme="bright"] .telemetry-wall-legend{border-color:#d7dee7}html[data-theme="bright"] .telemetry-wall-legend-item{color:#243447}html[data-theme="bright"] .telemetry-wall-y-axis,html[data-theme="bright"] .telemetry-wall-x-axis{color:#5d6c7f}html[data-theme="bright"] .telemetry-wall-card header{border-color:#d7dee7}html[data-theme="bright"] .telemetry-wall-card header b{color:#18212f}
@media(max-width:900px){.telemetry-wall-chart-shell{grid-template-columns:72px minmax(0,1fr) 72px}.telemetry-wall-x-axis{padding-left:82px;padding-right:82px}.telemetry-wall-legend{grid-template-columns:1fr}}


/* v0.4.25 VIDEO_MANAGEMENT_OBJECT_STORAGE_PARITY_R1 - Console /video-management geometry, Sight storage authority. */
.video-nav-group a{display:flex;align-items:center;gap:8px}.video-nav-group a .nav-count-badge{margin-left:auto}.nav-count-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--amber);color:#101820;font-size:9px;font-weight:900}.hidden{display:none!important}
.video-page-head{align-items:flex-end}.video-timezone-chip{padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--muted);font:700 12px ui-monospace,monospace}.video-management-shell{display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:20px;align-items:start}.video-calendar-card{padding:18px;position:sticky;top:86px}.video-calendar-head{display:grid;grid-template-columns:38px 1fr 38px;gap:8px;align-items:center;margin-bottom:12px}.video-calendar-head strong{text-align:center;font-size:17px}.calendar-nav{min-width:38px;width:38px;height:38px;min-height:38px;padding:0;border-radius:9px;background:var(--panel2);color:var(--text);border:1px solid var(--line);box-shadow:none;font-size:24px}.calendar-weekdays,.video-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekdays{margin-bottom:6px;color:var(--muted);font-size:11px;text-align:center;font-weight:800}.calendar-day{position:relative;aspect-ratio:1;min-width:0;min-height:0;padding:0;border:1px solid transparent;border-radius:9px;background:var(--panel2);color:var(--text);box-shadow:none;font-size:12px}.calendar-day.blank{background:transparent}.calendar-day:not(.blank):hover{border-color:#4b657e}.calendar-day.today{border-color:var(--amber)}.calendar-day.selected{background:#223449;border-color:#4e6b88;color:#fff}.calendar-count{position:absolute;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;right:3px;bottom:3px;border-radius:999px;background:var(--amber);color:#101820;font-size:9px;font-weight:900}.calendar-count.reviewed{background:var(--green);color:#071811}.video-calendar-today{width:100%;margin-top:12px;justify-content:center}.video-library-card{min-height:540px}.video-library-head{padding-bottom:14px}.video-library-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.video-state-count{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900}.video-state-count.unread{background:#3b2615;color:#ffc28e}.video-state-count.reviewed{background:#123729;color:#72e3b6}.video-range-toolbar{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:0 0 13px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:rgba(0,0,0,.12)}.video-range-toolbar label{display:grid;gap:4px;color:var(--muted);font-size:10px;font-weight:800;margin:0}.video-range-toolbar input{height:36px;padding:6px 8px}.video-range-arrow{align-self:center;padding-top:12px;color:var(--muted);font-weight:900}.video-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 14px;border-bottom:1px solid var(--line);margin-bottom:15px}.video-list-selection,.video-list-query{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.video-list-query{margin-left:auto;justify-content:flex-end}.video-list-search-label,.video-list-query>label{display:inline-flex;align-items:center;gap:7px;margin:0;color:var(--muted);font-size:12px;font-weight:700}.video-list-search-label input,.video-list-query select{width:min(280px,34vw);min-width:180px;height:36px;margin:0;padding:6px 10px}.list-select-label{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}.list-select-label input,.video-thumb-select input{width:16px;height:16px;margin:0;accent-color:var(--amber)}.video-thumbnail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.video-thumb-wrapper{position:relative;min-width:0}.video-thumb-card{width:100%;height:100%;min-width:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--panel);color:inherit;text-align:left;box-shadow:0 6px 20px rgba(0,0,0,.16)}.video-thumb-card:hover{transform:translateY(-2px);border-color:#4b657e}.video-thumb-wrapper.selected .video-thumb-card{outline:2px solid var(--amber);outline-offset:2px}.video-thumb-select{position:absolute;z-index:3;left:9px;top:9px;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.65);border-radius:8px;background:rgba(9,16,23,.78);box-shadow:0 3px 12px rgba(0,0,0,.2)}.video-thumb-media{position:relative;aspect-ratio:16/9;background:#101820;overflow:hidden}.video-thumb-placeholder{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:8px;background:radial-gradient(circle at 50% 35%,#273747,#121b24 68%);color:#8395a8}.video-thumb-placeholder span{font-size:34px}.video-thumb-placeholder small{letter-spacing:.08em}.video-thumb-track-count{position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:6px;background:rgba(0,0,0,.67);color:#fff;font:800 10px ui-monospace,monospace}.video-review-badge{position:absolute;left:8px;top:8px;display:inline-flex;align-items:center;min-height:22px;padding:4px 7px;border-radius:999px;color:#fff;font-size:9px;font-weight:900;box-shadow:0 2px 8px rgba(0,0,0,.18)}.video-review-badge.unread{background:#b95714}.video-review-badge.reviewed{background:#177f50}.video-thumb-body{display:grid;gap:6px;padding:12px 13px 13px}.video-thumb-body>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.video-thumb-body strong{font-size:14px}.video-thumb-body p,.video-thumb-body small{margin:0;color:var(--muted)}.video-library-empty{grid-column:1/-1;min-height:310px;display:grid;place-items:center;align-content:center;gap:7px;color:var(--muted);text-align:center}
.modal{position:fixed;inset:0;display:none;z-index:1000}.modal.open{display:block}.modal-backdrop{position:absolute;inset:0;background:rgba(4,8,12,.72);backdrop-filter:blur(2px)}.modal-panel{position:relative;width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.45)}.modal-panel.narrow{width:min(600px,calc(100vw - 32px))}.modal-body{padding:24px 26px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;padding:16px 22px}.modal-open{overflow:hidden}.video-detail-panel{width:min(1320px,calc(100vw - 52px));overflow:visible;margin:26px auto}.video-modal-x{position:absolute;z-index:5;left:18px;top:18px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--text);font-size:28px;line-height:1}.video-detail-head{display:flex;align-items:center;justify-content:space-between;min-height:88px;padding:18px 26px 18px 74px;border-bottom:1px solid var(--line);background:var(--panel);border-radius:18px 18px 0 0}.video-detail-head h2{margin:0 0 3px}.video-detail-head p{margin:0;color:var(--muted)}.video-detail-body{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);min-height:500px}.video-meta-panel{padding:22px;border-right:1px solid var(--line);background:var(--panel2)}.video-meta-list{display:grid;grid-template-columns:108px 1fr;gap:9px 11px;font-size:12px}.video-meta-list dt{color:var(--muted);font-weight:800}.video-meta-list dd{margin:0;overflow-wrap:anywhere}.video-playback-panel{position:relative;min-width:0;background:#060a0e}.event-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#263340}.event-video-stream{position:relative;min-width:0;min-height:430px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#060a0e}.event-video-stream video{display:block;width:100%;max-height:640px;background:#000}.event-video-stream-title{position:absolute;z-index:2;left:11px;top:11px;padding:5px 9px;border-radius:7px;background:rgba(0,0,0,.62);color:#fff;font-size:11px;font-weight:850}.event-video-stream-message{position:absolute;inset:auto 12px 12px;padding:9px 11px;border-radius:8px;background:rgba(45,15,15,.9);color:#ffb0b0;font-size:11px}.video-management-player-grid{min-height:500px;height:100%}.video-playback-status{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);max-width:520px;padding:12px 16px;border-radius:10px;background:rgba(16,24,32,.9);color:#dce6ee;text-align:center;font-size:13px}.video-detail-footer{border-top:1px solid var(--line)}.video-detail-footer .danger{margin-right:auto}.video-delete-confirm{z-index:1100}.video-delete-confirm-panel{margin-top:15vh}.video-toast{position:fixed;right:24px;bottom:24px;z-index:1400;max-width:420px;padding:12px 15px;border-radius:10px;background:#123729;border:1px solid #28644c;color:#9bf0c9;box-shadow:0 12px 30px rgba(0,0,0,.35)}.video-toast.error{background:#3a1d22;border-color:#7a343d;color:#ffbdc3}
@media(max-width:1180px){.video-management-shell{grid-template-columns:280px minmax(0,1fr)}.video-thumbnail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-detail-body{grid-template-columns:280px minmax(0,1fr)}}@media(max-width:780px){.video-management-shell{grid-template-columns:1fr}.video-calendar-card{position:static}.video-thumbnail-grid{grid-template-columns:1fr}.video-detail-panel{width:calc(100vw - 20px);margin:10px auto}.video-detail-body{grid-template-columns:1fr}.video-meta-panel{border-right:0;border-bottom:1px solid var(--line)}.video-management-player-grid{grid-template-columns:1fr}.event-video-stream{min-height:260px}.video-list-toolbar{align-items:stretch;flex-direction:column}.video-list-query{margin-left:0;justify-content:stretch}.video-list-search-label,.video-list-query>label{flex:1 1 100%}.video-list-search-label input,.video-list-query select{width:100%;min-width:0}}
html[data-theme="bright"] .video-timezone-chip,html[data-theme="bright"] .video-thumb-card,html[data-theme="bright"] .modal-panel,html[data-theme="bright"] .video-detail-head{background:#fff}html[data-theme="bright"] .video-meta-panel{background:#f7f9fb}html[data-theme="bright"] .video-range-toolbar{background:#f8fafc}

.workspace-scope-form .workspace-timezone select{min-width:190px;max-width:260px}
@media(max-width:1180px){.workspace-scope-form .workspace-timezone select{min-width:150px;max-width:190px}}

/* v0.4.32 REPORT_ALARM_DISTRIBUTION_PIE_CHART_R1 */
.alarm-pie-layout{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr);gap:18px;align-items:center}.alarm-pie-wrap{position:relative;min-height:220px;display:grid;place-items:center}.alarm-pie-wrap svg{width:210px;height:210px;display:block}.alarm-pie-center{position:absolute;inset:0;display:grid;place-content:center;text-align:center;pointer-events:none}.alarm-pie-center span{font-size:34px;font-weight:900;line-height:1}.alarm-pie-center small{margin-top:5px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.alarm-pie-empty{color:var(--muted);font-size:12px}.alarm-pie-legend{display:grid;gap:0}.alarm-pie-legend-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line-soft)}.alarm-pie-legend-row:last-child{border-bottom:0}.alarm-pie-swatch{width:10px;height:10px;border-radius:50%;background:var(--alarm-pie-color,var(--amber))}.alarm-pie-legend-row b{display:block;font-size:11px}.alarm-pie-legend-row small{display:block;margin-top:2px;color:var(--muted);font-size:10px}.alarm-pie-legend-row strong{font-size:18px}@media(max-width:760px){.alarm-pie-layout{grid-template-columns:1fr}.alarm-pie-wrap{min-height:200px}}


/* v0.4.33 VIDEO_MANAGEMENT_BRIGHT_THEME_UI_POLISH_R1
   UI-only: video-card selection geometry, bright badge contrast, neutral calendar,
   and bright alert-settings toggle readability. No API/data/schema semantics change. */
.video-thumb-select{left:auto;right:9px;top:9px}
.video-calendar-card .calendar-nav,.video-calendar-card .video-calendar-today,.video-calendar-card .calendar-day{background:transparent}
.video-calendar-card .calendar-day.today{border-color:#607487}
.video-calendar-card .calendar-day.selected{background:transparent;border-color:#8ba0b3;color:var(--text);box-shadow:inset 0 0 0 1px #8ba0b3;font-weight:900}
.video-state-count.unread{background:#b95714;color:#fff}
.video-state-count.reviewed{background:#177f50;color:#fff}
.calendar-count.unread{background:#b95714;color:#fff}
.calendar-count.reviewed{background:#177f50;color:#fff}
.video-review-badge.unread{background:#b95714;color:#fff}
.video-review-badge.reviewed{background:#177f50;color:#fff}
html[data-theme="bright"] .nav-count-badge{background:#b95714;color:#fff}
html[data-theme="bright"] .video-state-count.unread,html[data-theme="bright"] .calendar-count.unread,html[data-theme="bright"] .video-review-badge.unread{background:#b95714;color:#fff}
html[data-theme="bright"] .video-state-count.reviewed,html[data-theme="bright"] .calendar-count.reviewed,html[data-theme="bright"] .video-review-badge.reviewed{background:#177f50;color:#fff}
html[data-theme="bright"] .video-calendar-card .calendar-nav,html[data-theme="bright"] .video-calendar-card .video-calendar-today,html[data-theme="bright"] .video-calendar-card .calendar-day{background:transparent;color:#2f4151;box-shadow:none}
html[data-theme="bright"] .video-calendar-card .calendar-nav,html[data-theme="bright"] .video-calendar-card .video-calendar-today{border-color:#c6d1db}
html[data-theme="bright"] .video-calendar-card .calendar-day.today{border-color:#8194a5;color:#263746}
html[data-theme="bright"] .video-calendar-card .calendar-day.selected{background:transparent;border-color:#526b80;color:#1d2d3a;box-shadow:inset 0 0 0 1px #526b80}
html[data-theme="bright"] .realtime-alert-toggle{background:transparent;color:#34495a}
html[data-theme="bright"] .realtime-alert-toggle .toggle-track{background:transparent;border:1px solid #9aabba;box-shadow:none}
html[data-theme="bright"] .realtime-alert-toggle .toggle-track i{background:#667b8d;box-shadow:none}
html[data-theme="bright"] .realtime-alert-toggle.is-on .toggle-track{background:transparent;border-color:#157a58}
html[data-theme="bright"] .realtime-alert-toggle.is-on .toggle-track i{background:#157a58}
html[data-theme="bright"] .realtime-alert-toggle.is-on b{color:#0f6348}
html[data-theme="bright"] .realtime-alert-toggle.is-off b{color:#526779}
