/* Standalone television layout. Shared workbench styling stays unchanged. */
:root{font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",sans-serif;color-scheme:dark;background:#080f19;color:#eaf2fa;font-variant-numeric:tabular-nums;--wall-muted:#9ab0c5;--wall-border:#263c50;--wall-accent:#64e0c5;--wall-text-scale:1}
*{box-sizing:border-box}body{margin:0;height:100dvh;min-height:650px;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 15% 0,#13364788,transparent 55%),#080f19}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #64e0c5;outline-offset:4px}[hidden]{display:none!important}
.screen-header{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-shrink:0;padding:18px 28px;border-bottom:1px solid var(--wall-border);background:#0b1723cc}.screen-brand{display:flex;align-items:center;gap:14px}.screen-logo{width:44px;height:44px;display:grid;place-items:center;background:#64e0c5;color:#092a30;border-radius:12px;font-size:27px;font-weight:750;position:relative}.screen-logo>span{position:absolute;right:5px;top:2px;font-size:12px}.screen-brand p{margin:0 0 5px;font-size:10px;letter-spacing:3px;color:var(--wall-muted)}.screen-brand h1{font-size:clamp(19px,1.4vw,28px);font-weight:650;letter-spacing:1px;margin:0}.screen-tools{display:flex;align-items:center;gap:10px;font-size:14px}.screen-tools #screen-clock{font-size:15px;white-space:nowrap;color:#b8cddd;margin-right:12px}.screen-tools button,.screen-tools a{color:#c7d9e7;background:#142635;border:1px solid #30495d;border-radius:7px;padding:9px 13px;white-space:nowrap}.screen-tools button:hover,.screen-tools a:hover{color:#64e0c5;border-color:#64e0c5}.screen-tools button[aria-pressed=true]{background:#174a46;color:#9affdf}.screen-header.is-locked #screen-refresh,.screen-header.is-locked #screen-pause,.screen-header.is-locked #screen-focus{display:none}
.screen-pages{display:flex;align-items:center;gap:8px;padding:12px 28px;flex-shrink:0}.screen-pages button{display:flex;gap:10px;align-items:center;background:transparent;border:1px solid transparent;border-radius:8px;color:#93adc1;font-size:17px;padding:12px 18px;white-space:nowrap}.screen-pages button>span{font-size:12px;color:#6c8b9e;letter-spacing:1px}.screen-pages button[aria-pressed=true]{background:#183a41;color:#8aefd6;border-color:#34666a}.screen-pages button[aria-pressed=true]>span{color:#64e0c5}.screen-pages label{margin-left:auto;color:var(--wall-muted);font-size:14px;white-space:nowrap}.screen-pages select{border:1px solid #30495d;background:#102333;color:#d7e4ed;border-radius:6px;padding:8px;margin-left:6px}
#screen-content{padding:8px 28px 14px;flex:1;min-height:0;overflow:hidden}.screen-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#8ba4b9;padding:10px 28px;flex-shrink:0;border-top:1px solid #233646}.screen-footer>span:first-child{color:#7bdac1}.screen-footer.is-warning>span:first-child{color:#f5c77e}.screen-footer>span:nth-child(2){display:none}.screen-start{display:grid;place-items:center;min-height:55vh;color:#a8bed1;font-size:18px}
.hub-screen-dashboard{--hub-text:#e7f0f9;--hub-muted:#9fb5c9;--hub-line:#283e52;--hub-surface:#10202e;--hub-grid:#273c4e;--hub-teal:#64dec4;--hub-blue:#89acff;color:var(--hub-text);height:100%;display:flex;flex-direction:column;min-height:0}
.wall-scene-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:2px 0 12px;flex-shrink:0}.wall-scene-title{display:flex;align-items:center;gap:18px;min-width:0}.wall-scene-number{font-size:clamp(36px,3.5vw,68px);font-weight:300;line-height:1;color:#416377;letter-spacing:-3px}.wall-eyebrow{font-size:11px;color:#69ccb9;letter-spacing:2px;margin-bottom:4px}.wall-scene-heading h2{font-size:clamp(26px,2.1vw,42px);letter-spacing:1px;line-height:1.2;margin:0;font-weight:650}.wall-scene-heading p{font-size:calc(14px * var(--wall-text-scale));margin:8px 0 0;color:#a6bed0}.wall-scene-date{text-align:right;flex-shrink:0;display:grid;gap:4px}.wall-scene-date>span{font-size:12px;color:#8ca5ba}.wall-scene-date>b{font-weight:500;font-size:21px;letter-spacing:1px}.wall-scene-date>small{font-size:12px;color:#8ca5ba}.production-scope{font-size:calc(13px * var(--wall-text-scale));color:#8fa8bc;line-height:1.5;margin-bottom:14px;flex-shrink:0}.hub-screen-dashboard .hub-data-warning{background:#352a1c;color:#ffd28d;border:1px solid #6d5736;padding:8px 14px;font-size:14px;margin-bottom:10px;flex-shrink:0}
.wall-process-lane{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;flex-shrink:0}.wall-process-card{display:block;min-width:0;padding:20px 22px 14px;border:1px solid #315456;border-radius:12px;background:linear-gradient(125deg,#143336,#102431);border-top:3px solid #64e0c5}.wall-process-card:nth-child(2){border-top-color:#83b0ff}.wall-process-card:nth-child(3){border-top-color:#e8bd76}.wall-process-card:nth-child(4){border-top-color:#b5a4f5}.wall-process-card.is-unknown{background:#131f2d;border-color:#344658;border-top-color:#7b8e9f}.wall-process-top{display:flex;gap:12px;align-items:center}.wall-step{color:#71939b;font-size:13px}.wall-process-top h3{font-size:calc(20px * var(--wall-text-scale));font-weight:550;margin:0}.wall-data-tag{margin-left:auto;border:1px solid #35645e;border-radius:4px;padding:3px 7px;color:#93d9ca;font-size:12px;white-space:nowrap}.is-unknown .wall-data-tag{color:#b6c2d0;border-color:#495b6d}.wall-process-value{display:flex;align-items:baseline;gap:10px;margin:18px 0 14px;min-width:0}.wall-process-value strong{font-size:clamp(32px,3vw,59px);font-weight:600;line-height:1;letter-spacing:-1px;overflow-wrap:anywhere}.wall-process-value>span{font-size:16px;color:#a0b8c9}.wall-process-facts{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:calc(13px * var(--wall-text-scale));color:#9ab7c5}.wall-process-facts b{color:#d4e4ef;font-weight:500}.wall-process-time{border-top:1px solid #29434b;margin-top:12px;padding-top:9px;color:#8eacbc;font-size:12px}
.production-screen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:18px;flex:1;min-height:0}.screen-production-panels{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr)}.screen-one-panel{grid-template-columns:minmax(0,1fr)}.screen-energy-panels{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.screen-energy-panels .hub-energy-chart{grid-column:1;grid-row:1/3}.screen-energy-panels .wall-tariff-panel{grid-column:2;grid-row:1}.screen-energy-panels .wall-bill-panel{grid-column:2;grid-row:2}
.hub-screen-dashboard .hub-panel{min-height:0;min-width:0;display:flex;flex-direction:column;background:linear-gradient(135deg,#122434,#0e1c2b);border:1px solid #293e52;border-radius:12px;padding:22px 24px;overflow:auto}.hub-screen-dashboard .hub-panel>header{flex-shrink:0;margin-bottom:16px}.hub-screen-dashboard .hub-panel h3{font-size:calc(clamp(20px,1.25vw,26px) * var(--wall-text-scale));font-weight:550;margin:0 0 8px}.hub-screen-dashboard .hub-panel header p{font-size:calc(13px * var(--wall-text-scale));line-height:1.6;color:#9db3c8}.hub-screen-dashboard .hub-more{font-size:14px;color:#78d8c5!important}.hub-screen-dashboard .hub-footnote{font-size:calc(12px * var(--wall-text-scale));line-height:1.5;flex-shrink:0;margin:10px 0 0;color:#8ca5ba}.hub-screen-dashboard .hub-chart-legend{font-size:calc(14px * var(--wall-text-scale));gap:12px 22px;flex-shrink:0}.hub-screen-dashboard .hub-axis{font-size:14px}.hub-screen-dashboard .hub-line-chart{height:0;min-height:100px;flex:1;margin-top:16px;max-height:none}.hub-screen-dashboard .hub-energy-view:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.hub-screen-dashboard .hub-series{stroke-width:3}.hub-screen-dashboard .hub-series-0{stroke:#63d6c0}.hub-screen-dashboard .hub-series-1{stroke:#87adff}.hub-screen-dashboard .hub-series-2{stroke:#efc57a}.hub-screen-dashboard .hub-series-3{stroke:#baa4f3}.hub-screen-dashboard .hub-legend-0{background:#63d6c0}.hub-screen-dashboard .hub-legend-1{background:#87adff}.hub-screen-dashboard .hub-legend-2{background:#efc57a}.hub-screen-dashboard .hub-legend-3{background:#baa4f3}.hub-screen-dashboard .hub-bar-fill{fill:#64d5c0}.hub-screen-dashboard .hub-empty{flex:1;min-height:80px;font-size:16px}.hub-screen-dashboard .hub-energy-toggle{margin-bottom:14px}.hub-screen-dashboard .hub-energy-toggle button{font-size:16px;padding:8px 16px;border-radius:7px}.hub-screen-dashboard .hub-energy-toggle button[aria-pressed=true]{background:#1d5a53;border-color:#57b9aa}
.wall-observations{display:grid;gap:0}.wall-observation{display:flex;align-items:flex-start;gap:14px;justify-content:space-between;padding:16px 0;border-bottom:1px solid #2b3f50;font-size:calc(16px * var(--wall-text-scale))}.wall-observation>span{flex-shrink:0;color:#ccdfed}.wall-observation>b{font-size:calc(14px * var(--wall-text-scale));font-weight:400;text-align:right;color:#92bbae;line-height:1.6}.wall-observation .wall-amber{color:#e9c387}.wall-context-note{font-size:calc(14px * var(--wall-text-scale));line-height:1.8;padding:14px 16px;background:#1b2c3b;color:#b4c6d4;border-radius:8px;margin:18px 0 0}.wall-subtitle{font-size:16px;font-weight:500;color:#b4cedf;margin:20px 0 14px}
.hub-screen-dashboard .hub-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;flex-shrink:0;margin-bottom:18px}.hub-screen-dashboard .hub-metric{padding:18px 22px;background:#102836;border-radius:10px}.hub-screen-dashboard .hub-metric-label{font-size:calc(17px * var(--wall-text-scale));color:#b6cfdf}.hub-screen-dashboard .hub-metric-label em{font-size:10px}.hub-screen-dashboard .hub-metric strong{font-size:clamp(30px,2.6vw,52px)}.hub-screen-dashboard .hub-metric>div{margin:15px 0 10px}.hub-screen-dashboard .hub-metric b{font-size:15px}.hub-screen-dashboard .hub-metric small{font-size:calc(13px * var(--wall-text-scale));color:#9bb4c7}
.production-screen-table{min-height:0;overflow:auto;flex:1}.production-screen-table table{width:100%;border-collapse:collapse;font-size:calc(17px * var(--wall-text-scale));white-space:nowrap}.production-screen-table th{background:#1a3142;color:#a8c3d8;position:sticky;top:0;z-index:1;font-size:calc(14px * var(--wall-text-scale));font-weight:500;text-align:left}.production-screen-table td,.production-screen-table th{padding:13px 16px;border-bottom:1px solid #263e50}.production-screen-table tbody tr:nth-child(even){background:#172a3a66}.production-screen-table td:not(:first-child){text-align:right}.production-screen-table td small{display:block;font-size:calc(13px * var(--wall-text-scale));color:#9cb3c6;line-height:1.6;max-width:350px;white-space:normal}.wall-progress{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:7px;color:#8ed5c5;font-size:13px}.wall-progress-track{width:90px;height:5px;background:#2c4558;border-radius:4px;overflow:hidden}.wall-progress-track i{display:block;height:100%;background:#64dec4;border-radius:4px}
.wall-business-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 24px;margin-bottom:18px;border:1px solid #355164;border-radius:12px;background:#102636;flex-shrink:0}.wall-business-context>div{padding:0 24px;border-right:1px solid #355164}.wall-business-context>div:first-child{padding-left:0}.wall-business-context>div:last-child{border:0}.wall-business-context span{font-size:16px;color:#9cb7ca}.wall-business-context strong{display:block;font-size:clamp(29px,2.8vw,50px);font-weight:550;margin-top:8px;overflow-wrap:anywhere}.wall-business-context small{font-size:15px;font-weight:400;color:#97b0c4}.hub-screen-dashboard .hub-ranks{display:flex;flex-direction:column;justify-content:space-evenly;flex:1;min-height:0;gap:18px}.hub-screen-dashboard .hub-rank-head,.hub-screen-dashboard .hub-rank-head strong{font-size:calc(18px * var(--wall-text-scale))}.hub-screen-dashboard .hub-rank-head small,.hub-screen-dashboard .hub-rank-index{font-size:14px}.hub-screen-dashboard .hub-rank svg{height:7px}.hub-screen-dashboard .hub-rank-head{margin-bottom:12px}.hub-screen-dashboard .hub-rank{grid-template-columns:28px minmax(0,1fr)}
.wall-energy-summary{display:flex;gap:32px;align-items:center;padding:16px 24px;margin-bottom:18px;background:linear-gradient(110deg,#1b3c3a,#122735);border:1px solid #315e58;border-radius:12px;flex-shrink:0}.wall-energy-summary>div:first-child>span{display:block;color:#a1cbbc;font-size:15px}.wall-energy-summary strong{display:block;font-size:clamp(30px,2.8vw,50px);font-weight:550;margin-top:6px}.wall-energy-summary strong small{font-size:17px;font-weight:400;color:#afc7d3}.wall-energy-summary>p{color:#a9c5c7;font-size:14px;line-height:1.8}.wall-energy-schedule{margin-left:auto;display:grid;gap:5px;text-align:right}.wall-energy-schedule span,.wall-energy-schedule small{font-size:13px;color:#95b9bd}.wall-energy-schedule b{font-size:18px;font-weight:500}.hub-screen-dashboard .hub-tariffs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-height:0;flex:1;align-content:center}.hub-screen-dashboard .hub-tariffs article+article{padding:0 0 0 20px;border:0;border-left:1px solid #31495a}.hub-screen-dashboard .hub-account-heading{display:block}.hub-screen-dashboard .hub-account-heading strong{display:block;font-size:16px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}.hub-screen-dashboard .hub-account-heading>span{display:block;font-size:11px;color:#8ca5b6;margin-top:4px}.hub-screen-dashboard .hub-energy-number{display:block;margin:12px 0}.hub-screen-dashboard .hub-energy-number b{font-size:28px;display:block;color:#86dec9}.hub-screen-dashboard .hub-energy-number span{font-size:12px;display:block;margin-top:4px}.hub-screen-dashboard .hub-band-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hub-screen-dashboard .hub-band-values>span,.hub-screen-dashboard .hub-band-values b{font-size:14px}.screen-topic-energy .hub-account-bottom{display:none}.wall-bill-panel table{font-size:15px}.wall-bill-panel th{font-size:13px}.wall-bill-panel td,.wall-bill-panel th{padding:10px 12px}
.hub-screen-dashboard .hub-quality{display:flex;flex-direction:column;justify-content:space-evenly;flex:1}.hub-screen-dashboard .hub-quality>a{font-size:calc(20px * var(--wall-text-scale));padding:20px 0}.hub-screen-dashboard .hub-quality>a>b{font-size:32px}.hub-screen-dashboard .hub-warning{color:#efc179}.hub-screen-dashboard .hub-sources{display:flex;flex-direction:column;justify-content:space-evenly;flex:1}.hub-screen-dashboard .hub-sources>div{padding:20px 0}.hub-screen-dashboard .hub-sources b{font-size:calc(20px * var(--wall-text-scale));font-weight:500}.hub-screen-dashboard .hub-sources small{font-size:14px;margin-top:9px;line-height:1.5}.hub-screen-dashboard .hub-source-time{font-size:16px}.hub-screen-dashboard .hub-state-dot{width:10px;height:10px}
.screen-camera-page{flex:1;min-height:0;overflow:auto}.screen-camera-page .camera-view>header{display:none}.screen-camera-page .camera-view{color:#d9e7f1}.screen-camera-page button,.screen-camera-page select{background:#152d3d;color:#d9e7f1;border-color:#405a6d}.screen-camera-page .camera-controls{position:sticky;top:0;background:#0c1a28f5;z-index:2;margin-top:0;padding:12px 0;font-size:16px}.screen-camera-page .camera-grid{max-width:none;margin:0}.screen-camera-page .camera-station-message{font-size:14px}.screen-camera-page .camera-grid-4 .camera-image{max-height:27vh}.screen-camera-page .camera-grid-9 .camera-image{max-height:20vh}.screen-camera-page .camera-grid-16 .camera-image{max-height:17vh}.screen-camera-page .camera-grid-1 .camera-image{max-height:65vh}.screen-camera-page .camera-station-heading{color:#bce9df}
#screen-login{flex:1;min-height:0;overflow:auto;display:grid;place-items:center;padding:30px 20px}#screen-login form{width:100%;max-width:460px;padding:36px;border:1px solid #345367;border-radius:16px;background:#112635;box-shadow:0 25px 80px #0004}#screen-login h2{font-size:28px;margin:15px 0}#screen-login p{color:#a3bbcd;font-size:15px;line-height:1.8}#screen-login label{display:grid;gap:9px;font-size:16px;margin:20px 0}#screen-login input{padding:12px;border:1px solid #3e5c70;background:#0a1927;color:#edf5fc;border-radius:7px;width:100%}#screen-login button{width:100%;padding:14px;background:#64dec4;color:#0d302d;border:0;border-radius:7px;font-weight:650;font-size:17px;margin:8px 0 12px}#screen-login a{color:#81d8c5;font-size:15px}.screen-login-eyebrow{font-size:12px;letter-spacing:2px;color:#79cbbb}#screen-login-error{color:#f6bf87!important}
#screen-focus-exit{position:fixed;z-index:20;right:18px;bottom:14px;background:#173c47;color:#a3f1dd;border:1px solid #5cb8a9;border-radius:8px;padding:10px 16px;font-size:14px;box-shadow:0 4px 20px #0004}.is-focus .screen-header,.is-focus .screen-pages,.is-focus .screen-footer{display:none}.is-focus #screen-content{padding-top:24px;padding-bottom:30px}.screen-large-type{--wall-text-scale:1.18}.screen-large-type .wall-process-value strong,.screen-large-type .hub-metric strong{font-size:clamp(36px,3.2vw,64px)}
@media(min-width:901px) and (max-height:900px){.screen-header{padding:10px 20px}.screen-brand p{display:none}.screen-logo{height:36px;width:36px;font-size:22px}.screen-brand h1{font-size:21px}.screen-tools{gap:6px;font-size:12px}.screen-tools #screen-clock{font-size:13px;margin-right:4px}.screen-tools button,.screen-tools a{padding:7px 9px}.screen-pages{padding:8px 20px}.screen-pages button{font-size:15px;padding:9px 12px}.screen-pages label{font-size:12px}.screen-pages select{padding:6px}#screen-content{padding:6px 20px 10px}.wall-scene-heading{margin-bottom:8px}.wall-scene-number{font-size:42px}.wall-scene-heading h2{font-size:28px}.wall-scene-heading p{display:none}.wall-scene-date>b{font-size:18px}.wall-scene-date>small{font-size:11px}.production-scope{font-size:12px;margin-bottom:10px}.wall-process-lane{gap:12px;margin-bottom:12px}.wall-process-card{padding:13px 16px 10px}.wall-process-top h3{font-size:18px}.wall-process-value{margin:12px 0 10px}.wall-process-value strong{font-size:36px}.wall-process-facts{font-size:12px}.wall-process-time{font-size:11px;margin-top:8px;padding-top:6px}.wall-data-tag{font-size:10px}.production-screen-grid{gap:12px}.hub-screen-dashboard .hub-panel{padding:15px 18px}.hub-screen-dashboard .hub-panel>header{margin-bottom:10px}.hub-screen-dashboard .hub-panel h3{font-size:20px}.hub-screen-dashboard .hub-panel header p{font-size:12px}.hub-screen-dashboard .hub-footnote{font-size:11px}.hub-screen-dashboard .hub-chart-legend{font-size:13px}.hub-screen-dashboard .hub-axis{font-size:12px}.hub-screen-dashboard .hub-line-chart{min-height:70px;margin-top:8px}.wall-observation{font-size:14px;padding:10px 0}.wall-observation>b{font-size:12px}.wall-context-note{font-size:12px;line-height:1.6;padding:10px;margin-top:10px}.hub-screen-dashboard .hub-kpi-grid{margin-bottom:12px;gap:12px}.hub-screen-dashboard .hub-metric{padding:13px 16px}.hub-screen-dashboard .hub-metric strong{font-size:32px}.hub-screen-dashboard .hub-metric-label{font-size:15px}.hub-screen-dashboard .hub-metric small{font-size:12px}.hub-screen-dashboard .hub-metric>div{margin:9px 0}.production-screen-table table{font-size:16px}.production-screen-table td,.production-screen-table th{padding:10px 12px}.wall-business-context{padding:13px 18px;margin-bottom:12px}.wall-business-context strong{font-size:32px}.wall-business-context span{font-size:14px}.hub-screen-dashboard .hub-rank-head,.hub-screen-dashboard .hub-rank-head strong{font-size:16px}.wall-energy-summary{padding:12px 18px;margin-bottom:12px}.wall-energy-summary strong{font-size:34px}.wall-energy-summary>p{font-size:12px;margin:0}.wall-energy-summary>div:first-child>span{font-size:13px}.hub-screen-dashboard .hub-tariffs{gap:12px}.hub-screen-dashboard .hub-account-heading strong{font-size:14px}.hub-screen-dashboard .hub-energy-number b{font-size:23px}.hub-screen-dashboard .hub-energy-number{margin:6px 0}.hub-screen-dashboard .hub-band-values>span,.hub-screen-dashboard .hub-band-values b{font-size:12px}.hub-screen-dashboard .hub-energy-toggle button{padding:5px 12px;font-size:14px}.hub-screen-dashboard .hub-quality>a{font-size:18px;padding:14px 0}.hub-screen-dashboard .hub-sources>div{padding:14px 0}.hub-screen-dashboard .hub-sources b{font-size:18px}.screen-footer{font-size:11px;padding:8px 20px}.screen-large-type .hub-panel h3{font-size:24px}.screen-large-type .wall-process-value strong,.screen-large-type .hub-metric strong{font-size:40px}}
@media(max-width:1200px) and (min-width:901px){.screen-tools #screen-clock{display:none}.screen-pages button{padding:9px;font-size:14px;gap:6px}.screen-pages{gap:5px}.screen-production-panels{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.wall-process-top{gap:7px}.wall-process-card{padding-left:13px;padding-right:13px}.wall-data-tag{display:none}.wall-process-facts{display:grid;gap:5px}.wall-energy-summary{gap:18px}.wall-energy-summary>p{display:none}}
@media(max-width:900px){body{height:auto;min-height:100dvh;overflow:auto}.screen-header{flex-wrap:wrap;padding:18px}.screen-brand h1{font-size:22px}.screen-tools{flex-wrap:wrap;gap:8px}.screen-tools #screen-clock{width:100%;margin:0;font-size:14px}.screen-pages{flex-wrap:wrap;padding:10px 18px;gap:5px}.screen-pages button{font-size:15px;padding:9px 12px}.screen-pages label{margin:5px 0 0}#screen-content{padding:12px 18px;overflow:visible;flex:none}.hub-screen-dashboard{height:auto}.wall-scene-heading{gap:12px;align-items:flex-start}.wall-scene-number{display:none}.wall-scene-heading h2{font-size:27px}.wall-scene-heading p{font-size:14px;line-height:1.7}.wall-scene-date>b{font-size:16px}.wall-scene-date>small{max-width:120px;line-height:1.6}.wall-process-lane{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wall-process-card{padding:16px}.wall-process-value strong{font-size:36px}.wall-process-top{gap:8px}.wall-process-top h3{font-size:19px}.wall-step{display:none}.wall-data-tag{font-size:10px}.wall-process-facts{display:grid;gap:7px}.production-screen-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:14px}.screen-energy-panels .hub-energy-chart,.screen-energy-panels .wall-tariff-panel,.screen-energy-panels .wall-bill-panel{grid-column:auto;grid-row:auto}.hub-screen-dashboard .hub-panel{min-height:290px;padding:20px;overflow:auto}.hub-screen-dashboard .hub-panel h3{font-size:22px}.hub-screen-dashboard .hub-line-chart{height:240px;min-height:240px;flex:none}.hub-screen-dashboard .hub-panel header p{font-size:13px}.hub-screen-dashboard .hub-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hub-screen-dashboard .hub-metric{padding:16px}.hub-screen-dashboard .hub-metric strong{font-size:30px}.hub-screen-dashboard .hub-metric-label{font-size:15px}.production-screen-table{max-height:560px}.wall-business-context{padding:16px;gap:14px}.wall-business-context>div{padding:0 10px 0 0}.wall-business-context strong{font-size:28px}.wall-business-context span{font-size:13px}.wall-energy-summary{flex-wrap:wrap;padding:18px;gap:16px}.wall-energy-summary strong{font-size:36px}.wall-energy-summary>p{margin:0;font-size:12px}.wall-energy-schedule{margin-left:0;text-align:left;border-top:1px solid #31534f;width:100%;padding-top:12px}.hub-screen-dashboard .hub-ranks{gap:22px}.hub-screen-dashboard .hub-rank-head,.hub-screen-dashboard .hub-rank-head strong{font-size:17px}.hub-screen-dashboard .hub-sources b{font-size:17px}.hub-screen-dashboard .hub-quality>a{font-size:17px}.screen-footer{flex-wrap:wrap;font-size:12px;line-height:1.8;padding:14px 18px}.screen-camera-page{overflow:visible}.screen-camera-page .camera-controls{position:static}.screen-camera-page .camera-grid-4 .camera-image{max-height:none}.screen-camera-page .camera-grid-1 .camera-image{max-height:none}.is-focus #screen-content{padding-top:18px}.screen-large-type .hub-panel h3{font-size:25px}}
@media(max-width:520px){.screen-tools button,.screen-tools a{font-size:13px;padding:8px 10px}.screen-pages button{font-size:14px;padding:8px}.screen-pages button>span{font-size:10px}.wall-scene-date{display:none}.wall-process-card{padding:14px 12px}.wall-process-top h3{font-size:18px}.wall-data-tag{display:none}.wall-process-value strong{font-size:29px}.wall-process-time{font-size:11px;line-height:1.6}.wall-process-facts{font-size:12px}.hub-screen-dashboard .hub-panel{padding:18px 14px}.hub-screen-dashboard .hub-panel>header{flex-wrap:wrap}.hub-screen-dashboard .hub-tariffs{grid-template-columns:1fr;gap:18px}.hub-screen-dashboard .hub-tariffs article+article{border-left:0;border-top:1px solid #31495a;padding:16px 0 0}.hub-screen-dashboard .hub-energy-number{display:flex;align-items:center;gap:12px}.hub-screen-dashboard .hub-band-values{grid-template-columns:repeat(4,minmax(0,1fr))}.hub-screen-dashboard .hub-quality>a{font-size:16px}.hub-screen-dashboard .hub-source-time{font-size:13px}.hub-screen-dashboard .hub-sources small{font-size:12px}.wall-business-context{grid-template-columns:1fr;gap:12px}.wall-business-context>div{border-right:0;border-bottom:1px solid #355164;padding:0 0 12px;display:flex;justify-content:space-between;align-items:center;gap:10px}.wall-business-context>div:last-child{padding-bottom:0}.wall-business-context strong{margin:0}.production-scope{font-size:12px;line-height:1.7}.wall-progress{min-width:120px}.screen-logo{width:38px;height:38px}.screen-brand h1{font-size:20px}.screen-brand p{font-size:8px}.wall-observation{font-size:15px}.wall-observation>b{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

/* Reference direction: blue industrial console, locally drawn accents; no external assets. */
body{background:radial-gradient(ellipse at 50% -15%,#14345c 0,transparent 60%),linear-gradient(180deg,#071325,#050e1b);--wall-accent:#69caff;--wall-border:#233e60}
.screen-header{position:relative;border-bottom:1px solid #2d527b;background:linear-gradient(90deg,#0b1b30,#102948 50%,#0b1b30)}.screen-header:after{content:"";position:absolute;height:2px;bottom:-1px;width:36%;left:32%;background:linear-gradient(90deg,transparent,#75d1ff,transparent);pointer-events:none}.screen-logo{background:#73ceff;color:#122e52;box-shadow:0 0 25px #3b9ede25}.screen-brand p{color:#82bce8}.screen-brand h1{letter-spacing:2px;text-shadow:0 0 22px #7ac4ff30}.screen-pages button[aria-pressed=true]{background:linear-gradient(180deg,#17385f,#102a48);border-color:#4678ab;color:#99dcff;box-shadow:inset 0 -2px #70c6ff}.screen-pages button[aria-pressed=true]>span{color:#88ccff}.wall-eyebrow{color:#8bceff}.wall-scene-number{color:#426b92}.wall-process-card{background:linear-gradient(120deg,#142d49,#102039);border-color:#2e5276}.wall-process-card.is-unknown{background:#101d30}.wall-process-card,.hub-screen-dashboard .hub-panel{border-radius:5px;position:relative}.hub-screen-dashboard .hub-panel{background:linear-gradient(135deg,#10243d,#0a192e);border-color:#2a4566}.hub-screen-dashboard .hub-panel:before{content:"";position:absolute;left:0;top:0;width:28px;height:13px;border-left:2px solid #6cbdff;border-top:2px solid #6cbdff;pointer-events:none}.hub-screen-dashboard .hub-panel:after{content:"";position:absolute;bottom:0;right:0;width:28px;height:13px;border-right:2px solid #6cbdff;border-bottom:2px solid #6cbdff;pointer-events:none}.hub-screen-dashboard .hub-panel h3{border-left:3px solid #71c7ff;padding-left:10px}.wall-period-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #345371}.wall-period-values>div{display:grid;gap:5px;min-width:0}.wall-period-values span{font-size:13px;color:#a0bbd2}.wall-period-values b{font-size:23px;font-weight:500;color:#cae8ff;overflow-wrap:anywhere}.wall-period-values small{font-size:11px;color:#8aa7c0;font-weight:400}.wall-period-values b small{font-size:12px}.wall-process-time{border-top:0;padding-top:0}.wall-energy-summary{background:linear-gradient(105deg,#15364c,#112440);border-color:#356887}.wall-business-context{background:#10263f;border-color:#2e5277}.hub-screen-dashboard .hub-metric{background:linear-gradient(110deg,#142c46,#0e2038);border-radius:5px}.hub-screen-dashboard .hub-data-warning{border-radius:5px}.wall-context-note{background:#19314a;border-radius:4px}.screen-tools button,.screen-tools a{background:#122b46;border-color:#355477}.wall-data-tag{background:#0d2939}.wall-process-value strong{text-shadow:0 0 28px #82c9ff15}
@media(min-width:1600px){.screen-header{display:grid;grid-template-columns:1fr auto 1fr;padding-top:14px;padding-bottom:14px}.screen-brand{grid-column:2;justify-content:center}.screen-brand h1{font-size:29px}.screen-brand p{text-align:center}.screen-logo{display:none}.screen-tools{grid-column:3;justify-content:flex-end;gap:5px;font-size:12px}.screen-tools #screen-clock{position:absolute;left:28px;font-size:17px;letter-spacing:1px}.screen-tools button,.screen-tools a{padding:8px}.screen-pages{justify-content:center}.screen-pages label{position:absolute;right:28px}.screen-pages button{padding-left:20px;padding-right:20px}}
@media(min-width:901px) and (max-height:900px){.wall-period-values{margin-top:9px;padding-top:8px;gap:9px}.wall-period-values b{font-size:20px}.wall-period-values span{font-size:12px}.wall-period-values small{font-size:10px}.wall-process-time{margin-top:8px}.wall-process-value strong{font-size:34px}}
@media(max-width:900px){.wall-period-values{gap:8px}.wall-period-values b{font-size:22px}.wall-period-values span{font-size:12px}.wall-period-values small{font-size:10px}}
@media(max-width:520px){.wall-period-values{grid-template-columns:1fr;gap:9px}.wall-period-values>div{grid-template-columns:1fr auto;gap:3px;align-items:baseline}.wall-period-values>div>small{grid-column:1/-1}.wall-period-values b{font-size:19px}.wall-period-values span{font-size:11px}}

/* Embedded browser panels and short monitors must scroll, never clip the dashboard. */
@media(max-height:900px),(max-width:1400px){
 body{height:auto;min-height:100dvh;overflow:auto}
 #screen-content{flex:none;min-height:0;overflow:visible}
 .hub-screen-dashboard{height:auto;min-height:0}
 .production-screen-grid{flex:none;grid-template-rows:auto;align-items:stretch}
 .hub-screen-dashboard .hub-panel{min-height:340px;overflow:visible}
 .hub-screen-dashboard .hub-line-chart{flex:none;height:260px;min-height:260px}
 .hub-screen-dashboard .hub-energy-view:not([hidden]){flex:none}
 .screen-energy-panels .hub-energy-chart{grid-column:1/-1;grid-row:1}
 .screen-energy-panels .wall-tariff-panel{grid-column:1;grid-row:2}
 .screen-energy-panels .wall-bill-panel{grid-column:2;grid-row:2}
 .production-screen-table{max-height:560px;overflow:auto;flex:1}
 .screen-camera-page{overflow:visible;flex:none}
 .screen-camera-page .camera-controls{position:static}
 .screen-camera-page .camera-grid .camera-image{max-height:none}
 .screen-header{min-width:0;flex-wrap:wrap}
 .screen-tools{min-width:0;flex-wrap:wrap}
 .is-focus #screen-content{padding-bottom:80px}
}
@media(max-width:1100px){
 .production-screen-grid{grid-template-columns:minmax(0,1fr)}
 .screen-energy-panels .hub-energy-chart,.screen-energy-panels .wall-tariff-panel,.screen-energy-panels .wall-bill-panel{grid-column:1;grid-row:auto}
}
@media(max-width:520px){.hub-screen-dashboard .hub-panel{min-height:300px}.hub-screen-dashboard .hub-line-chart{height:220px;min-height:220px}}

/* Data lists retain their intrinsic height; they must never spill upward over headings. */
.hub-screen-dashboard .hub-ranks,.hub-screen-dashboard .hub-tariffs,.hub-screen-dashboard .hub-sources,.hub-screen-dashboard .hub-quality{flex:0 0 auto;min-height:min-content;justify-content:flex-start;align-content:start}
.hub-screen-dashboard .hub-rank,.hub-screen-dashboard .hub-tariffs>article,.hub-screen-dashboard .hub-sources>div,.hub-screen-dashboard .hub-quality>a{flex-shrink:0;min-width:0}
.hub-screen-dashboard .hub-panel>header{flex:0 0 auto;position:relative;min-width:0}
.hub-screen-dashboard .hub-panel header p,.hub-screen-dashboard .hub-account-heading strong{overflow-wrap:anywhere}
.hub-screen-dashboard .hub-chart-legend{min-width:0;align-items:flex-start;row-gap:10px}
.hub-screen-dashboard .hub-chart-legend>span{min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.6}
.hub-screen-dashboard .hub-metric>div,.wall-process-value{min-width:0;flex-wrap:wrap;row-gap:6px}
.hub-screen-dashboard .hub-metric strong,.wall-process-value strong{min-width:0;max-width:100%;overflow-wrap:anywhere}

/* Enterprise visual refresh: presentation only, preserve all chart geometry and scrolling. */
body{background:radial-gradient(ellipse at 8% 0,#194b6570,transparent 55%),radial-gradient(ellipse at 100% 100%,#143b4238,transparent 60%),#081422}
.screen-header{background:linear-gradient(105deg,#112b42ee,#0b1d2eee);border-bottom-color:#2f4b61;box-shadow:0 7px 30px #00000014}
.screen-logo{background:linear-gradient(135deg,#75dfcd,#2b9eb3);box-shadow:0 0 24px #59d4c025;border:1px solid #a4e7e14d}
.screen-brand h1{font-weight:600;letter-spacing:2px}
.screen-tools button,.screen-tools a{background:#173047;border-color:#36536c;border-radius:9px}
.screen-pages button{border-radius:10px}
.screen-pages button[aria-pressed=true]{background:linear-gradient(100deg,#245967,#1a3d52);border-color:#498591;box-shadow:inset 0 -2px #71d9cb,0 5px 16px #00000012;color:#c2fff1}
.hub-screen-dashboard .hub-panel{background:linear-gradient(135deg,#132c41,#0e2032);border-color:#2d4a62;border-radius:15px;box-shadow:0 12px 26px #00000016}
.hub-screen-dashboard .hub-panel>header{border-bottom-color:#2c485f}
.wall-process-card{background:linear-gradient(125deg,#173d48,#11283b);border-radius:14px;box-shadow:0 7px 20px #0000000d}
.wall-process-card:nth-child(2){background:linear-gradient(125deg,#1b3654,#11283b)}
.wall-process-card:nth-child(3){background:linear-gradient(125deg,#393b3d,#162b3c)}
.wall-process-card:nth-child(4){background:linear-gradient(125deg,#2a3051,#142a3c)}
.wall-process-card.is-unknown{background:#152638}
.wall-energy-summary{background:linear-gradient(110deg,#214b50,#153249);border-color:#3d6970;border-radius:14px}
.wall-scene-number{color:#6c98b2}.wall-scene-heading h2{font-weight:550}
.screen-footer{background:#0a1c2c;border-top-color:#29475e}
.screen-camera-page .camera-tile{border-color:#35546b;border-radius:12px;background:#10293b}
#screen-login form{background:linear-gradient(135deg,#19384e,#10283b);border-color:#3c5e74;border-radius:20px}

/* Operations wallboard: calm dark surfaces and a clear reading order. */
body{background:#081321;--wall-accent:#68d5cc;--wall-border:#294359}
.screen-header{background:#0e2032;box-shadow:none;border-bottom:1px solid #294359}
.screen-header:after{display:none}
.screen-brand h1{text-shadow:none;font-weight:650;letter-spacing:1px}
.screen-brand p{color:#91afc6}
.screen-tools button,.screen-tools a{background:#122c42;color:#d8e8f5;border-color:#36536b;border-radius:7px}
.screen-pages{background:#0c1c2c;border-bottom:1px solid #294359;gap:8px}
.screen-pages button{border-radius:7px;color:#9cb6ca}
.screen-pages button[aria-pressed=true]{background:#163e49;border-color:#4b9f9f;color:#d3fff7;box-shadow:inset 0 -2px #68d5cc}
.wall-scene-number{color:#69c3c4;font-size:38px;font-weight:500}
.wall-scene-heading h2{font-weight:650;letter-spacing:.5px}
.wall-scene-heading p,.production-scope{color:#a8bfd2}
.wall-scene-date{border-left:1px solid #355267;padding-left:20px}
.hub-screen-dashboard{--hub-surface:#102438;--hub-grid:#294256;--hub-muted:#aac0d3;--hub-line:#2d485e}
.hub-screen-dashboard .hub-panel{border-radius:10px;background:#102438;border-color:#2d485e;box-shadow:none}
.hub-screen-dashboard .hub-panel:before,.hub-screen-dashboard .hub-panel:after{display:none}
.hub-screen-dashboard .hub-panel h3{border-left:0;padding-left:0;font-weight:600;color:#edf6ff}
.hub-screen-dashboard .hub-panel>header{border-bottom:1px solid #294256;padding-bottom:12px;margin-bottom:12px}
.hub-screen-dashboard .hub-panel header p{color:#aac0d3;line-height:1.7}
.wall-process-card,.wall-process-card:nth-child(2),.wall-process-card:nth-child(3),.wall-process-card:nth-child(4){background:#122a3c;border-radius:10px;box-shadow:none;border:1px solid #335468;border-top:3px solid #52c9c1}
.wall-process-card:nth-child(2){border-top-color:#729bee}.wall-process-card:nth-child(3){border-top-color:#e3b45d}.wall-process-card:nth-child(4){border-top-color:#b29be1}
.wall-process-card.is-unknown{background:#101f30;border-color:#3a4d60;border-top-color:#657c91}
.wall-process-value strong{text-shadow:none;font-weight:600}
.wall-period-values{border-color:#2c4b60}.wall-period-values b{color:#e5f2fe}
.wall-energy-summary,.wall-business-context{background:#123344;border:1px solid #31556a;border-radius:10px}
.hub-screen-dashboard .hub-metric{background:#122a3c;border-radius:10px}
.hub-screen-dashboard .hub-chart-legend{color:#c3d5e5;column-gap:18px}
.hub-screen-dashboard .hub-series-0{stroke:#54d2c8}.hub-screen-dashboard .hub-series-1{stroke:#80a5ff}.hub-screen-dashboard .hub-series-2{stroke:#edbd6a}.hub-screen-dashboard .hub-series-3{stroke:#bea4ed}
.hub-screen-dashboard .hub-legend-0{background:#54d2c8}.hub-screen-dashboard .hub-legend-1{background:#80a5ff}.hub-screen-dashboard .hub-legend-2{background:#edbd6a}.hub-screen-dashboard .hub-legend-3{background:#bea4ed}
.hub-screen-dashboard .hub-compare-bar-0{fill:#54c8c0}.hub-screen-dashboard .hub-compare-bar-1{fill:#7699e6}
.screen-topic-production .hub-comparison-columns{display:block;width:100%;height:clamp(180px,23vh,280px);min-height:180px;flex:1 1 auto}
.wall-data-notes{flex:0 0 auto;border-top:1px solid #355267;padding-top:10px;margin-top:12px;font-size:14px;color:#a8c1d4;max-height:180px;overflow:auto}
.wall-data-notes summary{cursor:pointer;line-height:1.6;color:#bbdfeb}
.wall-data-notes[open] summary{margin-bottom:12px}.wall-data-notes p{line-height:1.7}
.hub-screen-dashboard .hub-footnote{color:#9cb7cd}
.screen-footer{background:#0b1b2a;color:#91adc3;border-color:#294359}
@media(min-width:1600px){.screen-brand h1{font-size:27px}.screen-pages button{font-size:16px}.hub-screen-dashboard .hub-axis{font-size:13px}}
@media(max-width:900px){.wall-scene-date{border-left:0;padding-left:0}.screen-topic-production .hub-comparison-columns{height:260px;flex:none}.wall-data-notes{max-height:260px}}

/* Six independent processing stages; order intake is a separate business event. */
.wall-order-intake{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:18px;align-items:center;background:#122a3c;border:1px solid #335468;border-left:3px solid #54c8c0;border-radius:9px;padding:10px 20px;margin-bottom:12px;text-decoration:none;color:#e5f2fe;flex:none}
.wall-order-intake h3{font-size:20px;margin:0 0 4px}.wall-order-intake small{font-size:12px;color:#a8bfd2}.wall-order-period{display:flex;gap:8px 14px;align-items:baseline;flex-wrap:wrap;min-width:0}.wall-order-period>span{font-size:14px}.wall-order-period strong{font-size:25px;overflow-wrap:anywhere}.wall-order-period>small{font-size:11px}
.wall-process-lane{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.wall-process-card{padding:16px 14px}.wall-process-top{flex-wrap:wrap;gap:7px}.wall-step{display:none}.wall-process-top h3{font-size:20px}.wall-process-value strong{font-size:38px}.wall-process-facts{display:flex;flex-wrap:wrap;gap:6px 12px}.wall-period-values{gap:8px}.wall-period-values b{font-size:21px}
.wall-process-card:nth-child(5){border-top-color:#e68daf}.wall-process-card:nth-child(6){border-top-color:#9bd47b}
.hub-screen-dashboard .hub-series-4{stroke:#e68daf}.hub-screen-dashboard .hub-series-5{stroke:#9bd47b}.hub-screen-dashboard .hub-legend-4{background:#e68daf}.hub-screen-dashboard .hub-legend-5{background:#9bd47b}
.screen-production-panels{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.screen-topic-production .hub-comparison-columns{min-width:560px}
@media(min-width:901px) and (max-height:900px){.wall-order-intake{padding:7px 14px;gap:12px;margin-bottom:8px}.wall-order-intake h3{font-size:17px}.wall-order-period strong{font-size:21px}.wall-order-period>small{display:none}.wall-process-card{padding:10px 12px}.wall-process-top h3{font-size:17px}.wall-data-tag{display:none}.wall-process-value{margin:8px 0}.wall-process-value strong{font-size:30px}.screen-topic-production .hub-comparison-columns{height:170px;min-height:150px}.wall-data-notes{margin-top:6px;padding-top:6px}.hub-screen-dashboard .hub-chart-legend{column-gap:12px}}
@media(max-width:1500px) and (min-width:901px){.wall-process-facts{display:grid}.wall-data-tag{display:none}.wall-process-top h3{font-size:17px}}
@media(max-width:900px){.wall-process-lane{grid-template-columns:repeat(2,minmax(0,1fr))}.wall-order-intake{grid-template-columns:1fr 1fr;padding:14px;gap:16px}.wall-order-period{display:grid;gap:5px}.screen-production-panels{grid-template-columns:1fr}.wall-process-value strong{font-size:32px}.screen-topic-production .hub-comparison-columns{height:260px}.screen-topic-production .wall-observation-panel{overflow-x:auto}}

@media(min-width:901px){.screen-topic-production .hub-comparison-columns{min-height:130px;height:clamp(140px,18vh,210px)}.screen-topic-production .wall-data-notes{margin-top:6px;padding-top:6px}}

.wall-process-value strong{line-height:1.2}.wall-process-value{row-gap:12px}.wall-process-value.is-long strong,.screen-large-type .wall-process-value.is-long strong{font-size:clamp(17px,1.5vw,30px);letter-spacing:0}

.screen-footer{flex-wrap:wrap}.screen-footer>span{min-width:0;overflow-wrap:anywhere}.wall-process-time,.wall-process-facts{overflow-wrap:anywhere}

/* Area comparison keeps six categories readable inside its own scroll region. */
.screen-topic-area .wall-observation-panel{overflow-x:auto;min-width:0}.screen-topic-area .wall-observation-panel .hub-comparison-columns{flex-shrink:0}

/* Compact wallboard: left navigation and a fitted, non-scrolling presentation. */
body.screen-clean{display:grid;grid-template-columns:132px minmax(0,1fr);grid-template-rows:54px minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden}
.screen-clean .screen-header{grid-column:1/3;grid-row:1;position:static;display:flex;justify-content:space-between;align-items:center;padding:8px 18px;height:auto;min-height:0;gap:16px}
.screen-clean .screen-brand{position:static;inset:auto;transform:none;width:auto;min-width:0;display:block;text-align:left}
.screen-clean .screen-brand p,.screen-clean .screen-logo{display:none}
.screen-clean .screen-brand h1{font-size:22px;line-height:1.3;white-space:nowrap;letter-spacing:0}
.screen-clean .screen-tools{position:static;inset:auto;transform:none;display:flex;gap:8px;margin:0}
.screen-clean .screen-tools button,.screen-clean .screen-tools a{font-size:13px;padding:7px 10px}
.screen-clean .screen-pages{grid-column:1;grid-row:2;position:static;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;padding:18px 10px;border:0;border-right:1px solid #294359;min-width:0;min-height:0;overflow:visible}
.screen-clean .screen-pages button{justify-content:flex-start;padding:14px 10px;font-size:16px;line-height:1.4;white-space:normal;width:100%;margin:0}
.screen-clean #screen-content{grid-column:2;grid-row:2;position:relative;padding:0;min-width:0;min-height:0;overflow:hidden;height:100%;width:100%}
.screen-clean .screen-fit-stage{position:absolute;transform-origin:top left;padding:14px 18px;box-sizing:border-box;overflow:visible}
.screen-clean .hub-screen-dashboard{height:100%;min-height:0;display:flex;flex-direction:column;overflow:visible}
.screen-clean .wall-scene-number,.screen-clean .wall-eyebrow,.screen-clean .wall-scene-date,.screen-clean .wall-scene-heading p,.screen-clean .wall-process-time,.screen-clean .wall-data-notes,.screen-clean .wall-energy-schedule,.screen-clean .wall-context-note,.screen-clean .hub-source-time{display:none!important}
.screen-clean .wall-scene-heading{margin:0 0 6px;flex:none;min-height:32px}
.screen-clean .wall-scene-title{gap:0}.screen-clean .wall-scene-heading h2{font-size:27px;line-height:1.25}
.screen-clean .production-scope{font-size:13px;line-height:1.5;margin:0 0 10px;flex:none;color:#9cb7cc}
.screen-clean .wall-order-intake{grid-template-columns:minmax(0,1.1fr) repeat(3,minmax(0,1fr));padding:10px 14px;margin:0 0 12px;gap:12px;flex:none}
.screen-clean .wall-order-intake>div:first-child>small,.screen-clean .wall-order-period>small{display:none}
.screen-clean .wall-order-intake h3{font-size:19px;margin:0}.screen-clean .wall-order-period{display:flex;align-items:baseline;gap:6px 10px;min-width:0}.screen-clean .wall-order-period>span{font-size:15px}.screen-clean .wall-order-period strong{font-size:25px}.screen-clean .wall-order-period strong small{font-size:12px}
.screen-clean .wall-process-lane{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 12px;flex:none}
.screen-clean .wall-process-card{padding:13px 12px;min-width:0;border-radius:8px}
.screen-clean .wall-process-top{gap:5px;min-height:24px;flex-wrap:wrap}.screen-clean .wall-process-top h3{font-size:19px;white-space:nowrap}.screen-clean .wall-data-tag{display:inline-block;font-size:11px;margin-left:0;padding:2px 4px;color:#ffcf8a}
.screen-clean .wall-process-value{margin:10px 0;gap:6px}.screen-clean .wall-process-value strong{font-size:34px;line-height:1.15}.screen-clean .wall-process-value.is-long strong{font-size:25px}.screen-clean .wall-process-value>span{font-size:14px}
.screen-clean .wall-process-facts{display:flex;gap:4px;font-size:12px;line-height:1.5}.screen-clean .wall-process-facts b{font-size:14px}
.screen-clean .wall-period-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:10px;margin-top:10px}.screen-clean .wall-period-values span{font-size:13px}.screen-clean .wall-period-values b{font-size:20px}.screen-clean .wall-period-values small{font-size:11px}
.screen-clean .production-screen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:12px;flex:1;min-height:0}
.screen-clean .screen-one-panel{grid-template-columns:minmax(0,1fr)}
.screen-clean .hub-screen-dashboard .hub-panel{padding:16px;min-width:0;min-height:0;overflow:visible;display:flex;flex-direction:column}
.screen-clean .hub-panel>header{padding:0 0 9px;margin:0 0 9px;flex:none;gap:8px}.screen-clean .hub-panel h3{font-size:21px;line-height:1.4;margin:0}
.screen-clean .hub-panel header p,.screen-clean .hub-footnote{display:none}.screen-clean .hub-more{font-size:13px;white-space:nowrap}
.screen-clean .hub-chart-legend{font-size:13px;gap:6px 12px;line-height:1.5;padding:0;flex:none}
.screen-clean .hub-panel .hub-line-chart,.screen-clean .hub-panel .hub-comparison-columns{width:100%;height:0;min-width:0!important;min-height:0!important;max-height:none;flex:1 1 0;margin:6px 0 0;overflow:visible;display:block}
.screen-clean .hub-axis{font-size:13px}
.screen-clean .production-screen-table{flex:1;overflow:visible;min-height:0}.screen-clean .production-screen-table table{font-size:17px;white-space:normal;table-layout:fixed;width:100%}.screen-clean .production-screen-table th{position:static;font-size:14px}.screen-clean .production-screen-table td,.screen-clean .production-screen-table th{padding:10px;line-height:1.5;overflow-wrap:anywhere}.screen-clean .production-screen-table td small{font-size:12px}
.screen-clean .wall-progress{min-width:0;font-size:12px;margin-top:4px;gap:6px}.screen-clean .wall-progress-track{width:60px}
.screen-clean .hub-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px;flex:none}.screen-clean .hub-metric{padding:14px}.screen-clean .hub-metric-label{font-size:16px}.screen-clean .hub-metric strong{font-size:30px}.screen-clean .hub-metric>div{margin:8px 0}.screen-clean .hub-metric small{font-size:12px}
.screen-clean .wall-business-context{padding:14px 18px;margin-bottom:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.screen-clean .wall-business-context>div{padding:0 18px;display:block;border-bottom:0}.screen-clean .wall-business-context span{font-size:16px}.screen-clean .wall-business-context strong{font-size:32px;margin-top:6px}
.screen-clean .hub-ranks{gap:12px;flex:1;min-height:0;justify-content:space-around}.screen-clean .hub-rank-head{margin-bottom:6px}.screen-clean .hub-rank-head,.screen-clean .hub-rank-head strong{font-size:17px}.screen-clean .hub-rank-head small{font-size:12px}
.screen-clean .screen-energy-panels{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:1fr 1fr}.screen-clean .screen-energy-panels .hub-energy-chart{grid-column:1;grid-row:1/3}.screen-clean .screen-energy-panels .wall-tariff-panel{grid-column:2;grid-row:1}.screen-clean .screen-energy-panels .wall-bill-panel{grid-column:2;grid-row:2}
.screen-clean .wall-energy-summary{padding:12px 18px;margin:0 0 12px;flex:none}.screen-clean .wall-energy-summary>p{display:none}.screen-clean .wall-energy-summary strong{font-size:32px;margin:4px 0}.screen-clean .wall-energy-summary>div:first-child>span{font-size:14px}
.screen-clean .hub-energy-view:not([hidden]){flex:1;min-height:0;display:flex;flex-direction:column}.screen-clean .hub-energy-toggle{margin-bottom:8px}.screen-clean .hub-energy-toggle button{font-size:14px;padding:6px 12px}
.screen-clean .hub-tariffs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.screen-clean .hub-tariffs article+article{padding:0 0 0 12px;border-top:0;border-left:1px solid #294359}.screen-clean .hub-account-heading strong{font-size:14px;line-height:1.4}.screen-clean .hub-account-heading>span,.screen-clean .hub-energy-number span{display:none}.screen-clean .hub-energy-number{margin:6px 0}.screen-clean .hub-energy-number b{font-size:24px}.screen-clean .hub-band-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.screen-clean .hub-band-values span,.screen-clean .hub-band-values b{font-size:12px}
.screen-clean .wall-bill-panel td,.screen-clean .wall-bill-panel th{padding:7px 9px;font-size:14px}
.screen-clean .hub-sources>div{padding:14px 0}.screen-clean .hub-sources b{font-size:19px}.screen-clean .hub-sources small{font-size:13px}.screen-clean .hub-quality>a{font-size:19px;padding:18px 0}
.screen-clean .screen-footer{display:none;position:fixed;bottom:8px;left:148px;right:16px;padding:7px 12px;border:1px solid #876a37;border-radius:6px;background:#2a2319;z-index:30;font-size:12px;pointer-events:none}.screen-clean .screen-footer.is-warning{display:block}.screen-clean #screen-updated{display:none!important}
.screen-clean #screen-login{position:fixed;inset:54px 0 0;display:grid;place-items:center;overflow:visible}.screen-clean #screen-login form{max-height:calc(100dvh - 70px);padding:24px}
@media(max-width:700px){body.screen-clean{grid-template-columns:84px minmax(0,1fr);grid-template-rows:44px minmax(0,1fr)}.screen-clean .screen-header{padding:6px 9px;gap:8px}.screen-clean .screen-brand h1{font-size:16px}.screen-clean .screen-tools{gap:4px}.screen-clean .screen-tools button,.screen-clean .screen-tools a{padding:5px 6px;font-size:11px}.screen-clean #screen-logout{display:none}.screen-clean .screen-pages{padding:10px 5px;gap:8px}.screen-clean .screen-pages button{font-size:13px;padding:12px 7px}.screen-clean .screen-footer{left:90px;right:6px}.screen-clean #screen-login{inset:44px 0 0}}

.screen-clean .screen-camera-page{flex:1;min-height:0;overflow:visible}.screen-clean .camera-view{height:100%;display:flex;flex-direction:column;min-height:0;padding:0;border:0}
.screen-clean .camera-view>header,.screen-clean .camera-settings,.screen-clean .camera-station-heading,.screen-clean .camera-captured{display:none!important}
.screen-clean .camera-controls{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;margin:0}.screen-clean .camera-controls label{font-size:14px}.screen-clean .camera-controls select,.screen-clean .camera-controls button,.screen-clean .camera-controls a{font-size:14px;min-height:34px;padding:5px 8px}.screen-clean .camera-controls a{display:none}.screen-clean .camera-status{font-size:13px}
.screen-clean .camera-station-message{flex:none;font-size:13px;line-height:1.4;margin:4px 0 8px}.screen-clean .camera-grid{display:grid;flex:1;min-height:0;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));overflow:visible}.screen-clean .camera-grid-1{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.screen-clean .camera-grid-9{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.screen-clean .camera-grid-16{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}
.screen-clean .camera-tile{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:visible;border-radius:7px}.screen-clean .camera-tile h3{flex:none;padding:4px 8px;margin:0;font-size:13px;min-height:0}.screen-clean .camera-tile h3 label,.screen-clean .camera-tile h3 button,.screen-clean .camera-tile h3 select{font-size:12px;padding:2px 5px;min-height:24px}.screen-clean .camera-tile-station{font-size:13px;padding:4px 8px 0;flex:none}.screen-clean .camera-image{flex:1;min-height:0;aspect-ratio:auto;height:auto;overflow:hidden}.screen-clean .camera-image video,.screen-clean .camera-image img{height:100%;width:100%;object-fit:contain}.screen-clean .camera-image>span{font-size:12px;padding:8px}

.screen-clean .screen-camera-page .camera-grid{width:100%;max-width:none;margin:0;align-self:stretch}.screen-clean .screen-camera-page .camera-grid .camera-image{min-height:0;max-height:none}.screen-clean .camera-station-message{display:none}

/* Same hierarchy as the workbench, tuned for a distant dark display. */
body.screen-clean{background:#0b1422;background-image:none;color:#e4edf8}
.screen-clean .screen-header{background:#101e31;border-bottom:1px solid #2b3e57;box-shadow:none}
.screen-clean .screen-header::before,.screen-clean .screen-header::after{display:none}
.screen-clean .screen-brand h1{color:#e9f1fc;text-shadow:none}
.screen-clean .screen-pages{background:#0f1b2c;border-right-color:#273b53}
.screen-clean .screen-pages button{background:transparent;border-color:transparent;border-radius:7px;color:#a9bcd4;box-shadow:none;text-shadow:none}
.screen-clean .screen-pages button:hover{background:#1a2c44;color:#fff}
.screen-clean .screen-pages button[aria-pressed="true"]{background:#214671;border-color:#315a86;color:#fff;box-shadow:inset 3px 0 #72b5ff}
.screen-clean .hub-screen-dashboard .hub-panel,.screen-clean .wall-process-card,.screen-clean .hub-metric{background:#142337;border-color:#2a3f58;box-shadow:none;border-radius:8px}
.screen-clean .hub-panel>header{border-bottom-color:#2a3f58}.screen-clean .hub-panel h3,.screen-clean .wall-scene-heading h2{color:#edf4ff;text-shadow:none}
.screen-clean .wall-order-intake,.screen-clean .wall-business-context,.screen-clean .wall-energy-summary{background:#172b43;border-color:#2c4966;box-shadow:none}
.screen-clean .wall-process-value strong,.screen-clean .hub-metric strong{text-shadow:none}
.screen-clean .hub-axis{fill:#afc1d7}.screen-clean .hub-grid-line{stroke:#30435b}
.screen-clean .production-screen-table th{background:#1b304a;color:#b4c8df}.screen-clean .production-screen-table td{border-color:#2a3f58}
.screen-clean .hub-more{color:#80bbff}.screen-clean .screen-tools button,.screen-clean .screen-tools a{background:#192d47;border-color:#34506e;color:#d9e8fa;border-radius:6px}

/* Execution wall: production quantity and registered area have equal visual priority. */
.screen-clean .screen-topic-production .wall-process-card{--process-color:#46c2b3;border-top:4px solid var(--process-color);background:#162a40;border-radius:9px;padding:12px}
.screen-clean .screen-topic-production .wall-process-card:nth-child(2){--process-color:#86aaff}.screen-clean .screen-topic-production .wall-process-card:nth-child(3){--process-color:#b99be5}.screen-clean .screen-topic-production .wall-process-card:nth-child(4){--process-color:#e0b45b}.screen-clean .screen-topic-production .wall-process-card:nth-child(5){--process-color:#db8daf}.screen-clean .screen-topic-production .wall-process-card:nth-child(6){--process-color:#99bf77}
.screen-clean .screen-topic-production .wall-process-value strong{color:#fff;font-size:36px}.screen-clean .screen-topic-production .wall-process-value.is-long strong{font-size:25px}
.screen-clean .screen-topic-production .wall-process-facts{display:flex;flex-wrap:wrap;gap:4px 8px;border-top:1px solid #30445b;padding-top:9px;min-height:44px;align-content:start}
.screen-clean .screen-topic-production .wall-process-facts>span{font-size:12px;line-height:1.5}.screen-clean .screen-topic-production .wall-process-facts b{font-size:21px;font-weight:600;color:var(--process-color);overflow-wrap:anywhere}
.screen-clean .screen-topic-production .wall-period-values{gap:6px;margin-top:8px;padding-top:9px}.screen-clean .screen-topic-production .wall-period-values b{font-size:19px}.screen-clean .screen-topic-production .wall-period-values small{font-size:11px}
.screen-clean .screen-topic-production .wall-order-intake{background:#1a3a57;border-left:4px solid #67a9e9}.screen-clean .screen-topic-production .wall-order-intake h3{font-size:22px}
.screen-clean .hub-panel::before,.screen-clean .hub-panel::after{display:none}.screen-clean .hub-panel h3{border-left:0;padding-left:0}
.screen-clean .live-screen-badge{margin-left:auto;flex-shrink:0;font-size:13px;line-height:1.4;color:#94e7cc;border:1px solid #32745f;background:#173b36;border-radius:5px;padding:4px 9px}
.screen-clean .live-value-changed{color:#a6ffdb!important;background:#1e4c43!important;outline-color:#5ccda4}

/* MES source area is a primary wallboard measure, separate from reconciled pieces. */
.screen-clean .screen-topic-production .wall-scan-area{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:7px 0 9px;border-top:1px solid #30445b;color:var(--process-color);min-width:0}
.screen-clean .wall-scan-area>span,.screen-clean .wall-area-label{font-size:13px;line-height:1.4;color:#b6cbe0}
.screen-clean .wall-scan-area strong{font-size:29px;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.screen-clean .wall-scan-area small{font-size:11px;line-height:1.35;color:#9db5c9}
.screen-clean .screen-topic-production:not(.screen-topic-area) .wall-process-value{margin:6px 0}
.screen-clean .screen-topic-production:not(.screen-topic-area) .wall-process-facts{min-height:0;padding-top:5px}
.screen-clean .screen-topic-production:not(.screen-topic-area) .wall-process-facts b{font-size:15px}
.screen-clean .screen-topic-area .wall-area-label{margin-top:9px}
.screen-clean .wall-erp-area{display:flex;flex-wrap:wrap;gap:2px 6px;font-size:12px;line-height:1.4;color:#9db5c9;min-width:0}
.screen-clean .wall-erp-area b{font-size:14px;overflow-wrap:anywhere;color:#c9d8e6}
.screen-clean .screen-topic-area .wall-period-values b{overflow-wrap:anywhere;font-size:18px}

/* Joint production area: keep exact figures readable on all six cards. */
.screen-clean .wall-scan-area strong{font-size:clamp(17px,1.5vw,29px);white-space:nowrap;overflow-wrap:normal;letter-spacing:-.5px}
.screen-clean .wall-area-sources{display:grid;gap:2px;color:#a9c3d8;font-size:12px;line-height:1.5}
.screen-clean .wall-area-sources b{color:#d7e5f2;font-variant-numeric:tabular-nums}
.screen-clean .screen-topic-area .wall-period-values b{font-size:clamp(11px,1vw,18px);white-space:nowrap;overflow-wrap:normal;letter-spacing:-.5px}

.screen-clean .screen-topic-area .wall-period-values b.is-long{font-size:10px;letter-spacing:-.4px}


/* Explicit CSS columns respect the page CSP; header and body share a fixed grid. */
.screen-clean .delivery-aligned-table col:nth-child(1){width:24%}.screen-clean .delivery-aligned-table col:nth-child(2){width:12%}.screen-clean .delivery-aligned-table col:nth-child(3),.screen-clean .delivery-aligned-table col:nth-child(4),.screen-clean .delivery-aligned-table col:nth-child(5),.screen-clean .delivery-aligned-table col:nth-child(6){width:10%}.screen-clean .delivery-aligned-table col:nth-child(7),.screen-clean .delivery-aligned-table col:nth-child(8){width:12%}.screen-clean .delivery-aligned-table td:first-child b{white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}.screen-clean .delivery-aligned-table td:first-child small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen-clean .delivery-aligned-table th,.screen-clean .delivery-aligned-table td{padding:8px 10px}.screen-clean .delivery-aligned-table .wall-progress-track{height:4px}.screen-clean .delivery-aligned-table{min-height:0;flex:1}.screen-clean .screen-topic-delivery .hub-panel{min-height:0}@media(min-width:701px) and (max-height:800px){.screen-clean .delivery-aligned-table tbody tr:nth-child(n+5){display:none}.screen-clean .delivery-aligned-table th,.screen-clean .delivery-aligned-table td{padding:6px 5px}.screen-clean .screen-topic-delivery .hub-kpi-grid{margin-bottom:10px}}

@media(min-width:701px){.screen-clean .delivery-aligned-table tbody tr:nth-child(n+7){display:none}}@media(min-width:701px) and (min-height:1200px){.screen-clean .delivery-aligned-table tbody tr:nth-child(n+7){display:table-row}}@media(min-width:701px) and (max-height:900px){.screen-clean .delivery-aligned-table tbody tr:nth-child(n+5){display:none}}

.screen-clean .delivery-area-table col:nth-child(1){width:26%}.screen-clean .delivery-area-table col:nth-child(2),.screen-clean .delivery-area-table col:nth-child(3),.screen-clean .delivery-area-table col:nth-child(4),.screen-clean .delivery-area-table col:nth-child(5){width:14%}.screen-clean .delivery-area-table col:nth-child(6),.screen-clean .delivery-area-table col:nth-child(7){width:9%}

/* One row: optimization, then the six processing stages. */
@media(min-width:901px){.screen-clean .screen-topic-area .wall-process-lane{grid-template-columns:repeat(7,minmax(0,1fr))}}
.wall-optimization-card .optimization-card-periods{display:grid;gap:10px;margin-top:10px;border-top:1px solid #29434b;padding-top:10px}.wall-optimization-card .optimization-card-period>span{font-size:13px;color:#a0b8c9}.wall-optimization-card .optimization-card-number{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;margin:5px 0}.wall-optimization-card .optimization-card-number b{font-size:clamp(14px,1.2vw,22px);white-space:nowrap;color:#e2f5f0}.wall-optimization-card .optimization-card-number>span{font-size:12px;color:#a0b8c9}.wall-optimization-card .optimization-card-period>small{display:block;font-size:11px;color:#9ab7c5;line-height:1.5}

.screen-clean .screen-topic-area .wall-process-value{flex-wrap:wrap}.screen-clean .screen-topic-area .wall-process-value strong{white-space:nowrap;overflow-wrap:normal;word-break:normal}.screen-clean .screen-topic-area .wall-process-value.is-long strong{font-size:clamp(13px,1.25vw,24px)}

/* Readable wallboard scale, with the existing large-type switch. */
.screen-clean{font-family:"Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif}.screen-clean .screen-tools :is(button,a){font-size:15px;min-height:40px}.screen-clean .screen-pages button{font-size:17px;line-height:1.45;min-height:48px}.screen-clean .wall-process-top h3{font-size:clamp(18px,1.15vw,24px);line-height:1.4}.screen-clean .wall-area-label,.screen-clean .wall-area-sources{font-size:14px;line-height:1.55}.screen-clean .wall-process-value>span{font-size:16px}.screen-clean .wall-period-values span,.screen-clean .wall-period-values small,.screen-clean .optimization-card-period>small{font-size:13px;line-height:1.5}.screen-clean .wall-period-values b{font-size:clamp(14px,1.1vw,20px)}.screen-clean .wall-period-values{gap:8px}.screen-clean .wall-optimization-card .optimization-card-period>span{font-size:14px}.screen-clean .wall-optimization-card .optimization-card-number>span{font-size:14px}.screen-clean .hub-chart-legend{font-size:15px}.screen-clean .delivery-area-table th,.screen-clean .delivery-area-table td{font-size:16px;line-height:1.45;font-variant-numeric:tabular-nums}.screen-clean .delivery-area-table td small{font-size:13px}.screen-clean .screen-footer{font-size:12px;line-height:1.5}
@media(max-width:900px){.screen-clean .wall-process-lane{grid-template-columns:repeat(2,minmax(0,1fr))!important}.screen-clean .screen-header{flex-wrap:wrap;gap:12px}.screen-clean .screen-tools{flex-wrap:wrap;gap:8px}.screen-clean .wall-process-value strong{font-size:30px}.screen-clean .wall-process-value.is-long strong{font-size:19px}}

/* Wallboard theme */
body.screen-clean {
  --screen-blue: #78a9ff;
  --screen-teal: #55d3b7;
  --screen-surface: #172a42;
  --screen-line: #334d6c;
  --screen-muted: #b3c7df;
  color: #eef5ff;
  background: radial-gradient(ellipse at 82% 0%, #213855 0%, #102136 68%);
}

.screen-clean .screen-header {
  background: linear-gradient(110deg, #1d3553, #142840 58%, #11243b);
  border-color: var(--screen-line);
  box-shadow: inset 0 2px var(--screen-blue);
}

.screen-clean .screen-brand h1 {
  color: #f5f9ff;
  font-weight: 700;
  letter-spacing: .02em;
}

.screen-clean .screen-pages {
  background: #152741;
  border-right-color: var(--screen-line);
}

.screen-clean .screen-pages button {
  background: #1b304b;
  border-color: #304968;
  border-radius: 8px;
  color: #cbdcf3;
  font-weight: 600;
}

.screen-clean .screen-pages button:hover {
  background: #254260;
  border-color: #4e7195;
  color: #f5f9ff;
}

.screen-clean .screen-pages button[aria-pressed="true"] {
  background: #274476;
  border-color: #5280bf;
  color: #f1f7ff;
  box-shadow: inset 3px 0 var(--screen-blue);
}

.screen-clean .screen-tools :is(button, a),
.screen-clean .camera-controls :is(button, select),
.screen-clean .camera-tile h3 :is(button, select),
.screen-clean .hub-energy-toggle button {
  background: #203650;
  border-color: #46617d;
  border-radius: 8px;
  color: #e6effc;
}

.screen-clean #screen-refresh,
.screen-clean #screen-login-form button[type="submit"] {
  background: var(--screen-teal);
  border-color: var(--screen-teal);
  color: #122b30;
  font-weight: 700;
}

.screen-clean :is(#screen-refresh, #screen-login-form button[type="submit"]):hover {
  background: #83e5cf;
  border-color: #83e5cf;
  color: #122b30;
}

.screen-clean .screen-tools :is(button, a):hover,
.screen-clean .camera-controls :is(button, select):hover,
.screen-clean .camera-tile h3 :is(button, select):hover,
.screen-clean .hub-energy-toggle button:hover,
.screen-clean .screen-tools button[aria-pressed="true"],
.screen-clean .hub-energy-toggle button[aria-pressed="true"] {
  border-color: var(--screen-blue);
  color: #f4f8ff;
}

.screen-clean .screen-tools button[aria-pressed="true"],
.screen-clean .hub-energy-toggle button[aria-pressed="true"] {
  background: #274476;
}

.screen-clean :is(button, a, select, input):focus-visible {
  outline: 2px solid var(--screen-blue);
  outline-offset: 2px;
}

.screen-clean :is(.hub-screen-dashboard .hub-panel, .hub-metric,
  .wall-business-context, .wall-energy-summary, .wall-order-intake) {
  background: var(--screen-surface);
  border-color: var(--screen-line);
  border-radius: 12px;
}

.screen-clean .hub-screen-dashboard .hub-metric {
  background: linear-gradient(144deg, #254261, var(--screen-surface) 78%);
  box-shadow: inset 0 2px #446387;
}

.screen-clean .screen-topic-production .wall-process-card {
  background: linear-gradient(150deg, #223b55, var(--screen-surface) 74%);
  border-color: var(--screen-line);
  border-top-color: var(--process-color);
  border-radius: 12px;
}

.screen-clean .screen-topic-production .wall-optimization-card {
  background: linear-gradient(150deg, #21454f, var(--screen-surface) 85%);
  border-top-color: var(--screen-teal);
}

.screen-clean .screen-topic-production a.wall-process-card:hover {
  background: #25425e;
  border-color: var(--screen-blue);
}

.screen-clean .wall-scene-heading {
  margin-bottom: 8px;
  gap: 12px;
}

.screen-clean :is(.wall-scene-heading h2, .hub-panel h3) {
  color: #f5f9ff;
  font-weight: 700;
  letter-spacing: .01em;
}

.screen-clean .wall-scene-heading h2 {
  font-size: 29px;
}

.screen-clean :is(.production-scope, .wall-area-label, .wall-area-sources, .hub-chart-legend) {
  color: var(--screen-muted);
}

.screen-clean :is(.wall-process-value strong, .hub-metric strong,
  .wall-business-context strong, .wall-energy-summary strong, .wall-period-values b) {
  font-variant-numeric: tabular-nums;
}

.screen-clean .wall-optimization-card .wall-process-value strong {
  color: var(--screen-teal);
}

.screen-clean .hub-screen-dashboard .hub-more {
  color: #b5d2ff !important;
}

.screen-clean .hub-panel > header,
.screen-clean .production-screen-table td {
  border-color: var(--screen-line);
}

.screen-clean .production-screen-table th {
  background: #284464;
  color: #d7e6fa;
}

.screen-clean .production-screen-table tbody tr:nth-child(even) td {
  background: #1c314a;
}

.screen-clean .live-screen-badge {
  background: #1b3e47;
  border-color: #3c6b73;
  color: #a1efdf;
  border-radius: 99px;
}

.screen-clean .hub-screen-dashboard .hub-series-0 { stroke: var(--screen-teal); }
.screen-clean .hub-screen-dashboard .hub-series-1 { stroke: var(--screen-blue); }
.screen-clean .hub-screen-dashboard .hub-legend-0 { background: var(--screen-teal); }
.screen-clean .hub-screen-dashboard .hub-legend-1 { background: var(--screen-blue); }
.screen-clean .hub-screen-dashboard .hub-bar-fill { fill: var(--screen-teal); }

.screen-clean .hub-gridline { stroke: #37516d; }
.screen-clean .hub-axis { fill: #c1d3e8; }

.screen-clean .hub-hit:is(:hover, :focus-visible) {
  fill: #78a9ff26;
  stroke: var(--screen-blue);
  stroke-width: 2;
}

.screen-clean .hub-chart-tooltip {
  color: #eef5ff;
  background: #152b42;
  border: 1px solid #6688b2;
  border-radius: 8px;
}

.screen-clean .camera-tile {
  background: var(--screen-surface);
  border-color: #456184;
  border-radius: 10px;
}

.screen-clean .camera-tile h3 {
  background: #223b59;
  border-bottom: 1px solid var(--screen-line);
  border-radius: 9px 9px 0 0;
  color: #ebf4ff;
  font-weight: 600;
}

.screen-clean .camera-tile:focus-within { border-color: var(--screen-blue); }
.screen-clean .camera-tile :is(.camera-image, video) { background-color: #0b192b; }

@media (max-width: 700px) {
  body.screen-clean { grid-template-rows: auto minmax(0, 1fr); }
  .screen-clean .screen-header { align-items: flex-start; gap: 6px; }
  .screen-clean .screen-tools { gap: 5px; }
  .screen-clean .screen-tools :is(button, a) { min-height: 30px; font-size: 13px; }
  .screen-clean #screen-login {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    overflow: auto;
    padding: 16px;
  }
  .screen-clean #screen-login form { max-height: none; }
}

/* Mainstream Enterprise Cockpit Wallboard Architecture (v3 Precision Obsidian) */
body.screen-clean {
  --screen-bg: #050a14;
  --screen-surface: #0b1324;
  --screen-surface-hi: #121f38;
  --screen-line: #1d2d4a;
  --screen-blue: #4f8cff;
  --screen-teal: #2dd4bf;
  background: radial-gradient(ellipse at 18% 0%, rgba(37, 86, 198, 0.26), transparent 54%),
              radial-gradient(ellipse at 86% 100%, rgba(20, 184, 166, 0.12), transparent 50%),
              var(--screen-bg);
}
.screen-clean .screen-header {
  background: rgba(8, 14, 26, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--screen-line);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}
.screen-clean .screen-pages {
  background: #080f1e;
  border-right: 1px solid var(--screen-line);
}
.screen-clean .screen-pages button {
  border-radius: 8px;
  color: #93a7c4;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.screen-clean .screen-pages button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #eef5ff;
}
.screen-clean .screen-pages button[aria-pressed="true"] {
  background: rgba(37, 86, 198, 0.28);
  border-color: rgba(79, 140, 255, 0.5);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--screen-blue);
}
.screen-clean .screen-tools :is(button, a) {
  background: var(--screen-surface-hi);
  border-color: #263b5e;
  border-radius: 8px;
  color: #dbe8fa;
}
.screen-clean .screen-tools :is(button, a):hover {
  background: #1b2f52;
  border-color: var(--screen-blue);
  color: #ffffff;
}
.screen-clean .hub-screen-dashboard .hub-panel,
.screen-clean .wall-process-card,
.screen-clean .hub-screen-dashboard .hub-metric,
.screen-clean .wall-order-intake,
.screen-clean .wall-business-context,
.screen-clean .wall-energy-summary {
  background: linear-gradient(160deg, #0f1b30 0%, #0a1222 100%);
  border-color: var(--screen-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}
.screen-clean .screen-footer {
  background: #060c18;
  border-top: 1px solid var(--screen-line);
}

/* ==========================================================================
   GRAND 16:9 EXECUTIVE COMMAND WALLBOARD (v5 · 大屏大模型 · 远距离高可视度)
   Full-bleed horizontal stage (no left sidebar), live clock, large-scale HUD
   ========================================================================== */
body.screen-clean.screen-grand {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 58px 46px minmax(0, 1fr) !important;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(37, 99, 235, 0.32), transparent 55%),
    radial-gradient(ellipse at 88% 95%, rgba(20, 184, 166, 0.16), transparent 48%),
    linear-gradient(180deg, #050b16 0%, #030711 100%);
  color: #f1f6ff;
}
body.screen-clean.screen-grand.is-focus {
  grid-template-rows: minmax(0, 1fr) !important;
}

/* Grand Command Header */
.screen-grand .screen-header {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px !important;
  background: linear-gradient(90deg, rgba(9, 18, 34, 0.96) 0%, rgba(16, 32, 60, 0.96) 50%, rgba(9, 18, 34, 0.96) 100%);
  border-bottom: 1px solid #243d63;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 2px 0 #3b82f6;
}
.screen-grand .screen-brand {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.screen-grand .screen-logo {
  display: grid !important;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #14b8a6 100%);
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.45);
  flex-shrink: 0;
}
.screen-grand .screen-brand p {
  display: block !important;
  margin: 0;
  font-size: 10px;
  letter-spacing: 2.4px;
  color: #7dd3fc;
  line-height: 1.2;
}
.screen-grand .screen-brand h1 {
  font-size: 22px !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 1px 0 0;
}

/* Real-Time Digital Clock Capsule */
.screen-grand .screen-clock-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(15, 29, 54, 0.9);
  border: 1px solid #2d4c78;
  color: #e2eeff;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.screen-grand .screen-live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.25);
}

.screen-grand .screen-tools {
  display: flex;
  align-items: center;
  gap: 7px;
}
.screen-grand .screen-tools :is(button, a) {
  min-height: 34px !important;
  padding: 5px 12px !important;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 8px;
  background: #13233d;
  border: 1px solid #2b456d;
  color: #dbeafe;
}
.screen-grand .screen-tools :is(button, a):hover {
  background: #1d355a;
  border-color: #60a5fa;
  color: #ffffff;
}
.screen-grand #screen-refresh {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
}
.screen-grand .screen-tools button[aria-pressed="true"] {
  background: #164e63 !important;
  border-color: #2dd4bf !important;
  color: #ccfbf1 !important;
}

/* Full-Width Horizontal Top Scene Switcher (Replaces Left Sidebar!) */
.screen-grand .screen-pages {
  grid-column: 1 !important;
  grid-row: 2 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  padding: 0 24px !important;
  background: rgba(8, 15, 29, 0.92);
  border-right: 0 !important;
  border-bottom: 1px solid #1e3252;
  overflow-x: auto;
  scrollbar-width: none;
}
.screen-grand .screen-pages::-webkit-scrollbar { display: none; }
.screen-grand .screen-pages button {
  width: auto !important;
  min-height: 34px !important;
  padding: 5px 16px !important;
  border-radius: 999px !important;
  border: 1px solid transparent;
  background: transparent;
  color: #9bb4d4;
  font-size: 15px !important;
  font-weight: 600;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.screen-grand .screen-pages button > span {
  font-size: 12px;
  font-weight: 700;
  color: #5b7da8;
}
.screen-grand .screen-pages button:hover {
  background: rgba(59, 130, 246, 0.14);
  color: #ffffff;
}
.screen-grand .screen-pages button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.36), rgba(20, 184, 166, 0.24)) !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.28) !important;
}
.screen-grand .screen-pages button[aria-pressed="true"] > span {
  color: #5eead4;
}
.screen-grand .screen-rotate-control {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #93b0d4;
  font-size: 13px;
  white-space: nowrap;
}
.screen-grand .screen-rotate-control select {
  background: #10203a;
  border: 1px solid #2a446b;
  color: #e6f0ff;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 13px;
}

/* Full-Bleed 16:9 Stage Area */
.screen-grand #screen-content {
  grid-column: 1 !important;
  grid-row: 3 !important;
}
.screen-grand.is-focus #screen-content {
  grid-row: 1 !important;
}
.screen-grand .screen-fit-stage {
  padding: 12px 20px 10px !important;
}
.screen-grand .screen-footer {
  left: 24px !important;
  right: 24px !important;
  bottom: 6px !important;
}
.screen-grand #screen-login {
  inset: 58px 0 0 !important;
}

/* ===== GRAND DISTANCE-READABLE TELEMETRY SCALE ===== */
.screen-grand .wall-scene-heading {
  margin: 0 0 6px !important;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.22);
}
.screen-grand .wall-scene-heading h2 {
  font-size: 30px !important;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  padding-left: 12px;
  border-left: 4px solid #38bdf8;
}
.screen-grand .production-scope {
  font-size: 14px !important;
  color: #a9c3e2 !important;
  margin: 0 0 10px !important;
}
.screen-grand .live-screen-badge {
  font-size: 14px !important;
  font-weight: 700;
  padding: 4px 12px !important;
  background: rgba(20, 184, 166, 0.16) !important;
  border: 1px solid rgba(45, 212, 191, 0.55) !important;
  color: #5eead4 !important;
}

/* Grand Glowing Command Panels */
.screen-grand .hub-screen-dashboard .hub-panel,
.screen-grand .wall-process-card,
.screen-grand .hub-screen-dashboard .hub-metric,
.screen-grand .wall-business-context,
.screen-grand .wall-energy-summary {
  background: linear-gradient(160deg, rgba(16, 30, 56, 0.95) 0%, rgba(9, 18, 35, 0.96) 100%) !important;
  border: 1px solid #243d63 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(147, 197, 253, 0.12) !important;
}

/* Hero KPI Cards (Delivery, Business, Energy) — Bold & Commanding */
.screen-grand .hub-kpi-grid {
  gap: 14px !important;
  margin: 0 0 14px !important;
}
.screen-grand .hub-metric {
  padding: 16px 18px !important;
  border-top: 3px solid #3b82f6 !important;
}
.screen-grand .hub-metric:nth-child(2) { border-top-color: #2dd4bf !important; }
.screen-grand .hub-metric:nth-child(3) { border-top-color: #a78bfa !important; }
.screen-grand .hub-metric:nth-child(4) { border-top-color: #f59e0b !important; }
.screen-grand .hub-metric-label {
  font-size: 17px !important;
  font-weight: 600;
  color: #cbd5e1 !important;
}
.screen-grand .hub-metric strong {
  font-size: 38px !important;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}
.screen-grand .hub-metric:nth-child(1) strong { color: #60a5fa !important; }
.screen-grand .hub-metric:nth-child(2) strong { color: #5eead4 !important; }
.screen-grand .hub-metric small {
  font-size: 13px !important;
  color: #94aecf !important;
}

/* Production 7-Stage Cards — Ultra-Crisp High-Contrast Telemetry */
.screen-grand .screen-topic-area .wall-process-lane {
  gap: 11px !important;
  margin: 0 0 14px !important;
}
.screen-grand .screen-topic-production .wall-process-card {
  padding: 14px 13px !important;
  border-top: 4px solid var(--process-color, #2dd4bf) !important;
}
.screen-grand .wall-optimization-card { --process-color: #2dd4bf; }
.screen-grand .wall-process-card[data-process-code="lc_02"] { --process-color: #3b82f6; }
.screen-grand .wall-process-card[data-process-code="lc_03"] { --process-color: #38bdf8; }
.screen-grand .wall-process-card[data-process-code="lc_04"] { --process-color: #f59e0b; }
.screen-grand .wall-process-card[data-process-code="lc_07"] { --process-color: #e14d67; }
.screen-grand .wall-process-card[data-process-code="lc_09"] { --process-color: #10b981; }
.screen-grand .wall-process-card[data-process-code="lc_10"] { --process-color: #0284c7; }
.screen-grand .wall-process-top h3 {
  font-size: 22px !important;
  font-weight: 800;
  color: #ffffff;
}
.screen-grand .screen-topic-production .wall-process-value strong {
  font-size: 38px !important;
  font-weight: 800;
  color: #ffffff !important;
}
.screen-grand .wall-optimization-card .wall-process-value strong {
  color: #2dd4bf !important;
}
.screen-grand .screen-topic-area .wall-process-value.is-long strong {
  font-size: 23px !important;
}
.screen-grand .wall-area-label,
.screen-grand .wall-area-sources {
  font-size: 14px !important;
  color: #b9cde6 !important;
}
.screen-grand .wall-area-sources b {
  color: #f1f7ff !important;
  font-weight: 700;
}
.screen-grand .wall-period-values {
  border-top: 1px solid rgba(148, 179, 219, 0.2);
}
.screen-grand .screen-topic-area .wall-period-values b {
  font-size: 19px !important;
  font-weight: 700;
  color: #e2f1ff !important;
}
.screen-grand .screen-topic-area .wall-period-values b.is-long {
  font-size: 11px !important;
}

/* Delivery & Energy Tables — Large Crisp Luminous Numerals */
.screen-grand .hub-panel h3 {
  font-size: 22px !important;
  font-weight: 800;
  color: #ffffff !important;
}
.screen-grand .production-screen-table th {
  background: #15294a !important;
  color: #c5dbf5 !important;
  font-size: 15px !important;
  font-weight: 700;
}
.screen-grand .delivery-area-table td {
  font-size: 17px !important;
  font-weight: 600;
}
.screen-grand .delivery-area-table td.delivery-area {
  color: #5eead4 !important;
  font-weight: 800;
}
.screen-grand .wall-progress-track {
  height: 7px !important;
  width: 68px !important;
  background: #1f3557;
}
.screen-grand .wall-progress-track i {
  background: linear-gradient(90deg, #38bdf8, #2dd4bf);
}

/* Larger Luminous Charts */
.screen-grand .hub-series { stroke-width: 3.5 !important; }
.screen-grand .hub-chart-legend { font-size: 15px !important; color: #dbeafe !important; }
.screen-grand .hub-axis { font-size: 14px !important; fill: #b8cfe8 !important; }

/* Business & Energy Grand Hero Strips */
.screen-grand .wall-business-context strong,
.screen-grand .wall-energy-summary strong {
  font-size: 40px !important;
  font-weight: 800;
  color: #5eead4 !important;
}
.screen-grand .wall-business-context span,
.screen-grand .wall-energy-summary > div:first-child > span {
  font-size: 16px !important;
  color: #cbd5e1 !important;
}

/* Safe Large-Type Mode (Guarantees Zero Overlap in 40 QA Checks) */
.screen-grand.screen-large-type .wall-process-value strong { font-size: 40px !important; }
.screen-grand.screen-large-type .screen-topic-area .wall-process-value.is-long strong { font-size: 22px !important; }
.screen-grand.screen-large-type .hub-metric strong { font-size: 40px !important; }

/* Responsive Guardrails for Narrow/Mobile Wallboard View */
@media (max-width: 1200px) {
  .screen-grand .screen-clock-box,
  .screen-grand .screen-brand p { display: none !important; }
  .screen-grand .screen-brand h1 { font-size: 19px !important; }
}
@media (max-width: 700px) {
  body.screen-clean.screen-grand {
    grid-template-rows: auto auto minmax(0, 1fr) !important;
  }
  .screen-grand .screen-header { padding: 8px 12px !important; flex-wrap: wrap; gap: 8px; }
  .screen-grand .screen-logo { display: none !important; }
  .screen-grand .screen-pages { justify-content: flex-start; padding: 6px 10px !important; gap: 5px !important; }
  .screen-grand .screen-pages button { font-size: 13px !important; padding: 4px 10px !important; }
  .screen-grand .screen-rotate-control { display: none !important; }
  .screen-grand .screen-footer { left: 8px !important; right: 8px !important; }
}

/* ==========================================================================
   SYNCHRONIZED GLASS AURORA 16:9 WALLBOARD (v7 · 水彩极光毛玻璃指挥大屏)
   Matches Middle-Office Glass Aurora: Sapphire Gradient Header + Icy-Lavender
   Aurora Canvas + 20px Frosted Glass Telemetry Cards + High-Contrast Numerals
   ========================================================================== */
body.screen-clean.screen-grand.screen-glass-aurora {
  color-scheme: light;
  color: #162447;
  background:
    radial-gradient(ellipse 68% 48% at 18% 0%, rgba(164, 198, 255, 0.72), transparent 58%),
    radial-gradient(ellipse 56% 44% at 86% 10%, rgba(205, 198, 255, 0.58), transparent 56%),
    radial-gradient(ellipse 62% 48% at 82% 92%, rgba(176, 236, 242, 0.56), transparent 60%),
    linear-gradient(155deg, #dde7fc 0%, #eaf0ff 52%, #f3f7ff 100%) !important;
}

/* Luminous Sapphire-Blue Frosted Command Header (matches middle-office sidebar) */
.screen-glass-aurora .screen-header {
  background:
    radial-gradient(circle at 12% 50%, rgba(165, 209, 255, 0.28), transparent 42%),
    linear-gradient(95deg, #476fd3 0%, #3d5eb8 52%, #4e66d0 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 6px 24px -6px rgba(42, 68, 148, 0.34) !important;
}
.screen-glass-aurora .screen-logo {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%) !important;
  color: #3558b8 !important;
  box-shadow: 0 6px 16px rgba(24, 46, 114, 0.28) !important;
}
.screen-glass-aurora .screen-brand p {
  color: rgba(226, 238, 255, 0.86) !important;
}
.screen-glass-aurora .screen-brand h1 {
  color: #ffffff !important;
}
.screen-glass-aurora .screen-clock-box {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px);
}
.screen-glass-aurora .screen-live-pulse {
  background: #5eead4;
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.3);
}
.screen-glass-aurora .screen-tools :is(button, a) {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
}
.screen-glass-aurora .screen-tools :is(button, a):hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}
.screen-glass-aurora #screen-refresh {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: #ffffff !important;
  color: #2f52b4 !important;
  box-shadow: 0 4px 12px rgba(22, 42, 102, 0.2);
}
.screen-glass-aurora .screen-tools button[aria-pressed="true"] {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #2f52b4 !important;
}

/* Frosted Translucent Scene Navigation Bar */
.screen-glass-aurora .screen-pages {
  background: rgba(255, 255, 255, 0.68) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 16px -8px rgba(62, 92, 173, 0.14);
}
.screen-glass-aurora .screen-pages button {
  color: #3c527e !important;
}
.screen-glass-aurora .screen-pages button > span {
  color: #7c92ba !important;
}
.screen-glass-aurora .screen-pages button:hover {
  background: rgba(75, 115, 213, 0.1) !important;
  color: #1f3d91 !important;
}
.screen-glass-aurora .screen-pages button[aria-pressed="true"] {
  background: linear-gradient(135deg, #4b74e8 0%, #6c5ce7 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px -4px rgba(75, 116, 232, 0.45) !important;
}
.screen-glass-aurora .screen-pages button[aria-pressed="true"] > span {
  color: rgba(232, 244, 255, 0.92) !important;
}
.screen-glass-aurora .screen-rotate-control {
  color: #4b618c !important;
}
.screen-glass-aurora .screen-rotate-control select {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(186, 206, 242, 0.9) !important;
  color: #1c2f58 !important;
}

/* Scene Headings & Live Badges */
.screen-glass-aurora .hub-screen-dashboard {
  --hub-text: #162447;
  --hub-muted: #5a6f94;
  --hub-line: rgba(186, 206, 242, 0.65);
  --hub-surface: rgba(255, 255, 255, 0.82);
  --hub-grid: rgba(186, 206, 242, 0.55);
  color: #162447;
}
.screen-glass-aurora .wall-scene-heading {
  border-bottom-color: rgba(164, 190, 236, 0.45) !important;
}
.screen-glass-aurora .wall-scene-heading h2 {
  color: #152345 !important;
  border-left-color: #4b74e8 !important;
}
.screen-glass-aurora .production-scope {
  color: #53688f !important;
}
.screen-glass-aurora .live-screen-badge {
  background: #e3f9ef !important;
  border: 1px solid #a7e8cc !important;
  color: #0d7a55 !important;
}
.screen-glass-aurora .hub-screen-dashboard .hub-data-warning {
  background: #fff4df !important;
  border-color: #f4d38e !important;
  color: #9e5608 !important;
  border-radius: 10px;
}

/* 20px Frosted White Glass Telemetry Cards */
.screen-glass-aurora .hub-screen-dashboard .hub-panel,
.screen-glass-aurora .wall-process-card,
.screen-glass-aurora .hub-screen-dashboard .hub-metric {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(18px) saturate(140%);
  border: 1.5px solid rgba(255, 255, 255, 0.94) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px -10px rgba(62, 92, 173, 0.16), 0 2px 6px rgba(62, 92, 173, 0.05) !important;
}

/* Vibrant Violet-Sapphire Hero Banners on Business & Energy Scenes */
.screen-glass-aurora .wall-business-context,
.screen-glass-aurora .wall-energy-summary {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.24), transparent 52%),
    linear-gradient(125deg, #526ce8 0%, #6e5de8 54%, #3c82e8 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 32px -10px rgba(82, 108, 232, 0.42) !important;
  color: #ffffff !important;
}
.screen-glass-aurora .wall-business-context > div {
  border-right-color: rgba(255, 255, 255, 0.25) !important;
}
.screen-glass-aurora .wall-business-context span,
.screen-glass-aurora .wall-business-context small,
.screen-glass-aurora .wall-energy-summary > div:first-child > span,
.screen-glass-aurora .wall-energy-summary strong small {
  color: rgba(235, 244, 255, 0.9) !important;
}
.screen-glass-aurora .wall-business-context strong,
.screen-glass-aurora .wall-energy-summary strong {
  color: #ffffff !important;
}

/* Delivery Hero KPI Cards — High-Contrast Vivid Numerals on Frosted Glass */
.screen-glass-aurora .hub-metric {
  border-top: 3.5px solid #4b74e8 !important;
}
.screen-glass-aurora .hub-metric:nth-child(2) { border-top-color: #14b8a6 !important; }
.screen-glass-aurora .hub-metric:nth-child(3) { border-top-color: #8b5cf6 !important; }
.screen-glass-aurora .hub-metric:nth-child(4) { border-top-color: #f97352 !important; }
.screen-glass-aurora .hub-metric-label {
  color: #4f648c !important;
}
.screen-glass-aurora .hub-metric-label em {
  background: #edf3ff;
  color: #3659b8;
  border-radius: 6px;
  padding: 2px 6px;
}
.screen-glass-aurora .hub-metric strong {
  color: #162447 !important;
}
.screen-glass-aurora .hub-metric:nth-child(1) strong { color: #2556c6 !important; }
.screen-glass-aurora .hub-metric:nth-child(2) strong { color: #0c8a7d !important; }
.screen-glass-aurora .hub-metric:nth-child(3) strong { color: #6d42e5 !important; }
.screen-glass-aurora .hub-metric:nth-child(4) strong { color: #df4d35 !important; }
.screen-glass-aurora .hub-metric b,
.screen-glass-aurora .hub-metric small {
  color: #63789e !important;
}

/* 7 Production Stage Cards — Frosted Glass + Vivid Top Beam + Crisp Dark Numerals */
.screen-glass-aurora .screen-topic-production .wall-process-card {
  border-top: 4px solid var(--process-color, #14b8a6) !important;
}
.screen-glass-aurora .wall-process-top h3 {
  color: #152345 !important;
}
.screen-glass-aurora .screen-topic-production .wall-process-value strong {
  color: #152345 !important;
}
.screen-glass-aurora .wall-optimization-card .wall-process-value strong {
  color: #0d8a7e !important;
}
.screen-glass-aurora .wall-process-value > span {
  color: #5d7298 !important;
}
.screen-glass-aurora .wall-area-label,
.screen-glass-aurora .wall-area-sources,
.screen-glass-aurora .wall-optimization-card .optimization-card-period > span,
.screen-glass-aurora .wall-optimization-card .optimization-card-number > span,
.screen-glass-aurora .wall-optimization-card .optimization-card-period > small {
  color: #546990 !important;
}
.screen-glass-aurora .wall-area-sources b,
.screen-glass-aurora .wall-optimization-card .optimization-card-number b {
  color: #1b2f5a !important;
}
.screen-glass-aurora .wall-period-values,
.screen-glass-aurora .wall-optimization-card .optimization-card-periods {
  border-top: 1px solid rgba(186, 206, 242, 0.55) !important;
}
.screen-glass-aurora .wall-period-values span,
.screen-glass-aurora .wall-period-values small {
  color: #5a6f94 !important;
}
.screen-glass-aurora .screen-topic-area .wall-period-values b {
  color: #1f45b5 !important;
}
.screen-glass-aurora .wall-data-tag {
  background: #fff3da !important;
  border-color: #f3d08a !important;
  color: #a65c09 !important;
}

/* Frosted Glass Charts, Tables, Ranks & Quality Lists */
.screen-glass-aurora .hub-panel > header {
  border-bottom-color: rgba(186, 206, 242, 0.55) !important;
}
.screen-glass-aurora .hub-panel h3 {
  color: #152345 !important;
}
.screen-glass-aurora .hub-screen-dashboard .hub-more {
  color: #2f5ad0 !important;
  font-weight: 600;
}
.screen-glass-aurora .hub-chart-legend {
  color: #364c76 !important;
}
.screen-glass-aurora .hub-gridline,
.screen-glass-aurora .hub-grid-line {
  stroke: #d4e0f4 !important;
}
.screen-glass-aurora .hub-axis {
  fill: #4c628a !important;
}
.screen-glass-aurora .hub-screen-dashboard .hub-series-0 { stroke: #0ea89d !important; }
.screen-glass-aurora .hub-screen-dashboard .hub-series-1 { stroke: #3b74f5 !important; }
.screen-glass-aurora .hub-screen-dashboard .hub-series-2 { stroke: #f59e0b !important; }
.screen-glass-aurora .hub-screen-dashboard .hub-series-3 { stroke: #8b5cf6 !important; }
.screen-glass-aurora .hub-screen-dashboard .hub-legend-0 { background: #0ea89d !important; }
.screen-glass-aurora .hub-screen-dashboard .hub-legend-1 { background: #3b74f5 !important; }
.screen-glass-aurora .hub-screen-dashboard .hub-legend-2 { background: #f59e0b !important; }
.screen-glass-aurora .hub-screen-dashboard .hub-legend-3 { background: #8b5cf6 !important; }
.screen-glass-aurora .hub-screen-dashboard .hub-bar-fill { fill: #4b74e8 !important; }
.screen-glass-aurora .hub-chart-tooltip {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #162447 !important;
  border: 1px solid #b6cbf0 !important;
  box-shadow: 0 10px 26px rgba(45, 74, 150, 0.18);
}

.screen-glass-aurora .production-screen-table th,
.screen-glass-aurora .delivery-aligned-table th,
.screen-glass-aurora .delivery-area-table th,
.screen-glass-aurora .hub-screen-dashboard table th {
  background: #eaf1fe !important;
  color: #1e3564 !important;
  font-weight: 700 !important;
  border-bottom: 1.5px solid #cbd9f4 !important;
}
.screen-glass-aurora .production-screen-table th small,
.screen-glass-aurora .delivery-aligned-table th small,
.screen-glass-aurora .delivery-area-table th small,
.screen-glass-aurora .hub-screen-dashboard table th small {
  color: #516892 !important;
  font-weight: 500 !important;
}
.screen-glass-aurora .production-screen-table td,
.screen-glass-aurora .delivery-aligned-table td,
.screen-glass-aurora .delivery-area-table td,
.screen-glass-aurora .hub-screen-dashboard table td {
  color: #162447 !important;
  border-color: #e2ebfa !important;
}
.screen-glass-aurora .production-screen-table tbody tr:nth-child(even) td,
.screen-glass-aurora .delivery-aligned-table tbody tr:nth-child(even) td,
.screen-glass-aurora .delivery-area-table tbody tr:nth-child(even) td {
  background: rgba(241, 246, 255, 0.72) !important;
}
.screen-glass-aurora .production-screen-table td small,
.screen-glass-aurora .delivery-aligned-table td small,
.screen-glass-aurora .delivery-area-table td small {
  color: #60759b !important;
}
.screen-glass-aurora .delivery-area-table td.delivery-area {
  color: #2556c6 !important;
}
.screen-glass-aurora .wall-progress {
  color: #0d8a7e !important;
  font-weight: 700;
}
.screen-glass-aurora .wall-progress-track {
  background: #dce7fa !important;
}
.screen-glass-aurora .wall-progress-track i {
  background: linear-gradient(90deg, #4b74e8, #14b8a6) !important;
}
.screen-glass-aurora .hub-rank-head,
.screen-glass-aurora .hub-rank-head strong,
.screen-glass-aurora .hub-sources b,
.screen-glass-aurora .hub-quality > a,
.screen-glass-aurora .hub-account-heading strong {
  color: #17274b !important;
}
.screen-glass-aurora .hub-rank-head small,
.screen-glass-aurora .hub-rank-index,
.screen-glass-aurora .hub-sources small,
.screen-glass-aurora .hub-band-values > span {
  color: #5b7198 !important;
}
.screen-glass-aurora .hub-energy-number b,
.screen-glass-aurora .hub-band-values b {
  color: #2556c6 !important;
}
.screen-glass-aurora .hub-tariffs article + article {
  border-left-color: rgba(186, 206, 242, 0.65) !important;
}
.screen-glass-aurora .hub-energy-toggle button {
  background: #f1f5fe !important;
  border-color: #cbd9f2 !important;
  color: #2c4678 !important;
}
.screen-glass-aurora .hub-energy-toggle button[aria-pressed="true"] {
  background: #4b74e8 !important;
  border-color: #4b74e8 !important;
  color: #ffffff !important;
}
.screen-glass-aurora .hub-empty {
  background: rgba(242, 246, 255, 0.72) !important;
  border-color: rgba(186, 206, 242, 0.7) !important;
  color: #5a7096 !important;
}
.screen-glass-aurora .screen-footer {
  background: rgba(255, 246, 224, 0.94) !important;
  border-color: #f0cc84 !important;
  color: #8f5008 !important;
}
.screen-glass-aurora .screen-footer > span:first-child {
  color: #8f5008 !important;
}
.screen-glass-aurora #screen-focus-exit {
  background: rgba(75, 116, 232, 0.92);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}
.screen-glass-aurora #screen-login form {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  color: #162447 !important;
  box-shadow: 0 22px 56px -12px rgba(62, 92, 173, 0.22);
}
.screen-glass-aurora #screen-login h2 { color: #162447; }
.screen-glass-aurora #screen-login p,
.screen-glass-aurora #screen-login label { color: #4c628a; }
.screen-glass-aurora #screen-login input {
  background: #f6f9ff;
  border-color: #cbd9f2;
  color: #162447;
}
.screen-glass-aurora #screen-login button {
  background: linear-gradient(135deg, #4b74e8, #6c5ce7) !important;
  color: #ffffff !important;
}
.screen-glass-aurora #screen-login a,
.screen-glass-aurora .screen-login-eyebrow {
  color: #3659b8 !important;
}
/* BEGIN DIGITAL TWIN STYLES */
/* ==========================================================================
   LIANGDA GLASS DEEP-PROCESSING · 3D ISOMETRIC DIGITAL TWIN (Glass Aurora v7)
   Shared across Middle-Office Workbench (/) & 16:9 Command Wallboard (/screen)
   ========================================================================== */

.dt-workbench-section {
  position: relative;
  margin: 0 0 20px;
  padding: 20px 22px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px -12px rgba(62, 92, 173, 0.16), 0 2px 8px rgba(62, 92, 173, 0.05);
  overflow: hidden;
}

.dt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.dt-header-title {
  min-width: 0;
}

.dt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3659b8;
  background: linear-gradient(135deg, #ebf2ff, #f2edff);
  border: 1px solid rgba(99, 132, 232, 0.25);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.dt-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.24);
  animation: dtPulse 2s ease-in-out infinite;
}

.dt-header-title h2 {
  margin: 0 0 5px;
  font-size: 22px;
  font-weight: 800;
  color: #162447;
  letter-spacing: -0.01em;
}

.dt-header-title p {
  margin: 0;
  font-size: 14px;
  color: #5b7094;
  line-height: 1.5;
}

.dt-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dt-mode-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(235, 242, 255, 0.85);
  border: 1px solid rgba(186, 206, 242, 0.72);
}

.dt-mode-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #3b517a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.dt-mode-btn:hover {
  background: rgba(255, 255, 255, 0.75);
  color: #1e3b92;
}

.dt-mode-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #4b74e8 0%, #6c5ce7 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -4px rgba(75, 116, 232, 0.48);
}

.dt-fullscreen-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b6ce6, #5e5ce6);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(68, 102, 224, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dt-fullscreen-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(68, 102, 224, 0.56);
}

/* Workbench Split Body: 3D Floor (Left) + Live Inspector (Right) */
.dt-workbench-body {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(290px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.dt-canvas-wrap {
  position: relative;
  border-radius: 18px;
  padding: 10px 10px 36px;
  background:
    radial-gradient(ellipse 68% 58% at 22% 16%, rgba(164, 205, 255, 0.32), transparent 60%),
    radial-gradient(ellipse 60% 56% at 84% 84%, rgba(173, 238, 240, 0.3), transparent 62%),
    linear-gradient(155deg, rgba(244, 248, 255, 0.92) 0%, rgba(235, 243, 255, 0.78) 100%);
  border: 1px solid rgba(196, 214, 246, 0.72);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dt-factory-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 410px;
  user-select: none;
}

.dt-canvas-legend {
  position: absolute;
  left: 14px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: #4f648b;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.94);
  padding: 4px 12px;
  border-radius: 999px;
}

.dt-canvas-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dt-canvas-legend i {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  position: static !important;
}

/* SVG Elements & Smooth Industrial Animations */
.dt-zone-label {
  fill: #5972a0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dt-station-node {
  cursor: pointer;
  outline: none;
  transition: filter 0.18s ease;
}

.dt-station-node:hover .dt-select-halo,
.dt-station-node.is-selected .dt-select-halo,
.dt-station-node:focus-visible .dt-select-halo {
  opacity: 0.95;
}

.dt-station-node.is-selected .dt-tag-bg {
  fill: #ffffff;
  stroke-width: 2.6;
  filter: drop-shadow(0 8px 14px rgba(59, 116, 245, 0.28));
}

.dt-tag-bg {
  fill: rgba(255, 255, 255, 0.93);
  filter: drop-shadow(0 5px 10px rgba(45, 76, 152, 0.14));
}

.dt-tag-title {
  fill: #243760;
  font-size: 12px;
  font-weight: 700;
}

.dt-tag-val {
  font-size: 13.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dt-conveyor-dash {
  animation: dtDash 1.6s linear infinite;
}

.dt-conveyor-dash-slow {
  animation: dtDash 2.6s linear infinite;
}

.dt-gantry-move {
  animation: dtGantry 4.8s ease-in-out infinite;
}

.dt-water-flow {
  animation: dtDash 1.1s linear infinite;
}

.dt-furnace-glow {
  animation: dtFurnace 2.4s ease-in-out infinite;
}

.dt-pulse-dot {
  animation: dtPulse 1.8s ease-in-out infinite;
}

.dt-data-links path {
  fill: none;
  stroke-width: 2.5;
  stroke-dasharray: 7 7;
  animation: dtDash 1.4s linear infinite;
}

.dt-link-power { stroke: #7c3aed; }
.dt-link-erp { stroke: #2556c6; }
.dt-link-mes { stroke: #0ea89d; }

/* Live Station Digital Inspector Card */
.dt-inspector-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dt-inspector-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px -10px rgba(62, 92, 173, 0.16);
}

.dt-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.dt-inspector-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--badge-color, #2556c6);
  background: rgba(75, 116, 232, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
}

.dt-status-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.dt-status-pill.is-active {
  background: #e1f8ee;
  color: #0d7a55;
}

.dt-status-pill.is-idle {
  background: #edf2fb;
  color: #53698f;
}

.dt-status-pill.is-warn {
  background: #fff3da;
  color: #a65c09;
}

.dt-inspector-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #162447;
}

.dt-inspector-sub {
  margin: -6px 0 0;
  font-size: 13.5px;
  color: #5d7298;
}

.dt-inspector-hero {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3f7ff 0%, #eef3ff 100%);
  border: 1px solid rgba(186, 206, 242, 0.65);
}

.dt-inspector-hero span {
  display: block;
  font-size: 13px;
  color: #556b92;
  margin-bottom: 4px;
}

.dt-inspector-hero strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.dt-inspector-hero strong small {
  font-size: 14px;
  font-weight: 600;
  color: #63789e;
}

.dt-inspector-tri {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dt-inspector-tri > div,
.dt-inspector-grid > div {
  padding: 9px 10px;
  border-radius: 11px;
  background: #f7faff;
  border: 1px solid rgba(203, 219, 246, 0.72);
  min-width: 0;
}

.dt-inspector-tri span,
.dt-inspector-grid span {
  display: block;
  font-size: 12px;
  color: #63789e;
  margin-bottom: 3px;
}

.dt-inspector-tri b,
.dt-inspector-grid b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a2d57;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dt-inspector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dt-inspector-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.dt-action-btn,
.dt-action-link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 11px;
  border: 0;
  background: linear-gradient(135deg, #3b6ce6, #5c5ce6);
  color: #ffffff !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.dt-action-link-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 11px;
  background: #edf3ff;
  border: 1px solid #cbd9f4;
  color: #26489e !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* ==========================================================================
   WALLBOARD (/screen) 16:9 FULL DIGITAL TWIN SCENE (`00 数字孪生`)
   ========================================================================== */
.screen-topic-twin {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 10px;
}

.dt-screen-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  flex-shrink: 0;
}

.dt-kpi-pill {
  padding: 9px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  border-top: 3.5px solid #4b74e8;
  box-shadow: 0 8px 22px -10px rgba(62, 92, 173, 0.16);
}

.dt-kpi-pill:nth-child(2) { border-top-color: #0ea89d; }
.dt-kpi-pill:nth-child(3) { border-top-color: #6366f1; }
.dt-kpi-pill:nth-child(4) { border-top-color: #8b5cf6; }
.dt-kpi-pill:nth-child(5) { border-top-color: #10b981; }

.dt-kpi-pill span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #556b92;
  margin-bottom: 4px;
}

.dt-kpi-pill strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #162447;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.dt-kpi-pill strong small {
  font-size: 13px;
  font-weight: 600;
  color: #63789e;
}

.dt-screen-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(320px, 0.88fr);
  gap: 14px;
}

.dt-screen-canvas-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px -10px rgba(62, 92, 173, 0.18);
}

.dt-screen-canvas-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.dt-screen-canvas-bar > span {
  font-size: 15px;
  font-weight: 700;
  color: #1a2d57;
}

.dt-canvas-wrap.is-screen {
  flex: 1;
  min-height: 0;
  padding: 6px;
}

.dt-canvas-wrap.is-screen .dt-factory-svg {
  max-height: 100%;
  height: 100%;
}

.dt-screen-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.dt-screen-list-card {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px -10px rgba(62, 92, 173, 0.14);
}

.dt-screen-list-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #162447;
}

.dt-screen-list {
  display: grid;
  gap: 4px;
}

.dt-screen-row {
  display: grid;
  grid-template-columns: 10px 26px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 4.5px 9px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: rgba(240, 245, 255, 0.72);
  color: #162447;
  font-family: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

.dt-screen-row.is-selected {
  background: #ffffff;
  border-color: #4b74e8;
  box-shadow: 0 4px 12px rgba(75, 116, 232, 0.18);
}

.dt-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.dt-row-dot.is-active { background: #10b981; }
.dt-row-dot.is-warn { background: #f59e0b; }

.dt-row-step {
  font-size: 12px;
  font-weight: 700;
  color: #6b7fa6;
  font-family: Consolas, monospace;
}

.dt-row-name {
  font-weight: 700;
}

.dt-row-val {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dt-row-val small {
  font-size: 11px;
  color: #63789e;
  font-weight: 600;
}

.dt-inspector-pane.is-screen {
  flex: 1;
  min-height: 0;
}

.dt-inspector-pane.is-screen .dt-inspector-card {
  padding: 11px 13px;
  gap: 6px;
}

.dt-inspector-pane.is-screen .dt-inspector-card h3 {
  font-size: 18px;
}

.dt-inspector-pane.is-screen .dt-inspector-hero {
  padding: 8px 11px;
}

.dt-inspector-pane.is-screen .dt-inspector-hero strong {
  font-size: 22px;
}

.dt-inspector-pane.is-screen .dt-inspector-tri > div,
.dt-inspector-pane.is-screen .dt-inspector-grid > div {
  padding: 6px 8px;
}

.dt-inspector-pane.is-screen .dt-inspector-actions {
  display: none;
}

/* ==========================================================================
   WALLBOARD `01 生产现场` COMPACT DIGITAL TWIN TOPOLOGY RIBBON
   ========================================================================== */
.dt-flow-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 7px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px -8px rgba(62, 92, 173, 0.16);
  flex-shrink: 0;
}

.dt-flow-track {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.dt-flow-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 9px;
  background: rgba(240, 245, 255, 0.85);
  border: 1px solid rgba(196, 214, 246, 0.72);
  font-size: 13px;
  color: #1c2f58;
  white-space: nowrap;
}

.dt-flow-node.is-active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 247, 255, 0.96));
  border-color: var(--node-color, #4b74e8);
}

.dt-flow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}

.dt-flow-node.is-active .dt-flow-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.dt-flow-node.is-warn .dt-flow-dot {
  background: #f59e0b;
}

.dt-flow-step {
  font-size: 11px;
  font-weight: 700;
  color: #6a80a8;
  font-family: Consolas, monospace;
}

.dt-flow-node b {
  font-size: 13px;
  font-weight: 700;
}

.dt-flow-arrow {
  position: absolute;
  right: -7px;
  color: #5b7fe6;
  font-size: 16px;
  font-weight: 800;
  z-index: 2;
  pointer-events: none;
}

.dt-flow-jump {
  appearance: none;
  border: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4b74e8 0%, #6c5ce7 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(75, 116, 232, 0.44);
}

/* Dark Mode Support for Middle-Office (`body[data-theme="dark"]`) */
body[data-theme="dark"] .dt-workbench-section {
  background: rgba(15, 25, 48, 0.86);
  border-color: rgba(88, 124, 210, 0.34);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
}

body[data-theme="dark"] .dt-header-title h2,
body[data-theme="dark"] .dt-inspector-card h3,
body[data-theme="dark"] .dt-inspector-tri b,
body[data-theme="dark"] .dt-inspector-grid b {
  color: #eef4ff;
}

body[data-theme="dark"] .dt-header-title p,
body[data-theme="dark"] .dt-inspector-sub,
body[data-theme="dark"] .dt-inspector-hero span,
body[data-theme="dark"] .dt-inspector-tri span,
body[data-theme="dark"] .dt-inspector-grid span {
  color: #9ab0d6;
}

body[data-theme="dark"] .dt-mode-group {
  background: rgba(20, 34, 66, 0.9);
  border-color: rgba(88, 124, 210, 0.36);
}

body[data-theme="dark"] .dt-mode-btn {
  color: #c2d4f4;
}

body[data-theme="dark"] .dt-canvas-wrap {
  background: radial-gradient(ellipse 68% 58% at 22% 16%, rgba(59, 116, 245, 0.18), transparent 60%),
              linear-gradient(155deg, rgba(13, 22, 44, 0.96) 0%, rgba(18, 30, 58, 0.92) 100%);
  border-color: rgba(88, 124, 210, 0.34);
}

body[data-theme="dark"] .dt-canvas-legend,
body[data-theme="dark"] .dt-inspector-card {
  background: rgba(18, 30, 58, 0.92);
  border-color: rgba(88, 124, 210, 0.34);
  color: #c2d4f4;
}

body[data-theme="dark"] .dt-inspector-hero,
body[data-theme="dark"] .dt-inspector-tri > div,
body[data-theme="dark"] .dt-inspector-grid > div {
  background: rgba(12, 21, 42, 0.85);
  border-color: rgba(88, 124, 210, 0.3);
}

/* Keyframes */
@keyframes dtDash {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

@keyframes dtPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.72; }
}

@keyframes dtGantry {
  0%, 100% { transform: translate(0px, 0px); }
  50% { transform: translate(12px, 5px); }
}

@keyframes dtFurnace {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}

/* Responsive Breakpoints (Zero Horizontal Overflow at 390px) */
@media (max-width: 1120px) {
  .dt-workbench-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .dt-screen-stage {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .dt-workbench-section {
    padding: 14px 12px 16px;
    border-radius: 16px;
  }
  .dt-header-title h2 {
    font-size: 19px;
  }
  .dt-controls {
    width: 100%;
  }
  .dt-mode-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dt-mode-btn {
    padding: 8px 6px;
    font-size: 16px;
    text-align: center;
  }
  .dt-fullscreen-link {
    width: 100%;
    justify-content: center;
  }
  .dt-canvas-wrap {
    padding: 6px 4px 44px;
  }
  .dt-canvas-legend {
    left: 8px;
    right: 8px;
    gap: 8px;
    font-size: 12px;
    justify-content: center;
  }
  .dt-inspector-tri {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dt-flow-ribbon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dt-conveyor-dash,
  .dt-conveyor-dash-slow,
  .dt-gantry-move,
  .dt-water-flow,
  .dt-furnace-glow,
  .dt-pulse-dot,
  .dt-data-links path {
    animation: none !important;
  }
}

/* ==========================================================================
   FULL-SITE DIGITAL TWIN OS MODE (All 35 Middle-Office Pages & All 7 Wallboard Scenes)
   ========================================================================== */

/* Subtle 30-deg Isometric Spatial Blueprint Grid Overlay */
body.digital-twin-os main,
body.screen-clean.screen-grand.screen-glass-aurora.digital-twin-os {
  background-image:
    linear-gradient(30deg, rgba(75, 116, 232, 0.045) 1px, transparent 1px),
    linear-gradient(150deg, rgba(75, 116, 232, 0.045) 1px, transparent 1px),
    radial-gradient(ellipse 68% 48% at 18% 0%, rgba(164, 198, 255, 0.66), transparent 58%),
    radial-gradient(ellipse 56% 44% at 86% 10%, rgba(205, 198, 255, 0.54), transparent 56%),
    radial-gradient(ellipse 62% 48% at 82% 92%, rgba(176, 236, 242, 0.52), transparent 60%),
    linear-gradient(155deg, #dde7fc 0%, #eaf0ff 52%, #f3f7ff 100%) !important;
  background-size: 46px 26.5px, 46px 26.5px, 100% 100%, 100% 100%, 100% 100%, 100% 100% !important;
}

body.digital-twin-os[data-theme="dark"] main {
  background-image:
    linear-gradient(30deg, rgba(56, 189, 248, 0.075) 1px, transparent 1px),
    linear-gradient(150deg, rgba(56, 189, 248, 0.075) 1px, transparent 1px),
    radial-gradient(ellipse 65% 48% at 16% 0%, rgba(37, 99, 235, 0.24), transparent 58%),
    radial-gradient(ellipse 54% 44% at 88% 90%, rgba(20, 184, 166, 0.16), transparent 56%),
    linear-gradient(160deg, #0b1428 0%, #0f1b36 100%) !important;
  background-size: 46px 26.5px, 46px 26.5px, 100% 100%, 100% 100%, 100% 100% !important;
}

/* Middle-Office All-Page Digital Twin Spatial Topology HUD */
.dt-page-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(145%);
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px -10px rgba(62, 92, 173, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.dt-hud-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.dt-hud-cube {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4b74e8, #6c5ce7);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -3px rgba(75, 116, 232, 0.48);
}

.dt-hud-cube svg {
  width: 17px;
  height: 17px;
}

.dt-hud-badge {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #27448f;
}

.dt-hud-chain {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.dt-hud-node {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(186, 206, 242, 0.8);
  background: rgba(242, 246, 255, 0.85);
  color: #2c4373;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dt-hud-node:hover {
  background: #ffffff;
  border-color: #4b74e8;
  color: #1f3d91;
}

.dt-hud-node.is-current {
  background: linear-gradient(135deg, #4b74e8 0%, #6c5ce7 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 14px -4px rgba(75, 116, 232, 0.45);
}

.dt-hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.dt-hud-node.is-current .dt-hud-dot {
  background: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.3);
}

.dt-hud-step {
  font-size: 12px;
  font-family: Consolas, monospace;
  opacity: 0.78;
}

.dt-hud-node b {
  font-weight: 700;
}

.dt-hud-sep {
  color: #7c96c7;
  font-weight: 800;
  font-size: 16px;
}

.dt-hud-screen {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b6ce6, #5e5ce6);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 14px -5px rgba(68, 102, 224, 0.45);
}

body[data-theme="dark"] .dt-page-hud {
  background: rgba(15, 25, 48, 0.88);
  border-color: rgba(88, 124, 210, 0.36);
}

body[data-theme="dark"] .dt-hud-badge {
  color: #c8dcff;
}

body[data-theme="dark"] .dt-hud-node {
  background: rgba(20, 34, 66, 0.9);
  border-color: rgba(88, 124, 210, 0.4);
  color: #d6e4ff;
}

/* Wallboard Compact 4-Node Scene Twin Ribbons (Delivery / Business / Energy / Quality / Cameras) */
.dt-flow-track.is-4col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dt-flow-node.is-scene-node {
  justify-content: flex-start;
  padding: 4px 10px;
}

.dt-flow-val {
  margin-left: auto;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--node-color, #2556c6);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dt-flow-ribbon.is-compact-scene {
  padding: 5px 12px;
  margin: 0 0 8px;
}

/* Delivery Wallboard Vertical Budget Safeguard (keeps all table rows cleanly above footer) */
.screen-topic-delivery .dt-flow-ribbon.is-compact-scene {
  padding: 4px 10px;
  margin: 0 0 6px;
}

.screen-topic-delivery .hub-kpi-grid {
  margin: 0 0 8px !important;
}

.screen-topic-delivery .hub-metric {
  padding: 10px 14px !important;
}

.screen-topic-delivery .hub-metric strong {
  font-size: 32px !important;
}

@media (max-width: 700px) {
  .dt-page-hud {
    padding: 10px;
    gap: 8px;
  }
  .dt-hud-chain {
    width: 100%;
  }
  .dt-hud-node {
    flex: 1 1 auto;
    justify-content: center;
    padding: 7px 10px;
  }
  .dt-hud-sep {
    display: none;
  }
  .dt-hud-screen {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 720px) {
  .dt-page-hud {
    padding: 6px 8px !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    gap: 6px !important;
  }
  .dt-hud-brand,
  .dt-hud-screen {
    display: none !important;
  }
  .dt-hud-chain,
  .dt-hud-steps {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px !important;
    width: 100% !important;
    padding: 2px 0;
  }
  .dt-hud-chain::-webkit-scrollbar,
  .dt-hud-steps::-webkit-scrollbar {
    display: none;
  }
  .dt-hud-node,
  .dt-hud-step {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 6px 11px !important;
    min-height: 36px !important;
    font-size: 13.5px !important;
  }
  .dt-hud-sep {
    display: none !important;
  }
  .dt-workbench-section {
    padding: 14px 12px !important;
    border-radius: 16px !important;
  }
  .dt-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .dt-mode-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dt-fullscreen-link {
    text-align: center;
  }
}

/* ==========================================================================
   PROCESS FLOW DIGITAL TWIN (JinBo Edger -> NorthGlass T1 Furnace)
   ========================================================================== */
@keyframes dtPfDash {
  to { stroke-dashoffset: -28; }
}
@keyframes dtPfPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.dt-process-flow-svg {
  max-height: 430px;
}
.dt-pf-zone {
  fill: rgba(255, 255, 255, 0.52);
  stroke: rgba(148, 163, 184, 0.35);
  stroke-width: 1.2;
}
.dt-pf-zone.is-edger {
  fill: rgba(99, 102, 241, 0.06);
  stroke: rgba(99, 102, 241, 0.24);
}
.dt-pf-zone.is-furnace {
  fill: rgba(225, 29, 72, 0.05);
  stroke: rgba(225, 29, 72, 0.24);
}
.dt-pf-zone-title {
  font-size: 13px;
  font-weight: 800;
  fill: #1e293b;
}
.dt-pf-zone-sub {
  font-size: 12px;
  font-weight: 600;
  fill: #475569;
}
.dt-pf-flow-line {
  fill: none;
  stroke-width: 2.5;
  stroke-dasharray: 8 6;
  animation: dtPfDash 1.15s linear infinite;
}
.dt-pf-flow-line.is-cold { stroke: #4f46e5; }
.dt-pf-flow-line.is-hot { stroke: #e11d48; }
.dt-pf-flow-line.is-cool { stroke: #0284c7; }
.dt-pf-node {
  cursor: pointer;
}
.dt-pf-card {
  fill: rgba(255, 255, 255, 0.94);
  stroke: rgba(148, 163, 184, 0.45);
  stroke-width: 1.4;
  transition: stroke 0.16s ease, stroke-width 0.16s ease, filter 0.16s ease;
}
.dt-pf-card.is-live { stroke: rgba(16, 185, 129, 0.65); }
.dt-pf-card.is-wait { stroke: rgba(217, 119, 6, 0.5); }
.dt-pf-card.is-hot { stroke: rgba(225, 29, 72, 0.72); }
.dt-pf-card.is-cool { stroke: rgba(2, 132, 199, 0.68); }
.dt-pf-node:hover .dt-pf-card {
  filter: drop-shadow(0 6px 12px rgba(37, 99, 235, 0.14));
}
.dt-pf-node.is-selected .dt-pf-card {
  stroke: #2563eb;
  stroke-width: 2.6;
}
.dt-pf-dot { fill: #94a3b8; }
.dt-pf-dot.is-on { fill: #10b981; animation: dtPfPulse 1.8s ease-in-out infinite; }
.dt-pf-dot.is-wait { fill: #f59e0b; }
.dt-pf-dot.is-hot { fill: #e11d48; animation: dtPfPulse 1.4s ease-in-out infinite; }
.dt-pf-title {
  font-size: 13px;
  font-weight: 800;
  fill: #0f172a;
}
.dt-pf-meta {
  font-size: 12px;
  font-weight: 600;
  fill: #64748b;
}
.dt-pf-val {
  font-size: 15px;
  font-weight: 800;
  fill: #1e293b;
}
.dt-pf-val.is-good { fill: #059669; }
.dt-pf-big {
  font-size: 21px;
  font-weight: 900;
}
.dt-pf-big.is-hot { fill: #e11d48; }
.dt-pf-big.is-cool { fill: #0284c7; }
.dt-pf-foot {
  font-size: 12px;
  font-weight: 600;
  fill: #475569;
}
.dt-pf-bridge-pill {
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(225, 29, 72, 0.35);
  stroke-width: 1.2;
}
.dt-pf-bridge-text {
  font-size: 12px;
  font-weight: 700;
  fill: #1e293b;
}

/* Dark Theme & Wallboard (/screen) High-Contrast Overrides */
body[data-theme="dark"] .dt-pf-zone,
.hub-screen-dashboard .dt-pf-zone {
  fill: rgba(15, 23, 42, 0.6);
  stroke: rgba(148, 163, 184, 0.25);
}
body[data-theme="dark"] .dt-pf-zone.is-edger,
.hub-screen-dashboard .dt-pf-zone.is-edger {
  fill: rgba(79, 70, 229, 0.14);
  stroke: rgba(129, 140, 248, 0.34);
}
body[data-theme="dark"] .dt-pf-zone.is-furnace,
.hub-screen-dashboard .dt-pf-zone.is-furnace {
  fill: rgba(225, 29, 72, 0.12);
  stroke: rgba(251, 113, 133, 0.34);
}
body[data-theme="dark"] .dt-pf-card,
.hub-screen-dashboard .dt-pf-card {
  fill: rgba(15, 23, 42, 0.88);
  stroke: rgba(148, 163, 184, 0.32);
}
body[data-theme="dark"] .dt-pf-node.is-selected .dt-pf-card,
.hub-screen-dashboard .dt-pf-node.is-selected .dt-pf-card {
  stroke: #38bdf8;
}
body[data-theme="dark"] .dt-pf-zone-title,
body[data-theme="dark"] .dt-pf-title,
body[data-theme="dark"] .dt-pf-val,
body[data-theme="dark"] .dt-pf-bridge-text,
.hub-screen-dashboard .dt-pf-zone-title,
.hub-screen-dashboard .dt-pf-title,
.hub-screen-dashboard .dt-pf-val,
.hub-screen-dashboard .dt-pf-bridge-text {
  fill: #f1f5f9;
}
body[data-theme="dark"] .dt-pf-val.is-good,
.hub-screen-dashboard .dt-pf-val.is-good { fill: #34d399; }
body[data-theme="dark"] .dt-pf-big.is-hot,
.hub-screen-dashboard .dt-pf-big.is-hot { fill: #fb7185; }
body[data-theme="dark"] .dt-pf-big.is-cool,
.hub-screen-dashboard .dt-pf-big.is-cool { fill: #38bdf8; }
body[data-theme="dark"] .dt-pf-zone-sub,
body[data-theme="dark"] .dt-pf-meta,
body[data-theme="dark"] .dt-pf-foot,
.hub-screen-dashboard .dt-pf-zone-sub,
.hub-screen-dashboard .dt-pf-meta,
.hub-screen-dashboard .dt-pf-foot {
  fill: #94a3b8;
}
body[data-theme="dark"] .dt-pf-bridge-pill,
.hub-screen-dashboard .dt-pf-bridge-pill {
  fill: rgba(15, 23, 42, 0.94);
  stroke: rgba(251, 113, 133, 0.48);
}

/* ==========================================================================
   AUTOCAD BLUEPRINT + REAL PHOTO + LIVE MES GLASS FLOW CUT-GRIND DIGITAL TWIN
   ========================================================================== */
.dt-screen-canvas-bar .dt-mode-btn {
  padding: 6px 10px;
}
.dt-screen-canvas-bar .dt-mode-group {
  flex-wrap: nowrap;
}
.dt-cad-stage {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #071527;
  border: 1px solid rgba(56, 189, 248, 0.28);
}
.dt-cad-blueprint-pane {
  width: 100%;
  line-height: 0;
}
.dt-cad-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  user-select: none;
}
.dt-canvas-wrap.is-screen .dt-cad-svg {
  max-height: 560px;
}
.dt-cad-flow-stroke {
  animation: dtPfDash 1.2s linear infinite;
}
.dt-cad-pin {
  cursor: pointer;
}
.dt-cad-zone-box {
  fill: rgba(56, 189, 248, 0.08);
  stroke: rgba(56, 189, 248, 0.45);
  stroke-width: 1.6;
  transition: fill 0.16s ease, stroke 0.16s ease, stroke-width 0.16s ease;
}
.dt-cad-zone-box.is-live {
  fill: rgba(16, 185, 129, 0.11);
  stroke: rgba(52, 211, 153, 0.65);
}
.dt-cad-zone-box.is-gold {
  fill: rgba(234, 179, 8, 0.1);
  stroke: rgba(250, 204, 21, 0.65);
}
.dt-cad-zone-box.is-robot {
  fill: rgba(225, 29, 72, 0.1);
  stroke: rgba(251, 113, 133, 0.68);
}
.dt-cad-pin:hover .dt-cad-zone-box {
  fill: rgba(56, 189, 248, 0.22);
  stroke: #38bdf8;
}
.dt-cad-pin.is-selected .dt-cad-zone-box {
  fill: rgba(56, 189, 248, 0.24);
  stroke: #7dd3fc;
  stroke-width: 3;
}
.dt-cad-dot { fill: #38bdf8; stroke: #071527; stroke-width: 2.2; }
.dt-cad-dot.is-on { fill: #34d399; animation: dtPfPulse 1.6s ease-in-out infinite; }
.dt-cad-dot.is-warn { fill: #fbbf24; }
.dt-cad-dot.is-lime { fill: #a3e635; }
.dt-cad-dot.is-gold { fill: #facc15; }
.dt-cad-tag {
  fill: rgba(7, 21, 39, 0.92);
  stroke: rgba(56, 189, 248, 0.55);
  stroke-width: 1.4;
}
.dt-cad-tag.is-live { stroke: rgba(52, 211, 153, 0.78); }
.dt-cad-tag.is-robot { stroke: rgba(251, 113, 133, 0.78); }
.dt-cad-tag-t {
  font-size: 13px;
  font-weight: 800;
  fill: #f8fafc;
}
.dt-cad-tag-s {
  font-size: 12px;
  font-weight: 600;
  fill: #7dd3fc;
}

/* Live MES Glass Flow Overlay inside the Open Upper-Right Quadrant of the CAD Blueprint */
.dt-cad-flow-hud {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 45%;
  max-width: 460px;
  max-height: calc(68% - 14px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(6, 18, 36, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.36);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  color: #e2e8f0;
  overflow: hidden;
  line-height: 1.35;
}
.dt-cad-hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.dt-cad-hud-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
}
.dt-cad-hud-meta {
  font-size: 11.5px;
  font-weight: 600;
  color: #7dd3fc;
}
.dt-cad-rack-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.dt-cad-rack-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.4);
  font-size: 11.5px;
}
.dt-cad-rack-pill b { color: #6ee7b7; font-weight: 800; }
.dt-cad-rack-pill em { font-style: normal; color: #f8fafc; font-weight: 700; }

.dt-cad-cards-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
}
.dt-cad-card-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dt-cad-card-top {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
}
.dt-cad-card-top b { color: #38bdf8; font-weight: 800; }
.dt-cad-card-top span { color: #cbd5e1; overflow: hidden; text-overflow: ellipsis; }
.dt-cad-card-top em { font-style: normal; color: #94a3b8; display: none; }
.dt-cad-card-top strong { margin-left: auto; color: #34d399; font-weight: 800; }
.dt-cad-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  overflow: hidden;
}
.dt-cad-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #34d399);
}

.dt-cad-stream-wrap {
  overflow-y: auto;
  overflow-x: auto;
  flex: 1 1 auto;
  min-height: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 4px;
}
.dt-cad-stream-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}
.dt-cad-stream-table th {
  text-align: left;
  color: #94a3b8;
  font-weight: 700;
  padding: 3px 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  white-space: nowrap;
}
.dt-cad-stream-table td {
  padding: 3.5px 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: middle;
}
.dt-cad-stream-table td.is-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #7dd3fc;
  white-space: nowrap;
}
.dt-cad-stream-table td.is-client b {
  display: block;
  color: #f1f5f9;
  font-weight: 700;
  line-height: 1.2;
}
.dt-cad-stream-table td.is-client small,
.dt-cad-stream-table td.is-spec small {
  display: block;
  color: #94a3b8;
  font-size: 10.5px;
}
.dt-cad-stream-table td.is-spec {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #e2e8f0;
  white-space: nowrap;
}
.dt-cad-stream-table td.is-empty {
  text-align: center;
  padding: 12px;
  color: #94a3b8;
}
.dt-cad-shelf-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
  font-weight: 800;
  white-space: nowrap;
}

/* Real Workshop Photo Header inside Right-Side Inspector Card */
.dt-inspector-photo-box {
  position: relative;
  margin: 0 0 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #0f172a;
}
.dt-inspector-photo {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}
.dt-inspector-photo-box figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f8fafc;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.86));
}

@media (max-width: 960px) {
  .dt-cad-flow-hud {
    position: static;
    width: auto;
    max-width: none;
    max-height: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
}

/* ==================== PHOTOREAL 3D DIGITAL TWIN PANORAMA (v115) ==================== */
.dt-lg-run { background: #10b981; }
.dt-lg-idle { background: #94a3b8; }
.dt-lg-warn { background: #f59e0b; }
.dt-lg-flow { background: #38bdf8; }

.dt-photoreal-stage {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border-radius: 14px;
  overflow: hidden;
  background: #060f24;
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: inset 0 0 40px rgba(14, 165, 233, 0.14);
}
.dt-pr-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 380px;
  overflow: hidden;
  background: #040b1a;
}
.dt-pr-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 540px;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.12);
}
.dt-canvas-wrap.is-screen .dt-pr-img {
  max-height: 520px;
}
.dt-pr-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 11, 26, 0.72) 0%, rgba(4, 11, 26, 0.08) 28%, rgba(4, 11, 26, 0.14) 72%, rgba(4, 11, 26, 0.78) 100%),
    radial-gradient(circle at 50% 48%, transparent 45%, rgba(4, 11, 26, 0.52) 100%);
}
.dt-pr-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.09) 50%, transparent 100%);
  background-size: 100% 240%;
  animation: dtScanSweep 7s linear infinite;
}
@keyframes dtScanSweep {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}
.dt-pr-topbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 3;
}
.dt-pr-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  color: #e0f2fe;
  background: rgba(14, 165, 233, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.65);
  backdrop-filter: blur(8px);
}
.dt-pr-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.35);
}
.dt-pr-desc {
  font-size: 12px;
  font-weight: 650;
  color: rgba(226, 238, 255, 0.92);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 15, 36, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.26);
  backdrop-filter: blur(8px);
}
.dt-pr-hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
}
.dt-pr-spot {
  position: absolute;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 11px;
  border: 1px solid rgba(125, 211, 252, 0.48);
  background: rgba(6, 17, 42, 0.82);
  color: #f8fafc;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -10px rgba(2, 6, 23, 0.9), 0 0 0 1px rgba(56, 189, 248, 0.2);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.dt-pr-spot:hover,
.dt-pr-spot.is-selected {
  transform: translateY(-2px) scale(1.03);
  border-color: #38bdf8;
  box-shadow: 0 12px 26px -8px rgba(14, 165, 233, 0.55), 0 0 0 2px rgba(56, 189, 248, 0.45);
}
.dt-pr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #94a3b8;
}
.dt-pr-spot.is-run .dt-pr-dot {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.32);
}
.dt-pr-spot.is-online .dt-pr-dot {
  background: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.28);
}
.dt-pr-spot-copy b {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}
.dt-pr-spot-copy em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #7dd3fc;
  line-height: 1.25;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dt-spot-lc_02 { left: 4%; top: 18%; }
.dt-spot-lc_03 { left: 37%; top: 16%; }
.dt-spot-lc_04 { right: 4%; top: 18%; }
.dt-spot-lc_07 { right: 5%; bottom: 16%; }
.dt-spot-lc_09 { left: 34%; bottom: 15%; }
.dt-spot-sealer { left: 4%; bottom: 16%; }

.dt-pr-closeup-hud {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 440px;
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(6, 17, 42, 0.84);
  border: 1px solid rgba(56, 189, 248, 0.45);
  backdrop-filter: blur(12px);
  z-index: 4;
}
.dt-pr-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #38bdf8;
  margin-bottom: 3px;
}
.dt-pr-closeup-hud strong {
  display: block;
  font-size: 16px;
  font-weight: 850;
  color: #ffffff;
  margin-bottom: 3px;
}
.dt-pr-closeup-hud p {
  margin: 0;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
}
.dt-pr-cambar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(7, 17, 38, 0.96);
  border-top: 1px solid rgba(56, 189, 248, 0.22);
  overflow-x: auto;
}
.dt-pr-cam-btn {
  appearance: none;
  flex: 1 0 auto;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 9px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(15, 31, 64, 0.85);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}
.dt-pr-cam-btn:hover { color: #ffffff; border-color: rgba(56, 189, 248, 0.65); }
.dt-pr-cam-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-color: #7dd3fc;
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(56, 189, 248, 0.65);
}

@media (max-width: 820px) {
  .dt-photoreal-stage { min-height: auto; }
  .dt-pr-media { min-height: 220px; }
  .dt-pr-img { min-height: 220px; max-height: 250px; }
  .dt-pr-topbar { top: 8px; left: 8px; right: 8px; }
  .dt-pr-desc { display: none; }
  .dt-pr-hotspots {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    background: #07132c;
  }
  .dt-pr-spot { position: static; width: 100%; padding: 7px 8px; }
  .dt-pr-spot-copy em { white-space: normal; font-size: 10.5px; }
  .dt-pr-closeup-hud { position: static; max-width: none; border-radius: 0; border-left: 0; border-right: 0; }
  .dt-pr-cam-btn { min-height: 38px; }
}
/* END DIGITAL TWIN STYLES */

