:root{color-scheme:light;--bg:#f3f6fa;--panel:#ffffff;--panel2:#f0f5f8;--line:#dce5ed;--text:#172b3a;--muted:#526779;--accent:#087c72;--blue:#2563b5;--danger:#b42332;--radius:14px;font-family:Inter,"Microsoft YaHei",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--accent);text-decoration:none}[hidden]{display:none!important}.workspace{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:#ffffff;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;font-size:16px;color:var(--text);font-weight:700}.brand-icon{display:inline-grid;place-content:center;background:linear-gradient(140deg,#0c8c80,#12638c);border:1px solid #0e807c;border-radius:12px;width:44px;height:44px;color:#ffffff;font-size:23px;position:relative;flex-shrink:0}.brand-icon span{font-size:13px;position:absolute;right:5px;top:3px}small{display:block;color:var(--muted);font-size:11px;line-height:1.7;font-weight:400}.brand small{font-size:8px;letter-spacing:1px;margin-top:5px}.nav-caption{margin:36px 12px 12px;font-size:10px;letter-spacing:2px;color:#64798b}nav{display:grid;gap:5px}nav button{background:none;border:1px solid transparent;border-radius:8px;text-align:left;color:#526779;padding:12px 13px;display:flex;align-items:center;gap:13px;font-size:13px}nav button i{font-size:18px;font-style:normal;width:20px;text-align:center}nav button:hover{background:#f0f5f8}nav button.active{background:#eaf7f3;border-color:#b9ded4;color:#087c72}.sidebar-bottom{margin-top:auto;padding:25px 10px 0;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px}.sidebar-bottom b{margin-left:auto;font-size:10px}.online-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 9px #0a8b7626}main{padding:0 34px;min-width:0}.topbar{min-height:112px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line)}h1,h2,h3,p{margin-top:0}h1{font-size:26px;margin-bottom:0;letter-spacing:.5px}h2{font-size:19px;margin-bottom:15px}h3{font-size:15px;margin-bottom:14px}.eyebrow{color:var(--accent);font-size:9px;font-weight:700;letter-spacing:2px;margin-bottom:11px}.header-actions{display:flex;gap:12px;align-items:center}.user-badge{font-size:11px;color:var(--muted)}.pill{display:inline-block;border-radius:6px;border:1px solid var(--line);padding:5px 8px;font-size:10px;color:var(--muted);white-space:nowrap}.pill.good{background:#eaf7f3;color:#087c72;border-color:#b9ded4}.pill.warn{background:#fff7e6;color:#875400;border-color:#eed6a6}.pill.bad{background:#fff1f2;color:#b42332;border-color:#f0c5cc}.service-strip{display:flex;align-items:center;gap:24px;padding:16px 0 24px;color:var(--muted);font-size:10px;flex-wrap:wrap}.service-strip span:first-child{color:#087c72}.service-strip i{margin-right:6px}.service-strip span:last-child{margin-left:auto}#page-content{min-height:65vh}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.kpi{padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(140deg,#ffffff,#ffffff)}.kpi-label{font-size:11px;color:var(--muted)}.kpi strong{display:block;font-size:32px;font-weight:500;margin:12px 0 10px;color:#0d6871}.kpi small{font-size:10px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0;margin-bottom:20px}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.card-head p,.intro{font-size:12px;color:var(--muted);line-height:1.8}.primary,.secondary,.danger,.text-button{border-radius:7px;padding:10px 15px;border:1px solid transparent;font-size:12px}.primary{background:var(--accent);color:#ffffff;font-weight:700}.secondary{background:#f0f5f8;border-color:#dce5ed;color:#38566d}.danger{background:#fff1f2;border-color:#f0c5cc;color:#b42332}.text-button{background:transparent;color:var(--muted);padding:8px}.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.toolbar label{flex:1;min-width:130px}.toolbar button{min-height:40px}label{display:flex;flex-direction:column;gap:8px;color:#526779;font-size:11px;margin:0 0 16px}.toolbar label{margin:0}input,select,textarea{background:#ffffff;color:var(--text);border:1px solid #dce5ed;border-radius:6px;padding:11px 12px;width:100%;min-width:0}input::placeholder,textarea::placeholder{color:#64798b}textarea{min-height:130px;resize:vertical;line-height:1.7;font-family:Consolas,"Microsoft YaHei",monospace}form .actions,.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}thead{background:#f0f5f8;color:#526779}th{text-align:left;font-weight:500;padding:13px 12px}td{border-bottom:1px solid #dce5ed;padding:14px 12px;max-width:270px;overflow:hidden;text-overflow:ellipsis}td.wrap{white-space:normal;line-height:1.8}td button{padding:6px 10px;margin-right:5px}code{color:#087c72;font-family:Consolas,monospace;font-size:11px;overflow-wrap:anywhere}pre{overflow:auto;color:#38566d;background:#ffffff;padding:15px;font-size:11px;line-height:1.8;max-height:320px;border-radius:8px}.empty{padding:46px 24px;text-align:center;color:#64798b;border:1px dashed #dce5ed;border-radius:8px}.empty b{display:block;color:#526779;font-size:14px;font-weight:500;margin-bottom:10px}.empty p{font-size:11px;margin:0;line-height:1.8}.notice{padding:14px 18px;border:1px solid #b9ded4;background:#eaf7f3;color:#087c72;font-size:11px;line-height:1.9;border-radius:8px;margin-bottom:22px}.notice.warn{border-color:#eed6a6;background:#fff7e6;color:#875400}.divider{height:1px;background:var(--line);margin:22px 0}.metric-row{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;color:#526779}.metric-row strong{color:#172b3a;font-weight:500}.pagination{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-top:20px;font-size:11px;color:var(--muted)}footer{border-top:1px solid var(--line);padding:24px 0;display:flex;justify-content:space-between;gap:16px;font-size:9px;color:#64798b}.login-screen{max-width:1200px;padding:70px 7vw;margin:auto;min-height:100vh;display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:70px}.login-brand .brand-icon{margin-bottom:40px}.login-brand h1{font-size:44px;line-height:1.5;font-weight:500;margin:10px 0 22px}.login-brand p:not(.eyebrow){font-size:12px;color:var(--muted);line-height:1.8}.login-tags{display:flex;gap:18px;color:#087c72;font-size:11px;margin-top:45px}.login-tags span:before{content:'✓';margin-right:7px}.login-card{padding:36px}.login-card h2{font-size:24px;margin:18px 0 12px}.login-card p{font-size:12px;line-height:1.8;color:var(--muted)}.login-card button{width:100%;margin:10px 0 20px}.login-card small{font-size:10px}#login-error{color:var(--danger)}dialog{max-width:680px;width:calc(100vw - 32px);border:1px solid #dce5ed;border-radius:14px;background:var(--panel);color:var(--text);padding:28px;max-height:90vh;overflow:auto}dialog::backdrop{background:#18344955;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.dialog-heading h2{margin:0}.notification{position:fixed;bottom:30px;right:30px;background:#eaf7f3;border:1px solid #b9ded4;color:#087c72;border-radius:9px;padding:17px 25px;max-width:min(520px,90vw);font-size:12px;box-shadow:0 10px 40px #1b3b5b1a;z-index:10;line-height:1.8}.notification.error{background:#fff1f2;border-color:#f0c5cc;color:#b42332}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.role-note{color:var(--muted);font-size:11px;line-height:1.9}.captcha-img{max-height:70px;max-width:240px;margin:0 0 15px}.subtle{color:var(--muted);font-size:11px;line-height:1.9}.entity-counts{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.button-row{display:flex;gap:8px;align-items:center}.row-count{font-size:11px;color:var(--muted)}
progress{width:140px;height:6px;accent-color:var(--accent)}#history-progress .subtle span{display:inline-block;margin-bottom:8px}.sidebar nav{min-height:0;overflow-y:auto}.sidebar-bottom{padding-top:14px}#history-progress td:nth-child(6){white-space:normal;min-width:130px}
.analysis-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.analysis-heading h2{font-size:29px;margin-bottom:10px}.analysis-heading p:not(.eyebrow){color:var(--muted);font-size:12px;margin-bottom:0}.analysis-heading .actions{margin:0}.analytics-kpis .kpi:first-child{border-color:#b9ded4;background:linear-gradient(140deg,#eaf7f3,#f3faf8)}.analysis-meta,.chart-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:-7px 0 23px}.chart-foot{margin:12px 0}.filter-chips{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.trend-chart{display:flex;align-items:stretch;height:205px;gap:3px;overflow-x:auto;border-bottom:1px solid var(--line);padding-top:12px}.trend-bar{display:flex;flex:1;flex-direction:column;justify-content:flex-end;align-items:stretch;min-width:14px;max-width:85px;background:transparent;border:0;padding:0;color:var(--muted)}.trend-bar svg{width:100%;height:160px;overflow:visible}.trend-bar span{height:28px;font-size:9px;line-height:28px;white-space:nowrap;align-self:center}.bar-fill{fill:var(--accent)}.bar-track{fill:#e4edf2}.trend-bar:hover .bar-fill,.distribution-row:hover .bar-fill{fill:#087c72}.distribution{display:grid;gap:10px;margin-top:8px}.distribution-row{width:100%;display:grid;grid-template-columns:minmax(45px,90px) minmax(40px,1fr) 60px 45px;align-items:center;gap:10px;padding:9px 0;background:transparent;color:var(--text);border:0;text-align:left;min-width:0}.distribution-row svg{width:100%;height:12px}.distribution-row b{text-align:right;font-weight:500;font-size:12px}.distribution-row small{text-align:right}.distribution-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526779;font-size:12px}.distribution-row:disabled{opacity:1;cursor:default}.results-heading{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:10px;flex-wrap:wrap}.results-heading b{font-size:20px;font-weight:500}.results-heading span{font-size:11px;color:var(--muted)}.detail-source{color:var(--accent);font-size:12px}.detail-section{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;margin:0}.detail-grid div{min-width:0}.detail-grid dt{font-size:11px;color:var(--muted);margin-bottom:7px}.detail-grid dd{margin:0;font-size:13px;overflow-wrap:anywhere;line-height:1.7;white-space:pre-wrap}.advanced-filters{flex-basis:100%;min-width:0;color:var(--muted);font-size:11px}.advanced-filters summary{cursor:pointer;padding:8px 0}.advanced-filters .toolbar{margin:10px 0 0}.operations-heading{margin:36px 0 22px;font-size:22px}.import-panel>summary{cursor:pointer;margin-bottom:15px;color:var(--muted);font-size:12px}
.analysis-filter-panel>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;cursor:pointer;font-size:12px;color:var(--muted);list-style:none}.analysis-filter-panel>summary b{font-size:14px;color:var(--text);font-weight:500}.analysis-filter-panel>summary small{margin-top:7px;white-space:normal;overflow-wrap:anywhere}.analysis-filter-panel[open]>summary{margin-bottom:25px}.analysis-filter-panel>summary::-webkit-details-marker{display:none}
.glass-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.glass-kpis .kpi:nth-child(2){border-color:#c6dcea;background:linear-gradient(140deg,#eff6ff,#eff6ff)}.analysis-controls{display:flex;justify-content:space-between;gap:10px;margin:16px 0 22px;flex-wrap:wrap}.metric-toggle,.glass-tabs{display:flex;gap:8px;flex-wrap:wrap}.glass-tabs{margin:0 0 24px}.quality-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.quality-check{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:22px;min-width:0}.quality-check>span{font-size:12px;color:var(--muted)}.quality-check strong{display:block;font-size:28px;font-weight:500;margin:14px 0;color:#875400}.quality-check p{font-size:11px;line-height:1.9;color:var(--muted);min-height:42px}.scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.scope-grid>div{padding:18px;border:1px solid var(--line);border-radius:8px}.scope-grid p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}.detail-area{padding:18px;background:#eaf7f3;border:1px solid #b9ded4;border-radius:10px;margin-top:20px}.detail-area>span{font-size:12px;color:var(--muted)}.detail-area strong{display:block;font-size:28px;font-weight:500;margin:12px 0}.plan-area-preview{padding:16px;border:1px solid #b9ded4;border-radius:8px;background:#eaf7f3;color:var(--accent);font-size:13px}.distribution-row{grid-template-columns:minmax(55px,100px) minmax(30px,1fr) 95px 42px}.planning-strip{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid var(--line);border-radius:9px;background:#f0f5f8;padding:13px 16px;font-size:11px;color:var(--muted);margin:-2px 0 24px}.planning-strip button{margin-left:auto}.planning-strip b{color:var(--text);font-weight:500}
@media(max-width:1100px){.quality-checks{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.glass-kpis{grid-template-columns:1fr 1fr}.glass-kpis .kpi strong{font-size:23px}.quality-checks,.scope-grid{grid-template-columns:1fr}.quality-check p{min-height:0}.distribution-row{grid-template-columns:58px minmax(20px,1fr) 76px 35px;gap:5px}.distribution-row b{font-size:11px}.glass-tabs{gap:6px}.glass-tabs button{padding:9px 10px}}
.glass-kpis .kpi strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}@media(max-width:720px){.glass-kpis .kpi strong{font-size:20px}}
@media(max-width:700px){.analysis-heading{align-items:flex-start;flex-direction:column}.analysis-heading h2{font-size:25px}.analysis-heading .actions{gap:7px}.analysis-heading button{padding:9px 11px}.distribution-row{grid-template-columns:60px minmax(30px,1fr) 52px 42px;gap:6px}.detail-grid{grid-template-columns:1fr}.analysis-meta{line-height:1.8}.trend-bar span{font-size:8px}.trend-chart{gap:2px}.results-heading b{font-size:18px}}
@media(min-width:1700px){main{padding:0 50px}.card{padding:30px}.kpi{padding:28px}.sidebar{padding-top:35px}}
@media(max-width:1100px){.workspace{grid-template-columns:196px minmax(0,1fr)}main{padding:0 22px}.sidebar{padding-inline:10px}.brand{font-size:13px}.header-actions{gap:6px}.user-badge{display:none}.grid{grid-template-columns:1fr}.kpis{gap:10px}.kpi{padding:16px}.kpi strong{font-size:28px}.login-screen{gap:30px}}
@media(max-width:720px){.workspace{grid-template-columns:66px minmax(0,1fr)}.sidebar{padding:18px 7px}.brand>span,.nav-caption,.sidebar-bottom{display:none}.brand{justify-content:center}.brand-icon{width:37px;height:37px}.sidebar nav{margin-top:25px}.sidebar nav button{font-size:0;justify-content:center;padding:10px 0;gap:0}.sidebar nav button i{font-size:21px}.topbar{flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;padding:22px 0}.topbar h1{font-size:22px}.service-strip{gap:12px;font-size:9px}.service-strip span:last-child{display:none}main{padding:0 13px}.kpis{grid-template-columns:1fr 1fr}.kpi-label{font-size:10px}.kpi strong{font-size:26px}.card{padding:18px 14px}.card-head{flex-wrap:wrap}.card-head h2{font-size:16px}.toolbar{gap:10px}.toolbar label{min-width:100px}.toolbar button{flex:1}.two-fields{grid-template-columns:1fr;gap:0}.login-screen{grid-template-columns:1fr;padding:35px 24px;gap:25px}.login-brand h1{font-size:30px}.login-brand .brand-icon{margin-bottom:20px}.login-tags{display:none}.login-card{padding:24px}.header-actions{width:100%;justify-content:space-between}.entity-counts{grid-template-columns:1fr}footer{flex-direction:column;line-height:1.8;font-size:8px}.grid{gap:0}.notice{padding:12px}.primary,.secondary,.danger{padding:10px 12px}dialog{padding:20px}.notification{bottom:14px;right:14px}}

/* 2.1: clearer tables, business lineage and deliberate loading states. */
.table-wrap{max-height:65vh;border:1px solid var(--line);border-radius:9px;scrollbar-color:#64798b #ffffff}
table{font-size:12px}thead{position:sticky;top:0;z-index:1;background:#f0f5f8}th{font-weight:600}td{font-variant-numeric:tabular-nums;line-height:1.6}tbody tr:hover{background:#edf7f5}tbody tr:nth-child(even){background-color:#f0f5f8}tbody tr:nth-child(even):hover{background:#edf7f5}
body[data-density=compact] td{padding:8px 11px}body[data-density=compact] th{padding:9px 11px}body[data-density=compact] td small{line-height:1.4}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.table-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.backend-offline{color:var(--danger)!important}.page-loading{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--muted)}.page-loading b{font-size:16px;color:var(--text)}.page-loading p{font-size:12px;text-align:center}.loading-ring{width:32px;height:32px;border:3px solid #e4edf2;border-top-color:var(--accent);border-radius:50%;animation:loading-turn .8s linear infinite}@keyframes loading-turn{to{transform:rotate(360deg)}}
.workbench-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.workbench-shortcuts button:last-child{margin-left:auto}.filter-chip{border:1px solid #b9ded4;border-radius:30px;background:#eaf7f3;color:#087c72;padding:7px 12px;font-size:11px}.filter-chip:hover{background:#edf7f5}
.pagination{flex-wrap:wrap;row-gap:12px}.page-jump{display:flex;align-items:center;gap:8px;margin:0}.page-jump label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}.page-jump input{width:72px;padding:8px}.page-jump button{padding:9px 12px}
.hub-kpis .kpi strong{font-size:28px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.source-card{padding:20px;background:#ffffff;border:1px solid #dce5ed;border-radius:10px;min-width:0}.source-card h3{font-size:14px;line-height:1.6;margin:0}.source-card .card-head{align-items:center;flex-wrap:wrap;margin-bottom:12px}.source-card>p{color:var(--muted);font-size:11px;line-height:1.8;margin:12px 0}.source-card>strong{font-size:26px;font-weight:500;color:#0d6871;font-variant-numeric:tabular-nums}.source-card .source-note{min-height:42px}.source-card>button{width:100%;margin-top:8px}
.hub-layers{display:grid;gap:12px}.hub-layer{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px;border-radius:9px;background:#ffffff;border:1px solid var(--line)}.layer-code{font-family:Consolas,monospace;font-size:20px;color:var(--accent);font-weight:700;letter-spacing:1px}.hub-layer h3{margin-bottom:7px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.hub-layer p{font-size:12px;line-height:1.8;color:#526779;margin:0 0 7px}.hub-layer small{font-size:11px}
.trace-chain{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.trace-step{position:relative;border:1px solid var(--line);border-radius:10px;padding:17px 13px;background:#ffffff;min-width:0}.trace-step:not(:last-child):after{content:'→';position:absolute;right:-11px;top:25px;color:var(--accent);z-index:1;background:var(--panel);font-size:14px}.trace-number{font-family:Consolas,monospace;font-size:11px;letter-spacing:1px;color:var(--accent)}.trace-step h3{font-size:13px;margin:10px 0}.trace-step p{font-size:11px;color:var(--muted);line-height:1.9;min-height:62px;margin:13px 0}.trace-step button{font-size:11px;padding:8px}.hub-join{margin-top:18px;margin-bottom:0}
.hub-quality-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.quality-summary{min-width:0;text-align:left;border:1px solid var(--line);border-radius:10px;padding:18px;background:var(--panel);color:var(--text)}.quality-summary>span{font-size:11px;color:var(--muted)}.quality-summary b{display:block;font-size:25px;font-variant-numeric:tabular-nums;margin:10px 0}.quality-summary:hover{border-color:#b9ded4;background:#f3faf8}.hub-long-text{display:block;white-space:normal;min-width:180px;line-height:1.9;color:#526779}details.card>summary{cursor:pointer;color:var(--text)}details.card>p{margin-top:18px}
@media(max-width:1250px){.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trace-chain{grid-template-columns:repeat(3,minmax(0,1fr))}.trace-step:not(:last-child):after{display:none}}
@media(max-width:720px){.header-actions{flex-wrap:wrap;justify-content:flex-start;gap:7px}.sidebar nav button{font-size:9px;flex-direction:column;gap:4px;padding:9px 2px;line-height:1.5}.sidebar nav button i{font-size:19px}.source-grid,.trace-chain{grid-template-columns:1fr}.source-card .source-note,.trace-step p{min-height:0}.hub-layer{grid-template-columns:48px minmax(0,1fr);padding:13px;gap:12px}.hub-layer>button{grid-column:2;justify-self:start}.layer-code{font-size:16px}.hub-kpis .kpi strong{font-size:22px}.hub-quality-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quality-summary{padding:13px}.workbench-shortcuts{gap:7px}.workbench-shortcuts button{flex:1 1 40%;padding:10px 8px}.workbench-shortcuts button:last-child{margin-left:0}.table-wrap{max-height:60vh}.pagination{justify-content:flex-start}.page-jump{flex-basis:100%}.distribution-row{grid-template-columns:minmax(45px,70px) minmax(20px,1fr) 82px 38px;gap:5px}}
@media(prefers-reduced-motion:reduce){.loading-ring{animation:none}}
.erp-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 22px}.erp-heading h2{font-size:25px;margin:8px 0}.erp-heading p{font-size:12px;line-height:1.8;color:var(--muted)}.erp-heading .eyebrow{color:var(--accent)}.erp-scope{display:flex;gap:14px;flex-wrap:wrap;padding:16px 20px;border:1px solid #c6dcea;border-radius:10px;background:#eff6ff;color:var(--muted);font-size:12px}.erp-scope b{color:var(--text);font-variant-numeric:tabular-nums;margin-left:8px}.erp-analysis .grid{margin-top:20px}.erp-analysis .card{padding:15px}.erp-tabs{margin-top:26px}.erp-kpis small{line-height:1.8}.erp-heading .primary{flex-shrink:0}
@media(max-width:720px){.erp-heading{align-items:flex-start;flex-direction:column}.erp-heading h2{font-size:22px}.erp-scope{padding:13px;gap:12px}.erp-scope>span{display:block;width:100%}.erp-analysis .card{padding:12px}.erp-analysis .grid{margin-top:12px}.erp-kpis .kpi strong{font-size:21px}.erp-tabs{gap:7px}}

/* Glass processing framework: target architecture alongside observed capability. */
.framework-layers{display:grid;gap:10px}.framework-layer{border:1px solid var(--line);border-radius:10px;background:#ffffff;overflow:hidden}.framework-layer>summary{display:flex;align-items:center;gap:18px;padding:18px;cursor:pointer;list-style:none}.framework-layer>summary::-webkit-details-marker{display:none}.framework-layer>summary:after{content:'+';margin-left:5px;color:var(--accent);font-size:20px}.framework-layer[open]>summary:after{content:'−'}.framework-layer>summary>span:nth-child(2){flex:1;min-width:0}.framework-layer summary b{display:block;font-size:14px}.framework-layer summary small{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin-top:5px}.framework-number{font-family:Consolas,monospace;color:var(--accent);font-size:19px;font-weight:600}.framework-layer-body{padding:0 22px 22px 68px}.framework-layer-body p,.framework-detail dd,.framework-governance p,.framework-controls p,.framework-roadmap p{font-size:12px;line-height:1.95;color:#526779;overflow-wrap:anywhere}.framework-layer[open]{border-color:#b9ded4}.framework-layer summary:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.framework-domains{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:18px}.framework-domain{min-width:0;text-align:left;border:1px solid var(--line);border-radius:9px;padding:15px 11px;background:#ffffff;color:var(--text)}.framework-domain>span{color:var(--accent);font-size:10px;font-family:Consolas,monospace}.framework-domain b{display:block;font-size:17px;margin:9px 0}.framework-domain small{font-size:10px;color:var(--muted);display:block}.framework-domain.selected{background:#eaf7f3;border-color:#b9ded4;box-shadow:inset 0 3px #b9ded4}.framework-domain:hover{border-color:#b9ded4}.framework-detail{padding:24px;border:1px solid #b9ded4;border-radius:10px;background:#f3faf8;scroll-margin:20px}.framework-detail:focus{outline:2px solid #b9ded4;outline-offset:3px}.framework-definition{margin:0 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:18px 28px}.framework-definition>div{min-width:0}.framework-definition dt{font-size:10px;color:var(--accent);letter-spacing:1px}.framework-definition dd{margin:5px 0 0}.framework-detail .card-head{flex-wrap:wrap}
.framework-governance,.framework-controls,.framework-roadmap{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.framework-governance article,.framework-controls article,.framework-roadmap article{min-width:0;border:1px solid var(--line);border-radius:9px;background:#ffffff;padding:20px}.framework-governance h3,.framework-controls h3,.framework-roadmap h3{font-size:14px;line-height:1.7;margin:0 0 10px}.framework-controls h3{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.framework-roadmap{grid-template-columns:repeat(4,minmax(0,1fr))}.framework-roadmap h3{margin-top:14px}.framework-roadmap small{display:block;font-size:11px;line-height:1.9;color:#087c72;border-top:1px solid var(--line);padding-top:12px}
@media(max-width:1250px){.framework-domains{grid-template-columns:repeat(4,minmax(0,1fr))}.framework-roadmap{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.framework-domains{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.framework-domain{padding:12px}.framework-definition,.framework-governance,.framework-controls,.framework-roadmap{grid-template-columns:1fr}.framework-detail{padding:15px}.framework-layer>summary{padding:13px;gap:10px;flex-wrap:wrap}.framework-layer>summary>span:nth-child(2){min-width:130px}.framework-layer>summary>.pill{margin-left:29px}.framework-layer-body{padding:0 15px 18px}.framework-layer-body button{width:100%}.framework-governance article,.framework-controls article,.framework-roadmap article{padding:16px}.framework-detail .actions button{width:100%}}


/* Data console: shared controls and readable, compact work surfaces. */
:root{--bg:#f2f4f7;--panel:#fff;--panel2:#f7f8fa;--line:#e0e5eb;--text:#243247;--muted:#637287;--accent:#2468d1;--blue:#2468d1;--danger:#be3c3c;--radius:6px;font-family:"Microsoft YaHei","Segoe UI",system-ui,sans-serif}
body{background:var(--bg);font-size:13px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workspace{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:#1b293c;border:0;color:#bdc9d8;position:sticky;top:0;height:100vh;padding:23px 11px 12px;display:flex;flex-direction:column;z-index:15}.brand{color:#f1f5fb;font-size:15px;padding:0 8px;gap:10px}.brand-icon{width:36px;height:36px;border:0;border-radius:6px;background:#326dd2;font-size:21px;color:white}.brand small{font-size:7px;letter-spacing:.5px;color:#a3b4cb}.brand-icon span{font-size:11px}
.console-nav-search{margin:24px 8px 14px}.console-nav-search input{background:#26374e;border:1px solid #3b4a60;color:#edf3fc;border-radius:5px;font-size:12px;padding:9px 11px}.console-nav-search input::placeholder{color:#9aacc3}.sidebar nav{display:flex;flex-direction:column;gap:6px;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4d607a transparent;padding-right:3px}.console-nav-group{display:grid;gap:2px}.nav-group{color:#8597af;font-size:10px;font-weight:400;letter-spacing:.5px;margin:14px 12px 7px}.sidebar nav button{color:#bccadc;font-size:12px;line-height:1.5;padding:10px 12px;min-height:38px;border:0;border-radius:4px;display:flex;gap:11px;text-align:left;align-items:center;justify-content:flex-start;background:transparent}.sidebar nav button i,.sidebar nav button i svg{width:17px;height:17px;display:block;flex:0 0 17px}.sidebar nav button:hover{background:#293c57;color:#fff}.sidebar nav button.active{background:#2468d1;color:white;font-weight:500;box-shadow:none}.sidebar nav button.active:after{display:none}.sidebar [data-nav-filtered]{display:none!important}.sidebar-bottom{color:#9db0c8;margin-top:14px;padding:15px 8px 0;border-top:1px solid #34445b;font-size:10px;flex-shrink:0}.sidebar-bottom small{color:#859ab5}.sidebar-bottom b{color:#aabbd1;font-size:10px}.sidebar .online-dot{background:#72b4ad;box-shadow:none}#nav-search-empty{margin:0 8px 12px;color:#b0bfd1}
main{padding:0 25px;min-width:0}.topbar{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #dce3eb}.topbar h1{font-size:20px;letter-spacing:0;font-weight:600}.topbar .eyebrow{font-size:10px;letter-spacing:0;color:#78879a;margin:0 0 7px}.header-actions{gap:9px;display:flex;align-items:center}.header-actions button{padding:7px 10px;font-size:11px;min-height:30px}.user-badge{font-size:11px;color:#6b7a8d}.service-strip{padding:11px 0 16px;gap:18px;font-size:10px;color:#77879a}.service-strip span:first-child{color:#258271}.service-strip .online-dot{box-shadow:none}.service-strip span:last-child{margin-left:auto}.nav-toggle,.nav-close{display:none}.nav-backdrop{position:fixed;inset:0;background:#152c4966;border:0;z-index:30}
h1,h2,h3{letter-spacing:0}h2{font-size:17px;font-weight:600}h3{font-size:14px;font-weight:600}.eyebrow{color:#607791;font-size:9px;letter-spacing:1px}.card{border:1px solid #dfe5ec;background:white;padding:20px;margin-bottom:18px;border-radius:6px;box-shadow:none}.card-head{gap:16px;margin-bottom:12px;align-items:flex-start}.card-head h2{font-size:16px;margin:0 0 8px}.card-head p,.intro{font-size:11px;color:#718095;line-height:1.8;margin:0 0 5px}.card-head>.primary,.card-head>.secondary,.card-head>.text-button{flex-shrink:0}.grid{gap:18px}.kpis{gap:13px;margin-bottom:18px}.kpi{background:#fff!important;border:1px solid #dfe5ec!important;box-shadow:none;border-radius:6px;padding:19px}.kpi-label{font-size:11px;color:#62758c}.kpi strong,.hub-kpis .kpi strong{font-size:28px;font-weight:600;color:#273e5a;margin:12px 0 8px;letter-spacing:0;font-variant-numeric:tabular-nums}.kpi small{font-size:10px;line-height:1.8}
.primary,.secondary,.danger,.text-button{border-radius:4px;padding:8px 12px;font-size:12px;min-height:32px;font-weight:400}.primary{background:#2468d1;color:white;border:1px solid #2468d1}.primary:hover:not(:disabled){background:#1b56b4;border-color:#1b56b4}.secondary{background:#fff;border:1px solid #ccd6e2;color:#455a73}.secondary:hover:not(:disabled){border-color:#6192d5;background:#f1f6fd;color:#2468d1}.text-button{color:#59708e}.text-button:hover{color:#2468d1;background:#edf3fc}.danger{color:#b33838;background:#fff5f5;border:1px solid #e9c5c5}.danger:hover:not(:disabled){background:#fdeaea}.actions{gap:8px;margin-top:12px}button:disabled{opacity:.45}
input,select,textarea{border:1px solid #cdd7e3;border-radius:4px;padding:9px 10px;background:white;color:#243247;font-size:12px;min-width:0;accent-color:#2468d1}input::placeholder,textarea::placeholder{color:#8c99aa}label{color:#5b6d84;font-size:11px;gap:7px}.check{display:flex;flex-direction:row;align-items:center;gap:9px;line-height:1.8}.check input,input[type=checkbox]{width:15px;height:15px;flex:0 0 15px;margin:0}.toolbar{display:flex;flex-wrap:wrap;gap:12px;padding:16px;background:#f7f9fb;border:1px solid #e5eaf0;border-radius:4px;margin-bottom:15px;align-items:end}.toolbar label{min-width:140px}.toolbar button{min-height:34px}.toolbar .toolbar{border:0;padding:0;background:transparent}.advanced-filters{flex-basis:100%;font-size:11px}.two-fields{gap:0 16px}
.pill{padding:3px 7px;border-radius:3px;border:1px solid #d8e1eb;color:#6b7b90;font-size:10px;font-weight:400;background:#f7f9fc}.pill.good{color:#247861;background:#edf8f2;border-color:#c5e4d5}.pill.warn{color:#906018;background:#fff8e9;border-color:#eedcb6}.pill.bad{color:#b64444;background:#fff1f1;border-color:#ecc5c5}.notice{border-radius:4px;padding:11px 14px;background:#f0f6ff;border:1px solid #d5e3f8;color:#486b9b;font-size:11px;line-height:1.8;margin-bottom:16px}.notice.warn{background:#fff9ed;color:#926a29;border-color:#eedfc5}.subtle{color:#758398;font-size:10px;line-height:1.9}.empty{padding:28px 18px;border:1px dashed #dce3ec;border-radius:4px;background:#fafbfd}.empty b{font-size:13px;color:#5d7189}.empty p{font-size:11px;color:#7c8ca0}.metric-row{padding:12px 0;border-color:#e5eaf0;font-size:12px}.metric-row strong{font-weight:500;color:#2d4564}
.table-wrap{border:1px solid #dce4ee;border-radius:4px;max-height:62vh;overflow:auto;max-width:100%;scrollbar-color:#b3c4d7 #f1f4f8}table{font-size:12px;width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap}thead{position:sticky;top:0;z-index:2;background:#f1f5fa;color:#506884}th{font-size:11px;padding:11px 12px;font-weight:600;background:#f1f5fa;border-bottom:1px solid #d8e2ee}td{padding:11px 12px;line-height:1.65;border-bottom:1px solid #e6ebf1;color:#314961;max-width:290px;font-variant-numeric:tabular-nums}td small{font-size:10px;color:#7e8fa3;line-height:1.7}tbody tr:nth-child(even){background:#fafbfd}tbody tr:hover,tbody tr:nth-child(even):hover{background:#f0f6fe}td button{padding:5px 8px;font-size:11px;min-height:28px}body[data-density=compact] td{padding:6px 9px}body[data-density=compact] th{padding:8px 9px}
.console-table{min-width:0;max-width:100%;margin-top:10px}.console-table-tools{display:flex;gap:9px;align-items:center;margin-bottom:9px;flex-wrap:wrap}.console-row-count{font-size:10px;color:#77899f;margin-right:auto}.console-table-tools>input{width:155px;padding:7px 9px;font-size:10px;height:30px}.console-table-tools>button{padding:6px 9px;font-size:10px;min-height:30px}.console-columns{position:relative;font-size:10px;color:#5d7391}.console-columns>summary{list-style:none;cursor:pointer;padding:7px 9px;border:1px solid #ccd7e4;border-radius:4px;background:white;min-height:30px}.console-columns>summary::-webkit-details-marker{display:none}.console-column-list{position:absolute;top:35px;right:0;min-width:200px;max-width:280px;max-height:300px;overflow:auto;border:1px solid #d9e2ed;border-radius:5px;background:white;padding:13px;box-shadow:0 8px 24px #1b35521c;z-index:12}.console-column-list label{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:11px;margin:0;padding:7px 0;line-height:1.5}.pagination{font-size:11px;gap:10px;border-top:1px solid #e4eaf1;padding-top:13px;margin-top:15px}.page-jump input{padding:7px;width:65px}.page-jump button{padding:7px 10px}
.console-page-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.console-page-intro h2{font-size:18px;margin:0 0 6px}.console-page-intro p{font-size:11px;color:#78869a;margin:0;line-height:1.8}.console-page-intro .actions{margin:0}.console-search{display:flex;align-items:center;gap:10px;padding:14px 17px;background:white;border:1px solid #dfe5ed;border-radius:5px;margin-bottom:15px}.console-search label{margin:0 8px 0 0;font-size:12px;font-weight:600;white-space:nowrap}.console-search select{width:130px;flex-shrink:0}.console-search input{max-width:550px;flex:1}.console-search button{flex-shrink:0}.console-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.console-metric{min-width:0;background:#fff;border:1px solid #dce4ee;border-radius:5px;padding:17px 19px;text-align:left;color:#536a85}.console-metric>span{font-size:12px}.console-metric strong{display:block;font-size:29px;color:#24496f;line-height:1.2;margin:11px 0 9px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.console-metric small{font-size:10px;color:#8290a3}.console-metric:hover{border-color:#91b0db;background:#fbfdff}.console-main-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(250px,1fr);gap:18px}.console-inline-stats{display:flex;gap:22px;flex-wrap:wrap;border-top:1px solid #e8edf3;padding:10px 0 8px;color:#718198;font-size:11px}.console-inline-stats b{font-weight:500;color:#38597e;margin-left:5px}.console-task{display:flex;align-items:center;width:100%;gap:12px;text-align:left;border:0;border-bottom:1px solid #e5ebf2;background:white;padding:14px 0;color:#3a506b}.console-task:last-child{border-bottom:0}.console-task span{flex:1}.console-task b{font-size:12px;font-weight:500}.console-task small{font-size:10px;margin-top:6px}.console-task strong{font-size:22px;font-weight:500;color:#aa6d26}.console-task i{font-style:normal;color:#8da0b5}.console-task:hover b{color:#2468d1}.console-shortcuts{display:flex;gap:8px;flex-wrap:wrap;padding:14px 16px;border:1px solid #dfe5ed;border-radius:5px;background:white;margin-bottom:20px}.console-shortcuts button{font-size:11px}
.console-catalog-summary{display:flex;gap:25px;flex-wrap:wrap;padding:16px 20px;border:1px solid #dce5ef;background:#fff;border-radius:5px;margin-bottom:18px;font-size:12px;color:#71839a}.console-catalog-summary b{font-size:19px;color:#36577e;margin-left:9px;font-weight:500}.catalog-description{display:block;min-width:180px;white-space:normal;font-size:11px;color:#6d8098;line-height:1.8}
.analysis-heading,.erp-heading,.desk-data-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 19px;border:1px solid #dfe5ee;border-radius:5px;background:#fff;margin:0 0 17px}.analysis-heading h2,.erp-heading h2,.desk-data-heading h2{font-size:20px;margin:6px 0 8px;font-weight:600}.analysis-heading p:not(.eyebrow),.erp-heading p:not(.eyebrow),.desk-data-heading p:not(.eyebrow){font-size:11px;color:#75859a;margin-bottom:0;line-height:1.8}.analysis-heading .eyebrow,.erp-heading .eyebrow,.desk-data-heading .eyebrow{font-size:8px;color:#8495aa;letter-spacing:1px}.analysis-heading .actions{margin:0}.analysis-filter-panel{padding:16px 18px}.analysis-filter-panel>summary b{font-size:12px}.analysis-filter-panel>summary small{font-size:10px}.analysis-filter-panel[open]>summary{margin-bottom:17px}.analysis-meta,.chart-foot{font-size:10px;line-height:1.8}.workbench-shortcuts{gap:7px;margin-bottom:16px}.workbench-shortcuts button{font-size:11px}.glass-tabs,.erp-tabs{display:flex;gap:0;border-bottom:1px solid #cdd9e7;margin:0 0 18px;padding:0;flex-wrap:wrap;background:transparent}.glass-tabs button,.erp-tabs button{border-radius:0;border:0;border-bottom:2px solid transparent;background:transparent;color:#647a96;font-size:12px;padding:10px 16px;box-shadow:none}.glass-tabs button.primary,.erp-tabs button.primary{color:#2468d1;border-bottom-color:#2468d1;background:#edf4ff;font-weight:600}.erp-scope{background:#f3f7fc;border-color:#d7e3f1;border-radius:4px;font-size:11px;padding:12px 16px}.desk-erp-overview>summary{font-size:12px;color:#526d90;cursor:pointer}.desk-erp-overview[open]>summary{margin-bottom:20px}.desk-erp-overview .erp-heading .primary{display:none}.desk-erp-overview .erp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-strip{border-radius:4px;padding:11px 14px;background:#f7f9fc;font-size:10px}.planning-strip button{font-size:11px}.distribution-row{padding:8px 0}.distribution-label{color:#5c7391;font-size:11px}.distribution-row b{font-size:11px}.bar-fill{fill:#4b83d2}.bar-track{fill:#edf1f7}.trend-chart{height:180px}.trend-bar svg{height:145px}.filter-chip{background:#edf4ff;border-color:#cfdef4;color:#326bad;border-radius:4px;font-size:10px}.filter-chip:hover{background:#e3edfc}
.quality-check,.quality-summary,.source-card,.hub-layer,.trace-step,.framework-layer,.framework-domain,.framework-detail,.framework-governance article,.framework-controls article,.framework-roadmap article{border-radius:5px;border-color:#dce5ef;background:white;box-shadow:none}.quality-check{padding:18px}.quality-check strong{font-size:25px;color:#a66e25}.quality-check p{font-size:10px}.source-card{padding:18px}.source-card>strong{color:#3a6087;font-size:24px}.hub-layer{padding:16px}.layer-code,.framework-number{color:#6080a7}.framework-domain.selected{background:#eef4fd;border-color:#9bb9e3;box-shadow:inset 0 2px #2468d1}.framework-domain>span,.framework-definition dt{color:#5980b3}.framework-layer[open]{border-color:#b7cae3}.framework-detail{background:#f9fbfe}.framework-layer-body p,.framework-detail dd,.framework-governance p,.framework-controls p,.framework-roadmap p{font-size:11px;color:#617895}.framework-roadmap small{color:#59779c}.hub-quality-bar{gap:12px}.trace-step p,.hub-layer p,.source-card>p{font-size:11px;color:#6b809b}.hub-long-text{color:#5f7591;font-size:11px}
.detail-area{background:#f1f6ff;border-color:#d3e1f5;border-radius:5px;padding:16px}.detail-area strong{font-size:27px;color:#335f97}.plan-area-preview{background:#f2f6fc;border-color:#d4e1f1;color:#4a6d9c;border-radius:4px}.detail-grid dt{font-size:11px}.detail-grid dd{font-size:12px;color:#344e6d}.detail-source{color:#5075a7}.detail-section{padding-top:17px;margin-top:18px}.detail-section h3{font-size:13px}.scope-grid>div{border-radius:5px}.scope-grid p{font-size:11px}dialog{border:1px solid #d4deeb;border-radius:7px;padding:24px;background:#fff;box-shadow:0 20px 70px #1e36572e}dialog::backdrop{background:#172d4a66;backdrop-filter:blur(1px)}.dialog-heading h2{font-size:18px}.notification{border-radius:5px;font-size:12px;padding:14px 19px;box-shadow:0 6px 25px #273e5c15;background:#edf8f2;border-color:#bddcca;color:#286b50}.notification.error{background:#fff0f0;color:#ae3e3e;border-color:#e7c0c0}pre{background:#f7f9fc;color:#4d688b;border:1px solid #e1e7f0;border-radius:4px}code{color:#4f729f}
.login-screen{min-height:100vh;max-width:1120px;grid-template-columns:1.1fr 1fr;gap:75px;padding:60px 6vw}.login-brand h1{font-size:35px;color:#253f61;font-weight:600;line-height:1.55}.login-brand .brand-icon{width:49px;height:49px;margin-bottom:27px;background:#2468d1}.login-brand p:not(.eyebrow){font-size:12px;color:#7c8da5}.login-brand .eyebrow{color:#8196b1;font-size:9px}.login-tags{font-size:11px;color:#6584aa;gap:18px;margin-top:35px}.login-card{padding:30px;border-radius:7px;box-shadow:0 10px 45px #24426709}.login-card h2{font-size:22px}.login-card>small{line-height:1.8}footer{font-size:9px;color:#8592a5;padding:18px 0;line-height:1.8}.page-loading{min-height:240px}.loading-ring{border-color:#e0e7f1;border-top-color:#2468d1}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #4b8ee9;outline-offset:2px}
@media(min-width:1700px){main{padding:0 36px}.console-metric{padding:22px}.console-metric strong{font-size:34px}.card{padding:23px}}
@media(max-width:1200px){.workspace{grid-template-columns:206px minmax(0,1fr)}main{padding:0 19px}.console-main-grid{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}.console-metric{padding:16px 13px}.console-metric strong{font-size:26px}.header-actions{gap:5px;flex-wrap:wrap}.user-badge{display:none}.sidebar .brand{font-size:13px;padding-inline:4px}.brand small{font-size:6px}.grid{grid-template-columns:1fr}.console-main-grid .card{padding:17px}}
@media(max-width:1000px){.console-main-grid{grid-template-columns:1fr}.console-tasks{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.console-search label{display:none}.console-metrics{gap:10px}.console-metric small{font-size:9px}.console-table-tools{gap:6px}}
@media(max-width:900px){.workspace{display:block}.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:260px;height:100dvh;padding:23px 13px 15px;visibility:hidden;transform:translateX(-100%);box-shadow:12px 0 35px #13294330}.desk-menu-open .sidebar{visibility:visible;transform:none}.desk-menu-open{overflow:hidden}.nav-close{display:block;position:absolute;top:4px;right:4px;color:#c2d1e3;font-size:23px;min-height:26px;padding:0 6px}.nav-toggle{display:grid;place-items:center;width:34px;height:34px;padding:7px;flex:0 0 34px}.sidebar .brand{font-size:15px;justify-content:flex-start;padding:0 7px}.sidebar .brand>span{display:block}.sidebar .brand small{font-size:7px}.sidebar .sidebar-bottom{display:flex}.sidebar nav{margin-top:0}.sidebar .nav-group{text-align:left;font-size:10px;line-height:1.6;margin:14px 12px 7px}.sidebar nav button{font-size:12px;flex-direction:row;justify-content:flex-start;gap:11px;padding:10px 12px;min-height:38px;line-height:1.5;text-align:left}.sidebar nav button i,.sidebar nav button i svg{width:17px;height:17px;flex-basis:17px}.topbar{flex-wrap:wrap;flex-direction:row;align-items:center;gap:11px;min-height:88px;padding:16px 0}.topbar-title{flex:1}.topbar h1{font-size:19px}.topbar .eyebrow{font-size:9px}.header-actions{width:auto;margin-left:auto}.service-strip{flex-wrap:wrap;gap:12px}.console-main-grid{gap:0}.console-search{padding:12px}.console-metric strong{font-size:27px}.console-page-intro h2{font-size:17px}}
@media(max-width:620px){main{padding:0 13px}.topbar{gap:10px;padding:14px 0}.topbar h1{font-size:18px;line-height:1.5}.header-actions{width:100%;margin:0;justify-content:flex-start;gap:5px}.header-actions #source-badge{margin-right:auto;font-size:9px}.header-actions button{padding:6px 7px;font-size:10px;min-height:28px}.service-strip{font-size:9px;padding:10px 0 13px}.service-strip span:nth-child(3),.service-strip span:last-child{display:none}.console-page-intro{align-items:flex-start;gap:12px;flex-wrap:wrap}.console-page-intro p{font-size:10px}.console-page-intro .actions{gap:6px}.console-page-intro button{font-size:10px;padding:7px 9px}.console-search{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:6px;padding:11px}.console-search select{width:100%;font-size:10px;padding:8px 4px}.console-search input{font-size:10px;padding:8px 6px;width:100%}.console-search button{font-size:10px;padding:8px 10px}.console-metrics{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}.console-metric{padding:14px 12px}.console-metric>span{font-size:11px}.console-metric strong{font-size:26px;margin:11px 0 8px}.console-metric small{font-size:9px;line-height:1.7;min-height:30px}.card{padding:16px 13px;margin-bottom:14px}.card-head{flex-wrap:wrap;gap:9px;margin-bottom:10px}.card-head h2{font-size:15px}.card-head p{font-size:10px}.card-head button{font-size:10px;padding:6px 8px}.console-main-grid .card{padding:16px 13px}.console-inline-stats{gap:13px;font-size:10px}.console-task{padding:12px 0;gap:7px}.console-task b{font-size:11px}.console-task small{font-size:9px}.console-task strong{font-size:20px}.console-tasks{gap:0 17px}.console-task i{display:none}.console-shortcuts{gap:6px;padding:11px}.console-shortcuts button{font-size:10px;padding:7px 9px}.console-table-tools{gap:6px}.console-row-count{font-size:9px}.console-table-tools>input{width:120px;font-size:9px;height:28px;padding:6px}.console-table-tools>button{font-size:9px;min-height:28px;padding:6px}.console-columns{font-size:9px}.console-columns>summary{padding:6px;min-height:28px}.console-column-list{min-width:180px;max-width:220px}.console-column-list label{font-size:11px}.table-wrap{max-height:65vh}td{padding:10px;font-size:11px}th{padding:10px;font-size:10px}td small{font-size:9px}.toolbar{padding:12px;gap:10px}.toolbar label{min-width:110px;font-size:10px}.toolbar button{font-size:11px;min-height:32px}.pagination{font-size:10px}.pagination button{font-size:10px}.console-catalog-summary{gap:14px;padding:14px;font-size:10px}.console-catalog-summary b{font-size:16px;margin-left:5px}.catalog-description{min-width:160px;font-size:10px}.analysis-heading,.erp-heading,.desk-data-heading{flex-direction:column;align-items:flex-start;padding:16px;gap:14px}.analysis-heading h2,.erp-heading h2,.desk-data-heading h2{font-size:19px}.analysis-heading p:not(.eyebrow),.erp-heading p:not(.eyebrow),.desk-data-heading p:not(.eyebrow){font-size:10px}.glass-tabs,.erp-tabs{gap:0}.glass-tabs button,.erp-tabs button{padding:9px 10px;font-size:11px}.kpis{gap:9px;grid-template-columns:1fr 1fr}.kpi{padding:14px 12px}.kpi strong,.hub-kpis .kpi strong,.glass-kpis .kpi strong{font-size:23px}.kpi small{font-size:9px}.kpi-label{font-size:10px}.two-fields{grid-template-columns:1fr}.grid{gap:0}.analysis-filter-panel{padding:14px}.analysis-filter-panel>summary{font-size:10px}.workbench-shortcuts{gap:6px}.workbench-shortcuts button{font-size:10px;padding:7px 9px}.quality-checks,.scope-grid{grid-template-columns:1fr}.source-grid,.trace-chain{grid-template-columns:1fr}.hub-layer{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:13px}.layer-code{font-size:15px}.hub-quality-bar{grid-template-columns:1fr 1fr;gap:9px}.framework-domains{grid-template-columns:1fr 1fr}.framework-definition,.framework-governance,.framework-controls,.framework-roadmap{grid-template-columns:1fr}.framework-detail{padding:14px}.framework-layer-body{padding:0 14px 17px}.detail-grid{grid-template-columns:1fr}.detail-grid dd{font-size:12px}.login-screen{grid-template-columns:1fr;padding:35px 24px;gap:26px}.login-brand h1{font-size:28px}.login-tags{display:none}.login-card{padding:24px}.login-brand .brand-icon{margin-bottom:17px}dialog{padding:18px}.dialog-heading h2{font-size:17px}footer{font-size:9px;flex-direction:column;gap:5px}.notification{right:12px;bottom:12px;font-size:11px}.distribution-row{grid-template-columns:65px minmax(30px,1fr) 70px 35px;gap:5px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.loading-ring{animation:none}}
.business-layout-v2 .production-total-strip{margin:0 0 20px;padding:20px 24px;border:1px solid #d7e4ec;border-radius:14px;background:#f4f9fc}
.business-layout-v2 .production-total-strip header{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:14px}
.business-layout-v2 .production-total-strip h3{margin:0;font-size:22px;color:#143e50}.business-layout-v2 .production-total-strip p{margin:0;color:#54707e;font-size:14px}
.business-layout-v2 .production-total-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.business-layout-v2 .production-total-grid article{display:grid;gap:6px;min-width:0}.business-layout-v2 .production-total-grid article>span{font-size:16px;color:#435d6c}
.business-layout-v2 .production-total-grid strong{font-size:30px;color:#087e88;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.business-layout-v2 .production-total-grid strong.is-long{font-size:23px}.business-layout-v2 .production-total-grid strong small{font-size:14px}.business-layout-v2 .production-total-grid article>small{font-size:13px;color:#607b89}
@media(max-width:700px){.business-layout-v2 .production-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.business-layout-v2 .production-total-strip{padding:16px}.business-layout-v2 .production-total-grid strong{font-size:24px}.business-layout-v2 .production-total-grid strong.is-long{font-size:18px}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* BEGIN VEHICLE GPS STYLES */
#vehicle-gps{padding:24px;background:#f7f9fc;border:1px solid #dbe4ef;box-shadow:none}
#vehicle-gps *{box-sizing:border-box}
#vehicle-gps .gps-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}
#vehicle-gps .gps-hero h2{font-size:28px;letter-spacing:-.4px;margin:4px 0 10px;color:#123352}
#vehicle-gps .gps-hero p{margin:0;color:#62758a;font-size:15px;line-height:1.7}
#vehicle-gps .gps-hero .eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#087f8c}
#vehicle-gps .gps-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
#vehicle-gps .gps-tag{display:inline-flex;background:#e8f2f4;color:#176d79;border:1px solid #c4e0e5;padding:6px 10px;border-radius:7px;font-size:12px;line-height:1.5}
#vehicle-gps .gps-message{padding:14px 18px;border-radius:9px;font-size:16px;font-weight:600;line-height:1.7;margin-bottom:18px;overflow-wrap:anywhere}
#vehicle-gps .gps-message-info{background:#edf5fc;border:1px solid #c9dfef;color:#245478}
#vehicle-gps .gps-message-error{background:#fff2ed;border:1px solid #efbba9;color:#a4371b}
#vehicle-gps .gps-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#vehicle-gps .gps-kpis article{padding:19px 20px;background:#fff;border:1px solid #dce5ef;border-radius:12px;border-top:3px solid #2563a6}
#vehicle-gps .gps-kpis article:nth-child(2){border-top-color:#087f8c}
#vehicle-gps .gps-kpis article:nth-child(3),#vehicle-gps .gps-kpis article:nth-child(4){border-top-color:#b77924}
#vehicle-gps .gps-kpis span{font-size:14px;color:#53677e;font-weight:600}
#vehicle-gps .gps-kpis strong{display:block;font-size:34px;line-height:1.3;color:#17334f;margin:8px 0;font-variant-numeric:tabular-nums}
#vehicle-gps .gps-kpis small{display:inline;font-size:13px;font-weight:400;color:#708298}
#vehicle-gps .gps-kpis p{margin:0;font-size:12px;line-height:1.6;color:#6c7c90}
#vehicle-gps .gps-quality{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;padding:13px 0;color:#537065;font-size:12px;line-height:1.6}
#vehicle-gps .gps-quality.is-warning{color:#98651b}
#vehicle-gps .gps-workflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dce6ee;border:1px solid #dce6ee;border-radius:10px;overflow:hidden;margin:6px 0 22px}
#vehicle-gps .gps-workflow article{background:#f0f5fa;padding:15px}
#vehicle-gps .gps-workflow span{display:inline-block;margin-right:8px;font-size:12px;color:#377b91;font-weight:700}
#vehicle-gps .gps-workflow b{color:#28435f;font-size:14px}
#vehicle-gps .gps-workflow p{font-size:12px;color:#6a7b8e;line-height:1.6;margin:7px 0 0}
#vehicle-gps .gps-main-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:20px;align-items:start}
#vehicle-gps .gps-panel{min-width:0;background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:20px}
#vehicle-gps .gps-panel-heading{display:flex;gap:14px;justify-content:space-between;align-items:start;margin-bottom:16px}
#vehicle-gps .gps-panel-heading h3{font-size:19px;color:#173957;margin:0 0 7px}
#vehicle-gps .gps-panel-heading p,#vehicle-gps .gps-mini{font-size:12px;line-height:1.6;color:#7b899a;margin:0}
#vehicle-gps .gps-filters{margin-bottom:16px;display:grid;gap:12px}
#vehicle-gps label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;color:#53677c}
#vehicle-gps input,#vehicle-gps select{width:100%;min-width:0;max-width:100%;min-height:42px}
#vehicle-gps .gps-filter-buttons{display:flex;flex-wrap:wrap;gap:7px}
#vehicle-gps .gps-filter-buttons button{padding:7px 13px;background:#f3f6fa;border:1px solid #dbe3ed;color:#57718a;border-radius:7px;font-size:13px}
#vehicle-gps .gps-filter-buttons button[aria-pressed=true]{background:#e1f0f2;color:#0b727d;border-color:#7fbcc5}
#vehicle-gps .gps-fleet{display:grid;gap:10px}
#vehicle-gps .gps-vehicle-card{margin:0;border:1px solid #dce5ef;border-radius:9px;background:#fff;overflow:hidden}
#vehicle-gps .gps-vehicle-card.is-selected{border-color:#138995;box-shadow:0 0 0 1px #138995;background:#f1fafb}
#vehicle-gps .gps-vehicle-card button{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;text-align:left;background:transparent;border:0;box-shadow:none;padding:16px;color:#213f5b;white-space:normal;cursor:pointer}
#vehicle-gps .gps-vehicle-card button:hover{background:#f3f8fb}
#vehicle-gps .gps-vehicle-name{font-size:19px;font-weight:700;overflow-wrap:anywhere}
#vehicle-gps .gps-state{font-size:11px;align-self:center;padding:3px 8px;background:#edf1f5;color:#64748b;border-radius:5px}
#vehicle-gps .gps-state.is-online{background:#def3ed;color:#08735c}
#vehicle-gps .gps-state.is-offline{background:#fff0dc;color:#9a671a}
#vehicle-gps .gps-vehicle-address{grid-column:1/-1;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
#vehicle-gps .gps-vehicle-time,#vehicle-gps .gps-vehicle-tags{grid-column:1/-1;font-size:12px;color:#6d7d90;line-height:1.6}
#vehicle-gps .gps-distribution{padding-top:16px;margin-top:15px;border-top:1px solid #e5ebf2}
#vehicle-gps h4{font-size:15px;margin:8px 0 12px;color:#264864}
#vehicle-gps .gps-distribution svg{width:100%;height:16px;display:block;border-radius:6px;overflow:hidden}
#vehicle-gps .gps-distribution p{font-size:12px;color:#6a7e91}
#vehicle-gps .gps-selected-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px;background:#eef7f8;border-radius:9px}
#vehicle-gps .gps-selected-heading h3{margin:0;font-size:23px;color:#12646e}
#vehicle-gps .gps-selected-heading span{font-size:12px;color:#6b858b}
#vehicle-gps .gps-vehicle-facts{display:grid;grid-template-columns:145px minmax(0,1fr);gap:13px 10px;margin:20px 0;font-size:14px;line-height:1.6}
#vehicle-gps dt{color:#6d7c8d}#vehicle-gps dd{margin:0;color:#284159;overflow-wrap:anywhere}
#vehicle-gps .gps-coordinate-details{font-size:12px;color:#718092;margin-bottom:20px;line-height:1.7}
#vehicle-gps summary{cursor:pointer;font-weight:600;color:#3e617f}
#vehicle-gps .gps-order-tools{padding-top:18px;border-top:1px solid #e2eaf2}
#vehicle-gps .gps-order-tools>p{font-size:12px;color:#7b8795;line-height:1.7;margin-bottom:14px}
#vehicle-gps [data-gps-order-search]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:14px 0}
#vehicle-gps [data-gps-order-search] button{min-height:42px}
#vehicle-gps .gps-empty{padding:18px;border:1px dashed #cddae7;border-radius:8px;background:#f9fbfd;color:#7d8a99;font-size:13px;line-height:1.8}
#vehicle-gps .gps-watch-list,#vehicle-gps .gps-order-results{list-style:none;margin:0;padding:0;display:grid;gap:10px}
#vehicle-gps .gps-watch-list li,#vehicle-gps .gps-order-results li{padding:14px;border:1px solid #dce6ef;border-radius:8px;font-size:14px;overflow-wrap:anywhere}
#vehicle-gps .gps-watch-list span,#vehicle-gps .gps-order-results span{display:block;color:#657b91;font-size:13px;margin-top:5px}
#vehicle-gps .gps-watch-list small{display:block;font-size:11px;color:#8190a2;margin:7px 0}
#vehicle-gps .gps-order-results p{font-size:13px;color:#587086;line-height:1.8}
#vehicle-gps .gps-row-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#vehicle-gps .gps-row-actions button,#vehicle-gps .gps-pagination button{padding:7px 10px;border:1px solid #ccdae9;border-radius:6px;color:#28638f;background:#f7fafd;font-size:12px}
#vehicle-gps .gps-pagination{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0 20px;font-size:11px;color:#7c8a9b}
#vehicle-gps .gps-pagination span{flex:1 1 100%}
#vehicle-gps .gps-result-count{font-size:12px;color:#6b8196}
#vehicle-gps .gps-use-cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
#vehicle-gps .gps-use-cases article{padding:18px;background:#edf3f8;border-left:3px solid #7eaac0;border-radius:0 9px 9px 0}
#vehicle-gps .gps-use-cases b{color:#325873;font-size:15px}
#vehicle-gps .gps-use-cases p{font-size:13px;line-height:1.8;color:#6c7f91;margin-bottom:0}
#vehicle-gps .gps-connection-settings{border-top:1px solid #dce5ef;margin-top:24px;padding-top:20px;font-size:13px;color:#6e7f90;line-height:1.8}
#vehicle-gps .gps-connection-settings>summary{font-size:15px;margin-bottom:14px}
#vehicle-gps .gps-capabilities{display:flex;gap:8px 20px;flex-wrap:wrap;padding:12px 0;color:#55728b}
#vehicle-gps [data-gps-login]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;align-items:end;margin:20px 0}
#vehicle-gps [data-gps-action=save]{min-height:44px;white-space:normal}
#vehicle-gps button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1150px){#vehicle-gps .gps-main-layout{grid-template-columns:minmax(0,1fr)}#vehicle-gps .gps-fleet{grid-template-columns:repeat(2,minmax(0,1fr))}#vehicle-gps .gps-hero{align-items:flex-start;flex-direction:column}#vehicle-gps .gps-hero-actions{justify-content:flex-start}}
@media(max-width:650px){#vehicle-gps{padding:16px}#vehicle-gps .gps-hero h2{font-size:24px}#vehicle-gps .gps-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#vehicle-gps .gps-kpis article{padding:14px}#vehicle-gps .gps-kpis strong{font-size:28px}#vehicle-gps .gps-workflow{grid-template-columns:repeat(2,minmax(0,1fr))}#vehicle-gps .gps-panel{padding:15px}#vehicle-gps .gps-panel-heading{flex-direction:column;gap:8px}#vehicle-gps .gps-fleet,#vehicle-gps .gps-use-cases,#vehicle-gps [data-gps-login],#vehicle-gps [data-gps-order-search]{grid-template-columns:minmax(0,1fr)}#vehicle-gps .gps-vehicle-facts{grid-template-columns:minmax(0,1fr);gap:5px}#vehicle-gps .gps-vehicle-facts dt{margin-top:10px}#vehicle-gps .gps-selected-heading{align-items:flex-start;flex-direction:column}#vehicle-gps .gps-hero-actions{width:100%}#vehicle-gps .gps-hero-actions button{flex:1 1 120px}}
.gps-map-panel{border:1px solid #dce5ef;border-radius:16px;overflow:hidden;background:#fff;margin:20px 0}.gps-map-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;flex-wrap:wrap}.gps-map-heading h3{margin:0;font-size:21px}.gps-map-heading p{margin:6px 0 0;color:#53667c}.gps-map-controls{display:flex;gap:8px;flex-wrap:wrap}.gps-map-controls button{min-height:40px;padding:8px 13px;border:1px solid #cbd9e6;background:#f5f9fc;border-radius:8px;color:#16324f;cursor:pointer}.gps-map-canvas{display:block;width:100%;height:480px;touch-action:none;cursor:grab}.gps-map-canvas:active{cursor:grabbing}.gps-map-canvas:focus-visible{outline:3px solid #087f8c;outline-offset:-3px}.gps-map-footer{display:flex;gap:8px 20px;flex-wrap:wrap;padding:12px 20px;font-size:13px;color:#53667c}.gps-map-footer [data-map-info]{flex-basis:100%;color:#16324f}.gps-map-footer a{color:#52677c;font-size:11px;overflow-wrap:anywhere}@media(max-width:650px){.gps-map-canvas{height:360px}.gps-map-heading{padding:14px}.gps-map-controls{gap:6px}.gps-map-controls button{padding:8px 10px}.gps-map-footer{padding:12px 14px}}
.gps-map-message{padding:14px 20px;color:#26415f;background:#eef5fb;line-height:1.7}.gps-amap-frame{display:block;width:100%;height:500px;border:0}.gps-amap-settings{padding:16px 20px;line-height:1.8}.gps-amap-settings summary{font-weight:600;cursor:pointer}.gps-amap-settings li{margin:8px 0}.gps-amap-settings ol{padding-left:22px}.gps-amap-settings form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gps-amap-settings label{display:grid;gap:6px}.gps-amap-settings input{width:100%;min-width:0;box-sizing:border-box}.gps-amap-settings p{color:#53667c}.gps-amap-settings a{color:#1763a5}@media(max-width:650px){.gps-amap-frame{height:380px}.gps-amap-settings form{grid-template-columns:1fr}}
/* END VEHICLE GPS STYLES */
/* BEGIN OPERATIONS STYLES */
.operations-panel{padding:24px;margin:0 0 24px;background:#fff;border:1px solid #dbe3ed;border-radius:14px;color:#26374b;font-size:17px;line-height:1.65;overflow-wrap:anywhere}
.operations-panel header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.operations-panel h2{font-size:23px;margin:0}.operations-panel h3{font-size:20px}.operations-panel header p{margin:5px 0 14px;color:#5c6c80}.operations-panel a{color:#126b9b;font-weight:600}.operations-alerts{background:#fff7e8;border-left:4px solid #d38b18;padding:14px 18px 14px 36px}.operations-ok{color:#14694c;background:#edf8f1;padding:12px}.operations-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.operations-grid article,.operations-sources article{background:#f6f8fb;padding:20px;border-radius:10px;min-width:0}.operations-panel dl{display:grid;grid-template-columns:145px 1fr;gap:9px}.operations-panel dd{margin:0}.operations-panel dt{color:#607187}.operations-sources{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.operations-panel details{margin-top:20px}.operations-summary{margin-bottom:0}.operations-compact{padding:18px 22px}.operations-compact h2{font-size:20px}
@media(max-width:850px){.operations-grid,.operations-sources{grid-template-columns:1fr}.operations-panel{padding:16px}.operations-panel dl{grid-template-columns:110px 1fr}.operations-panel header a{min-height:40px}}
/* END OPERATIONS STYLES */
/* BEGIN DOCUMENT OCR STYLES */
.ocr-page{max-width:1600px;margin:0 auto;color:#19334a}.ocr-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 26px;background:#fff;border:1px solid #dbe6ef;border-radius:12px}.ocr-heading h2{font-size:28px;margin:8px 0}.ocr-heading p{font-size:16px;line-height:1.7;margin:0}.ocr-heading>div>span{font-size:12px;letter-spacing:2px;color:#087e88}.ocr-local-badge{padding:8px 12px;background:#e7f5f2;color:#08786f;border-radius:6px;white-space:nowrap;font-size:14px}.ocr-status{padding:14px 18px;margin:16px 0;background:#eaf3f8;border:1px solid #cddfe9;border-radius:8px;font-size:16px;line-height:1.7}.ocr-status.ocr-error{background:#fff3eb;border-color:#ebccb8;color:#8a4826}.ocr-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.ocr-image-panel,.ocr-text-panel{min-width:0;padding:24px;background:#fff;border:1px solid #dbe6ef;border-radius:12px}.ocr-grid h3{font-size:20px;margin:0 0 18px}.ocr-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ocr-actions button{min-height:44px;font-size:15px}.ocr-file-input{display:none}.ocr-preview{min-height:350px;height:420px;background:#f3f6f9;border:1px dashed #b8cbd8;border-radius:8px;margin:18px 0;display:flex;align-items:center;justify-content:center;overflow:auto}.ocr-preview p{padding:22px;text-align:center;color:#60788d;line-height:1.9;font-size:16px}.ocr-preview img{width:100%;height:100%;object-fit:contain}.ocr-preview img[hidden]{display:none}.ocr-image-meta,.ocr-help,.ocr-privacy{font-size:14px;line-height:1.8;color:#536c80}.ocr-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.ocr-result-heading>span{font-size:14px;color:#60788d}.ocr-text-panel textarea{width:100%;height:488px;min-height:300px;resize:vertical;padding:16px;font:17px/1.9 "Microsoft YaHei",sans-serif;color:#18334a;border:1px solid #b8cbd8;border-radius:8px;margin-bottom:16px;box-sizing:border-box;background:#fff;white-space:pre-wrap}.ocr-text-panel textarea:focus{outline:2px solid #259b9d;outline-offset:2px}.ocr-privacy{margin:18px 0;padding:0 4px}.ocr-help{margin-bottom:0}
@media(max-width:900px){.ocr-grid{grid-template-columns:1fr}.ocr-heading{padding:18px;align-items:flex-start;flex-direction:column;gap:12px}.ocr-heading h2{font-size:25px}.ocr-image-panel,.ocr-text-panel{padding:18px}.ocr-preview{height:320px;min-height:250px}.ocr-text-panel textarea{height:360px}.ocr-actions button{font-size:14px}.ocr-result-heading{flex-wrap:wrap}.ocr-status{font-size:15px}}
.ocr-review{margin:16px 0;border:1px solid #dec897;background:#fff8e9;padding:12px 15px;border-radius:8px;color:#715021;font-size:14px;line-height:1.8}.ocr-review summary{cursor:pointer;font-weight:600}.ocr-review p{margin:8px 0}.ocr-review ol{padding-left:22px}.ocr-review li{overflow-wrap:anywhere}.ocr-review[hidden]{display:none}
/* END DOCUMENT OCR STYLES */
/* BEGIN SOURCE DATA STYLES */
body.enterprise-shell[data-view="sourceall"] #module-banner{display:none}
.enterprise-shell .source-data.is-detail .source-heading{display:none}
.enterprise-shell .source-data{min-width:0;font-size:16px;color:#19394d}.enterprise-shell .source-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;padding:22px;background:linear-gradient(110deg,#e9f4fa,#eaf7f3);border:1px solid #cfe0e9;border-radius:14px}.enterprise-shell .source-heading h2{font-size:25px;margin:10px 0}.enterprise-shell .source-heading p{margin:0}.enterprise-shell .source-heading b{padding:10px 16px;background:white;border-radius:25px;color:#137765}.enterprise-shell .source-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.enterprise-shell .source-counts article{display:grid;gap:12px;padding:18px;background:white;border:1px solid #dbe5ed;border-radius:12px}.enterprise-shell .source-counts strong{font-size:32px}.enterprise-shell .source-note{font-size:14px;line-height:1.8;color:#5e7484}.enterprise-shell .source-catalog-filter{display:grid;grid-template-columns:2fr 1fr 1.4fr 1.3fr auto;gap:12px;align-items:end;padding:18px;background:#fff;border:1px solid #dbe5ed;border-radius:12px}.enterprise-shell .source-data label{min-width:0;display:grid;gap:7px;font-size:14px}.enterprise-shell .source-data input,.enterprise-shell .source-data select{min-width:0;width:100%;min-height:42px;border:1px solid #bdcedb;border-radius:7px;background:#fff;padding:9px;font-size:16px;color:#19394d}.enterprise-shell .source-data button{min-height:42px;font:inherit;cursor:pointer}.enterprise-shell .source-domain-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.enterprise-shell .source-domain-chips button{font-size:14px}.enterprise-shell .source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.enterprise-shell .source-dataset{padding:18px;background:white;border:1px solid #dbe5ed;border-radius:12px;min-width:0;display:flex;flex-direction:column;align-items:stretch}.enterprise-shell .source-dataset>div{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#537489}.enterprise-shell .source-dataset h3{font-size:20px;margin:15px 0 8px;overflow-wrap:anywhere}.enterprise-shell .source-dataset p{margin:6px 0;font-size:14px}.enterprise-shell .source-table-name{color:#617889;overflow-wrap:anywhere;font-size:14px}.enterprise-shell .source-dataset button{margin-top:auto;align-self:start}.enterprise-shell .source-count{padding:10px 0}.enterprise-shell .source-restricted{background:#f3f5f7}.enterprise-shell .source-boundary,.enterprise-shell .source-fields{padding:18px;line-height:1.8;margin:18px 0;background:#f3f7fa;border-radius:10px}.enterprise-shell .source-data summary{cursor:pointer}.enterprise-shell .source-top-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.enterprise-shell .source-top-actions a{margin-left:auto}.enterprise-shell .source-query{display:grid;grid-template-columns:2fr 1fr 2fr;gap:14px;padding:18px;background:#fff;border:1px solid #dbe5ed;border-radius:12px}.enterprise-shell .source-query-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.enterprise-shell .source-advanced{grid-column:1/-1}.enterprise-shell .source-advanced>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:15px}.enterprise-shell [data-source-status]{padding:12px 0;line-height:1.8}.enterprise-shell .source-result-header,.enterprise-shell .source-pagination{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:12px 0}.enterprise-shell .source-column-picker{padding:12px;background:#f3f7fa;border-radius:8px;margin-bottom:12px}.enterprise-shell .source-column-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:350px;overflow:auto;padding:14px 0}.enterprise-shell .source-column-picker label{display:block;overflow-wrap:anywhere}.enterprise-shell .source-column-picker input{width:18px;min-height:18px;vertical-align:middle;margin-right:6px}.enterprise-shell .source-data small{display:block;color:#647b8c;font-size:12px;overflow-wrap:anywhere}.enterprise-shell .source-data .table-wrap{max-width:100%;overflow:auto;background:#fff;border:1px solid #dbe5ed;border-radius:10px}.enterprise-shell .source-data table{border-collapse:collapse;min-width:900px;width:100%;font-size:15px}.enterprise-shell .source-data th,.enterprise-shell .source-data td{padding:12px;line-height:1.6;text-align:left;max-width:320px;min-width:110px;overflow-wrap:anywhere;border-bottom:1px solid #e7edf2}.enterprise-shell .source-data th{background:#eff5f9}.enterprise-shell .source-groups{background:#fff;padding:18px;border:1px solid #dbe5ed;border-radius:12px;margin-bottom:18px}.enterprise-shell .source-groups>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:400px;overflow:auto}.enterprise-shell .source-groups button{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:10px;align-items:center;border:0;background:#f5f8fa;padding:10px;text-align:left}.enterprise-shell .source-groups button span{overflow-wrap:anywhere;min-width:0}.enterprise-shell .source-groups i{height:8px;background:linear-gradient(to right,#199ca7 var(--source-width),#e3ebf1 var(--source-width));border-radius:5px}.enterprise-shell .source-row-detail{padding:20px;background:#fff;border:1px solid #b9d9e2;border-radius:12px;margin-top:20px}.enterprise-shell .source-row-detail>div:first-child{display:flex;justify-content:space-between;gap:12px}.enterprise-shell .source-row-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.enterprise-shell .source-row-detail dl>div{padding:12px;background:#f4f8fa;min-width:0}.enterprise-shell .source-row-detail dt{font-size:14px;color:#567487;margin-bottom:8px}.enterprise-shell .source-row-detail dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.enterprise-shell .source-relations{display:flex;gap:10px;flex-wrap:wrap}.enterprise-shell .source-pagination form{display:flex;gap:8px;align-items:end}.enterprise-shell .source-pagination input{width:85px}.enterprise-shell .source-empty{padding:22px;background:#edf7f8}
@media(max-width:1100px){.enterprise-shell .source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-shell .source-catalog-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.enterprise-shell .source-query{grid-template-columns:1fr 1fr}.enterprise-shell .source-query-actions{grid-column:1/-1}}
@media(max-width:650px){.enterprise-shell .source-heading{padding:16px}.enterprise-shell .source-heading h2{font-size:22px}.enterprise-shell .source-counts,.enterprise-shell .source-catalog-filter,.enterprise-shell .source-advanced>div,.enterprise-shell .source-column-picker>div,.enterprise-shell .source-row-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-shell .source-grid,.enterprise-shell .source-query,.enterprise-shell .source-groups>div{grid-template-columns:1fr}.enterprise-shell .source-catalog-filter>label:first-child{grid-column:1/-1}.enterprise-shell .source-top-actions a{margin-left:0}.enterprise-shell .source-groups button{grid-template-columns:minmax(0,1fr) 60px auto}.enterprise-shell .source-data h2{overflow-wrap:anywhere}.enterprise-shell .source-row-detail{padding:12px}}
/* END SOURCE DATA STYLES */
/* BEGIN MES ONLINE STYLES */
.enterprise-shell .mes-online{min-width:0;font-size:16px;color:#18354b}
.enterprise-shell .online-scan{padding:20px;border:1px solid #cbdfe8;border-radius:14px;background:#f8fbfd;margin:18px 0 26px;min-width:0}.enterprise-shell .online-scan h2,.enterprise-shell .online-section-heading{font-size:23px;margin:4px 0 18px}.enterprise-shell .online-scan h2 small,.enterprise-shell .online-section-heading small{display:block;font-weight:400;margin-top:6px}.enterprise-shell [data-scan-filter]{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:12px;align-items:end}.enterprise-shell [data-scan-filter] label{display:grid;gap:6px;min-width:0;font-size:14px}.enterprise-shell .scan-ranges{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.enterprise-shell .scan-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.enterprise-shell .scan-scope{line-height:1.8;font-size:14px}.enterprise-shell .scan-analysis{display:grid;grid-template-columns:1fr 1.6fr;gap:18px;margin:20px 0}.enterprise-shell .scan-analysis>section{min-width:0;padding:16px;background:#fff;border:1px solid #dbe5ed;border-radius:10px}.enterprise-shell .scan-analysis h3{font-size:18px;margin:0 0 14px}.enterprise-shell .scan-process{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-bottom:1px solid #dbe5ed;background:#fff;text-align:left;gap:12px;padding:14px 0}.enterprise-shell .scan-process span,.enterprise-shell .scan-process b{overflow-wrap:anywhere;min-width:0}.enterprise-shell .scan-process small{display:block;margin-top:5px}.enterprise-shell .scan-process b{font-size:22px;color:#087e88}.enterprise-shell .scan-trend{display:flex;align-items:flex-end;gap:3px;min-height:154px;max-width:100%;overflow:auto}.enterprise-shell .scan-bar{flex:1 0 14px;min-width:14px;display:flex;flex-direction:column;justify-content:end;align-items:stretch;min-height:146px;gap:8px;cursor:help}.enterprise-shell .scan-bar span{background:linear-gradient(#25b9c0,#147ca4);border-radius:3px 3px 0 0;min-height:1px}.enterprise-shell .scan-bar:hover span,.enterprise-shell .scan-bar:focus span{background:#e9a23b}.enterprise-shell .scan-bar small{font-size:11px;text-align:center}.enterprise-shell .scan-records summary{cursor:pointer;padding:12px;background:#eef4f8;border-radius:8px}
body.enterprise-shell[data-view="mes"] #module-banner{display:none}
.enterprise-shell .online-advanced{grid-column:1/-1;padding-top:6px;color:#49677b}.enterprise-shell .online-advanced summary{cursor:pointer;font-size:14px}.enterprise-shell .online-advanced-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}
.enterprise-shell .online-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:22px;background:linear-gradient(115deg,#edf7fc,#eef9f5);border:1px solid #cde1e9;border-radius:16px}
.enterprise-shell .online-heading h2{font-size:28px;margin:7px 0}.enterprise-shell .online-heading p{margin:6px 0}.enterprise-shell .online-eyebrow{font-size:14px;color:#277d86;letter-spacing:.1em}
.enterprise-shell .online-readonly{padding:9px 14px;background:#fff;border-radius:24px;color:#12765d;font-weight:700}
.enterprise-shell .online-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.enterprise-shell .mes-online button{min-height:42px;font:inherit;cursor:pointer}.enterprise-shell .mes-online button:disabled{opacity:.45;cursor:default}
.enterprise-shell .mes-online input,.enterprise-shell .mes-online select{font-size:16px;min-height:42px;max-width:100%;width:100%;background:#fff;color:#18354b;border:1px solid #bdcfdc;border-radius:7px;padding:8px}
.enterprise-shell .online-controls label{display:flex;align-items:center;gap:8px}.enterprise-shell .online-controls select{width:auto}.enterprise-shell .online-controls a{margin-left:auto}
.enterprise-shell .online-status{padding:12px 15px;background:#eef4f8;border-radius:8px;overflow-wrap:anywhere}.enterprise-shell .online-status.online-error{background:#fff2e7;color:#86440a}
.enterprise-shell .online-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px;background:#fff;border:1px solid #d9e3eb;border-radius:12px}.enterprise-shell .online-filter label{display:grid;gap:6px;font-size:15px;min-width:0}.enterprise-shell .online-search{grid-column:span 2}.enterprise-shell .online-filter-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap;grid-column:span 2}
.enterprise-shell .online-scope{margin:22px 0 12px}.enterprise-shell .online-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.enterprise-shell .online-kpis article{display:grid;gap:10px;padding:20px 16px;background:#fff;border:1px solid #dbe5ed;border-radius:12px;min-width:0}.enterprise-shell .online-kpis strong{font-size:30px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.enterprise-shell .mes-online small{font-size:13px;color:#617585;white-space:normal}.enterprise-shell .online-kpis small{display:block}
.enterprise-shell .online-empty{padding:22px;margin:18px 0;background:#f1f8fa;border-left:4px solid #0c8a91;border-radius:8px}.enterprise-shell .online-empty h3{margin:0 0 10px}.enterprise-shell .online-empty p{margin:0;line-height:1.8}
.enterprise-shell .online-model{display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:16px;margin:20px 0}.enterprise-shell .online-distribution{min-width:0;background:#fff;padding:18px;border:1px solid #dbe5ed;border-radius:12px;max-height:420px;overflow:auto}.enterprise-shell .online-distribution h3{font-size:18px;margin:0 0 15px}.enterprise-shell .online-group{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;gap:6px 12px;border:0;border-bottom:1px solid #edf2f5;background:transparent;padding:12px 0;text-align:left;border-radius:0}.enterprise-shell .online-group span{overflow-wrap:anywhere;min-width:0}.enterprise-shell .online-group small{display:block}.enterprise-shell .online-group b{align-self:start;white-space:nowrap}.enterprise-shell .online-group b small{display:inline}.enterprise-shell .online-group i{height:7px;border-radius:8px;background:linear-gradient(to right,#20a6ac var(--online-width),#e9f0f5 var(--online-width));align-self:center}.enterprise-shell .online-group:hover{background:#f1fafb}
.enterprise-shell .online-records,.enterprise-shell .online-glass{padding:20px;background:#fff;border:1px solid #dbe5ed;border-radius:12px;margin:18px 0;min-width:0}.enterprise-shell .online-records h3 small{display:block;margin-top:8px}.enterprise-shell .mes-online .table-wrap{max-width:100%;overflow-x:auto}.enterprise-shell .mes-online table{width:100%;min-width:940px;border-collapse:collapse;font-size:15px}.enterprise-shell .mes-online td,.enterprise-shell .mes-online th{padding:12px;text-align:left;line-height:1.6;max-width:260px;overflow-wrap:anywhere}.enterprise-shell .mes-online td small{display:block}.enterprise-shell .online-pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.enterprise-shell .online-detail-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.enterprise-shell .online-detail-title h3{overflow-wrap:anywhere}.enterprise-shell .online-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.enterprise-shell .online-facts div{background:#f5f8fb;padding:12px;min-width:0}.enterprise-shell .online-facts dt{font-size:13px;color:#617585;margin-bottom:6px}.enterprise-shell .online-facts dd{margin:0;overflow-wrap:anywhere}.enterprise-shell .online-definition{padding:18px;line-height:1.8;color:#5c7182}.enterprise-shell .online-definition summary{cursor:pointer}
@media(max-width:1100px){.enterprise-shell .online-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.enterprise-shell .online-model{grid-template-columns:1fr 1fr}.enterprise-shell .online-filter{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.enterprise-shell .scan-analysis{grid-template-columns:1fr}.enterprise-shell [data-scan-filter]{grid-template-columns:1fr 1fr}.enterprise-shell [data-scan-filter] .scan-search{grid-column:1/-1}.enterprise-shell .online-scan{padding:12px}}
@media(max-width:650px){.enterprise-shell .online-heading{padding:16px}.enterprise-shell .online-heading h2{font-size:24px}.enterprise-shell .online-kpis,.enterprise-shell .online-filter,.enterprise-shell .online-facts,.enterprise-shell .online-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-shell .online-model{grid-template-columns:1fr}.enterprise-shell .online-kpis strong{font-size:25px}.enterprise-shell .online-records,.enterprise-shell .online-glass{padding:12px}.enterprise-shell .online-controls a{margin-left:0}.enterprise-shell .online-filter{padding:12px}.enterprise-shell .online-pagination{justify-content:flex-start}}
/* END MES ONLINE STYLES */
/* BEGIN CHAIN AUDIT STYLES */
.chain-audit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ca-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ca-toolbar {
  align-items: flex-end !important;
}
.ca-title-block {
  flex: 1 1 300px;
  min-width: 0;
}
.ca-title-block h2 {
  margin: 0 0 3px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.ca-title-block p {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}
.ca-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ca-src-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dbe4f2;
  font-size: 12px;
  color: #334155;
}
.ca-src-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}
.ca-src-pill.is-off i { background: #94a3b8; }
.ca-src-pill.is-off { opacity: 0.72; }
.ca-src-pill b { font-weight: 700; color: #0f172a; }
.ca-src-pill small { color: #64748b; font-size: 11px; }

.ca-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.ca-kpi {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-top: 3px solid #2556c6;
  border-radius: 13px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.ca-kpi.is-indigo { border-top-color: #6366f1; }
.ca-kpi.is-green { border-top-color: #10b981; }
.ca-kpi.is-cyan { border-top-color: #0ea5e9; }
.ca-kpi.is-teal { border-top-color: #14b8a6; }
.ca-kpi.is-warn { border-top-color: #f59e0b; background: #fffdf5; }
.ca-kpi.is-alert { border-top-color: #ef4444; background: #fef7f7; }
.ca-kpi span { font-size: 12px; font-weight: 650; color: #64748b; }
.ca-kpi strong { font-size: 20px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; line-height: 1.2; }
.ca-kpi small { font-size: 11.5px; color: #475569; line-height: 1.35; }

.ca-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ca-tab {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ca-tab.is-active {
  background: #2556c6;
  border-color: #2556c6;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 86, 198, 0.25);
}

.ca-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ca-link-card {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-left: 4px solid #10b981;
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ca-link-card.is-warn { border-left-color: #f59e0b; }
.ca-link-card.is-alert { border-left-color: #ef4444; }
.ca-link-card.is-pending { border-left-color: #94a3b8; }
.ca-link-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ca-link-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ca-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}
.ca-link-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.ca-go-btn {
  min-height: 32px !important;
  padding: 4px 12px !important;
  font-size: 12.5px !important;
}
.ca-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.ca-badge.is-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.ca-badge.is-warn { background: #fffbeb; color: #b45309; border: 1px solid #fcd34d; }
.ca-badge.is-alert { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.ca-badge.is-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.ca-badge.is-pending { background: #f1f5f9; color: #64748b; border: 1px solid #cbd5e1; }

.ca-link-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.ca-m-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ca-m-box span { font-size: 11.5px; color: #64748b; font-weight: 600; }
.ca-m-box b { font-size: 16px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.ca-m-box small { font-size: 11.5px; color: #475569; }
.ca-link-note {
  margin: 0;
  font-size: 12.5px;
  color: #334155;
  background: #f8fafc;
  padding: 7px 10px;
  border-radius: 8px;
}

.ca-table-card {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 14px;
  overflow: hidden;
}
.ca-table-wrap { overflow-x: auto; }
.ca-table-wrap table { width: 100%; border-collapse: collapse; }
.ca-table-wrap th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #dbe4f2;
  white-space: nowrap;
}
.ca-table-wrap td {
  padding: 9px 10px;
  border-bottom: 1px solid #edf2f9;
  font-size: 13px;
  color: #0f172a;
  vertical-align: middle;
}
.ca-table-wrap td small { display: block; font-size: 11.5px; color: #64748b; }
.ca-neg { color: #dc2626; }
.ca-pos { color: #059669; }

.ca-sub-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ca-sub-search input {
  flex: 1 1 260px;
  max-width: 420px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}
.ca-sub-search span { font-size: 12.5px; color: #64748b; font-weight: 600; }

.ca-alert-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ca-alert-card {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-left: 4px solid #ef4444;
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ca-alert-card.is-warn { border-left-color: #f59e0b; }
.ca-alert-card.is-info { border-left-color: #3b82f6; }
.ca-alert-top { display: flex; align-items: center; gap: 8px; }
.ca-alert-stage { font-size: 12px; font-weight: 700; color: #475569; }
.ca-alert-card h4 { margin: 0; font-size: 14.5px; color: #0f172a; }
.ca-alert-card p { margin: 0; font-size: 12.5px; color: #475569; line-height: 1.5; }
.ca-alert-act { margin-top: 4px; }

.ca-empty {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 13px;
  padding: 24px 16px;
  text-align: center;
  color: #64748b;
  font-size: 13.5px;
}
.ca-empty.is-ok { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }

/* Full-Points Equipment Diagnostics Modal (Desktop + Mobile) */
.eq-fp-modal {
  width: min(1120px, calc(100vw - 32px)) !important;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
}
.eq-fp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #dbe4f2;
  background: #f8fafc;
  flex-shrink: 0;
}
.eq-fp-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: #0f172a; }
.eq-fp-head small { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
.eq-fp-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eq-fp-body {
  padding: 14px 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eq-fp-body > * {
  flex-shrink: 0;
}
.eq-fp-body .ca-table-card {
  overflow: visible;
}
.eq-fp-health {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #dbe4f2;
  border-radius: 14px;
  padding: 14px;
}
.eq-fp-score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}
.eq-fp-score-box.is-warn { border-color: #f59e0b; }
.eq-fp-score-box.is-alert { border-color: #ef4444; }
.eq-fp-score-box strong { font-size: 34px; font-weight: 900; color: #0f172a; line-height: 1.1; }
.eq-fp-score-box span { font-size: 13px; font-weight: 800; color: #047857; margin-top: 4px; }
.eq-fp-score-box.is-warn span { color: #b45309; }
.eq-fp-score-box.is-alert span { color: #b91c1c; }
.eq-fp-score-box small { font-size: 11px; color: #64748b; margin-top: 2px; }
.eq-fp-advices {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.eq-fp-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12.5px;
  color: #475569;
}
.eq-fp-stat-row b { color: #0f172a; font-weight: 800; }
.eq-fp-adv {
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  border: 1px solid #dbe4f2;
  background: #ffffff;
}
.eq-fp-adv.is-high { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.eq-fp-adv.is-medium { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.eq-fp-adv.is-ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.eq-fp-adv b { display: block; font-weight: 750; }
.eq-fp-adv span { display: block; font-size: 12px; opacity: 0.92; margin-top: 2px; }

.eq-fp-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.eq-fp-controls input[type="search"] {
  flex: 1 1 220px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #ffffff;
}
.eq-fp-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.eq-fp-grp {
  min-height: 30px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.eq-fp-grp.is-active {
  background: #2556c6;
  border-color: #2556c6;
  color: #ffffff;
}
.eq-fp-val { font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.eq-fp-val.is-alert { color: #dc2626; }
.eq-fp-val.is-active { color: #059669; }
.eq-fp-key { font-size: 11px; color: #64748b; font-family: ui-monospace, Consolas, monospace; }
.eq-fp-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.eq-fp-ev {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
}
.eq-fp-ev-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.eq-fp-ev-top b { color: #1d4ed8; font-size: 12px; }
.eq-fp-ev-top time { color: #64748b; font-size: 11px; }
.eq-fp-hmi-card {
  background: #f8fafc;
  border: 1px solid #dbe4f2;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.eq-fp-hmi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.eq-fp-hmi-head h4 { margin: 0; font-size: 13.5px; font-weight: 800; color: #0f172a; }
.eq-fp-hmi-head small { font-size: 11.5px; color: #059669; font-weight: 600; }
.eq-fp-hmi-img {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #0f172a;
}
.eq-fp-raw pre {
  margin: 8px 0 0;
  max-height: 260px;
  overflow: auto;
  background: #0f172a;
  color: #e2e8f0;
  padding: 10px;
  border-radius: 9px;
  font-size: 11.5px;
}
.eq-btn-points {
  border-color: #93c5fd !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
}

@media (max-width: 1160px) {
  .ca-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ca-link-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ca-title-block { grid-column: 1 / -1 !important; }
  .ca-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ca-kpi { padding: 9px 10px; }
  .ca-kpi strong { font-size: 17px; }
  .ca-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ca-tabs::-webkit-scrollbar { display: none; }
  .ca-tab { flex-shrink: 0; min-height: 38px; }
  .ca-link-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-alert-list { grid-template-columns: 1fr; }
  .ca-sub-search input { font-size: 16px; min-height: 44px; max-width: none; width: 100%; }

  /* Mobile card-table for chain audit */
  .ca-table-card { background: transparent; border: 0; }
  .ca-table-wrap { overflow: visible; }
  .ca-table-wrap table, .ca-table-wrap tbody { display: block; width: 100%; }
  .ca-table-wrap thead { display: none; }
  .ca-table-wrap tr {
    display: block;
    background: #ffffff;
    border: 1px solid #dbe4f2;
    border-radius: 13px;
    padding: 10px 12px;
    margin-bottom: 10px;
  }
  .ca-table-wrap td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    border: 0;
    border-bottom: 1px dashed #edf2f9;
    text-align: right;
  }
  .ca-table-wrap td:last-child { border-bottom: 0; }
  .ca-table-wrap td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 650;
    color: #64748b;
    text-align: left;
    flex-shrink: 0;
  }

  /* Mobile bottom-sheet for Full-Points modal */
  .eq-fp-modal {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 92dvh !important;
    border-radius: 18px 18px 0 0 !important;
    margin: 0 !important;
  }
  .eq-fp-head { padding: 12px 14px; flex-wrap: wrap; }
  .eq-fp-body { padding: 12px 14px calc(24px + env(safe-area-inset-bottom)); }
  .eq-fp-health { grid-template-columns: 1fr; }
  .eq-fp-controls input[type="search"] { font-size: 16px; min-height: 44px; width: 100%; }
  .eq-fp-groups { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .eq-fp-groups::-webkit-scrollbar { display: none; }
  .eq-fp-grp { flex-shrink: 0; min-height: 36px; }
  .eq-fp-events { grid-template-columns: 1fr; }
}
/* END CHAIN AUDIT STYLES */
/* BEGIN BUSINESS REPORT STYLES */
.energy-report-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid #dce6ea;margin-bottom:22px}.energy-report-filter label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:600}.energy-report-filter input,.energy-report-filter select{min-height:42px;font-size:16px;max-width:100%}.energy-report-filter .energy-band-choice{flex-direction:row;align-items:center;min-height:42px}.energy-band-choice input{min-height:auto}.energy-report-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 28px}.energy-report-kpis article{padding:22px;background:#f3f9fa;border:1px solid #d5e8ea;border-radius:10px;min-width:0}.energy-report-kpis span{font-size:16px;color:#4a6574}.energy-report-kpis strong{display:block;margin:14px 0;font-size:29px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#174956}.energy-report-kpis small{font-size:16px}.energy-report-kpis p{font-size:14px;line-height:1.7;color:#536e7b;margin:0}.energy-report h2{font-size:25px}.energy-report h3{font-size:20px}.energy-report p{line-height:1.8}.energy-report table{font-size:16px;width:100%}.energy-report td,.energy-report th{padding:15px 18px}.energy-report tbody tr:nth-child(even){background:#f5f9fb}.energy-report .numeric-cell{text-align:right;font-variant-numeric:tabular-nums}.energy-advanced>summary,details.card>summary{font-size:17px;font-weight:600;cursor:pointer;padding:8px 0}.energy-advanced[open]>summary{margin-bottom:18px}.energy-refresh-note{color:#587180;font-size:15px}.energy-account-balances{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:16px 0}.energy-account-balances b{float:right}.console-table table{font-size:15px}.console-table tbody tr:nth-child(even){background:#f7fafc}.console-table td{padding-top:14px;padding-bottom:14px;line-height:1.7}.console-table th{font-size:15px}.console-table .console-readable-export{color:#086f70;border-color:#a8cdcf}.console-table-tools{flex-wrap:wrap}.console-table-tools input{min-width:130px}.explore-technical{margin:16px 0}.explore-technical summary{cursor:pointer;font-size:15px;color:#536d7c}.explore-export-actions{display:flex;gap:8px;flex-wrap:wrap}.explore-detail-toggle{display:flex;gap:8px;align-items:center;margin:12px 0;font-size:15px}#explore-results table{font-size:15px}#explore-results td{padding:13px 15px;line-height:1.7}#explore-results tbody tr:nth-child(even){background:#f7fafc}
@media(max-width:850px){.energy-report-kpis{grid-template-columns:1fr}.energy-report-filter{align-items:stretch}.energy-report-filter label{flex:1 1 140px;min-width:0}.energy-report-filter input,.energy-report-filter select{width:100%;box-sizing:border-box}.energy-report-filter .energy-band-choice input{width:auto}.energy-account-balances{grid-template-columns:1fr}.energy-report .card-head{flex-direction:column;align-items:flex-start}.energy-report .actions{flex-wrap:wrap}.energy-report-kpis strong{font-size:27px}}
.energy-report [data-business-report]{max-height:560px;overflow:auto}.energy-report [data-business-report] th{position:sticky;top:0;background:#edf5f7;z-index:1}
tfoot[data-numeric-totals] td{background:#eaf5f5;color:#184c56;border-top:2px solid #abcdd2;font-size:16px;padding:14px 16px;font-variant-numeric:tabular-nums;white-space:normal;min-width:100px}tfoot[data-numeric-totals] b{font-size:18px}tfoot[data-numeric-totals] small{display:block;font-size:13px;font-weight:400;margin-top:5px}tfoot[data-numeric-totals] .numeric-total-scope{font-size:14px;font-weight:400;line-height:1.7;text-align:left}.numeric-area-note{font-size:14px;line-height:1.6;color:#526b79}
.journey-event-totals{margin:18px 0;padding:18px;background:#eaf5f5;border:1px solid #abcdd2;border-radius:10px;font-size:18px;line-height:1.8}.journey-event-totals small{display:block;font-size:14px;color:#526b79}.external-summary{background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:22px;margin:18px 0 22px;color:#203b59}.external-summary header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.external-summary h3{font-size:21px;margin:0}.external-summary p{font-size:14px;color:#657b91;margin:0;line-height:1.7}.external-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px}.external-total-grid article{min-width:0;background:#f2f7fd;border:1px solid #e2ebf5;border-radius:9px;padding:16px}.external-total-grid span{font-size:15px;display:block;color:#4f6a87}.external-total-grid strong{font-size:27px;display:block;margin:8px 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.external-total-grid small{font-size:13px;color:#657b91;display:block}.external-total-group+ .external-total-group{margin-top:20px}.external-total-group h4{margin:0 0 10px;font-size:16px}.external-query-summary{border-top:3px solid #2963bb}.external-query-summary article{background:#edf5f9}@media(max-width:600px){.external-summary{padding:16px}.external-total-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.external-total-grid article{padding:12px}.external-total-grid strong{font-size:23px}}
/* END BUSINESS REPORT STYLES */
/* BEGIN WORKBENCH THEME */
:root{--bg:#f3f6f8;--panel:#fff;--panel2:#eef4f6;--line:#dfe7ed;--text:#1b3044;--muted:#62778b;--accent:#087f8c;--blue:#4264d9;--radius:12px}body{font-size:14px;background:#f3f6f8}.workspace{grid-template-columns:228px minmax(0,1fr)}main{padding:0 26px}.sidebar{background:#132b3e;border-right:1px solid #18364d;padding:25px 14px 17px}.brand-icon{background:#087f8c;border:1px solid #30959d;border-radius:10px}.sidebar .brand{font-size:15px}.sidebar .brand small{font-size:7px;letter-spacing:1.3px;color:#8daabd}.sidebar nav button{border-radius:7px;color:#b9cbd9;font-size:12px;padding:11px 12px}.sidebar nav button.active{background:#0f7180;color:#fff;border-color:#248b96;box-shadow:inset 3px 0 #81d4ca}.sidebar nav button:hover{background:#1b3c52;color:#fff}.sidebar .nav-group{color:#7393aa;font-size:10px;letter-spacing:.5px;margin-top:22px}.sidebar .console-nav-search{background:#1b364a;border-color:#2b4a5f;color:#e5eff8}.sidebar .sidebar-bottom{border-color:#2b485c;color:#99b1c3}.topbar{min-height:86px;border-color:#dce6ed}.topbar h1{font-size:21px;font-weight:650}.topbar .eyebrow{color:#748697;font-size:10px;letter-spacing:.4px}.header-actions{gap:9px}.header-actions .header-screen-link{border:1px solid #c9dee2;border-radius:6px;background:#ebf6f5;color:#087784;padding:8px 11px;font-size:11px;white-space:nowrap}.service-strip{font-size:10px;padding:13px 0 3px}.card{border-color:#dfe7ed;border-radius:12px;box-shadow:0 2px 4px #1a3b5210;padding:23px}.card-head h2{font-size:16px;color:#203c51}.card-head p{color:#6c8091;line-height:1.8}.primary{background:#087f8c;border-color:#087f8c}.primary:hover{background:#086d77}.secondary{background:#fff;border-color:#d4e0e7;color:#34556c}.secondary:hover{background:#eef6f7;border-color:#a6ced0}.pill{border-radius:5px}.pill.good{color:#087d71;background:#e8f5f1;border-color:#bde0d5}.toolbar{background:#f7fafb;border-color:#e3ebef;border-radius:9px;padding:15px}.toolbar label{font-size:11px}.table-wrap{border:1px solid #e0e8ed;border-radius:8px;max-height:65vh}.table-wrap table th{background:#edf3f6;color:#557085;font-weight:600;font-size:11px;padding:13px 12px;border-bottom:1px solid #d8e3ea}.table-wrap table td{padding:13px 12px;color:#304b5f;font-size:12px}.table-wrap tbody tr:nth-child(even){background:#f9fbfc}.table-wrap tbody tr:hover{background:#eef8f7}.table-wrap td small{color:#7b8e9e;font-size:10px}.console-table-tools{margin:10px 0}.console-table-tools input{border-radius:5px}.console-row-count{color:#778c9e}.kpi,.console-metric{border-radius:11px}.kpi strong,.console-metric strong{color:#146377}.glass-tabs,.erp-tabs{border-color:#d7e3e9}.glass-tabs button.active,.erp-tabs button.active{color:#087f8c;border-color:#087f8c;background:#e9f5f4}.analysis-heading,.erp-heading,.desk-data-heading{background:#f0f7f7;border:1px solid #d7e7e8;border-radius:12px}.login-screen{background:radial-gradient(ellipse at 7% 0,#164d61,transparent 60%),#10283d;color:#edf5fa}.login-brand .eyebrow{color:#7cd8cb}.login-brand h1{color:#fff;font-size:42px;line-height:1.45}.login-brand>p{color:#b2cbd8}.login-tags span{border-color:#36566c;color:#bbd4df}.login-card{background:#fff;border:0;border-radius:16px;box-shadow:0 20px 80px #03132066}.login-card h2,.login-card label{color:#223c50}.login-card .eyebrow{color:#087f8c}.login-card button{margin-top:5px}.login-card>p,.login-card>small{color:#73889a}.console-page-intro{margin-top:20px}.console-page-intro h2{font-size:21px}.notice{border-radius:8px}.pagination button{min-height:34px}footer{border-color:#dfe7ed;padding:25px 0;color:#7b8e9e}dialog{border-radius:13px;border-color:#d2e0e8;box-shadow:0 20px 80px #0c293733}
@media(max-width:1200px) and (min-width:901px){.workspace{grid-template-columns:190px minmax(0,1fr)}.sidebar .brand{font-size:13px}.sidebar nav button{font-size:11px;padding:10px;flex-direction:row;justify-content:flex-start;gap:8px;text-align:left}.sidebar .nav-group{text-align:left}.sidebar .brand>span{display:block}.sidebar .sidebar-bottom{display:flex}.header-actions #source-badge{max-width:220px;white-space:normal}.header-actions{gap:5px}.topbar h1{font-size:19px}main{padding:0 20px}}
@media(max-width:900px){.workspace{display:block}.sidebar{width:260px}.sidebar .brand{font-size:15px}.sidebar nav button{padding:11px 12px;font-size:12px}.topbar{min-height:90px}.header-actions .header-screen-link{font-size:10px}.sidebar .nav-close{color:#d0e3ef}}
@media(max-width:620px){main{padding:0 13px}.topbar{padding:14px 0}.topbar h1{font-size:18px}.service-strip{font-size:9px}.header-actions{gap:5px;flex-wrap:wrap}.header-actions .header-screen-link{font-size:10px;padding:6px 8px}.header-actions #source-badge{max-width:100%;margin-right:auto}.card{padding:17px 13px}.table-wrap table th{font-size:10px;padding:11px}.table-wrap table td{font-size:11px;padding:11px}.toolbar{padding:12px}.login-brand h1{font-size:30px}.login-screen{padding:30px 20px}.login-card{padding:25px}.console-page-intro h2{font-size:19px}.header-actions #density-toggle{display:none}}
.header-actions #page-back{display:inline-flex;align-items:center;white-space:nowrap;flex-shrink:0}.dialog-heading #editor-back{margin-left:auto;white-space:nowrap}.dialog-heading #editor-close{margin-left:0}
/* Readability pass: retain navigation, module order and existing colour theme. */
:root{font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none}body{font-size:14px;line-height:1.6}h1,h2,h3{line-height:1.4;letter-spacing:0;font-weight:650}button,input,select,textarea{line-height:1.5}button{font-weight:500}small{font-size:12px;color:#5c7284}input,select,textarea{font-size:14px}label,.toolbar label{font-size:13px;gap:6px}p{overflow-wrap:break-word}
.sidebar nav button{font-size:13px;line-height:1.5;min-height:42px;gap:11px}.sidebar .nav-group{font-size:11px;line-height:1.5;color:#9db5c6;letter-spacing:.3px;margin-top:20px}.sidebar .brand small{font-size:9px}.sidebar .sidebar-bottom{font-size:12px}.sidebar .console-nav-search{font-size:13px}
.topbar{gap:16px;flex-wrap:wrap;padding:16px 0}.topbar h1{font-size:23px}.topbar .eyebrow{font-size:12px;margin-bottom:5px}.header-actions{flex-wrap:wrap;gap:8px}.header-actions .primary,.header-actions .secondary,.header-actions .text-button,.header-actions .header-screen-link,.user-badge{font-size:12px}.service-strip{font-size:12px;gap:10px 20px;padding:12px 0}.service-strip span:last-child{font-variant-numeric:tabular-nums}
.card-head{gap:12px;margin-bottom:14px}.card-head h2{font-size:17px;margin-bottom:6px}.card-head p,.intro,.notice,.subtle{font-size:13px;line-height:1.75}.card-head p:last-child{margin-bottom:0}.primary,.secondary,.danger,.text-button{font-size:13px}.toolbar{gap:14px}.toolbar input,.toolbar select{min-height:42px}.table-wrap table th{font-size:13px;font-weight:600;padding:12px 14px;line-height:1.5}.table-wrap table td{font-size:13px;padding:12px 14px;line-height:1.65}.table-wrap td small{font-size:12px;line-height:1.6;color:#607789}.table-wrap table .numeric-cell{text-align:right;font-variant-numeric:tabular-nums}.table-wrap table td{font-variant-numeric:tabular-nums}.console-row-count,.console-columns summary,.pagination,.analysis-meta,.planning-strip,.pill{font-size:12px}.console-table-tools{gap:10px}.table-wrap td button{font-size:12px;min-height:32px}
.kpi-label,.kpi small{font-size:12px}.kpi strong,.console-metric strong{font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.analysis-heading h2,.console-page-intro h2{font-size:22px}.analysis-heading p,.analysis-filter-panel summary small{font-size:13px}.distribution-label{font-size:13px}.distribution-row b,.trend-bar{font-variant-numeric:tabular-nums}.trend-bar span{font-size:11px}.analysis-meta{gap:8px 20px;line-height:1.7}.detail-grid dt{font-size:12px}.detail-grid dd{font-size:14px;line-height:1.7}.dialog-heading h2{font-size:20px}.dialog-heading{gap:10px;flex-wrap:wrap}
body[data-density="compact"] .table-wrap table td,body[data-density="compact"] .table-wrap table th{padding-top:8px;padding-bottom:8px;font-size:12px}
@media(max-width:900px){.topbar h1{font-size:21px}.sidebar nav button{font-size:14px;min-height:44px}.topbar{gap:12px}.header-actions{row-gap:8px}}
@media(max-width:620px){.topbar h1{font-size:20px}.topbar .eyebrow,.service-strip{font-size:11px}.service-strip{gap:6px 12px}.card{padding:18px 14px}.card-head h2{font-size:16px}.card-head p,.notice,.subtle{font-size:13px}.toolbar label{min-width:0}.toolbar input,.toolbar select{font-size:16px;min-height:44px}.primary,.secondary,.danger{min-height:40px}.header-actions .header-screen-link{font-size:12px}.table-wrap table td,.table-wrap table th{font-size:13px;padding:11px 12px}.table-wrap td small{font-size:11px}.analysis-heading h2{font-size:20px}.analysis-meta{display:flex;flex-direction:column;align-items:flex-start}.dialog-heading h2{font-size:18px}.kpi strong{font-size:26px}.pill{font-size:11px}}
/* Larger reading scale requested after the first readability pass. */
body{font-size:16px;line-height:1.65}small{font-size:14px}.sidebar nav button{font-size:16px;min-height:46px;padding:11px 10px;gap:9px}.sidebar .brand{font-size:16px}.sidebar .brand small{font-size:8px;letter-spacing:.5px}.sidebar .nav-group,.sidebar .sidebar-bottom{font-size:13px}.sidebar .console-nav-search{font-size:15px}.topbar h1{font-size:26px}.topbar .eyebrow{font-size:14px}.header-actions .primary,.header-actions .secondary,.header-actions .text-button,.header-actions .header-screen-link,.user-badge{font-size:14px}.header-actions #source-badge{max-width:440px;white-space:normal}.service-strip{font-size:14px}.card-head h2{font-size:20px}.card-head p,.intro,.notice,.subtle{font-size:15px;line-height:1.75}.primary,.secondary,.danger,.text-button{font-size:15px;min-height:40px}label,.toolbar label{font-size:15px}input,select,textarea,.toolbar input,.toolbar select{font-size:16px;min-height:44px}.table-wrap table th{font-size:15px;padding:13px 15px}.table-wrap table td{font-size:16px;padding:13px 15px}.table-wrap td small,.console-row-count,.console-columns summary,.pagination,.analysis-meta,.planning-strip,.pill{font-size:14px}.table-wrap td button{font-size:14px;min-height:36px}.kpi-label,.kpi small{font-size:14px}.kpi strong,.console-metric strong{font-size:32px}.analysis-heading h2,.console-page-intro h2{font-size:25px}.analysis-heading p,.analysis-filter-panel summary small{font-size:15px}.distribution-label,.distribution-row b{font-size:16px}.distribution-row small{font-size:14px}.trend-bar span{font-size:13px}.detail-grid dt{font-size:14px}.detail-grid dd{font-size:16px}.dialog-heading h2{font-size:23px}.analysis-meta{line-height:1.75}.workbench-shortcuts button,.glass-tabs button,.erp-tabs button{font-size:15px}
body[data-density="compact"] .table-wrap table td,body[data-density="compact"] .table-wrap table th{font-size:15px;padding-top:9px;padding-bottom:9px}
@media(max-width:1200px) and (min-width:901px){.workspace{grid-template-columns:220px minmax(0,1fr)}.sidebar nav button{font-size:15px}.header-actions #source-badge{max-width:300px}.topbar h1{font-size:24px}}
@media(max-width:620px){.topbar h1{font-size:24px}.topbar .eyebrow,.service-strip{font-size:13px}.sidebar nav button{font-size:16px}.header-actions{gap:8px}.header-actions .header-screen-link{font-size:14px}.header-actions #source-badge{font-size:12px;max-width:100%}.card-head h2{font-size:19px}.card-head p,.notice,.subtle{font-size:15px}.table-wrap table td{font-size:16px}.table-wrap table th{font-size:15px}.table-wrap td small{font-size:14px}.analysis-heading h2{font-size:23px}.analysis-meta{font-size:14px}.kpi strong{font-size:28px}.pill{font-size:13px}.primary,.secondary,.danger{font-size:15px;min-height:44px}.dialog-heading h2{font-size:21px}.distribution-label,.distribution-row b{font-size:15px}}
/* Unified business workspace: six primary areas, one active set of subfunctions. */
:root{--bg:#f4f6f9;--text:#1b3342;--muted:#5e7383;--line:#dce4eb;--accent:#087b7e}.workspace{grid-template-columns:232px minmax(0,1fr)}main{padding:0 28px}.sidebar{background:#fff;border-right:1px solid #dce4eb;padding:24px 16px 18px;gap:0}.sidebar .brand{color:#173e4a}.sidebar .brand small{color:#617b89}.sidebar .brand-icon{background:#087c80;border:0;border-radius:12px}.sidebar .console-nav-search{margin:24px 0 18px;background:#f2f5f8;border-color:#dde5ec;color:#284353;font-size:15px}.sidebar .sidebar-bottom{color:#536d7e;border-top-color:#e1e8ed;margin-top:auto}.sidebar nav{gap:8px}.sidebar .console-nav-group{margin:0;padding:0}.sidebar nav .section-primary{display:flex;width:100%;font-size:17px;font-weight:600;min-height:50px;padding:12px 14px;color:#344e60;background:transparent;border:1px solid transparent;border-radius:10px}.sidebar nav .section-primary i{color:#637f91;width:22px;flex-shrink:0}.sidebar nav .section-primary:hover{background:#f0f7f7}.sidebar nav .is-current-section>.section-primary{color:#07696e;background:#e8f5f3;border-color:#cee8e3;box-shadow:none}.sidebar nav .is-current-section>.section-primary i{color:#078384}.section-subnav{display:none;margin:6px 0 8px 25px;padding-left:10px;border-left:1px solid #dbe6e9}.is-current-section>.section-subnav,#navigation.is-searching .section-subnav{display:grid;gap:3px}.section-subnav:empty{display:none}.sidebar .section-subnav button{font-size:15px;padding:9px 10px;min-height:40px;border-radius:7px;line-height:1.5;color:#546d7e;gap:7px}.sidebar .section-subnav i{display:none}.sidebar .section-subnav button.active{color:#075e65;background:#eef7f6;border-color:transparent;box-shadow:none;font-weight:600}.sidebar .section-subnav button:hover{background:#f3f7f9;color:#173e4a}.sidebar .nav-close{color:#1c495a}
.topbar{min-height:98px;border-bottom:1px solid #dce4eb;background:transparent}.topbar h1{font-size:26px;font-weight:650}.topbar .eyebrow{color:#607b8b;font-size:13px;letter-spacing:0}.header-actions{gap:8px}.header-actions .pill{background:#fff;border-color:#e0e7ee}.service-strip{margin:0 0 14px;padding:13px 0;font-size:13px;color:#627b8b}.service-strip span:nth-child(3){display:none}.card{box-shadow:none;border:1px solid #dee6ed;border-radius:12px;margin-bottom:20px}.card-head{padding-bottom:10px;border-bottom:1px solid #edf1f5;margin-bottom:18px}.card-head p{max-width:90ch}.toolbar{background:#f6f8fa;border:1px solid #e5ebf0;padding:16px;border-radius:10px}.table-wrap{border-color:#dee6ed}.table-wrap table th{background:#f0f4f7;color:#3c596d}.table-wrap tbody tr:hover{background:#edf8f6}.console-table-tools{padding:3px 0 10px}.console-page-intro{margin-top:10px}.desk-data-heading{display:none}.analysis-heading{border:0;background:transparent;padding:0;margin:0 0 18px}.analysis-heading>div:first-child{display:none}.analysis-heading .actions{margin:0}.erp-tabs{display:grid;gap:10px;border:0;margin:0 0 20px;padding:16px;background:#fff;border:1px solid #e0e7ed;border-radius:12px}.erp-tab-group{display:flex;gap:14px;align-items:flex-start}.erp-tab-group>span{font-size:13px;color:#718797;min-width:64px;padding-top:10px}.erp-tab-group>div{display:flex;gap:7px;flex-wrap:wrap}.erp-tabs button{font-size:15px;padding:9px 13px;border-radius:8px;min-height:42px}.erp-tabs button[aria-pressed="true"]{background:#e6f4f1;color:#086d70;border-color:#aad8ce}.erp-tabs button[aria-pressed="false"]{background:#f7f9fb;border-color:#e2e9ee}.login-brand h1{font-size:38px}.login-card{box-shadow:0 16px 60px #03132040}footer{font-size:13px}
@media(max-width:1200px) and (min-width:901px){.workspace{grid-template-columns:214px minmax(0,1fr)}main{padding:0 20px}.sidebar{padding-left:12px;padding-right:12px}.sidebar nav .section-primary{font-size:16px}.section-subnav{margin-left:18px;padding-left:8px}.sidebar .section-subnav button{font-size:14px}}
@media(max-width:900px){.workspace{display:block}.sidebar{width:280px}.sidebar nav .section-primary{font-size:17px}.sidebar .section-subnav button{font-size:15px}main{padding:0 18px}.topbar{min-height:100px}.header-actions{row-gap:8px}.service-strip{flex-wrap:wrap}}
@media(max-width:620px){main{padding:0 12px}.topbar h1{font-size:24px}.card{padding:18px 14px}.card-head{padding-bottom:8px}.erp-tabs{padding:12px}.erp-tab-group{flex-direction:column;gap:5px}.erp-tab-group>span{padding-top:0}.erp-tab-group>div{gap:6px}.erp-tabs button{font-size:15px;min-height:44px;padding:8px 11px}.sidebar{width:280px}.toolbar{padding:12px}.analysis-heading .actions{gap:7px}.service-strip{margin-bottom:12px}}
.sidebar #nav-search{background:#f2f5f8;border-color:#dce5ec;color:#284353;font-size:15px}.sidebar #nav-search::placeholder{color:#667e8f}
.production-ratio{min-width:145px;display:grid;gap:6px}.production-ratio progress{width:145px;height:12px;accent-color:#078b81}.production-ratio strong{font-size:18px}.production-ratio small{white-space:normal}
/* END WORKBENCH THEME */
/* BEGIN HUB DASHBOARD STYLES */
.hub-dashboard{--hub-text:#172b40;--hub-muted:#64778a;--hub-line:#dfe7ed;--hub-surface:#fff;--hub-grid:#e9eff3;--hub-teal:#087f8c;--hub-blue:#4264d9;color:var(--hub-text);font-variant-numeric:tabular-nums}
.hub-dashboard *{box-sizing:border-box}.hub-dashboard a{color:inherit}.hub-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0 25px}.hub-eyebrow{color:#087f8c;letter-spacing:2px;font-size:10px;font-weight:700}.hub-hero h2{font-size:28px;letter-spacing:-.5px;margin:9px 0 10px;font-weight:650}.hub-hero p{font-size:13px;color:var(--hub-muted);margin:0}.hub-screen-link{display:flex;gap:32px;align-items:center;padding:14px 18px;border-radius:9px;background:#132e44;color:#fff!important;font-size:13px;white-space:nowrap}.hub-screen-link:hover{background:#087f8c}.hub-screen-link span{font-size:22px}.hub-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.hub-metric{display:block;min-width:0;border:1px solid var(--hub-line);background:var(--hub-surface);padding:20px 20px 16px;border-radius:12px;border-top:3px solid var(--hub-teal);text-decoration:none}.hub-metric:hover{border-color:var(--hub-teal);box-shadow:0 5px 18px #18334d0b}.hub-metric.hub-blue{border-top-color:var(--hub-blue)}.hub-metric-label{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:12px;color:var(--hub-muted)}.hub-metric-label em{font-style:normal;font-size:9px;border:1px solid var(--hub-line);padding:3px 5px;border-radius:4px;letter-spacing:1px}.hub-metric>div{display:flex;gap:7px;align-items:baseline;min-width:0;margin:16px 0 12px}.hub-metric strong{font-size:clamp(20px,2.15vw,36px);font-weight:650;letter-spacing:-1px;overflow-wrap:anywhere;line-height:1.2}.hub-metric b{font-size:11px;font-weight:500;white-space:nowrap;color:var(--hub-muted)}.hub-metric small{font-size:10px;color:var(--hub-muted);line-height:1.6;display:block}
.hub-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:18px}.hub-panel{background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:12px;padding:20px;min-width:0;overflow:hidden}.hub-panel>header{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.hub-panel header>div{min-width:0}.hub-panel h3{font-size:15px;margin:0 0 8px;letter-spacing:.15px}.hub-panel header p{font-size:10px;line-height:1.7;margin:0;color:var(--hub-muted)}.hub-more{font-size:10px;color:var(--hub-teal)!important;white-space:nowrap;padding-top:2px}.hub-energy-chart{grid-column:span 2}.hub-chart-legend{display:flex;gap:17px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--hub-muted);min-height:24px}.hub-chart-legend span{display:flex;gap:7px;align-items:center}.hub-chart-legend i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.hub-chart-legend .hub-chart-unit{margin-left:auto}.hub-legend-0,.hub-band-2{background:#0d9caa;fill:#0d9caa}.hub-legend-1,.hub-band-1{background:#6382ed;fill:#6382ed}.hub-legend-2,.hub-band-0{background:#e6ad4b;fill:#e6ad4b}.hub-legend-3,.hub-band-3{background:#8195a7;fill:#8195a7}.hub-line-chart{display:block;width:100%;height:auto;min-height:150px;margin:12px 0 0;overflow:visible}.hub-gridline{stroke:var(--hub-grid);stroke-width:1}.hub-axis{fill:var(--hub-muted);font-size:11px;font-family:inherit}.hub-series{fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.hub-dot{stroke-width:1;fill:var(--hub-surface)}.hub-series-0{stroke:#0d9caa}.hub-series-1{stroke:#6382ed}.hub-series-2{stroke:#e6ad4b}.hub-series-3{stroke:#8195a7}.hub-footnote{font-size:10px;color:var(--hub-muted);line-height:1.7;margin:12px 0 0}.hub-empty{display:grid;place-items:center;text-align:center;min-height:140px;color:var(--hub-muted);font-size:12px;padding:20px;border:1px dashed var(--hub-line);border-radius:8px}.hub-tariffs{display:grid;gap:15px}.hub-tariffs article+article{border-top:1px solid var(--hub-line);padding-top:15px}.hub-account-heading{display:flex;gap:8px;align-items:center}.hub-account-heading strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-account-heading>span{font-size:10px;color:var(--hub-muted);margin-left:auto;white-space:nowrap}.hub-energy-number{display:flex;align-items:baseline;gap:10px;margin:9px 0}.hub-energy-number b{font-size:25px;letter-spacing:-.5px}.hub-energy-number span{font-size:10px;color:var(--hub-muted)}.hub-tariff-strip{display:block;height:7px;width:100%;border-radius:4px;overflow:hidden}.hub-band-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px}.hub-band-values>span{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--hub-muted);flex-wrap:wrap}.hub-band-values i{width:5px;height:5px;border-radius:50%;flex-shrink:0}.hub-band-values b{font-size:11px;font-weight:600;color:var(--hub-text)}.hub-account-bottom{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--hub-muted);margin-top:11px}.hub-account-bottom b{color:var(--hub-text);font-weight:500}.hub-ranks{display:grid;gap:16px}.hub-rank{display:grid;grid-template-columns:22px minmax(0,1fr);gap:9px;align-items:center}.hub-rank-index{font-size:11px;color:var(--hub-muted);font-family:Consolas,monospace}.hub-rank-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:11px;margin-bottom:9px}.hub-rank-head>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-rank-head strong{white-space:nowrap;font-size:12px;font-weight:600}.hub-rank-head small{display:inline;color:var(--hub-muted);font-size:9px;font-weight:400}.hub-rank svg{display:block;width:100%;height:4px}.hub-bar-track{fill:var(--hub-grid)}.hub-bar-fill{fill:var(--hub-teal)}.hub-sources>div{display:flex;gap:10px;align-items:center;padding:12px 0}.hub-sources>div+div{border-top:1px solid var(--hub-line)}.hub-sources b{font-weight:500;font-size:12px}.hub-sources small{display:block;font-size:10px;color:var(--hub-muted);margin-top:5px}.hub-source-time{margin-left:auto;text-align:right;font-size:11px}.hub-state-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#e4ac44}.hub-state-dot.is-good{background:#0a9d89}.hub-quality>a{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--hub-line);font-size:12px}.hub-quality>a:last-child{border:0}.hub-quality>a>b{margin-left:auto;font-size:19px;font-weight:600}.hub-quality>a>i{font-style:normal;color:var(--hub-muted)}.hub-warning{color:#b86d10}.hub-data-warning{padding:12px 16px;border:1px solid #eacfa2;background:#fff7e9;border-radius:8px;color:#8a5717;font-size:12px;margin-bottom:15px}.hub-quicklinks{display:flex;gap:10px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--hub-line)}.hub-quicklinks a{padding:10px 14px;background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:6px;font-size:12px}.hub-definitions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hub-definitions>div{display:flex;flex-direction:column;gap:9px}.hub-definitions b{font-size:22px}.hub-definitions span{font-size:11px;color:var(--hub-muted)}.hub-definitions-panel{grid-column:span 2}.hub-operations{padding:20px;border:1px solid var(--hub-line,#dfe7ed);border-radius:12px;background:#fff;margin:20px 0}.hub-operations>summary{font-size:14px;font-weight:600;cursor:pointer;padding:3px}.hub-operations[open]>summary{margin-bottom:24px}.hub-operations .console-page-intro{display:none}.hub-operations .console-metrics{display:none}.hub-operations .grid{display:none}
@media(max-width:1200px){.hub-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-energy-chart{grid-column:span 2}.hub-tariff-panel{grid-row:auto}.hub-definitions-panel{grid-column:span 1}.hub-metric{padding:16px 14px}.hub-metric strong{font-size:25px}.hub-panel{padding:17px}.hub-hero h2{font-size:25px}}
@media(max-width:650px){.hub-hero{padding:16px 0 20px;gap:14px;align-items:flex-start;flex-direction:column}.hub-hero h2{font-size:24px}.hub-hero p{font-size:12px}.hub-screen-link{padding:9px 12px;font-size:12px}.hub-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-metric-label{font-size:10px}.hub-metric-label em{font-size:8px}.hub-metric strong{font-size:23px}.hub-metric small{font-size:9px}.hub-dashboard-grid{grid-template-columns:minmax(0,1fr);gap:12px}.hub-energy-chart,.hub-definitions-panel{grid-column:auto}.hub-panel{padding:16px 13px}.hub-panel h3{font-size:14px}.hub-hero .hub-eyebrow{font-size:9px}.hub-definitions{grid-template-columns:1fr 1fr;gap:17px}.hub-quicklinks{gap:7px}.hub-quicklinks a{font-size:11px;padding:9px}.hub-operations{padding:13px}.hub-chart-legend{font-size:9px;gap:8px}.hub-metric>div{gap:4px}}
@media(max-width:650px){.hub-metric.hub-number-long strong{font-size:clamp(15px,4.2vw,19px);letter-spacing:-.5px;white-space:nowrap}}


.hub-chart-tooltip{position:fixed;z-index:10000;max-width:min(330px,calc(100vw - 16px));padding:10px 14px;border:1px solid #5ca3ae;border-radius:8px;background:#102d40;color:#fff;box-shadow:0 6px 24px #071d3540;font:13px/1.65 system-ui,sans-serif;white-space:pre-line;overflow-wrap:anywhere;pointer-events:none}.hub-chart-tooltip[hidden]{display:none}.hub-hit{fill:transparent;stroke:none;pointer-events:all}.hub-hit:focus{outline:none;stroke:#10b8c3;stroke-width:2}.hub-rank:focus-visible,[data-chart-tip]:focus-visible{outline:2px solid #139aa6;outline-offset:2px}
.hub-energy-toggle{display:flex;gap:4px;flex-shrink:0;margin:0 0 6px}.hub-energy-toggle button{font:inherit;font-size:12px;padding:4px 12px;border:1px solid var(--hub-line,#cbd5e1);border-radius:5px;background:transparent;color:inherit;cursor:pointer}.hub-energy-toggle button[aria-pressed="true"]{background:#087f83;color:white;border-color:#087f83}.hub-energy-toggle button:focus-visible{outline:2px solid #139aa6;outline-offset:2px}.hub-energy-view{min-width:0}.hub-energy-view[hidden]{display:none!important}
@media(min-width:901px){.hub-screen-dashboard .hub-energy-view:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.hub-screen-dashboard .hub-energy-view .hub-line-chart{flex:1;min-height:0}}
/* Consistent labels and tabular figures without changing dashboard placement. */
.hub-dashboard{font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;font-variant-numeric:tabular-nums}.hub-workbench .hub-panel h3{font-size:16px;line-height:1.4;margin-bottom:6px}.hub-workbench .hub-panel header p{font-size:12px;line-height:1.7;color:#536d7e}.hub-workbench .hub-metric-label{font-size:13px}.hub-workbench .hub-metric-label em{font-size:10px}.hub-workbench .hub-metric small{font-size:12px;line-height:1.6}.hub-workbench .hub-metric strong{font-weight:650}.hub-workbench .hub-metric b{font-size:12px}.hub-workbench .hub-chart-legend,.hub-workbench .hub-footnote,.hub-workbench .hub-more{font-size:12px;line-height:1.6}.hub-workbench .hub-axis{font-size:11px}.hub-workbench .hub-rank-head,.hub-workbench .hub-rank-head strong{font-size:13px}.hub-workbench .hub-rank-head small{font-size:11px}.hub-workbench .hub-account-heading strong{font-size:14px;line-height:1.5}.hub-workbench .hub-account-heading>span,.hub-workbench .hub-energy-number span,.hub-workbench .hub-account-bottom{font-size:12px}.hub-workbench .hub-band-values>span,.hub-workbench .hub-band-values b{font-size:12px}.hub-workbench .hub-sources b{font-size:13px}.hub-workbench .hub-sources small,.hub-workbench .hub-source-time{font-size:12px}.hub-workbench .hub-definitions span{font-size:13px}.hub-workbench .hub-energy-toggle button{min-height:34px;font-size:13px}
@media(max-width:650px){.hub-workbench .hub-metric-label{font-size:12px}.hub-workbench .hub-metric small{font-size:11px}.hub-workbench .hub-panel h3{font-size:16px}.hub-workbench .hub-hero h2{font-size:23px}.hub-workbench .hub-energy-toggle button{min-height:40px}.hub-workbench .hub-chart-legend{gap:8px 14px}.hub-workbench .hub-account-heading{flex-wrap:wrap}.hub-workbench .hub-account-heading strong{white-space:normal;overflow-wrap:anywhere}.hub-workbench .hub-rank-head{gap:6px}.hub-workbench .hub-footnote{font-size:11px}}
.hub-workbench .hub-panel h3{font-size:20px}.hub-workbench .hub-panel header p,.hub-workbench .hub-footnote,.hub-workbench .hub-more{font-size:14px;line-height:1.7}.hub-workbench .hub-hero p{font-size:16px}.hub-workbench .hub-screen-link{font-size:15px}.hub-workbench .hub-metric-label{font-size:15px}.hub-workbench .hub-metric-label em{font-size:12px}.hub-workbench .hub-metric small,.hub-workbench .hub-metric b{font-size:14px}.hub-workbench .hub-chart-legend{font-size:14px;gap:10px 18px}.hub-workbench .hub-axis{font-size:13px}.hub-workbench .hub-rank-head,.hub-workbench .hub-rank-head strong{font-size:16px}.hub-workbench .hub-rank-head small,.hub-workbench .hub-rank-index{font-size:14px}.hub-workbench .hub-account-heading strong{font-size:16px;white-space:normal;line-height:1.6}.hub-workbench .hub-account-heading>span,.hub-workbench .hub-energy-number span,.hub-workbench .hub-account-bottom{font-size:14px}.hub-workbench .hub-account-heading{flex-wrap:wrap}.hub-workbench .hub-band-values>span,.hub-workbench .hub-band-values b{font-size:14px}.hub-workbench .hub-sources b{font-size:16px}.hub-workbench .hub-sources small,.hub-workbench .hub-source-time{font-size:14px}.hub-workbench .hub-definitions span,.hub-workbench .hub-quality>a{font-size:15px}.hub-workbench .hub-quicklinks a{font-size:15px}.hub-workbench .hub-energy-toggle button{font-size:15px;min-height:40px}.hub-chart-tooltip{font-size:15px;line-height:1.7}
@media(max-width:650px){.hub-workbench .hub-panel h3{font-size:19px}.hub-workbench .hub-metric{padding:16px 12px}.hub-workbench .hub-metric-label{font-size:14px;flex-wrap:wrap;gap:5px}.hub-workbench .hub-metric small{font-size:13px}.hub-workbench .hub-metric-label em{font-size:11px}.hub-workbench .hub-metric>div{flex-wrap:wrap;gap:3px}.hub-workbench .hub-metric.hub-number-long strong{font-size:20px;white-space:normal;overflow-wrap:anywhere}.hub-workbench .hub-footnote,.hub-workbench .hub-chart-legend{font-size:14px}.hub-workbench .hub-panel>header{flex-wrap:wrap;gap:8px}.hub-workbench .hub-energy-toggle button{font-size:16px;min-height:44px}.hub-workbench .hub-source-time{font-size:14px}.hub-workbench .hub-rank-head{font-size:15px}.hub-workbench .hub-hero h2{font-size:26px}}
.hub-workbench .hub-hero{padding:8px 0 22px}.hub-workbench .hub-hero h2{font-size:28px;font-weight:650}.hub-workbench .hub-hero .hub-eyebrow{display:none}.hub-workbench .hub-metric{border-top-width:3px;border-radius:12px;box-shadow:none}.hub-workbench .hub-panel{border-radius:12px;box-shadow:none}.hub-workbench .hub-panel>header{margin-bottom:14px}.hub-workbench .hub-metric strong{font-size:32px}.hub-workbench .hub-axis{font-size:14px}.hub-workbench .hub-chart-legend{padding-top:4px}.hub-workbench .hub-source-time{max-width:145px}.hub-operations{box-shadow:none;border-radius:12px}@media(max-width:650px){.hub-workbench .hub-hero h2{font-size:25px}.hub-workbench .hub-metric strong{font-size:26px}.hub-workbench .hub-metric.hub-number-long strong{font-size:20px}.hub-workbench .hub-hero{padding-bottom:18px}}

.hub-comparison-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:12px 0 18px}.hub-comparison-heading h2,.hub-assets-heading{font-size:24px;margin:0 0 8px}.hub-comparison-heading p{font-size:15px;color:var(--hub-muted);line-height:1.7;margin:0}.hub-comparison-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.hub-compare-card{background:#fff;border:1px solid var(--hub-line);border-top:3px solid var(--hub-teal);padding:20px 18px;border-radius:10px;min-width:0}.hub-compare-card h3{font-size:16px;margin:0 0 14px;color:#456071;overflow-wrap:anywhere}.hub-compare-card>strong{display:block;font-size:29px;color:#153e4b;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.hub-compare-card strong small{font-size:14px;font-weight:400}.hub-compare-card p{font-size:15px;margin:12px 0 9px;color:#526b79}.hub-compare-card>b{font-size:14px;color:#176b65;display:block;line-height:1.6}.hub-compare-card>small{display:block;font-size:13px;line-height:1.7;color:#677b86;margin-top:9px}.hub-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hub-comparison-grid .hub-panel{padding:22px;min-width:0}.hub-comparison-grid .hub-panel h3{font-size:20px}.hub-comparison-grid .hub-panel header p{font-size:14px;line-height:1.6}.hub-comparison-columns{width:100%;height:280px;display:block;overflow:visible}.hub-comparison-columns .hub-axis{font-size:14px}.hub-compare-bar-0{fill:#0b9686;cursor:crosshair}.hub-compare-bar-1{fill:#738fde;cursor:crosshair}.hub-comparison-grid .hub-line-chart{height:280px;max-height:none}.hub-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.hub-insight-grid article{padding:22px;border:1px solid #dbe5eb;border-radius:10px;background:#f7fbfd}.hub-insight-grid span{font-size:13px;color:#547a8b}.hub-insight-grid h3{font-size:18px;margin:10px 0}.hub-insight-grid p{font-size:15px;line-height:1.8;color:#526774}.hub-assets-heading{margin-top:30px;color:#355262}.hub-comparison-heading .hub-energy-toggle{flex-shrink:0}.hub-comparison-heading .hub-energy-toggle button{font-size:15px;white-space:nowrap}
@media(max-width:1400px){.hub-comparison-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-comparison-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:850px){.hub-comparison-grid{grid-template-columns:1fr}.hub-insight-grid{grid-template-columns:1fr}.hub-comparison-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-comparison-heading .hub-energy-toggle{flex-wrap:wrap}.hub-comparison-columns{min-width:540px}.hub-comparison-grid .hub-panel{overflow-x:auto}.hub-comparison-grid .hub-panel .hub-line-chart{min-width:540px}.hub-compare-card{padding:16px}.hub-compare-card>strong{font-size:25px}}
/* Keep the manufacturing route together without shrinking text on phones. */
.hub-process-row{display:grid;grid-template-columns:repeat(4,minmax(235px,1fr));gap:14px;overflow-x:auto;max-width:100%;min-width:0;padding-bottom:12px;margin-bottom:8px;scroll-snap-type:x proximity}.hub-process-row>.hub-compare-card{scroll-snap-align:start}.hub-process-row:focus-visible{outline:2px solid var(--hub-teal);outline-offset:3px}
.hub-series-4{stroke:#cd648d}.hub-series-5{stroke:#499143}.hub-legend-4{background:#cd648d}.hub-legend-5{background:#499143}
.hub-auto-refresh{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0;padding:14px 18px;background:#f1f8fa;border:1px solid #cbdfe6;border-radius:10px;color:#284b59;font-size:16px}.hub-auto-refresh label{display:flex;align-items:center;gap:10px}.hub-auto-refresh select,.hub-auto-refresh button{font:inherit;padding:9px 12px;border:1px solid #bfd3dc;border-radius:6px;background:white;color:#214854}.hub-auto-refresh>span{flex:1;min-width:210px;line-height:1.7}
.hub-live-grinding{display:flex;flex-wrap:wrap;align-items:center;gap:24px;background:#eaf8f4;border:1px solid #b8ddd1;border-radius:12px;padding:22px;margin:18px 0;color:#1b574b}.hub-live-grinding h3{font-size:19px;margin:0 0 10px}.hub-live-grinding strong{font-size:36px}.hub-live-grinding strong small{font-size:17px}.hub-live-grinding>div:nth-child(2){flex:1;min-width:200px}.hub-live-grinding p{font-size:16px;line-height:1.7}.hub-live-grinding small{font-size:15px;line-height:1.7}.hub-live-grinding a{font-size:17px;color:#125f54}
.hub-area-comparisons{margin-top:28px;padding-top:18px;border-top:2px solid #bfd5df}.hub-area-comparisons .hub-comparison-grid{margin-top:18px}.hub-area-card{border-top-color:#6377c4}.hub-area-comparisons .hub-section-heading>span{font-size:14px}
.cc-live-stream{border:1px solid #cce0e7;border-left:4px solid #138b80;border-radius:8px;background:#f1f8f8;padding:12px 16px;margin:0 0 18px;min-width:0}
.cc-live-stream>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.cc-live-stream header>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.cc-live-stream header b{font-size:17px;color:#185b58}.cc-live-stream header span{font-size:14px;color:#4b7377}.cc-live-stream header button{font-size:14px;padding:7px 12px;white-space:nowrap;border:1px solid #b7d5d4;border-radius:6px;background:#fff;color:#276b66}.cc-live-stream>p{font-size:12px;color:#68858b;line-height:1.6;margin:7px 0 0}
.live-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.live-event-grid>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;background:#fff;border:1px solid #d7e5e8;border-radius:6px;padding:11px 13px;font-size:14px;color:#2e5266;min-width:0}.live-event-grid a>span{font-weight:600;overflow-wrap:anywhere}.live-event-grid small{display:block;font-size:11px;color:#748995;font-weight:400;margin-top:3px}.live-event-grid b{text-align:right;overflow-wrap:anywhere;font-size:16px;color:#176a60}.live-event-grid em{font-size:11px;font-style:normal;color:#8b6e39;grid-column:1/-1}
.live-event-grid>a:only-child{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.live-event-grid>a:only-child em{grid-column:auto}
.live-value-changed{background:#d9f4e8!important;color:#126449!important;border-radius:4px;outline:2px solid #4fae8b;outline-offset:3px}
.hub-auto-refresh[data-refresh-state=loading]>span::before{content:'';display:inline-block;width:12px;height:12px;border:2px solid #9fc5d0;border-top-color:#227b8d;border-radius:50%;vertical-align:-2px;margin-right:8px;animation:live-fetch-spin 1s linear infinite}
@keyframes live-fetch-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.hub-auto-refresh[data-refresh-state=loading]>span::before{animation:none}}
@media(max-width:760px){.live-event-grid{grid-template-columns:1fr}.live-event-grid>a,.live-event-grid>a:only-child{grid-template-columns:1fr}.live-event-grid b{text-align:left}.cc-live-stream{padding:12px}.cc-live-stream header>div{gap:4px}.cc-live-stream header span{font-size:13px}.cc-live-stream header button{font-size:13px}}
/* END HUB DASHBOARD STYLES */

/* ERP optimized finished-glass area: independent of orders and production. */
.hub-optimization-strip{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:14px 18px;margin:12px 0;background:#edf8f5;border:1px solid #b7dfd4;border-left:4px solid #168c77;border-radius:9px;color:#133d37}.hub-optimization-strip h3{font-size:22px;margin:0 0 3px}.optimization-title small,.optimization-period>small{font-size:12px;color:#526f69}.optimization-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;min-width:0}.optimization-period>span{font-size:15px}.optimization-period>strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.optimization-period strong small{font-size:13px;font-weight:400}.optimization-period>small{width:100%}.optimization-basis{grid-column:1/-1;font-size:13px}.optimization-basis summary{cursor:pointer}.optimization-basis .production-screen-table{max-height:360px;overflow:auto}.hub-optimization-strip.is-screen{margin:0;background:#163b3d;border-color:#315454;border-left-color:#4ac8af;color:#eefaf7;padding:10px 16px;gap:8px}.is-screen .optimization-title small,.is-screen .optimization-period>small{color:#a8c9c4}.is-screen .optimization-period>strong{font-size:26px}.is-screen .optimization-title h3{font-size:22px}@media(max-width:900px){.hub-optimization-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.optimization-title{grid-column:1/-1}.optimization-period>strong,.is-screen .optimization-period>strong{font-size:21px}.optimization-period>span{font-size:13px}}@media(max-width:500px){.hub-optimization-strip{grid-template-columns:1fr;padding:10px}.optimization-period{display:grid;grid-template-columns:1fr auto}.optimization-period>small{grid-column:1/-1}}

.hub-quantity-secondary{margin:18px 0;border:1px solid #cadce2;border-radius:9px;background:#f7fafb;padding:14px}.hub-quantity-secondary>summary{cursor:pointer;font-weight:600;color:#355566}.hub-quantity-secondary[open]>summary{margin-bottom:16px}.cc-joint-primary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cc-process-quantity b{font-size:16px;font-weight:500}.delivery-aligned-table table{width:100%;table-layout:fixed;border-collapse:collapse}.delivery-aligned-table th,.delivery-aligned-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;border-bottom:1px solid #30455d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-aligned-table th:first-child,.delivery-aligned-table td:first-child{text-align:left}.delivery-aligned-table th{font-size:16px;color:#b7d4ee;line-height:1.4}.delivery-aligned-table td{font-size:18px;line-height:1.45}.delivery-aligned-table small{display:block;font-size:12px;line-height:1.4;color:#98aec4;margin-top:3px}.delivery-aligned-table td:first-child b{font-size:16px;font-weight:500}.delivery-aligned-table .delivery-area{font-weight:650;color:#79dec5}.delivery-aligned-table .wall-progress{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:0}.delivery-aligned-table .wall-progress-track{width:100%;max-width:90px}.delivery-aligned-table .wall-progress>span{font-size:15px;line-height:1.4}.delivery-aligned-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}@media(max-width:1200px){.delivery-aligned-table th,.delivery-aligned-table td{padding:9px 5px}.delivery-aligned-table th{font-size:13px}.delivery-aligned-table td{font-size:15px}.delivery-aligned-table td:first-child b{font-size:14px}.delivery-aligned-table .wall-progress>span{font-size:13px}}@media(max-width:700px){.delivery-aligned-table{overflow-x:auto}.delivery-aligned-table table{min-width:850px}}
/* BEGIN ENTERPRISE THEME */
/* One visual system across business pages; no source-data or permission changes. */
body.enterprise-shell{--bg:#f1f4f8;--panel:#fff;--panel2:#f5f8fc;--line:#dce5ef;--text:#192e46;--muted:#60748a;--accent:#087f87;--blue:#3d62c9;--radius:16px;--module-accent:#087f87;--module-soft:#eaf6f5;background:var(--bg);color:var(--text);font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.65;font-variant-numeric:tabular-nums}
.enterprise-shell[data-section=erpdirect]{--module-accent:#3c62c3;--module-soft:#edf2ff}.enterprise-shell[data-section=electricity]{--module-accent:#9c6419;--module-soft:#fcf4e7}.enterprise-shell[data-section=explore]{--module-accent:#6751b5;--module-soft:#f2effa}.enterprise-shell[data-section=connection]{--module-accent:#45617c;--module-soft:#edf3f8}
.enterprise-shell .workspace{grid-template-columns:248px minmax(0,1fr)}.enterprise-shell .workspace>main{padding:0 32px;min-width:0;max-width:none;background:radial-gradient(ellipse at 100% 0,#e6effb99,transparent 600px)}
.enterprise-shell .sidebar{background:linear-gradient(165deg,#122b43,#0b1c2e 75%);border:0;padding:30px 18px 20px;box-shadow:8px 0 28px #122b4310;color:#adc2d4}.enterprise-shell .sidebar .brand{color:#f1f7fc;font-size:18px;gap:13px;align-items:center}.enterprise-shell .sidebar .brand small{font-size:9px;letter-spacing:1px;color:#89a6bd;line-height:1.8;margin-top:4px}.enterprise-shell .brand-icon{background:linear-gradient(135deg,#3fbcb1,#087e8c);border:1px solid #ffffff30;border-radius:14px;box-shadow:0 6px 20px #071b2a33;color:white}.enterprise-shell .sidebar .console-nav-search{background:#20394e;border:1px solid #385267;color:#d7e7f3;border-radius:10px;margin:30px 0 22px;padding:0}.enterprise-shell #nav-search{background:transparent;color:#e4f0f9;border:0;padding:12px 14px;font-size:15px;min-height:44px;width:100%}.enterprise-shell #nav-search::placeholder{color:#9ab3c7}.enterprise-shell .sidebar .console-nav-search:focus-within{border-color:#66d1c1;box-shadow:0 0 0 3px #54c5b51c}.enterprise-shell .sidebar nav{margin-top:0;gap:10px}.enterprise-shell .sidebar nav .section-primary{border:1px solid transparent;border-radius:11px;color:#bfd1e0;font-size:17px;font-weight:550;padding:13px 14px;min-height:52px;gap:12px}.enterprise-shell .sidebar nav .section-primary i{color:#88acc5;width:22px}.enterprise-shell .sidebar nav .section-primary:hover{background:#203c53;color:#fff}.enterprise-shell .sidebar nav .is-current-section>.section-primary{background:linear-gradient(100deg,#1e6266,#244254);border-color:#3d777b;color:#edfffb;box-shadow:inset 3px 0 #77dfcc,0 6px 14px #0000000d}.enterprise-shell .sidebar nav .is-current-section>.section-primary i{color:#83e1cd}.enterprise-shell .section-subnav{margin:9px 0 12px 26px;padding-left:12px;border-color:#35526a}.enterprise-shell .sidebar .section-subnav button{color:#a5bfd2;font-size:15px;padding:10px 12px;border-radius:8px;text-align:left;line-height:1.6}.enterprise-shell .sidebar .section-subnav button:hover{background:#1d364b;color:#e9f6fd}.enterprise-shell .sidebar .section-subnav button.active{background:#234358;color:#a3f0dc;border:1px solid #355c70;font-weight:550}.enterprise-shell .sidebar .sidebar-bottom{border-top:1px solid #30495e;padding-top:20px;color:#a1b9cc;font-size:13px;line-height:1.6}.enterprise-shell .sidebar-bottom small{color:#7f9cb4;font-size:11px}.enterprise-shell .sidebar-bottom b{font-size:8px;letter-spacing:1px;line-height:1.5;font-weight:400;color:#7698b3;margin-left:auto}.enterprise-shell .sidebar .nav-close{color:#d2e6f4}.enterprise-shell #nav-search-empty{color:#b9d1e1}
.enterprise-shell .topbar{min-height:108px;padding:22px 0 20px;gap:18px;border-bottom:1px solid #d4e0eb;align-items:center;flex-wrap:wrap;background:transparent}.enterprise-shell .topbar h1{font-size:28px;line-height:1.35;font-weight:650;letter-spacing:.2px;color:#132d46}.enterprise-shell .topbar .eyebrow{font-size:12px;letter-spacing:.4px;color:#768ba0;margin:0 0 6px}.enterprise-shell .header-actions{gap:8px;align-items:center;flex-wrap:wrap}.enterprise-shell .header-actions .header-screen-link{border-radius:8px;padding:9px 13px;background:#152f49;color:#e1f1fa;border:1px solid #29485f;font-size:14px;box-shadow:0 4px 12px #152f4912}.enterprise-shell .header-actions .header-screen-link:hover{background:#214660;color:white}.enterprise-shell .user-badge{font-size:13px;color:#5a7188;border-left:1px solid #d6e0ea;padding-left:12px;margin-left:3px}.enterprise-shell .service-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:14px 0 18px;font-size:12px;color:#6d8297;line-height:1.6}.enterprise-shell .service-strip #source-badge{max-width:100%;white-space:normal;font-size:12px;display:inline-flex;border-radius:6px;padding:5px 9px;overflow-wrap:anywhere}.enterprise-shell .service-strip #backend-state{font-size:12px}.enterprise-shell .service-strip #page-time{display:block;margin-left:auto;font-size:12px;color:#687f94}
.enterprise-shell .module-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 22px;padding:18px 22px;border:1px solid #dae5ee;border-left:3px solid var(--module-accent);border-radius:4px 12px 12px 4px;background:linear-gradient(110deg,var(--module-soft),#ffffffb8)}.enterprise-shell #module-eyebrow{display:block;color:var(--module-accent);font-size:10px;font-weight:650;letter-spacing:2px;margin-bottom:6px}.enterprise-shell #module-description{font-size:15px;line-height:1.7;color:#4b637a;margin:0}.enterprise-shell .module-banner-mark{font-size:9px;letter-spacing:1.5px;color:#8ba0b2;white-space:nowrap}.enterprise-shell #page-content{min-width:0;padding-bottom:22px}.enterprise-shell #page-content>p.intro{margin:0 0 18px}
.enterprise-shell .card,.enterprise-shell .hub-workbench .hub-panel,.enterprise-shell .hub-operations{border:1px solid #dce5ef;background:#fff;border-radius:16px;box-shadow:0 3px 5px #16365403,0 12px 28px #16365405;padding:26px;min-width:0}.enterprise-shell .card{margin-bottom:22px}.enterprise-shell .card-head{gap:16px;margin-bottom:20px;align-items:flex-start}.enterprise-shell .card-head h2{font-size:22px;color:#1d374f;font-weight:650;line-height:1.45;margin-bottom:7px}.enterprise-shell .card-head p,.enterprise-shell .intro,.enterprise-shell .subtle{font-size:14px;line-height:1.8;color:#677c90}.enterprise-shell .card-head>div{min-width:0}.enterprise-shell .card-head .eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--module-accent)}
.enterprise-shell button,.enterprise-shell input,.enterprise-shell select,.enterprise-shell textarea{font-family:inherit}.enterprise-shell button:focus-visible,.enterprise-shell a:focus-visible{outline:3px solid #26a79880;outline-offset:3px}.enterprise-shell .primary{border:1px solid var(--module-accent);background:var(--module-accent);border-radius:9px;box-shadow:0 4px 10px #1c64701a;color:#fff;font-size:15px;min-height:42px;padding:10px 17px;font-weight:550}.enterprise-shell .primary:hover{filter:brightness(.94);box-shadow:0 5px 14px #1c64702b}.enterprise-shell .secondary{background:#fff;border:1px solid #cddae6;border-radius:9px;color:#3a5670;font-size:15px;min-height:42px;padding:9px 15px}.enterprise-shell .secondary:hover{background:#f0f5fb;border-color:#91abbf}.enterprise-shell .danger{border-radius:9px;font-size:15px;min-height:42px}.enterprise-shell .text-button{color:#38667e;font-size:14px;padding:7px 10px;border-radius:7px;min-height:38px}.enterprise-shell .text-button:hover{background:#eef4f8}.enterprise-shell input,.enterprise-shell select,.enterprise-shell textarea{border:1px solid #cbd9e6;background:#fff;border-radius:8px;font-size:16px;color:#25435a;min-height:44px;box-shadow:0 1px 2px #18324b04}.enterprise-shell input:focus,.enterprise-shell select:focus,.enterprise-shell textarea:focus{outline:none;border-color:#359f9f;box-shadow:0 0 0 3px #359f9f19}.enterprise-shell input[type=checkbox],.enterprise-shell input[type=radio]{min-height:0;accent-color:var(--module-accent);box-shadow:none}.enterprise-shell label{font-size:14px;color:#536c81;gap:7px}.enterprise-shell .toolbar{border:1px solid #dce7ef;border-radius:12px;padding:18px;background:#f6f9fc;gap:14px 18px;align-items:end}.enterprise-shell .toolbar label{font-size:13px;color:#5c7488;min-width:0}.enterprise-shell .toolbar button{align-self:end}.enterprise-shell .notice{border-radius:10px;padding:14px 18px;line-height:1.8;font-size:14px}.enterprise-shell .pill{border-radius:6px;font-size:13px;padding:4px 9px;line-height:1.6}.enterprise-shell .pill.good{color:#167567;background:#eaf6f1;border-color:#c5e4d8}
.enterprise-shell .erp-tabs,.enterprise-shell .glass-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:6px;border:1px solid #dce6ee;background:#f2f6fa;border-radius:12px;margin-bottom:20px}.enterprise-shell .erp-tabs button,.enterprise-shell .glass-tabs button{border:1px solid transparent;background:transparent;color:#60788c;border-radius:8px;padding:10px 15px;font-size:15px;min-height:42px;line-height:1.5}.enterprise-shell .erp-tabs button.active,.enterprise-shell .glass-tabs button.active,.enterprise-shell .erp-tabs button[aria-pressed=true],.enterprise-shell .glass-tabs button[aria-pressed=true]{background:#fff;color:var(--module-accent);border-color:#d4e1ec;box-shadow:0 2px 7px #27445c0a;font-weight:600}.enterprise-shell .erp-tabs button:hover,.enterprise-shell .glass-tabs button:hover{background:#e8f0f7;color:#24506c}
.enterprise-shell .table-wrap{border:1px solid #dce5ee;border-radius:12px;background:#fff;max-width:100%;overflow:auto}.enterprise-shell .table-wrap table{width:100%;font-variant-numeric:tabular-nums}.enterprise-shell .table-wrap table th{background:#edf3f8;color:#456078;font-weight:600;font-size:14px;line-height:1.5;padding:14px 16px;border-bottom:1px solid #cddde9}.enterprise-shell .table-wrap table td{padding:15px 16px;font-size:16px;color:#2d465c;border-bottom-color:#e8eef4;line-height:1.7}.enterprise-shell .table-wrap tbody tr:nth-child(even){background:#f9fbfd}.enterprise-shell .table-wrap tbody tr:hover{background:#ecf6f7}.enterprise-shell .table-wrap td small{font-size:13px;color:#71869a;line-height:1.7}.enterprise-shell .table-wrap td button{font-size:13px;min-height:34px}.enterprise-shell .console-table-tools{gap:10px;padding:7px 0 12px;align-items:center}.enterprise-shell .console-table-tools input{background:#f8fafc;min-height:40px;border-radius:8px}.enterprise-shell .console-table-tools button{font-size:13px;min-height:38px;border-radius:8px}.enterprise-shell .console-row-count{font-size:13px;color:#698096}.enterprise-shell .console-columns summary{font-size:13px;color:#526c82}.enterprise-shell .pagination{flex-wrap:wrap;gap:10px;font-size:14px;padding-top:14px}.enterprise-shell .pagination button{border-radius:8px;min-height:38px}.enterprise-shell .filter-chip{background:var(--module-soft);border-color:#ccdfdf;color:var(--module-accent);font-size:13px;min-height:34px}.enterprise-shell[data-density=compact] .table-wrap table td,.enterprise-shell[data-density=compact] .table-wrap table th{font-size:14px;padding-top:9px;padding-bottom:9px}
.enterprise-shell .kpi,.enterprise-shell .console-metric,.enterprise-shell #explore-root .explore-kpis article{border:1px solid #dce6ee;border-radius:13px;background:linear-gradient(135deg,#fff,#f7fafc);box-shadow:0 4px 12px #193b5304;padding:22px;min-width:0}.enterprise-shell .kpi-label,.enterprise-shell .kpi small,.enterprise-shell #explore-root .explore-kpis span{font-size:14px;color:#617b90;line-height:1.7}.enterprise-shell .kpi strong,.enterprise-shell .console-metric strong,.enterprise-shell #explore-root .explore-kpis strong{font-size:34px;color:#1c526c;line-height:1.3;font-weight:600;letter-spacing:-.5px;overflow-wrap:anywhere}.enterprise-shell .analysis-heading,.enterprise-shell .erp-heading,.enterprise-shell .desk-data-heading{border:1px solid #d5e2eb;background:linear-gradient(110deg,#eaf3f7,#f5f8fc);border-radius:14px;padding:24px;margin-bottom:22px}.enterprise-shell .analysis-heading h2,.enterprise-shell .erp-heading h2{font-size:26px;line-height:1.4;color:#25465e}.enterprise-shell .analysis-meta{color:#637f91;font-size:14px;line-height:1.8}.enterprise-shell .distribution-row{padding-top:6px;padding-bottom:6px}.enterprise-shell .distribution-label{font-size:15px}.enterprise-shell .source-card,.enterprise-shell .quality-check,.enterprise-shell .trace-step,.enterprise-shell .quality-summary{border-radius:12px;border-color:#d7e3ec;background:#fafcfe}.enterprise-shell .source-card h3,.enterprise-shell .quality-check h3{color:#234a64}.enterprise-shell .framework-domains button,.enterprise-shell .framework-roadmap>div{border-radius:12px;border-color:#d6e4ee}.enterprise-shell .hub-layer{border-radius:12px;border-color:#dae6ee}.enterprise-shell .layer-code{color:#398ca0}.enterprise-shell .empty{border:1px dashed #c8d8e6;background:#f8fbfd;border-radius:13px;color:#607b90;padding:32px 22px}.enterprise-shell .empty h3{color:#31516a}.enterprise-shell .page-loading{border:1px solid #e0e9f0;border-radius:16px;background:#fff;min-height:280px}.enterprise-shell .loading-ring{border-color:#e1edf2;border-top-color:var(--module-accent)}
.enterprise-shell .hub-workbench{--hub-text:#19334a;--hub-muted:#688195;--hub-line:#dce6ef;--hub-teal:#128f95;--hub-blue:#5577d1}.enterprise-shell .hub-workbench .hub-hero{padding:27px 30px;margin:0 0 26px;border-radius:16px;background:linear-gradient(110deg,#17374f,#20586a);box-shadow:0 10px 30px #17374f15;position:relative;overflow:hidden}.enterprise-shell .hub-workbench .hub-hero:after{content:"";position:absolute;right:-60px;top:-100px;width:340px;height:340px;border:1px solid #ffffff19;border-radius:50%;box-shadow:0 0 0 38px #ffffff04,0 0 0 80px #ffffff03;pointer-events:none}.enterprise-shell .hub-workbench .hub-hero h2{font-size:30px;color:#f6fbff;font-weight:600;letter-spacing:1px;margin:0 0 10px}.enterprise-shell .hub-workbench .hub-hero p{font-size:15px;color:#b5d3de;line-height:1.7}.enterprise-shell .hub-comparison-heading{margin:0 0 20px}.enterprise-shell .hub-comparison-heading h2{font-size:24px;color:#24465f}.enterprise-shell .hub-comparison-heading p{font-size:14px;color:#71879a;line-height:1.8}.enterprise-shell .hub-compare-card{border-radius:13px;border-color:#dbe6ee;border-top:3px solid #2c9c9d;padding:23px;background:linear-gradient(130deg,#fff,#f8fbfd);box-shadow:0 5px 15px #1a3e5504}.enterprise-shell .hub-process-row .hub-compare-card:nth-child(2){border-top-color:#6584d2}.enterprise-shell .hub-process-row .hub-compare-card:nth-child(3){border-top-color:#c79b4c}.enterprise-shell .hub-process-row .hub-compare-card:nth-child(4){border-top-color:#8c79c7}.enterprise-shell .hub-compare-card h3{font-size:16px;font-weight:550;line-height:1.6;color:#5a7387}.enterprise-shell .hub-compare-card>strong{font-size:34px;line-height:1.3;font-weight:600;color:#214961}.enterprise-shell .hub-compare-card p{font-size:14px;color:#768a9b}.enterprise-shell .hub-compare-card>small{font-size:12px;line-height:1.8}.enterprise-shell .hub-compare-card>b{font-size:13px;color:#288579;line-height:1.7}.enterprise-shell .hub-process-row{gap:16px}.enterprise-shell .hub-comparison-kpis{gap:16px}.enterprise-shell .hub-workbench .hub-panel h3{font-size:21px;color:#254861}.enterprise-shell .hub-workbench .hub-panel header p{font-size:14px;color:#74899a;line-height:1.75}.enterprise-shell .hub-workbench .hub-panel>header{margin-bottom:22px;flex-shrink:0}.enterprise-shell .hub-workbench .hub-panel .hub-chart-legend{font-size:14px;gap:12px 20px;line-height:1.7;align-items:flex-start}.enterprise-shell .hub-chart-legend>span{min-width:0;max-width:100%;overflow-wrap:anywhere}.enterprise-shell .hub-workbench .hub-metric{border-radius:13px;background:#fff;box-shadow:0 4px 14px #193b5304;border-color:#dce6ef;padding:24px}.enterprise-shell .hub-workbench .hub-metric strong{color:#214d64;font-weight:600}.enterprise-shell .hub-insight-grid article{background:#edf4f8;border:1px solid #d9e5ee;border-radius:13px;padding:23px}.enterprise-shell .hub-insight-grid span{font-size:11px;letter-spacing:1.2px;color:#6d879b}.enterprise-shell .hub-insight-grid h3{color:#31556e;font-size:18px;line-height:1.6}.enterprise-shell .hub-insight-grid p{font-size:14px;line-height:1.85;color:#607b90}.enterprise-shell .hub-assets-heading{font-size:23px;color:#33576e;margin:30px 0 20px}.enterprise-shell .hub-energy-toggle button{border-radius:8px;padding:8px 13px;background:#fff;border-color:#d1dfe9;font-size:14px;min-height:40px}.enterprise-shell .hub-energy-toggle button[aria-pressed=true]{background:#1a7f88;border-color:#1a7f88;color:#fff}.enterprise-shell .hub-workbench .hub-footnote{font-size:13px;color:#778d9f;line-height:1.8}.enterprise-shell .hub-operations{margin-top:26px}.enterprise-shell .hub-operations>summary{font-size:17px;color:#31546a}
.enterprise-shell #explore-root .explore-filters{gap:18px}.enterprise-shell #explore-root label,.enterprise-shell #explore-root legend{font-size:14px;color:#61798e;line-height:1.7}.enterprise-shell #explore-root input,.enterprise-shell #explore-root select{height:46px;border-radius:8px;border-color:#cbdbe7;background:#fff}.enterprise-shell #explore-root .explore-exact{border:1px solid #d9e5ef;background:#f7f9fc;border-radius:10px;padding:16px}.enterprise-shell #explore-root .explore-exact summary{font-size:14px;color:#5a6f88}.enterprise-shell #explore-root .explore-live{background:#edf5f7;border:1px solid #d0e3e8;border-radius:12px;padding:17px 20px}.enterprise-shell #explore-root .explore-live b,.enterprise-shell #explore-root .explore-live span{font-size:14px;color:#36717e}.enterprise-shell #explore-root .explore-live small{font-size:13px;color:#718999}.enterprise-shell #explore-root .explore-live.is-warning{background:#fff6e9;border-color:#e9d5b6}.enterprise-shell #explore-root .explore-bars{gap:10px}.enterprise-shell #explore-root .explore-bars button{padding:13px 16px;background:#f2f6fb;border:1px solid #e0e9f2;border-radius:9px}.enterprise-shell #explore-root .explore-bars button:hover{background:#eaf1fb;border-color:#c0d4e8}.enterprise-shell #explore-root .explore-provenance{font-size:13px;color:#758b9d;line-height:1.8}.enterprise-shell #explore-root .explore-saved-list span{border-radius:8px}
.enterprise-shell .camera-view{color:#26465e;font-size:16px}.enterprise-shell .camera-view>header{padding:24px 26px;background:linear-gradient(110deg,#152e47,#234f63);color:#e8f5fc;border-radius:14px;margin-bottom:20px}.enterprise-shell .camera-view>header h2{font-size:25px;font-weight:550}.enterprise-shell .camera-view>header p{font-size:14px;line-height:1.8;color:#b5d0de}.enterprise-shell .camera-controls{padding:18px;background:#fff;border:1px solid #dce6ee;border-radius:12px;gap:14px;margin-bottom:15px}.enterprise-shell .camera-controls label{font-size:14px;color:#55748b}.enterprise-shell .camera-view select,.enterprise-shell .camera-view button{border-radius:8px;font-size:14px}.enterprise-shell .camera-tile{border-color:#24465e;border-radius:12px;background:#102b41;box-shadow:0 6px 18px #142e4612}.enterprise-shell .camera-tile-station{font-size:16px;color:#91dcd1;padding:14px 16px 0}.enterprise-shell .camera-tile h3{font-size:15px;padding:10px 16px}.enterprise-shell .camera-tile h3 button,.enterprise-shell .camera-tile h3 select{background:#1c3a50;color:#d5e8f5;border-color:#385970}.enterprise-shell .camera-captured{font-size:13px;color:#a5becf;padding:12px 16px}.enterprise-shell .camera-settings{border-color:#d7e4ed;background:#fff;border-radius:12px;padding:22px}.enterprise-shell .camera-settings summary{font-size:17px;color:#355971}.enterprise-shell .camera-channel-checks label{background:#edf4f8;border:1px solid #dce8ef;border-radius:8px;font-size:14px}.enterprise-shell .camera-station-heading{color:#2c5f72;font-size:23px!important;border-left-color:#2b9c9c}.enterprise-shell .camera-station-message{color:#53808e;font-size:14px}
.enterprise-shell dialog{border:1px solid #cbdbe7;border-radius:18px;box-shadow:0 30px 100px #122d4b40;background:#fff;padding:28px;max-width:min(900px,calc(100vw - 32px));max-height:90dvh;overflow:auto}.enterprise-shell dialog::backdrop{background:#0d233b88;backdrop-filter:blur(5px)}.enterprise-shell .dialog-heading{border-bottom:1px solid #e0e9f0;padding-bottom:18px;margin-bottom:22px;gap:12px;align-items:center;flex-wrap:wrap}.enterprise-shell .dialog-heading h2{color:#24475f;font-size:23px;line-height:1.45;min-width:0;overflow-wrap:anywhere}.enterprise-shell .detail-grid{gap:16px 22px}.enterprise-shell .detail-grid dt{font-size:13px;color:#7a90a3}.enterprise-shell .detail-grid dd{font-size:16px;color:#294b63;line-height:1.8;overflow-wrap:anywhere}.enterprise-shell .notification{background:#eef8f5;color:#226f61;border:1px solid #bcded3;border-radius:12px;box-shadow:0 12px 36px #1b43551a;font-size:15px;line-height:1.75;z-index:100}.enterprise-shell .notification.error{background:#fff1ef;color:#a84740;border-color:#e9c4bf}.enterprise-shell footer{padding:24px 0 28px;border-color:#d9e4ed;color:#8a9eaf;font-size:12px;line-height:1.7}
.enterprise-shell .login-screen{position:relative;max-width:none;min-height:100dvh;margin:0;padding:70px max(6vw,28px);gap:8vw;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);background:radial-gradient(ellipse at 15% 0,#1b566b88,transparent 65%),linear-gradient(145deg,#102b45,#091b2e);overflow:hidden}.enterprise-shell .login-brand{position:relative;z-index:1;max-width:660px}.enterprise-shell .login-brand .brand-icon{width:56px;height:56px;font-size:29px;margin-bottom:36px}.enterprise-shell .login-brand .eyebrow{font-size:11px;letter-spacing:2.6px;color:#89c8cb}.enterprise-shell .login-brand h1{font-size:clamp(36px,3.5vw,58px);line-height:1.4;letter-spacing:2px;color:#f5fbff;font-weight:550;margin:18px 0 24px}.enterprise-shell .login-brand>p:not(.eyebrow){font-size:17px;line-height:1.9;color:#aec7d8;max-width:540px}.enterprise-shell .login-tags{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.enterprise-shell .login-tags span{font-size:13px;color:#bed8e6;border:1px solid #426174;border-radius:6px;padding:7px 12px;background:#ffffff05}.enterprise-shell .login-tags span:before{content:none}.enterprise-shell .login-card{position:relative;z-index:1;max-width:490px;justify-self:center;width:100%;padding:42px;border-radius:20px;background:#fff;border:1px solid #edf3f6;box-shadow:0 30px 90px #00000035}.enterprise-shell .login-card h2{font-size:29px;color:#193b53;margin:15px 0 14px}.enterprise-shell .login-card .eyebrow{font-size:10px;letter-spacing:2px;color:#328c91}.enterprise-shell .login-card label{font-size:15px;margin-top:20px;color:#4d6b80}.enterprise-shell .login-card input{min-height:49px;background:#f7fafc}.enterprise-shell .login-card button{margin:25px 0 20px;min-height:49px;font-size:16px}.enterprise-shell .login-card p{font-size:14px;color:#748c9e;line-height:1.85}.enterprise-shell .login-card small{font-size:12px;color:#8a9faf;line-height:1.8}.enterprise-shell #login-error{color:#b44843}.enterprise-glass-art{position:relative;width:300px;height:110px;margin-top:30px;pointer-events:none}.enterprise-glass-art i{position:absolute;left:20px;top:8px;width:165px;height:65px;transform:skewY(-17deg) rotate(9deg);border:1px solid #7fcdcc66;border-radius:6px;background:linear-gradient(140deg,#77d6d71a,#5b97c00a);box-shadow:5px 10px 20px #0000000a}.enterprise-glass-art i:nth-child(2){left:60px;top:22px;border-color:#a8deec55}.enterprise-glass-art i:nth-child(3){left:100px;top:36px;border-color:#5bc4bc66}.enterprise-glass-art span{position:absolute;bottom:-5px;left:20px;font-size:8px;letter-spacing:3px;color:#769dac}
@media(min-width:1800px){.enterprise-shell .workspace>main{padding:0 44px}.enterprise-shell .workspace{grid-template-columns:264px minmax(0,1fr)}}
@media(max-width:1250px) and (min-width:901px){.enterprise-shell .workspace{grid-template-columns:220px minmax(0,1fr)}.enterprise-shell .workspace>main{padding:0 22px}.enterprise-shell .sidebar{padding:25px 12px}.enterprise-shell .sidebar .brand{font-size:16px}.enterprise-shell .sidebar .brand small{font-size:8px;letter-spacing:.4px}.enterprise-shell .sidebar nav .section-primary{font-size:16px;padding:12px}.enterprise-shell .header-actions{gap:6px}.enterprise-shell .topbar h1{font-size:25px}.enterprise-shell .module-banner-mark{display:none}.enterprise-shell .card,.enterprise-shell .hub-workbench .hub-panel{padding:22px}.enterprise-shell .hub-compare-card{padding:19px}.enterprise-shell .hub-compare-card>strong{font-size:30px}}
@media(max-width:900px){.enterprise-shell .workspace{display:block}.enterprise-shell .workspace>main{padding:0 20px}.enterprise-shell .sidebar{width:min(300px,calc(100vw - 48px));padding:26px 18px}.enterprise-shell .sidebar .brand>span{display:block}.enterprise-shell .sidebar .brand{justify-content:flex-start}.enterprise-shell .sidebar nav button{flex-direction:row;justify-content:flex-start;text-align:left}.enterprise-shell .sidebar .sidebar-bottom{display:flex}.enterprise-shell .topbar{min-height:0;padding:20px 0;gap:14px}.enterprise-shell .topbar h1{font-size:25px}.enterprise-shell .header-actions{justify-content:flex-start;width:100%;gap:8px}.enterprise-shell .service-strip{padding:12px 0 16px;gap:8px 13px}.enterprise-shell .module-banner-mark{display:none}.enterprise-shell .module-banner{padding:16px 18px;margin-bottom:18px}.enterprise-shell .login-screen{grid-template-columns:1fr;padding:40px 24px;gap:30px}.enterprise-shell .login-brand{max-width:600px;margin:auto;width:100%}.enterprise-shell .login-brand h1{font-size:36px}.enterprise-shell .login-brand>p:not(.eyebrow){font-size:15px}.enterprise-shell .login-brand .brand-icon{margin-bottom:20px}.enterprise-shell .login-card{max-width:600px}.enterprise-glass-art{display:none}}
@media(max-width:620px){.enterprise-shell .workspace>main{padding:0 14px}.enterprise-shell .topbar{padding:17px 0}.enterprise-shell .topbar h1{font-size:24px}.enterprise-shell .topbar .eyebrow{font-size:11px}.enterprise-shell .header-actions .secondary,.enterprise-shell .header-actions .text-button,.enterprise-shell .header-actions .header-screen-link{font-size:13px;padding:8px 10px;min-height:38px}.enterprise-shell .header-actions #density-toggle{display:none}.enterprise-shell .service-strip{font-size:11px}.enterprise-shell .service-strip #page-time{margin-left:0;flex-basis:100%;font-size:11px}.enterprise-shell .service-strip #source-badge{font-size:11px}.enterprise-shell .module-banner{padding:14px 15px;border-radius:4px 10px 10px 4px}.enterprise-shell #module-eyebrow{font-size:9px;letter-spacing:1.5px}.enterprise-shell #module-description{font-size:13px;line-height:1.8}.enterprise-shell .card,.enterprise-shell .hub-workbench .hub-panel,.enterprise-shell .hub-operations{padding:19px 15px;border-radius:12px;margin-bottom:18px}.enterprise-shell .card-head{flex-wrap:wrap;gap:10px;margin-bottom:16px}.enterprise-shell .card-head h2{font-size:21px}.enterprise-shell .card-head p,.enterprise-shell .notice,.enterprise-shell .subtle{font-size:14px}.enterprise-shell .toolbar{padding:14px;gap:12px}.enterprise-shell .toolbar label{font-size:13px;min-width:0}.enterprise-shell .toolbar input,.enterprise-shell .toolbar select{font-size:16px;min-height:44px}.enterprise-shell .table-wrap table td{font-size:15px;padding:13px 12px}.enterprise-shell .table-wrap table th{font-size:14px;padding:12px}.enterprise-shell .table-wrap td small{font-size:12px}.enterprise-shell .console-table-tools{gap:8px;flex-wrap:wrap}.enterprise-shell .console-table-tools input{max-width:100%;min-width:0}.enterprise-shell .console-table-tools button{font-size:12px;padding:7px 10px}.enterprise-shell .erp-tabs button,.enterprise-shell .glass-tabs button{font-size:14px;padding:9px 11px}.enterprise-shell .erp-tabs,.enterprise-shell .glass-tabs{padding:5px;gap:5px}.enterprise-shell .kpi,.enterprise-shell .console-metric{padding:17px 14px}.enterprise-shell .kpi strong,.enterprise-shell .console-metric strong{font-size:29px}.enterprise-shell .analysis-heading,.enterprise-shell .erp-heading{padding:18px}.enterprise-shell .analysis-heading h2,.enterprise-shell .erp-heading h2{font-size:24px}.enterprise-shell .hub-workbench .hub-hero{padding:24px 22px;border-radius:13px;margin-bottom:22px}.enterprise-shell .hub-workbench .hub-hero h2{font-size:27px}.enterprise-shell .hub-workbench .hub-hero p{font-size:14px;max-width:95%}.enterprise-shell .hub-comparison-heading h2{font-size:22px}.enterprise-shell .hub-comparison-heading p{font-size:13px;line-height:1.8}.enterprise-shell .hub-compare-card{padding:20px 18px}.enterprise-shell .hub-compare-card>strong{font-size:30px}.enterprise-shell .hub-workbench .hub-panel h3{font-size:21px}.enterprise-shell .hub-workbench .hub-metric{padding:20px 16px}.enterprise-shell .hub-workbench .hub-metric strong{font-size:28px}.enterprise-shell .hub-workbench .hub-metric-label{font-size:14px}.enterprise-shell .hub-workbench .hub-metric small{font-size:12px}.enterprise-shell .hub-insight-grid article{padding:21px}.enterprise-shell .hub-assets-heading{font-size:22px}.enterprise-shell .hub-energy-toggle{flex-wrap:wrap}.enterprise-shell .hub-energy-toggle button{font-size:14px;min-height:42px}.enterprise-shell #explore-root .explore-kpis article{padding:17px 14px}.enterprise-shell #explore-root .explore-kpis strong{font-size:27px}.enterprise-shell #explore-root .explore-bars button{font-size:14px;padding:11px 10px;gap:7px}.enterprise-shell #explore-root .explore-bars b{font-size:14px}.enterprise-shell #explore-root .explore-live{padding:15px}.enterprise-shell #explore-root .explore-filters{gap:14px}.enterprise-shell .camera-view>header{padding:20px;border-radius:12px}.enterprise-shell .camera-view>header h2{font-size:23px}.enterprise-shell .camera-view>header p{font-size:13px}.enterprise-shell .camera-controls{padding:14px;gap:10px}.enterprise-shell .camera-controls label{font-size:13px;max-width:100%}.enterprise-shell .camera-settings{padding:17px}.enterprise-shell .camera-settings summary{font-size:16px}.enterprise-shell .camera-channel-checks label{font-size:13px}.enterprise-shell dialog{padding:21px 17px;border-radius:14px}.enterprise-shell .dialog-heading h2{font-size:21px}.enterprise-shell .dialog-heading{gap:8px}.enterprise-shell .notification{font-size:14px;padding:14px 18px}.enterprise-shell .login-screen{padding:30px 20px}.enterprise-shell .login-brand h1{font-size:32px;line-height:1.45}.enterprise-shell .login-brand .eyebrow{font-size:9px;letter-spacing:1.6px}.enterprise-shell .login-tags{gap:8px;margin-top:20px}.enterprise-shell .login-tags span{font-size:11px;padding:5px 8px}.enterprise-shell .login-card{padding:28px 22px;border-radius:16px}.enterprise-shell .login-card h2{font-size:27px}.enterprise-shell footer{font-size:11px;gap:8px}}
@media(prefers-reduced-motion:reduce){.enterprise-shell *{scroll-behavior:auto}}
.enterprise-shell .service-strip #read-only-note{display:inline;color:#3c6d78}

.enterprise-shell .business-details{margin:30px 0;min-width:0}.enterprise-shell .business-details-heading{margin:0 0 20px}.enterprise-shell .business-details-heading h2{font-size:26px;margin:4px 0;color:#244a63}.enterprise-shell .business-details-heading p{font-size:15px;color:#607a8c}.enterprise-shell .detail-feed-status{color:#286b78;font-size:14px;margin:14px 0}.enterprise-shell .detail-feed-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}.enterprise-shell .detail-feed-card h3{font-size:22px;margin:5px 0;color:#22465e}.enterprise-shell .detail-feed-card header p{font-size:14px;color:#688296;margin:6px 0}.enterprise-shell .detail-feed-source{font-size:12px;color:#38848e;letter-spacing:.5px}.enterprise-shell .detail-feed-card footer{padding:14px 0 0;margin-top:12px;font-size:13px;flex-wrap:wrap}.enterprise-shell .detail-feed-card footer details{max-width:650px;color:#607b8e}.enterprise-shell .detail-feed-card footer p{line-height:1.8}.enterprise-shell .detail-feed-card td{max-width:260px}.enterprise-shell .detail-feed-empty,.enterprise-shell .hub-secondary-summary,.enterprise-shell .hub-secondary-panel{padding:16px 20px;border:1px solid #dbe6ee;border-radius:10px;background:#f7fafc;margin:0 0 22px;color:#547386;font-size:15px;min-width:0}.enterprise-shell .hub-secondary-summary summary,.enterprise-shell .hub-secondary-panel summary,.enterprise-shell .detail-feed-empty summary{cursor:pointer}.enterprise-shell .hub-secondary-summary[open]>.hub-kpi-grid{margin-top:20px}.enterprise-shell .hub-secondary-panel[open]>.hub-panel{margin-top:16px}.enterprise-shell .hub-secondary-panel:not([open]){align-self:start}.enterprise-shell .detail-feed-technical{border:1px solid #dce7ed;border-radius:10px;padding:16px;margin:22px 0}.enterprise-shell .detail-feed-technical[open] summary{margin-bottom:20px}
@media(max-width:620px){.enterprise-shell .business-details-heading h2{font-size:23px}.enterprise-shell .detail-feed-card>header{gap:10px}.enterprise-shell .detail-feed-card h3{font-size:21px}.enterprise-shell .business-details .toolbar label{flex-basis:130px}.enterprise-shell .business-details .toolbar label:first-child{flex-basis:100%}.enterprise-shell .detail-feed-card footer{font-size:12px}.enterprise-shell .hub-secondary-summary,.enterprise-shell .hub-secondary-panel{padding:15px}}
.enterprise-shell .source-explanation{font-size:13px;color:#657f91;margin-top:9px}.enterprise-shell .source-explanation summary{cursor:pointer}.enterprise-shell .source-explanation p{max-width:900px;margin:12px 0 0;line-height:1.8}

.enterprise-shell[data-view=orders] .module-banner{display:none}.enterprise-shell .order-journey{min-width:0}.enterprise-shell .journey-status{font-size:13px;color:#527487;min-height:26px;margin:8px 0}.enterprise-shell .journey-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin:0 0 20px}.enterprise-shell .journey-heading h2{font-size:26px;margin:6px 0;color:#21435b;overflow-wrap:anywhere}.enterprise-shell .journey-heading p{font-size:14px;color:#627e92;margin:5px 0}.enterprise-shell .journey-heading .actions{margin:0}.enterprise-shell .journey-list-summary{padding:16px 20px;background:#eaf4f6;border:1px solid #cce2e7;border-radius:10px;font-size:16px;color:#2b586d;margin:18px 0}.enterprise-shell .journey-list-summary>small{display:block;font-size:13px;color:#617e90;margin-top:8px}.enterprise-shell .journey-body>.table-wrap{max-height:65vh}.enterprise-shell .journey-body table small{display:block;font-size:12px;white-space:normal;max-width:250px;line-height:1.6}.enterprise-shell .journey-body .table-wrap th{position:sticky;top:0;z-index:1}.enterprise-shell .journey-body td:first-child{overflow:visible}.enterprise-shell .journey-ratio{display:flex;align-items:center;gap:10px;min-width:140px}.enterprise-shell .journey-ratio progress{width:85px;height:8px;accent-color:#168b95}.enterprise-shell .journey-ratio b{font-size:14px;font-weight:550}.enterprise-shell .journey-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.enterprise-shell .journey-kpis article{min-width:0;border:1px solid #d6e4ec;border-top:3px solid #2795a2;background:#fff;padding:20px;border-radius:10px}.enterprise-shell .journey-kpis article:nth-child(2){border-top-color:#4d70cb}.enterprise-shell .journey-kpis article:nth-child(3){border-top-color:#c59a46}.enterprise-shell .journey-kpis article:nth-child(4){border-top-color:#43a581}.enterprise-shell .journey-kpis span{display:block;font-size:14px;color:#557286}.enterprise-shell .journey-kpis strong{display:block;font-size:30px;font-weight:600;color:#204b64;line-height:1.35;margin-top:9px;overflow-wrap:anywhere}.enterprise-shell .journey-kpis strong small{font-size:12px;font-weight:400;display:block;line-height:1.7;margin-top:8px}.enterprise-shell .journey-warning{color:#a9681c!important}.enterprise-shell .journey-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #cbdde8;background:#edf4f9;border-radius:12px;margin:22px 0;overflow:hidden}.enterprise-shell .journey-steps button{display:flex;justify-content:center;align-items:center;gap:10px;border:0;border-right:1px solid #ccdde7;border-radius:0;background:transparent;min-width:0;font-size:16px;color:#315b77;padding:18px 12px}.enterprise-shell .journey-steps button:last-child{border-right:0}.enterprise-shell .journey-steps button:hover{background:#dcebf2}.enterprise-shell .journey-steps i{font-size:12px;font-style:normal;color:#4f879d;letter-spacing:1px}.enterprise-shell .journey-scope{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 18px;border-left:3px solid #2b95a4;background:#eaf4f7;border-radius:5px;margin:0 0 20px;font-size:14px;color:#45697c}.enterprise-shell .journey-scope button{margin-left:auto}.enterprise-shell .journey-panel>header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.enterprise-shell .journey-panel h3{font-size:21px;margin:0;color:#21475f}.enterprise-shell .journey-panel .table-wrap{max-height:420px}.enterprise-shell .journey-route{display:block;white-space:normal;min-width:210px;max-width:440px;line-height:1.9}.enterprise-shell .journey-empty{font-size:14px;color:#6a8395;padding:20px;background:#f5f8fb;border:1px dashed #ccdce8;border-radius:9px}.enterprise-shell .journey-event-actions{padding:0 0 18px}.enterprise-shell .hub-order-entry{display:inline-block;border:1px solid #83c6ce66;border-radius:8px;padding:12px 18px;background:#ffffff12;color:#e4ffff;font-size:15px;white-space:nowrap;text-decoration:none;position:relative;z-index:1}.enterprise-shell .hub-order-entry:hover{background:#ffffff25}
@media(max-width:1150px){.enterprise-shell .journey-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.enterprise-shell .journey-steps button{font-size:14px;gap:7px;padding:15px 9px}}
@media(max-width:620px){.enterprise-shell .journey-heading h2{font-size:23px}.enterprise-shell .journey-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.enterprise-shell .journey-kpis article{padding:16px}.enterprise-shell .journey-kpis strong{font-size:27px}.enterprise-shell .journey-steps{display:flex;overflow-x:auto}.enterprise-shell .journey-steps button{flex:0 0 112px}.enterprise-shell .journey-scope{padding:13px}.enterprise-shell .journey-list-summary{font-size:14px}.enterprise-shell .journey-panel h3{font-size:20px}.enterprise-shell .hub-order-entry{margin-top:16px;font-size:14px}.enterprise-shell .journey-panel .table-wrap{max-height:500px}}

/* Home workspace: business hierarchy, readable comparisons, light surfaces. */
.enterprise-shell[data-section=overview] .module-banner{display:none}
.enterprise-shell[data-section=overview] .workspace>main{background:#f3f6fa}
.enterprise-shell[data-section=overview] .hub-workbench{--hub-text:#182e46;--hub-muted:#526a80;--hub-line:#dbe4ee;--hub-grid:#e6edf4}
.enterprise-shell[data-section=overview] .hub-hero{padding:22px 24px;align-items:center;border:1px solid #dbe4ee;margin-bottom:24px;background:#fff;box-shadow:none;border-radius:12px;min-height:0}
.enterprise-shell[data-section=overview] .hub-hero:after{display:none}
.enterprise-shell[data-section=overview] .hub-hero h2{font-size:30px;letter-spacing:0;margin:8px 0 10px;color:#18334d}
.enterprise-shell[data-section=overview] .hub-hero p{font-size:16px;line-height:1.8;color:#526a80}
.enterprise-shell[data-section=overview] .hub-eyebrow{display:block;font-size:13px;letter-spacing:2px;color:#087f87}
.hub-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.enterprise-shell[data-section=overview] .hub-hero-actions a{padding:12px 16px;border:1px solid #cddce6;border-radius:9px;background:#fff;font-size:15px;white-space:nowrap;text-decoration:none;color:#24485e}
.enterprise-shell[data-section=overview] .hub-hero-actions .hub-order-entry{background:#087f87;color:white;border-color:#087f87}
.enterprise-shell[data-section=overview] .hub-comparison-heading{background:#fff;border:1px solid #dbe4ee;border-radius:12px;padding:20px 24px;gap:20px;align-items:center;margin:0 0 24px;box-shadow:none}
.enterprise-shell[data-section=overview] .hub-comparison-heading h2{font-size:23px;margin:0 0 8px}
.enterprise-shell[data-section=overview] .hub-comparison-heading p{font-size:14px;line-height:1.8;margin:0;color:#526a80}
.enterprise-shell[data-section=overview] .hub-energy-toggle{gap:6px;flex-wrap:wrap}
.enterprise-shell[data-section=overview] .hub-energy-toggle button{font-size:14px;min-height:40px;padding:8px 13px;border:1px solid #ccdbe5;border-radius:7px;background:#fff;color:#385469}
.enterprise-shell[data-section=overview] .hub-energy-toggle button[aria-pressed=true]{background:#087f87;color:#fff;border-color:#087f87}
.hub-section-heading{display:flex;gap:13px;align-items:center;margin:28px 0 16px;min-width:0}
.hub-section-heading>span{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:10px;background:#dcefed;color:#08766f;font-size:14px;font-weight:700}
.hub-section-heading h2{font-size:22px;margin:0 0 3px;line-height:1.45;color:#18334d}
.hub-section-heading p{font-size:14px;margin:0;color:#526a80;line-height:1.7}
.enterprise-shell[data-section=overview] .hub-comparison-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.enterprise-shell[data-section=overview] .hub-compare-card{background:#fff;border:1px solid #dbe4ee;border-top:3px solid #0b8b89;border-radius:12px;padding:22px;min-width:0;box-shadow:0 3px 12px #233c5405}
.enterprise-shell[data-section=overview] .hub-compare-card h3{font-size:17px;color:#3e5870;margin:0 0 16px;font-weight:600}
.enterprise-shell[data-section=overview] .hub-compare-card>strong{font-size:34px;line-height:1.3;letter-spacing:-.6px;display:block;overflow-wrap:anywhere;color:#18334d}
.enterprise-shell[data-section=overview] .hub-compare-card>strong small{font-size:14px;font-weight:400;letter-spacing:0;display:inline}
.enterprise-shell[data-section=overview] .hub-compare-card p,.enterprise-shell[data-section=overview] .hub-compare-card>b,.enterprise-shell[data-section=overview] .hub-compare-card>small{font-size:13px;line-height:1.75;display:block;margin:10px 0 0;white-space:normal;overflow-wrap:anywhere}
.enterprise-shell[data-section=overview] .hub-compare-card>b{font-weight:500;color:#326b75}
.enterprise-shell[data-section=overview] .hub-process-row{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:14px;overflow-x:auto;margin-bottom:20px;padding:2px 0 12px;scrollbar-width:thin}
.enterprise-shell[data-section=overview] .hub-process-row .hub-compare-card:nth-child(2){border-top-color:#5479d5}
.enterprise-shell[data-section=overview] .hub-process-row .hub-compare-card:nth-child(3){border-top-color:#b68b35}
.enterprise-shell[data-section=overview] .hub-process-row .hub-compare-card:nth-child(4){border-top-color:#8970be}
.enterprise-shell[data-section=overview] .hub-comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}
.enterprise-shell[data-section=overview] .hub-panel{padding:24px;border-radius:12px;box-shadow:0 2px 8px #18334d04}
.enterprise-shell[data-section=overview] .hub-panel h3{font-size:19px;line-height:1.5;margin-bottom:7px}
.enterprise-shell[data-section=overview] .hub-panel header p,.enterprise-shell[data-section=overview] .hub-footnote{font-size:13px;line-height:1.8}
.enterprise-shell[data-section=overview] .hub-more{font-size:13px}
.enterprise-shell[data-section=overview] .hub-chart-legend{font-size:14px;gap:10px 16px;line-height:1.6}
.enterprise-shell[data-section=overview] .hub-line-chart{height:280px;min-height:250px}
.enterprise-shell[data-section=overview] .hub-comparison-columns{height:300px;width:100%;display:block}
.enterprise-shell[data-section=overview] .hub-axis{font-size:12px}
.enterprise-shell[data-section=overview] .hub-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 14px}
.enterprise-shell[data-section=overview] .hub-insight-grid article{background:#eaf1f7;border:1px solid #dbe5ee;border-radius:10px;padding:18px 20px;box-shadow:none}
.enterprise-shell[data-section=overview] .hub-insight-grid span{font-size:12px;color:#496d89;letter-spacing:1px}
.enterprise-shell[data-section=overview] .hub-insight-grid h3{font-size:16px;margin:8px 0;line-height:1.6}
.enterprise-shell[data-section=overview] .hub-insight-grid p{font-size:14px;line-height:1.8;margin:0;color:#526a80}
.enterprise-shell[data-section=overview] .hub-secondary-summary{margin:22px 0;padding:16px 20px;border:1px solid #dbe4ee;background:#fff;border-radius:10px}
.enterprise-shell[data-section=overview] .hub-secondary-summary>summary{font-size:15px;color:#496176;cursor:pointer}
.enterprise-shell[data-section=overview] .hub-secondary-summary[open] .hub-kpi-grid{margin-top:18px}
.enterprise-shell[data-section=overview] .hub-secondary-panel{border-radius:10px;background:#fff;border:1px solid #dbe4ee;padding:16px;min-width:0}
.enterprise-shell[data-section=overview] .hub-secondary-panel>summary{font-size:15px;cursor:pointer}
@media(max-width:1200px){.enterprise-shell[data-section=overview] .hub-hero{align-items:flex-start;flex-direction:column}.enterprise-shell[data-section=overview] .hub-compare-card>strong{font-size:29px}.enterprise-shell[data-section=overview] .hub-insight-grid{grid-template-columns:1fr}.enterprise-shell[data-section=overview] .hub-insight-grid article{padding:16px 20px}}
@media(max-width:760px){.enterprise-shell[data-section=overview] .hub-comparison-kpis,.enterprise-shell[data-section=overview] .hub-comparison-grid{grid-template-columns:1fr}.enterprise-shell[data-section=overview] .hub-comparison-heading{padding:18px;align-items:flex-start;flex-direction:column}.enterprise-shell[data-section=overview] .hub-hero h2{font-size:25px}.enterprise-shell[data-section=overview] .hub-hero p{font-size:14px}.enterprise-shell[data-section=overview] .hub-panel{padding:18px}.hub-section-heading h2{font-size:20px}.enterprise-shell[data-section=overview] .hub-line-chart{height:240px;min-height:220px}.enterprise-shell[data-section=overview] .hub-comparison-columns{height:270px}.enterprise-shell[data-section=overview] .hub-axis{font-size:11px}}
.enterprise-shell[data-section=overview] .hub-process-row{grid-template-columns:repeat(6,minmax(235px,1fr))}
.enterprise-shell[data-section=overview] .hub-process-row .hub-compare-card:nth-child(5){border-top-color:#cd648d}
.enterprise-shell[data-section=overview] .hub-process-row .hub-compare-card:nth-child(6){border-top-color:#499143}
.enterprise-shell[data-section=overview] .hub-business-charts .hub-comparison-columns{min-width:560px}
.enterprise-shell[data-section=overview] .hub-business-charts .hub-panel{overflow-x:auto}

/* Joint reporting: generous spacing, numeric alignment and explicit review state. */
.enterprise-shell .hub-reconciliation{margin:18px 0 28px;border:1px solid #c9dce5;border-top:4px solid #168879;background:#fff;box-shadow:0 6px 24px #193d5410;border-radius:14px;padding:24px;min-width:0}
.enterprise-shell .hub-reconciliation>header h3{font-size:24px;margin:0 0 8px;color:#163f4c}
.enterprise-shell .hub-reconciliation>header p{font-size:16px;color:#5a707d;line-height:1.7;margin:0}
.hub-reconcile-legend{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;margin:20px 0;color:#52707e;font-size:16px}.hub-reconcile-legend a{color:#096f66;text-decoration:none;font-weight:600}.hub-reconcile-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#169782;margin-right:8px}
.hub-reconciliation .production-screen-table{overflow-x:auto;border:1px solid #dce7ec;border-radius:10px}.hub-reconciliation table{width:100%;border-collapse:collapse;min-width:700px;font-size:17px;font-variant-numeric:tabular-nums}.hub-reconciliation th{padding:16px;background:#eef5f8;color:#456371;font-weight:600;text-align:right;white-space:nowrap}.hub-reconciliation td{padding:17px 16px;border-top:1px solid #e3ecef;text-align:right;white-space:nowrap;color:#32515f}.hub-reconciliation th:first-child,.hub-reconciliation td:first-child{text-align:left}.hub-reconciliation th:last-child,.hub-reconciliation td:last-child{text-align:center}.hub-reconciliation tbody tr:nth-child(even){background:#f8fbfc}.hub-reconciliation tbody tr:hover{background:#eff8f6}.hub-reconciled-quantity{font-size:24px;color:#125e52}.hub-reconcile-badge{display:inline-block;padding:6px 10px;font-size:15px;line-height:1.4;border-radius:6px}.hub-reconcile-badge.is-review{background:#fff1d7;color:#925900}.hub-reconcile-badge.is-checked{background:#e1f4ec;color:#17664d}.hub-reconcile-badge.is-empty{background:#edf1f4;color:#617380}.hub-reconcile-notes{margin-top:14px;border-top:1px solid #d9e5eb;padding-top:14px}.hub-reconcile-notes summary{font-size:17px;font-weight:600;color:#3f6171;cursor:pointer}.hub-reconcile-notes>p{font-size:16px;line-height:1.8}.hub-reconciliation .hub-footnote{font-size:15px;line-height:1.8;margin:12px 0}
@media(max-width:700px){.enterprise-shell .hub-reconciliation{padding:16px;margin:14px 0 24px}.enterprise-shell .hub-reconciliation>header h3{font-size:21px}.hub-reconciliation th,.hub-reconciliation td{padding:13px 12px}.hub-reconciliation th:first-child,.hub-reconciliation td:first-child{position:sticky;left:0;background:#f3f8fa;z-index:1;box-shadow:2px 0 5px #28445210}.hub-reconcile-legend{gap:12px;font-size:15px}.hub-auto-refresh{padding:12px}.hub-auto-refresh>span{font-size:15px}}
.enterprise-shell .hub-auto-refresh{padding:12px 16px;margin:8px 0 16px;gap:12px}.enterprise-shell .hub-auto-refresh label{flex-direction:row;font-size:16px;margin:0;white-space:nowrap}.enterprise-shell .hub-auto-refresh select{min-width:150px}.enterprise-shell .hub-auto-refresh button{padding:10px 16px}.enterprise-shell .hub-auto-refresh>span{font-size:15px}.enterprise-shell .hub-hero{padding:20px 24px;min-height:0}.enterprise-shell .hub-hero h2{font-size:25px;margin:7px 0}.enterprise-shell .hub-hero p{margin:7px 0 0;font-size:16px}.enterprise-shell .hub-reconciliation>header p{font-size:16px}.enterprise-shell .hub-reconciliation th{font-size:16px}.enterprise-shell .hub-reconciliation td{font-size:17px}
@media(max-width:700px){.enterprise-shell .hub-auto-refresh label{flex-wrap:wrap;gap:8px}.enterprise-shell .hub-auto-refresh select{min-width:160px}.enterprise-shell .hub-auto-refresh>span{line-height:1.6}.enterprise-shell .hub-hero{padding:18px}.enterprise-shell .hub-hero h2{font-size:22px}.enterprise-shell .hub-hero-actions{gap:8px}.enterprise-shell .hub-hero-actions a{padding:10px;font-size:15px}}

.order-total-panel{background:#fff;border:1px solid #ccdfe7;border-radius:12px;padding:22px;margin:18px 0 24px;min-width:0}.order-total-panel>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.order-total-panel h3{font-size:23px;color:#173e50;margin:0 0 8px}.order-total-panel header p{font-size:16px;color:#587181;line-height:1.6;margin:0}.order-total-panel header>span{background:#e3f3ef;color:#236554;padding:7px 12px;border-radius:6px;font-size:15px}.order-total-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.order-total-grid article{background:#f3f8fa;border:1px solid #e0e9ee;border-radius:10px;padding:18px;min-width:0}.order-total-grid article:first-child{background:#eaf6f1;border-color:#c8e4d7}.order-total-grid article>span{font-size:17px;color:#355867;display:block}.order-total-grid strong{display:block;font-size:29px;color:#104e51;font-variant-numeric:tabular-nums;line-height:1.5;margin:10px 0;overflow-wrap:anywhere}.order-total-grid article>b{font-size:15px;font-weight:500;color:#536e7c}.order-total-grid small{display:block;font-size:14px;line-height:1.7;margin-top:9px;color:#607786}.order-total-basis{font-size:14px;color:#617887;line-height:1.8;margin:16px 0 0}
@media(max-width:1100px){.order-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.order-total-panel{padding:16px}.order-total-grid{gap:10px}.order-total-grid article{padding:12px}.order-total-grid strong{font-size:23px}.order-total-grid article>span{font-size:16px}.order-total-panel h3{font-size:21px}}
/* Reference-led business UI: shared hierarchy, neutral surfaces, readable data. */
body.enterprise-shell{--bg:#f4f6f9;--panel:#fff;--line:#e1e6ed;--text:#24344b;--muted:#64748b;--accent:#2463d4;--blue:#2463d4;--module-accent:#2463d4;--module-soft:#eef4ff;--radius:10px;background:var(--bg);color:var(--text)}
.enterprise-shell .workspace{grid-template-columns:224px minmax(0,1fr)}
.enterprise-shell .workspace>main{padding:0 28px;background:var(--bg)}
.enterprise-shell .sidebar{background:#fff;color:#526379;border-right:1px solid #e1e6ed;box-shadow:none;padding:24px 14px 18px}
.enterprise-shell .sidebar .brand{color:#192e49;font-size:19px;gap:10px}.enterprise-shell .sidebar .brand small{color:#748296;font-size:10px;letter-spacing:.2px}
.enterprise-shell .brand-icon{background:#2463d4;border-radius:10px;box-shadow:none;border:0}
.enterprise-shell .sidebar .console-nav-search{background:#f5f7fa;border-color:#e1e6ed;margin:24px 0 18px;border-radius:8px}
.enterprise-shell #nav-search{color:#34445c;font-size:16px}.enterprise-shell #nav-search::placeholder{color:#6a7b90}
.enterprise-shell .sidebar nav{gap:6px}.enterprise-shell .sidebar nav .section-primary{color:#46566e;padding:12px;min-height:48px;border-radius:8px;font-size:17px}
.enterprise-shell .sidebar nav .section-primary i{color:#71839a}.enterprise-shell .sidebar nav .section-primary:hover{background:#f2f5fa;color:#1d56b8}
.enterprise-shell .sidebar nav .is-current-section>.section-primary{background:#eaf1ff;border-color:transparent;color:#205cc4;box-shadow:inset 3px 0 #2463d4}
.enterprise-shell .sidebar nav .is-current-section>.section-primary i{color:#2463d4}
.enterprise-shell .section-subnav{border-color:#dbe4f0;margin:7px 0 10px 22px;padding-left:10px}
.enterprise-shell .sidebar .section-subnav button{color:#586a81;font-size:15px;padding:9px 10px}.enterprise-shell .sidebar .section-subnav button:hover{background:#f1f5fb;color:#205cc4}
.enterprise-shell .sidebar .section-subnav button.active{background:#edf3ff;color:#205cc4;border-color:transparent}
.enterprise-shell .sidebar .sidebar-bottom{border-color:#e3e8ef;color:#5c7085}.enterprise-shell .sidebar-bottom small,.enterprise-shell .sidebar-bottom b{color:#748296}.enterprise-shell .sidebar .nav-close,.enterprise-shell #nav-search-empty{color:#46566e}
.enterprise-shell .topbar{min-height:86px;padding:16px 0;border-color:#e1e6ed}.enterprise-shell .topbar h1{font-size:26px;color:#1d304c}.enterprise-shell .topbar .eyebrow{margin-bottom:4px}
.enterprise-shell .header-actions .header-screen-link{background:#2463d4;border-color:#2463d4;color:#fff;box-shadow:none}.enterprise-shell .header-actions .header-screen-link:hover{background:#194faf}
.enterprise-shell .service-strip{padding:10px 0 14px;gap:8px 14px}.enterprise-shell .module-banner{background:#fff;border-color:#e1e6ed;border-left:3px solid #2463d4;border-radius:8px;padding:16px 20px}
.enterprise-shell .module-banner-mark,.enterprise-shell #module-eyebrow{display:none}
.enterprise-shell .card,.enterprise-shell .hub-workbench .hub-panel,.enterprise-shell .hub-operations{border-color:#e1e6ed;border-radius:10px;box-shadow:0 2px 5px #233b5704;background:#fff}
.enterprise-shell button,.enterprise-shell input,.enterprise-shell select{border-radius:7px}
.enterprise-shell :is(button,a,input,select,textarea):focus-visible{outline:3px solid #6d9bef;outline-offset:3px}
.enterprise-shell table{font-variant-numeric:tabular-nums}.enterprise-shell thead th{background:#f3f6fa;color:#44566e}.enterprise-shell tbody td{border-color:#edf0f4}.enterprise-shell tbody tr:hover{background:#f0f5ff}
.enterprise-shell .hub-auto-refresh{background:#fff;border-color:#e1e6ed;margin-top:0;border-radius:8px}.enterprise-shell .hub-auto-refresh select{border-color:#d0dae7}
.enterprise-shell[data-section=overview] .hub-hero{border:0;background:none;box-shadow:none;padding:4px 0 12px;margin:0;min-height:0;gap:12px;flex-direction:row;align-items:center}
.enterprise-shell[data-section=overview] .hub-hero .hub-eyebrow{display:none}.enterprise-shell[data-section=overview] .hub-hero h2{font-size:24px;margin:0 0 5px;color:#203652}.enterprise-shell[data-section=overview] .hub-hero p{font-size:16px;color:#66788c;margin:0}
.enterprise-shell[data-section=overview] .hub-hero-actions a{border-radius:7px;padding:10px 14px}.enterprise-shell[data-section=overview] .hub-hero-actions .hub-order-entry{background:#2463d4;border-color:#2463d4;color:#fff}
.hub-section-nav{display:flex;flex-wrap:wrap;gap:6px;padding:6px;margin:0 0 20px;background:#e9eef5;border:1px solid #e0e6ee;border-radius:9px}
.enterprise-shell .hub-section-nav button{flex:1;min-width:100px;min-height:42px;padding:9px 12px;background:transparent;border:1px solid transparent;border-radius:6px;font-size:16px;font-weight:600;color:#4b607c;white-space:nowrap}
.enterprise-shell .hub-section-nav button:hover,.enterprise-shell .hub-section-nav button:focus-visible{background:#fff;border-color:#d7e1ef;color:#215fc9;box-shadow:0 2px 4px #243e5710}
.hub-workbench :is(.order-total-panel,.hub-reconciliation,.hub-comparison-content,.hub-area-comparisons,.hub-dashboard-grid,#business-detail-root){scroll-margin-top:18px}
.hub-workbench [tabindex="-1"]:focus-visible{outline:2px solid #6192e7;outline-offset:5px}
.enterprise-shell .order-total-panel{border-color:#e1e6ed;border-radius:10px;padding:20px;margin:0 0 20px}.enterprise-shell .order-total-panel>header{margin-bottom:14px}.enterprise-shell .order-total-panel h3{font-size:21px;color:#243b57}.enterprise-shell .order-total-panel header>span{background:#eef4ff;color:#2c61af}
.enterprise-shell .order-total-grid article,.enterprise-shell .order-total-grid article:first-child{background:#f7f9fc;border:1px solid #e7ecf3;border-top:3px solid #507ed0;border-radius:8px;padding:15px 17px}
.enterprise-shell .order-total-grid article:nth-child(2){border-top-color:#138779}.enterprise-shell .order-total-grid article:nth-child(3){border-top-color:#7973ba}.enterprise-shell .order-total-grid article:nth-child(4){border-top-color:#7890a7}
.enterprise-shell .order-total-grid strong{color:#223a59;margin:7px 0;font-size:30px;letter-spacing:-.3px}.enterprise-shell .order-total-grid article>span{font-size:16px;color:#536981}.enterprise-shell .order-total-grid small{margin-top:6px}.enterprise-shell .order-total-basis{margin-top:12px}
.enterprise-shell .hub-reconciliation{border:1px solid #e1e6ed;border-radius:10px;box-shadow:none;padding:20px;margin:20px 0}.enterprise-shell .hub-reconciliation>header h3{font-size:22px;color:#253e5b}.enterprise-shell .hub-reconcile-legend{margin:16px 0}.enterprise-shell .hub-reconciled-quantity{color:#14695f}
.enterprise-shell[data-section=overview] .hub-comparison-heading{background:#edf3fd;border:1px solid #d9e4f5;border-radius:9px;padding:18px 20px;margin:26px 0 18px;box-shadow:none}.enterprise-shell[data-section=overview] .hub-comparison-heading h2{color:#244471;font-size:23px}
.enterprise-shell[data-section=overview] .hub-section-heading{border:0;margin:24px 0 16px}.enterprise-shell[data-section=overview] .hub-section-heading>span{display:none}.enterprise-shell[data-section=overview] .hub-section-heading h2{font-size:22px;color:#243c59}
.enterprise-shell[data-section=overview] .hub-compare-card{background:#fff;border:1px solid #e1e6ed;border-top:3px solid #138779;border-radius:8px;box-shadow:none;padding:18px}.enterprise-shell[data-section=overview] .hub-compare-card h3{font-size:17px;color:#52657d}.enterprise-shell[data-section=overview] .hub-compare-card>strong{color:#203d54}
.enterprise-shell[data-section=overview] .hub-area-card{border-top-color:#7973ba}.enterprise-shell[data-section=overview] .hub-panel{padding:20px}.enterprise-shell[data-section=overview] .hub-panel>header{padding-bottom:14px;border-bottom:1px solid #edf0f5;margin-bottom:16px}.enterprise-shell[data-section=overview] .hub-panel h3{font-size:20px;color:#263e5b}.enterprise-shell[data-section=overview] .hub-more{color:#2463d4;font-weight:600}
.enterprise-shell[data-section=overview] .hub-insight-grid article{background:#f6f8fc;border-color:#e1e6ed;border-left:3px solid #95abd0;border-radius:8px}.enterprise-shell[data-section=overview] .hub-secondary-panel,.enterprise-shell[data-section=overview] .hub-secondary-summary{background:#fff;border-color:#e1e6ed}
.enterprise-shell .hub-energy-toggle button[aria-pressed="true"]{background:#2463d4;border-color:#2463d4;color:#fff}
@media(max-width:1100px){.enterprise-shell .workspace{grid-template-columns:210px minmax(0,1fr)}.enterprise-shell .workspace>main{padding:0 20px}.enterprise-shell[data-section=overview] .hub-hero{align-items:flex-start;flex-direction:column}.enterprise-shell .hub-section-nav button{flex:1 1 25%}}
@media(max-width:900px){.enterprise-shell .workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.enterprise-shell .workspace>main{padding:0 14px}.enterprise-shell .topbar h1{font-size:24px}.enterprise-shell .hub-section-nav button{font-size:15px;min-width:0;flex:1 1 28%;padding:10px 5px}.enterprise-shell .order-total-panel,.enterprise-shell .hub-reconciliation{padding:16px}.enterprise-shell .order-total-grid article{padding:12px}.enterprise-shell .order-total-grid strong{font-size:25px}.enterprise-shell[data-section=overview] .hub-hero h2{font-size:22px}.enterprise-shell[data-section=overview] .hub-hero-actions{flex-wrap:wrap}.enterprise-shell[data-section=overview] .hub-panel{padding:16px}}
/* Full command-center layout: distinct executive, execution and analysis zones. */
.enterprise-shell .sidebar{background:#102b46;color:#c6d7e7;border:0;padding-top:25px}
.enterprise-shell .sidebar .brand{color:#fff}.enterprise-shell .sidebar .brand small{color:#89a8c4;font-size:10px;white-space:nowrap;letter-spacing:0}
.enterprise-shell .sidebar .console-nav-search{background:#1e3b57;border-color:#34516b}.enterprise-shell #nav-search{color:#edf6ff}.enterprise-shell #nav-search::placeholder{color:#a5bcd1}
.enterprise-shell .sidebar nav .section-primary{color:#bfd1e1}.enterprise-shell .sidebar nav .section-primary i{color:#88abc9}.enterprise-shell .sidebar nav .section-primary:hover{background:#1c3d5a;color:#fff}
.enterprise-shell .sidebar nav .is-current-section>.section-primary{background:#2666ba;color:#fff;box-shadow:inset 3px 0 #95caff}.enterprise-shell .sidebar nav .is-current-section>.section-primary i{color:#d8edff}
.enterprise-shell .section-subnav{border-color:#365571}.enterprise-shell .sidebar .section-subnav button{color:#aac2d9}.enterprise-shell .sidebar .section-subnav button:hover,.enterprise-shell .sidebar .section-subnav button.active{background:#234661;color:#e7f4ff;border-color:transparent}
.enterprise-shell .sidebar .sidebar-bottom{color:#a8c4da;border-color:#365571}.enterprise-shell .sidebar-bottom small,.enterprise-shell .sidebar-bottom b{color:#86a7c0}.enterprise-shell .sidebar .nav-close,.enterprise-shell #nav-search-empty{color:#e0edfa}
.enterprise-shell[data-section=overview] .topbar{min-height:72px;padding:12px 0}.enterprise-shell[data-section=overview] .topbar h1{font-size:24px}.enterprise-shell[data-section=overview] .topbar .eyebrow{display:none}
.enterprise-shell[data-section=overview] .service-strip{padding:8px 0;font-size:12px}.enterprise-shell[data-section=overview] .service-strip>span:not([id]){display:none}
.enterprise-shell[data-section=overview] .hub-auto-refresh{padding:8px 12px;margin:0 0 16px;background:#fff;border-radius:7px;gap:10px}.enterprise-shell[data-section=overview] .hub-auto-refresh select,.enterprise-shell[data-section=overview] .hub-auto-refresh button{padding:6px 10px;min-height:36px}.enterprise-shell[data-section=overview] .hub-auto-refresh>span{font-size:14px}
.enterprise-shell .hub-command-center{--hub-line:#dce5ee;--hub-muted:#63768d;--hub-text:#213a54;--hub-surface:#fff;--hub-teal:#118879;color:#213a54}
.hub-command-center .cc-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.hub-command-center .cc-kicker{display:block;color:#67829e;letter-spacing:.5px;font-size:13px;font-weight:600;line-height:1.5;margin-bottom:4px}
.hub-command-center .cc-heading h2{font-size:30px;letter-spacing:.5px;line-height:1.3;margin:0;color:#173552}
.hub-command-center .cc-heading-actions{display:flex;align-items:center;gap:16px}.hub-command-center .cc-heading-actions>a{background:#1d5eac;color:#fff;border-radius:7px;padding:10px 16px;font-size:16px;font-weight:600}
.hub-command-center .cc-edition{font-size:14px;color:#567494;padding:6px 10px;border:1px solid #cbdbe9;background:#edf4fb;border-radius:6px}
.enterprise-shell .hub-command-center .hub-section-nav{background:transparent;border:0;border-bottom:1px solid #ccdbe8;border-radius:0;padding:0 0 9px;gap:6px;margin-bottom:18px;justify-content:flex-start}
.enterprise-shell .hub-command-center .hub-section-nav button{flex:none;min-width:0;padding:7px 15px;min-height:36px;color:#47627e;font-size:15px;font-weight:500;background:#fff;border:1px solid #d9e4ee}
.enterprise-shell .hub-command-center .hub-section-nav button:hover{background:#e9f1fc;color:#1d5eac;border-color:#99b7da}
.hub-command-center .cc-executive-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(245px,1fr);gap:18px;align-items:stretch}
.enterprise-shell .hub-command-center .order-total-panel{border:0;border-radius:11px;background:linear-gradient(115deg,#123d67,#1d5581);padding:20px 22px;margin:0;color:#e5f0fa;box-shadow:0 7px 18px #173d6515}
.enterprise-shell .hub-command-center .order-total-panel h3{font-size:21px;color:#fff;margin-bottom:4px}.enterprise-shell .hub-command-center .order-total-panel header p{color:#bcd1e4;font-size:14px}
.enterprise-shell .hub-command-center .order-total-panel>header{margin-bottom:16px}.enterprise-shell .hub-command-center .order-total-panel header>span{background:#ffffff14;color:#d8edff;border:1px solid #ffffff26;padding:5px 9px;font-size:13px}
.enterprise-shell .hub-command-center .order-total-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.enterprise-shell .hub-command-center .order-total-grid article,.enterprise-shell .hub-command-center .order-total-grid article:first-child{background:none;border:0;border-left:1px solid #ffffff26;border-radius:0;padding:0 16px}
.enterprise-shell .hub-command-center .order-total-grid article:first-child{border-left:0;padding-left:0}.enterprise-shell .hub-command-center .order-total-grid article:last-child{padding-right:0}
.enterprise-shell .hub-command-center .order-total-grid article>span{color:#c7ddef;font-size:15px}.enterprise-shell .hub-command-center .order-total-grid strong{color:#fff;font-size:29px;line-height:1.4;margin:9px 0 5px;letter-spacing:-.6px;overflow-wrap:anywhere}
.enterprise-shell .hub-command-center .order-total-grid article>b{color:#c7ddef;font-size:13px}.enterprise-shell .hub-command-center .order-total-grid small{display:none}
.enterprise-shell .hub-command-center .order-total-basis{color:#c4d9e9;font-size:12px;line-height:1.6;border-top:1px solid #ffffff24;padding-top:10px;margin-top:14px}
.hub-command-center .cc-attention{background:#fff;border:1px solid #dce5ee;border-radius:10px;padding:17px 18px;min-width:0}
.hub-command-center .cc-attention header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.hub-command-center .cc-attention h3{font-size:18px;margin:0;color:#294763}.hub-command-center .cc-attention .cc-kicker{display:none}
.hub-command-center .cc-attention>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #e8eef4;color:#445f78;font-size:15px;text-decoration:none}
.hub-command-center .cc-attention small{display:block;font-size:12px;color:#75879a;margin-top:2px}.hub-command-center .cc-attention b{font-size:25px;color:#aa661a}.hub-command-center .cc-attention b.cc-status-text{font-size:15px;color:#356584;white-space:nowrap}.hub-command-center .cc-attention>p{font-size:12px;color:#75879a;margin:9px 0 0}
.hub-command-center .cc-section-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 22px;margin:26px 0 14px;border:0}
.hub-command-center .cc-section-title h2{font-size:23px;color:#213e59;margin:0;line-height:1.4}.hub-command-center .cc-section-title p{font-size:14px;color:#627b90;margin:0;flex:1}.hub-command-center .cc-section-title a{font-size:15px;font-weight:600;color:#1d5eac}.hub-command-center .cc-section-title .cc-kicker{font-size:12px;margin-bottom:2px}
.hub-command-center .cc-process-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.hub-command-center .cc-process{--process-color:#148b82;background:#fff;border:1px solid #dbe5ef;border-top:4px solid var(--process-color);border-radius:9px;padding:16px 13px 0;min-width:0;overflow:hidden}
.hub-command-center .cc-process-1{--process-color:#4b78cb}.hub-command-center .cc-process-2{--process-color:#8c6fc1}.hub-command-center .cc-process-3{--process-color:#c58b32}.hub-command-center .cc-process-4{--process-color:#ba638c}.hub-command-center .cc-process-5{--process-color:#659346}
.hub-command-center .cc-process header{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;margin-bottom:10px}.hub-command-center .cc-process h3{font-size:19px;margin:0;color:#29445c}.hub-command-center .cc-state{font-size:12px;color:#6a8296;line-height:1.5}.hub-command-center .cc-state.is-review{color:#986114;background:#fff1d9;border-radius:4px;padding:1px 5px}
.hub-command-center .cc-process-number strong{display:block;font-size:33px;font-weight:650;line-height:1.3;color:#203d58;overflow-wrap:anywhere}.hub-command-center .cc-process-number>span{font-size:13px;color:#678096}
.hub-command-center .cc-process-area{display:flex;flex-direction:column;gap:3px;margin-top:12px;padding-top:10px;border-top:1px solid #e7edf3}.hub-command-center .cc-process-area>span{font-size:12px;color:#6b8195}.hub-command-center .cc-process-area>b{font-size:23px;color:var(--process-color);line-height:1.3;overflow-wrap:anywhere}
.hub-command-center .cc-area-note{font-size:11px;color:#73899c;line-height:1.5;min-height:17px;margin:6px 0 8px}.hub-command-center .cc-source-numbers{display:flex;justify-content:space-between;gap:4px;font-size:11px;color:#73869b;flex-wrap:wrap}.hub-command-center .cc-source-numbers b{display:block;font-size:14px;color:#425e76;font-weight:600}
.hub-command-center .cc-process>button{border:0;border-top:1px solid #e8edf3;border-radius:0;background:#f8fafc;width:calc(100% + 26px);margin:11px -13px 0;padding:10px 13px;color:#386184;font-size:13px;text-align:left;display:flex;justify-content:space-between}.hub-command-center .cc-process>button:hover{background:#edf4fb;color:#195cae}
.hub-command-center .cc-basis{font-size:13px;line-height:1.6;color:#687f93;margin:10px 0 8px}
.hub-command-center .cc-reconciliation-detail{border-bottom:1px solid #dce5ee;padding:6px 0 12px;margin-bottom:18px}.hub-command-center .cc-reconciliation-detail>summary{font-size:14px;color:#416b92;cursor:pointer}.enterprise-shell .hub-command-center .hub-reconciliation{margin:12px 0 0;padding:18px}
.enterprise-shell .hub-command-center .hub-comparison-heading{background:transparent;border:0;border-bottom:1px solid #ccdbe8;border-radius:0;padding:0 0 14px;margin:24px 0 16px;flex-direction:row;align-items:center;gap:20px}
.enterprise-shell .hub-command-center .hub-comparison-heading h2{font-size:23px;margin:0 0 6px}.enterprise-shell .hub-command-center .hub-comparison-heading p{font-size:13px;line-height:1.5}.hub-command-center .hub-comparison-heading p br{display:none}
.enterprise-shell .hub-command-center .cc-period-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.enterprise-shell .hub-command-center .cc-period-kpis .hub-compare-card{border:1px solid #dce5ee;border-radius:8px;padding:14px 18px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:baseline}
.enterprise-shell .hub-command-center .cc-period-kpis h3{font-size:16px;margin:0}.enterprise-shell .hub-command-center .cc-period-kpis strong{font-size:25px;text-align:right}.enterprise-shell .hub-command-center .cc-period-kpis strong small{font-size:12px}.enterprise-shell .hub-command-center .cc-period-kpis p{font-size:13px;margin:4px 0;grid-column:1/3}.enterprise-shell .hub-command-center .cc-period-kpis b{font-size:13px;font-weight:500;grid-column:1/3}.enterprise-shell .hub-command-center .cc-period-kpis>article>small{font-size:12px;margin:0;grid-column:1/3}
.enterprise-shell .hub-command-center .hub-comparison-grid{gap:16px;margin-bottom:16px}.enterprise-shell .hub-command-center .hub-panel{border-radius:9px;padding:18px 20px}.enterprise-shell .hub-command-center .hub-panel>header{margin-bottom:12px;padding-bottom:12px}.enterprise-shell .hub-command-center .hub-panel h3{font-size:19px;margin-bottom:5px}.enterprise-shell .hub-command-center .hub-panel header p{font-size:13px;line-height:1.6}.enterprise-shell .hub-command-center .hub-more{font-size:13px}
.enterprise-shell .hub-command-center .hub-line-chart,.enterprise-shell .hub-command-center .hub-comparison-columns{height:260px;min-height:0;min-width:0;max-height:none}.enterprise-shell .hub-command-center .hub-axis{font-size:12px}.enterprise-shell .hub-command-center .hub-chart-legend{font-size:13px;gap:8px 12px;flex-wrap:wrap}.enterprise-shell .hub-command-center .hub-footnote{font-size:12px}
.hub-command-center .cc-period-ledger{background:#fff;border:1px solid #dce5ee;border-radius:9px;padding:18px 20px;margin-bottom:22px;min-width:0}.hub-command-center .cc-period-ledger>header{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.hub-command-center .cc-period-ledger h3{font-size:18px;margin:0}.hub-command-center .cc-period-ledger header span{font-size:13px;color:#6c8296}
.hub-command-center .cc-period-ledger .production-screen-table{overflow:auto}.hub-command-center .cc-period-ledger table{min-width:710px;font-size:15px;width:100%;border-collapse:collapse}.hub-command-center .cc-period-ledger th,.hub-command-center .cc-period-ledger td{padding:11px 12px;text-align:right;border-bottom:1px solid #e7edf3}.hub-command-center .cc-period-ledger th:first-child,.hub-command-center .cc-period-ledger td:first-child{text-align:left}.hub-command-center .cc-period-ledger th{font-size:13px;background:#f3f7fb}.hub-command-center .cc-period-ledger td:nth-child(2){font-size:18px;font-weight:650;color:#146e65}.hub-command-center .cc-period-ledger td button{font-size:13px;padding:5px}
.enterprise-shell .hub-command-center .hub-area-comparisons{border:0;margin:24px 0;padding:0}.enterprise-shell .hub-command-center .hub-area-comparisons .hub-section-heading{margin:0 0 16px}.enterprise-shell .hub-command-center .hub-area-comparisons .hub-section-heading h2{font-size:23px}
.enterprise-shell .hub-command-center .hub-area-comparisons .hub-process-row{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;padding:0;gap:12px;margin:12px 0 16px}
.enterprise-shell .hub-command-center .hub-area-comparisons .hub-comparison-kpis{gap:12px;margin-bottom:12px}
.enterprise-shell .hub-command-center .hub-area-card{border:1px solid #dce5ee;border-left:3px solid #7c78b5;border-radius:7px;padding:14px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:baseline;background:#fbfbfe}
.enterprise-shell .hub-command-center .hub-area-card h3{font-size:15px;margin:0}.enterprise-shell .hub-command-center .hub-area-card>strong{font-size:23px;text-align:right}.enterprise-shell .hub-command-center .hub-area-card>strong small{display:block;font-size:10px;font-weight:400;color:#77859a}.enterprise-shell .hub-command-center .hub-area-card p{font-size:13px;margin:0;grid-column:1/3}.enterprise-shell .hub-command-center .hub-area-card>b{font-size:12px;font-weight:500;grid-column:1/3}.enterprise-shell .hub-command-center .hub-area-card>small{font-size:11px;margin:0;grid-column:1/3;line-height:1.5}.enterprise-shell .hub-command-center .hub-area-card>button{grid-column:1/3;font-size:13px;padding:3px 0;text-align:left;justify-self:start}
.enterprise-shell .hub-command-center .hub-insight-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.enterprise-shell .hub-command-center .hub-insight-grid article{padding:14px 16px}.enterprise-shell .hub-command-center .hub-insight-grid h3{font-size:16px;margin:6px 0}.enterprise-shell .hub-command-center .hub-insight-grid p{font-size:13px;line-height:1.6;margin:0}
.hub-command-center .cc-energy-headline{display:flex;align-items:center;gap:24px;flex-wrap:wrap;border:1px solid #c9e2df;border-left:4px solid #168879;background:#edf7f5;padding:17px 20px;border-radius:8px;margin-bottom:16px}.hub-command-center .cc-energy-headline>div>span{font-size:14px;color:#3a726d;display:block}.hub-command-center .cc-energy-headline strong{font-size:34px;line-height:1.3;color:#175c57}.hub-command-center .cc-energy-headline strong small{font-size:15px}.hub-command-center .cc-energy-headline p{font-size:13px;line-height:1.7;color:#587e7a;margin:0;flex:1}.hub-command-center .cc-energy-headline a{font-size:15px;color:#146b62}
.enterprise-shell .hub-command-center .cc-energy-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;margin-bottom:16px}.enterprise-shell .hub-command-center .cc-energy-grid .hub-energy-chart{grid-column:auto;grid-row:auto}.enterprise-shell .hub-command-center .cc-energy-grid .hub-tariff-panel{grid-column:auto;grid-row:auto}
.hub-command-center .cc-structure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.hub-command-center .cc-governance{margin-top:24px}.hub-command-center .cc-governance .hub-secondary-summary{padding:14px 18px;border-radius:8px;font-size:14px}
@media(min-width:1700px){.enterprise-shell .hub-command-center .order-total-grid strong{font-size:36px}.hub-command-center .cc-process-number strong{font-size:40px}.hub-command-center .cc-process-area>b{font-size:28px}}
@media(max-width:1350px){.hub-command-center .cc-executive-row{grid-template-columns:minmax(0,2.7fr) minmax(220px,1fr)}.enterprise-shell .hub-command-center .order-total-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 0}.enterprise-shell .hub-command-center .order-total-grid article:nth-child(3){border:0;padding-left:0}.hub-command-center .cc-process-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-command-center .cc-process-number{display:flex;align-items:baseline;gap:8px}.hub-command-center .cc-process-area{flex-direction:row;align-items:baseline;justify-content:space-between;gap:8px}.enterprise-shell .hub-command-center .hub-area-comparisons .hub-comparison-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.hub-command-center .cc-executive-row{grid-template-columns:1fr}.hub-command-center .cc-attention{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:14px 18px}.hub-command-center .cc-attention>header,.hub-command-center .cc-attention>p{display:none}.hub-command-center .cc-attention>a{border:0;padding:0}.enterprise-shell .hub-command-center .order-total-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.enterprise-shell .hub-command-center .order-total-grid article:nth-child(3){border-left:1px solid #ffffff26;padding-left:16px}.enterprise-shell .hub-command-center .cc-energy-grid{grid-template-columns:1fr}.enterprise-shell .hub-command-center .hub-insight-grid{grid-template-columns:1fr}.enterprise-shell .hub-command-center .hub-area-card{grid-template-columns:1fr}.enterprise-shell .hub-command-center .hub-area-card>strong{text-align:left}.enterprise-shell .hub-command-center .hub-area-card>*{grid-column:1!important}}
@media(max-width:760px){.hub-command-center .cc-heading h2{font-size:26px}.hub-command-center .cc-heading{align-items:flex-start}.hub-command-center .cc-heading-actions{flex-direction:column;gap:7px;align-items:flex-end}.hub-command-center .cc-edition{font-size:11px;padding:3px 6px}.hub-command-center .cc-heading-actions>a{font-size:13px;padding:8px 10px}.enterprise-shell .hub-command-center .hub-section-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.enterprise-shell .hub-command-center .hub-section-nav button{padding:8px 5px;font-size:14px}.enterprise-shell .hub-command-center .order-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-shell .hub-command-center .order-total-grid article:nth-child(3){padding-left:0;border:0}.enterprise-shell .hub-command-center .order-total-panel{padding:18px}.hub-command-center .cc-attention{grid-template-columns:1fr;padding:14px 18px;gap:12px}.hub-command-center .cc-attention>a{font-size:15px}.hub-command-center .cc-attention small{display:inline;margin-left:8px;font-size:11px}.hub-command-center .cc-attention b{font-size:22px}.hub-command-center .cc-section-title{margin-top:22px;gap:7px}.hub-command-center .cc-section-title p{flex-basis:100%;order:3}.hub-command-center .cc-section-title h2{font-size:22px}.hub-command-center .cc-process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-command-center .cc-process{padding:13px 11px 0}.hub-command-center .cc-process h3{font-size:18px}.hub-command-center .cc-process-number{display:block}.hub-command-center .cc-process-number strong{font-size:30px}.hub-command-center .cc-process-area{flex-direction:column;gap:2px}.hub-command-center .cc-process>button{width:calc(100% + 22px);margin-left:-11px;margin-right:-11px;padding:10px 11px}.hub-command-center .cc-source-numbers{gap:4px 7px}.enterprise-shell .hub-command-center .hub-comparison-heading{flex-direction:column;align-items:flex-start}.enterprise-shell .hub-command-center .cc-period-kpis{grid-template-columns:1fr}.enterprise-shell .hub-command-center .hub-area-comparisons .hub-comparison-kpis,.enterprise-shell .hub-command-center .hub-area-comparisons .hub-process-row{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-shell .hub-command-center .hub-comparison-grid,.hub-command-center .cc-structure-grid{grid-template-columns:1fr}.enterprise-shell .hub-command-center .hub-line-chart{min-width:0;height:245px}.enterprise-shell .hub-command-center .hub-comparison-columns{min-width:500px;height:260px}.enterprise-shell .hub-command-center .hub-comparison-grid>.hub-panel{overflow-x:auto}.enterprise-shell .hub-command-center .hub-panel{padding:16px}.hub-command-center .cc-energy-headline{gap:10px}.hub-command-center .cc-energy-headline>a{width:100%}}
.enterprise-shell .cc-domain-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.enterprise-shell .cc-domain-grid article{padding:18px;border:1px solid #d9e4ee;background:#f7faff;border-radius:8px}.enterprise-shell .cc-domain-grid h3{font-size:18px;margin:0 0 8px}.enterprise-shell .cc-domain-grid span{display:inline-block;font-size:13px;color:#1c618c;background:#e4effa;padding:3px 8px;border-radius:5px}.enterprise-shell .cc-domain-grid p{font-size:14px;line-height:1.7;color:#6b7f92;margin-bottom:0}
.hub-command-center .cc-heading-actions>a.cc-edition{background:#edf4fb;color:#567494;font-size:14px;padding:7px 10px;font-weight:500}
@media(max-width:760px){.enterprise-shell .hub-command-center .order-total-grid strong{font-size:clamp(18px,4.8vw,25px);letter-spacing:-.4px}.enterprise-shell .hub-command-center .order-total-grid article{padding-left:12px;padding-right:10px}}
@media(max-width:1000px){.enterprise-shell .cc-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* END ENTERPRISE THEME */
/* BEGIN DETAIL WORKSPACE STYLES */
.enterprise-shell dialog.detail-workspace{width:min(1440px,96vw);max-width:96vw;height:92dvh;max-height:94dvh;padding:0;border-radius:14px;overflow:hidden}
.enterprise-shell dialog.detail-workspace[open]{display:flex;flex-direction:column}
.enterprise-shell dialog.detail-workspace:not(.is-readonly){width:min(1100px,96vw);height:auto}
.enterprise-shell dialog.detail-workspace .dialog-heading{flex:none;margin:0;padding:16px 22px;background:#f3f8fb;gap:10px}
.enterprise-shell dialog.detail-workspace .dialog-heading h2{flex:1;margin:0;font-size:24px}
.enterprise-shell dialog.detail-workspace #editor-body{flex:1;overflow:auto;overscroll-behavior:contain;min-height:0;padding:20px 24px}
.enterprise-shell dialog.detail-workspace.detail-fullscreen{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
.detail-navigation,.detail-field-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 22px;background:#fff;border-bottom:1px solid #dce6ee;flex:none}
.detail-navigation [data-detail-full]{margin-left:auto}.detail-navigation [data-detail-position]{font-size:15px;color:#4b667b}
.enterprise-shell .detail-field-tools label{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;text-align:left;gap:10px}
.enterprise-shell .detail-field-tools .detail-empty-toggle{flex-direction:row;white-space:nowrap}.enterprise-shell .detail-field-tools .detail-empty-toggle input{margin:0;flex:none}
.detail-field-tools{background:#f5f9fb;border:1px solid #dce6ee;border-radius:8px;padding:12px;margin:0 0 18px}.detail-field-tools label{display:flex;align-items:center;gap:10px;font-size:15px}.detail-field-tools input[type=search]{width:250px;max-width:100%}.detail-field-tools input[type=checkbox]{min-height:18px;width:18px}.detail-field-tools [data-field-count]{margin-left:auto;font-size:14px;color:#526e81}
.enterprise-shell .detail-workspace.is-readonly .detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.enterprise-shell .detail-workspace .detail-grid>div{background:#f5f8fb;border:1px solid #e0e8ef;padding:12px 15px;border-radius:8px;min-width:0}.enterprise-shell .detail-workspace .detail-grid dt{font-size:15px}.enterprise-shell .detail-workspace .detail-grid dd{font-size:18px;line-height:1.6;margin:6px 0 0}
.enterprise-shell .detail-workspace .table-wrap{max-height:none}.enterprise-shell .detail-workspace [hidden],.enterprise-shell .source-row-detail [hidden]{display:none!important}
.enterprise-shell .detail-feed-results{display:grid;grid-template-columns:1fr;gap:20px}.enterprise-shell .detail-feed-card .table-wrap{max-height:520px}.enterprise-shell .detail-feed-card th{position:sticky;top:0;z-index:2}.detail-feed-limit{display:flex;align-items:center;gap:10px;margin:14px 0}.detail-feed-limit select{width:auto}
.enterprise-shell .source-result-header{position:sticky;top:0;background:#f3f6f8;z-index:3}.enterprise-shell .source-row-detail{margin:12px 0 20px}.source-detail-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.enterprise-shell .source-data tr.is-selected td{background:#e3f4f4}.enterprise-shell .source-column-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.enterprise-shell .source-column-picker>.source-column-actions{display:flex;max-height:none;padding:0}.source-row-detail .detail-field-tools label{display:flex}.source-row-detail .detail-field-tools input{width:auto}.source-row-detail .detail-field-tools input[type=search]{width:250px}
.journey-order-navigation,.online-detail-navigation{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.journey-scope-return{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.enterprise-shell .journey-steps{position:sticky;top:0;z-index:5;background:#f3f6f8;padding:10px 0}.enterprise-shell .journey-panel{scroll-margin-top:100px}.enterprise-shell .online-detail-title{position:sticky;top:0;z-index:3;background:#f4f8fb;padding:12px}.enterprise-shell .online-glass{scroll-margin-top:15px}
@media(max-width:1100px){.enterprise-shell .detail-workspace.is-readonly .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.enterprise-shell dialog.detail-workspace{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.enterprise-shell dialog.detail-workspace .dialog-heading{padding:12px}.enterprise-shell dialog.detail-workspace .dialog-heading h2{flex-basis:100%;font-size:21px}.enterprise-shell dialog.detail-workspace #editor-body{padding:14px}.detail-navigation{padding:10px;gap:8px}.detail-navigation button{font-size:14px}.detail-field-tools label{flex-wrap:wrap}.detail-field-tools label:first-child{width:100%}.detail-field-tools input[type=search]{width:100%}.detail-field-tools [data-field-count]{margin-left:0}.enterprise-shell .detail-workspace.is-readonly .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-shell .detail-workspace .detail-grid>div{padding:10px}.enterprise-shell .detail-workspace .detail-grid dd{font-size:16px}.enterprise-shell .journey-steps{overflow:auto;display:flex;flex-wrap:nowrap}.enterprise-shell .journey-steps button{min-width:120px;flex-shrink:0}.enterprise-shell .source-row-detail>div:first-child{flex-wrap:wrap}.source-detail-actions{width:100%}.enterprise-shell .source-row-detail .detail-field-tools input[type=search]{width:100%}.enterprise-shell .source-row-detail .detail-field-tools label:first-child{display:grid}}
/* END DETAIL WORKSPACE STYLES */
/* BEGIN PLATFORM WORKSPACE STYLES */
.platform-shell #navigation [hidden]{display:none!important}
.platform-shell{--pw-ink:#172d48;--pw-muted:#64748b;--pw-line:#e0e7ef;--pw-blue:#235fc6}
.enterprise-shell.platform-shell .workspace{grid-template-columns:216px minmax(0,1fr)}
.enterprise-shell.platform-shell .workspace>main{background:#f4f6fa;padding:0 28px;min-width:0}
.platform-shell .pw-workspaces{display:flex;align-items:stretch;gap:6px;min-height:70px;border-bottom:1px solid #dfe5ed;margin:0 -28px;padding:0 28px;background:white;position:sticky;top:0;z-index:25;flex-wrap:wrap}
.pw-product-name{display:none}.pw-workspaces button{border:0;border-radius:0;background:transparent;font-size:17px;font-weight:600;color:#5c6b80;padding:18px 22px;border-bottom:3px solid transparent;min-height:60px;white-space:nowrap}.pw-workspaces button:hover{background:#f5f8fe;color:#235fc6}.pw-workspaces button.is-workspace-active{color:#235fc6;border-bottom-color:#235fc6;background:#f1f6ff}.pw-workspaces>a{align-self:center;margin-left:auto;color:#235fc6;text-decoration:none;font-size:14px;padding:10px}
.enterprise-shell.platform-shell .sidebar{background:#fff;color:#435773;border-right:1px solid var(--pw-line);padding:24px 12px;box-shadow:none}.enterprise-shell.platform-shell .sidebar .brand{color:#18344f;font-size:18px}.enterprise-shell.platform-shell .sidebar .brand small{color:#708299;white-space:normal}.enterprise-shell.platform-shell .sidebar .console-nav-search{background:#f5f7fa;border-color:var(--pw-line);margin:24px 0 15px}.enterprise-shell.platform-shell #nav-search{color:#273f5c}.enterprise-shell.platform-shell #nav-search::placeholder{color:#6c7f96}
.platform-shell .sidebar .console-nav-group{display:none}.platform-shell .sidebar .console-nav-group.is-current-section,.platform-shell #navigation.is-searching .console-nav-group:not([hidden]){display:block}.platform-shell .sidebar .console-nav-group[hidden]{display:none!important}.platform-shell .pw-nav-label{color:#718198;font-size:13px;font-weight:700;padding:4px 12px;letter-spacing:1px}
.enterprise-shell.platform-shell .sidebar .section-subnav{display:flex;flex-direction:column;margin:0;padding:0;border:0;gap:5px}.enterprise-shell.platform-shell .sidebar .section-subnav button{color:#425772;font-size:16px;line-height:1.5;padding:12px 14px;min-height:46px;border:0;border-radius:7px;display:block;text-align:left}.enterprise-shell.platform-shell .sidebar .section-subnav button:hover{background:#f3f6fc;color:#235fc6}.enterprise-shell.platform-shell .sidebar .section-subnav button.active{color:#235fc6;background:#eaf1fd;font-weight:650;box-shadow:inset 3px 0 #235fc6}.enterprise-shell.platform-shell .sidebar .sidebar-bottom{color:#657990;border-color:var(--pw-line)}.enterprise-shell.platform-shell .sidebar-bottom small,.enterprise-shell.platform-shell .sidebar-bottom b{color:#7c8fa3}.enterprise-shell.platform-shell .sidebar .nav-close,.enterprise-shell.platform-shell #nav-search-empty{color:#435773}
.enterprise-shell.platform-shell .topbar{min-height:90px;padding:18px 0}.enterprise-shell.platform-shell .topbar h1{font-size:27px}.enterprise-shell.platform-shell .topbar .eyebrow{display:block;font-size:12px;color:#6a7d95}.platform-shell .service-strip{border-bottom:1px solid var(--pw-line);margin-bottom:18px}.platform-shell #module-banner{display:none}
.pw-center{color:var(--pw-ink);font-size:16px;line-height:1.65;padding-bottom:24px;min-width:0}.pw-center *{box-sizing:border-box}.pw-center h2,.pw-center h3,.pw-center p{margin:0}.pw-center p{color:var(--pw-muted)}.pw-center button,.pw-center input,.pw-center select{font:inherit}.pw-center button{cursor:pointer}.pw-center button:disabled{cursor:default;opacity:.45}.pw-center button:focus-visible,.pw-workspaces button:focus-visible{outline:3px solid #699aee;outline-offset:2px}.pw-heading{display:flex;justify-content:space-between;padding:12px 0 24px;gap:20px}.pw-heading>div>span,.pw-kicker{font-size:12px;font-weight:700;letter-spacing:1.8px;color:#235fc6}.pw-heading h2{font-size:30px;line-height:1.4;margin:6px 0 9px}.pw-heading p{max-width:900px}
.pw-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.pw-stats article{background:#fff;border:1px solid var(--pw-line);border-radius:10px;padding:17px 24px;display:flex;flex-direction:column;gap:3px}.pw-stats strong{font-size:31px;color:#193758;font-variant-numeric:tabular-nums}.pw-stats span{color:#64748b;font-size:15px}
.pw-tabs{display:flex;gap:5px;border-bottom:1px solid var(--pw-line);margin-bottom:20px;flex-wrap:wrap}.pw-center .pw-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#63738a;padding:12px 17px;font-weight:600}.pw-center .pw-tabs [aria-pressed=true]{color:#235fc6;border-bottom-color:#235fc6;background:#eaf1fe}.pw-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:18px;background:#fff;border:1px solid var(--pw-line);border-radius:10px;margin-bottom:18px}.pw-filter label,.pw-product label{display:flex;flex-direction:column;gap:5px;font-size:14px;color:#53667f;min-width:140px}.pw-filter .pw-search{flex:1;min-width:180px}.pw-filter input,.pw-filter select,.pw-product select{background:#fbfcfe;border:1px solid #cdd7e3;border-radius:6px;min-height:42px;padding:7px 10px;max-width:100%;width:100%;color:#203e5d}.pw-center .secondary,.pw-center .primary{min-height:42px;padding:8px 14px;border-radius:6px;font-size:15px}.pw-result-note{margin-bottom:12px!important;font-size:13px}
.pw-catalog-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,1fr);gap:20px;align-items:start}.pw-asset-list{border:1px solid var(--pw-line);border-radius:9px;overflow:hidden;background:#fff}.pw-asset-row{display:grid;grid-template-columns:45px minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;border:0;border-bottom:1px solid #edf0f5;border-radius:0;padding:16px;text-align:left;background:#fff;color:#43566e;min-height:82px}.pw-asset-row:last-child{border:0}.pw-asset-row:hover,.pw-asset-row.is-selected{background:#eff5ff}.pw-asset-row.is-selected{box-shadow:inset 3px 0 #235fc6}.pw-asset-row b{font-size:16px;color:#203e60;overflow-wrap:anywhere;display:block}.pw-asset-row small{font-size:12px;display:block;color:#75869b;overflow-wrap:anywhere}.pw-asset-row>span:nth-child(3){font-size:12px}.pw-source-icon{background:#edf3fb;color:#3b6a9c;border-radius:8px;text-align:center;padding:9px 3px;font-size:12px;font-weight:700}.pw-status{padding:3px 7px;font-size:11px;white-space:nowrap;border-radius:5px;background:#eef2f6;color:#66768a}.pw-status.verified{color:#28755e;background:#eaf5ee}.pw-status.failed{color:#9d5f21;background:#fff2df}.pw-inspector{background:#fff;border:1px solid var(--pw-line);border-radius:10px;padding:22px;min-width:0;position:sticky;top:90px;max-height:calc(100vh - 115px);overflow:auto}.pw-inspector h3{font-size:22px;overflow-wrap:anywhere;margin:8px 0}.pw-inspector p{font-size:14px;overflow-wrap:anywhere}.pw-detail-icon{font-size:46px;color:#b1c4dd}.pw-detail-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px;color:#6c819c}.pw-mono{font-family:Consolas,monospace;font-size:12px!important;margin-bottom:14px!important}.pw-definition{display:grid;grid-template-columns:86px minmax(0,1fr);gap:13px 16px;font-size:15px;margin:22px 0}.pw-definition dt{color:#7a899c}.pw-definition dd{margin:0;overflow-wrap:anywhere;color:#304c6d}.pw-detail-action{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 8px;padding-top:16px;border-top:1px solid var(--pw-line)}.pw-field-list article{padding:14px 0;border-bottom:1px solid var(--pw-line);display:flex;gap:6px;flex-wrap:wrap;font-size:13px}.pw-field-list b{flex-basis:100%;font-size:15px}.pw-field-list code{overflow-wrap:anywhere;color:#27578a}.pw-field-list p{flex-basis:100%;font-size:12px}.pw-relation{border-bottom:1px solid var(--pw-line);padding:15px 0}.pw-pager{display:flex;gap:15px;align-items:center;justify-content:center;padding:20px}.pw-empty{padding:24px;text-align:center}
.pw-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:18px}.pw-product{background:#fff;border:1px solid var(--pw-line);border-radius:10px;padding:24px;min-width:0}.pw-product header{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#677d99}.pw-product header b{font-weight:500}.pw-product h3{font-size:22px;margin:10px 0}.pw-product>p{font-size:14px;margin:8px 0}.pw-tags{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.pw-tags span{background:#f1f5fa;color:#617892;border-radius:4px;padding:3px 8px;font-size:12px}.pw-product form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;border-top:1px solid var(--pw-line);padding-top:18px}.pw-product form label{flex:1;min-width:100px}.pw-product details{font-size:13px;margin-top:18px}.pw-product summary{color:#58789b;cursor:pointer}.pw-product details p{margin-top:10px;overflow-wrap:anywhere}
.pw-domain-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.pw-center .pw-domain-bar [aria-pressed=true]{border-color:#235fc6;background:#edf3ff;color:#235fc6}.pw-metric-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:22px}.pw-metric-list{display:flex;flex-direction:column;gap:9px}.pw-metric-list button{display:grid;grid-template-columns:1fr auto;gap:8px;text-align:left;background:#fff;border:1px solid var(--pw-line);border-radius:9px;padding:18px;color:#263e5c}.pw-metric-list button>span{font-size:12px;align-self:center;color:#6c8098}.pw-metric-list small{grid-column:1/-1;font-size:13px;color:#7990a7}.pw-metric-list .is-selected{border-color:#75a3ee;box-shadow:inset 3px 0 #235fc6;background:#eff5ff}.pw-metric-detail{background:#fff;padding:30px;border:1px solid var(--pw-line);border-radius:10px;align-self:start;position:sticky;top:90px}.pw-metric-detail h3{font-size:30px;margin:10px 0 22px}.pw-metric-detail .pw-definition{grid-template-columns:110px minmax(0,1fr);font-size:17px;gap:22px}.pw-metric-detail>p{font-size:13px}
.pw-governance-grid,.pw-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.pw-governance-grid article,.pw-app-grid article,.pw-capability article{background:#fff;border:1px solid var(--pw-line);border-radius:10px;padding:24px}.pw-governance-grid h3,.pw-app-grid h3{font-size:22px}.pw-governance-grid p,.pw-app-grid p{margin:10px 0 22px}.pw-governance-grid article>div,.pw-app-grid article>div{display:flex;gap:10px;flex-wrap:wrap}.pw-capability{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:12px}.pw-capability p{font-size:14px;margin-top:10px}.pw-value-chain{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.pw-value-chain button{display:flex;flex-direction:column;align-items:start;text-align:left;background:#193d65;color:#fff;border:0;border-radius:10px;padding:22px 18px;gap:13px;min-width:0}.pw-value-chain small{color:#92b8e6;font-size:16px}.pw-value-chain strong{font-size:23px}.pw-value-chain span{color:#b4cee8;font-size:13px;min-height:42px}.pw-value-chain b{font-size:13px;font-weight:500;color:#8ebdff}.pw-value-chain button:hover{background:#245281}
@media(max-width:1250px){.pw-workspaces button{padding:17px 14px;font-size:16px}.pw-workspaces>a{display:none}.pw-catalog-layout{grid-template-columns:minmax(0,1fr)}.pw-inspector{position:static;max-height:none}.pw-asset-row{grid-template-columns:45px minmax(0,1fr) auto auto}.pw-metric-layout{grid-template-columns:minmax(220px,1fr) minmax(0,1.5fr)}.pw-value-chain{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.enterprise-shell.platform-shell .workspace{display:block}.enterprise-shell.platform-shell .workspace>main{padding:0 18px}.platform-shell .pw-workspaces{margin:0 -18px;padding:0 12px;gap:0;position:static;justify-content:space-between}.pw-workspaces button{flex:1;padding:14px 8px;font-size:15px;min-height:54px}.pw-heading h2{font-size:27px}.pw-products{grid-template-columns:minmax(0,1fr)}.pw-metric-detail{position:static}.pw-stats article{padding:14px}.pw-stats strong{font-size:26px}}
@media(max-width:600px){.enterprise-shell.platform-shell .workspace>main{padding:0 12px}.platform-shell .pw-workspaces{margin:0 -12px;padding:4px 6px}.pw-workspaces button{font-size:13px;padding:10px 4px;min-height:46px}.enterprise-shell.platform-shell .topbar h1{font-size:23px}.pw-center{font-size:15px}.pw-heading h2{font-size:25px}.pw-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pw-filter{padding:14px;gap:10px}.pw-filter label{flex:1;min-width:120px}.pw-filter .pw-search{flex-basis:100%}.pw-asset-row{grid-template-columns:35px minmax(0,1fr);gap:8px;padding:12px}.pw-asset-row>span:nth-child(3){grid-column:2}.pw-asset-row>.pw-status{grid-column:2;justify-self:start}.pw-asset-row b{font-size:15px}.pw-asset-row small{font-size:12px}.pw-metric-layout,.pw-governance-grid,.pw-app-grid,.pw-capability{grid-template-columns:minmax(0,1fr)}.pw-metric-detail{padding:20px}.pw-metric-detail .pw-definition{grid-template-columns:80px minmax(0,1fr);font-size:15px;gap:16px}.pw-metric-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pw-metric-list button{display:flex;flex-direction:column;padding:13px;font-size:15px}.pw-metric-list button>span{align-self:start}.pw-metric-list small{font-size:12px}.pw-value-chain{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pw-value-chain button{padding:18px 14px}.pw-value-chain strong{font-size:21px}.pw-product{padding:18px}.pw-inspector{padding:18px}.pw-heading{padding-bottom:18px}}
/* END PLATFORM WORKSPACE STYLES */
/* BEGIN BUSINESS LAYOUT */
.business-layout-v2{--layout-ink:#16344b;--layout-line:#dce6ed;--layout-teal:#087f89}
.enterprise-shell.business-layout-v2 .workspace{grid-template-columns:230px minmax(0,1fr)}
.enterprise-shell.business-layout-v2 .workspace>main{padding:0 30px;background:#f3f6f9}
.business-layout-v2 .pw-workspaces{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:8px 20px;margin:0 -30px;min-height:68px;gap:5px;border-bottom:1px solid var(--layout-line)}
.business-layout-v2 .pw-workspaces>button{border-radius:9px;min-height:49px;padding:12px 8px;border:0;font-size:17px;font-weight:650}
.business-layout-v2 .pw-workspaces>button.is-workspace-active{background:#e4f3f2;color:#086e74;box-shadow:inset 0 -3px #108a90}
.business-layout-v2 .pw-workspaces>a{display:none}
.enterprise-shell.business-layout-v2 .sidebar{padding:25px 16px;background:#fcfdfd}
.business-layout-v2 .pw-nav-label{color:#0b7379;font-size:16px;padding:14px 12px;border-top:1px solid var(--layout-line)}
.enterprise-shell.business-layout-v2 .sidebar .section-subnav button{border-radius:8px;padding:13px 12px;font-size:16px;margin:1px 0}
.enterprise-shell.business-layout-v2 .sidebar .section-subnav button.active{color:#08717a;background:#e5f3f2;box-shadow:inset 3px 0 #138993}
.enterprise-shell.business-layout-v2 .topbar{min-height:90px;padding:20px 0 14px}
.enterprise-shell.business-layout-v2 .topbar h1{font-size:26px;color:var(--layout-ink)}
.business-layout-v2 .service-strip{font-size:12px;gap:7px 16px;line-height:1.7;background:transparent;padding:8px 0 14px;margin-bottom:20px}
.business-layout-v2 .business-flow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:var(--layout-line);border:1px solid var(--layout-line);border-radius:12px;overflow:hidden;margin:8px 0 20px}
.business-layout-v2 .business-flow button{display:grid;grid-template-columns:24px 1fr;gap:6px 7px;border:0;background:#fff;border-radius:0;text-align:left;padding:17px 14px;min-width:0;color:var(--layout-ink);cursor:pointer}
.business-layout-v2 .business-flow button:hover{background:#eaf7f5}
.business-layout-v2 .business-flow button>span{grid-row:1/3;color:#298992;font-size:12px;font-weight:700;padding-top:3px}
.business-layout-v2 .business-flow b{font-size:16px;overflow-wrap:anywhere}
.business-layout-v2 .business-flow small{font-size:12px;color:#667c8c;line-height:1.5}
.business-layout-v2 .home-query{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid var(--layout-line);border-radius:12px;padding:20px;margin:0 0 24px}
.business-layout-v2 .home-query>div{flex-basis:100%;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.business-layout-v2 .home-query b{font-size:17px;color:var(--layout-ink)}
.business-layout-v2 .home-query small{font-size:13px;color:#637b8c}
.business-layout-v2 .home-query label{flex:1;min-width:130px;font-size:13px;color:#526d80}
.business-layout-v2 .home-query label:first-of-type{flex:2;min-width:210px}
.business-layout-v2 .home-query input,.business-layout-v2 .home-query select{min-height:43px;font-size:15px;width:100%;min-width:0;box-sizing:border-box}
.business-layout-v2 .home-query button{min-height:43px}
.business-layout-v2 .hub-workbench .cc-heading{background:#fff;border:1px solid var(--layout-line);border-left:5px solid #138b91;border-radius:12px;padding:26px 25px;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.business-layout-v2 .hub-workbench .cc-heading h2{font-size:30px;color:#173f52;margin:7px 0 12px;letter-spacing:.2px}
.business-layout-v2 .home-scope-note{font-size:14px;line-height:1.8;color:#5a7486;max-width:760px;margin:0}
.business-layout-v2 .cc-heading-actions{display:flex;gap:10px;flex-wrap:wrap}
.business-layout-v2 .cc-heading-actions a{font-size:14px;color:#08717a;text-decoration:none;border:1px solid #c7dfdf;border-radius:7px;padding:10px 13px;background:#f5fbfa}
.business-layout-v2 .hub-section-nav{background:#edf3f6;border:1px solid var(--layout-line);border-radius:10px;padding:8px;display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px;position:static}
.business-layout-v2 .hub-section-nav button{flex:1;min-width:100px;padding:11px;font-size:14px;color:#385b70;border:0;border-radius:7px;background:white;white-space:nowrap}
.business-layout-v2 .cc-executive-row{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:stretch;margin:22px 0 28px}
.business-layout-v2 .cc-executive-row>.order-total-panel{margin:0;box-shadow:none;padding:22px;border:1px solid var(--layout-line);border-radius:12px;background:white}
.business-layout-v2 .order-total-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.business-layout-v2 .order-total-grid article{background:#f4f8fa;border:1px solid #e4edf1;border-radius:8px;padding:17px;min-width:0}
.business-layout-v2 .order-total-grid article:first-child{background:#edf7f5;border-color:#cfe6e1}
.business-layout-v2 .order-total-grid strong{color:#173e52;font-size:30px;overflow-wrap:anywhere;line-height:1.3}
.business-layout-v2 .order-total-grid span{font-size:15px;color:#48667a}
.business-layout-v2 .order-total-grid small,.business-layout-v2 .order-total-basis{font-size:12px;line-height:1.8;color:#60798b}
.business-layout-v2 .cc-attention{padding:22px;background:#fffaf1;border:1px solid #f0dfbb;border-radius:12px;min-width:0}
.business-layout-v2 .cc-attention h3{font-size:21px;margin:8px 0 12px;color:#775d31}
.business-layout-v2 .cc-attention a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #ebdfc8;color:#4e4b40;text-decoration:none;font-size:14px}
.business-layout-v2 .cc-attention small{display:block;font-size:12px;color:#8b7e68;margin-top:6px}
.business-layout-v2 .cc-attention b{font-size:25px;flex-shrink:0}
.business-layout-v2 .cc-attention .cc-status-text{font-size:16px}
.business-layout-v2 .cc-attention>p{font-size:12px;line-height:1.8;color:#8b7e68;margin:16px 0 0}
.business-layout-v2 .cc-section-title{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:30px 0 18px}
.business-layout-v2 .cc-section-title h2{font-size:24px;line-height:1.5;color:#193f52}
.business-layout-v2 .cc-section-title p{font-size:13px;line-height:1.7;color:#657c8d}
.business-layout-v2 .cc-process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.business-layout-v2 .cc-process{border:1px solid var(--layout-line);border-top:3px solid #258b91;border-radius:10px;background:#fff;padding:18px;min-width:0}
.business-layout-v2 .cc-process h3{font-size:19px}.business-layout-v2 .cc-process-number strong{font-size:32px;color:#173e52}
.business-layout-v2 .cc-process-area{padding:11px 0;border-top:1px solid #e7eef2}.business-layout-v2 .cc-process-area b{font-size:20px}
.business-layout-v2 .cc-source-numbers{font-size:13px;padding:9px 0;gap:12px}.business-layout-v2 .cc-process button{font-size:14px}
.business-layout-v2 .cc-basis{font-size:13px;line-height:1.8;color:#62788a}
.business-layout-v2 .hub-comparison-content{margin:28px 0;border-top:1px solid var(--layout-line);padding-top:25px}
.business-layout-v2 .hub-comparison-grid,.business-layout-v2 .cc-energy-grid,.business-layout-v2 .cc-structure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.business-layout-v2 .hub-workbench .hub-panel{background:#fff;border:1px solid var(--layout-line);border-radius:12px;padding:21px;box-shadow:none;min-width:0}
.business-layout-v2 .hub-panel h3{font-size:20px!important;color:#20475b}.business-layout-v2 .hub-panel header p{font-size:13px;line-height:1.7}
.business-layout-v2 .home-area-ledger,.business-layout-v2 .cc-period-ledger{background:#fff;padding:20px;border:1px solid var(--layout-line);border-radius:11px;margin:18px 0;overflow:auto}
.business-layout-v2 .home-area-ledger table{width:100%;font-size:14px}.business-layout-v2 .home-area-ledger td,.business-layout-v2 .home-area-ledger th{padding:12px 10px;text-align:left;border-bottom:1px solid #e8eef3;white-space:normal}
.business-layout-v2 .home-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px}
.business-layout-v2 .home-work-grid button{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--layout-line);padding:22px;border-radius:11px;text-align:left;color:#21475b;cursor:pointer;min-width:0}
.business-layout-v2 .home-work-grid button:hover{border-color:#4ea8a9;background:#f4fbfa}
.business-layout-v2 .home-work-grid b{font-size:18px;display:flex;justify-content:space-between;width:100%;gap:12px}.business-layout-v2 .home-work-grid b span{color:#168890}
.business-layout-v2 .home-work-grid small{font-size:14px;line-height:1.8;color:#647d8d}
.business-layout-v2[data-view=businessdetails] .business-details{margin-top:8px}
.business-layout-v2[data-view=businessdetails] .business-details-heading{padding:24px;border-left:4px solid #138b91;background:white;border-radius:10px}
.business-layout-v2 .business-flow button:focus-visible,.business-layout-v2 .home-work-grid button:focus-visible{outline:3px solid #348bba;outline-offset:-3px}
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.business-layout-v2 .order-total-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.business-layout-v2 .cc-executive-row{grid-template-columns:minmax(0,1fr)}.business-layout-v2 .cc-attention{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.business-layout-v2 .cc-attention header,.business-layout-v2 .cc-attention>p{grid-column:1/-1}.business-layout-v2 .cc-attention a{padding:10px;align-items:start;flex-direction:column}.business-layout-v2 .business-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.business-layout-v2 .home-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.enterprise-shell.business-layout-v2 .workspace{display:block}.enterprise-shell.business-layout-v2 .workspace>main{padding:0 16px}.business-layout-v2 .pw-workspaces{margin:0 -16px;padding:8px;grid-template-columns:repeat(3,minmax(0,1fr));position:static}.business-layout-v2 .pw-workspaces>button{min-height:44px;font-size:15px;padding:10px}.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.business-layout-v2 .hub-comparison-grid,.business-layout-v2 .cc-energy-grid,.business-layout-v2 .cc-structure-grid{grid-template-columns:minmax(0,1fr)}.business-layout-v2 .hub-workbench .cc-heading{padding:20px}.business-layout-v2 .hub-workbench .cc-heading h2{font-size:25px}}
@media(max-width:500px){.business-layout-v2 .business-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.business-layout-v2 .business-flow button{padding:13px 10px}.business-layout-v2 .business-flow b{font-size:15px}.business-layout-v2 .home-query{padding:16px;gap:12px}.business-layout-v2 .home-query>div{gap:6px}.business-layout-v2 .home-query label:first-of-type{flex-basis:100%}.business-layout-v2 .home-query button{flex:1;min-width:100px}.business-layout-v2 .hub-workbench .cc-heading{padding:18px}.business-layout-v2 .hub-workbench .cc-heading h2{font-size:23px}.business-layout-v2 .cc-executive-row>.order-total-panel{padding:16px}.business-layout-v2 .order-total-grid{gap:8px}.business-layout-v2 .order-total-grid article{padding:13px 10px}.business-layout-v2 .order-total-grid strong{font-size:25px}.business-layout-v2 .cc-attention{grid-template-columns:1fr;padding:16px}.business-layout-v2 .cc-attention a{flex-direction:row}.business-layout-v2 .cc-process-grid{gap:10px}.business-layout-v2 .cc-process{padding:13px 10px}.business-layout-v2 .cc-process h3{font-size:17px}.business-layout-v2 .cc-process-number strong{font-size:27px}.business-layout-v2 .cc-process header{flex-wrap:wrap;gap:6px}.business-layout-v2 .cc-source-numbers{flex-wrap:wrap}.business-layout-v2 .cc-process-area{flex-direction:column;align-items:start}.business-layout-v2 .home-work-grid{grid-template-columns:1fr}.business-layout-v2 .hub-workbench .hub-panel{padding:16px}.business-layout-v2 .cc-section-title h2{font-size:22px}}
.business-layout-v2 .order-context-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#e9f4f3;padding:16px 18px;border:1px solid #cee5e1;border-radius:10px;margin:8px 0 22px;font-size:14px;color:#315f69}.business-layout-v2 .order-context-actions span{flex:1;min-width:200px}.business-layout-v2 .order-context-actions button{font-size:14px;padding:9px 12px;background:white;border:1px solid #c2dbda;border-radius:7px;color:#245b66}
.business-layout-v2[data-view=overview] .home-query{padding:14px 18px;gap:9px;margin-bottom:16px}.business-layout-v2[data-view=overview] .home-query>div{gap:12px}.business-layout-v2[data-view=overview] .hub-auto-refresh{padding:10px 16px;margin-bottom:14px;min-height:0}.business-layout-v2[data-view=overview] .hub-workbench .cc-heading{padding:17px 21px;margin-bottom:12px}.business-layout-v2[data-view=overview] .hub-workbench .cc-heading h2{font-size:25px;margin:6px 0}.business-layout-v2[data-view=overview] .cc-executive-row{margin-top:16px}.business-layout-v2[data-view=overview] .cc-live-stream{margin:16px 0}.business-layout-v2[data-view=overview] .business-flow{margin:18px 0 25px}@media(min-width:1280px){.business-layout-v2 .cc-executive-row{grid-template-columns:minmax(0,1fr) 240px}.business-layout-v2 .cc-executive-row>.order-total-panel{padding:18px}.business-layout-v2 .order-total-grid{gap:9px}.business-layout-v2 .order-total-grid article{padding:15px 10px}.business-layout-v2 .order-total-grid strong{font-size:25px}}
.enterprise-shell.business-layout-v2 dialog.detail-workspace.is-readonly:not(.detail-fullscreen){width:min(960px,74vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:14px 0 0 14px;border:0;border-left:1px solid #ccdce6;box-shadow:-16px 0 60px #18364f22}.business-layout-v2 dialog.detail-workspace.is-readonly::backdrop{background:rgb(20 43 61 / 22%)}.enterprise-shell.business-layout-v2 .detail-workspace.is-readonly:not(.detail-fullscreen) .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){.enterprise-shell.business-layout-v2 dialog.detail-workspace.is-readonly:not(.detail-fullscreen){width:100vw;border-radius:0}.enterprise-shell.business-layout-v2 .detail-workspace.is-readonly:not(.detail-fullscreen) .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.enterprise-shell.business-layout-v2 .detail-workspace.is-readonly:not(.detail-fullscreen) .detail-grid{grid-template-columns:minmax(0,1fr)}}
.business-layout-v2 .home-query-shell{background:#fff;border:1px solid var(--layout-line);border-radius:10px;margin-bottom:17px}.business-layout-v2 .home-query-shell>summary{cursor:pointer;padding:15px 18px;font-weight:600;color:#214b60;font-size:15px}.business-layout-v2 .home-query-shell>summary>span{font-weight:400;color:#658092;font-size:13px;margin-left:15px}.business-layout-v2 .home-query-shell .home-query{margin:0;border:0;border-top:1px solid var(--layout-line);border-radius:0}.business-layout-v2 .cc-process>header{display:flex;gap:8px;justify-content:space-between;align-items:center}.business-layout-v2 .cc-process h3{margin:0}.business-layout-v2 .cc-state{font-size:11px;color:#567686;background:#edf4f5;border-radius:4px;padding:3px 5px}.business-layout-v2 .cc-state.is-review{color:#936325;background:#fff2da}.business-layout-v2 .cc-process-number{display:flex;gap:10px;align-items:baseline;margin:13px 0}.business-layout-v2 .cc-process-number>span,.business-layout-v2 .cc-process-area>span{font-size:12px;color:#658092}.business-layout-v2 .cc-process-area{display:flex;gap:8px;align-items:center;justify-content:space-between}.business-layout-v2 .cc-area-note{font-size:11px;color:#7a8f9c;line-height:1.7}.business-layout-v2 .cc-source-numbers{display:flex;gap:13px;flex-wrap:wrap}.business-layout-v2 .cc-process>button{display:block;background:#f2f8f9;border:1px solid #d6e5e9;color:#286b78;border-radius:6px;padding:9px 11px;width:100%;text-align:left}.business-layout-v2 .cc-reconciliation-detail{margin:15px 0;border:1px solid var(--layout-line);border-radius:9px;padding:13px;background:#fff;font-size:14px;color:#486c7c}.business-layout-v2 .cc-reconciliation-detail summary{cursor:pointer}.business-layout-v2 .cc-energy-headline{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;background:#eef7f4;border:1px solid #cee5db;border-radius:10px;padding:20px;margin-bottom:18px}.business-layout-v2 .cc-energy-headline span{display:block;font-size:14px;color:#467566}.business-layout-v2 .cc-energy-headline strong{font-size:30px;color:#1b6159}.business-layout-v2 .cc-energy-headline small{font-size:14px}.business-layout-v2 .cc-energy-headline p{font-size:13px;line-height:1.7;color:#55796d}.business-layout-v2 .cc-period-ledger h3{font-size:20px;margin:0 0 7px}.business-layout-v2 .cc-period-ledger header{font-size:13px;color:#627c8b;margin-bottom:15px}.business-layout-v2 .cc-quantity-charts,.business-layout-v2 .cc-structure-grid{margin-top:18px}@media(max-width:600px){.business-layout-v2 .home-query-shell>summary>span{display:block;margin:5px 0 0 18px}.business-layout-v2[data-view=overview] .hub-auto-refresh{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.business-layout-v2 .hub-auto-refresh>label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:13px}.business-layout-v2 .hub-auto-refresh select{width:100%;min-width:0;max-width:180px;font-size:13px}.business-layout-v2 .hub-auto-refresh>span{grid-column:1/-1;font-size:12px}.business-layout-v2 .hub-auto-refresh>button{font-size:13px;padding:9px}.business-layout-v2 .service-strip>span:not([id]){display:none}.business-layout-v2 .cc-process>header{flex-wrap:wrap}.business-layout-v2 .cc-process-area{align-items:start;flex-direction:column}.business-layout-v2 .cc-source-numbers{font-size:11px;gap:7px}.business-layout-v2 .hub-workbench .cc-heading{padding:15px}.business-layout-v2 .home-scope-note{font-size:12px}.business-layout-v2 .cc-heading-actions a{padding:8px 10px;font-size:13px}.business-layout-v2 .cc-heading-actions{gap:7px}}
@media(max-width:500px){.business-layout-v2 .order-total-grid article:first-child{grid-column:1/-1}.business-layout-v2 .order-total-grid strong{white-space:nowrap;overflow-x:auto;overflow-wrap:normal;font-size:22px}.business-layout-v2 .order-total-grid article:first-child strong{font-size:28px}}
/* END BUSINESS LAYOUT */


/* Keep the area number intact; its adjacent unit contains no explanatory suffix. */
.business-layout-v2 .cc-process-number.cc-joint-primary{gap:6px;flex-wrap:wrap}.business-layout-v2 .cc-joint-primary strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}.business-layout-v2 .cc-joint-primary>span{white-space:nowrap;flex-shrink:0}.business-layout-v2 .cc-joint-primary.is-long strong{font-size:24px}

/* Keep summary units beside values at all viewport sizes. */
.order-total-grid .order-total-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:10px 0}.order-total-grid .order-total-value strong{margin:0;white-space:nowrap;overflow-wrap:normal}.order-total-grid .order-total-value .order-total-unit{font-size:16px;font-weight:500;white-space:nowrap;color:#48667a}

.process-history-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.process-history-filter label{display:grid;gap:6px}.process-history-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.process-history-summary{margin:12px 0 26px;padding:16px;background:#eef7f6;border:1px solid #cce4df;border-radius:10px}.process-history-summary h4{margin:0 0 12px;font-size:18px}.process-history-summary small{font-size:13px;font-weight:400}.process-history-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.process-history-total-grid article{display:flex;flex-direction:column;gap:7px}.process-history-total-grid strong{font-size:22px;color:#164958;font-variant-numeric:tabular-nums}.process-history-summary p{font-size:13px;line-height:1.7}.process-history [data-process-status]{color:#255b73;line-height:1.7}

/* Optimization precedes cutting in the process row. */
@media(min-width:1280px){.business-layout-v2 .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-optimization{border-top:3px solid #168c77}.cc-optimization .optimization-card-periods{display:grid;gap:16px;padding:10px 0}.optimization-card-period>span{font-size:14px}.optimization-card-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:6px 0}.optimization-card-number b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.optimization-card-number>span{font-size:14px}.optimization-card-period>small{display:block;font-size:12px;line-height:1.6;color:#60798b}.cc-optimization>button{margin-top:auto}

@media(min-width:1280px){.business-layout-v2 .cc-joint-primary.is-long strong{font-size:clamp(14px,1.25vw,24px)}}

/* Clear daily results, visible totals, secondary source evidence. */
.business-layout-v2 .cc-source-detail{border-top:1px solid #dce8ed;padding-top:10px;margin:5px 0 14px;font-size:13px;color:#526d7b}.business-layout-v2 .cc-source-detail summary{cursor:pointer;line-height:1.7;font-weight:600}.business-layout-v2 .cc-source-detail[open] summary{margin-bottom:12px}.business-layout-v2 .cc-source-detail .cc-process-area{margin:8px 0}.business-layout-v2 .cc-record-note{min-height:20px}.business-layout-v2 .cc-process>button{margin-top:auto;min-height:43px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin:14px 0 10px}.business-layout-v2 .cc-process-area.cc-process-quantity{background:#f4f8fa;padding:8px;border-radius:6px}
.process-history{font-size:16px;line-height:1.65;color:#254657}.history-toolbar{position:sticky;top:-20px;z-index:6;background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:16px 18px;box-shadow:0 3px 10px #163e5010;margin-bottom:20px}.history-toolbar>p{font-size:13px;margin:8px 0 0;color:#5f7583}.history-toolbar [data-process-status]{margin-top:8px;font-size:14px;font-weight:500}.process-history-filter{gap:10px 14px}.process-history-filter label{font-size:14px}.process-history-filter input{font-size:16px;min-height:44px}.process-history-filter button{min-height:44px}.process-history-shortcuts{margin-left:auto}.history-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0}.history-result-heading h3{font-size:22px;margin:0;color:#123f51}.history-result-heading>span{font-size:14px;color:#557082}.history-brief{font-size:14px;color:#5f7785;margin:6px 0 14px}.process-history .production-screen-table{overflow:auto;max-height:45vh;border:1px solid #dae5ed;border-radius:8px;margin:0}.process-history .production-screen-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;min-width:680px}.process-history .production-screen-table th,.process-history .production-screen-table td{padding:12px 14px;line-height:1.6;vertical-align:middle;border-bottom:1px solid #e5edf2;white-space:nowrap}.process-history .production-screen-table th{position:sticky;top:0;z-index:2;background:#eaf1f6;color:#2d4b5d;font-size:14px;font-weight:600}.process-history .production-screen-table th:first-child{left:0;z-index:4}.process-history .production-screen-table td:first-child{position:sticky;left:0;z-index:1;background:#fff}.process-history .production-screen-table tbody tr:nth-child(even) td{background:#f7fafc}.process-history .production-screen-table tbody tr:hover td{background:#edf6f7}.process-history .production-screen-table .history-numeric{text-align:right;font-variant-numeric:tabular-nums}.history-main>.production-screen-table td:nth-child(2){color:#096e75;font-size:18px;font-weight:650}.history-quality{display:inline-block;border-radius:5px;background:#eef6f3;color:#34695e;padding:3px 7px;font-size:13px}.history-quality.is-review{background:#fff3de;color:#8c621c}.history-audit{border:1px solid #dbe6ed;border-radius:9px;padding:14px 16px;margin:18px 0;background:#fafcfd}.history-audit>summary{font-size:16px;cursor:pointer;font-weight:600;color:#3c596b}.history-audit>summary>span{font-size:13px;font-weight:400;margin-left:12px;color:#6b7e8c}.history-audit[open]>summary{margin-bottom:18px}.history-audit p{font-size:14px;line-height:1.8}.process-history .process-history-summary{padding:18px;margin:14px 0 20px}.process-history-summary h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:18px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.process-history-summary .history-total-primary{grid-column:span 3;background:#fff;border:1px solid #d6e8e3;border-radius:8px;padding:14px}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 2}.process-history-summary .history-total-secondary{padding:9px 4px;border-top:1px solid #d2e5df}.process-history-summary article>span{font-size:14px}.process-history-summary .history-total-primary strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.4}.process-history-summary .history-total-secondary strong{font-size:18px}.process-history-summary strong small{display:inline!important;font-size:14px;font-weight:400;margin:0 0 0 3px;white-space:nowrap}.process-history-summary article>small{display:block;font-size:12px;line-height:1.6}.process-history-summary h4>small{display:inline;font-size:13px}.process-history-summary>p{margin:12px 0 0;font-size:13px}
@media(max-width:900px){.process-history-summary .process-history-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 3}.process-history-summary[data-process-summary=optimization] .history-total-primary{grid-column:span 1}.process-history-shortcuts{margin-left:0}.history-toolbar{position:static}.process-history-summary .history-total-primary strong{font-size:24px}}
@media(max-width:600px){.history-toolbar{padding:12px}.process-history-filter label{flex:1;min-width:120px}.process-history-filter input{width:100%;min-width:0}.process-history-shortcuts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.process-history-shortcuts button{padding:8px 4px;font-size:13px}.process-history .process-history-summary{padding:12px}.process-history-summary .process-history-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-summary .history-total-primary{grid-column:span 1}.process-history-summary[data-process-summary=optimization] .history-total-primary:first-child{grid-column:1/-1}.process-history-summary .history-total-secondary{font-size:13px}.history-audit{padding:12px}.history-result-heading h3{font-size:20px}.history-audit>summary>span{display:block;margin:5px 0 0}.process-history .production-screen-table td,.process-history .production-screen-table th{padding:10px 12px}}

.business-layout-v2 .cc-process{display:flex;flex-direction:column}.business-layout-v2 .cc-process>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:61px}.business-layout-v2 .cc-process>header h3{white-space:nowrap;line-height:1.4}.business-layout-v2 .cc-process>header .cc-state{font-size:11px;line-height:1.5;padding:3px 5px;max-width:100%}.business-layout-v2 .cc-optimization .optimization-card-periods{gap:10px;padding:5px 0 14px}.business-layout-v2 .cc-optimization .optimization-card-number{margin:3px 0}.business-layout-v2 .cc-optimization .optimization-card-number b{font-size:20px}.business-layout-v2 .cc-process>button{white-space:nowrap;font-size:13px;padding:9px 8px}.business-layout-v2 .cc-process-number.cc-joint-primary{margin-top:10px}
@media(max-width:600px){.process-history-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.process-history-filter label{min-width:0}.process-history-filter>button,.process-history-shortcuts{grid-column:1/-1}.process-history-filter input{padding:9px 7px;font-size:15px;min-width:0;box-sizing:border-box}.process-history-filter>button{justify-self:stretch}}
/* BEGIN READABLE TYPOGRAPHY */
/* Shared type scale: readable body, supporting copy, headings and numeric values. */
body.enterprise-shell{--ui-body:16px;--ui-small:14px;--ui-title:26px;--ui-heading:21px;--ui-number:30px;--ui-cell-y:12px;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:var(--ui-body);line-height:1.65;color:#203e52}
body.enterprise-shell[data-font-size=large]{--ui-body:18px;--ui-small:16px;--ui-title:29px;--ui-heading:23px;--ui-number:33px}
body.enterprise-shell[data-font-size=xlarge]{--ui-body:20px;--ui-small:18px;--ui-title:32px;--ui-heading:25px;--ui-number:36px}
body.enterprise-shell[data-density=compact]{--ui-cell-y:9px}
.enterprise-shell :is(button,input,select,textarea){font-family:inherit;font-size:var(--ui-body)!important;line-height:1.5}
.enterprise-shell :is(button,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select){min-height:42px;box-sizing:border-box}
.enterprise-shell :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #168a9e;outline-offset:3px}
.enterprise-shell :is(h1,#page-title){font-size:var(--ui-title)!important;line-height:1.35;overflow-wrap:break-word}
.enterprise-shell :is(h2,h3){font-size:var(--ui-heading)!important;line-height:1.4;overflow-wrap:break-word}
.enterprise-shell :is(p,label,dt,dd){font-size:var(--ui-body);line-height:1.65}
.enterprise-shell :is(small,.subtle,.eyebrow,.cc-kicker,.hub-eyebrow,.cc-area-note,.cc-basis,.hub-footnote,.order-total-basis,.history-brief,.history-quality,.service-strip,.source-note,.journey-warning,.console-row-count,.cc-state,.optimization-card-period>span,.optimization-card-period>small,.process-history-summary article>span,.process-history-summary article>small){font-size:var(--ui-small)!important;line-height:1.6}
.enterprise-shell :is(.subtle,.cc-area-note,.hub-footnote,.order-total-basis,.source-note){color:#516a7a}
.enterprise-shell :is(.workspace>main,#page-content,.hub-panel,.card,.console-table,.source-result,.journey-panel,.pw-panel){min-width:0}
.enterprise-shell :is(.topbar,.header-actions,.toolbar,.source-result-header,.console-table-tools,.journey-heading,.online-detail-title){flex-wrap:wrap;gap:12px}
.enterprise-shell .topbar{height:auto!important;min-height:88px;align-items:center}
.enterprise-shell .topbar-title{min-width:180px;flex:1}.enterprise-shell .header-actions{margin-left:auto;justify-content:flex-end;max-width:100%}
.enterprise-shell .type-size-control{display:flex;align-items:center;gap:6px;white-space:nowrap;margin:0;font-size:var(--ui-small)!important}.enterprise-shell .type-size-control select{width:auto;min-width:92px;padding:7px 26px 7px 10px;font-size:var(--ui-small)!important}
.enterprise-shell :is(.table-wrap,.production-screen-table,.source-table,.console-table-scroll){max-width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-gutter:stable}
.enterprise-shell table{font-size:var(--ui-body)!important;line-height:1.6;font-variant-numeric:tabular-nums}
.enterprise-shell :is(th,td){font-size:var(--ui-body)!important;line-height:1.6;padding:var(--ui-cell-y) 14px!important;vertical-align:middle}
.enterprise-shell th{font-weight:650;background:#eef4f8;white-space:nowrap}
.enterprise-shell tbody tr:nth-child(even)>td{background-color:#f7fafc}.enterprise-shell tbody tr:hover>td{background-color:#edf6f8}
.enterprise-shell :is(td small,td .subtle){font-size:var(--ui-small)!important;line-height:1.6;overflow-wrap:anywhere}
.enterprise-shell :is(td.numeric-cell,th.numeric-cell,.history-numeric){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.enterprise-shell :is(.order-total-value strong,.cc-joint-primary strong,.process-history-summary .history-total-primary strong){font-size:var(--ui-number)!important;line-height:1.25;letter-spacing:-.4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.enterprise-shell :is(.order-total-unit,.cc-joint-primary>span,.process-history-summary strong small){font-size:var(--ui-small)!important;display:inline;white-space:nowrap}
.enterprise-shell :is(.order-total-value,.cc-joint-primary){display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}
.enterprise-shell .cc-process-grid{gap:16px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch}
.enterprise-shell .cc-process{padding:18px 16px!important}.enterprise-shell .cc-process>header{height:auto;min-height:76px;gap:8px}.enterprise-shell .cc-process>header h3{white-space:normal}.enterprise-shell .cc-process>button{white-space:normal;min-height:44px}.enterprise-shell .cc-process-number.cc-joint-primary{min-height:45px}
.enterprise-shell .cc-joint-primary.is-long strong{font-size:calc(var(--ui-number) - 6px)!important}.enterprise-shell .cc-source-detail{font-size:var(--ui-small);line-height:1.7}
.enterprise-shell .order-total-grid{gap:14px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.enterprise-shell .order-total-grid article{padding:18px!important}.enterprise-shell .order-total-grid article>span{font-size:var(--ui-body)!important}
.enterprise-shell :is(.hub-section-nav,.business-flow){gap:8px}.enterprise-shell .hub-section-nav{display:flex;flex-wrap:wrap}.enterprise-shell .hub-section-nav button{flex:1 1 130px}
.enterprise-shell .sidebar :is(button,a){line-height:1.5;white-space:normal}.enterprise-shell .sidebar .brand{overflow-wrap:break-word}
.enterprise-shell :is(.hub-chart-legend,.hub-rank-head,.distribution-row,.trend-bar,.chart-tooltip){font-size:var(--ui-small)!important}
.enterprise-shell :is(.hub-axis,.hub-chart-value){font-size:14px}.enterprise-shell .process-history{font-size:var(--ui-body)}
.enterprise-shell .process-history-filter{align-items:end;gap:12px}.enterprise-shell .process-history-filter label{min-width:160px}.enterprise-shell .process-history-filter input{width:100%;min-width:160px}
.enterprise-shell .history-toolbar{top:0}.enterprise-shell .process-history .production-screen-table{max-height:52vh}.enterprise-shell .process-history-summary{padding:20px!important}
.enterprise-shell .process-history-total-grid{gap:14px!important}.enterprise-shell .process-history-summary .history-total-secondary strong{font-size:var(--ui-heading)!important}
.enterprise-shell dialog.detail-workspace #editor-body{padding:22px 26px}.enterprise-shell :is(.detail-grid,.report-grid){gap:16px}.enterprise-shell .detail-grid dd{font-size:var(--ui-body)!important;overflow-wrap:anywhere}
.enterprise-shell .history-result-heading>span{font-size:var(--ui-small)!important}.enterprise-shell .detail-navigation{gap:10px;padding:12px 20px}
.enterprise-shell :is(.camera-controls,.camera-toolbar,.gps-toolbar,.ocr-toolbar,.explore-toolbar){flex-wrap:wrap;gap:12px}
.enterprise-shell :is(.camera-tile,.camera-card,.gps-map,.vehicle-map){min-width:0}.enterprise-shell :is(.camera-tile video,.camera-card video,canvas){max-width:100%}
.enterprise-shell .login-card{width:min(480px,100%);min-width:0}.enterprise-shell .login-card label{margin-bottom:16px}.enterprise-shell .login-brand h1{font-size:clamp(32px,3.4vw,54px)!important}
@media(min-width:1700px){.enterprise-shell:not([data-font-size=large]):not([data-font-size=xlarge]) .cc-process-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}.enterprise-shell:not([data-font-size=xlarge]) .order-total-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1199px){.enterprise-shell .cc-process-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.enterprise-shell .cc-executive-row{grid-template-columns:minmax(0,1fr)!important}.enterprise-shell .header-actions{justify-content:flex-start}}
@media(max-width:900px){.enterprise-shell :is(.hub-comparison-grid,.cc-energy-grid,.cc-structure-grid,.pw-two-columns){grid-template-columns:minmax(0,1fr)!important}.enterprise-shell .cc-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.enterprise-shell .pw-workspaces{position:static!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.enterprise-shell .history-toolbar{position:static}}
@media(max-width:600px){.enterprise-shell .topbar{padding:14px 0!important;gap:10px}.enterprise-shell .topbar-title{min-width:0;flex:1}.enterprise-shell .header-actions{width:100%;margin:0;gap:8px}.enterprise-shell .header-actions>*{flex-shrink:0}.enterprise-shell .type-size-control{margin-right:auto}.enterprise-shell .workspace>main{padding-left:12px!important;padding-right:12px!important}.enterprise-shell .pw-workspaces{margin-left:-12px!important;margin-right:-12px!important;padding:8px!important}.enterprise-shell .cc-process-grid{gap:10px!important}.enterprise-shell .cc-process{padding:14px 12px!important}.enterprise-shell .cc-process h3{font-size:19px!important}.enterprise-shell .cc-joint-primary strong{font-size:26px!important}.enterprise-shell .cc-joint-primary.is-long strong{font-size:20px!important}.enterprise-shell .order-total-grid{grid-template-columns:minmax(0,1fr)!important}.enterprise-shell .order-total-grid article{grid-column:auto!important}.enterprise-shell :is(.toolbar,.console-table-tools){gap:10px}.enterprise-shell .toolbar label{flex:1 1 145px;min-width:0}.enterprise-shell :is(input,select,textarea){max-width:100%}.enterprise-shell .process-history-filter{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.enterprise-shell .process-history-filter label,.enterprise-shell .process-history-filter input{min-width:0}.enterprise-shell .process-history-filter input{padding:9px 5px;font-size:16px!important}.enterprise-shell .process-history-shortcuts{display:flex;flex-wrap:wrap}.enterprise-shell .process-history-shortcuts button{flex:1 1 65px;font-size:14px!important}.enterprise-shell dialog.detail-workspace #editor-body{padding:14px 12px}.enterprise-shell .process-history-summary{padding:14px!important}.enterprise-shell .process-history-summary .history-total-primary{padding:12px}.enterprise-shell .process-history-summary .history-total-primary strong{font-size:26px!important}.enterprise-shell .history-result-heading>span{display:block}.enterprise-shell .detail-navigation{padding:10px 12px}.enterprise-shell .detail-grid{grid-template-columns:minmax(0,1fr)!important}.enterprise-shell :is(.hub-panel,.card){max-width:100%;box-sizing:border-box}.enterprise-shell .business-flow{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.enterprise-shell[data-font-size=xlarge] .cc-process-grid{grid-template-columns:minmax(0,1fr)!important}}


/* Keep legacy module-specific text rules from shrinking the shared scale. */
body.enterprise-shell :is(p,label,dt,dd){font-size:var(--ui-body)!important}
body.enterprise-shell :is(small,.subtle,.eyebrow,.cc-kicker,.hub-eyebrow,.cc-area-note,.cc-basis,.hub-footnote,.order-total-basis,.history-brief,.history-quality,.source-note,.journey-warning,.console-row-count,.cc-state,.home-scope-note,.service-strip,.service-strip span,.hub-auto-refresh>span,.source-status,.process-history-filter label,.history-toolbar>p,.history-result-heading>span,.detail-navigation>span,.order-total-grid article>small){font-size:var(--ui-small)!important;line-height:1.6}
body.enterprise-shell .type-size-control{display:flex!important;flex-direction:row!important;font-size:var(--ui-small)!important;align-items:center;gap:7px}
body.enterprise-shell .sidebar .brand small{font-size:14px!important;line-height:1.5;letter-spacing:0}
@media(min-width:1200px){body.enterprise-shell[data-font-size=xlarge] .workspace{grid-template-columns:270px minmax(0,1fr)}body.enterprise-shell[data-font-size=xlarge] .sidebar{width:auto}}
@media(max-width:600px){body.enterprise-shell .header-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center}body.enterprise-shell .header-actions .type-size-control{grid-column:1/3;grid-row:2;justify-content:flex-start}body.enterprise-shell .header-actions #logout{grid-column:3;grid-row:2}body.enterprise-shell .header-actions>*{min-width:0}body.enterprise-shell .header-actions button,body.enterprise-shell .header-actions a{padding:9px 6px;font-size:16px!important}body.enterprise-shell .header-actions #user-badge:empty{display:none}}

body.enterprise-shell :where(span:not([aria-hidden=true]):not(.sr-only)){font-size:max(1em,var(--ui-small))!important}
body.enterprise-shell :is(summary,.hub-empty,.gps-empty,.journey-status,.hub-data-warning){font-size:var(--ui-body)!important;line-height:1.65}
body.enterprise-shell :is(.cc-edition,.detail-feed-source,.catalog-description,.hub-long-text,.trace-number,.gps-mini,.gps-tag,.pill){font-size:var(--ui-small)!important}

body.enterprise-shell :is(.empty b,.metric-row strong,.hub-compare-card>b,.gps-quality b,.cc-heading-actions a,.analysis-filter-panel b,.distribution-row b,.console-task b,.hub-sources b,.hub-band-values b,.pw-value-chain b){font-size:var(--ui-small)!important;line-height:1.6}
body.enterprise-shell :is(.notice,.empty,.analysis-meta,.glass-summary){font-size:var(--ui-small)!important;line-height:1.65}
/* END READABLE TYPOGRAPHY */
﻿/* BEGIN WORKBENCH EDITION */
.workbench-edition {
  --work-ink: #15293c;
  --work-muted: #516a7b;
  --work-line: #d5e2e7;
  --work-surface: #fff;
  --work-page: #edf3f5;
  --work-accent: #076d66;
  --work-accent-hover: #095954;
  --work-selected: #dcf0ec;
}
body.enterprise-shell.workbench-edition .workspace {grid-template-columns: 252px minmax(0, 1fr)}
body.enterprise-shell.workbench-edition[data-font-size=xlarge] .workspace {grid-template-columns: 280px minmax(0, 1fr)}
body.enterprise-shell.workbench-edition .workspace > main {
  background: var(--work-page);
  padding: 0 clamp(18px, 2.3vw, 38px);
}
body.enterprise-shell.workbench-edition .sidebar {
  background: #101c2c;
  color: #cfdee9;
  border-right: 1px solid #24374d;
  padding: 24px 16px;
}
.workbench-edition .sidebar .brand {color: #fff !important; gap: 10px}
.workbench-edition .sidebar .brand small {color: #abc1ce !important}
.workbench-edition .sidebar .brand-icon {
  background: #53d8ca;
  color: #101c2c;
  border: 0;
  box-shadow: none;
}
.workbench-edition .sidebar .console-nav-search {
  margin: 26px 0 16px !important;
  background: #1e3044 !important;
  border-color: #3a5168 !important;
  color: #fff;
}
.workbench-edition .sidebar #nav-search {color: #f7fbff}
.workbench-edition .sidebar #nav-search::placeholder {color: #b5c8d7}
.workbench-edition .sidebar #nav-search-empty,
.workbench-edition .sidebar .nav-close {color: #f1f7fb !important}
.workbench-edition #navigation .pw-nav-label {
  padding: 0 8px 10px;
  margin: 0 0 12px;
  color: #f6fbff;
  font-weight: 700;
  letter-spacing: 0;
  font-size: var(--ui-body);
  border: 0;
  border-bottom: 1px solid #32475b;
}
.workbench-subgroup {margin-bottom: 18px}
body.enterprise-shell.workbench-edition .workbench-subgroup > p {
  color: #9db5c6;
  font-size: var(--ui-small) !important;
  margin: 0 8px 6px;
}
body.enterprise-shell.workbench-edition #navigation .section-subnav {gap: 3px}
body.enterprise-shell.workbench-edition #navigation .section-subnav button {
  color: #e2edf4;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  border-radius: 8px;
  padding: 10px 11px;
  margin: 0;
  min-height: 44px;
  width: 100%;
  height: auto;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.enterprise-shell.workbench-edition #navigation .section-subnav button:hover {background: #23394d; color: #fff}
body.enterprise-shell.workbench-edition #navigation .section-subnav button.active {
  background: #23463f;
  border-color: #346353;
  color: #f3fffc;
  box-shadow: inset 3px 0 #53d8ca;
}
.workbench-edition .sidebar .sidebar-bottom {color: #d0dce6 !important; border-color: #344759 !important}
.workbench-edition .sidebar .sidebar-bottom :is(small,b) {color: #a9bfcb !important}
body.enterprise-shell.workbench-edition .topbar {
  padding: 20px 0 16px;
  min-height: 84px;
  background: transparent;
  border: 0;
}
.workbench-edition .topbar h1 {color: var(--work-ink) !important}
.workbench-edition .topbar #console-breadcrumb {color: var(--work-muted); letter-spacing: 0}
.workbench-edition .header-actions {align-items: center; gap: 8px}
.workbench-edition .header-actions .header-screen-link {
  min-height: 42px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #172b3d;
  border: 1px solid #172b3d;
  border-radius: 8px;
  font-weight: 650;
  box-shadow: none;
  white-space: nowrap;
}
.workbench-edition .header-actions .header-screen-link:hover {background: #24455b}
body.enterprise-shell.workbench-edition .pw-workspaces {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
  padding: 7px;
  min-height: 0;
  border: 1px solid var(--work-line);
  border-radius: 13px;
  background: var(--work-surface);
  z-index: 1;
}
body.enterprise-shell.workbench-edition .pw-workspaces > button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 73px;
  padding: 10px 13px;
  color: var(--work-ink);
  background: #f1f6f7;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  text-align: left;
  white-space: normal;
  line-height: 1.35;
}
.workbench-edition .pw-workspaces > button strong {font-size: inherit; font-weight: 700}
.workbench-edition .pw-workspaces > button small {color: var(--work-muted); white-space: normal}
body.enterprise-shell.workbench-edition .pw-workspaces > button:hover {background: #e6f4f1; border-color: #bbdbd3}
body.enterprise-shell.workbench-edition .pw-workspaces > button.is-workspace-active {
  background: #d9efe9;
  color: #064d46;
  border-color: #9dccbf;
  box-shadow: inset 0 -3px #0d7d71;
}
.workbench-edition .service-strip {
  margin: 0 0 18px;
  padding: 8px 12px;
  background: #e2ebef;
  border: 0;
  border-radius: 8px;
}
.workbench-edition .service-strip #page-time {margin-left: auto}
.workbench-edition #page-content > :first-child {scroll-margin-top: 20px}
body.enterprise-shell.workbench-edition :is(.card,.hub-workbench .hub-panel,.pw-inspector,.pw-metric-detail,.order-total-panel,.process-history .history-toolbar) {
  background-color: var(--work-surface);
  border-color: var(--work-line);
  border-radius: 12px;
  box-shadow: 0 2px 4px #0830400a;
}
.workbench-edition #page-content :is(.toolbar,.console-table-tools,.pw-filter,.source-catalog-filter,.source-top-actions,.explore-filter) {
  background-color: #f6f9fa;
  border-color: var(--work-line);
  border-radius: 9px;
  gap: 10px 12px;
}
.workbench-edition #page-content :is(th,.console-table-tools) {background-color: #e9f1f3}
.workbench-edition #page-content :is(td,th) {border-color: #dfebef}
.workbench-edition #page-content :is(.table-wrap,.production-screen-table) {border-radius: 8px; min-width: 0}
body.enterprise-shell.workbench-edition :is(button,a).primary {
  background: var(--work-accent);
  border: 1px solid var(--work-accent);
  border-radius: 8px;
  color: #fff;
  font-weight: 650;
  box-shadow: none;
}
body.enterprise-shell.workbench-edition :is(button,a).primary:not(:disabled):hover {
  background: var(--work-accent-hover);
  border-color: var(--work-accent-hover);
}
body.enterprise-shell.workbench-edition :is(button,a).secondary {
  background: #fff;
  border: 1px solid #b9cdd5;
  border-radius: 8px;
  color: #214355;
  box-shadow: none;
}
body.enterprise-shell.workbench-edition :is(button,a).secondary:not(:disabled):hover {background: #eef7f5; border-color: #6cad9d}
body.enterprise-shell.workbench-edition :is(button,a).secondary[aria-pressed=true] {
  background: var(--work-selected);
  border-color: #82b9ac;
  color: #084f49;
}
body.enterprise-shell.workbench-edition .text-button {border-radius: 7px; color: #0a6158}
body.enterprise-shell.workbench-edition .text-button:not(:disabled):hover {background-color: #dcefeb}
body.enterprise-shell.workbench-edition #workspace-sidebar .text-button {color: #f1fbff}
body.enterprise-shell.workbench-edition :is(button,input,select,textarea):focus-visible {outline-color: #0c8d80}
body.enterprise-shell.workbench-edition #navigation :is(button,a):focus-visible {outline-color: #69dfd1}
.workbench-edition .hub-workbench .cc-heading {
  background: #153345;
  border-color: #153345;
  border-left: 5px solid #53d8ca;
  color: #f2f8fa;
  box-shadow: none;
}
.workbench-edition .hub-workbench .cc-heading :is(h2,.cc-kicker,.home-scope-note) {color: #f2f8fa !important}
.workbench-edition .hub-workbench .cc-heading-actions > a {
  background: #214756;
  border-color: #476877;
  color: #f2f8fa;
  white-space: normal;
}
.workbench-edition .hub-workbench .cc-heading-actions > a:hover {background: #285d65}
body.enterprise-shell.workbench-edition .hub-business-home .order-total-grid article {
  background: #f6f9fa;
  border: 1px solid var(--work-line);
  border-top: 3px solid #84a3b0;
}
body.enterprise-shell.workbench-edition .hub-business-home .order-total-grid article:first-child {
  background: #ebf6f2;
  border-top-color: #1b917d;
}
.workbench-edition .cc-process {background: #fff !important; border-top-color: #6c909e !important}
.workbench-edition .cc-optimization {background: #edf8f4 !important; border-top-color: #178576 !important}
.workbench-edition .cc-process > button {background: #edf5f5 !important; color: #164c4a !important}
.workbench-edition .cc-process > button:hover {background: #deefeb !important}
.workbench-edition .hub-section-nav > button {background: #fff; border-color: #c8dae1; border-radius: 8px}
.workbench-edition .hub-section-nav > button:hover {background: #e1f1ed}
.workbench-edition :is(.order-total-value strong,.cc-joint-primary strong,.process-history-summary strong) {color: #124351}
.workbench-edition dialog.detail-workspace .dialog-heading {background: #e8f2f4; border-bottom: 1px solid #ccdee4}
.workbench-edition .login-brand h1 {color: #fff}
.workbench-edition .login-card {border: 1px solid var(--work-line)}
@media (max-width: 1199px) and (min-width: 901px) {
  body.enterprise-shell.workbench-edition .pw-workspaces {grid-template-columns: repeat(3, minmax(0, 1fr))}
}
@media (max-width: 900px) {
  body.enterprise-shell.workbench-edition .workspace > main {padding-inline: 16px}
  body.enterprise-shell.workbench-edition .sidebar {width: min(330px, calc(100vw - 38px))}
  body.enterprise-shell.workbench-edition .pw-workspaces {grid-template-columns: repeat(3, minmax(0, 1fr)) !important}
  body.enterprise-shell.workbench-edition .pw-workspaces > button {padding: 8px 9px; min-height: 66px}
}
@media (max-width: 600px) {
  body.enterprise-shell.workbench-edition .topbar {padding: 13px 0 12px !important}
  body.enterprise-shell.workbench-edition .pw-workspaces {margin: 0 0 9px !important; padding: 5px !important; gap: 5px}
  body.enterprise-shell.workbench-edition .pw-workspaces > button {min-height: 48px; align-items: center; padding: 7px 5px; text-align: center}
  .workbench-edition .pw-workspaces > button small {display: none}
  .workbench-edition .service-strip #page-time {margin-left: 0}
  .workbench-edition .hub-workbench .cc-heading {padding: 17px 15px}
}
@media (max-width: 380px) {
  body.enterprise-shell.workbench-edition[data-font-size=xlarge] .pw-workspaces {grid-template-columns: repeat(2, minmax(0, 1fr)) !important}
}
.workbench-edition .workbench-home-tools {display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; margin: 16px 0 12px}
body.enterprise-shell.workbench-edition .workbench-home-tools :is(.hub-auto-refresh,.home-query-shell) {margin: 0}
body.enterprise-shell.workbench-edition .cc-executive-row > .order-total-panel {background: var(--work-surface); border-color: var(--work-line)}
@media (max-width: 600px) {body.enterprise-shell.workbench-edition .cc-heading .cc-kicker {display: none}.workbench-edition .hub-workbench .cc-heading {margin-bottom: 12px}}
/* END WORKBENCH EDITION */
/* BEGIN TASK WORKBENCH */
body.task-workbench {
  --task-bg: #f3f5f9;
  --task-text: #1c2d46;
  --task-muted: #546683;
  --task-edge: #dce4f0;
  --task-accent: #2857b6;
  --task-tint: #eaf0fe;
}
body.enterprise-shell.task-workbench .workspace {
  grid-template-columns: 250px minmax(0, 1fr);
}
body.enterprise-shell.task-workbench[data-font-size=xlarge] .workspace {
  grid-template-columns: 285px minmax(0, 1fr);
}
body.enterprise-shell.task-workbench .workspace > main {
  background: var(--task-bg);
  padding-inline: clamp(20px, 3vw, 54px);
}
body.enterprise-shell.task-workbench .sidebar {
  background: #fbfcff;
  border-right: 1px solid var(--task-edge);
  color: var(--task-text);
  padding: 21px 15px;
}
.task-workbench .sidebar .brand {color: var(--task-text) !important}
.task-workbench .sidebar .brand-icon {background: var(--task-accent);color: #fff}
.task-workbench .sidebar .console-nav-search {background: #eff3fa !important;border-color: var(--task-edge) !important;margin: 22px 0 16px !important}
.task-workbench .sidebar #nav-search,
.task-workbench .sidebar .nav-close {color: var(--task-text) !important}
.task-workbench .sidebar #nav-search::placeholder,
.task-workbench .sidebar #nav-search-empty {color: var(--task-muted) !important}
body.enterprise-shell.task-workbench #navigation .task-menu-group {display: block; margin: 3px 0}
.task-workbench .task-menu-row {display: flex; align-items: stretch; gap: 0}
body.enterprise-shell.task-workbench #navigation .task-menu-row button {
  background: transparent;
  color: var(--task-text);
  border: 1px solid transparent;
  box-shadow: none;
  padding: 9px 11px;
  border-radius: 8px;
  text-align: start;
}
body.enterprise-shell.task-workbench #navigation .task-menu-section {
  flex: 1; min-width: 0; font-weight: 700; justify-content: start;
}
body.enterprise-shell.task-workbench #navigation .task-menu-row button:hover {background: #edf2fb}
body.enterprise-shell.task-workbench #navigation .task-menu-section.is-workspace-active {
  background: var(--task-tint); color: #1d4592; border-color: #d3dffc;
}
body.enterprise-shell.task-workbench #navigation .task-menu-disclosure {display: grid; place-items: center; width: 42px; flex: 0 0 42px}
.task-menu-disclosure span {width: 8px;height: 8px;border-bottom: 2px solid currentColor;border-right: 2px solid currentColor;transform: rotate(-45deg)}
.task-menu-disclosure[aria-expanded=true] span {transform: rotate(45deg)}
.task-workbench .task-submenus {display: none; margin: 7px 0 12px 11px; padding-left: 7px; border-left: 1px solid var(--task-edge)}
.task-workbench .task-menu-group.is-expanded .task-submenus,
.task-workbench #navigation.is-searching .task-submenus {display: block}
.task-workbench #navigation.is-searching .task-menu-disclosure {display: none}
.task-workbench .workbench-subgroup {margin-bottom: 10px}
body.enterprise-shell.task-workbench .workbench-subgroup > p {color: var(--task-muted);margin: 2px 0 2px 8px}
body.enterprise-shell.task-workbench #navigation .section-subnav button {color: #344a69; min-height: 40px; padding: 7px 9px}
body.enterprise-shell.task-workbench #navigation .section-subnav button:hover {background: #edf2f8; color: #20458d}
body.enterprise-shell.task-workbench #navigation .section-subnav button.active {
  color: #163d87; background: #e9f0fe; border-color: #cfdbf5; box-shadow: inset 3px 0 #2857b6;
}
body.enterprise-shell.task-workbench .sidebar .sidebar-bottom {border-color: var(--task-edge) !important; padding-top: 13px}
.task-workbench .sidebar-bottom a {color: #204b9e;text-decoration: none;font-weight: 650}
body.enterprise-shell.task-workbench .topbar {
  min-height: 78px;
  border-bottom: 1px solid var(--task-edge);
  margin-bottom: 18px;
  gap: 12px;
  padding: 14px 0 !important;
}
.task-workbench .topbar .eyebrow:empty {display: none}
body.enterprise-shell.task-workbench .header-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;width:auto;margin-left:auto}
.task-workbench .header-actions .header-screen-link {background: #fff;color: var(--task-text);border-color: #cbd6e7}
.task-workbench .header-actions .header-screen-link:hover {background: var(--task-tint)}
.task-more {position: relative}
.task-more > summary {display: flex;align-items: center;cursor: pointer;padding: 8px 12px;min-height:42px;border: 1px solid #cbd6e7;border-radius: 8px;background: #fff;color: var(--task-text)}
.task-more > summary::after {content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:8px}
.task-more > summary::-webkit-details-marker {display:none}
.task-more > div {position:absolute;right:0;z-index:30;display:grid;gap:9px;min-width:215px;padding:13px;margin-top:8px;background:#fff;border:1px solid var(--task-edge);border-radius:10px;box-shadow:0 10px 28px #20384f24}
.task-more:not([open]) > div {display:none}
body.enterprise-shell.task-workbench :is(button,a).primary {background:var(--task-accent);border-color:var(--task-accent)}
body.enterprise-shell.task-workbench :is(button,a).primary:not(:disabled):hover {background:#1f4698;border-color:#1f4698}
body.enterprise-shell.task-workbench :is(button,a).secondary {border-color:#cbd6e7;color:#274566}
body.enterprise-shell.task-workbench :is(button,a).secondary:not(:disabled):hover {background:var(--task-tint);border-color:#acbfe2}
body.enterprise-shell.task-workbench .text-button {color:#234f9f}
body.enterprise-shell.task-workbench .text-button:not(:disabled):hover {background:var(--task-tint)}
body.enterprise-shell.task-workbench :is(button,a,input,select,summary):focus-visible,
body.enterprise-shell.task-workbench #navigation button:focus-visible {outline-color:#2857b6;outline-offset:1px}
.task-system-status {margin:25px 0 0;color:var(--task-muted)}
.task-system-status summary {cursor:pointer;padding:8px 0}
.task-system-status .service-strip {background:#fff; margin:8px 0 0;border:1px solid var(--task-edge)}
.task-home .task-home-search {
  background:#fff;
  border:1px solid var(--task-edge);
  border-radius:16px;
  box-shadow:0 8px 24px -18px rgba(24,52,108,0.22);
  display:grid;
  grid-template-columns:minmax(0, 1.25fr) minmax(0, 1.45fr);
  gap:14px 20px;
  align-items:center;
  padding:16px 20px;
  margin-bottom:16px;
}
.task-workbench .task-home .workbench-home-tools {margin:0;display:block;min-width:0}
.task-order-search form {margin:0}
.task-order-search form > label {display:block;font-weight:700;color:var(--task-text);margin-bottom:8px}
.task-search-row {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.task-search-row input {min-width:0;width:100%;height:auto;margin:0}
.task-search-row button {white-space:nowrap;margin:0}
.task-order-search form > p {color:var(--task-muted);font-size:var(--ui-small) !important;margin:6px 0 0}
body.enterprise-shell.task-workbench .task-home-search .home-query-shell {border:0;margin:6px 0 0;background:transparent}
body.enterprise-shell.task-workbench .task-home-search .home-query-shell > summary,.task-home-search .task-refresh > summary {
  background:transparent;padding:4px 0;font-size:var(--ui-small) !important;font-weight:600;color:#285095;cursor:pointer;
}
.task-date-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:5px 0 8px}
.task-date-fields input {width:100%;min-width:0}
.task-home-search .task-refresh {margin-top:5px}
.task-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-self:center}
.task-shortcuts button {min-width:0;background:#f3f6fd;border:1px solid #dce5f8;color:#1d4592;border-radius:10px;text-align:left;padding:8px 10px;font-weight:650;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all 0.15s ease}
.task-shortcuts button:hover {background:#e3ecfe;border-color:#bdcff4;transform:translateY(-1px)}
.task-shortcuts button::after {content:" →";opacity:0.7}
.task-shortcuts button.is-hot {background:linear-gradient(135deg,#fff5eb,#ffead6);border-color:#fdba74;color:#c2410c}
.task-shortcuts button.is-hot:hover {background:#fed7aa;border-color:#f97316}
.task-shortcuts button.is-live {background:linear-gradient(135deg,#ecfdf5,#dcfce7);border-color:#86efac;color:#15803d}
.task-shortcuts button.is-live:hover {background:#bbf7d0;border-color:#22c55e}
body.enterprise-shell.task-workbench .task-home .task-summary-row {margin:0 0 16px;display:grid;grid-template-columns:minmax(0, 1.42fr) minmax(0, 1fr);gap:14px;align-items:stretch}
body.enterprise-shell.task-workbench .task-summary-row > .order-total-panel {margin:0;padding:16px;background:#fff;border:1px solid var(--task-edge);border-radius:16px;box-shadow:0 8px 24px -18px rgba(24,52,108,0.2)}
body.enterprise-shell.task-workbench .task-summary-row .order-total-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important}
body.enterprise-shell.task-workbench .task-home .order-total-grid article {padding:11px !important;border:1px solid var(--task-edge);background:#f7f9fd;border-radius:11px}
body.enterprise-shell.task-workbench .task-home .order-total-grid article:first-child {background:#eef3ff;border-color:#dbe5fc}

/* Live NorthGlass T1 Furnace Executive Card on Home */
.task-home-furnace {
  display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-width:0;
  background:#fff;border:1px solid var(--task-edge);border-top:3.5px solid #94a3b8;
  border-radius:16px;padding:15px 16px;box-shadow:0 8px 24px -18px rgba(24,52,108,0.22);
}
.task-home-furnace.is-hot {border-top-color:#ea580c;background:linear-gradient(165deg,#fffaf5 0%,#ffffff 48%,#f8fbff 100%)}
.task-home-furnace.is-warn {border-top-color:#dc2626;background:linear-gradient(165deg,#fff5f5 0%,#ffffff 55%)}
.task-home-furnace > header {display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.task-furnace-kicker {display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:#c2410c;letter-spacing:0.02em}
.task-furnace-kicker i {width:7px;height:7px;border-radius:50%;background:#ea580c;box-shadow:0 0 0 3px rgba(234,88,12,0.18)}
.task-home-furnace.is-idle .task-furnace-kicker {color:#475569}
.task-home-furnace.is-idle .task-furnace-kicker i {background:#94a3b8;box-shadow:none}
.task-home-furnace h2 {margin:3px 0 0;font-size:15px;font-weight:800;color:var(--task-text);font-family:Consolas,monospace}
.task-furnace-pill {font-size:12px;font-weight:800;padding:3px 10px;border-radius:999px;white-space:nowrap}
.task-furnace-pill.is-hot {background:#dcfce7;color:#15803d}
.task-furnace-pill.is-warn {background:#fee2e2;color:#b91c1c}
.task-furnace-pill.is-idle {background:#eef2ff;color:#475569}
.task-furnace-main {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0}
.task-furnace-temp {display:flex;align-items:baseline;gap:3px;line-height:1}
.task-furnace-temp strong {font-size:36px;font-weight:900;color:#ea580c;font-variant-numeric:tabular-nums;letter-spacing:-0.02em}
.task-home-furnace.is-idle .task-furnace-temp strong {color:#334155}
.task-furnace-temp small {font-size:15px;font-weight:800;color:#64748b}
.task-furnace-kpis {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:1;min-width:0}
.task-furnace-kpis > div {background:rgba(241,245,249,0.75);border:1px solid #e2e8f0;border-radius:9px;padding:6px 8px;display:grid;gap:2px;min-width:0}
.task-furnace-kpis span {font-size:11px;color:var(--task-muted);white-space:nowrap}
.task-furnace-kpis b {font-size:14px;font-weight:800;color:var(--task-text);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-furnace-sections {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.task-fsec {display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 6px;border-radius:8px;font-size:12px;font-weight:700;background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0;white-space:nowrap}
.task-fsec i {width:6px;height:6px;border-radius:50%;background:#94a3b8;flex-shrink:0}
.task-fsec.is-on {background:#fff7ed;color:#c2410c;border-color:#fdba74}
.task-fsec.is-on i {background:#ea580c;box-shadow:0 0 0 2px rgba(234,88,12,0.22)}
.task-home-furnace > footer {display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:6px;border-top:1px solid #e9eef6}
.task-furnace-recipe {font-size:12px;font-weight:650;color:var(--task-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.task-furnace-links {display:flex;align-items:center;gap:6px;flex-shrink:0}
.task-furnace-links button {font-size:13px;padding:4px 8px;min-height:30px;white-space:nowrap}

.task-home-side {display:flex;flex-direction:column;gap:10px;min-width:0}
.task-home-energy {background:#fff;border:1px solid var(--task-edge);border-radius:16px;padding:15px 16px;box-shadow:0 8px 24px -18px rgba(24,52,108,0.2);flex:1}
.task-home-energy header {display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;justify-content:space-between}
.task-home-energy h2 {margin:0;font-size:16px}
.task-energy-values {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.task-energy-values div {display:grid;gap:5px;background:#f7f9fd;border:1px solid var(--task-edge);border-radius:10px;padding:9px 10px}
.task-energy-values span {color:var(--task-muted);font-size:12px}
.task-energy-values strong {font-size:var(--ui-number);color:#21456b;font-variant-numeric:tabular-nums;white-space:nowrap}
.task-home-alerts {margin-top:0;display:grid;gap:7px}
.task-home-alerts button {display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:start;padding:9px 12px;background:#fff;color:var(--task-text);border:1px solid var(--task-edge);border-radius:11px;font-weight:650}
.task-home-alerts button:hover {background:var(--task-tint)}
body[data-theme="dark"] .task-home-furnace {background:rgba(15,25,48,0.92);border-color:rgba(88,124,210,0.36);color:#eef4ff}
body[data-theme="dark"] .task-home-furnace h2,
body[data-theme="dark"] .task-furnace-kpis b {color:#eef4ff}
body[data-theme="dark"] .task-furnace-kpis > div,
body[data-theme="dark"] .task-fsec {background:rgba(24,38,74,0.85);border-color:rgba(88,124,210,0.34);color:#cbd5e1}
body[data-theme="dark"] .task-fsec.is-on {background:rgba(154,52,18,0.36);border-color:#f97316;color:#fed7aa}
@media (max-width: 1280px) {
  body.enterprise-shell.task-workbench .task-home .task-summary-row {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.enterprise-shell.task-workbench .task-home .task-summary-row > .task-home-side {grid-column:1 / -1}
}
@media (max-width: 1020px) {
  .task-home .task-home-search {grid-template-columns:minmax(0,1fr)}
}
@media (max-width: 900px) {
  body.enterprise-shell.task-workbench .workspace > main {padding-inline:14px}
  body.enterprise-shell.task-workbench .topbar {min-height:60px}
  body.enterprise-shell.task-workbench .task-home .task-summary-row {grid-template-columns:minmax(0,1fr)}
  .task-shortcuts {grid-template-columns:repeat(2,minmax(0,1fr))}
  .task-furnace-main {flex-direction:column;align-items:stretch;gap:8px}
  .task-furnace-sections {grid-template-columns:repeat(2,minmax(0,1fr))}
}
.task-home-status {background:#fff8e8;padding:8px 12px;border-radius:8px}
.task-home .cc-section-title {margin-top:12px}
.task-workbench .task-home .cc-process {border-top-color:#8aa9d9 !important}
.task-workbench .task-home .cc-optimization {background:#f0f5ff !important;border-top-color:var(--task-accent) !important}
.task-workbench .task-home .cc-process > button {background:#eef3ff !important;color:#204893 !important}
.task-home-secondary {display:grid;gap:9px;margin-top:18px}
.task-home-secondary > details {background:#fff;border:1px solid var(--task-edge);border-radius:10px;min-width:0;padding:10px 14px}
.task-home-secondary > details > summary {cursor:pointer;font-weight:650;color:var(--task-text)}
.task-home-secondary > details[open] > summary {margin-bottom:12px}
.task-workbench .journey-search,
.task-workbench .history-toolbar {background:#fff;border:1px solid var(--task-edge);border-radius:12px;padding:14px}
.task-workbench .history-extra-totals {margin-block:10px}
.task-workbench .history-total-review {color:#8f5316}
.task-workbench .process-history-shortcuts {margin-left:0}
.task-workbench [data-process-quick][aria-pressed=true] {box-shadow:inset 0 -2px var(--task-accent)}
@media (max-width: 1110px) {
  .task-home-search .task-date-fields {grid-template-columns:minmax(0,1fr)}
}
@media (max-width: 600px) {
  body.enterprise-shell.task-workbench .topbar {margin-bottom:10px;gap:6px}
  body.enterprise-shell.task-workbench .topbar #page-title {font-size:20px !important}
  body.enterprise-shell.task-workbench .header-actions {gap:5px}
  body.enterprise-shell.task-workbench .header-actions .header-screen-link {display:none}
  body.enterprise-shell.task-workbench .task-home .task-home-search {grid-template-columns:minmax(0,1fr);padding:13px;gap:8px}
  .task-shortcuts {gap:6px}
  .task-shortcuts button {padding:7px 8px}
  .task-energy-values strong {font-size:calc(var(--ui-number) - 5px)}
  body.enterprise-shell.task-workbench .task-summary-row .order-total-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  body.enterprise-shell.task-workbench .task-summary-row :is(.order-total-value strong,.task-energy-values strong) {font-size:clamp(18px,5.1vw,24px) !important}
}
@media (max-width: 360px) {
  .task-date-fields {grid-template-columns:minmax(0,1fr)}
  body.enterprise-shell.task-workbench .task-summary-row .order-total-grid {grid-template-columns:minmax(0,1fr) !important}
}
body.enterprise-shell.task-workbench .topbar .nav-toggle {width:auto; min-width:56px; white-space:nowrap; padding-inline:8px}
.task-workbench .task-energy-values :is(strong,small) {display:inline}
.task-workbench .task-energy-values strong {white-space:normal;overflow-wrap:normal}
body.enterprise-shell.task-workbench .task-summary-row .order-total-grid article {min-width:0}
body.enterprise-shell.task-workbench .task-summary-row .order-total-grid article > span {font-weight:600}
/* 5-Line Live Workshop Telemetry Strip on #overview */
.wb-live-lines-strip {background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);border:1px solid #d5e2f4;border-radius:16px;padding:14px 16px 12px;box-shadow:0 6px 20px -12px rgba(15,23,42,.12);display:grid;gap:10px;margin:0 0 14px}
.wb-ll-head {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.wb-ll-title {display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;color:#0f172a}
.wb-ll-title strong {font-weight:800;letter-spacing:.01em}
.wb-ll-title em {font-style:normal;font-size:12px;color:#0f766e;background:#ecfdf5;border:1px solid #a7f3d0;padding:2px 9px;border-radius:999px;font-weight:700}
.wb-ll-dot {width:8px;height:8px;border-radius:50%;background:#94a3b8;display:inline-block}
.wb-ll-dot.is-on {background:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.18)}
.wb-ll-dot.is-run {background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.22)}
.wb-ll-links {display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12.5px}
.wb-ll-links .text-button {font-size:12.5px;text-decoration:none;font-weight:650}
.wb-ll-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.wb-ll-card {text-align:left;background:#ffffff;border:1px solid #e2e8f0;border-left:3.5px solid #94a3b8;border-radius:12px;padding:11px 12px;display:flex;flex-direction:column;gap:4px;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease;min-width:0;font-family:inherit}
.wb-ll-card:hover {transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.08);border-color:#93c5fd}
.wb-ll-card.is-run {border-left-color:#10b981;background:linear-gradient(180deg,#ffffff 0%,#f0fdf9 100%)}
.wb-ll-card.is-on {border-left-color:#3b82f6;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.wb-ll-card.is-off {border-left-color:#cbd5e1;background:#fafbfd}
.wb-ll-card.is-warn {border-left-color:#ef4444;background:linear-gradient(180deg,#ffffff 0%,#fef2f2 100%)}
.wb-ll-top {display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12.5px;color:#334155;font-weight:700}
.wb-ll-top > span {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-ll-pill {font-size:11px;font-weight:700;padding:1.5px 7px;border-radius:999px;white-space:nowrap;flex-shrink:0;background:#f1f5f9;color:#475569}
.wb-ll-pill.is-run {background:#dcfce7;color:#15803d}
.wb-ll-pill.is-on {background:#dbeafe;color:#1d4ed8}
.wb-ll-pill.is-warn {background:#fee2e2;color:#b91c1c}
.wb-ll-val {font-size:21px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums;line-height:1.18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-ll-val.is-muted {color:#475569}
.wb-ll-scope {font-size:11px;font-weight:650;color:#2563eb;opacity:.86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wb-ll-card.is-off .wb-ll-scope {color:#64748b}
.wb-ll-fsecs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:2px}
.wb-ll-fsecs span {display:inline-flex;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:700;padding:2px 3px;border-radius:5px;background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0;white-space:nowrap}
.wb-ll-fsecs span i {width:5px;height:5px;border-radius:50%;background:#94a3b8}
.wb-ll-fsecs span.is-on {background:#fff7ed;color:#c2410c;border-color:#fdba74}
.wb-ll-fsecs span.is-on i {background:#ea580c}
.wb-ll-sub {font-size:11.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:auto}
.wb-ll-note {font-size:11.5px;color:#64748b;border-top:1px dashed #e2e8f0;padding-top:7px;line-height:1.45}
body[data-theme="dark"] .wb-live-lines-strip {background:rgba(15,25,48,.9);border-color:rgba(88,124,210,.34)}
body[data-theme="dark"] .wb-ll-title,body[data-theme="dark"] .wb-ll-val {color:#eef4ff}
body[data-theme="dark"] .wb-ll-card {background:rgba(20,33,64,.85);border-color:rgba(88,124,210,.3)}
body[data-theme="dark"] .wb-ll-card.is-off {background:rgba(15,23,42,.6)}
body[data-theme="dark"] .wb-ll-top {color:#cbd5e1}
body[data-theme="dark"] .wb-ll-sub,body[data-theme="dark"] .wb-ll-note {color:#94a3b8;border-color:rgba(88,124,210,.25)}
@media (max-width: 1220px) {.wb-ll-grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width: 780px) {.wb-ll-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 480px) {.wb-ll-grid {grid-template-columns:minmax(0,1fr)}}
/* END TASK WORKBENCH */
/* BEGIN GLASS PROCUREMENT STYLES */
.procurement-page {
  --procurement-ink: #152946;
  --procurement-muted: #526782;
  --procurement-line: #dce6f2;
  --procurement-blue: #2556c6;
  --procurement-teal: #0d766d;
  --procurement-ice: #f4f8ff;
  max-width: 1360px;
  margin-inline: auto;
  color: var(--procurement-ink);
}
.procurement-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 22px;
  margin: 6px 0 14px;
  border: 1px solid var(--procurement-line);
  border-radius: 15px;
  background: linear-gradient(110deg, #fff 25%, #eef5ff);
}
.procurement-heading h2 {
  margin: 0;
  color: var(--procurement-ink);
}
.procurement-heading p {
  margin: 4px 0 0;
  color: var(--procurement-muted);
}
.procurement-switch span {
  padding-inline-start: 6px;
}
.material-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  padding: 5px 3px;
  color: var(--procurement-muted);
}
.material-status::before {
  content: '';
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  background: #8da0ba;
}
.material-status[data-market-phase="ready"]::before {
  background: var(--procurement-teal);
}
.material-status[data-market-phase="loading"]::before {
  background: var(--procurement-blue);
}
.material-status[data-market-phase="error"] {
  color: #925021;
}
.material-status[data-market-phase="error"]::before {
  background: #a75a28;
}
.material-layout,
.material-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
}
.material-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.procurement-page [data-quote-style="spot"] {
  --quote-background: #e9f7f3;
  --quote-ink: #0e655d;
}
.procurement-page [data-quote-style="futures"] {
  --quote-background: #edf2ff;
  --quote-ink: #2349a1;
}
.procurement-page [data-quote-style="supplier"] {
  --quote-background: #fcf1e4;
  --quote-ink: #805224;
}
body.enterprise-shell .material-quote {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 5px;
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: var(--procurement-ink);
  background: #fff;
  border: 1px solid var(--procurement-line);
  border-radius: 13px;
  box-shadow: 0 3px 10px #182c4a06;
  text-align: start;
}
body.enterprise-shell .material-quote:hover {
  border-color: #9bb4e5;
  background: #f8fbff;
}
body.enterprise-shell .material-quote[aria-pressed="true"] {
  border-color: #80a2e5;
  background: #eef4ff;
  box-shadow: inset 0 3px 0 var(--procurement-blue);
}
.material-quote-name {
  min-width: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.material-quote-value,
.material-latest > div,
.cost-result-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  min-width: 0;
}
.material-quote-value {
  margin-top: 1px;
}
.material-quote-value strong {
  font-size: var(--ui-number);
  line-height: 1.18;
}
.material-quote-value strong,
.material-latest strong,
.cost-result-item strong {
  max-width: 100%;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.material-quote small,
.material-latest small,
.cost-result-value small {
  color: var(--procurement-muted);
}
.material-quote .material-quote-date {
  line-height: 1.35;
}
.material-badge,
.cost-result-meta > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.procurement-page span.material-badge {
  color: var(--quote-ink, #2349a1);
  background: var(--quote-background, #edf2ff);
  font-size: var(--ui-small) !important;
  line-height: 1.45;
}
.material-panel,
.material-support,
.procurement-page .cost-panel,
.procurement-page .cost-results {
  min-width: 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--procurement-line);
  border-radius: 14px;
  box-shadow: 0 3px 10px #182c4a06;
}
.material-panel header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
}
.material-panel h3,
.cost-panel h3,
.cost-results h3 {
  margin: 0;
  color: var(--procurement-ink);
}
.material-panel p,
.material-support p,
.cost-panel-heading p {
  margin: 4px 0 0;
  color: var(--procurement-muted);
}
.material-current {
  align-self: start;
}
.material-latest {
  margin: 15px 0 13px;
  padding: 12px 14px;
  background: var(--quote-background, var(--procurement-ice));
  border-radius: 10px;
  color: var(--quote-ink, var(--procurement-blue));
}
.material-latest > span {
  color: var(--procurement-muted);
}
.material-latest strong {
  font-size: calc(var(--ui-number) + 8px);
  line-height: 1.2;
}
.material-quote-info {
  margin: 0;
}
.material-quote-info > div {
  display: flex;
  flex-wrap: wrap;
  align-items: first baseline;
  justify-content: space-between;
  gap: 3px 12px;
  padding: 7px 0;
  border-bottom: 1px solid #e9eff6;
}
.material-quote-info dt {
  color: var(--procurement-muted);
}
.material-quote-info dd {
  margin: 0;
  color: var(--procurement-ink);
  font-weight: 600;
  text-align: end;
  overflow-wrap: anywhere;
}
.material-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 13px;
  color: var(--procurement-blue);
  font-weight: 600;
}
.material-current .material-guide {
  margin-top: 11px;
}
.material-forecast .material-caution {
  margin-top: 11px;
  padding: 11px 12px;
  border-radius: 8px;
  background: var(--procurement-ice);
  color: var(--procurement-muted);
}
.material-chart {
  margin-top: 13px;
  padding: 12px 13px 8px;
  border: 1px solid #e3ecf7;
  border-radius: 10px;
  background: #f9fbff;
}
.material-chart .hub-series-0 {
  stroke: var(--procurement-teal);
}
.material-chart .hub-dot.hub-series-0,
.material-chart .hub-legend-0 {
  fill: var(--procurement-teal);
  background: var(--procurement-teal);
}
.material-chart .hub-series-1 {
  stroke: var(--procurement-blue);
}
.material-chart path.hub-series-1 {
  stroke-dasharray: 6 5;
}
.material-chart .hub-dot.hub-series-1,
.material-chart .hub-legend-1 {
  fill: var(--procurement-blue);
  background: var(--procurement-blue);
}
.material-chart .hub-line-chart {
  width: 100%;
  min-width: 0;
  height: clamp(175px, 21vw, 244px);
  display: block;
}
.material-chart .hub-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px 11px;
}
.material-chart .hub-footnote {
  margin-top: 3px;
}
.material-table {
  margin: 11px 0 3px;
  border-radius: 9px;
}
.material-table :is(th, td) {
  white-space: nowrap;
}
.material-table :is(th, td):not(:first-child) {
  text-align: right;
}
.material-table td.material-table-value {
  color: var(--procurement-blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.material-support summary,
.material-model-note summary,
.cost-calculation-note summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--procurement-ink);
}
.material-support[open] summary {
  padding-bottom: 8px;
}
.material-model-note,
.cost-calculation-note {
  margin-top: 11px;
  padding: 10px 0 0;
  border-top: 1px solid #e7edf6;
  color: var(--procurement-muted);
}
.material-sources {
  padding: 0;
  margin: 8px 0 13px;
  list-style: none;
}
.material-sources li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 15px;
  padding: 7px 0;
  border-bottom: 1px solid #e7edf6;
}
.cost-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.cost-page form {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.cost-panel-heading {
  margin-bottom: 12px;
}
.cost-fields,
.cost-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cost-field {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}
.cost-field :is(input, select) {
  width: 100%;
  min-width: 0;
}
.cost-input-unit {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.cost-input-unit input {
  flex: 1 1 0;
}
.cost-input-unit > span {
  white-space: nowrap;
  color: var(--procurement-muted);
}
.cost-layer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  margin: 9px 0;
  padding: 12px;
  background: #f5f8fe;
  border: 1px solid #e7eef9;
  border-radius: 10px;
}
.cost-layer > button {
  align-self: center;
  margin-top: 20px;
}
.cost-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cost-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 13px;
}
.cost-result-meta > span {
  background: #edf3fa;
  color: #415872;
}
.cost-result-meta [data-cost-state="ready"] {
  background: #e9f7f3;
  color: var(--procurement-teal);
}
.cost-result-note {
  padding: 9px 11px;
  border: 1px solid #f2e7cf;
  border-radius: 9px;
  color: #805224;
  background: #fff9ee;
}
.cost-result-item {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e5edf9;
  border-radius: 10px;
  background: #f7faff;
}
.cost-result-label {
  color: var(--procurement-muted);
}
.cost-result-value strong {
  color: var(--procurement-ink);
  font-size: calc(var(--ui-number) - 5px);
  line-height: 1.25;
}
.cost-result-item p {
  margin: 4px 0 0;
  color: var(--procurement-muted);
}
.cost-result-primary {
  grid-column: 1 / -1;
  padding: 14px 15px;
  border-color: #cbdaf5;
  background: #eaf2ff;
}
.cost-result-primary strong {
  color: var(--procurement-blue);
  font-size: calc(var(--ui-number) + 7px);
}
@media (min-width: 1060px) {
  .material-spotlight {
    grid-template-columns: minmax(248px, .9fr) minmax(0, 2fr);
  }
  .cost-workspace {
    grid-template-columns: minmax(0, 3fr) minmax(285px, 2fr);
  }
  .cost-workspace > .cost-results {
    position: sticky;
    top: 14px;
  }
}
@media (min-width: 1500px) {
  .material-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .procurement-heading,
  .material-panel,
  .material-support,
  .procurement-page .cost-panel,
  .procurement-page .cost-results {
    padding: 13px;
  }
  .procurement-heading {
    gap: 8px 14px;
  }
  .material-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  body.enterprise-shell .material-quote {
    padding: 10px;
  }
  .material-quote-value strong {
    font-size: clamp(19px, 5.6vw, var(--ui-number));
  }
  .material-chart {
    padding: 9px 6px 6px;
  }
  .cost-layer,
  .cost-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .cost-layer > button {
    justify-self: start;
    margin-top: 0;
  }
}
@media (max-width: 340px) {
  .cost-result-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Real-Time Intraday Glass & Aluminum Quote Ticker */
.material-rt-strip {
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 255, 0.88));
  border: 1.5px solid rgba(196, 214, 246, 0.9);
  box-shadow: 0 12px 28px -14px rgba(37, 86, 198, 0.18);
  min-width: 0;
}

.material-rt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.material-rt-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0d7a55;
  background: #e1f8ee;
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.material-rt-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #162447;
}

.material-rt-refresh {
  font-size: 16px !important;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
}

.material-rt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.material-rt-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid #dbe7fa;
  border-top: 4px solid #2563eb;
  min-width: 0;
}

.material-rt-card.is-up { border-top-color: #dc2626; }
.material-rt-card.is-down { border-top-color: #059669; }

.material-rt-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.material-rt-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.material-rt-title h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #162447;
}

.material-rt-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.material-rt-delta {
  font-size: 13.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.material-rt-delta.is-up { background: #fee2e2; color: #b91c1c; }
.material-rt-delta.is-down { background: #dcfce7; color: #047857; }
.material-rt-delta.is-flat { background: #edf2fb; color: #475569; }

.material-rt-price strong {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  color: #162447;
  font-variant-numeric: tabular-nums;
}

.material-rt-card.is-up .material-rt-price strong { color: #b91c1c; }
.material-rt-card.is-down .material-rt-price strong { color: #047857; }

.material-rt-price small {
  font-size: 14px;
  font-weight: 600;
  color: #5c7298;
}

.material-rt-ohlc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f8ff;
  font-size: 13px;
  color: #5c7298;
}

.material-rt-ohlc span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.material-rt-ohlc b {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
}

.material-rt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #64748b;
}

.material-badge.is-live {
  background: #dcfce7;
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}

body[data-theme="dark"] .material-rt-strip {
  background: rgba(15, 25, 48, 0.9);
  border-color: rgba(88, 124, 210, 0.36);
}

body[data-theme="dark"] .material-rt-card {
  background: rgba(20, 34, 66, 0.92);
  border-color: rgba(88, 124, 210, 0.36);
}

body[data-theme="dark"] .material-rt-head h2,
body[data-theme="dark"] .material-rt-title h3,
body[data-theme="dark"] .material-rt-price strong,
body[data-theme="dark"] .material-rt-ohlc b {
  color: #eef4ff;
}

body[data-theme="dark"] .material-rt-ohlc {
  background: rgba(15, 23, 42, 0.65);
  color: #9bb1d6;
}

@media (max-width: 780px) {
  .material-rt-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .material-rt-strip {
    padding: 12px;
    border-radius: 16px;
  }
  .material-rt-card {
    padding: 12px;
  }
  .material-rt-ohlc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .material-rt-refresh {
    width: 100%;
  }
}

/* Float Glass Factory Quote Hub (ffq-*) */
.ffq-section {
  margin-bottom: 18px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(196, 214, 246, 0.92);
  box-shadow: 0 12px 30px -14px rgba(37, 86, 198, 0.16);
  min-width: 0;
}

.ffq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ffq-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2556c6;
  background: #eaf1fe;
  border: 1px solid rgba(75, 116, 232, 0.25);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 5px;
}

.ffq-header h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #162447;
}

.ffq-header-actions button {
  font-size: 16px !important;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 12px;
}

.ffq-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.ffq-kpi {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6faff;
  border: 1px solid #dbe7fa;
  border-top: 3.5px solid #4b74e8;
  min-width: 0;
}

.ffq-kpi.is-primary {
  background: linear-gradient(135deg, #f0f7ff, #eefaf6);
  border-top-color: #0ea89d;
}

.ffq-kpi > span {
  font-size: 13px;
  font-weight: 700;
  color: #516891;
}

.ffq-kpi strong {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 800;
  color: #162447;
  font-variant-numeric: tabular-nums;
}

.ffq-kpi.is-primary strong { color: #0d7a55; }

.ffq-kpi strong small {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
}

.ffq-kpi > small {
  font-size: 12.5px;
  color: #5c7298;
  line-height: 1.4;
}

.ffq-calc-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ffq-calc-bar label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #365080;
}

.ffq-calc-bar input {
  width: 150px;
  max-width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #cbd9f4;
  font-size: 16px;
}

.ffq-calc-note {
  font-size: 12.5px;
  color: #64748b;
  padding-bottom: 8px;
}

.ffq-matrix-wrap {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbe7fa;
}

.ffq-matrix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: #365080;
}

.ffq-matrix-head small {
  color: #5c7298;
}

.ffq-matrix-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.ffq-matrix-cell {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #cbd9f4;
  color: #162447;
  font-family: inherit;
  font-size: 16px !important;
  cursor: pointer;
  min-width: 0;
  text-align: left;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.ffq-matrix-cell:hover {
  transform: translateY(-2px);
  border-color: #2563eb;
  box-shadow: 0 8px 16px -10px rgba(37, 99, 235, 0.35);
}

.ffq-mm {
  font-size: 12px;
  font-weight: 800;
  color: #2556c6;
  background: #eaf1fe;
  padding: 1px 7px;
  border-radius: 999px;
}

.ffq-matrix-cell strong {
  font-size: 17px;
  font-weight: 800;
  color: #0d7a55;
  font-variant-numeric: tabular-nums;
}

.ffq-matrix-cell strong small {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

.ffq-sqm {
  font-size: 11.5px;
  color: #64748b;
}

.ffq-editor-panel {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #f4f8ff;
  border: 1.5px solid #c5daf8;
}

.ffq-mode-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ffq-tab-btn {
  appearance: none;
  border: 1px solid #cbd9f4;
  background: #ffffff;
  color: #365080;
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 700;
  padding: 7px 14px;
  min-height: 40px;
  border-radius: 10px;
  cursor: pointer;
}

.ffq-tab-btn.is-active {
  background: #2556c6;
  border-color: #2556c6;
  color: #ffffff;
}

.ffq-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 13px;
  color: #4f668e;
}

.ffq-preset-chip {
  appearance: none;
  border: 1px solid #cbd9f4;
  background: #ffffff;
  color: #1d44b0;
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 600;
  padding: 4px 10px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
}

.ffq-preset-chip:hover {
  background: #eaf1fe;
  border-color: #4b74e8;
}

.ffq-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.ffq-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: #27406b;
  min-width: 0;
}

.ffq-form input,
.ffq-form select {
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #cbd9f4;
  background: #ffffff;
  font-size: 16px;
  min-width: 0;
}

.ffq-form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.ffq-live-calc {
  font-size: 14px;
  color: #0d7a55;
}

.ffq-paste-box textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #cbd9f4;
  font-family: inherit;
  font-size: 15px;
  margin: 8px 0 10px;
}

.ffq-paste-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ffq-ocr-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #cbd9f4;
  background: #ffffff;
  color: #2556c6;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.ffq-ocr-status {
  font-size: 13.5px;
  color: #4f668e;
}

.ffq-parsed-preview {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #dbe7fa;
}

.ffq-parsed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.ffq-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ffq-toolbar select,
.ffq-toolbar input {
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid #cbd9f4;
  background: #ffffff;
  font-size: 16px;
}

.ffq-toolbar input[type="search"] {
  flex: 1 1 200px;
  min-width: 0;
}

.ffq-table-wrap td small {
  display: block;
  color: #64748b;
  font-size: 12.5px;
  margin-top: 2px;
}

.ffq-landed-cell strong {
  color: #0d7a55;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.ffq-delta {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ffq-delta.is-up { background: #fee2e2; color: #b91c1c; }
.ffq-delta.is-down { background: #dcfce7; color: #047857; }
.ffq-delta.is-flat { background: #edf2fb; color: #546990; }

.ffq-ops {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ffq-mini-btn {
  font-size: 16px !important;
  padding: 4px 10px !important;
  min-height: 36px !important;
  border-radius: 8px !important;
}

.ffq-empty-td {
  text-align: center;
  padding: 22px 14px !important;
  color: #5c7298;
}

body[data-theme="dark"] .ffq-section,
body[data-theme="dark"] .ffq-editor-panel,
body[data-theme="dark"] .ffq-matrix-wrap {
  background: rgba(15, 25, 48, 0.9);
  border-color: rgba(88, 124, 210, 0.36);
}

body[data-theme="dark"] .ffq-kpi,
body[data-theme="dark"] .ffq-matrix-cell,
body[data-theme="dark"] .ffq-tab-btn,
body[data-theme="dark"] .ffq-preset-chip,
body[data-theme="dark"] .ffq-form input,
body[data-theme="dark"] .ffq-form select,
body[data-theme="dark"] .ffq-toolbar select,
body[data-theme="dark"] .ffq-toolbar input,
body[data-theme="dark"] .ffq-parsed-preview {
  background: rgba(20, 34, 66, 0.92);
  border-color: rgba(88, 124, 210, 0.4);
  color: #eef4ff;
}

body[data-theme="dark"] .ffq-header h2,
body[data-theme="dark"] .ffq-kpi strong,
body[data-theme="dark"] .ffq-form label {
  color: #eef4ff;
}

@media (max-width: 1180px) {
  .ffq-matrix-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .ffq-kpi-row,
  .ffq-form { grid-template-columns: minmax(0, 1fr); }
  .ffq-matrix-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .ffq-section { padding: 14px 12px; border-radius: 16px; }
  .ffq-matrix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ffq-header-actions,
  .ffq-header-actions button { width: 100%; }
  .ffq-calc-bar input { width: 100%; }
}
/* END GLASS PROCUREMENT STYLES */
/* BEGIN QUICK DATE PICKER STYLES */
.ld-qdp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(15, 23, 42, 0.16);
}
.ld-qdp {
  position: fixed;
  z-index: 9999;
  width: 304px;
  max-width: calc(100vw - 20px);
  background: #ffffff;
  color: #162238;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.24);
  padding: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13.5px;
  user-select: none;
}
[data-theme="dark"] .ld-qdp,
.ld-qdp.is-dark {
  background: #141c2f;
  color: #eef3ff;
  border-color: #2d3c5c;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}
.ld-qdp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
}
.ld-qdp-role {
  font-size: 12px;
  font-weight: 700;
  color: #2457d6;
  background: rgba(36, 87, 214, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
}
[data-theme="dark"] .ld-qdp-role,
.ld-qdp.is-dark .ld-qdp-role {
  color: #8ab4ff;
  background: rgba(96, 165, 250, 0.16);
}
.ld-qdp-tabs {
  display: inline-flex;
  background: #eef2f8;
  border-radius: 9px;
  padding: 2px;
  gap: 2px;
}
[data-theme="dark"] .ld-qdp-tabs,
.ld-qdp.is-dark .ld-qdp-tabs {
  background: #1e2942;
}
.ld-qdp-tab {
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
  opacity: 0.72;
}
.ld-qdp-tab.is-active {
  background: #2457d6;
  color: #ffffff;
  opacity: 1;
}
.ld-qdp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 8px;
}
.ld-qdp-nav-btn {
  border: 1px solid #d5dfef;
  background: transparent;
  color: inherit;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .ld-qdp-nav-btn,
.ld-qdp.is-dark .ld-qdp-nav-btn {
  border-color: #324366;
}
.ld-qdp-nav-btn:hover { background: rgba(36, 87, 214, 0.12); }
.ld-qdp-title {
  flex: 1;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ld-qdp-title button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  cursor: pointer;
}
.ld-qdp-title button:hover { background: rgba(36, 87, 214, 0.12); color: #2457d6; }
.ld-qdp-wk {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  opacity: 0.6;
  margin-bottom: 4px;
}
.ld-qdp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.ld-qdp-day {
  border: 0;
  background: transparent;
  color: inherit;
  height: 34px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ld-qdp-day:hover { background: rgba(36, 87, 214, 0.14); }
.ld-qdp-day.is-out { opacity: 0.34; }
.ld-qdp-day.is-today { box-shadow: inset 0 0 0 1.5px #2457d6; color: #2457d6; font-weight: 800; }
[data-theme="dark"] .ld-qdp-day.is-today,
.ld-qdp.is-dark .ld-qdp-day.is-today { color: #8ab4ff; box-shadow: inset 0 0 0 1.5px #60a5fa; }
.ld-qdp-day.is-sel { background: #2457d6 !important; color: #ffffff !important; font-weight: 800; }
.ld-qdp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ld-qdp-cell {
  border: 1px solid #d5dfef;
  background: transparent;
  color: inherit;
  height: 40px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
[data-theme="dark"] .ld-qdp-cell,
.ld-qdp.is-dark .ld-qdp-cell {
  border-color: #324366;
}
.ld-qdp-cell:hover { border-color: #2457d6; background: rgba(36, 87, 214, 0.12); }
.ld-qdp-cell.is-cur { border-color: #2457d6; color: #2457d6; }
[data-theme="dark"] .ld-qdp-cell.is-cur,
.ld-qdp.is-dark .ld-qdp-cell.is-cur { border-color: #60a5fa; color: #8ab4ff; }
.ld-qdp-cell.is-sel { background: #2457d6 !important; border-color: #2457d6 !important; color: #ffffff !important; }
.ld-qdp-link-row {
  margin-top: 9px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(36, 87, 214, 0.08);
  font-size: 12px;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.ld-qdp-link-row input {
  width: 15px !important;
  height: 15px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.ld-qdp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}
.ld-qdp-foot-left {
  display: flex;
  gap: 6px;
}
[data-theme="dark"] .ld-qdp-foot,
.ld-qdp.is-dark .ld-qdp-foot { border-top-color: #2d3c5c; }
.ld-qdp-foot button {
  border: 1px solid #d5dfef;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}
[data-theme="dark"] .ld-qdp-foot button,
.ld-qdp.is-dark .ld-qdp-foot button { border-color: #324366; }
.ld-qdp-foot button:hover { background: rgba(36, 87, 214, 0.12); }
.ld-qdp-trigger {
  display: none !important;
}
.ld-qdp-trigger:hover { background: #2457d6; color: #ffffff; border-color: #2457d6; }
[data-theme="dark"] .ld-qdp-trigger {
  color: #8ab4ff;
  border-color: rgba(138, 180, 255, 0.35);
  background: rgba(96, 165, 250, 0.15);
}
@media (max-width: 600px) {
  .ld-qdp-backdrop { background: rgba(15, 23, 42, 0.45); }
  .ld-qdp {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    width: min(332px, calc(100vw - 24px));
    padding: 14px;
  }
  .ld-qdp-day { height: 40px; font-size: 14px; }
  .ld-qdp-cell { height: 46px; font-size: 14.5px; }
}
/* END QUICK DATE PICKER STYLES */
/* BEGIN INVENTORY PAGE STYLES */
/* ==========================================================================
   GLASS DEEP-PROCESSING INVENTORY MANAGEMENT WORKBENCH (Glass Aurora v7)
   ========================================================================== */

.inv-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.inv-loading {
  padding: 40px 24px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  color: #4f648c;
  font-weight: 600;
}

.inv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(145%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px -12px rgba(62, 92, 173, 0.16);
}

.inv-eyebrow {
  display: inline-block;
  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.24);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.inv-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: #162447;
}

.inv-head p {
  margin: 0;
  font-size: 15px;
  color: #5b7094;
  line-height: 1.55;
}

.inv-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 4 Glass Aurora KPI Cards */
.inv-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.inv-kpi {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 16px;
  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 10px 26px -10px rgba(62, 92, 173, 0.16);
  min-width: 0;
}

.inv-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -6px rgba(48, 76, 168, 0.42);
}

.inv-kpi-icon svg {
  width: 24px;
  height: 24px;
}

.inv-kpi-icon.is-blue { background: linear-gradient(135deg, #4b83f8, #2b59d9); }
.inv-kpi-icon.is-coral { background: linear-gradient(135deg, #fb7185, #ef4444); }
.inv-kpi-icon.is-violet { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.inv-kpi-icon.is-teal { background: linear-gradient(135deg, #2dd4bf, #0ea89d); }

.inv-kpi-body {
  min-width: 0;
  flex: 1;
}

.inv-kpi-body > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #546a92;
  margin-bottom: 4px;
}

.inv-kpi-body > strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #162447;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  margin-bottom: 4px;
}

.inv-kpi-body > strong.is-alert {
  color: #dc2626;
}

.inv-kpi-body > strong small {
  font-size: 14px;
  font-weight: 600;
  color: #63789e;
}

.inv-kpi-body > small {
  display: block;
  font-size: 13px;
  color: #677ca0;
  line-height: 1.45;
}

/* Segmented Tabs */
.inv-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px -8px rgba(62, 92, 173, 0.14);
}

.inv-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #3c527e;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.inv-tab:hover {
  background: rgba(75, 116, 232, 0.08);
  color: #1f3d91;
}

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

/* Panels & Forms */
.inv-panel {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px -12px rgba(62, 92, 173, 0.15);
  min-width: 0;
}

.inv-panel h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: #162447;
}

.inv-sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: #5b7094;
  line-height: 1.55;
}

.inv-split {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.55fr);
  gap: 18px;
  align-items: start;
}

.inv-toolbar {
  margin-bottom: 16px;
}

.inv-search-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.inv-search-form label,
.inv-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #41567d;
  min-width: 0;
}

.inv-field-grow {
  flex: 1;
  min-width: 220px;
}

.inv-search-form input,
.inv-search-form select,
.inv-form input,
.inv-form select,
.inv-inline-filters input,
.inv-inline-filters select {
  font-family: inherit;
  font-size: 16px;
  padding: 9px 12px;
  min-height: 44px;
  border-radius: 11px;
  border: 1.5px solid #cbd9f2;
  background: #f8faff;
  color: #162447;
  width: 100%;
  box-sizing: border-box;
}

.inv-search-form input:focus,
.inv-form input:focus,
.inv-form select:focus {
  outline: none;
  border-color: #4b74e8;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(75, 116, 232, 0.16);
}

.inv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.inv-form-grid label.is-wide {
  grid-column: 1 / -1;
}

.inv-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.inv-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.inv-inline-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inv-inline-filters input {
  width: 210px;
}

.inv-inline-filters select {
  width: auto;
}

/* Buttons (strictly >= 16px for accessibility & typography QA) */
.inv-btn-primary,
.inv-btn-secondary,
.inv-btn-chip {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.inv-btn-primary {
  border: 0;
  padding: 10px 18px;
  min-height: 44px;
  background: linear-gradient(135deg, #2556c6, #5263e8);
  color: #ffffff;
  box-shadow: 0 8px 18px -6px rgba(45, 82, 198, 0.45);
}

.inv-btn-secondary {
  border: 1.5px solid #cbd9f2;
  padding: 9px 15px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.92);
  color: #24407a;
}

.inv-btn-secondary[aria-pressed="true"] {
  background: #fff1f2;
  border-color: #fda4af;
  color: #be123c;
}

.inv-btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.inv-btn-chip {
  border: 1px solid #cbd9f2;
  padding: 6px 11px;
  min-height: 36px;
  background: #f1f6ff;
  color: #25489c;
  font-weight: 600;
}

.inv-btn-chip.is-danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.inv-btn-chip.is-active {
  background: linear-gradient(135deg, #4b74e8, #6c5ce7);
  border-color: transparent;
  color: #ffffff;
}

.inv-subtabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* Manual Entry + Photo OCR + Spreadsheet Generator Workbench */
.inv-entry-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.inv-ocr-status {
  font-size: 14px;
  color: #4f658e;
  font-weight: 600;
}

.inv-ocr-status.is-error {
  color: #be123c;
}

.inv-ocr-preview-wrap {
  margin-top: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(242, 246, 255, 0.85);
  border: 1px dashed #b9cdf2;
  text-align: center;
}

.inv-ocr-preview-wrap img {
  max-width: 100%;
  max-height: 260px;
  border-radius: 10px;
  object-fit: contain;
}

.inv-paste-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(244, 248, 255, 0.85);
  border: 1px solid #d5e2f7;
}

.inv-paste-box summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: #27448a;
}

.inv-paste-box textarea {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #cbd9f2;
  background: #ffffff;
  color: #162447;
  font-family: Consolas, "Microsoft YaHei UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  box-sizing: border-box;
  resize: vertical;
}

.inv-sheet-meta {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(242, 247, 255, 0.85);
  border: 1px solid #d5e2f7;
}

.inv-sheet-meta label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 700;
  color: #425882;
  min-width: 140px;
}

.inv-sheet-meta label.is-grow {
  flex: 1;
  min-width: 210px;
}

.inv-sheet-meta input,
.inv-sheet-meta select {
  font-family: inherit;
  font-size: 16px;
  padding: 8px 11px;
  min-height: 42px;
  border-radius: 10px;
  border: 1.5px solid #cbd9f2;
  background: #ffffff;
  color: #162447;
  box-sizing: border-box;
}

.inv-edit-table td {
  padding: 7px 8px;
}

.inv-edit-table input,
.inv-edit-table select {
  width: 100%;
  min-height: 40px;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1.5px solid #d4e1f6;
  background: #ffffff;
  color: #162447;
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
}

.inv-edit-table input:focus,
.inv-edit-table select:focus {
  outline: none;
  border-color: #4b74e8;
  box-shadow: 0 0 0 3px rgba(75, 116, 232, 0.14);
}

.inv-export-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(235, 243, 255, 0.92), rgba(239, 236, 255, 0.88));
  border: 1px solid #cbd9f4;
}

.inv-draft-summary {
  font-size: 15px;
  color: #253d70;
  font-variant-numeric: tabular-nums;
}

.inv-draft-summary b {
  font-size: 18px;
  color: #1d44b0;
  margin: 0 2px;
}

.inv-export-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inv-btn-success {
  border: 0;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0ea89d, #0d9488);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(14, 168, 157, 0.45);
}

.inv-btn-success:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body[data-theme="dark"] .inv-paste-box,
body[data-theme="dark"] .inv-sheet-meta,
body[data-theme="dark"] .inv-export-bar {
  background: rgba(18, 30, 58, 0.9);
  border-color: rgba(88, 124, 210, 0.36);
}

body[data-theme="dark"] .inv-paste-box summary,
body[data-theme="dark"] .inv-sheet-meta label,
body[data-theme="dark"] .inv-draft-summary {
  color: #d6e4ff;
}

body[data-theme="dark"] .inv-paste-box textarea,
body[data-theme="dark"] .inv-sheet-meta input,
body[data-theme="dark"] .inv-sheet-meta select,
body[data-theme="dark"] .inv-edit-table input,
body[data-theme="dark"] .inv-edit-table select {
  background: rgba(12, 21, 42, 0.92);
  border-color: rgba(88, 124, 210, 0.42);
  color: #eef4ff;
}

.inv-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.inv-readonly-tag {
  font-size: 14px;
  color: #6b7fa6;
}

/* ProTable */
.inv-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #d7e3f7;
  background: rgba(255, 255, 255, 0.92);
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.inv-table th {
  background: #eaf1fe;
  color: #1e3564;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1.5px solid #cbd9f4;
  white-space: nowrap;
}

.inv-table td {
  font-size: inherit;
  color: #162447;
  padding: 12px 14px;
  border-bottom: 1px solid #e6eefb;
  vertical-align: middle;
  line-height: 1.45;
}

.inv-table tbody tr:nth-child(even) td {
  background: rgba(243, 247, 255, 0.65);
}

.inv-table tbody tr:hover td {
  background: rgba(232, 240, 255, 0.72);
}

.inv-table th.is-num,
.inv-table td.is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.inv-table td small {
  display: block;
  font-size: 13px;
  color: #61769c;
  margin-top: 2px;
}

.inv-mono {
  font-family: Consolas, monospace;
  font-weight: 600;
  color: #2f4b86;
}

.inv-qty {
  font-weight: 800;
  color: #1d44b0;
}

.inv-qty.is-alert,
.inv-qty.is-coral { color: #dc2626; }
.inv-qty.is-emerald { color: #059669; }
.inv-qty.is-violet { color: #6d28d9; }

.inv-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.inv-pill.is-emerald { background: #e1f8ee; color: #0d7a55; }
.inv-pill.is-teal { background: #dcfaf6; color: #0c746c; }
.inv-pill.is-coral { background: #ffe4e6; color: #be123c; }
.inv-pill.is-amber { background: #fff3da; color: #a65c09; }
.inv-pill.is-violet { background: #ede9fe; color: #6d28d9; }
.inv-pill.is-neutral { background: #edf2fb; color: #52688f; }

.inv-kpi.is-clickable {
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.inv-kpi.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(220, 38, 38, 0.24);
}

.inv-onboarding-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(235, 245, 255, 0.95), rgba(240, 253, 250, 0.94));
  border: 1.5px solid #a8c7f8;
}

.inv-onboarding-banner h3 {
  margin-top: 8px;
}

.inv-onboarding-banner .inv-sub {
  margin-bottom: 0;
}

.inv-drawer-panel {
  border: 1.5px solid #9ab9f5;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.inv-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inv-cat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.inv-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 7px 14px;
  min-height: 40px;
  border-radius: 999px;
  border: 1.5px solid #d4e1f6;
  background: rgba(246, 249, 255, 0.9);
  color: #314975;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.inv-cat-pill b {
  font-size: 13px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(65, 105, 225, 0.12);
  color: #26489e;
}

.inv-cat-pill .inv-cat-alert {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: #ffe4e6;
  color: #be123c;
}

.inv-cat-pill.is-active {
  background: linear-gradient(135deg, #2556c6, #5263e8);
  border-color: transparent;
  color: #ffffff;
}

.inv-cat-pill.is-active b {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.inv-cat-pill.is-active .inv-cat-alert {
  background: #fda4af;
  color: #7f1d1d;
}

.inv-stock-meter {
  margin-top: 5px;
  margin-left: auto;
  width: 82px;
  height: 6px;
  border-radius: 999px;
  background: #e2eaf8;
  overflow: hidden;
}

.inv-stock-meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.inv-stock-meter i.is-emerald { background: linear-gradient(90deg, #10b981, #059669); }
.inv-stock-meter i.is-amber { background: linear-gradient(90deg, #f59e0b, #d97706); }
.inv-stock-meter i.is-coral { background: linear-gradient(90deg, #fb7185, #dc2626); }

.inv-btn-chip.is-in {
  background: #e1f8ee;
  border-color: #a7ebd0;
  color: #0b7350;
}

.inv-btn-chip.is-out {
  background: #fff3da;
  border-color: #f6d58e;
  color: #9c5508;
}

.inv-strip-metrics {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(240, 246, 255, 0.88);
  border: 1px solid #d5e2f7;
  font-size: 14px;
  color: #354c77;
}

.inv-strip-metrics b {
  color: #1c3fa8;
  font-size: 16px;
}

.inv-table tbody tr.is-alert-row td:first-child {
  box-shadow: inset 4px 0 0 #ef4444;
}

.inv-empty {
  text-align: center !important;
  padding: 30px 16px !important;
  color: #63789e !important;
}

.inv-notice {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #edf3ff;
  border: 1px solid #cbd9f4;
  color: #25489c;
  font-size: 14px;
}

.inv-notice.is-warn {
  background: #fff4df;
  border-color: #f4d38e;
  color: #9e5608;
}

.inv-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 14px;
  color: #5b7094;
}

.inv-pager-btns {
  display: flex;
  gap: 8px;
}

/* Dark Mode */
body[data-theme="dark"] .inv-head,
body[data-theme="dark"] .inv-kpi,
body[data-theme="dark"] .inv-panel,
body[data-theme="dark"] .inv-tabs,
body[data-theme="dark"] .inv-loading {
  background: rgba(15, 25, 48, 0.88);
  border-color: rgba(88, 124, 210, 0.34);
  color: #e6efff;
}

body[data-theme="dark"] .inv-head h2,
body[data-theme="dark"] .inv-panel h3,
body[data-theme="dark"] .inv-kpi-body > strong,
body[data-theme="dark"] .inv-table td {
  color: #eef4ff;
}

body[data-theme="dark"] .inv-head p,
body[data-theme="dark"] .inv-sub,
body[data-theme="dark"] .inv-kpi-body > span,
body[data-theme="dark"] .inv-kpi-body > small,
body[data-theme="dark"] .inv-form label,
body[data-theme="dark"] .inv-search-form label,
body[data-theme="dark"] .inv-table td small,
body[data-theme="dark"] .inv-pager {
  color: #9bb1d6;
}

body[data-theme="dark"] .inv-table-wrap {
  background: rgba(12, 21, 42, 0.9);
  border-color: rgba(88, 124, 210, 0.32);
}

body[data-theme="dark"] .inv-table th {
  background: #17284a;
  color: #d6e4ff;
  border-bottom-color: rgba(88, 124, 210, 0.35);
}

body[data-theme="dark"] .inv-table td {
  border-bottom-color: rgba(88, 124, 210, 0.22);
}

body[data-theme="dark"] .inv-table tbody tr:nth-child(even) td {
  background: rgba(20, 34, 66, 0.55);
}

body[data-theme="dark"] .inv-search-form input,
body[data-theme="dark"] .inv-search-form select,
body[data-theme="dark"] .inv-form input,
body[data-theme="dark"] .inv-form select,
body[data-theme="dark"] .inv-inline-filters input,
body[data-theme="dark"] .inv-inline-filters select,
body[data-theme="dark"] .inv-btn-secondary,
body[data-theme="dark"] .inv-btn-chip,
body[data-theme="dark"] .inv-cat-pill {
  background: rgba(18, 30, 58, 0.92);
  border-color: rgba(88, 124, 210, 0.42);
  color: #e6efff;
}

body[data-theme="dark"] .inv-onboarding-banner,
body[data-theme="dark"] .inv-drawer-panel,
body[data-theme="dark"] .inv-strip-metrics {
  background: rgba(18, 30, 58, 0.92);
  border-color: rgba(99, 138, 224, 0.48);
  color: #dbe8ff;
}

body[data-theme="dark"] .inv-strip-metrics b,
body[data-theme="dark"] .inv-cat-pill b {
  color: #9ec0ff;
}

body[data-theme="dark"] .inv-stock-meter {
  background: rgba(52, 74, 122, 0.55);
}

/* Responsive Breakpoints (Zero Overflow at 390px) */
@media (max-width: 1180px) {
  .inv-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inv-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .inv-form-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .inv-head,
  .inv-panel {
    padding: 14px 12px;
    border-radius: 16px;
  }
  .inv-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .inv-form-grid,
  .inv-form-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .inv-tab {
    width: 100%;
    text-align: center;
  }
  .inv-inline-filters,
  .inv-inline-filters input,
  .inv-inline-filters select {
    width: 100%;
  }
}
/* END INVENTORY PAGE STYLES */
/* BEGIN EQUIPMENT PAGE STYLES */
.eq-page { display: flex; flex-direction: column; gap: 16px; }
.eq-hero {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 22px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 116, 144, .11), rgba(37, 99, 235, .07) 58%, rgba(16, 185, 129, .08));
  border: 1px solid rgba(14, 116, 144, .2);
}
body[data-theme="dark"] .eq-hero {
  background: linear-gradient(135deg, rgba(14, 165, 233, .16), rgba(30, 58, 138, .22) 60%, rgba(16, 185, 129, .14));
  border-color: rgba(56, 189, 248, .24);
}
.eq-hero-copy .eq-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: #0e7490; text-transform: uppercase; margin-bottom: 4px;
}
body[data-theme="dark"] .eq-hero-copy .eq-eyebrow { color: #38bdf8; }
.eq-hero-copy h2 { margin: 0 0 6px; font-size: 20px; }
.eq-hero-copy p { margin: 0; font-size: 13px; opacity: .82; }
.eq-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.eq-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .eq-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eq-kpi {
  padding: 15px 16px; border-radius: 14px;
  background: var(--surface, #fff); border: 1px solid var(--border, rgba(15, 23, 42, .1));
  display: flex; flex-direction: column; gap: 5px;
}
body[data-theme="dark"] .eq-kpi { background: rgba(15, 23, 42, .72); border-color: rgba(148, 163, 184, .18); }
.eq-kpi-label { font-size: 12px; opacity: .72; font-weight: 600; }
.eq-kpi-value { font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.eq-kpi-sub { font-size: 12px; opacity: .74; }
.eq-kpi.is-good .eq-kpi-value { color: #059669; }
.eq-kpi.is-warn .eq-kpi-value { color: #d97706; }
.eq-kpi.is-bad .eq-kpi-value { color: #dc2626; }
.eq-kpi.is-info .eq-kpi-value { color: #0284c7; }
body[data-theme="dark"] .eq-kpi.is-good .eq-kpi-value { color: #34d399; }
body[data-theme="dark"] .eq-kpi.is-warn .eq-kpi-value { color: #fbbf24; }
body[data-theme="dark"] .eq-kpi.is-bad .eq-kpi-value { color: #f87171; }
body[data-theme="dark"] .eq-kpi.is-info .eq-kpi-value { color: #38bdf8; }

.eq-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid rgba(148, 163, 184, .22); padding-bottom: 8px; }
.eq-tab {
  padding: 8px 14px; border-radius: 10px; border: 1px solid transparent; background: transparent;
  cursor: pointer; font-weight: 600; font-size: 13.5px; color: inherit; display: inline-flex; align-items: center; gap: 6px;
}
.eq-tab:hover { background: rgba(14, 116, 144, .08); }
.eq-tab.is-active {
  background: rgba(14, 116, 144, .14); border-color: rgba(14, 116, 144, .32); color: #0e7490;
}
body[data-theme="dark"] .eq-tab.is-active { background: rgba(56, 189, 248, .18); border-color: rgba(56, 189, 248, .38); color: #7dd3fc; }
.eq-tab-badge {
  font-size: 11px; padding: 1px 6px; border-radius: 999px; font-weight: 700;
  background: rgba(100, 116, 139, .18);
}
.eq-tab-badge.is-alert { background: rgba(220, 38, 38, .16); color: #dc2626; }
body[data-theme="dark"] .eq-tab-badge.is-alert { background: rgba(248, 113, 113, .22); color: #fca5a5; }

.eq-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.eq-filter-bar label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; }
.eq-stage-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.eq-chip {
  padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, .3);
  background: transparent; cursor: pointer; font-size: 12.5px; font-weight: 600; color: inherit;
}
.eq-chip.is-active { background: #0e7490; border-color: #0e7490; color: #fff; }
body[data-theme="dark"] .eq-chip.is-active { background: #0284c7; border-color: #38bdf8; }

.eq-device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.eq-device-card {
  border-radius: 16px; padding: 16px; background: var(--surface, #fff);
  border: 1px solid var(--border, rgba(15, 23, 42, .11));
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.eq-device-card:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); }
body[data-theme="dark"] .eq-device-card { background: rgba(15, 23, 42, .78); border-color: rgba(148, 163, 184, .2); }
.eq-device-card.status-FAULT { border-left: 4px solid #dc2626; }
.eq-device-card.status-RUNNING { border-left: 4px solid #10b981; }
.eq-device-card.status-MAINTENANCE { border-left: 4px solid #d97706; }
.eq-device-card.status-IDLE { border-left: 4px solid #0284c7; }
.eq-device-card.status-OFFLINE { border-left: 4px solid #94a3b8; }

.eq-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.eq-card-title { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eq-card-title strong { font-size: 15.5px; line-height: 1.3; }
.eq-card-meta { font-size: 12px; opacity: .72; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.eq-status-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.eq-status-pill i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: currentColor; }
.eq-status-pill.is-RUNNING, .eq-status-pill.is-PASS, .eq-status-pill.is-CLOSED, .eq-status-pill.is-RESOLVED { background: rgba(16, 185, 129, .14); color: #047857; }
.eq-status-pill.is-IDLE, .eq-status-pill.is-ACK, .eq-status-pill.is-COMPLETED { background: rgba(2, 132, 199, .14); color: #0369a1; }
.eq-status-pill.is-MAINTENANCE, .eq-status-pill.is-IN_PROGRESS, .eq-status-pill.is-WARN, .eq-status-pill.is-HIGH { background: rgba(217, 119, 6, .16); color: #b45309; }
.eq-status-pill.is-FAULT, .eq-status-pill.is-ABNORMAL, .eq-status-pill.is-OPEN, .eq-status-pill.is-CRITICAL, .eq-status-pill.is-URGENT { background: rgba(220, 38, 38, .15); color: #b91c1c; }
.eq-status-pill.is-OFFLINE, .eq-status-pill.is-LOW, .eq-status-pill.is-NORMAL { background: rgba(100, 116, 139, .15); color: #475569; }
body[data-theme="dark"] .eq-status-pill.is-RUNNING, body[data-theme="dark"] .eq-status-pill.is-PASS, body[data-theme="dark"] .eq-status-pill.is-CLOSED, body[data-theme="dark"] .eq-status-pill.is-RESOLVED { color: #34d399; }
body[data-theme="dark"] .eq-status-pill.is-IDLE, body[data-theme="dark"] .eq-status-pill.is-ACK, body[data-theme="dark"] .eq-status-pill.is-COMPLETED { color: #38bdf8; }
body[data-theme="dark"] .eq-status-pill.is-MAINTENANCE, body[data-theme="dark"] .eq-status-pill.is-IN_PROGRESS, body[data-theme="dark"] .eq-status-pill.is-WARN, body[data-theme="dark"] .eq-status-pill.is-HIGH { color: #fbbf24; }
body[data-theme="dark"] .eq-status-pill.is-FAULT, body[data-theme="dark"] .eq-status-pill.is-ABNORMAL, body[data-theme="dark"] .eq-status-pill.is-OPEN, body[data-theme="dark"] .eq-status-pill.is-CRITICAL, body[data-theme="dark"] .eq-status-pill.is-URGENT { color: #f87171; }
body[data-theme="dark"] .eq-status-pill.is-OFFLINE, body[data-theme="dark"] .eq-status-pill.is-LOW, body[data-theme="dark"] .eq-status-pill.is-NORMAL { color: #cbd5e1; }

.eq-tags-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.eq-tag-box {
  padding: 9px 10px; border-radius: 10px;
  background: rgba(148, 163, 184, .09); border: 1px solid rgba(148, 163, 184, .16);
  display: flex; flex-direction: column; gap: 2px;
}
.eq-tag-box.is-breach { background: rgba(220, 38, 38, .1); border-color: rgba(220, 38, 38, .32); }
.eq-tag-label { font-size: 11.5px; opacity: .75; display: flex; justify-content: space-between; gap: 4px; }
.eq-tag-val { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.eq-tag-val small { font-size: 11.5px; font-weight: 600; opacity: .75; margin-left: 2px; }
.eq-tag-range { font-size: 11px; opacity: .66; }

.eq-ctx-strip {
  display: flex; flex-direction: column; gap: 7px;
  padding: 10px 11px; border-radius: 10px;
  background: rgba(14, 116, 144, .06); border: 1px solid rgba(14, 116, 144, .18);
  font-size: 12.5px; min-width: 0;
}
body[data-theme="dark"] .eq-ctx-strip {
  background: rgba(56, 189, 248, .09); border-color: rgba(56, 189, 248, .22);
}
.eq-ctx-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0;
  overflow-wrap: anywhere;
}
.eq-ctx-label { font-size: 11.5px; font-weight: 700; opacity: .74; }
.eq-mini-lamps { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.eq-lamp {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(100, 116, 139, .14); color: #475569; white-space: nowrap;
}
.eq-lamp i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.eq-lamp.is-on { background: rgba(16, 185, 129, .16); color: #047857; }
.eq-lamp.is-wait { background: rgba(217, 119, 6, .15); color: #b45309; }
body[data-theme="dark"] .eq-lamp { color: #cbd5e1; background: rgba(148, 163, 184, .18); }
body[data-theme="dark"] .eq-lamp.is-on { color: #34d399; background: rgba(16, 185, 129, .2); }
body[data-theme="dark"] .eq-lamp.is-wait { color: #fbbf24; background: rgba(245, 158, 11, .2); }
.eq-mix-pill {
  padding: 2px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 600;
  background: rgba(148, 163, 184, .14); white-space: nowrap;
}

.eq-erp-fallback {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 11px; border-radius: 11px;
  background: rgba(148, 163, 184, .07); border: 1px dashed rgba(148, 163, 184, .34);
  min-width: 0;
}
.eq-erp-head {
  display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; font-weight: 700; opacity: .82;
}
.eq-erp-badge {
  padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(2, 132, 199, .12); color: #0369a1;
}
body[data-theme="dark"] .eq-erp-badge { background: rgba(56, 189, 248, .18); color: #7dd3fc; }
.eq-planned-tags {
  font-size: 11.5px; opacity: .72; line-height: 1.45; overflow-wrap: anywhere;
}
.eq-card-meta { overflow-wrap: anywhere; }
.eq-card-meta span { max-width: 100%; overflow-wrap: anywhere; }

.eq-card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px dashed rgba(148, 163, 184, .22); font-size: 12px;
}
.eq-card-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.eq-btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }

.eq-trend-box {
  padding: 16px; border-radius: 14px; background: var(--surface, #fff);
  border: 1px solid var(--border, rgba(15, 23, 42, .1));
}
body[data-theme="dark"] .eq-trend-box { background: rgba(15, 23, 42, .72); border-color: rgba(148, 163, 184, .18); }
.eq-trend-svg { width: 100%; height: 180px; display: block; }
.eq-trend-grid { stroke: rgba(148, 163, 184, .24); stroke-dasharray: 3 3; }
.eq-trend-line { fill: none; stroke: #0284c7; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.eq-trend-area { fill: rgba(2, 132, 199, .14); }
.eq-trend-dot { fill: #0284c7; }
.eq-trend-warn { stroke: #ef4444; stroke-dasharray: 5 4; stroke-width: 1.4; }
.eq-trend-axis { fill: currentColor; font-size: 11px; opacity: .68; }

.eq-plan-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.eq-plan-card {
  padding: 15px 16px; border-radius: 14px; background: var(--surface, #fff);
  border: 1px solid var(--border, rgba(15, 23, 42, .1));
  display: flex; flex-direction: column; gap: 10px;
}
body[data-theme="dark"] .eq-plan-card { background: rgba(15, 23, 42, .76); border-color: rgba(148, 163, 184, .2); }
.eq-plan-card.is-overdue { border-color: rgba(220, 38, 38, .4); background: rgba(220, 38, 38, .04); }
.eq-plan-card.is-due { border-color: rgba(2, 132, 199, .38); }
.eq-plan-items { margin: 0; padding-left: 18px; font-size: 12.5px; opacity: .86; display: flex; flex-direction: column; gap: 3px; }

.eq-modal-backdrop {
  position: fixed; inset: 0; z-index: 950; background: rgba(15, 23, 42, .56);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  overscroll-behavior: none;
}
.eq-modal {
  width: min(760px, 100%); max-height: 88vh; overflow: auto; overscroll-behavior: contain;
  border-radius: 18px; padding: 20px 22px; background: var(--surface, #fff);
  border: 1px solid var(--border, rgba(15, 23, 42, .14));
  box-shadow: 0 24px 60px rgba(15, 23, 42, .32);
  display: flex; flex-direction: column; gap: 14px;
}
body[data-theme="dark"] .eq-modal { background: #0f172a; border-color: rgba(148, 163, 184, .28); color: #e2e8f0; }
.eq-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid rgba(148, 163, 184, .2); padding-bottom: 10px; }
.eq-modal-head h3 { margin: 0; font-size: 17px; }
.eq-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
@media (max-width: 680px) { .eq-form-grid { grid-template-columns: 1fr; } }
.eq-form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; }
.eq-form-full { grid-column: 1 / -1; }
.eq-inline-check { flex-direction: row !important; align-items: center; gap: 8px !important; cursor: pointer; }
.eq-modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(148, 163, 184, .2); }

.eq-checklist { display: flex; flex-direction: column; gap: 10px; }
.eq-check-row {
  padding: 12px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, .24);
  background: rgba(148, 163, 184, .05); display: flex; flex-direction: column; gap: 8px;
}
.eq-check-row.is-abnormal { border-color: rgba(220, 38, 38, .4); background: rgba(220, 38, 38, .06); }
.eq-check-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.eq-check-std { font-size: 12px; opacity: .75; }
.eq-check-inputs { display: grid; grid-template-columns: 150px 1fr; gap: 8px; }
@media (max-width: 600px) { .eq-check-inputs { grid-template-columns: 1fr; } }
.eq-radio-group { display: inline-flex; gap: 6px; }
.eq-radio-pill {
  padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(148, 163, 184, .32);
  font-size: 12px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.eq-radio-pill.is-ok-active { background: rgba(16, 185, 129, .18); border-color: #10b981; color: #047857; }
.eq-radio-pill.is-bad-active { background: rgba(220, 38, 38, .18); border-color: #dc2626; color: #b91c1c; }

.eq-subtable-editor { display: flex; flex-direction: column; gap: 8px; }
.eq-subrow { display: grid; grid-template-columns: 1.2fr 1fr .65fr .7fr .7fr .7fr auto; gap: 6px; align-items: center; }
.eq-subrow-plan { display: grid; grid-template-columns: 1.2fr 1.6fr .8fr auto; gap: 6px; align-items: center; }
.eq-subrow-part { display: grid; grid-template-columns: 1.2fr 1fr .6fr .6fr .8fr auto; gap: 6px; align-items: center; }
@media (max-width: 720px) { .eq-subrow, .eq-subrow-plan, .eq-subrow-part { grid-template-columns: 1fr 1fr; } }

.eq-code-box {
  padding: 12px 14px; border-radius: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; background: rgba(15, 23, 42, .06); border: 1px solid rgba(148, 163, 184, .24);
  white-space: pre-wrap; word-break: break-all; overflow-x: auto;
}
body[data-theme="dark"] .eq-code-box { background: rgba(2, 6, 23, .6); }
.eq-empty-cta {
  padding: 28px 20px; text-align: center; border-radius: 16px;
  border: 1px dashed rgba(14, 116, 144, .35); background: rgba(14, 116, 144, .04);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.eq-empty-cta p { margin: 0; max-width: 540px; opacity: .8; font-size: 13.5px; }
.eq-readonly-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 12px; font-size: 13px;
  background: rgba(2, 132, 199, .09); border: 1px solid rgba(2, 132, 199, .24);
}
body[data-theme="dark"] .eq-readonly-bar { background: rgba(56, 189, 248, .12); border-color: rgba(56, 189, 248, .28); }
.eq-ops-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px;
  background: #0e7490; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px;
}
.eq-ops-link:hover { background: #0c5f76; color: #fff; }
.eq-page .card {
  background: var(--surface, #fff); border: 1px solid var(--border, rgba(15, 23, 42, .1));
  border-radius: 14px; padding: 14px 16px;
}
body[data-theme="dark"] .eq-page .card { background: rgba(15, 23, 42, .74); border-color: rgba(148, 163, 184, .18); }
.eq-page button.primary {
  background: #2457d6; color: #fff; border: 1px solid #2457d6; border-radius: 10px;
  padding: 7px 14px; font-weight: 700; font-size: 13px; cursor: pointer;
}
.eq-page button.primary:hover { background: #1d47b5; }
.eq-page button.secondary {
  background: transparent; color: inherit; border: 1px solid rgba(148, 163, 184, .4); border-radius: 10px;
  padding: 7px 12px; font-weight: 600; font-size: 13px; cursor: pointer;
}
.eq-page button.secondary:hover { background: rgba(148, 163, 184, .12); }
.eq-page button.text-button {
  background: transparent; color: #dc2626; border: none; padding: 4px 8px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.eq-page input, .eq-page select {
  padding: 7px 10px; border-radius: 9px; border: 1px solid rgba(148, 163, 184, .38);
  background: var(--surface, #fff); color: inherit; font-size: 13px; min-height: 36px;
}
.eq-page input[type="checkbox"], .eq-page input[type="radio"] {
  width: auto; min-height: auto; padding: 0; margin: 0; accent-color: #2457d6; cursor: pointer;
}
body[data-theme="dark"] .eq-page input, body[data-theme="dark"] .eq-page select { background: rgba(15, 23, 42, .85); border-color: rgba(148, 163, 184, .28); }
.eq-page .table-wrap { overflow-x: auto; border-radius: 10px; }
.eq-page table { width: 100%; border-collapse: collapse; font-size: 13px; }
.eq-page th, .eq-page td { text-align: left; padding: 9px 10px; border-bottom: 1px solid rgba(148, 163, 184, .18); vertical-align: top; }
.eq-page th { font-weight: 700; font-size: 12px; opacity: .78; white-space: nowrap; background: rgba(148, 163, 184, .06); }
@media (max-width: 680px) {
  .eq-device-grid, .eq-plan-list { grid-template-columns: minmax(0, 1fr); }
  .eq-hero { padding: 14px; }
  .eq-kpi { padding: 12px; }
  .eq-kpi-value { font-size: 21px; }
}
.eq-page .empty { padding: 24px 16px; text-align: center; opacity: .82; }
.eq-page .empty b { display: block; margin-bottom: 4px; font-size: 14.5px; }
.eq-page .empty p, .eq-page .subtle { margin: 0; font-size: 12.5px; opacity: .74; }
.eq-page .notice.warn { padding: 8px 12px; border-radius: 10px; background: rgba(217, 119, 6, .12); color: #b45309; font-size: 12.5px; }
body[data-theme="dark"] .eq-page .notice.warn { color: #fbbf24; }

/* Clickable device card cue */
.eq-device-card.is-clickable { cursor: pointer; }
.eq-device-card.is-clickable:hover { border-color: rgba(14, 165, 233, .55); box-shadow: 0 12px 28px rgba(14, 116, 144, .14); }

/* ================= SINGLE-EQUIPMENT INDUSTRIAL SCADA OPERATIONS COCKPIT ================= */
.eq-cockpit-backdrop {
  position: fixed; inset: 0; z-index: 980;
  background: rgba(2, 6, 23, .76); backdrop-filter: blur(8px);
  display: flex; align-items: stretch; justify-content: center;
  padding: 14px;
  overscroll-behavior: none;
}
html:has(.eq-cockpit-backdrop, .eq-modal-backdrop),
body:has(.eq-cockpit-backdrop, .eq-modal-backdrop) {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
.eq-cockpit {
  width: min(1440px, 100%); height: calc(100vh - 28px);
  background: radial-gradient(1100px 560px at 14% -6%, rgba(14, 165, 233, .16), transparent 62%),
              radial-gradient(900px 460px at 90% 8%, rgba(16, 185, 129, .12), transparent 58%),
              linear-gradient(180deg, #071122 0%, #0b162c 48%, #091324 100%);
  color: #e2e8f0;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(125, 211, 252, .16);
  display: flex; flex-direction: column; overflow: hidden;
}
.eq-ck-head {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 20px 12px;
  background: linear-gradient(90deg, rgba(15, 23, 42, .92), rgba(14, 52, 92, .72));
  border-bottom: 1px solid rgba(56, 189, 248, .22);
  flex-shrink: 0;
}
.eq-ck-head-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.eq-ck-title-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.eq-ck-title-wrap h3 {
  margin: 0; font-size: 19px; font-weight: 800; letter-spacing: .01em; color: #f8fafc;
}
.eq-ck-code {
  padding: 3px 9px; border-radius: 7px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; font-weight: 700; color: #7dd3fc;
  background: rgba(14, 165, 233, .16); border: 1px solid rgba(56, 189, 248, .35);
}
.eq-ck-live-dot {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: #34d399;
  background: rgba(16, 185, 129, .14); border: 1px solid rgba(52, 211, 153, .32);
}
.eq-ck-live-dot i {
  width: 7px; height: 7px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 8px #34d399; animation: eqPulseDot 1.6s ease-in-out infinite;
}
@keyframes eqPulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
.eq-ck-head-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eq-ck-meta-chip {
  font-size: 12px; color: #94a3b8; padding: 4px 10px; border-radius: 8px;
  background: rgba(15, 23, 42, .65); border: 1px solid rgba(148, 163, 184, .18);
  font-variant-numeric: tabular-nums;
}
.eq-ck-close {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, .3);
  background: rgba(15, 23, 42, .7); color: #f8fafc; font-size: 20px; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.eq-ck-close:hover { background: rgba(239, 68, 68, .28); border-color: rgba(248, 113, 113, .6); }

/* Quick machine switcher bar */
.eq-ck-switcher {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.eq-ck-sw-btn {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .22); background: rgba(15, 23, 42, .55);
  color: #cbd5e1; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: all .15s ease;
}
.eq-ck-sw-btn i { width: 6px; height: 6px; border-radius: 50%; background: #64748b; }
.eq-ck-sw-btn.is-RUNNING i { background: #10b981; box-shadow: 0 0 6px #10b981; }
.eq-ck-sw-btn.is-IDLE i { background: #38bdf8; }
.eq-ck-sw-btn.is-FAULT i { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.eq-ck-sw-btn:hover { border-color: rgba(56, 189, 248, .5); color: #fff; }
.eq-ck-sw-btn.is-active {
  background: linear-gradient(135deg, #0284c7, #0e7490); border-color: #38bdf8; color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, .35);
}

.eq-ck-body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin; scrollbar-color: rgba(56, 189, 248, .35) rgba(8, 17, 34, .6);
}
.eq-ck-body::-webkit-scrollbar, .eq-ck-stream::-webkit-scrollbar { width: 7px; height: 7px; }
.eq-ck-body::-webkit-scrollbar-track, .eq-ck-stream::-webkit-scrollbar-track { background: rgba(8, 17, 34, .55); }
.eq-ck-body::-webkit-scrollbar-thumb, .eq-ck-stream::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, .35); border-radius: 999px; }

/* Panels inside cockpit */
.eq-ck-panel {
  background: linear-gradient(180deg, rgba(15, 28, 52, .86), rgba(11, 22, 42, .9));
  border: 1px solid rgba(56, 189, 248, .18);
  border-radius: 16px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
}
.eq-ck-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.eq-ck-panel-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 800; color: #f1f5f9; letter-spacing: .02em;
}
.eq-ck-panel-title::before {
  content: ""; width: 4px; height: 15px; border-radius: 4px;
  background: linear-gradient(180deg, #38bdf8, #10b981);
}
.eq-ck-panel-sub { font-size: 11.5px; color: #94a3b8; }

.eq-ck-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eq-ck-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.eq-ck-grid-12 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr); gap: 14px; }
.eq-ck-grid-21 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1.05fr); gap: 14px; }
@media (max-width: 1080px) {
  .eq-ck-grid-2, .eq-ck-grid-3, .eq-ck-grid-12, .eq-ck-grid-21 { grid-template-columns: 1fr; }
}

/* Radial gauge strip */
.eq-ck-gauges {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
}
.eq-ck-gauge-card {
  padding: 10px 8px 11px; border-radius: 14px;
  background: rgba(8, 17, 34, .72); border: 1px solid rgba(148, 163, 184, .14);
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
}
.eq-ck-gauge-card.is-breach { border-color: rgba(248, 113, 113, .6); background: rgba(127, 29, 29, .24); }
.eq-ck-gauge-svg { width: 136px; height: 96px; display: block; overflow: visible; }
.eq-ck-gauge-label { font-size: 12px; font-weight: 700; color: #cbd5e1; margin-top: -4px; }
.eq-ck-gauge-sub { font-size: 11px; color: #64748b; }

/* Big glowing digital readout counters */
.eq-ck-counters {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px;
}
.eq-ck-counter {
  padding: 11px 13px; border-radius: 12px;
  background: rgba(8, 17, 34, .78); border: 1px solid rgba(56, 189, 248, .16);
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.eq-ck-counter span { font-size: 11.5px; color: #94a3b8; font-weight: 600; }
.eq-ck-counter strong {
  font-size: 21px; font-weight: 800; color: #f8fafc; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.eq-ck-counter strong small { display: inline !important; font-size: 12px; font-weight: 600; color: #7dd3fc; margin-left: 3px; }
.eq-ck-counter em { font-style: normal; font-size: 11px; color: #64748b; }
.eq-ck-counter.is-cyan strong { color: #38bdf8; }
.eq-ck-counter.is-emerald strong { color: #34d399; }
.eq-ck-counter.is-amber strong { color: #fbbf24; }
.eq-ck-counter.is-violet strong { color: #c084fc; }

/* Interactive Process Flow Mimic */
.eq-ck-mimic {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
  position: relative;
}
.eq-ck-stage {
  position: relative; padding: 12px 12px 11px; border-radius: 13px;
  background: rgba(8, 17, 34, .76); border: 1px solid rgba(148, 163, 184, .18);
  display: flex; flex-direction: column; gap: 7px; min-width: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.eq-ck-stage.is-active {
  border-color: rgba(52, 211, 153, .62);
  background: linear-gradient(180deg, rgba(6, 78, 59, .36), rgba(8, 17, 34, .88));
  box-shadow: 0 0 18px rgba(16, 185, 129, .18);
}
.eq-ck-stage.is-focus {
  border-color: rgba(56, 189, 248, .75);
  box-shadow: 0 0 22px rgba(56, 189, 248, .22);
}
.eq-ck-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.eq-ck-stage-idx {
  font-size: 11px; font-weight: 800; color: #7dd3fc;
  padding: 2px 6px; border-radius: 6px; background: rgba(56, 189, 248, .14);
}
.eq-ck-stage-name { font-size: 13.5px; font-weight: 800; color: #f8fafc; }
.eq-ck-stage-metric { font-size: 18px; font-weight: 800; color: #38bdf8; font-variant-numeric: tabular-nums; }
.eq-ck-stage.is-active .eq-ck-stage-metric { color: #34d399; }
.eq-ck-stage-bar { height: 6px; border-radius: 999px; background: rgba(148, 163, 184, .18); overflow: hidden; }
.eq-ck-stage-bar > i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  transition: width .35s ease;
}
.eq-ck-stage.is-active .eq-ck-stage-bar > i { background: linear-gradient(90deg, #10b981, #34d399); }
.eq-ck-stage-sub { font-size: 11px; color: #94a3b8; line-height: 1.4; overflow-wrap: anywhere; }

/* LED indicator pills & matrix */
.eq-ck-led-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.eq-ck-led {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px;
  font-size: 12px; font-weight: 600; color: #94a3b8;
  background: rgba(15, 23, 42, .75); border: 1px solid rgba(148, 163, 184, .18);
}
.eq-ck-led i { width: 8px; height: 8px; border-radius: 50%; background: #475569; flex-shrink: 0; }
.eq-ck-led.is-on { color: #d1fae5; border-color: rgba(52, 211, 153, .42); background: rgba(6, 78, 59, .34); }
.eq-ck-led.is-on i { background: #34d399; box-shadow: 0 0 8px #34d399; }
.eq-ck-led.is-warn { color: #fef3c7; border-color: rgba(251, 191, 36, .48); background: rgba(120, 53, 15, .36); }
.eq-ck-led.is-warn i { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.eq-ck-led.is-bad { color: #fee2e2; border-color: rgba(248, 113, 113, .55); background: rgba(127, 29, 29, .42); }
.eq-ck-led.is-bad i { background: #f87171; box-shadow: 0 0 8px #f87171; }
.eq-ck-led b { color: #f8fafc; font-weight: 800; font-variant-numeric: tabular-nums; }

/* 160-coil PLC lamp matrix */
.eq-ck-coil-matrix {
  display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px;
}
@media (max-width: 720px) { .eq-ck-coil-matrix { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.eq-ck-coil {
  height: 18px; border-radius: 4px; font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30, 41, 59, .82); border: 1px solid rgba(100, 116, 139, .22); color: #475569;
  font-variant-numeric: tabular-nums;
}
.eq-ck-coil.is-on {
  background: linear-gradient(135deg, #059669, #10b981); border-color: #6ee7b7; color: #ecfdf5;
  box-shadow: 0 0 8px rgba(16, 185, 129, .45);
}

/* Charts inside cockpit */
.eq-ck-svg-chart { width: 100%; height: 184px; display: block; }
.eq-ck-tag-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.eq-ck-tag-tab {
  padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  border: 1px solid rgba(148, 163, 184, .24); background: rgba(15, 23, 42, .62);
  color: #cbd5e1; cursor: pointer;
}
.eq-ck-tag-tab:hover { border-color: #38bdf8; color: #fff; }
.eq-ck-tag-tab.is-active { background: #0284c7; border-color: #38bdf8; color: #fff; }

/* Horizontal proportional mix bars */
.eq-ck-mix-list { display: flex; flex-direction: column; gap: 9px; }
.eq-ck-mix-row { display: flex; flex-direction: column; gap: 4px; }
.eq-ck-mix-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.eq-ck-mix-top b { color: #f8fafc; font-variant-numeric: tabular-nums; }
.eq-ck-mix-track { height: 8px; border-radius: 999px; background: rgba(148, 163, 184, .16); overflow: hidden; }
.eq-ck-mix-track > i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #34d399);
}

/* 24h stacked timeline bar */
.eq-ck-timeline-bar {
  display: flex; height: 22px; border-radius: 999px; overflow: hidden;
  background: rgba(30, 41, 59, .9); border: 1px solid rgba(148, 163, 184, .22);
}
.eq-ck-timeline-seg { height: 100%; transition: width .3s ease; }
.eq-ck-timeline-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 12px; color: #cbd5e1; }
.eq-ck-timeline-legend span { display: inline-flex; align-items: center; gap: 6px; }
.eq-ck-timeline-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Live Glass Blueprint SVG box */
.eq-ck-blueprint-svg { width: 100%; height: 214px; display: block; }

/* Real-time event / piece ticker pills (visual cards, NOT ledger tables) */
.eq-ck-stream {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px;
  max-height: 230px; overflow-y: auto; padding-right: 2px;
}
.eq-ck-stream-card {
  padding: 9px 11px; border-radius: 10px;
  background: rgba(8, 17, 34, .76); border: 1px solid rgba(56, 189, 248, .15);
  display: flex; flex-direction: column; gap: 3px; font-size: 12px;
}
.eq-ck-stream-card.is-warn { border-color: rgba(251, 191, 36, .4); }
.eq-ck-stream-card.is-bad { border-color: rgba(248, 113, 113, .48); }
.eq-ck-stream-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.eq-ck-stream-top b { color: #f8fafc; font-variant-numeric: tabular-nums; }
.eq-ck-stream-top span { font-size: 11px; color: #7dd3fc; font-variant-numeric: tabular-nums; }
.eq-ck-stream-sub { font-size: 11.5px; color: #94a3b8; overflow-wrap: anywhere; }

/* PLC sub-console cards (for Edger 3-PLC view) */
.eq-ck-plc-card {
  padding: 12px 13px; border-radius: 13px;
  background: rgba(8, 17, 34, .78); border: 1px solid rgba(56, 189, 248, .2);
  display: flex; flex-direction: column; gap: 10px;
}
.eq-ck-plc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.eq-ck-plc-head b { font-size: 14px; color: #f8fafc; }
.eq-ck-plc-head code {
  font-size: 11.5px; color: #7dd3fc; padding: 2px 7px; border-radius: 6px;
  background: rgba(56, 189, 248, .14);
}
.eq-ck-kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 7px; }
.eq-ck-kv {
  padding: 7px 9px; border-radius: 9px;
  background: rgba(15, 28, 52, .85); border: 1px solid rgba(148, 163, 184, .14);
  display: flex; flex-direction: column; gap: 2px;
}
.eq-ck-kv span { font-size: 10.5px; color: #94a3b8; }
.eq-ck-kv strong { font-size: 14.5px; color: #f8fafc; font-variant-numeric: tabular-nums; }
.eq-ck-kv strong small { display: inline !important; font-size: 10.5px; color: #7dd3fc; margin-left: 2px; font-weight: 600; }

/* Stat summary chips above trend chart */
.eq-ck-chart-stats { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: #94a3b8; }
.eq-ck-chart-stats b { color: #f8fafc; font-variant-numeric: tabular-nums; margin-left: 3px; }

@media (max-width: 680px) {
  .eq-cockpit-backdrop { padding: 6px; }
  .eq-cockpit { height: calc(100vh - 12px); border-radius: 14px; }
  .eq-ck-head { padding: 11px 12px; }
  .eq-ck-body { padding: 12px; }
}

/* ================= SINGLE-MACHINE 3D TWIN DIALOG ================= */
.eq-twin-dialog {
  width: min(1440px, 100%);
  max-height: calc(100vh - 28px);
  background: #f4f7fb;
  color: #0f172a;
  border: 1px solid rgba(56, 189, 248, .35);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .52);
  display: flex; flex-direction: column; overflow: hidden;
}
body[data-theme="dark"] .eq-twin-dialog { background: #0b1528; color: #e2e8f0; }
.eq-twin-head {
  display: flex; flex-direction: column; gap: 10px;
  padding: 13px 18px 11px;
  background: linear-gradient(90deg, #0f172a, #173463);
  color: #f8fafc;
  border-bottom: 1px solid rgba(56, 189, 248, .25);
  flex-shrink: 0;
}
.eq-twin-head-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.eq-twin-title-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eq-twin-title-wrap h3 { margin: 0; font-size: 18px; font-weight: 800; color: #ffffff; }
.eq-twin-head-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eq-twin-head-right .secondary {
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(148, 163, 184, .36) !important;
  color: #f8fafc !important;
}
.eq-twin-head-right .secondary:hover { background: rgba(56, 189, 248, .24) !important; border-color: #38bdf8 !important; }
.eq-twin-close {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, .34);
  background: rgba(15, 23, 42, .6); color: #f8fafc; font-size: 20px; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.eq-twin-close:hover { background: rgba(239, 68, 68, .3); border-color: rgba(248, 113, 113, .6); }
.eq-twin-switcher { display: flex; gap: 6px; flex-wrap: wrap; }
.eq-twin-sw-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .24); background: rgba(15, 23, 42, .5);
  color: #cbd5e1; font-size: 12px; font-weight: 700; cursor: pointer;
}
.eq-twin-sw-btn i { width: 6px; height: 6px; border-radius: 50%; background: #64748b; }
.eq-twin-sw-btn.is-RUNNING i { background: #10b981; box-shadow: 0 0 6px #10b981; }
.eq-twin-sw-btn.is-IDLE i { background: #38bdf8; }
.eq-twin-sw-btn.is-active { background: #0284c7; border-color: #38bdf8; color: #ffffff; }
.eq-twin-body {
  flex: 1; overflow-y: auto; padding: 14px 16px 18px;
}
.eq-twin-body .ng-twin-panel { margin: 0; }
.eq-twin-body .ng-twin-stage { align-items: start; }
.eq-twin-body .ng-twin-canvas-wrap { align-self: start; }

/* Standalone Process CCTV Modal Window */
.eq-cam-dialog {
  width: min(1360px, 100%);
  max-height: calc(100vh - 28px);
  background: linear-gradient(180deg, #0b1528, #07101f);
  color: #f8fafc;
  border: 1px solid rgba(56, 189, 248, .38);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .62);
  display: flex; flex-direction: column; overflow: hidden;
}
.eq-cam-head {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 18px 12px;
  background: linear-gradient(90deg, rgba(15, 23, 42, .96), rgba(20, 44, 84, .92));
  border-bottom: 1px solid rgba(56, 189, 248, .24);
  flex-shrink: 0;
}
.eq-cam-head-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.eq-cam-modal-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; }
.eq-cam-modal-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.eq-cam-modal-grid.is-single { grid-template-columns: 1fr; }
@media (max-width: 820px) {
  .eq-cam-modal-grid { grid-template-columns: 1fr; }
}
.eq-ck-cam-badge {
  padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(16, 185, 129, .18); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, .42);
}
.eq-ck-cam-controls { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.eq-ck-cam-btn {
  padding: 5px 11px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer;
  border: 1px solid rgba(148, 163, 184, .34); background: rgba(30, 41, 59, .88); color: #e2e8f0;
  transition: background .15s ease, border-color .15s ease;
}
.eq-ck-cam-btn:hover { border-color: #38bdf8; color: #ffffff; background: rgba(14, 165, 233, .22); }
.eq-ck-cam-btn.is-primary { background: #0284c7; border-color: #38bdf8; color: #ffffff; }
.eq-ck-cam-btn.is-active { background: rgba(16, 185, 129, .24); border-color: #34d399; color: #ecfdf5; }
.eq-ck-cam-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.eq-ck-cam-chip {
  padding: 3px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; cursor: pointer;
  border: 1px solid rgba(56, 189, 248, .28); background: rgba(15, 23, 42, .78); color: #bae6fd;
}
.eq-ck-cam-chip:hover, .eq-ck-cam-chip.is-focus { background: #0284c7; border-color: #7dd3fc; color: #ffffff; }
.eq-ck-cam-status { font-size: 11.5px; color: #94a3b8; margin-left: auto; }
.eq-ck-cam-tile {
  border-radius: 12px; overflow: hidden;
  background: #020617; border: 1px solid rgba(56, 189, 248, .28);
  display: flex; flex-direction: column;
}
.eq-ck-cam-tile-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 6px 10px; background: rgba(15, 23, 42, .94); font-size: 12px; color: #e2e8f0; font-weight: 700;
}
.eq-ck-cam-tile-bar button {
  padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer;
  border: 1px solid rgba(56, 189, 248, .38); background: rgba(14, 165, 233, .16); color: #7dd3fc;
}
.eq-ck-cam-tile-bar button:hover { background: #0284c7; color: #ffffff; }
.eq-ck-cam-viewport {
  position: relative; aspect-ratio: 16 / 9; width: 100%; background: radial-gradient(circle at 50% 45%, #0f172a, #020617);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.eq-ck-cam-viewport video,
.eq-ck-cam-viewport img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eq-ck-cam-viewport span { font-size: 12.5px; color: #94a3b8; padding: 10px; text-align: center; }
.eq-ck-cam-foot { padding: 5px 10px; font-size: 11px; color: #94a3b8; background: rgba(15, 23, 42, .8); }

/* Sealer & IGU Live HMI Mirror, Saturation Cards, Corner Valve Table & Param Change Trail */
.eq-mix-pill.is-warn-pill {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #b45309;
  font-weight: 700;
}
.eq-sealer-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(245, 158, 11, .22), rgba(217, 119, 6, .12));
  border: 1px solid rgba(251, 191, 36, .52);
  color: #fef3c7;
}
.eq-sealer-banner-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(251, 191, 36, .24);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, .4);
}
.eq-sealer-banner strong { font-size: 15px; font-weight: 800; color: #fde68a; }
.eq-sealer-banner small { margin-left: auto; font-size: 11.5px; color: #cbd5e1; }

.eq-sealer-kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.eq-ck-hmi-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(56, 189, 248, .28);
  padding: 8px;
}
.eq-ck-hmi-wrap.is-wide .eq-ck-hmi-img {
  max-width: 920px;
  margin: 0 auto;
}
.eq-ck-hmi-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, .22);
  background: #0f172a;
}
.eq-ck-hmi-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 4px 6px 2px;
  font-size: 12px;
  color: #94a3b8;
}
.eq-ck-hmi-foot b { color: #e2e8f0; }

.eq-sealer-sat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.eq-sealer-sat-card {
  padding: 10px 10px 9px;
  border-radius: 11px;
  background: rgba(8, 17, 34, .78);
  border: 1px solid rgba(148, 163, 184, .22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}
.eq-sealer-sat-card.is-ok {
  border-color: rgba(52, 211, 153, .45);
  background: linear-gradient(180deg, rgba(6, 78, 59, .32), rgba(8, 17, 34, .82));
}
.eq-sealer-sat-card.is-warn {
  border-color: rgba(251, 191, 36, .55);
  background: linear-gradient(180deg, rgba(120, 53, 15, .38), rgba(8, 17, 34, .84));
}
.eq-sealer-sat-name { font-size: 11.5px; color: #94a3b8; font-weight: 600; }
.eq-sealer-sat-card strong {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}
.eq-sealer-sat-card.is-ok strong { color: #34d399; }
.eq-sealer-sat-card.is-warn strong { color: #fbbf24; }
.eq-sealer-sat-card em { font-style: normal; font-size: 11px; color: #94a3b8; }
.eq-sealer-sat-card.is-ok em { color: #6ee7b7; }
.eq-sealer-sat-card.is-warn em { color: #fde68a; }

.eq-sealer-table-wrap { width: 100%; overflow-x: auto; }
.eq-sealer-corner-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}
.eq-sealer-corner-table th {
  text-align: left;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(15, 23, 42, .84);
  border-bottom: 1px solid rgba(56, 189, 248, .22);
}
.eq-sealer-corner-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}
.eq-sealer-corner-table tr:last-child td { border-bottom: 0; }
.eq-sealer-corner-table td b { color: #38bdf8; }

.eq-sealer-changes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
}
.eq-sealer-change-item {
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(8, 17, 34, .76);
  border: 1px solid rgba(56, 189, 248, .2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.eq-sealer-change-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.eq-sealer-change-head b { color: #e2e8f0; }
.eq-sealer-change-head time { font-size: 11px; color: #94a3b8; }
.eq-sealer-change-val {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.eq-sealer-change-val .is-old { color: #94a3b8; text-decoration: line-through; }
.eq-sealer-change-val .is-arrow { color: #38bdf8; }
.eq-sealer-change-val .is-new { color: #34d399; }
.eq-sealer-empty-tip {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, .62);
  border: 1px dashed rgba(148, 163, 184, .28);
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
}
.eq-sealer-page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.eq-sealer-page-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, .28);
  background: rgba(15, 23, 42, .76);
  color: #cbd5e1;
  font-size: 12.5px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.eq-sealer-page-tab:hover { border-color: #38bdf8; color: #ffffff; }
.eq-sealer-page-tab.is-active {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  border-color: #7dd3fc;
  color: #ffffff;
}
.eq-sealer-page-tab span {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}
.eq-sealer-page-view {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.eq-sealer-page-params {
  max-height: 380px;
  overflow-y: auto;
  border-radius: 10px;
  background: rgba(8, 17, 34, .64);
  border: 1px solid rgba(148, 163, 184, .18);
  padding: 6px;
}

@media (max-width: 980px) {
  .eq-sealer-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eq-sealer-page-view { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .eq-sealer-page-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .eq-sealer-page-tabs::-webkit-scrollbar { display: none; }
  .eq-sealer-page-tab { flex-shrink: 0; min-height: 40px; }
  .eq-sealer-page-params { max-height: none; overflow: visible; padding: 0; background: transparent; border: 0; }
  .eq-sealer-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .eq-sealer-sat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .eq-sealer-banner { padding: 9px 11px; gap: 6px; }
  .eq-sealer-banner small { margin-left: 0; width: 100%; }
  .eq-sealer-changes { grid-template-columns: 1fr; }
  .eq-sealer-table-wrap { overflow: visible; }
  .eq-sealer-corner-table, .eq-sealer-corner-table tbody { display: block; width: 100%; }
  .eq-sealer-corner-table thead { display: none; }
  .eq-sealer-corner-table tr {
    display: block;
    background: rgba(8, 17, 34, .82);
    border: 1px solid rgba(56, 189, 248, .22);
    border-radius: 11px;
    padding: 8px 11px;
    margin-bottom: 8px;
  }
  .eq-sealer-corner-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, .18);
    text-align: right;
  }
  .eq-sealer-corner-table td:last-child { border-bottom: 0; }
  .eq-sealer-corner-table td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 650;
    color: #94a3b8;
    text-align: left;
    flex-shrink: 0;
  }
}
/* END EQUIPMENT PAGE STYLES */
/* BEGIN IRON RACKS PAGE STYLES */
.ir-page {
  --ir-bg: var(--surface, var(--wms-surface, #ffffff));
  --ir-bg-soft: var(--surface-soft, var(--wms-surface-soft, #f4f7fc));
  --ir-border: var(--line, var(--wms-border, rgba(15, 23, 42, 0.1)));
  --ir-ink: var(--ink, var(--wms-ink, #0f172a));
  --ir-muted: var(--muted, var(--wms-muted, #64748b));
  --ir-primary: var(--primary, var(--wms-primary, #2457d6));
  --ir-good: #059669;
  --ir-warn: #d97706;
  --ir-bad: #dc2626;
  --ir-info: #0284c7;
  display: grid;
  gap: 16px;
  color: var(--ir-ink);
}

body[data-theme="dark"] .ir-page,
html[data-theme="dark"] .ir-page {
  --ir-bg: rgba(20, 28, 46, 0.92);
  --ir-bg-soft: rgba(30, 41, 59, 0.72);
  --ir-border: rgba(148, 163, 184, 0.2);
  --ir-ink: #e2e8f0;
  --ir-muted: #94a3b8;
}

.ir-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--ir-bg);
  border: 1px solid var(--ir-border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.ir-hero-copy {
  display: grid;
  gap: 4px;
}

.ir-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ir-primary);
}

.ir-hero h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ir-ink);
}

.ir-hero p {
  margin: 0;
  font-size: 13px;
  color: var(--ir-muted);
}

.ir-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--ir-border);
  background: var(--ir-bg);
  color: var(--ir-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ir-btn:hover {
  background: var(--ir-bg-soft);
}

.ir-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ir-btn.is-primary {
  background: var(--ir-primary);
  border-color: var(--ir-primary);
  color: #fff;
}

.ir-btn.is-primary:hover {
  filter: brightness(1.06);
}

.ir-btn.is-good {
  background: var(--ir-good);
  border-color: var(--ir-good);
  color: #fff;
}

.ir-btn.is-good:hover {
  filter: brightness(1.06);
}

.ir-btn.is-warn {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
  color: var(--ir-warn);
}

.ir-btn.is-bad {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
  color: var(--ir-bad);
}

.ir-btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.ir-readonly-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(36, 87, 214, 0.08);
  border: 1px solid rgba(36, 87, 214, 0.22);
  font-size: 13px;
}

.ir-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 960px) {
  .ir-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ir-kpi {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--ir-bg);
  border: 1px solid var(--ir-border);
  border-left: 4px solid var(--ir-primary);
}

.ir-kpi.is-good { border-left-color: var(--ir-good); }
.ir-kpi.is-warn { border-left-color: var(--ir-warn); }
.ir-kpi.is-bad { border-left-color: var(--ir-bad); }
.ir-kpi.is-info { border-left-color: var(--ir-info); }

.ir-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ir-muted);
}

.ir-kpi-value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ir-ink);
}

.ir-kpi.is-bad .ir-kpi-value {
  color: var(--ir-bad);
}

.ir-kpi-sub {
  font-size: 12px;
  color: var(--ir-muted);
}

.ir-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--ir-border);
  padding-bottom: 8px;
}

.ir-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ir-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ir-tab:hover {
  background: var(--ir-bg-soft);
  color: var(--ir-ink);
}

.ir-tab.is-active {
  background: rgba(36, 87, 214, 0.12);
  border-color: rgba(36, 87, 214, 0.25);
  color: var(--ir-primary);
}

.ir-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ir-bg-soft);
  color: var(--ir-ink);
  font-size: 11px;
  font-weight: 700;
}

.ir-tab-badge.is-alert {
  background: var(--ir-bad);
  color: #fff;
}

.ir-panel {
  background: var(--ir-bg);
  border: 1px solid var(--ir-border);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.ir-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ir-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ir-input,
.ir-select,
.ir-textarea {
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid var(--ir-border);
  background: var(--ir-bg);
  color: var(--ir-ink);
  font-size: 13px;
  font-family: inherit;
}

.ir-input:focus,
.ir-select:focus,
.ir-textarea:focus {
  outline: 2px solid rgba(36, 87, 214, 0.35);
  border-color: var(--ir-primary);
}

.ir-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ir-border);
  background: var(--ir-bg-soft);
  color: var(--ir-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ir-chip.is-active {
  background: var(--ir-primary);
  border-color: var(--ir-primary);
  color: #fff;
}

.ir-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ir-table th {
  text-align: left;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ir-muted);
  border-bottom: 1px solid var(--ir-border);
  white-space: nowrap;
  background: var(--ir-bg-soft);
}

.ir-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--ir-border);
  vertical-align: middle;
}

.ir-table tr:hover td {
  background: rgba(36, 87, 214, 0.03);
}

.ir-table tr.is-reversed td {
  opacity: 0.55;
  text-decoration: line-through;
}

.ir-cust-cell {
  display: grid;
  gap: 2px;
}

.ir-cust-cell strong {
  font-size: 14px;
  color: var(--ir-ink);
}

.ir-cust-sub {
  font-size: 12px;
  color: var(--ir-muted);
}

.ir-qty-big {
  font-size: 18px;
  font-weight: 800;
  color: var(--ir-primary);
}

.ir-qty-big.is-overdue {
  color: var(--ir-bad);
}

.ir-qty-big.is-zero {
  color: var(--ir-good);
}

.ir-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ir-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ir-bg-soft);
  border: 1px solid var(--ir-border);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.ir-spec-pill.is-overdue {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.35);
  color: var(--ir-bad);
}

.ir-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ir-badge.is-out { background: rgba(217, 119, 6, 0.14); color: #b45309; }
.ir-badge.is-return { background: rgba(5, 150, 105, 0.14); color: #047857; }
.ir-badge.is-transfer { background: rgba(2, 132, 199, 0.14); color: #0369a1; }
.ir-badge.is-new { background: rgba(36, 87, 214, 0.14); color: #1d4ed8; }
.ir-badge.is-bad { background: rgba(220, 38, 38, 0.14); color: #b91c1c; }
.ir-badge.is-neutral { background: var(--ir-bg-soft); color: var(--ir-muted); }

body[data-theme="dark"] .ir-badge.is-out { color: #fbbf24; }
body[data-theme="dark"] .ir-badge.is-return { color: #34d399; }
body[data-theme="dark"] .ir-badge.is-transfer { color: #38bdf8; }
body[data-theme="dark"] .ir-badge.is-new { color: #60a5fa; }
body[data-theme="dark"] .ir-badge.is-bad { color: #f87171; }

.ir-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  white-space: nowrap;
}

.ir-rack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}

.ir-rack-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: var(--ir-bg);
  border: 1px solid var(--ir-border);
}

.ir-rack-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ir-rack-title {
  display: grid;
  gap: 3px;
}

.ir-rack-title strong {
  font-size: 15px;
}

.ir-rack-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--ir-muted);
}

.ir-rack-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ir-stat-box {
  padding: 8px;
  border-radius: 10px;
  background: var(--ir-bg-soft);
  text-align: center;
  display: grid;
  gap: 2px;
}

.ir-stat-box span {
  font-size: 11px;
  color: var(--ir-muted);
}

.ir-stat-box strong {
  font-size: 17px;
  font-weight: 800;
}

.ir-stat-box.is-fac strong { color: var(--ir-good); }
.ir-stat-box.is-out strong { color: var(--ir-warn); }
.ir-stat-box.is-rep strong { color: var(--ir-info); }

.ir-meter-row {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--ir-muted);
}

.ir-meter-head {
  display: flex;
  justify-content: space-between;
}

.ir-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  border: none;
  background: var(--ir-bg-soft);
}

.ir-progress::-webkit-progress-bar {
  background: var(--ir-bg-soft);
  border-radius: 999px;
}

.ir-progress::-webkit-progress-value {
  background: var(--ir-warn);
  border-radius: 999px;
}

.ir-rack-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--ir-border);
}

.ir-overdue-list {
  display: grid;
  gap: 12px;
}

.ir-overdue-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-left: 4px solid var(--ir-bad);
}

.ir-overdue-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ir-empty {
  text-align: center;
  padding: 36px 20px;
  border-radius: 14px;
  background: var(--ir-bg-soft);
  border: 1px dashed var(--ir-border);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.ir-empty h3 {
  margin: 0;
  font-size: 16px;
}

.ir-empty p {
  margin: 0;
  max-width: 560px;
  font-size: 13px;
  color: var(--ir-muted);
}

.ir-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ir-modal {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  background: var(--ir-bg);
  border: 1px solid var(--ir-border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  padding: 20px;
  display: grid;
  gap: 14px;
}

.ir-modal.is-wide {
  width: min(900px, 100%);
}

.ir-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ir-border);
}

.ir-modal-head h3 {
  margin: 0;
  font-size: 17px;
}

.ir-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 600px) {
  .ir-form-grid {
    grid-template-columns: 1fr;
  }
}

.ir-field {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ir-muted);
}

.ir-field.is-full {
  grid-column: 1 / -1;
}

.ir-field-hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--ir-info);
}

.ir-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ir-ink);
  cursor: pointer;
}

.ir-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--ir-border);
}

.ir-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ir-dual-rack-box {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ir-bg-soft);
  border: 1px solid var(--ir-border);
}

.ir-dual-rack-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ir-ink);
}

.ir-dual-rack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ir-dual-rack-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  background: var(--ir-bg);
  border: 1px solid var(--ir-border);
}

.ir-dual-rack-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}

.ir-dual-rack-head strong {
  font-size: 15px;
  color: var(--ir-ink);
}

.ir-dual-rack-head small {
  font-size: 11px;
  color: var(--ir-muted);
}

.ir-dual-rack-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ir-dual-rack-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--ir-border);
  background: var(--ir-bg);
  color: var(--ir-ink);
  font-size: 18px;
  font-weight: 800;
  font-family: inherit;
}

.ir-dual-rack-input:focus {
  outline: 2px solid rgba(36, 87, 214, 0.35);
  border-color: var(--ir-primary);
}

.ir-dual-rack-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--ir-muted);
}

.ir-dual-rack-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ir-muted);
}

.ir-dual-rack-held {
  font-weight: 700;
  color: var(--ir-warn);
}

.ir-dual-rack-held.is-zero {
  color: var(--ir-good);
}

@media (max-width: 640px) {
  .ir-detail-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile-first responsive optimizations (<= 720px) */
@media (max-width: 720px) {
  .ir-page {
    gap: 12px;
    padding-bottom: 16px;
  }
  .ir-hero {
    padding: 14px;
    gap: 10px;
  }
  .ir-hero h2 {
    font-size: 18px;
  }
  .ir-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .ir-hero-actions .ir-btn {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
  }
  .ir-kpi-grid {
    gap: 8px;
  }
  .ir-kpi {
    padding: 12px;
    gap: 4px;
  }
  .ir-kpi-value {
    font-size: 20px;
  }
  .ir-kpi-sub {
    font-size: 11px;
    line-height: 1.35;
  }
  .ir-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .ir-tabs::-webkit-scrollbar {
    display: none;
  }
  .ir-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 11px;
    font-size: 12.5px;
  }
  .ir-panel {
    padding: 12px;
    gap: 10px;
  }
  .ir-toolbar-group {
    width: 100%;
  }
  .ir-toolbar-group .ir-input[type="search"],
  .ir-toolbar-group .ir-select {
    flex: 1 1 140px;
    min-height: 38px;
  }

  /* Transform wide tables into native stacked mobile cards */
  .ir-table-wrap {
    overflow-x: visible;
  }
  .ir-table,
  .ir-table tbody,
  .ir-table tr,
  .ir-table td {
    display: block;
    width: 100%;
  }
  .ir-table thead {
    display: none;
  }
  .ir-table tbody {
    display: grid;
    gap: 10px;
  }
  .ir-table tr {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--ir-border);
    background: var(--ir-bg-soft);
    display: grid;
    gap: 6px;
  }
  .ir-table td {
    padding: 3px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    text-align: right;
  }
  .ir-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--ir-muted);
    text-align: left;
    padding-top: 2px;
  }
  .ir-table td:first-child {
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--ir-border);
    text-align: left;
    justify-content: flex-start;
  }
  .ir-table td:first-child::before {
    display: none;
  }
  .ir-table td[data-label="操作"] {
    padding-top: 6px;
    border-top: 1px dashed var(--ir-border);
    display: block;
    text-align: left;
  }
  .ir-table td[data-label="操作"]::before {
    display: none;
  }
  .ir-actions-cell {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .ir-actions-cell .ir-btn-sm {
    min-height: 36px;
    font-size: 12.5px;
    justify-content: center;
  }

  /* Mobile bottom-sheet modal with side-by-side 大架 + 小架 */
  .ir-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .ir-modal,
  .ir-modal.is-wide {
    width: 100%;
    max-height: 92dvh;
    border-radius: 18px 18px 0 0;
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
    gap: 12px;
  }
  .ir-dual-rack-box {
    padding: 10px;
  }
  .ir-dual-rack-grid {
    gap: 8px;
  }
  .ir-dual-rack-card {
    padding: 10px 8px;
  }
  .ir-dual-rack-input {
    padding: 8px;
    font-size: 18px;
  }
  .ir-modal-foot {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
  }
  .ir-modal-foot .ir-btn {
    min-height: 44px;
    font-size: 14px;
  }
}
/* END IRON RACKS PAGE STYLES */
/* BEGIN FURNACE PAGE STYLES */
.ng-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  overflow-anchor: none;
}

.ng-twin-head > div {
  min-width: 0;
  max-width: 100%;
}

.ng-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px -12px rgba(62, 92, 173, 0.16);
}

.ng-kicker {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.1);
  color: #c2410c;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.ng-hero-copy h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #162447;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ng-model-tag {
  font-size: 14px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e8f0fe;
  color: #2556c6;
}

.ng-hero-copy p {
  margin: 0;
  color: #556b92;
  font-size: 14px;
  line-height: 1.5;
}

.ng-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ng-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}
.ng-status-pill.is-good { background: #dcfce7; color: #15803d; }
.ng-status-pill.is-warn { background: #fef3c7; color: #b45309; }
.ng-status-pill.is-bad { background: #fee2e2; color: #b91c1c; }
.ng-status-pill.is-idle { background: #eef2ff; color: #475569; }

.ng-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ng-kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  border-top: 3px solid #2556c6;
  box-shadow: 0 10px 24px -10px rgba(62, 92, 173, 0.14);
  min-width: 0;
}
.ng-kpi.is-heat { border-top-color: #ea580c; }
.ng-kpi.is-batch { border-top-color: #2556c6; }
.ng-kpi.is-yield { border-top-color: #0d9488; }
.ng-kpi.is-alarm { border-top-color: #d97706; }

.ng-kpi > span { font-size: 14px; font-weight: 700; color: #546990; }
.ng-kpi > strong { font-size: 28px; font-weight: 800; color: #162447; font-variant-numeric: tabular-nums; line-height: 1.15; }
.ng-kpi > strong.is-alert { color: #dc2626; }
.ng-kpi > strong small { font-size: 14px; font-weight: 700; color: #64748b; }
.ng-kpi > small { font-size: 14px; color: #64748b; line-height: 1.4; }

/* ===== 3D ISOMETRIC FURNACE DIGITAL TWIN STAGE ===== */
.ng-twin-panel {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px -12px rgba(62, 92, 173, 0.18);
  min-width: 0;
}

.ng-twin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ng-twin-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ebf2ff, #fff3e6);
  border: 1px solid rgba(99, 132, 232, 0.25);
  color: #2556c6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.ng-twin-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #162447;
}

.ng-twin-head p {
  margin: 0;
  font-size: 14px;
  color: #556b92;
  line-height: 1.5;
}

.ng-twin-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ng-demo-toggle {
  appearance: none;
  border: 1.5px solid #fdba74;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #c2410c;
  font-family: inherit;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}
.ng-demo-toggle:hover {
  background: #fed7aa;
  color: #9a3412;
}
.ng-demo-toggle.is-on {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(234, 88, 12, 0.55);
}

.ng-twin-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ng-twin-pill {
  appearance: none;
  border: 1px solid #d5e2f8;
  background: #f5f8ff;
  color: #365083;
  font-family: inherit;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}
.ng-twin-pill:hover {
  border-color: #93b4f0;
  background: #ebf2ff;
  color: #1d4ed8;
}
.ng-twin-pill.is-active {
  background: linear-gradient(135deg, #4b74e8, #6c5ce7);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(75, 116, 232, 0.55);
}

.ng-twin-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(270px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}
.ng-twin-stage.is-unified {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
}
.ng-twin-stage.is-unified .ng-twin-inspector {
  padding: 12px 12px 10px;
  gap: 7px;
  border-radius: 14px;
}
.ng-twin-stage.is-unified .ng-insp-photo-box img {
  height: 92px;
}
.ng-twin-stage.is-unified .ng-twin-inspector h4 {
  font-size: 16px;
}
.ng-twin-stage.is-unified .ng-insp-metrics {
  gap: 5px;
  padding: 8px 10px;
}
.ng-twin-stage.is-unified .ng-insp-recipe {
  padding: 8px 10px;
}
.ng-twin-stage.is-unified .ng-insp-recipe p {
  line-height: 1.42;
}

.ng-twin-canvas-wrap {
  border-radius: 18px;
  background:
    radial-gradient(circle at 38% 36%, rgba(251, 146, 60, 0.14), transparent 46%),
    radial-gradient(circle at 72% 45%, rgba(56, 189, 248, 0.14), transparent 45%),
    linear-gradient(160deg, #f3f7ff 0%, #ffffff 55%, #f1fbfa 100%);
  border: 1.5px solid #dbe7fb;
  padding: 10px 8px 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.ng-twin-svg {
  width: 100%;
  height: auto;
  display: block;
}

.ng-twin-sec {
  cursor: pointer;
  outline: none;
  transition: filter 0.18s ease;
}
.ng-twin-sec .ng-sec-halo { opacity: 0.18; transition: opacity 0.2s ease; }
.ng-twin-sec:hover .ng-sec-halo,
.ng-twin-sec.is-selected .ng-sec-halo,
.ng-twin-sec:focus-visible .ng-sec-halo { opacity: 0.92; }

.ng-glass-idle { opacity: 0.18; }
.ng-glass-active { opacity: 0.96; }
.ng-glass-oscillate { animation: ngOscillate 3.4s ease-in-out infinite; }
.ng-glass-quench-osc { animation: ngQuenchOsc 2.2s ease-in-out infinite; }
.ng-glass-load-glide { animation: ngLoadGlide 4.8s ease-in-out infinite; }
.ng-glass-unload-glide { animation: ngUnloadGlide 4.8s ease-in-out infinite; }
.ng-glass-glint { animation: ngGlint 2.6s ease-in-out infinite; }
.ng-thermal-pulse { animation: ngThermalPulse 2.4s ease-in-out infinite; }
.ng-coil-breathe { animation: ngCoilBreathe 2.8s ease-in-out infinite; }
.ng-convection-fast { animation: ngConvectionFlow 0.9s linear infinite; }
.ng-convection-slow { animation: ngConvectionFlow 2.6s linear infinite; }
.ng-roller-roll-fast { animation: ngRollerRoll 0.45s linear infinite; }
.ng-roller-roll-slow { animation: ngRollerRoll 2.2s linear infinite; }
.ng-ceramic-osc { transform-box: fill-box; transform-origin: center; animation: ngCeramicOsc 3.4s ease-in-out infinite; }
.ng-ceramic-slow { transform-box: fill-box; transform-origin: center; animation: ngSpin 4.5s linear infinite; }
.ng-door-entry { animation: ngDoorLift 4.8s ease-in-out infinite; }
.ng-door-exit { animation: ngDoorLift 4.8s ease-in-out 2.4s infinite; }
.ng-door-glow { animation: ngDoorGlow 4.8s ease-in-out infinite; }
.ng-laser-active { animation: ngLaserScan 1.8s ease-in-out infinite; }
.ng-laser-idle { opacity: 0.14; }
.ng-beacon-flash { animation: ngBeaconFlash 0.7s steps(2, start) infinite; }
.ng-pulse { animation: ngPulse 1.8s ease-in-out infinite; }
.ng-flow-fast { animation: ngFlowDash 1.0s linear infinite; }
.ng-flow-slow { animation: ngFlowDash 3.6s linear infinite; opacity: 0.55; }
.ng-fan-spin { transform-box: fill-box; transform-origin: center; animation: ngSpin 1.4s linear infinite; }
.ng-fan-spin-fast { transform-box: fill-box; transform-origin: center; animation: ngSpin 0.55s linear infinite; }
.ng-air-jets-active rect { animation: ngAirJetPulse 0.65s ease-in-out infinite; }
.ng-air-jets-idle { opacity: 0.14; }

@keyframes ngOscillate {
  0%, 100% { transform: translateX(-18px); }
  50% { transform: translateX(18px); }
}
@keyframes ngQuenchOsc {
  0%, 100% { transform: translateX(-10px); }
  50% { transform: translateX(12px); }
}
@keyframes ngLoadGlide {
  0% { transform: translateX(-12px); opacity: 0.72; }
  50% { transform: translateX(14px); opacity: 1; }
  100% { transform: translateX(-12px); opacity: 0.72; }
}
@keyframes ngUnloadGlide {
  0% { transform: translateX(-14px); opacity: 0.85; }
  65% { transform: translateX(16px); opacity: 1; }
  100% { transform: translateX(-14px); opacity: 0.85; }
}
@keyframes ngGlint {
  0%, 100% { opacity: 0.25; transform: translateX(-8px); }
  50% { opacity: 0.95; transform: translateX(16px); }
}
@keyframes ngThermalPulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.58; }
}
@keyframes ngCoilBreathe {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}
@keyframes ngConvectionFlow {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: 0; }
}
@keyframes ngRollerRoll {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}
@keyframes ngCeramicOsc {
  0%, 100% { transform: rotate(-180deg); }
  50% { transform: rotate(180deg); }
}
@keyframes ngDoorLift {
  0%, 18%, 72%, 100% { transform: translateY(0px); }
  34%, 56% { transform: translateY(-18px); }
}
@keyframes ngDoorGlow {
  0%, 18%, 72%, 100% { opacity: 0.12; }
  36%, 56% { opacity: 0.85; }
}
@keyframes ngLaserScan {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.92; }
}
@keyframes ngBeaconFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@keyframes ngPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes ngFlowDash {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}
@keyframes ngSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes ngAirJetPulse {
  0%, 100% { opacity: 0.95; transform: translateY(0px); }
  50% { opacity: 0.38; transform: translateY(4px); }
}

.ng-twin-inspector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(160deg, #f8faff 0%, #ffffff 100%);
  border: 1.5px solid #dce6f9;
  min-width: 0;
}

.ng-insp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ng-insp-step {
  padding: 3px 9px;
  border-radius: 8px;
  background: #e8f0fe;
  color: #2556c6;
  font-size: 14px;
  font-weight: 800;
}

.ng-insp-state {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}
.ng-insp-state.is-on { color: #ea580c; }

.ng-twin-inspector h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #162447;
}

.ng-insp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ng-insp-tags span {
  padding: 3px 9px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d5e1f7;
  color: #294172;
  font-size: 14px;
  font-weight: 700;
}

.ng-insp-metrics {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2eaf8;
}
.ng-insp-metrics > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.ng-insp-metrics dt {
  font-size: 14px;
  color: #5b7094;
}
.ng-insp-metrics dd {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #162447;
  text-align: right;
}

.ng-insp-recipe {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f5fe;
  border: 1px solid #d8e4fb;
}
.ng-insp-recipe > span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}
.ng-insp-recipe > p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1d4ed8;
  word-break: break-all;
  line-height: 1.4;
}

/* ===== PANELS, CHARTS, TABLES & CREDENTIALS ===== */
.ng-panel {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px -12px rgba(62, 92, 173, 0.15);
  min-width: 0;
}

.ng-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ng-panel-head h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: #162447; }
.ng-panel-head p { margin: 0; font-size: 14px; color: #5b7094; }

.ng-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 16px;
}

.ng-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #475569;
}
.ng-dot-temp, .ng-dot-wind {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.ng-dot-temp { background: #ea580c; }
.ng-dot-wind { background: #2563eb; }
.ng-trend-svg { width: 100%; height: auto; display: block; }
.ng-empty-chart {
  padding: 28px 14px;
  border-radius: 14px;
  background: #f8faff;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

.ng-mix-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ng-mix-cols h4 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: #243760; }
.ng-mix-list { display: flex; flex-direction: column; gap: 8px; }
.ng-mix-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 14px; }
.ng-mix-label { font-weight: 700; color: #334155; }
.ng-mix-bar { height: 10px; border-radius: 999px; background: #e8effc; overflow: hidden; }
.ng-mix-bar i { display: block; height: 100%; border-radius: 999px; }
.ng-mix-bar i.is-blue { background: linear-gradient(90deg, #3b82f6, #2556c6); }
.ng-mix-bar i.is-teal { background: linear-gradient(90deg, #14b8a6, #0d9488); }

.ng-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ng-tab {
  appearance: none;
  border: 1px solid #d5e2f8;
  background: #f5f8ff;
  color: #365083;
  font-family: inherit;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
}
.ng-tab[aria-pressed="true"] {
  background: linear-gradient(135deg, #4b74e8, #6c5ce7);
  border-color: transparent;
  color: #ffffff;
}

.ng-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 7px;
  background: #e8f0fe;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
}
.ng-chip.is-teal { background: #e0f7f4; color: #0f766e; }
.ng-recipe-cell { max-width: 280px; overflow-wrap: anywhere; }

.ng-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.ng-badge.is-info { background: #e0f2fe; color: #0369a1; }
.ng-badge.is-warn { background: #fef3c7; color: #b45309; }
.ng-badge.is-bad { background: #fee2e2; color: #b91c1c; }

.ng-top-alarms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.ng-top-alarm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 10px;
  background: #f8faff;
  border: 1px solid #dce6f9;
  font-size: 14px;
}

.ng-cred-panel > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
  color: #162447;
}
.ng-cred-panel > summary span { font-size: 14px; color: #5b7094; }
.ng-muted { color: #5b7094; font-size: 14px; margin: 10px 0 14px; line-height: 1.5; }
.ng-cred-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.ng-cred-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; color: #243760; }
.ng-cred-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }

/* Dark Mode */
body[data-theme="dark"] .ng-hero,
body[data-theme="dark"] .ng-kpi,
body[data-theme="dark"] .ng-twin-panel,
body[data-theme="dark"] .ng-panel {
  background: rgba(15, 25, 48, 0.92);
  border-color: rgba(88, 124, 210, 0.36);
  color: #eef4ff;
}
body[data-theme="dark"] .ng-hero-copy h2,
body[data-theme="dark"] .ng-kpi > strong,
body[data-theme="dark"] .ng-twin-head h3,
body[data-theme="dark"] .ng-twin-inspector h4,
body[data-theme="dark"] .ng-insp-metrics dd,
body[data-theme="dark"] .ng-panel-head h3,
body[data-theme="dark"] .ng-cred-panel > summary { color: #eef4ff; }
body[data-theme="dark"] .ng-twin-canvas-wrap {
  background: radial-gradient(circle at 38% 36%, rgba(251, 146, 60, 0.16), transparent 46%), linear-gradient(160deg, #0b1429 0%, #111d38 100%);
  border-color: rgba(88, 124, 210, 0.36);
}
body[data-theme="dark"] .ng-twin-inspector,
body[data-theme="dark"] .ng-insp-metrics,
body[data-theme="dark"] .ng-insp-recipe,
body[data-theme="dark"] .ng-top-alarm-chip {
  background: rgba(20, 34, 66, 0.9);
  border-color: rgba(88, 124, 210, 0.36);
  color: #dce8ff;
}
body[data-theme="dark"] .ng-insp-recipe > p { color: #93c5fd; }

@media (max-width: 1120px) {
  .ng-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-twin-stage,
  .ng-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .ng-hero, .ng-twin-panel, .ng-panel { padding: 14px 12px; border-radius: 16px; }
  .ng-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ng-kpi { padding: 12px; border-radius: 14px; }
  .ng-kpi > strong { font-size: 22px; }
  .ng-twin-controls { width: 100%; }
  .ng-demo-toggle { width: 100%; text-align: center; }
  .ng-twin-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding-bottom: 2px;
  }
  .ng-twin-pills::-webkit-scrollbar { display: none; }
  .ng-twin-pill { flex: 0 0 auto; }
  .ng-mix-cols,
  .ng-cred-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ng-cred-actions button { width: 100%; min-height: 42px; }
}
/* ===== DUAL-LINE CUT-GRIND + FURNACE DOCKING & WORKSHOP PHOTO STYLES ===== */
.ng-line-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ng-line-btn {
  appearance: none;
  border: 1.5px solid #d5e2f8;
  background: rgba(255, 255, 255, 0.88);
  color: #243760;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 13px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.ng-line-btn:hover {
  border-color: #93b4f0;
  background: #ebf2ff;
  color: #1d4ed8;
}
.ng-line-btn.is-active {
  background: linear-gradient(135deg, #2556c6, #4f46e5);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 18px -6px rgba(37, 86, 198, 0.5);
}

.ng-twin-eyebrow.is-cg {
  background: linear-gradient(135deg, #ecfdf5, #ebf2ff);
  color: #047857;
}
.ng-twin-canvas-wrap.is-cg {
  background:
    radial-gradient(circle at 28% 36%, rgba(132, 204, 22, 0.13), transparent 46%),
    radial-gradient(circle at 72% 45%, rgba(56, 189, 248, 0.15), transparent 45%),
    linear-gradient(160deg, #f3f9f6 0%, #ffffff 55%, #f1f7ff 100%);
}
.ng-cad-embed-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #071527;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ng-cad-embed-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
}
.ng-cad-embed-caption {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #93c5fd;
}

.ng-insp-photo-box {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d5e1f7;
  background: #0f172a;
}
.ng-insp-photo-box img {
  display: block;
  width: 100%;
  height: 126px;
  object-fit: cover;
  object-position: center 36%;
}
.ng-insp-photo-box figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.82));
}

.ng-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.ng-photo-strip.is-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.ng-twin-canvas-wrap.is-photo-3d {
  padding: 0;
  overflow: hidden;
  background: #e6eef5;
}
.ng-photo3d-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 893;
  overflow: hidden;
  border-radius: 14px;
  background: #e9eff5;
}
.ng-photo3d-stage.is-singlehall {
  aspect-ratio: 1600 / 893;
}
.ng-photo3d-stage.is-in-lightbox {
  width: min(92vw, 1380px);
  max-height: 82vh;
}
.ng-zoom-fab {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 5;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
  transition: transform 0.14s ease, background 0.14s ease;
}
.ng-zoom-fab:hover {
  background: #2556c6;
  transform: translateY(-1px);
}
.ng-insp-photo-btn {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
  display: block;
  cursor: zoom-in;
  text-align: left;
  font-size: 16px;
}
.ng-insp-photo-btn:hover .ng-insp-photo-box {
  border-color: #2556c6;
  box-shadow: 0 6px 16px -6px rgba(37, 86, 198, 0.45);
}

/* Fullscreen Interactive Zoom & Pan Digital Twin Lightbox */
.ng-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 15, 32, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  gap: 10px;
  overscroll-behavior: none;
  touch-action: none;
}
.ng-zoom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #f8fafc;
}
.ng-zoom-title b {
  font-size: 18px;
  font-weight: 800;
}
.ng-zoom-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ng-zoom-pct {
  min-width: 58px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #93c5fd;
}
.ng-zoom-btn,
.ng-zoom-jump {
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.92);
  color: #f8fafc;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.ng-zoom-btn:hover,
.ng-zoom-jump:hover {
  background: #2556c6;
  border-color: #60a5fa;
}
.ng-zoom-btn.is-close {
  background: #b91c1c;
  border-color: #ef4444;
}
.ng-zoom-jumps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 700;
}
.ng-zoom-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}
.ng-zoom-viewport.is-dragging {
  cursor: grabbing;
}
.ng-zoom-canvas {
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ng-zoom-viewport.is-dragging .ng-zoom-canvas {
  transition: none;
}
.ng-zoom-photo-img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 12px;
  display: block;
  pointer-events: none;
}
.ng-photo3d-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}
.ng-photo3d-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.ng-pin-node {
  cursor: pointer;
}
.ng-pin-node:hover {
  filter: brightness(1.06);
}

/* 100% Real Workshop Photo Connected Production Flow Mode */
.ng-realflow-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #eef4fb 0%, #e4edf7 100%);
  border-radius: 14px;
}
.ng-realflow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}
.ng-realflow-card {
  appearance: none;
  padding: 0;
  border: 2px solid #d5e2f5;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.ng-realflow-card:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
}
.ng-realflow-card.is-active {
  border-color: #2556c6;
  box-shadow: 0 10px 22px -8px rgba(37, 86, 198, 0.45);
}
.ng-rf-imgwrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
}
.ng-rf-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}
.ng-rf-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--rf-c, #2556c6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.35);
}
.ng-rf-dot {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #94a3b8;
  border: 2px solid #ffffff;
}
.ng-rf-dot.is-on {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}
.ng-rf-meta {
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ng-rf-meta strong {
  font-size: 15px;
  font-weight: 800;
  color: #162447;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ng-rf-meta small {
  font-size: 14px;
  color: #5b7094;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ng-rf-conn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #0284c7;
}
.ng-rf-conn.is-hot {
  color: #ea580c;
}
.ng-realflow-turn {
  display: flex;
  justify-content: flex-end;
  padding: 2px 6px;
}
.ng-rf-turn-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.16), rgba(234, 88, 12, 0.16));
  border: 1px dashed #10b981;
  color: #047857;
  font-size: 14px;
  font-weight: 800;
}
.ng-realflow-turn.is-left {
  justify-content: flex-start;
}
.ng-rf-turn-pill.is-igu {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.14), rgba(13, 148, 136, 0.16));
  border-color: #7c3aed;
  color: #5b21b6;
}
.ng-realflow-row.is-two {
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
}
.ng-rf-conn.is-igu {
  color: #7c3aed;
}
.ng-photo-strip.is-eight {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ng-chip.is-purple {
  background: #ede9fe;
  color: #6d28d9;
}
body[data-theme="dark"] .ng-realflow-board {
  background: rgba(15, 23, 42, 0.72);
}
body[data-theme="dark"] .ng-realflow-card {
  background: rgba(20, 34, 66, 0.94);
  border-color: rgba(88, 124, 210, 0.38);
  color: #eef4ff;
}
body[data-theme="dark"] .ng-rf-meta strong { color: #f8fafc; }
body[data-theme="dark"] .ng-rf-meta small { color: #94a3b8; }
.ng-photo-card {
  appearance: none;
  padding: 0;
  border: 2px solid #dce6f9;
  border-radius: 13px;
  overflow: hidden;
  background: #ffffff;
  color: #1e293b;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.ng-photo-card:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
}
.ng-photo-card.is-active {
  border-color: #2556c6;
  box-shadow: 0 8px 18px -6px rgba(37, 86, 198, 0.42);
}
.ng-photo-card img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: cover;
  object-position: center 36%;
}
.ng-photo-card span {
  padding: 7px 10px;
  font-size: 14px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ng-photo-card span b {
  padding: 1px 6px;
  border-radius: 6px;
  background: #e8f0fe;
  color: #2556c6;
  font-size: 14px;
}
.ng-photo-card.is-active span b {
  background: #2556c6;
  color: #ffffff;
}

/* Visual Docking Bridge Between Cut-Grind Line and NorthGlass Furnace */
.ng-dock-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(37, 99, 235, 0.08) 38%, rgba(234, 88, 12, 0.1) 68%, rgba(124, 58, 237, 0.1));
  border: 1.5px dashed rgba(59, 130, 246, 0.42);
}
.ng-dock-bridge.is-four {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
}
.ng-dock-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbe7fb;
  min-width: 0;
}
.ng-dock-tag {
  font-size: 14px;
  font-weight: 800;
}
.ng-dock-tag.is-cg { color: #047857; }
.ng-dock-tag.is-mes { color: #2556c6; }
.ng-dock-tag.is-furnace { color: #c2410c; }
.ng-dock-tag.is-igu { color: #6d28d9; }
.ng-dock-node strong {
  font-size: 18px;
  font-weight: 900;
  color: #162447;
  overflow-wrap: anywhere;
}
.ng-dock-node small {
  font-size: 14px;
  color: #5b7094;
}
.ng-dock-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #2556c6;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.ng-dock-arrow.is-hot { color: #ea580c; }
.ng-dock-arrow.is-igu { color: #7c3aed; }
.ng-dock-arrow span {
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.7;
}

.ng-card-progress-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.ng-card-prog {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8faff;
  border: 1px solid #dce6f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ng-card-prog-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 14px;
}
.ng-card-prog-top b { color: #2556c6; }
.ng-card-prog-top em { font-style: normal; color: #5b7094; }
.ng-card-prog-top strong { margin-left: auto; color: #047857; }
.ng-card-prog-bar {
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.ng-card-prog-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #10b981);
}
.ng-card-prog-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: #5b7094;
}

body[data-theme="dark"] .ng-line-btn,
body[data-theme="dark"] .ng-photo-card,
body[data-theme="dark"] .ng-dock-node,
body[data-theme="dark"] .ng-card-prog {
  background: rgba(20, 34, 66, 0.92);
  border-color: rgba(88, 124, 210, 0.36);
  color: #eef4ff;
}
body[data-theme="dark"] .ng-dock-node strong { color: #f8fafc; }
body[data-theme="dark"] .ng-dock-node small,
body[data-theme="dark"] .ng-card-prog-foot { color: #94a3b8; }

@media (max-width: 1120px) {
  .ng-twin-stage.is-unified { grid-template-columns: minmax(0, 1fr); }
  .ng-photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-photo-strip.is-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ng-photo-strip.is-eight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-realflow-row,
  .ng-realflow-row.is-two { grid-template-columns: minmax(0, 1fr); }
  .ng-rf-conn { display: none; }
  .ng-dock-bridge,
  .ng-dock-bridge.is-four { grid-template-columns: minmax(0, 1fr); }
  .ng-dock-arrow { flex-direction: row; justify-content: center; }
  .ng-card-progress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .ng-photo-strip,
  .ng-card-progress-grid { grid-template-columns: minmax(0, 1fr); }
  .ng-photo-strip.is-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-line-btn { width: 100%; text-align: center; }
}
/* END FURNACE PAGE STYLES */
/* BEGIN WORKBENCH INTELLIGENCE STYLES */
/* ==========================================================================
   HOME WORKBENCH INTELLIGENCE DECK: END-TO-END STAGES · ALERTS · FORECASTS
   Glass Aurora Digital Twin OS (Light & Dark Mode + 390px Responsive)
   ========================================================================== */

.wi-deck {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 20px;
  min-width: 0;
}

.wi-stages-panel,
.wi-panel {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px -12px rgba(62, 92, 173, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  min-width: 0;
}

.wi-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.wi-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #3659b8;
  background: linear-gradient(135deg, #ebf2ff, #f2edff);
  border: 1px solid rgba(99, 132, 232, 0.24);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.wi-eyebrow.is-alert {
  color: #be123c;
  background: linear-gradient(135deg, #fff1f2, #fff4df);
  border-color: rgba(244, 63, 94, 0.25);
}

.wi-eyebrow.is-forecast {
  color: #0d7a55;
  background: linear-gradient(135deg, #e1f8ee, #eaf4ff);
  border-color: rgba(16, 185, 129, 0.26);
}

.wi-panel-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #162447;
}

.wi-head-hint {
  font-size: 13px;
  font-weight: 600;
  color: #5e749b;
  padding-top: 4px;
}

/* 6-Stage End-to-End Business Flow Strip */
.wi-stages-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.wi-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1.5px solid rgba(203, 219, 246, 0.85);
  border-top: 3.5px solid #4b74e8;
  background: rgba(248, 250, 255, 0.92);
  color: #162447;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.wi-stage:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 12px 24px -10px rgba(62, 92, 173, 0.24);
}

.wi-stage.is-sky { border-top-color: #0284c7; }
.wi-stage.is-teal { border-top-color: #0ea89d; }
.wi-stage.is-indigo { border-top-color: #6366f1; }
.wi-stage.is-emerald { border-top-color: #10b981; }
.wi-stage.is-violet { border-top-color: #8b5cf6; }

.wi-stage-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.wi-stage-step {
  font-size: 12px;
  font-weight: 800;
  color: #6a80a8;
  font-family: Consolas, monospace;
}

.wi-stage-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.wi-stage-badge.is-active { background: #e1f8ee; color: #0d7a55; }
.wi-stage-badge.is-warn { background: #ffe4e6; color: #be123c; }
.wi-stage-badge.is-idle { background: #edf2fb; color: #546990; }

.wi-stage-name {
  font-size: 16px;
  font-weight: 800;
  color: #162447;
}

.wi-stage-val {
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 800;
  color: #2556c6;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.wi-stage.is-teal .wi-stage-val { color: #0d8a7e; }
.wi-stage.is-indigo .wi-stage-val { color: #4f46e5; }
.wi-stage.is-violet .wi-stage-val { color: #6d28d9; }
.wi-stage.is-state-warn .wi-stage-val { color: #dc2626; }

.wi-stage-sub {
  font-size: 12.5px;
  color: #5e749b;
  line-height: 1.4;
}

.wi-proc-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.wi-proc-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  display: inline-block;
}

.wi-proc-dots i.is-active { background: #10b981; }
.wi-proc-dots i.is-warn { background: #f59e0b; }

.wi-stage-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd9f4;
  color: #4b74e8;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  z-index: 2;
  pointer-events: none;
}

/* 2-Column Alerts + Forecasts Grid */
.wi-intel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: stretch;
}

.wi-alert-counters {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wi-cnt {
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.wi-cnt.is-high { background: #ffe4e6; color: #be123c; }
.wi-cnt.is-warn { background: #fff3da; color: #a65c09; }

.wi-alert-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wi-alert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 248, 248, 0.9);
  border: 1px solid rgba(251, 113, 133, 0.34);
  border-left: 4px solid #ef4444;
}

.wi-alert-item.is-warn {
  background: rgba(255, 251, 240, 0.92);
  border-color: rgba(245, 158, 11, 0.36);
  border-left-color: #f59e0b;
}

.wi-alert-copy {
  min-width: 0;
  flex: 1;
}

.wi-alert-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.wi-alert-sev {
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.wi-alert-sev.is-high { background: #ef4444; color: #ffffff; }
.wi-alert-sev.is-warn { background: #f59e0b; color: #ffffff; }

.wi-alert-cat {
  font-size: 12px;
  font-weight: 700;
  color: #546a92;
}

.wi-alert-copy h4 {
  margin: 0 0 3px;
  font-size: 15.5px;
  font-weight: 800;
  color: #162447;
}

.wi-alert-copy p {
  margin: 0;
  font-size: 13.5px;
  color: #556b92;
  line-height: 1.45;
}

.wi-alert-ok {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(225, 248, 238, 0.72), rgba(235, 246, 255, 0.72));
  border: 1px solid #a7e8cc;
}

.wi-ok-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
}

.wi-alert-ok strong {
  display: block;
  font-size: 16px;
  color: #0d7a55;
  margin-bottom: 4px;
}

.wi-alert-ok p {
  margin: 0;
  font-size: 14px;
  color: #3f6b5e;
}

/* Forecasts Cards */
.wi-forecast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wi-forecast-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(246, 250, 255, 0.92);
  border: 1.5px solid rgba(196, 214, 246, 0.78);
  border-top: 3.5px solid #4b74e8;
  min-width: 0;
}

.wi-forecast-card.is-violet { border-top-color: #8b5cf6; }
.wi-forecast-card.is-teal { border-top-color: #0ea89d; }

.wi-fc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.wi-fc-kicker {
  font-size: 12px;
  font-weight: 700;
  color: #536990;
}

.wi-fc-trend {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.wi-fc-trend.is-emerald { background: #e1f8ee; color: #0d7a55; }
.wi-fc-trend.is-amber { background: #fff3da; color: #a65c09; }
.wi-fc-trend.is-blue { background: #eaf1fe; color: #2556c6; }
.wi-fc-trend.is-neutral { background: #edf2fb; color: #546990; }

.wi-forecast-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #162447;
  line-height: 1.35;
}

.wi-fc-metric {
  margin: 2px 0;
}

.wi-fc-metric strong {
  font-size: 25px;
  font-weight: 800;
  color: #1d44b0;
  font-variant-numeric: tabular-nums;
}

.wi-forecast-card.is-violet .wi-fc-metric strong { color: #6d28d9; }
.wi-forecast-card.is-teal .wi-fc-metric strong { color: #0d8a7e; }

.wi-fc-metric small {
  font-size: 13px;
  font-weight: 600;
  color: #61769c;
}

.wi-fc-basis {
  margin: 0;
  font-size: 12.5px;
  color: #5c7298;
  line-height: 1.45;
  flex: 1;
}

/* Action Buttons (strictly >= 16px) */
.wi-inline-btn {
  appearance: none;
  border: 1px solid #cbd9f4;
  background: #ffffff;
  color: #2556c6;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 7px 12px;
  min-height: 38px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.14s ease, color 0.14s ease;
}

.wi-inline-btn:hover {
  background: #4b74e8;
  border-color: #4b74e8;
  color: #ffffff;
}

.wi-head-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wi-cadence-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1d44b0;
  background: rgba(235, 243, 255, 0.95);
  border: 1px solid rgba(99, 132, 232, 0.34);
  padding: 4px 11px;
  border-radius: 999px;
}

/* Parallel Actual vs Forecast Dual-Line Chart */
.wi-parallel-box {
  margin-bottom: 14px;
  padding: 14px 16px 10px;
  border-radius: 16px;
  background: rgba(246, 250, 255, 0.92);
  border: 1.5px solid rgba(196, 214, 246, 0.8);
  min-width: 0;
}

.wi-parallel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.wi-parallel-top h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 800;
  color: #162447;
}

.wi-parallel-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  color: #4f668e;
}

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

.wi-parallel-legend i {
  display: inline-block;
  width: 18px;
  height: 0;
}

.wi-parallel-legend i.is-actual {
  border-top: 3px solid #2563eb;
}

.wi-parallel-legend i.is-pred {
  border-top: 3px dashed #f59e0b;
}

.wi-unit-tag {
  color: #6b80a5;
}

.wi-mape-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: #e1f8ee;
  color: #0d7a55;
  font-weight: 700;
}

.wi-chart-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.wi-chart-tab {
  appearance: none;
  border: 1px solid #cbd9f4;
  background: #ffffff;
  color: #365080;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 5px 12px;
  min-height: 36px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.wi-chart-tab.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.wi-parallel-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  overflow: visible;
}

.wi-grid-line {
  stroke: rgba(148, 163, 184, 0.28);
  stroke-dasharray: 3 3;
}

.wi-future-band {
  fill: rgba(245, 158, 11, 0.08);
}

.wi-divider-line {
  stroke: rgba(245, 158, 11, 0.55);
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
}

.wi-zone-label {
  fill: #b45309;
  font-size: 11px;
  font-weight: 700;
}

.wi-axis-label {
  fill: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.wi-line-actual {
  fill: none;
  stroke: #2563eb;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wi-line-pred {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 2.6;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wi-dot-actual {
  fill: #2563eb;
  stroke: #ffffff;
  stroke-width: 1.6;
}

.wi-dot-pred {
  fill: #ffffff;
  stroke: #f59e0b;
  stroke-width: 2;
}

.wi-parallel-empty {
  padding: 20px 14px;
  text-align: center;
  font-size: 13.5px;
  color: #5c7298;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  border: 1px dashed #cbd9f4;
}

/* Multi-Platform Data Collectors Matrix */
.wi-collectors-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.wi-collector-chip {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(247, 250, 255, 0.92);
  border: 1px solid rgba(196, 214, 246, 0.85);
  color: #162447;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.wi-collector-chip:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: #7da2f0;
  box-shadow: 0 8px 18px -10px rgba(37, 99, 235, 0.25);
}

.wi-collector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
}

.wi-collector-chip.is-ok .wi-collector-dot {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.wi-collector-chip.is-warn .wi-collector-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.wi-collector-name {
  font-size: 15px;
  font-weight: 800;
  color: #162447;
  line-height: 1.25;
}

.wi-collector-kind {
  font-size: 12px;
  color: #5c7298;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Dark Mode Support */
body[data-theme="dark"] .wi-stages-panel,
body[data-theme="dark"] .wi-panel {
  background: rgba(15, 25, 48, 0.88);
  border-color: rgba(88, 124, 210, 0.36);
}

body[data-theme="dark"] .wi-panel-head h2,
body[data-theme="dark"] .wi-stage-name,
body[data-theme="dark"] .wi-alert-copy h4,
body[data-theme="dark"] .wi-forecast-card h4,
body[data-theme="dark"] .wi-parallel-top h4,
body[data-theme="dark"] .wi-collector-name {
  color: #eef4ff;
}

body[data-theme="dark"] .wi-stage,
body[data-theme="dark"] .wi-forecast-card,
body[data-theme="dark"] .wi-parallel-box,
body[data-theme="dark"] .wi-collector-chip {
  background: rgba(20, 34, 66, 0.9);
  border-color: rgba(88, 124, 210, 0.36);
  color: #e6efff;
}

body[data-theme="dark"] .wi-stage-sub,
body[data-theme="dark"] .wi-head-hint,
body[data-theme="dark"] .wi-alert-copy p,
body[data-theme="dark"] .wi-fc-basis,
body[data-theme="dark"] .wi-fc-kicker,
body[data-theme="dark"] .wi-parallel-legend,
body[data-theme="dark"] .wi-collector-kind {
  color: #9bb1d6;
}

body[data-theme="dark"] .wi-chart-tab {
  background: rgba(24, 40, 78, 0.94);
  border-color: rgba(88, 124, 210, 0.44);
  color: #dbeafe;
}

body[data-theme="dark"] .wi-chart-tab.is-active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

body[data-theme="dark"] .wi-alert-item {
  background: rgba(58, 22, 34, 0.6);
  border-color: rgba(244, 63, 94, 0.35);
}

body[data-theme="dark"] .wi-alert-item.is-warn {
  background: rgba(56, 40, 18, 0.6);
  border-color: rgba(245, 158, 11, 0.35);
}

body[data-theme="dark"] .wi-inline-btn {
  background: rgba(24, 40, 78, 0.94);
  border-color: rgba(88, 124, 210, 0.44);
  color: #dbeafe;
}

/* Responsive Breakpoints (Zero Overflow at 390px) */
@media (max-width: 1320px) {
  .wi-stages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wi-stage-arrow { display: none; }
  .wi-intel-grid { grid-template-columns: minmax(0, 1fr); }
  .wi-collectors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .wi-stages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wi-forecast-list { grid-template-columns: minmax(0, 1fr); }
  .wi-collectors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .wi-stages-panel,
  .wi-panel {
    padding: 14px 12px;
    border-radius: 16px;
  }
  .wi-stages-grid,
  .wi-collectors-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .wi-parallel-box { padding: 10px 8px 8px; }
  .wi-alert-item { flex-direction: column; align-items: stretch; }
  .wi-alert-copy h4, .wi-alert-copy p, .wi-fc-basis, .wi-stage-sub { overflow-wrap: anywhere; }
  .wi-inline-btn { width: 100%; text-align: center; white-space: normal; }
}
/* ==================== EXECUTIVE COMMAND DECK (v111) ==================== */
.wi-exec-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.wi-exec-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 20px;
  background: linear-gradient(125deg, #0b1b3d 0%, #15346e 52%, #1d4ed8 100%);
  color: #f8fafc;
  box-shadow: 0 18px 36px -18px rgba(11, 27, 61, 0.55);
  border: 1px solid rgba(147, 197, 253, 0.28);
}
.wi-exec-brand {
  flex: 1 1 360px;
  min-width: 0;
}
.wi-exec-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #93c5fd;
  margin-bottom: 5px;
}
.wi-exec-brand h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.wi-exec-brand p {
  margin: 0;
  font-size: 13px;
  color: rgba(226, 238, 255, 0.88);
  line-height: 1.45;
}
.wi-exec-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wi-exec-cta {
  appearance: none;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 11px;
  border: 1px solid rgba(191, 219, 254, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.14s ease, background 0.14s ease;
}
.wi-exec-cta:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-1px); }
.wi-exec-cta.is-primary {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-color: rgba(186, 230, 253, 0.65);
  box-shadow: 0 8px 18px -6px rgba(56, 189, 248, 0.45);
}

.wi-exec-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.wi-ekpi {
  appearance: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe4f2;
  border-top: 3px solid #2563eb;
  border-radius: 15px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 8px 22px -16px rgba(15, 23, 42, 0.24);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.wi-ekpi:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(37, 99, 235, 0.3); border-color: #93c5fd; }
.wi-ekpi.is-green { border-top-color: #10b981; }
.wi-ekpi.is-indigo { border-top-color: #6366f1; }
.wi-ekpi.is-warn { border-top-color: #f59e0b; background: #fffdf5; }
.wi-ekpi.is-alert { border-top-color: #ef4444; background: #fef7f7; }
.wi-ekpi span { font-size: 12px; font-weight: 700; color: #64748b; }
.wi-ekpi strong { font-size: 21px; font-weight: 900; color: #0f172a; font-variant-numeric: tabular-nums; line-height: 1.2; }
.wi-ekpi small { font-size: 11.5px; color: #475569; line-height: 1.35; }

.wi-exec-main-grid,
.wi-exec-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.wi-exec-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe4f2;
  border-radius: 18px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 26px -20px rgba(15, 23, 42, 0.28);
}
.wi-exec-panel h3 { margin: 2px 0 0; font-size: 16px; font-weight: 850; color: #0f172a; }
.wi-exec-empty {
  padding: 20px 12px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.wi-ord-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.wi-ord-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.wi-ord-card:hover { background: #ffffff; border-color: #93c5fd; }
.wi-ord-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.wi-ord-id b { display: block; font-size: 13px; font-weight: 800; color: #0f172a; }
.wi-ord-id span { display: block; font-size: 12px; color: #2556c6; font-weight: 650; }
.wi-ord-due { font-size: 11px; color: #64748b; white-space: nowrap; }
.wi-ord-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.wi-otag { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; line-height: 1.4; }
.wi-otag.is-proj { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.wi-otag.is-req { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.wi-ord-bars { display: flex; flex-direction: column; gap: 3px; }
.wi-obar-row { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #475569; }
.wi-obar-row progress { flex: 1; height: 6px; accent-color: #10b981; }
.wi-obar-row.is-ship progress { accent-color: #2563eb; }
.wi-obar-row b { font-weight: 750; color: #0f172a; white-space: nowrap; }
.wi-ord-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11.5px; color: #64748b; padding-top: 4px; border-top: 1px dashed #e2e8f0; white-space: nowrap; }
.wi-ord-btn { font-size: 11.5px !important; padding: 2px 4px !important; min-height: 24px !important; white-space: nowrap; flex-shrink: 0; }

.wi-eq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.wi-eq-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #94a3b8;
  border-radius: 12px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wi-eq-card.is-RUNNING { border-left-color: #10b981; background: #f8fffb; }
.wi-eq-card.is-IDLE { border-left-color: #3b82f6; }
.wi-eq-card.is-FAULT { border-left-color: #ef4444; background: #fef7f7; }
.wi-eq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.wi-eq-head b { display: block; font-size: 13px; font-weight: 800; color: #0f172a; }
.wi-eq-head small { display: block; font-size: 11px; color: #64748b; }
.wi-eq-st { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; white-space: nowrap; background: #f1f5f9; color: #475569; }
.wi-eq-st.is-RUNNING { background: #dcfce7; color: #15803d; }
.wi-eq-st.is-IDLE { background: #dbeafe; color: #1d4ed8; }
.wi-eq-st.is-FAULT { background: #fee2e2; color: #b91c1c; }
.wi-eq-metrics { font-size: 12px; font-weight: 650; color: #334155; }
.wi-eq-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 6px; border-top: 1px dashed #e2e8f0; }
.wi-eq-mbadge { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.wi-eq-mbadge.is-ok { background: #ecfdf5; color: #047857; }
.wi-eq-mbadge.is-warn { background: #fffbeb; color: #b45309; }
.wi-eq-mbadge.is-alert { background: #fef2f2; color: #b91c1c; }
.wi-eq-mbadge.is-idle { background: #f1f5f9; color: #64748b; }
.wi-eq-acts { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.wi-eq-btn { font-size: 11.5px !important; padding: 3px 8px !important; min-height: 26px !important; white-space: nowrap; }

.wi-chain-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.wi-chain-mini {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #10b981;
  border-radius: 11px;
  padding: 9px 10px;
}
.wi-chain-mini.is-warn { border-left-color: #f59e0b; }
.wi-chain-mini.is-alert { border-left-color: #ef4444; background: #fef7f7; }
.wi-chain-mini.is-pending { border-left-color: #94a3b8; }
.wi-cm-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.wi-cm-top b { font-size: 12.5px; color: #0f172a; }
.wi-chain-mini p { margin: 0; font-size: 11.5px; color: #475569; line-height: 1.4; }

.wi-act-list { display: flex; flex-direction: column; gap: 8px; }
.wi-act-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2563eb;
}
.wi-act-row.is-high { border-left-color: #ef4444; background: #fef7f7; }
.wi-act-row.is-warn { border-left-color: #f59e0b; background: #fffdf5; }
.wi-act-copy { min-width: 0; flex: 1; }
.wi-act-tag { display: inline-block; font-size: 10.5px; font-weight: 800; color: #1d4ed8; margin-bottom: 2px; }
.wi-act-row.is-high .wi-act-tag { color: #b91c1c; }
.wi-act-row.is-warn .wi-act-tag { color: #b45309; }
.wi-act-copy b { display: block; font-size: 13px; color: #0f172a; }
.wi-act-copy small { display: block; font-size: 11.5px; color: #475569; margin-top: 2px; }
.wi-act-btn { flex-shrink: 0; min-height: 30px !important; padding: 4px 10px !important; font-size: 12px !important; }

body[data-theme="dark"] .wi-ekpi,
body[data-theme="dark"] .wi-exec-panel {
  background: rgba(15, 25, 48, 0.9);
  border-color: rgba(88, 124, 210, 0.36);
}
body[data-theme="dark"] .wi-ekpi strong,
body[data-theme="dark"] .wi-exec-panel h3,
body[data-theme="dark"] .wi-ord-id b,
body[data-theme="dark"] .wi-eq-head b,
body[data-theme="dark"] .wi-cm-top b,
body[data-theme="dark"] .wi-act-copy b { color: #f1f5f9; }
body[data-theme="dark"] .wi-ord-card,
body[data-theme="dark"] .wi-eq-card,
body[data-theme="dark"] .wi-chain-mini,
body[data-theme="dark"] .wi-act-row {
  background: rgba(20, 34, 66, 0.88);
  border-color: rgba(88, 124, 210, 0.34);
}
body[data-theme="dark"] .wi-ekpi span,
body[data-theme="dark"] .wi-ekpi small,
body[data-theme="dark"] .wi-ord-due,
body[data-theme="dark"] .wi-ord-foot,
body[data-theme="dark"] .wi-obar-row,
body[data-theme="dark"] .wi-eq-head small,
body[data-theme="dark"] .wi-eq-metrics,
body[data-theme="dark"] .wi-chain-mini p,
body[data-theme="dark"] .wi-act-copy small { color: #cbd5e1; }
body[data-theme="dark"] .wi-obar-row b { color: #f8fafc; }

@media (max-width: 1220px) {
  .wi-exec-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wi-exec-main-grid, .wi-exec-bottom-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wi-exec-banner { padding: 15px 14px; border-radius: 16px; }
  .wi-exec-brand h2 { font-size: 18px; }
  .wi-exec-shortcuts { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .wi-exec-cta { min-height: 40px; padding: 6px 8px; font-size: 12.5px; text-align: center; }
  .wi-exec-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wi-ekpi { padding: 10px 11px; }
  .wi-ekpi strong { font-size: 17px; }
  .wi-exec-panel { padding: 12px; border-radius: 15px; }
  .wi-ord-grid, .wi-eq-grid, .wi-chain-mini-grid { grid-template-columns: minmax(0, 1fr); }
  .wi-act-row { flex-direction: column; align-items: stretch; }
  .wi-act-btn { width: 100%; min-height: 38px !important; }
}
/* END WORKBENCH INTELLIGENCE STYLES */
/* BEGIN ENTERPRISE VISUAL SYSTEM */
body.polished-workbench {
  --visual-bg: #f2f5fa;
  --visual-white: #fff;
  --visual-ink: #172a42;
  --visual-muted: #52667e;
  --visual-stroke: #dce5f0;
  --visual-blue: #2556c6;
  --visual-blue-hover: #1a439c;
  --visual-blue-soft: #eaf1ff;
  --visual-teal: #0d766d;
  --visual-navy: #13243b;
  --visual-shadow: 0 1px 2px #1a35530a, 0 7px 20px #203f6210;
  --task-bg: var(--visual-bg);
  --task-edge: var(--visual-stroke);
  --task-accent: var(--visual-blue);
  --task-tint: var(--visual-blue-soft);
  background: var(--visual-bg);
  color: var(--visual-ink);
}
body.enterprise-shell.polished-workbench #workspace > main {
  background: var(--visual-bg);
}
body.enterprise-shell.polished-workbench #workspace-sidebar {
  background: var(--visual-navy);
  color: #e2eaf6;
  border-color: #253b59;
  box-shadow: 2px 0 14px #122a4312;
}
body.enterprise-shell.polished-workbench .sidebar .brand {color: #f4f8ff !important}
body.enterprise-shell.polished-workbench .sidebar .brand-icon {
  background: #2f63dc;
  color: #fff;
  box-shadow: inset 0 0 0 1px #98b7ff48;
}
body.enterprise-shell.polished-workbench .sidebar .console-nav-search {
  background: #203654 !important;
  border: 1px solid #3b5271 !important;
}
body.enterprise-shell.polished-workbench #nav-search,
body.enterprise-shell.polished-workbench #workspace-sidebar #nav-close {color: #f3f7ff !important}
body.enterprise-shell.polished-workbench #nav-search::placeholder,
body.enterprise-shell.polished-workbench #nav-search-empty {color: #bbcde4 !important}
body.enterprise-shell.polished-workbench #navigation .task-menu-group {margin: 5px 0}
body.enterprise-shell.polished-workbench #navigation .task-menu-row button {
  color: #dce8f9;
  border-color: transparent;
  font-weight: 650;
}
body.enterprise-shell.polished-workbench #navigation .task-menu-row button:hover {background: #203754; color: #fff}
body.enterprise-shell.polished-workbench #navigation .task-menu-section.is-workspace-active {
  color: #fff;
  background: #28487b;
  border-color: #3e5e8a;
  box-shadow: inset 3px 0 #88adff;
}
body.enterprise-shell.polished-workbench #navigation .task-submenus {border-color: #3a5275}
body.enterprise-shell.polished-workbench #navigation .workbench-subgroup > p {color: #a8beda}
body.enterprise-shell.polished-workbench #navigation .section-subnav button {color: #c7d7ef}
body.enterprise-shell.polished-workbench #navigation .section-subnav button:hover {background: #233c5f; color: #f7faff}
body.enterprise-shell.polished-workbench #navigation .section-subnav button.active {
  background: #233e69;
  border-color: #3b5b88;
  color: #fff;
  box-shadow: inset 3px 0 #82acee;
}
body.enterprise-shell.polished-workbench .sidebar .sidebar-bottom {border-color: #354b69 !important}
body.enterprise-shell.polished-workbench .sidebar .sidebar-bottom a {
  display: block;
  color: #e5efff;
  background: #243d62;
  border: 1px solid #365278;
  padding: 9px 12px;
  border-radius: 8px;
}
body.enterprise-shell.polished-workbench .sidebar .sidebar-bottom a:hover {background: #2e4e7b}
body.enterprise-shell.polished-workbench #workspace-sidebar :focus-visible {outline-color: #b0ceff}
body.enterprise-shell.polished-workbench .topbar {
  margin: 0 0 19px;
  min-height: 82px;
  border-color: var(--visual-stroke);
}
body.enterprise-shell.polished-workbench .topbar h1 {color: var(--visual-ink) !important; letter-spacing: -.025em}
body.enterprise-shell.polished-workbench .topbar .eyebrow {color: var(--visual-muted) !important; letter-spacing: 0}
body.enterprise-shell.polished-workbench .header-actions .header-screen-link {
  background: #e9f0ff;
  border-color: #d4e1f9;
  color: #224b99;
}
body.enterprise-shell.polished-workbench .header-actions .header-screen-link:hover {background: #dce8ff}
body.enterprise-shell.polished-workbench .task-more > div {
  border-radius: 13px;
  border-color: var(--visual-stroke);
  box-shadow: 0 14px 32px #152a4926;
}
body.enterprise-shell.polished-workbench :is(button,a).primary {
  background: var(--visual-blue);
  border-color: var(--visual-blue);
  color: #fff;
  box-shadow: 0 2px 4px #153d7621;
}
body.enterprise-shell.polished-workbench :is(button,a).primary:not(:disabled):hover {
  background: var(--visual-blue-hover);
  border-color: var(--visual-blue-hover);
}
body.enterprise-shell.polished-workbench :is(button,a).secondary {
  background: #fff;
  border-color: #ccd9ea;
  color: #27466e;
  box-shadow: 0 1px 2px #112a470b;
}
body.enterprise-shell.polished-workbench :is(button,a).secondary:not(:disabled):hover {background: #f0f5ff; border-color: #a9bfea}
body.enterprise-shell.polished-workbench :is(button,a).secondary[aria-pressed=true] {
  color: #21469a;
  background: #e9f0ff;
  border-color: #b5caef;
}
body.enterprise-shell.polished-workbench :is(button,a).text-button {color: #254eae}
body.enterprise-shell.polished-workbench :is(button,a).text-button:hover {background: #edf3ff}
body.enterprise-shell.polished-workbench :is(button,a,input,select,textarea,summary):focus-visible {
  outline: 2px solid #386bdb;
  outline-offset: 2px;
}
body.enterprise-shell.polished-workbench :is(#page-content,#editor-body,#platform-login)
  :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea) {
  border-color: #c9d7ea;
  border-radius: 8px;
  color: var(--visual-ink);
}
body.enterprise-shell.polished-workbench :is(#page-content,#editor-body,#platform-login)
  :is(input,textarea)::placeholder {color: #657992}
body.enterprise-shell.polished-workbench :is(#page-content,#editor-body) :is(input,select,textarea)[aria-invalid=true] {border-color: #c34850}
body.enterprise-shell.polished-workbench #page-content :is(.card,.hub-panel,.pw-inspector,.pw-metric-detail,.pw-dataset,.pw-source,.pw-product,.source-dataset,.source-row-detail,.source-heading,.operations-grid>article,.ocr-image-panel,.ocr-text-panel,.ocr-result-panel,.gps-hero,.gps-map-panel,.gps-vehicles,.gps-inspector,.camera-page,.online-panel,.history-audit) {
  background-color: var(--visual-white);
  border-color: var(--visual-stroke);
  border-radius: 13px;
  box-shadow: var(--visual-shadow);
}
body.enterprise-shell.polished-workbench #page-content :is(.console-page-intro,.analysis-heading,.pw-heading,.journey-heading,.online-detail-title) {
  border-bottom-color: var(--visual-stroke);
}
body.enterprise-shell.polished-workbench #page-content :is(.console-page-intro,.analysis-heading,.pw-heading,.journey-heading) :is(h2,h3),
body.enterprise-shell.polished-workbench #page-content :is(.card-head,.hub-panel>header) :is(h2,h3) {color: var(--visual-ink)}
body.enterprise-shell.polished-workbench #page-content :is(.toolbar,.console-table-tools,.source-catalog-filter,.pw-filter,.explore-filters,.camera-toolbar,.gps-toolbar) {
  background-color: #f6f9ff;
  border-color: var(--visual-stroke);
  border-radius: 10px;
}
body.enterprise-shell.polished-workbench :is(#page-content,#editor-body) :is(.table-wrap,.production-screen-table) {
  border: 1px solid var(--visual-stroke);
  border-radius: 10px;
}
body.enterprise-shell.polished-workbench :is(#page-content,#editor-body) th {
  background-color: #eaf0f9;
  color: #294665;
  border-color: var(--visual-stroke);
}
body.enterprise-shell.polished-workbench :is(#page-content,#editor-body) td {border-color: #e6edf6}
body.enterprise-shell.polished-workbench :is(#page-content,#editor-body) tbody tr:nth-child(even) > td {background-color: #f8faff}
body.enterprise-shell.polished-workbench :is(#page-content,#editor-body) tbody tr:hover > td {background-color: #edf4ff}
body.enterprise-shell.polished-workbench :is(.pill.good,.status.good,.operations-ok) {background-color: #e1f4ed; color: #10634d; border-color: #b8ddd0}
body.enterprise-shell.polished-workbench :is(.pill.warn,.status.warn,.notice.warn) {background-color: #fff4dc; color: #80551c; border-color: #edd6a7}
body.enterprise-shell.polished-workbench :is(.pill.bad,.status.bad,.notice.bad) {background-color: #fff0f0; color: #8f2e36; border-color: #f0c8cd}
body.enterprise-shell.polished-workbench :is(.empty,.hub-empty) {
  border-color: #dce6f1;
  background-color: #f5f8fd;
  color: var(--visual-muted);
}
body.enterprise-shell.polished-workbench dialog.detail-workspace {
  border: 1px solid #d1deef;
  box-shadow: 0 24px 76px #10243d42;
}
body.enterprise-shell.polished-workbench dialog.detail-workspace .dialog-heading {
  background: #edf3ff;
  border-bottom: 1px solid #d7e3f5;
  color: var(--visual-ink);
}
body.enterprise-shell.polished-workbench .detail-navigation {border-color: #dae5f4}
body.enterprise-shell.polished-workbench .task-home .task-home-search {
  background: linear-gradient(125deg,#172b47,#173e72);
  border-color: #254c7f;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 9px 24px #122e5626;
}
body.enterprise-shell.polished-workbench .task-order-search form > label {color: #fff; font-weight: 750}
body.enterprise-shell.polished-workbench .task-order-search form > p,
body.enterprise-shell.polished-workbench .task-order-search .home-query-shell > summary,
body.enterprise-shell.polished-workbench .task-refresh > summary,
body.enterprise-shell.polished-workbench .task-date-fields label {color: #dce8fb}
body.enterprise-shell.polished-workbench .task-search-row input {background: #fff}
body.enterprise-shell.polished-workbench .task-home-search .hub-auto-refresh {
  background: #203c65;
  border-color: #44628f;
  color: #e8f1ff;
}
body.enterprise-shell.polished-workbench .task-home-search .hub-auto-refresh label {color: #f3f7ff}
body.enterprise-shell.polished-workbench .task-shortcuts button {
  background: #fff1;
  color: #f0f6ff;
  border: 1px solid #c4d8ff43;
  border-radius: 9px;
  padding: 10px 12px;
}
body.enterprise-shell.polished-workbench .task-shortcuts button:hover {background: #ffffff25; border-color: #9bbefa}
body.enterprise-shell.polished-workbench .task-shortcuts button:focus-visible,
body.enterprise-shell.polished-workbench .task-home-search summary:focus-visible {outline-color: #c5daff}
body.enterprise-shell.polished-workbench .task-summary-row > .order-total-panel,
body.enterprise-shell.polished-workbench .task-home-energy,
body.enterprise-shell.polished-workbench .task-home-secondary > details {box-shadow: var(--visual-shadow)}
body.enterprise-shell.polished-workbench .task-home .order-total-grid article {
  border-color: #deE7f4;
  border-radius: 10px;
  background: #f7f9fd;
}
body.enterprise-shell.polished-workbench .task-home .order-total-grid article:first-child {
  border-color: #cedcf7;
  background: #edf3ff;
}
body.enterprise-shell.polished-workbench .task-home .order-total-grid article:nth-child(2) {
  border-color: #cde7e2;
  background: #edf8f5;
}
body.enterprise-shell.polished-workbench :is(.order-total-value strong,.cc-joint-primary strong,.task-energy-values strong) {color: #1d3c65}
body.enterprise-shell.polished-workbench .task-home .cc-process {
  border-top-color: #8aa6d0 !important;
  box-shadow: var(--visual-shadow);
}
body.enterprise-shell.polished-workbench .task-home .cc-optimization {
  background: #edf8f6 !important;
  border-top-color: #259589 !important;
}
body.enterprise-shell.polished-workbench .task-home .cc-process > button {
  background: #eaf1ff !important;
  color: #1d4da9 !important;
}
body.enterprise-shell.polished-workbench .task-home .cc-process > button:hover {background: #dce8ff !important}
body.enterprise-shell.polished-workbench .task-home :is(.hub-live-production,.task-home-energy,.task-summary-row) :is(h2,h3) {color: var(--visual-ink)}
body.enterprise-shell.polished-workbench .login-screen {
  background: radial-gradient(ellipse at 15% 13%,#294e83 0%,#172d4b 48%,#101f35 100%);
}
body.enterprise-shell.polished-workbench .login-brand h1 {font-weight: 780; letter-spacing: -.045em}
body.enterprise-shell.polished-workbench .login-brand p {color: #ccddf6}
body.enterprise-shell.polished-workbench .login-brand .brand-icon {
  background: #3468df;
  border-color: #6d98ed;
  box-shadow: 0 12px 28px #0618372e;
}
body.enterprise-shell.polished-workbench .enterprise-glass-art i {
  background: linear-gradient(156deg,#79b2fd44,#5be1c120);
  border-color: #a0c9f784;
}
body.enterprise-shell.polished-workbench .login-card {
  border-radius: 18px;
  border-color: #d8e4f5;
  box-shadow: 0 18px 60px #071a3c3b;
}
body.enterprise-shell.polished-workbench .task-system-status .service-strip {border-color: var(--visual-stroke)}
@media(max-width:600px) {
  body.enterprise-shell.polished-workbench .topbar {min-height: 60px; margin-bottom: 12px}
  body.enterprise-shell.polished-workbench .task-home .task-home-search {padding: 14px; border-radius: 13px}
  body.enterprise-shell.polished-workbench .task-shortcuts button {padding: 7px 8px}
  body.enterprise-shell.polished-workbench .login-screen {padding: 26px 17px; gap: 22px}
}
body.enterprise-shell.polished-workbench #page-content :is(.camera-view,.camera-settings,.camera-workstations,.operations-panel,.explore-live,.explore-saved) {
  border-color: var(--visual-stroke);
  border-radius: 13px;
  background-color: var(--visual-white);
  box-shadow: var(--visual-shadow);
}
body.enterprise-shell.polished-workbench #page-content .camera-controls {background: #e9f1fc; border-color: #d3e1f2; border-radius: 9px}
body.enterprise-shell.polished-workbench #page-content .camera-tile {border-color: #385371; border-radius: 9px; overflow: hidden}
body.enterprise-shell.polished-workbench #vehicle-gps :is(.gps-kpis>article,.gps-workflow>article,.gps-panel) {border-color: var(--visual-stroke); border-radius: 12px}
body.enterprise-shell.polished-workbench #page-content :is(.kpi,.pw-stats>article,.explore-kpis>article,.quality-check,.console-metric,.source-counts>article) {
  border-color: #d6e3f4;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: var(--visual-shadow);
}
body.enterprise-shell.polished-workbench #page-content .console-metric:hover {background-color: #edf4ff; border-color: #abc4ed}
body.enterprise-shell.polished-workbench #page-content :is(.online-chip,.journey-list-summary,.hub-reconcile-legend) {border-color: #d2e0ee; background-color: #eff5fd}
body.enterprise-shell.polished-workbench #page-content :is(.journey-tabs,.pw-tabs,.glass-tabs) > button {border-radius: 8px}
/* END ENTERPRISE VISUAL SYSTEM */
/* BEGIN MAINSTREAM LAYOUT */
/* ==========================================================================
   LIANGDA INDUSTRIAL DATA OS v4 — RADICAL DUAL-RAIL & TELEMETRY ARCHITECTURE
   Rail 1: 72px Deep-Obsidian App Dock | Rail 2: Collapsible Context Panel
   Main Stage: Centered Omnibar + Full-Width 4-Col KPI Hero + Dark Telemetry Band
   Supports Dual Engine: Light Pro & Dark Cockpit Mode (body[data-theme=dark])
   ========================================================================== */
body.enterprise-shell.dataos-v4 {
  --os-canvas: #eceff5;
  --os-surface: #ffffff;
  --os-surface-2: #f6f8fc;
  --os-line: #dfe5f0;
  --os-line-2: #c6d2e4;
  --os-ink: #0f172a;
  --os-ink-2: #475569;
  --os-ink-3: #64748b;
  --os-primary: #2556c6;
  --os-primary-hover: #1d46a8;
  --os-primary-soft: #eaf1ff;
  --os-teal: #0d9488;
  --os-rail-bg: #0b1220;
  --os-rail-line: #1d2a42;
  --os-telemetry-bg: #0f1a2e;
  --os-telemetry-card: #16243d;
  --os-telemetry-line: #26395a;
  --os-rail-w: 72px;
  --os-side-w: 222px;
  --os-header-h: 58px;
  --os-radius: 10px;
  --os-radius-lg: 14px;
  --os-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 6px 18px rgba(15, 23, 42, 0.04);
  background: var(--os-canvas);
  color: var(--os-ink);
}

/* ===== 1. DUAL-RAIL 3-COLUMN WORKSPACE SHELL ===== */
body.enterprise-shell.dataos-v4 #workspace {
  display: grid;
  grid-template-columns: var(--os-rail-w) var(--os-side-w) minmax(0, 1fr);
  min-height: 100dvh;
  align-items: start;
  background: var(--os-canvas);
}
body.enterprise-shell.dataos-v4[data-font-size="xlarge"]:not(.sidebar-collapsed) {
  --os-side-w: 256px;
}
body.enterprise-shell.dataos-v4.sidebar-collapsed #workspace {
  grid-template-columns: var(--os-rail-w) 0px minmax(0, 1fr);
}

/* ===== 2. RAIL 1 — 72px DEEP-OBSIDIAN APP LAUNCHER DOCK ===== */
body.enterprise-shell.dataos-v4 #app-rail {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  background: linear-gradient(180deg, #0b1220 0%, #070d18 100%);
  border-right: 1px solid var(--os-rail-line);
  z-index: 60;
  user-select: none;
}
body.enterprise-shell.dataos-v4 .rail-brand {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  text-decoration: none;
}
body.enterprise-shell.dataos-v4 .rail-brand .brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b74f5 0%, #2556c6 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(37, 86, 198, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

body.enterprise-shell.dataos-v4 .rail-domains {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0 8px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
body.enterprise-shell.dataos-v4 .rail-domains::-webkit-scrollbar { display: none; }

body.enterprise-shell.dataos-v4 .rail-domain-btn,
body.enterprise-shell.dataos-v4 .rail-utility-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 56px;
  min-height: 52px !important;
  padding: 6px 2px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #93a8c7;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
body.enterprise-shell.dataos-v4 .rail-domain-btn svg,
body.enterprise-shell.dataos-v4 .rail-utility-btn svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
body.enterprise-shell.dataos-v4 .rail-label {
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 600;
  white-space: nowrap;
}
body.enterprise-shell.dataos-v4 .rail-domain-btn:hover,
body.enterprise-shell.dataos-v4 .rail-utility-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
body.enterprise-shell.dataos-v4 .rail-domain-btn.is-active {
  background: linear-gradient(145deg, #2b60db 0%, #2556c6 100%);
  border-color: rgba(147, 197, 253, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 86, 198, 0.48);
}
body.enterprise-shell.dataos-v4 .rail-domain-btn.is-active::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 12px;
  bottom: 12px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: #60a5fa;
}

body.enterprise-shell.dataos-v4 .rail-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 10px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.enterprise-shell.dataos-v4 .theme-icon-sun { display: none; }
body.enterprise-shell.dataos-v4[data-theme="dark"] .theme-icon-sun { display: block; color: #fbbf24; }
body.enterprise-shell.dataos-v4[data-theme="dark"] .theme-icon-moon { display: none; }

/* ===== 3. RAIL 2 — FLOATING CONTEXTUAL SUB-NAV PANEL ===== */
body.enterprise-shell.dataos-v4 #workspace-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  background: var(--os-surface) !important;
  color: var(--os-ink) !important;
  border-right: 1px solid var(--os-line) !important;
  box-shadow: none !important;
  overflow: hidden;
  z-index: 45;
}
body.enterprise-shell.dataos-v4.sidebar-collapsed #workspace-sidebar {
  width: 0 !important;
  border-right: 0 !important;
  visibility: hidden;
  pointer-events: none;
}
body.enterprise-shell.dataos-v4 #workspace-sidebar > .brand,
body.enterprise-shell.dataos-v4 #workspace-sidebar > .nav-close {
  display: none;
}

body.enterprise-shell.dataos-v4 .sidebar-domain-banner {
  padding: 14px 15px 12px;
  border-bottom: 1px solid var(--os-line);
  background: linear-gradient(180deg, var(--os-surface-2) 0%, var(--os-surface) 100%);
  flex-shrink: 0;
}
body.enterprise-shell.dataos-v4 .sidebar-domain-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.enterprise-shell.dataos-v4 .sidebar-domain-badge {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--os-primary-soft);
  color: var(--os-primary);
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3 !important;
}
body.enterprise-shell.dataos-v4 .sidebar-domain-banner strong {
  font-size: var(--ui-body);
  font-weight: 800;
  color: var(--os-ink);
}
body.enterprise-shell.dataos-v4 .sidebar-domain-banner small {
  display: block;
  margin-top: 4px;
  color: var(--os-ink-3);
  line-height: 1.4 !important;
}

body.enterprise-shell.dataos-v4 #workspace-sidebar .console-nav-search {
  margin: 10px 12px 6px !important;
  padding: 0 10px !important;
  min-height: 36px;
  border-radius: 8px;
  background: var(--os-surface-2) !important;
  border: 1px solid var(--os-line) !important;
  flex-shrink: 0;
}
body.enterprise-shell.dataos-v4 #workspace-sidebar #nav-search {
  min-height: 34px;
  padding: 5px 2px;
  color: var(--os-ink) !important;
}
body.enterprise-shell.dataos-v4 #workspace-sidebar #nav-search::placeholder,
body.enterprise-shell.dataos-v4 #workspace-sidebar #nav-search-empty {
  color: var(--os-ink-3) !important;
}

body.enterprise-shell.dataos-v4 #navigation {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 10px 14px;
  scrollbar-width: thin;
}
body.enterprise-shell.dataos-v4 #platform-workspaces {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.enterprise-shell.dataos-v4 #navigation:not(.is-searching) .task-menu-group.is-current-section {
  order: -1;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--os-line);
}
body.enterprise-shell.dataos-v4 #navigation .task-menu-group { margin: 1px 0; }
body.enterprise-shell.dataos-v4 #navigation .task-menu-row { display: flex; align-items: center; gap: 2px; }
body.enterprise-shell.dataos-v4 #navigation .task-menu-row button {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--os-ink-2) !important;
  font-weight: 650;
  box-shadow: none;
}
body.enterprise-shell.dataos-v4 #navigation .task-menu-section {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
}
body.enterprise-shell.dataos-v4 #navigation .nav-domain-icon {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  opacity: 0.72;
}
body.enterprise-shell.dataos-v4 #navigation .task-menu-row button:hover {
  background: var(--os-surface-2) !important;
  color: var(--os-ink) !important;
}
body.enterprise-shell.dataos-v4 #navigation .task-menu-section.is-workspace-active {
  background: var(--os-primary-soft) !important;
  border-color: #cfe0fc !important;
  color: var(--os-primary) !important;
  box-shadow: none !important;
}
body.enterprise-shell.dataos-v4 #navigation .task-menu-section.is-workspace-active .nav-domain-icon {
  opacity: 1;
  color: var(--os-primary);
}
body.enterprise-shell.dataos-v4 #navigation .task-menu-disclosure { width: 32px; flex: 0 0 32px; padding: 0; }
body.enterprise-shell.dataos-v4 #navigation .task-submenus {
  margin: 5px 0 6px 12px;
  padding-left: 10px;
  border-left: 1px solid var(--os-line) !important;
}
body.enterprise-shell.dataos-v4 #navigation .workbench-subgroup { margin-bottom: 10px; }
body.enterprise-shell.dataos-v4 #navigation .workbench-subgroup > p {
  margin: 4px 0 4px 8px;
  color: var(--os-ink-3) !important;
  font-weight: 600;
}
body.enterprise-shell.dataos-v4 #navigation .section-subnav { display: grid; gap: 2px; }
body.enterprise-shell.dataos-v4 #navigation .section-subnav button {
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--os-ink-2) !important;
  font-weight: 500;
  box-shadow: none;
}
body.enterprise-shell.dataos-v4 #navigation .section-subnav button:hover {
  background: var(--os-surface-2) !important;
  color: var(--os-ink) !important;
}
body.enterprise-shell.dataos-v4 #navigation .section-subnav button.active {
  background: var(--os-primary) !important;
  border-color: var(--os-primary) !important;
  color: #ffffff !important;
  font-weight: 650;
  box-shadow: 0 2px 8px rgba(37, 86, 198, 0.28) !important;
}
body.enterprise-shell.dataos-v4 #workspace-sidebar .sidebar-bottom {
  flex-shrink: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--os-line) !important;
  background: var(--os-surface-2);
  display: grid;
  gap: 5px;
}
body.enterprise-shell.dataos-v4 #workspace-sidebar .sidebar-bottom a {
  display: none;
}
body.enterprise-shell.dataos-v4 .sidebar-version {
  text-align: center;
  color: var(--os-ink-3);
  font-size: var(--ui-small) !important;
}

/* ===== 4. MAIN OPERATING STAGE + SINGLE FLOATING COMMAND HEADER ===== */
body.enterprise-shell.dataos-v4 #workspace > main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100dvh;
  padding: 0 !important;
  margin: 0;
  background: var(--os-canvas) !important;
  overflow-x: clip;
}

body.enterprise-shell.dataos-v4 main > .topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: var(--os-header-h) !important;
  margin: 0 !important;
  padding: 8px 20px !important;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 0;
  border-bottom: 1px solid var(--os-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
body.enterprise-shell.dataos-v4 .topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}
body.enterprise-shell.dataos-v4 #nav-toggle {
  display: none;
  width: auto !important;
  min-width: 58px;
  min-height: 38px !important;
  padding: 5px 12px !important;
  white-space: nowrap;
}
body.enterprise-shell.dataos-v4 .sidebar-collapse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px !important;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  color: var(--os-ink-2);
  flex-shrink: 0;
}
body.enterprise-shell.dataos-v4 .sidebar-collapse-btn:hover {
  border-color: #a9bee4;
  background: var(--os-primary-soft);
  color: var(--os-primary);
}
body.enterprise-shell.dataos-v4 .sidebar-collapse-btn svg { width: 18px; height: 18px; }

body.enterprise-shell.dataos-v4 .topbar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
body.enterprise-shell.dataos-v4 .topbar .eyebrow {
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--os-surface-2);
  border: 1px solid var(--os-line);
  color: var(--os-ink-2) !important;
  font-weight: 600;
  white-space: nowrap;
}
body.enterprise-shell.dataos-v4 .topbar #page-title {
  margin: 0;
  font-size: calc(var(--ui-body) + 2px) !important;
  font-weight: 800;
  color: var(--os-ink) !important;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Centered Omnibar Command Capsule */
body.enterprise-shell.dataos-v4 .cmd-omnibar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 180px;
  min-width: 120px;
  max-width: 390px;
  height: 40px;
  min-height: 40px !important;
  margin: 0 auto;
  padding: 0 12px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--os-line-2);
  background: var(--os-surface-2);
  color: var(--os-ink-3);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}
body.enterprise-shell.dataos-v4 .cmd-omnibar:hover {
  border-color: #93b4f0;
  background: var(--os-surface);
  color: var(--os-ink);
  box-shadow: 0 0 0 3px rgba(37, 86, 198, 0.1);
}
body.enterprise-shell.dataos-v4 .cmd-omnibar svg {
  width: 16px;
  height: 16px;
  color: var(--os-primary);
  flex-shrink: 0;
}
body.enterprise-shell.dataos-v4 .cmd-trigger-text {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--ui-small) !important;
}
body.enterprise-shell.dataos-v4 .cmd-kbd {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  color: var(--os-ink-2);
  font-size: var(--ui-small) !important;
  line-height: 1.25;
  flex-shrink: 0;
}

body.enterprise-shell.dataos-v4 .header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  gap: 8px;
}
body.enterprise-shell.dataos-v4 .topbar-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  min-height: 36px !important;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  color: var(--os-ink-2);
  white-space: nowrap;
}
body.enterprise-shell.dataos-v4 .topbar-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}
body.enterprise-shell.dataos-v4 .topbar-status-dot.is-good {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
body.enterprise-shell.dataos-v4 .topbar-status-dot.is-warn {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
body.enterprise-shell.dataos-v4 .topbar-status-dot.is-bad {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22);
}
body.enterprise-shell.dataos-v4 .header-actions #page-back,
body.enterprise-shell.dataos-v4 .header-actions .header-screen-link {
  height: 36px;
  min-height: 36px !important;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  white-space: nowrap;
}
body.enterprise-shell.dataos-v4 .task-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  min-height: 36px !important;
  padding: 3px 10px 3px 5px;
  border-radius: 999px;
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  color: var(--os-ink);
  white-space: nowrap;
}
body.enterprise-shell.dataos-v4 .user-avatar-chip {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--os-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: var(--ui-small) !important;
  line-height: 1;
}

/* Slim Auto-Hiding Multi-Tab Ribbon (hidden on initial #overview load!) */
body.enterprise-shell.dataos-v4 .workspace-tabs {
  position: sticky;
  top: var(--os-header-h);
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background: var(--os-surface-2);
  border-bottom: 1px solid var(--os-line);
  min-width: 0;
}
body.enterprise-shell.dataos-v4 .workspace-tabs-track {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 10px 0 0;
  scroll-padding-inline: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.enterprise-shell.dataos-v4 .workspace-tabs-track::-webkit-scrollbar { display: none; }
body.enterprise-shell.dataos-v4 .workspace-tab {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  color: var(--os-ink-2);
}
body.enterprise-shell.dataos-v4 .workspace-tab.is-active {
  background: var(--os-primary);
  border-color: var(--os-primary);
  color: #ffffff;
}
body.enterprise-shell.dataos-v4 .workspace-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px !important;
  padding: 2px 11px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: var(--ui-small) !important;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: none;
}
body.enterprise-shell.dataos-v4 .workspace-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
body.enterprise-shell.dataos-v4 .workspace-tab-close {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  min-height: 22px !important;
  margin-right: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  opacity: 0.78;
  font-size: var(--ui-small) !important;
  line-height: 1;
}
body.enterprise-shell.dataos-v4 .workspace-tab-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}
body.enterprise-shell.dataos-v4 .workspace-tabs-clear {
  flex-shrink: 0;
  min-height: 28px !important;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  color: var(--os-ink-2);
  font-size: var(--ui-small) !important;
  white-space: nowrap;
}

/* Main Workspace Canvas */
body.enterprise-shell.dataos-v4 #page-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1860px;
  margin: 0 auto;
  padding: 18px 22px 24px;
  box-sizing: border-box;
  min-width: 0;
}
body.enterprise-shell.dataos-v4 .task-system-status,
body.enterprise-shell.dataos-v4 #workspace > main > footer {
  width: 100%;
  max-width: 1860px;
  margin: 10px auto 0;
  padding: 0 22px 14px;
  box-sizing: border-box;
}

/* ==========================================================================
   5. RADICAL HOME WORKBENCH RE-ARCHITECTURE (#overview)
      Band 1: Compact 1-Line Execution Ribbon
      Band 2: FULL-WIDTH 4-COLUMN FLAGSHIP EXECUTIVE KPI HERO STRIP
      Band 3: FULL-WIDTH DEEP-OBSIDIAN LIVE TELEMETRY BAR (Energy + Exceptions)
      Band 4: INDUSTRIAL PRODUCTION PIPELINE STAGE BOARD (ABOVE THE FOLD!)
      Band 5: 3-COLUMN HORIZONTAL DEEP-DIVE ACCORDION DOCK
   ========================================================================== */
body.enterprise-shell.dataos-v4 .task-home {
  display: grid;
  gap: 14px;
}

/* BAND 1: Compact 1-Row Execution Ribbon */
body.enterprise-shell.dataos-v4 .task-home .task-home-search {
  background: var(--os-surface) !important;
  border: 1px solid var(--os-line) !important;
  border-radius: var(--os-radius-lg) !important;
  padding: 13px 18px !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1.25fr);
  gap: 12px 20px;
  align-items: center;
  box-shadow: var(--os-shadow) !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-order-search form > label {
  display: inline-block;
  color: var(--os-ink) !important;
  font-weight: 800;
  margin-bottom: 6px;
}
body.enterprise-shell.dataos-v4 .task-home .task-order-search form > p {
  display: none;
}
body.enterprise-shell.dataos-v4 .task-home .task-order-search .home-query-shell,
body.enterprise-shell.dataos-v4 .task-home .task-home-search .task-refresh {
  display: inline-block;
  margin: 6px 16px 0 0 !important;
  vertical-align: top;
}
body.enterprise-shell.dataos-v4 .task-home .task-order-search .home-query-shell[open],
body.enterprise-shell.dataos-v4 .task-home .task-home-search .task-refresh[open] {
  display: block;
  margin-right: 0 !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-order-search .home-query-shell > summary,
body.enterprise-shell.dataos-v4 .task-home .task-refresh > summary {
  color: var(--os-primary) !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-date-fields label { color: var(--os-ink-2) !important; }
body.enterprise-shell.dataos-v4 .task-home .task-home-search .hub-auto-refresh {
  background: var(--os-surface-2) !important;
  border: 1px solid var(--os-line) !important;
  color: var(--os-ink-2) !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-home-search .hub-auto-refresh label { color: var(--os-ink) !important; }

body.enterprise-shell.dataos-v4 .task-home .task-shortcuts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
body.enterprise-shell.dataos-v4 .task-home .task-shortcuts button {
  background: var(--os-surface-2) !important;
  border: 1px solid var(--os-line) !important;
  color: var(--os-ink) !important;
  border-radius: 9px;
  padding: 7px 10px;
  font-weight: 600;
  box-shadow: none;
}
body.enterprise-shell.dataos-v4 .task-home .task-shortcuts button:hover {
  background: var(--os-primary-soft) !important;
  border-color: #9bb8f2 !important;
  color: var(--os-primary) !important;
}

/* BAND 2 + BAND 3: SHATTER 2-COLUMN BOXES -> FULL-WIDTH STACKED 4-COL HERO KPI + DARK TELEMETRY STRIP */
body.enterprise-shell.dataos-v4 .task-home .task-summary-row {
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px;
}

/* BAND 2: Full-Width 4-Column Executive KPI Hero Band */
body.enterprise-shell.dataos-v4 .task-home .task-summary-row > .order-total-panel {
  padding: 14px 18px 16px;
  border-radius: var(--os-radius-lg);
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  box-shadow: var(--os-shadow);
}
body.enterprise-shell.dataos-v4 .task-home .order-total-panel > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
body.enterprise-shell.dataos-v4 .task-home .task-summary-row .order-total-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
body.enterprise-shell.dataos-v4 .task-home .order-total-grid article {
  border-radius: 11px;
  border: 1px solid var(--os-line);
  border-top: 3px solid #94a3b8;
  background: var(--os-surface-2);
  padding: 14px 16px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
}
body.enterprise-shell.dataos-v4 .task-home .order-total-grid article:nth-child(1) {
  border-top-color: #2556c6;
  background: linear-gradient(180deg, #eff5ff 0%, #ffffff 100%);
}
body.enterprise-shell.dataos-v4 .task-home .order-total-grid article:nth-child(2) {
  border-top-color: #0d9488;
  background: linear-gradient(180deg, #eefbf7 0%, #ffffff 100%);
}
body.enterprise-shell.dataos-v4 .task-home .order-total-grid article:nth-child(3) {
  border-top-color: #6366f1;
  background: linear-gradient(180deg, #f3f2ff 0%, #ffffff 100%);
}
body.enterprise-shell.dataos-v4 .task-home .order-total-grid article:nth-child(4) {
  border-top-color: #475569;
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}
body.enterprise-shell.dataos-v4 .order-total-value strong {
  color: var(--os-ink) !important;
  font-weight: 800;
}

/* BAND 3: FULL-WIDTH DEEP-OBSIDIAN OPERATIONS TELEMETRY BAR */
body.enterprise-shell.dataos-v4 .task-home .task-home-side {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--os-radius-lg);
  background: linear-gradient(115deg, #0d1729 0%, #142542 62%, #0e2038 100%);
  border: 1px solid #243859;
  box-shadow: 0 10px 26px rgba(10, 20, 38, 0.22);
  color: #e8f1ff;
  align-items: center;
}
body.enterprise-shell.dataos-v4 .task-home .task-home-energy {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 18px;
  align-items: center;
}
body.enterprise-shell.dataos-v4 .task-home .task-home-energy > header {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-right: 16px;
  border-right: 1px solid rgba(148, 179, 219, 0.2);
}
body.enterprise-shell.dataos-v4 .task-home .task-home-energy h2 {
  color: #ffffff !important;
  font-size: calc(var(--ui-body) + 2px) !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-home-energy .text-button {
  color: #7dd3fc !important;
  padding: 2px 6px;
  min-height: 30px !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-home-energy .text-button:hover {
  background: rgba(125, 211, 252, 0.14) !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-energy-values {
  margin: 0 !important;
  gap: 10px;
}
body.enterprise-shell.dataos-v4 .task-home .task-energy-values > div {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 179, 219, 0.18);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
body.enterprise-shell.dataos-v4 .task-home .task-energy-values span {
  color: #a8bed8 !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-energy-values strong {
  color: #5eead4 !important;
  font-size: calc(var(--ui-heading) + 3px) !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-energy-values small {
  color: #93b4d4 !important;
}

body.enterprise-shell.dataos-v4 .task-home .task-home-alerts {
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
body.enterprise-shell.dataos-v4 .task-home .task-home-alerts button {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(148, 179, 219, 0.22) !important;
  color: #eef5ff !important;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: none !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-home-alerts button strong {
  color: #fbbf24;
}
body.enterprise-shell.dataos-v4 .task-home .task-home-alerts button:hover {
  background: rgba(96, 165, 250, 0.2) !important;
  border-color: rgba(147, 197, 253, 0.5) !important;
}

/* BAND 4: PRODUCTION EXECUTION PIPELINE BOARD */
body.enterprise-shell.dataos-v4 .task-home .hub-live-production {
  background: var(--os-surface);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-lg);
  padding: 16px 18px;
  box-shadow: var(--os-shadow);
}
body.enterprise-shell.dataos-v4 .task-home .hub-live-production .cc-section-title {
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--os-line);
  align-items: center;
}
body.enterprise-shell.dataos-v4 .task-home .cc-process {
  display: flex;
  flex-direction: column;
  border-radius: 11px;
  border: 1px solid var(--os-line) !important;
  border-top: 3px solid #94a3b8 !important;
  background: var(--os-surface-2) !important;
  box-shadow: none !important;
}
body.enterprise-shell.dataos-v4 .task-home .cc-optimization { border-top-color: #0d9488 !important; background: #f2fbf9 !important; }
body.enterprise-shell.dataos-v4 .task-home .cc-process-0 { border-top-color: #2556c6 !important; }
body.enterprise-shell.dataos-v4 .task-home .cc-process-1 { border-top-color: #0284c7 !important; }
body.enterprise-shell.dataos-v4 .task-home .cc-process-2 { border-top-color: #4f46e5 !important; }
body.enterprise-shell.dataos-v4 .task-home .cc-process-3 { border-top-color: #d97706 !important; }
body.enterprise-shell.dataos-v4 .task-home .cc-process-4 { border-top-color: #059669 !important; }
body.enterprise-shell.dataos-v4 .task-home .cc-process-5 { border-top-color: #7c3aed !important; }
body.enterprise-shell.dataos-v4 .task-home .cc-process > button {
  margin-top: auto;
  background: var(--os-surface) !important;
  border: 1px solid var(--os-line) !important;
  color: var(--os-primary) !important;
  border-radius: 8px;
}
body.enterprise-shell.dataos-v4 .task-home .cc-process > button:hover {
  background: var(--os-primary-soft) !important;
  border-color: #9bb8f2 !important;
}

/* BAND 5: 3-COLUMN HORIZONTAL DEEP-DIVE DOCK */
body.enterprise-shell.dataos-v4 .task-home-secondary {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
body.enterprise-shell.dataos-v4 .task-home-secondary > details {
  border-radius: var(--os-radius-lg);
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  padding: 13px 16px;
  box-shadow: var(--os-shadow);
}
body.enterprise-shell.dataos-v4 .task-home-secondary > details[open] {
  grid-column: 1 / -1;
}

/* ==========================================================================
   6. SPECIALIZED STUDIO SUB-PAGES (Glass Cost Obsidian Receipt, ProTables, etc.)
   ========================================================================== */
body.enterprise-shell.dataos-v4 .procurement-page { max-width: none; margin: 0; }

/* Glass Cost Right Panel -> Executive Dark-Obsidian Pricing Receipt! */
body.enterprise-shell.dataos-v4 #page-content .cost-results {
  background: linear-gradient(155deg, #0d1729 0%, #14233e 100%) !important;
  border: 1px solid #263b5e !important;
  color: #eaf2ff !important;
  box-shadow: 0 14px 36px rgba(10, 20, 40, 0.24) !important;
}
body.enterprise-shell.dataos-v4 #page-content .cost-results :is(h2, h3, summary) {
  color: #ffffff !important;
}
body.enterprise-shell.dataos-v4 #page-content .cost-results .cost-result-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(148, 179, 219, 0.2) !important;
}
body.enterprise-shell.dataos-v4 #page-content .cost-results .cost-result-primary {
  background: rgba(37, 86, 198, 0.34) !important;
  border-color: rgba(96, 165, 250, 0.5) !important;
}
body.enterprise-shell.dataos-v4 #page-content .cost-results :is(.cost-result-label, .cost-result-value small, .cost-result-item p, .cost-result-note) {
  color: #b4c8e2 !important;
}
body.enterprise-shell.dataos-v4 #page-content .cost-results .cost-result-item strong {
  color: #5eead4 !important;
}
body.enterprise-shell.dataos-v4 #page-content .cost-results .cost-result-primary strong {
  color: #ffffff !important;
}
body.enterprise-shell.dataos-v4 #page-content .cost-results .cost-formula {
  border-color: rgba(148, 179, 219, 0.22);
  color: #c5d7ee;
}

@media (min-width: 1120px) {
  body.enterprise-shell.dataos-v4 .cost-layout { align-items: start; }
  body.enterprise-shell.dataos-v4 .cost-results,
  body.enterprise-shell.dataos-v4 .pw-inspector,
  body.enterprise-shell.dataos-v4 .pw-metric-detail {
    position: sticky;
    top: calc(var(--os-header-h) + 18px);
  }
}

@media (min-width: 1180px) {
  body.enterprise-shell.dataos-v4:not([data-view="overview"]):not([data-font-size="xlarge"]) .order-total-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Unified Sub-Page Context Strips, Cards & ProTables */
body.enterprise-shell.dataos-v4 #page-content :is(.console-page-intro, .analysis-heading, .pw-heading, .source-heading, .procurement-heading) {
  padding: 14px 18px;
  margin: 0 0 14px;
  border-radius: var(--os-radius-lg);
  border: 1px solid var(--os-line);
  border-left: 4px solid var(--os-primary);
  background: var(--os-surface);
  box-shadow: var(--os-shadow);
}
body.enterprise-shell.dataos-v4 #page-content :is(.card, .hub-panel, .order-total-panel, .journey-search, .history-toolbar, .pw-inspector, .pw-metric-detail, .pw-dataset, .pw-source, .pw-product, .source-dataset, .source-row-detail, .operations-grid > article, .ocr-image-panel, .ocr-text-panel, .ocr-result-panel, .gps-hero, .gps-map-panel, .gps-vehicles, .gps-inspector, .camera-page, .online-panel, .history-audit, .camera-view, .camera-settings, .camera-workstations, .operations-panel, .explore-live, .explore-saved) {
  background-color: var(--os-surface);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-lg);
  box-shadow: var(--os-shadow);
}
body.enterprise-shell.dataos-v4 #page-content :is(.toolbar, .console-table-tools, .source-catalog-filter, .pw-filter, .explore-filters, .camera-toolbar, .gps-toolbar) {
  background: var(--os-surface-2);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius);
  padding: 12px 14px;
}
body.enterprise-shell.dataos-v4 #page-content :is(.kpi, .pw-stats > article, .explore-kpis > article, .quality-check, .console-metric, .source-counts > article) {
  border: 1px solid var(--os-line);
  border-top: 3px solid var(--os-primary);
  border-radius: var(--os-radius);
  background: var(--os-surface);
  box-shadow: var(--os-shadow);
}
body.enterprise-shell.dataos-v4 :is(#page-content, #editor-body) :is(.table-wrap, .production-screen-table) {
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius);
  background: var(--os-surface);
}
body.enterprise-shell.dataos-v4 :is(#page-content, #editor-body) thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--os-surface-2);
  color: var(--os-ink);
  border-bottom: 1px solid var(--os-line);
}
body.enterprise-shell.dataos-v4 :is(button, a).primary {
  background: var(--os-primary);
  border-color: var(--os-primary);
  color: #ffffff;
  border-radius: 8px;
}
body.enterprise-shell.dataos-v4 :is(button, a).primary:not(:disabled):hover {
  background: var(--os-primary-hover);
  border-color: var(--os-primary-hover);
}

/* ==========================================================================
   7. FULL DARK COCKPIT ENGINE (body.dataos-v4[data-theme="dark"])
   ========================================================================== */
body.enterprise-shell.dataos-v4[data-theme="dark"] {
  --os-canvas: #070d18;
  --os-surface: #0f1829;
  --os-surface-2: #152238;
  --os-line: #21324f;
  --os-line-2: #31486e;
  --os-ink: #eaf2ff;
  --os-ink-2: #a8bedb;
  --os-ink-3: #7f98b8;
  --os-primary-soft: rgba(37, 86, 198, 0.28);
  color-scheme: dark;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] main > .topbar {
  background: rgba(11, 18, 32, 0.94);
}
body.enterprise-shell.dataos-v4[data-theme="dark"] :is(button, a).secondary {
  background: #152238;
  border-color: #2b4063;
  color: #dce9fb;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] :is(button, a).secondary:hover {
  background: #1e3152;
  border-color: #4b74bd;
  color: #ffffff;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] :is(#page-content, #editor-body) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]), select, textarea) {
  background: #0b1322 !important;
  border-color: #2a3f62 !important;
  color: #edf4ff !important;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] .task-home .order-total-grid article,
body.enterprise-shell.dataos-v4[data-theme="dark"] .task-home .cc-optimization,
body.enterprise-shell.dataos-v4[data-theme="dark"] .material-quote,
body.enterprise-shell.dataos-v4[data-theme="dark"] .order-context-actions {
  background: #142238 !important;
  border-color: #253a5c !important;
  color: #eaf2ff !important;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] :is(#page-content, #editor-body) td {
  border-color: #1c2c47;
  color: #dbe8fa;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] :is(#page-content, #editor-body) tbody tr:nth-child(even) > td {
  background-color: #111c30;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] :is(#page-content, #editor-body) tbody tr:hover > td {
  background-color: #1b2e4d;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] .task-more > div,
body.enterprise-shell.dataos-v4[data-theme="dark"] dialog.cmd-palette,
body.enterprise-shell.dataos-v4[data-theme="dark"] dialog.detail-workspace {
  background: #0f1829;
  border-color: #283e63;
  color: #eaf2ff;
}
body.enterprise-shell.dataos-v4[data-theme="dark"] .cmd-palette-item {
  background: #0f1829;
  color: #e6f0ff;
}

/* ===== 8. MODERN LOGIN PORTAL & COMMAND PALETTE ===== */
body.enterprise-shell.dataos-v4 .login-screen {
  background: radial-gradient(circle at 12% 18%, #dce9ff 0%, transparent 45%),
              radial-gradient(circle at 88% 82%, #d9f3ef 0%, transparent 42%),
              #f3f6fb !important;
  color: #0f172a;
}
body.enterprise-shell.dataos-v4 .login-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6efff;
  color: var(--os-primary);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
}
body.enterprise-shell.dataos-v4 .login-brand h1 { color: #0f172a !important; font-weight: 800; letter-spacing: -0.04em; }
body.enterprise-shell.dataos-v4 .login-brand p { color: #475569 !important; }
body.enterprise-shell.dataos-v4 .login-pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
body.enterprise-shell.dataos-v4 .login-pillars span {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.88); border: 1px solid #dfe5f0; color: #334155; font-size: var(--ui-small) !important;
}
body.enterprise-shell.dataos-v4 .login-pillars b { color: var(--os-primary); }
body.enterprise-shell.dataos-v4 .enterprise-glass-art i {
  background: linear-gradient(150deg, rgba(37, 86, 198, 0.14), rgba(13, 148, 136, 0.1));
  border-color: rgba(37, 86, 198, 0.25);
}
body.enterprise-shell.dataos-v4 .login-card {
  background: #ffffff;
  border: 1px solid #dbe4f2 !important;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

dialog.cmd-palette {
  width: min(620px, calc(100vw - 24px));
  max-height: min(76dvh, 580px);
  padding: 0;
  border: 1px solid var(--os-line-2);
  border-radius: 14px;
  background: var(--os-surface);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.26);
  overflow: hidden;
}
dialog.cmd-palette::backdrop { background: rgba(10, 18, 34, 0.45); backdrop-filter: blur(4px); }
.cmd-palette-box { display: flex; flex-direction: column; max-height: min(76dvh, 580px); }
.cmd-palette-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--os-line); background: var(--os-surface-2); }
.cmd-palette-icon { width: 20px; height: 20px; color: var(--os-primary); flex-shrink: 0; }
#cmd-palette-input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; padding: 6px 4px; }
.cmd-palette-close { flex-shrink: 0; min-height: 32px !important; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--os-line); background: var(--os-surface); color: var(--os-ink-2); font-size: var(--ui-small) !important; }
.cmd-palette-list { flex: 1; overflow-y: auto; padding: 8px; display: grid; gap: 4px; }
.cmd-palette-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid transparent; background: var(--os-surface); color: var(--os-ink); text-align: left; }
.cmd-palette-item:hover, .cmd-palette-item.is-selected { background: var(--os-primary-soft); border-color: #93b4f0; color: var(--os-primary); }
.cmd-palette-item strong { font-weight: 650; }
.cmd-palette-item span { color: var(--os-ink-3); font-size: var(--ui-small) !important; white-space: nowrap; }
.cmd-palette-empty { margin: 18px 0; text-align: center; color: var(--os-ink-3); }
.cmd-palette-foot { display: flex; align-items: center; gap: 16px; padding: 9px 14px; border-top: 1px solid var(--os-line); background: var(--os-surface-2); color: var(--os-ink-3); font-size: var(--ui-small) !important; }

/* ===== 9. RESPONSIVE BREAKPOINTS (Zero Overflow Across All 102 Layouts) ===== */
@media (max-width: 1320px) {
  body.enterprise-shell.dataos-v4 .topbar-status-btn .topbar-status-text,
  body.enterprise-shell.dataos-v4 .cmd-omnibar .cmd-kbd { display: none; }
}

@media (max-width: 1220px) {
  body.enterprise-shell.dataos-v4 .task-home .task-home-search {
    grid-template-columns: minmax(0, 1fr);
  }
  body.enterprise-shell.dataos-v4 .task-home .task-summary-row .order-total-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.enterprise-shell.dataos-v4 .task-home .task-home-side {
    grid-template-columns: minmax(0, 1fr);
  }
  body.enterprise-shell.dataos-v4 .task-home-secondary {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  body.enterprise-shell.dataos-v4 #workspace:not([hidden]),
  body.enterprise-shell.dataos-v4.sidebar-collapsed #workspace:not([hidden]) {
    display: block;
  }
  body.enterprise-shell #workspace[hidden],
  body.enterprise-shell #login-screen[hidden] {
    display: none !important;
  }
  body.enterprise-shell.dataos-v4 #app-rail,
  body.enterprise-shell.dataos-v4 .sidebar-collapse-btn,
  body.enterprise-shell.dataos-v4 .cmd-omnibar,
  body.enterprise-shell.dataos-v4 .topbar-status-btn {
    display: none !important;
  }
  body.enterprise-shell.dataos-v4 #nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body.enterprise-shell.dataos-v4 main > .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px !important;
  }
  body.enterprise-shell.dataos-v4 #workspace-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100dvh;
    width: min(310px, calc(100vw - 36px)) !important;
    transform: translateX(-104%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease;
    z-index: 80;
    box-shadow: 12px 0 36px rgba(15, 23, 42, 0.2) !important;
  }
  body.enterprise-shell.dataos-v4.desk-menu-open #workspace-sidebar {
    transform: translateX(0);
    visibility: visible !important;
    pointer-events: auto !important;
  }
  body.enterprise-shell.dataos-v4 #workspace-sidebar > .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--os-line);
    color: var(--os-ink) !important;
  }
  body.enterprise-shell.dataos-v4 #workspace-sidebar > .nav-close {
    display: inline-grid;
    place-items: center;
    color: var(--os-ink) !important;
  }
  body.enterprise-shell.dataos-v4 #workspace-sidebar .sidebar-bottom a {
    display: flex;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--os-primary-soft);
    color: var(--os-primary);
    font-weight: 600;
  }
  body.enterprise-shell.dataos-v4 .sidebar-domain-banner { display: none; }
  body.enterprise-shell.dataos-v4 .workspace-tabs { position: static; padding: 6px 14px; }
  body.enterprise-shell.dataos-v4 #page-content { padding: 14px 14px 20px; }
  body.enterprise-shell.dataos-v4 .task-system-status,
  body.enterprise-shell.dataos-v4 #workspace > main > footer { padding-inline: 14px; }
  body.enterprise-shell.dataos-v4 .task-home .task-home-energy { grid-template-columns: minmax(0, 1fr); }
  body.enterprise-shell.dataos-v4 .task-home .task-home-energy > header { flex-direction: row; align-items: center; justify-content: space-between; padding-right: 0; border-right: 0; }
}

@media (max-width: 600px) {
  body.enterprise-shell.dataos-v4 main > .topbar { padding: 8px 12px !important; gap: 6px; }
  body.enterprise-shell.dataos-v4 .topbar .eyebrow,
  body.enterprise-shell.dataos-v4 .header-actions .header-screen-link,
  body.enterprise-shell.dataos-v4 .user-summary-label { display: none; }
  body.enterprise-shell.dataos-v4 .header-actions { width: auto !important; display: flex !important; gap: 6px; }
  body.enterprise-shell.dataos-v4 .task-home .task-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.enterprise-shell.dataos-v4 .task-home .task-energy-values,
  body.enterprise-shell.dataos-v4 .task-home .task-home-alerts { grid-template-columns: minmax(0, 1fr); }
  body.enterprise-shell.dataos-v4 #page-content { padding: 12px 12px 18px; }
}

/* ==========================================================================
   WORLD-CLASS MIDDLE-OFFICE PRECISION LAYER (v5)
   Pinned Favorites Dock · Live Health Popover · Precision Craft · ProTable Affordances
   ========================================================================== */
body.enterprise-shell.worldclass-v5 {
  --os-canvas: #f5f7fa;
  --os-surface: #ffffff;
  --os-surface-2: #f8fafc;
  --os-line: #e2e8f0;
  --os-line-2: #cbd5e1;
}
body.enterprise-shell.worldclass-v5 #workspace-sidebar {
  background: #f8fafc !important;
}
body.enterprise-shell.worldclass-v5 .sidebar-domain-banner {
  padding: 12px 14px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  background: transparent;
}
body.enterprise-shell.worldclass-v5 .sidebar-domain-banner small {
  flex-basis: 100%;
  margin-top: 2px;
}

/* Pinned Favorites Dock inside Contextual Sidebar */
body.enterprise-shell.worldclass-v5 .sidebar-favorites {
  padding: 8px 12px 10px;
  border-bottom: 1px solid var(--os-line);
  flex-shrink: 0;
}
body.enterprise-shell.worldclass-v5 .sidebar-fav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--os-ink-3);
  font-weight: 700;
}
body.enterprise-shell.worldclass-v5 .sidebar-fav-head span {
  font-size: 12px !important;
  letter-spacing: 0.02em;
}
body.enterprise-shell.worldclass-v5 .sidebar-fav-head small {
  font-size: 11px !important;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--os-line);
  color: var(--os-ink-2);
}
body.enterprise-shell.worldclass-v5 .sidebar-fav-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
body.enterprise-shell.worldclass-v5 .sidebar-fav-chip {
  min-height: 28px !important;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--os-line);
  background: var(--os-surface);
  color: var(--os-ink-2);
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: none;
  transition: border-color 0.14s ease, color 0.14s ease, background-color 0.14s ease;
}
body.enterprise-shell.worldclass-v5 .sidebar-fav-chip:hover {
  border-color: #93b4f0;
  background: var(--os-primary-soft);
  color: var(--os-primary);
}
body.enterprise-shell.worldclass-v5 .sidebar-fav-chip.is-active {
  background: var(--os-primary);
  border-color: var(--os-primary);
  color: #ffffff;
}

/* Star / Pin Button beside Topbar Page Title */
body.enterprise-shell.worldclass-v5 .page-pin-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-height: 30px !important;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #94a3b8;
  font-size: 17px !important;
  line-height: 1;
  box-shadow: none;
  transition: color 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}
body.enterprise-shell.worldclass-v5 .page-pin-btn:hover {
  background: var(--os-surface-2);
  border-color: var(--os-line);
  color: #f59e0b;
}
body.enterprise-shell.worldclass-v5 .page-pin-btn.is-pinned {
  color: #f59e0b;
}

/* Live System Health Pulse Popover */
body.enterprise-shell.worldclass-v5 .health-popover {
  position: relative;
}
body.enterprise-shell.worldclass-v5 .health-popover > summary {
  list-style: none;
  cursor: pointer;
}
body.enterprise-shell.worldclass-v5 .health-popover > summary::-webkit-details-marker {
  display: none;
}
body.enterprise-shell.worldclass-v5 .health-popover-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  width: 300px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--os-line-2);
  background: var(--os-surface);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  display: grid;
  gap: 12px;
}
body.enterprise-shell.worldclass-v5 .health-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.enterprise-shell.worldclass-v5 .health-mode-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--os-primary-soft);
  color: var(--os-primary);
  font-size: 12px !important;
  font-weight: 650;
}
body.enterprise-shell.worldclass-v5 .health-pop-metrics {
  margin: 0;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--os-surface-2);
  border: 1px solid var(--os-line);
}
body.enterprise-shell.worldclass-v5 .health-pop-metrics > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
body.enterprise-shell.worldclass-v5 .health-pop-metrics dt {
  color: var(--os-ink-3);
  font-size: var(--ui-small) !important;
  white-space: nowrap;
}
body.enterprise-shell.worldclass-v5 .health-pop-metrics dd {
  margin: 0;
  color: var(--os-ink);
  font-size: var(--ui-small) !important;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
body.enterprise-shell.worldclass-v5 .health-pop-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
body.enterprise-shell.worldclass-v5 .health-pop-links button {
  min-height: 34px !important;
  padding: 4px 6px;
  font-size: 13px !important;
}

/* Precision Editorial Restraint on Home KPI Cards (Stripe / Linear Craft) */
body.enterprise-shell.worldclass-v5 .task-home .order-total-grid article {
  background: var(--os-surface) !important;
  border: 1px solid var(--os-line) !important;
  border-top: 2px solid #cbd5e1 !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
body.enterprise-shell.worldclass-v5 .task-home .order-total-grid article:hover {
  border-color: var(--os-line-2) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}
body.enterprise-shell.worldclass-v5 .task-home .order-total-grid article:nth-child(1) { border-top-color: #2556c6 !important; }
body.enterprise-shell.worldclass-v5 .task-home .order-total-grid article:nth-child(2) { border-top-color: #0d9488 !important; }
body.enterprise-shell.worldclass-v5 .task-home .order-total-grid article:nth-child(3) { border-top-color: #6366f1 !important; }
body.enterprise-shell.worldclass-v5 .task-home .order-total-grid article:nth-child(4) { border-top-color: #475569 !important; }

/* Numbered Stage Pipeline Badges on Production Cards */
body.enterprise-shell.worldclass-v5 .task-home .cc-process-grid {
  counter-reset: stage -1;
}
body.enterprise-shell.worldclass-v5 .task-home .cc-process {
  counter-increment: stage;
  background: var(--os-surface) !important;
  border-top-width: 2.5px !important;
}
body.enterprise-shell.worldclass-v5 .task-home .cc-process > header h3::before {
  content: "0" counter(stage);
  display: inline-block;
  margin-right: 7px;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--os-surface-2);
  border: 1px solid var(--os-line);
  color: var(--os-ink-3);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 1px;
}

/* ProTable Horizontal Scroll Edge Affordance */
body.enterprise-shell.worldclass-v5 .table-wrap.has-scroll-right {
  box-shadow: inset -12px 0 12px -12px rgba(15, 23, 42, 0.22);
}
body.enterprise-shell.worldclass-v5 .table-wrap.has-scroll-left {
  box-shadow: inset 12px 0 12px -12px rgba(15, 23, 42, 0.22);
}
body.enterprise-shell.worldclass-v5 .table-wrap.has-scroll-left.has-scroll-right {
  box-shadow: inset 12px 0 12px -12px rgba(15, 23, 42, 0.22), inset -12px 0 12px -12px rgba(15, 23, 42, 0.22);
}

/* Subtle Fluid Page View Entry Micro-Motion */
@media (prefers-reduced-motion: no-preference) {
  body.enterprise-shell.worldclass-v5 #page-content > * {
    animation: wc-fade-in 0.14s ease-out;
  }
}
@keyframes wc-fade-in {
  from { opacity: 0.72; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dark Precision Theme Polish for New v5 Components */
body.enterprise-shell.worldclass-v5[data-theme="dark"] {
  --os-canvas: #090d16;
  --os-surface: #101726;
  --os-surface-2: #162033;
  --os-line: #1f2d47;
  --os-line-2: #2f4366;
}
body.enterprise-shell.worldclass-v5[data-theme="dark"] #workspace-sidebar {
  background: #0d1422 !important;
}
body.enterprise-shell.worldclass-v5[data-theme="dark"] .health-popover-panel {
  background: #101726;
  border-color: #2b3f63;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
body.enterprise-shell.worldclass-v5[data-theme="dark"] .task-home .order-total-grid article,
body.enterprise-shell.worldclass-v5[data-theme="dark"] .task-home .cc-process {
  background: #101726 !important;
  border-color: #1f2d47 !important;
}
@media (max-width: 900px) {
  body.enterprise-shell.worldclass-v5 .health-popover { display: none !important; }
  body.enterprise-shell.worldclass-v5 .sidebar-favorites { display: none; }
}

/* ==========================================================================
   PORCELAIN AURORA & LUXURY CRAFT LAYER (v6 · 高颜值视觉美学精修)
   Soft luminous atmosphere · Frosted icon medallions · Silky elevation
   ========================================================================== */
body.enterprise-shell.beauty-v6 {
  --bt-bg: #f2f5fb;
  --bt-card-border: rgba(203, 217, 238, 0.78);
  --bt-shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 24px -8px rgba(37, 86, 198, 0.08);
  --bt-shadow-hover: 0 4px 10px rgba(15, 23, 42, 0.04), 0 14px 30px -10px rgba(37, 86, 198, 0.14);
}

/* Luminous Pearl Aurora Canvas Backdrop */
body.enterprise-shell.beauty-v6 #workspace > main {
  background:
    radial-gradient(ellipse 65% 40% at 14% 0%, rgba(59, 130, 246, 0.085), transparent 62%),
    radial-gradient(ellipse 55% 42% at 92% 18%, rgba(20, 184, 166, 0.07), transparent 58%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(99, 102, 241, 0.05), transparent 65%),
    var(--bt-bg) !important;
}

/* Twilight Sapphire Luxury App Dock (Rail 1) */
body.enterprise-shell.beauty-v6 #app-rail {
  background:
    radial-gradient(circle at 50% 6%, rgba(59, 130, 246, 0.28), transparent 46%),
    linear-gradient(180deg, #0f1b36 0%, #132245 48%, #0b1429 100%) !important;
  border-right: 1px solid rgba(148, 179, 219, 0.16);
  box-shadow: 4px 0 24px rgba(11, 20, 41, 0.14);
}
body.enterprise-shell.beauty-v6 .rail-brand .brand-icon {
  background: linear-gradient(135deg, #4f8cff 0%, #2556c6 55%, #0ea5e9 100%);
  box-shadow: 0 8px 20px rgba(37, 86, 198, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
body.enterprise-shell.beauty-v6 .rail-domain-btn.is-active {
  background: linear-gradient(145deg, #3b76f6 0%, #2556c6 100%);
  border-color: rgba(191, 219, 254, 0.42);
  box-shadow: 0 6px 18px rgba(37, 86, 198, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

/* Pearl-Glass Contextual Sidebar (Rail 2) */
body.enterprise-shell.beauty-v6 #workspace-sidebar {
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.96) 0%, rgba(246, 249, 254, 0.96) 100%) !important;
  border-right: 1px solid rgba(203, 217, 238, 0.72) !important;
}
body.enterprise-shell.beauty-v6 .sidebar-domain-badge {
  background: linear-gradient(135deg, #e7f0ff 0%, #e6faf6 100%);
  border: 1px solid rgba(37, 86, 198, 0.14);
}
body.enterprise-shell.beauty-v6 .sidebar-fav-chip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(203, 217, 238, 0.8);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
body.enterprise-shell.beauty-v6 #navigation .section-subnav button.active {
  background: linear-gradient(105deg, #2556c6 0%, #3469e2 100%) !important;
  box-shadow: 0 4px 12px rgba(37, 86, 198, 0.3) !important;
}

/* Frosted Glass Topbar & Omnibar */
body.enterprise-shell.beauty-v6 main > .topbar {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(18px) saturate(165%);
  border-bottom: 1px solid rgba(203, 217, 238, 0.7);
  box-shadow: 0 4px 18px -6px rgba(15, 23, 42, 0.06);
}
body.enterprise-shell.beauty-v6 .cmd-omnibar {
  background: rgba(244, 247, 253, 0.9);
  border-color: rgba(191, 209, 236, 0.85);
}
body.enterprise-shell.beauty-v6 .cmd-omnibar:hover {
  background: #ffffff;
  border-color: #7da6f0;
  box-shadow: 0 0 0 4px rgba(37, 86, 198, 0.1);
}
body.enterprise-shell.beauty-v6 .workspace-tabs {
  background: rgba(248, 250, 254, 0.78);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(203, 217, 238, 0.65);
}
body.enterprise-shell.beauty-v6 .workspace-tab.is-active {
  background: linear-gradient(105deg, #2556c6 0%, #3469e2 100%);
  box-shadow: 0 3px 10px rgba(37, 86, 198, 0.28);
}

/* Luminous Aurora Command Ribbon on Home Workbench */
body.enterprise-shell.beauty-v6 .task-home .task-home-search {
  background: linear-gradient(122deg, #ffffff 0%, #f5f8ff 54%, #effaf8 100%) !important;
  border: 1px solid var(--bt-card-border) !important;
  box-shadow: var(--bt-shadow-soft), inset 0 1px 0 #ffffff !important;
}
body.enterprise-shell.beauty-v6 .task-search-row button {
  background-color: #2556c6 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 86, 198, 0.32) !important;
}
body.enterprise-shell.beauty-v6 .task-search-row button:hover {
  background-color: #1c47aa !important;
  box-shadow: 0 6px 18px rgba(37, 86, 198, 0.4) !important;
}

/* Jewel-Accented Quick Action Launch Tiles */
body.enterprise-shell.beauty-v6 .task-home .task-shortcuts button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(203, 217, 238, 0.85) !important;
  border-radius: 11px;
  padding: 8px 11px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
body.enterprise-shell.beauty-v6 .task-home .task-shortcuts button:hover {
  transform: translateY(-1px);
  background: #ffffff !important;
  border-color: #8eb2f2 !important;
  box-shadow: 0 8px 18px -6px rgba(37, 86, 198, 0.18) !important;
}
body.enterprise-shell.beauty-v6 .task-home .task-shortcuts button::after {
  margin-left: auto;
  opacity: 0.65;
}
body.enterprise-shell.beauty-v6 .shortcut-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
}
body.enterprise-shell.beauty-v6 .shortcut-icon svg { width: 15px; height: 15px; }
body.enterprise-shell.beauty-v6 .shortcut-icon.is-teal { background: #e6f9f6; color: #0d8a7e; }
body.enterprise-shell.beauty-v6 .shortcut-icon.is-amber { background: #fff6e0; color: #c77b0a; }
body.enterprise-shell.beauty-v6 .shortcut-icon.is-blue { background: #e9f1ff; color: #2556c6; }
body.enterprise-shell.beauty-v6 .shortcut-icon.is-indigo { background: #eeeeff; color: #4f46e5; }
body.enterprise-shell.beauty-v6 .shortcut-icon.is-violet { background: #f3ecff; color: #7c3aed; }
body.enterprise-shell.beauty-v6 .shortcut-icon.is-emerald { background: #e6f9ef; color: #059669; }

/* Flagship Porcelain KPI Cards with Frosted Icon Medallions & Corner Aura */
body.enterprise-shell.beauty-v6 .task-home .order-total-grid article {
  position: relative;
  overflow: hidden;
  border-radius: 13px !important;
  border: 1px solid var(--bt-card-border) !important;
  border-top-width: 3px !important;
  padding: 16px 18px !important;
  box-shadow: var(--bt-shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
body.enterprise-shell.beauty-v6 .task-home .order-total-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--bt-shadow-hover);
}
body.enterprise-shell.beauty-v6 .task-home .order-total-grid article:nth-child(1) {
  background: radial-gradient(circle at 92% 14%, rgba(37, 86, 198, 0.09), transparent 55%), #ffffff !important;
}
body.enterprise-shell.beauty-v6 .task-home .order-total-grid article:nth-child(2) {
  background: radial-gradient(circle at 92% 14%, rgba(13, 148, 136, 0.09), transparent 55%), #ffffff !important;
}
body.enterprise-shell.beauty-v6 .task-home .order-total-grid article:nth-child(3) {
  background: radial-gradient(circle at 92% 14%, rgba(99, 102, 241, 0.09), transparent 55%), #ffffff !important;
}
body.enterprise-shell.beauty-v6 .task-home .order-total-grid article:nth-child(4) {
  background: radial-gradient(circle at 92% 14%, rgba(100, 116, 139, 0.08), transparent 55%), #ffffff !important;
}
body.enterprise-shell.beauty-v6 .kpi-medallion {
  position: absolute;
  top: 13px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
body.enterprise-shell.beauty-v6 .kpi-medallion svg { width: 18px; height: 18px; }
body.enterprise-shell.beauty-v6 .kpi-medallion.is-blue { background: linear-gradient(135deg, #e7f0ff, #dbeafe); color: #2556c6; }
body.enterprise-shell.beauty-v6 .kpi-medallion.is-teal { background: linear-gradient(135deg, #e4faf5, #ccfbf1); color: #0d8a7e; }
body.enterprise-shell.beauty-v6 .kpi-medallion.is-indigo { background: linear-gradient(135deg, #ececff, #e0e7ff); color: #4f46e5; }
body.enterprise-shell.beauty-v6 .kpi-medallion.is-slate { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #475569; }
body.enterprise-shell.beauty-v6 .task-home .order-total-grid article > span:not(.kpi-medallion) {
  padding-right: 40px;
  color: #4c607a;
}

/* Deep Sapphire-Teal Aurora Telemetry Ribbon */
body.enterprise-shell.beauty-v6 .task-home .task-home-side {
  background:
    radial-gradient(ellipse 40% 110% at 88% 0%, rgba(45, 212, 191, 0.18), transparent 65%),
    radial-gradient(ellipse 45% 120% at 12% 100%, rgba(59, 130, 246, 0.24), transparent 65%),
    linear-gradient(115deg, #0f1d3b 0%, #14284e 52%, #0e2d40 100%) !important;
  border: 1px solid rgba(112, 160, 238, 0.28) !important;
  box-shadow: 0 12px 30px -8px rgba(11, 24, 52, 0.34), inset 0 1px 0 rgba(191, 219, 254, 0.16) !important;
}
body.enterprise-shell.beauty-v6 .task-home .task-energy-values > div,
body.enterprise-shell.beauty-v6 .task-home .task-home-alerts button {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(165, 200, 248, 0.22) !important;
}

/* Luminous Pastel-Tinted Production Pipeline Stage Cards */
body.enterprise-shell.beauty-v6 .task-home .cc-process {
  border-radius: 13px !important;
  border-color: var(--bt-card-border) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
body.enterprise-shell.beauty-v6 .task-home .cc-process:hover {
  transform: translateY(-2px);
  box-shadow: var(--bt-shadow-hover) !important;
}
body.enterprise-shell.beauty-v6 .task-home .cc-optimization {
  background: linear-gradient(180deg, #effbf8 0%, #ffffff 42%) !important;
}
body.enterprise-shell.beauty-v6 .task-home .cc-process-0 {
  background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 42%) !important;
}
body.enterprise-shell.beauty-v6 .task-home .cc-process-1 {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 42%) !important;
}
body.enterprise-shell.beauty-v6 .task-home .cc-process-2 {
  background: linear-gradient(180deg, #f4f3ff 0%, #ffffff 42%) !important;
}
body.enterprise-shell.beauty-v6 .task-home .cc-process-3 {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 42%) !important;
}
body.enterprise-shell.beauty-v6 .task-home .cc-process-4 {
  background: linear-gradient(180deg, #effcf5 0%, #ffffff 42%) !important;
}
body.enterprise-shell.beauty-v6 .task-home .cc-process-5 {
  background: linear-gradient(180deg, #f6f2ff 0%, #ffffff 42%) !important;
}
body.enterprise-shell.beauty-v6 .task-home .cc-optimization > header h3::before { background: #dcf7f1; border-color: #9de5d7; color: #0d7a71; }
body.enterprise-shell.beauty-v6 .task-home .cc-process-0 > header h3::before { background: #e6efff; border-color: #b7cef7; color: #2556c6; }
body.enterprise-shell.beauty-v6 .task-home .cc-process-1 > header h3::before { background: #e3f4ff; border-color: #a9daf7; color: #0369a1; }
body.enterprise-shell.beauty-v6 .task-home .cc-process-2 > header h3::before { background: #ebeaff; border-color: #c2bfff; color: #4338ca; }
body.enterprise-shell.beauty-v6 .task-home .cc-process-3 > header h3::before { background: #fef3dc; border-color: #f5d38e; color: #b45309; }
body.enterprise-shell.beauty-v6 .task-home .cc-process-4 > header h3::before { background: #e1f8eb; border-color: #a4e4c1; color: #047857; }
body.enterprise-shell.beauty-v6 .task-home .cc-process-5 > header h3::before { background: #f1e8ff; border-color: #d2b9fa; color: #6d28d9; }

/* Global Porcelain Elevation on All Sub-Page Cards, Tickers, and ProTables */
body.enterprise-shell.beauty-v6 #page-content :is(.card, .hub-panel, .order-total-panel, .journey-search, .history-toolbar, .pw-inspector, .pw-metric-detail, .pw-product, .source-dataset, .operations-grid > article, .camera-view, .gps-map-panel) {
  border-color: var(--bt-card-border);
  box-shadow: var(--bt-shadow-soft);
}
body.enterprise-shell.beauty-v6 #page-content :is(.console-page-intro, .analysis-heading, .pw-heading, .source-heading, .procurement-heading) {
  background: linear-gradient(110deg, #ffffff 42%, #f2f7ff 100%);
  border-color: var(--bt-card-border);
  box-shadow: var(--bt-shadow-soft);
}
body.enterprise-shell.beauty-v6 .material-quote {
  border-radius: 13px !important;
  border-color: var(--bt-card-border) !important;
  box-shadow: var(--bt-shadow-soft) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
body.enterprise-shell.beauty-v6 .material-quote:hover {
  transform: translateY(-2px);
  box-shadow: var(--bt-shadow-hover) !important;
}
body.enterprise-shell.beauty-v6 .material-quote[aria-pressed="true"] {
  background: linear-gradient(155deg, #f3f7ff 0%, #ffffff 100%) !important;
  border-color: #6b96eb !important;
  box-shadow: 0 10px 26px -8px rgba(37, 86, 198, 0.24), inset 0 3px 0 #2556c6 !important;
}

/* Deep Sapphire-Aurora Glass Cost Receipt */
body.enterprise-shell.beauty-v6 #page-content .cost-results {
  background:
    radial-gradient(circle at 86% 12%, rgba(45, 212, 191, 0.22), transparent 52%),
    radial-gradient(circle at 14% 92%, rgba(59, 130, 246, 0.24), transparent 56%),
    linear-gradient(155deg, #0d1a35 0%, #132852 55%, #0d273c 100%) !important;
  border: 1px solid rgba(125, 174, 245, 0.3) !important;
  box-shadow: 0 18px 42px -10px rgba(10, 22, 48, 0.38), inset 0 1px 0 rgba(191, 219, 254, 0.18) !important;
}

/* Silky ProTable Headers */
body.enterprise-shell.beauty-v6 :is(#page-content, #editor-body) thead th {
  background: linear-gradient(180deg, #f8faff 0%, #f0f5fc 100%);
  color: #293e5c;
  border-bottom: 1px solid #d5e1f2;
}

/* Midnight Sapphire Aurora Dark Theme Polish */
body.enterprise-shell.beauty-v6[data-theme="dark"] #workspace > main {
  background:
    radial-gradient(ellipse 60% 42% at 15% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 38% at 90% 20%, rgba(20, 184, 166, 0.11), transparent 55%),
    #080d18 !important;
}
body.enterprise-shell.beauty-v6[data-theme="dark"] #workspace-sidebar {
  background: linear-gradient(180deg, #0c1424 0%, #09101d 100%) !important;
  border-right-color: #1c2a42 !important;
}
body.enterprise-shell.beauty-v6[data-theme="dark"] main > .topbar {
  background: rgba(11, 18, 32, 0.84) !important;
  border-bottom-color: #1d2b44;
}
body.enterprise-shell.beauty-v6[data-theme="dark"] .task-home .task-home-search,
body.enterprise-shell.beauty-v6[data-theme="dark"] .task-home .order-total-grid article,
body.enterprise-shell.beauty-v6[data-theme="dark"] .task-home .cc-process,
body.enterprise-shell.beauty-v6[data-theme="dark"] #page-content :is(.console-page-intro, .analysis-heading, .pw-heading, .source-heading, .procurement-heading) {
  background: linear-gradient(160deg, #111b2e 0%, #0d1525 100%) !important;
  border-color: #223352 !important;
}
body.enterprise-shell.beauty-v6[data-theme="dark"] .task-home .task-shortcuts button {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: #263959 !important;
  color: #e6f0ff !important;
}
body.enterprise-shell.beauty-v6[data-theme="dark"] .kpi-medallion {
  background: rgba(255, 255, 255, 0.08) !important;
}
body.enterprise-shell.beauty-v6[data-theme="dark"] :is(#page-content, #editor-body) thead th {
  background: linear-gradient(180deg, #16233a 0%, #121d31 100%);
  color: #d6e4f7;
  border-bottom-color: #243757;
}

/* ==========================================================================
   GLASS AURORA WORKBENCH ARCHITECTURE (v7 · 水彩极光毛玻璃工作台)
   Inspired by FinWorkbench: Luminous Sapphire Frosted Sidebar + Floating
   Rounded Icy-Lavender Glass Stage + 3D Gradient Squircle KPIs + Wave Curves
   ========================================================================== */
body.enterprise-shell.glass-aurora-v7 {
  --ga-sidebar-start: #4b73d5;
  --ga-sidebar-mid: #3d60bb;
  --ga-sidebar-end: #2f4b96;
  --ga-glass: rgba(255, 255, 255, 0.78);
  --ga-glass-strong: rgba(255, 255, 255, 0.9);
  --ga-glass-rim: rgba(255, 255, 255, 0.92);
  --ga-glass-edge: rgba(186, 206, 242, 0.55);
  --ga-shadow: 0 10px 30px -10px rgba(62, 92, 173, 0.16), 0 2px 6px rgba(62, 92, 173, 0.05);
  --ga-shadow-hover: 0 18px 38px -10px rgba(62, 92, 173, 0.24), 0 4px 10px rgba(62, 92, 173, 0.08);
  --ga-ink: #1b2845;
  --ga-muted: #607294;
  background: linear-gradient(160deg, #4b73d5 0%, #3a5bb4 52%, #2e4992 100%) !important;
  color: var(--ga-ink);
}

/* Single Unified Frosted-Blue Sidebar + Curved Floating Glass Main Stage */
body.enterprise-shell.glass-aurora-v7 #app-rail {
  display: none !important;
}
body.enterprise-shell.glass-aurora-v7 #workspace {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) !important;
  min-height: 100dvh;
  background: linear-gradient(175deg, var(--ga-sidebar-start) 0%, var(--ga-sidebar-mid) 50%, var(--ga-sidebar-end) 100%) !important;
}
body.enterprise-shell.glass-aurora-v7[data-font-size="xlarge"]:not(.sidebar-collapsed) #workspace {
  grid-template-columns: 266px minmax(0, 1fr) !important;
}
body.enterprise-shell.glass-aurora-v7.sidebar-collapsed #workspace {
  grid-template-columns: 0px minmax(0, 1fr) !important;
}

/* Luminous Frosted Sapphire Sidebar */
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  background:
    radial-gradient(circle at 18% 8%, rgba(164, 206, 255, 0.3), transparent 46%),
    radial-gradient(circle at 85% 92%, rgba(114, 150, 245, 0.24), transparent 50%),
    linear-gradient(175deg, var(--ga-sidebar-start) 0%, var(--ga-sidebar-mid) 52%, var(--ga-sidebar-end) 100%) !important;
  border-right: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar > .brand {
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding: 18px 18px 14px;
  color: #ffffff !important;
  border-bottom: 0;
  text-decoration: none;
}
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar > .brand .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
  color: #3659b8;
  box-shadow: 0 6px 16px rgba(24, 46, 112, 0.26);
}
body.enterprise-shell.glass-aurora-v7 .brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
body.enterprise-shell.glass-aurora-v7 .brand-copy > b {
  font-size: 17px !important;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}
body.enterprise-shell.glass-aurora-v7 .brand-copy > small {
  font-size: 11px !important;
  color: rgba(226, 238, 255, 0.78) !important;
  line-height: 1.3 !important;
}

body.enterprise-shell.glass-aurora-v7 #workspace-sidebar .console-nav-search {
  margin: 2px 14px 10px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar #nav-search {
  color: #ffffff !important;
}
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar #nav-search::placeholder,
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar #nav-search-empty {
  color: rgba(230, 240, 255, 0.76) !important;
}

/* Frosted Favorites inside Sapphire Sidebar */
body.enterprise-shell.glass-aurora-v7 .sidebar-favorites {
  padding: 4px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
body.enterprise-shell.glass-aurora-v7 .sidebar-fav-head {
  color: rgba(232, 242, 255, 0.85);
}
body.enterprise-shell.glass-aurora-v7 .sidebar-fav-head small {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
body.enterprise-shell.glass-aurora-v7 .sidebar-fav-chip {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
  color: #eef5ff;
  border-radius: 999px;
}
body.enterprise-shell.glass-aurora-v7 .sidebar-fav-chip:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}
body.enterprise-shell.glass-aurora-v7 .sidebar-fav-chip.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #2f52b4;
}

/* Sidebar Menu Tree — Silky Frosted Glass Active Pills */
body.enterprise-shell.glass-aurora-v7 #navigation {
  padding: 10px 12px 14px;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
body.enterprise-shell.glass-aurora-v7 #navigation:not(.is-searching) .task-menu-group.is-current-section {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
body.enterprise-shell.glass-aurora-v7 #navigation .task-menu-row button {
  color: rgba(240, 246, 255, 0.9) !important;
  border-radius: 12px;
}
body.enterprise-shell.glass-aurora-v7 #navigation .task-menu-row button:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}
body.enterprise-shell.glass-aurora-v7 #navigation .task-menu-section.is-workspace-active {
  background: linear-gradient(90deg, rgba(164, 211, 255, 0.42) 0%, rgba(140, 186, 255, 0.18) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(25, 48, 118, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}
body.enterprise-shell.glass-aurora-v7 #navigation .task-menu-section.is-workspace-active .nav-domain-icon {
  color: #ffffff;
}
body.enterprise-shell.glass-aurora-v7 #navigation .task-submenus {
  border-left-color: rgba(255, 255, 255, 0.22) !important;
}
body.enterprise-shell.glass-aurora-v7 #navigation .workbench-subgroup > p {
  color: rgba(214, 230, 255, 0.78) !important;
}
body.enterprise-shell.glass-aurora-v7 #navigation .section-subnav button {
  color: rgba(236, 244, 255, 0.88) !important;
  border-radius: 10px;
}
body.enterprise-shell.glass-aurora-v7 #navigation .section-subnav button:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}
body.enterprise-shell.glass-aurora-v7 #navigation .section-subnav button.active {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: #ffffff !important;
  color: #2d4fb0 !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(24, 46, 114, 0.2) !important;
}

/* Bottom Frosted Progress/Status Glass Card in Sidebar (echoes reference bottom-left widget) */
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar .sidebar-bottom {
  background: transparent !important;
  border-top: 0 !important;
  padding: 10px 14px 16px;
}
body.enterprise-shell.glass-aurora-v7 .sidebar-glass-card {
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 8px;
}
body.enterprise-shell.glass-aurora-v7 .sidebar-glass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-weight: 700;
  font-size: var(--ui-small) !important;
}
body.enterprise-shell.glass-aurora-v7 .sidebar-glass-caption {
  margin: 0;
  color: rgba(228, 240, 255, 0.85) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar .sidebar-glass-card a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 0 !important;
  color: #2c4fb3 !important;
  font-weight: 700;
  font-size: var(--ui-small) !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(22, 42, 102, 0.18);
}
body.enterprise-shell.glass-aurora-v7 #workspace-sidebar .sidebar-glass-card a:hover {
  background: #ffffff !important;
  transform: translateY(-1px);
}

/* ===== FLOATING ROUNDED ICY-LAVENDER GLASS WORKSPACE CANVAS ===== */
body.enterprise-shell.glass-aurora-v7 #workspace > main {
  border-radius: 26px 0 0 26px;
  background:
    radial-gradient(ellipse 68% 48% at 22% 4%, rgba(191, 212, 255, 0.65), transparent 64%),
    radial-gradient(ellipse 56% 44% at 88% 12%, rgba(213, 206, 255, 0.5), transparent 62%),
    radial-gradient(ellipse 58% 48% at 82% 88%, rgba(188, 236, 244, 0.48), transparent 64%),
    linear-gradient(155deg, #e7eefc 0%, #eef3fe 52%, #f4f7ff 100%) !important;
  box-shadow: -8px 0 32px rgba(28, 50, 118, 0.16);
  overflow-x: clip;
}
body.enterprise-shell.glass-aurora-v7.sidebar-collapsed #workspace > main {
  border-radius: 0;
}

/* Transparent Airy Greeting Topbar (No heavy white divider bar!) */
body.enterprise-shell.glass-aurora-v7 main > .topbar {
  background: rgba(235, 242, 253, 0.72) !important;
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: none !important;
  padding: 12px 24px 10px !important;
  min-height: 68px !important;
}
body.enterprise-shell.glass-aurora-v7 .topbar-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
body.enterprise-shell.glass-aurora-v7 .topbar-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.enterprise-shell.glass-aurora-v7 .topbar #page-title {
  font-size: calc(var(--ui-body) + 6px) !important;
  font-weight: 800;
  color: #162447 !important;
  letter-spacing: -0.02em;
}
body.enterprise-shell.glass-aurora-v7 .topbar-greeting-sub {
  margin: 0;
  font-size: var(--ui-small) !important;
  color: var(--ga-muted) !important;
  line-height: 1.35 !important;
}
body.enterprise-shell.glass-aurora-v7 .sidebar-collapse-btn,
body.enterprise-shell.glass-aurora-v7 .topbar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-height: 38px !important;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.72);
  color: #365083;
  box-shadow: 0 4px 12px rgba(62, 92, 173, 0.1);
}
body.enterprise-shell.glass-aurora-v7 .topbar-icon-btn svg { width: 18px; height: 18px; }
body.enterprise-shell.glass-aurora-v7 .sidebar-collapse-btn:hover,
body.enterprise-shell.glass-aurora-v7 .topbar-icon-btn:hover {
  background: #ffffff;
  color: #2556c6;
}

/* Soft Frosted Pill Omnibar (like reference "搜索报表、单据、功能… 🔍") */
body.enterprise-shell.glass-aurora-v7 .cmd-omnibar {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 6px 18px -6px rgba(62, 92, 173, 0.14) !important;
  height: 42px;
  min-height: 42px !important;
  padding: 0 16px;
}
body.enterprise-shell.glass-aurora-v7 .cmd-omnibar:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: #93b5f7 !important;
}
body.enterprise-shell.glass-aurora-v7 .topbar-status-btn,
body.enterprise-shell.glass-aurora-v7 .header-actions #page-back,
body.enterprise-shell.glass-aurora-v7 .header-actions .header-screen-link,
body.enterprise-shell.glass-aurora-v7 .task-more > summary {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 4px 14px -4px rgba(62, 92, 173, 0.12);
}
body.enterprise-shell.glass-aurora-v7 .user-summary-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
body.enterprise-shell.glass-aurora-v7 .user-summary-label {
  font-weight: 700;
  font-size: var(--ui-small) !important;
  color: #162447;
}
body.enterprise-shell.glass-aurora-v7 .user-role-sub {
  font-size: 11px !important;
  color: var(--ga-muted) !important;
  line-height: 1.2 !important;
}
body.enterprise-shell.glass-aurora-v7 .user-avatar-chip {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4f8cff 0%, #6d5ce7 100%);
  box-shadow: 0 4px 10px rgba(79, 140, 255, 0.32);
}

/* Soft Translucent Glass Multi-Tab Ribbon */
body.enterprise-shell.glass-aurora-v7 .workspace-tabs {
  top: 68px;
  background: rgba(235, 242, 253, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  padding: 6px 24px;
}
body.enterprise-shell.glass-aurora-v7 .workspace-tab {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(62, 92, 173, 0.08);
}

/* ===== SIGNATURE FROSTED GLASS CARDS (20px Radius + White Specular Rim) ===== */
body.enterprise-shell.glass-aurora-v7 #page-content {
  padding: 16px 24px 26px;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-search,
body.enterprise-shell.glass-aurora-v7 .task-home .task-summary-row > .order-total-panel,
body.enterprise-shell.glass-aurora-v7 .task-home .hub-live-production,
body.enterprise-shell.glass-aurora-v7 .task-home-secondary > details,
body.enterprise-shell.glass-aurora-v7 #page-content :is(.card, .hub-panel, .order-total-panel, .journey-search, .history-toolbar, .pw-inspector, .pw-metric-detail, .pw-product, .source-dataset, .operations-grid > article, .camera-view, .gps-map-panel, .console-page-intro, .analysis-heading, .pw-heading, .source-heading, .procurement-heading) {
  background: var(--ga-glass) !important;
  backdrop-filter: blur(18px) saturate(140%);
  border: 1.5px solid var(--ga-glass-rim) !important;
  border-radius: 20px !important;
  box-shadow: var(--ga-shadow) !important;
}

/* ===== 4 SIGNATURE KPI CARDS: 48px 3D GRADIENT SQUIRCLES + PASTEL WAVE SPARKLINES ===== */
body.enterprise-shell.glass-aurora-v7 .task-home .task-summary-row > .order-total-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .order-total-panel > header {
  margin-bottom: 10px;
  padding: 0 4px;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-summary-row .order-total-grid {
  gap: 14px !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article {
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
  padding: 18px 18px 40px !important;
  border-radius: 20px !important;
  border: 1.5px solid var(--ga-glass-rim) !important;
  border-top-color: var(--ga-glass-rim) !important;
  background: rgba(255, 255, 255, 0.84) !important;
  backdrop-filter: blur(18px);
  box-shadow: var(--ga-shadow) !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article:nth-child(n) {
  border-top-color: var(--ga-glass-rim) !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--ga-shadow-hover) !important;
}
body.enterprise-shell.glass-aurora-v7 .kpi-medallion {
  position: static !important;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 48px !important;
  height: 48px !important;
  border-radius: 15px !important;
  color: #ffffff !important;
  margin-top: 2px;
}
body.enterprise-shell.glass-aurora-v7 .kpi-medallion svg {
  width: 24px !important;
  height: 24px !important;
}
body.enterprise-shell.glass-aurora-v7 .kpi-medallion.is-blue {
  background: linear-gradient(145deg, #5694ff 0%, #2b62dc 100%) !important;
  box-shadow: 0 8px 18px -4px rgba(43, 98, 220, 0.45);
}
body.enterprise-shell.glass-aurora-v7 .kpi-medallion.is-violet {
  background: linear-gradient(145deg, #a170ff 0%, #6f42e8 100%) !important;
  box-shadow: 0 8px 18px -4px rgba(111, 66, 232, 0.45);
}
body.enterprise-shell.glass-aurora-v7 .kpi-medallion.is-coral {
  background: linear-gradient(145deg, #ff8669 0%, #ee5038 100%) !important;
  box-shadow: 0 8px 18px -4px rgba(238, 80, 56, 0.42);
}
body.enterprise-shell.glass-aurora-v7 .kpi-medallion.is-teal {
  background: linear-gradient(145deg, #27dccb 0%, #0ea89d 100%) !important;
  box-shadow: 0 8px 18px -4px rgba(14, 168, 157, 0.42);
}
body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article > span:not(.kpi-medallion):not(.kpi-wave-spark) {
  grid-column: 2;
  padding-right: 0 !important;
  font-size: var(--ui-small) !important;
  font-weight: 600;
  color: var(--ga-muted);
}
body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article > .order-total-value {
  grid-column: 2;
  margin: 2px 0 0 !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article > small {
  grid-column: 2;
  color: #7c8dad;
}
body.enterprise-shell.glass-aurora-v7 .kpi-wave-spark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  pointer-events: none;
  opacity: 0.78;
}
body.enterprise-shell.glass-aurora-v7 .kpi-wave-spark svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===== HARMONIOUS GLASS ENERGY + VIOLET-INDIGO ACCENT CARD (NO HARSH BLACK BAR!) ===== */
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-side {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  gap: 14px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--ga-ink);
  align-items: stretch;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-energy {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(18px);
  border: 1.5px solid var(--ga-glass-rim) !important;
  border-radius: 20px !important;
  box-shadow: var(--ga-shadow) !important;
  padding: 16px 20px !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-energy > header {
  border-right-color: rgba(186, 206, 242, 0.55);
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-energy h2 {
  color: #162447 !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-energy .text-button {
  color: #3660d1 !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-energy-values > div {
  background: linear-gradient(135deg, rgba(235, 244, 255, 0.85), rgba(232, 251, 248, 0.85)) !important;
  border: 1px solid rgba(186, 212, 248, 0.65) !important;
  border-radius: 14px;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-energy-values span {
  color: #556a8e !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-energy-values strong {
  color: #1c4cc7 !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-energy-values small {
  color: #556a8e !important;
}

/* Vibrant Violet-Indigo Accent Highlight Card (Echoes reference "智能财务分析助手") */
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-alerts {
  padding: 14px 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.24), transparent 52%),
    linear-gradient(135deg, #6b68f7 0%, #8662f0 54%, #527df6 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 30px -10px rgba(107, 104, 247, 0.48);
  align-content: center;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-alerts button {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: 13px;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-alerts button strong {
  color: #fff3b0 !important;
}
body.enterprise-shell.glass-aurora-v7 .task-home .task-home-alerts button:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

/* Frosted Glass Production Cards & Glass Cost Violet-Sapphire Receipt */
body.enterprise-shell.glass-aurora-v7 .task-home .cc-process {
  border-radius: 16px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 6px 20px -8px rgba(62, 92, 173, 0.14) !important;
}
body.enterprise-shell.glass-aurora-v7 #page-content section.card.cost-results {
  background:
    radial-gradient(circle at 86% 12%, rgba(167, 243, 208, 0.25), transparent 50%),
    linear-gradient(148deg, #4b67e6 0%, #6c5ce7 55%, #3c7be8 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 40px -10px rgba(75, 103, 230, 0.44) !important;
}
body.enterprise-shell.glass-aurora-v7 #page-content section.card.cost-results .cost-result-item {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  border-radius: 14px;
}
body.enterprise-shell.glass-aurora-v7 #page-content section.card.cost-results .cost-result-primary {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
body.enterprise-shell.glass-aurora-v7 #page-content section.card.cost-results :is(.cost-result-label, .cost-result-value small, .cost-result-item p) {
  color: rgba(238, 245, 255, 0.9) !important;
}
body.enterprise-shell.glass-aurora-v7 #page-content section.card.cost-results .cost-result-item strong {
  color: #ffffff !important;
}

/* Macaron Soft Status Pills (matching reference 逾期 / 预警 / 正常) */
body.enterprise-shell.glass-aurora-v7 :is(.pill.good, .status.good, .operations-ok) {
  background: #e3f9ef !important;
  color: #0f7a55 !important;
  border-color: #b7edd5 !important;
  border-radius: 999px;
}
body.enterprise-shell.glass-aurora-v7 :is(.pill.warn, .status.warn, .notice.warn) {
  background: #fff4df !important;
  color: #b2640c !important;
  border-color: #f7dba3 !important;
  border-radius: 999px;
}
body.enterprise-shell.glass-aurora-v7 :is(.pill.bad, .status.bad, .notice.bad) {
  background: #ffe8eb !important;
  color: #c83349 !important;
  border-color: #f9bcc5 !important;
  border-radius: 999px;
}

/* Soft Translucent ProTables */
body.enterprise-shell.glass-aurora-v7 :is(#page-content, #editor-body) :is(.table-wrap, .production-screen-table) {
  border-radius: 16px;
  border-color: rgba(203, 217, 238, 0.65);
  background: rgba(255, 255, 255, 0.85);
}
body.enterprise-shell.glass-aurora-v7 :is(#page-content, #editor-body) thead th {
  background: rgba(238, 244, 254, 0.92);
  color: #365080;
}

/* Dark Mode Preserved Smoothly */
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] {
  background: #080d18 !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] #workspace {
  background: linear-gradient(175deg, #101d3b 0%, #0b1429 100%) !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] #workspace-sidebar {
  background: linear-gradient(175deg, #132347 0%, #0c162d 100%) !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] #workspace > main {
  background:
    radial-gradient(ellipse 65% 45% at 20% 0%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 88% 18%, rgba(139, 92, 246, 0.14), transparent 58%),
    #0a101f !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] main > .topbar {
  background: rgba(12, 19, 36, 0.84) !important;
  border-bottom-color: rgba(148, 179, 219, 0.16) !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .topbar #page-title,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .user-summary-label,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-home .task-home-energy h2 {
  color: #f1f5ff !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-home .order-total-grid article,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-home .task-home-energy,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-home .task-home-search,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-home .hub-live-production,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-home-secondary > details,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] #page-content :is(.card, .hub-panel, .order-total-panel, .journey-search, .history-toolbar, .pw-inspector, .pw-metric-detail, .pw-product, .source-dataset, .operations-grid > article, .camera-view, .gps-map-panel, .console-page-intro, .analysis-heading, .pw-heading, .source-heading, .procurement-heading) {
  background: rgba(18, 28, 50, 0.84) !important;
  border-color: rgba(96, 130, 194, 0.24) !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-home .task-energy-values > div {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(148, 179, 219, 0.2) !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-home .task-energy-values strong {
  color: #5eead4 !important;
}
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .topbar-status-btn,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .topbar-icon-btn,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .sidebar-collapse-btn,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .cmd-omnibar,
body.enterprise-shell.glass-aurora-v7[data-theme="dark"] .task-more > summary {
  background: rgba(20, 32, 58, 0.85) !important;
  border-color: rgba(96, 130, 194, 0.28) !important;
  color: #dce9fc !important;
}

/* Responsive Breakpoints for Glass Aurora v7 */
@media (max-width: 1220px) {
  body.enterprise-shell.glass-aurora-v7 .task-home .task-home-side {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  body.enterprise-shell.glass-aurora-v7 #workspace,
  body.enterprise-shell.glass-aurora-v7.sidebar-collapsed #workspace {
    display: block !important;
  }
  body.enterprise-shell.glass-aurora-v7 #workspace-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100dvh;
    width: min(310px, calc(100vw - 36px)) !important;
    transform: translateX(-104%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease;
    z-index: 80;
    box-shadow: 12px 0 36px rgba(15, 23, 42, 0.28) !important;
  }
  body.enterprise-shell.glass-aurora-v7.desk-menu-open #workspace-sidebar {
    transform: translateX(0);
    visibility: visible !important;
    pointer-events: auto !important;
  }
  body.enterprise-shell.glass-aurora-v7 #workspace > main {
    border-radius: 0;
    box-shadow: none;
  }
  body.enterprise-shell.glass-aurora-v7 #workspace-sidebar > .nav-close {
    display: inline-grid !important;
    place-items: center;
    color: #ffffff !important;
  }
  body.enterprise-shell.glass-aurora-v7 .topbar-greeting-sub,
  body.enterprise-shell.glass-aurora-v7 .user-role-sub,
  body.enterprise-shell.glass-aurora-v7 .topbar-icon-btn {
    display: none !important;
  }
  body.enterprise-shell.glass-aurora-v7 main > .topbar {
    min-height: 54px !important;
    padding: 8px 14px !important;
  }
  body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px 14px 34px !important;
  }
  body.enterprise-shell.glass-aurora-v7 .kpi-medallion {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }
}
@media (max-width: 600px) {
  body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article {
    grid-template-columns: minmax(0, 1fr);
    padding: 13px 12px 28px !important;
  }
  body.enterprise-shell.glass-aurora-v7 .kpi-medallion {
    display: none !important;
  }
  body.enterprise-shell.glass-aurora-v7 .task-home .order-total-grid article > :is(span, .order-total-value, small) {
    grid-column: 1;
  }
}

/* ==========================================================================
   CLEAN BUSINESS PRESENTATION (HIDE DATA-SOURCE DISCRIMINATION & TECH CHROME)
   ========================================================================== */
body.enterprise-shell #health-popover,
body.enterprise-shell #source-badge,
body.enterprise-shell .sidebar-glass-head,
body.enterprise-shell #sidebar-live-caption {
  display: none !important;
}

body.enterprise-shell .sidebar-glass-card {
  padding: 10px 12px !important;
}

/* Hide data-source / reconciliation discrimination internals on Workbench */
body.enterprise-shell .hub-workbench [data-home-section="sources"],
body.enterprise-shell .hub-workbench .cc-source-detail,
body.enterprise-shell .hub-workbench .cc-basis,
body.enterprise-shell .hub-workbench .cc-reconciliation-detail,
body.enterprise-shell .hub-workbench .cc-state:not(.is-review),
body.enterprise-shell .hub-workbench .task-home-alerts [data-hub-jump="[data-home-section=sources]"],
body.enterprise-shell .wi-collectors-panel {
  display: none !important;
}

/* Hide technical source-origin / readonly caveats on business pages (preserve admin connection/datahub/operations views) */
body.enterprise-shell:not([data-view="connection"]):not([data-view="datahub"]):not([data-view="operations"]) .source-explanation,
body.enterprise-shell:not([data-view="connection"]):not([data-view="datahub"]):not([data-view="operations"]) .hub-footnote,
body.enterprise-shell:not([data-view="connection"]):not([data-view="datahub"]):not([data-view="operations"]) .desk-erp-overview,
body.enterprise-shell:not([data-view="connection"]):not([data-view="datahub"]):not([data-view="operations"]) .material-support[data-market-detail="sources"],
body.enterprise-shell:not([data-view="connection"]):not([data-view="datahub"]):not([data-view="operations"]) .material-source-link,
body.enterprise-shell:not([data-view="connection"]):not([data-view="datahub"]):not([data-view="operations"]) .material-model-note,
body.enterprise-shell:not([data-view="connection"]):not([data-view="datahub"]):not([data-view="operations"]) #page-content .notice:not(.error):not(:has(button)) {
  display: none !important;
}

/* ==========================================================================
   MOBILE EXPERIENCE PRO (FLAGSHIP PHONE UX <= 900px / <= 760px / <= 680px)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

/* Fix unreadable pale-yellow notice inside obsidian/blue Glass Cost Results panel */
body.enterprise-shell.glass-aurora-v7 #page-content section.card.cost-results .cost-result-note,
body.enterprise-shell #page-content .cost-results .cost-result-note {
  background: #fef9c3 !important;
  color: #78350f !important;
  border: 1px solid rgba(245, 158, 11, 0.55) !important;
  font-weight: 600 !important;
}

/* Never leak hidden workspace or bottom nav onto Login screen */
body.enterprise-shell #workspace[hidden],
body.enterprise-shell #workspace[hidden] .mobile-bottom-nav,
body.enterprise-shell:has(#workspace[hidden]) .mobile-bottom-nav,
body.enterprise-shell #login-screen[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  body.enterprise-shell.glass-aurora-v7 #nav-backdrop:not([hidden]) {
    z-index: 75 !important;
    background: rgba(15, 23, 42, 0.46) !important;
    backdrop-filter: blur(3px);
  }
  body.enterprise-shell.glass-aurora-v7 #workspace-sidebar > .nav-close {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    top: 12px !important;
    right: 12px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }
  body.enterprise-shell.glass-aurora-v7 main > .topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 54px !important;
    padding: 8px 10px !important;
    overflow: hidden !important;
  }
  body.enterprise-shell.glass-aurora-v7 .topbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  body.enterprise-shell.glass-aurora-v7 .nav-toggle {
    flex: 0 0 auto !important;
    padding: 6px 10px !important;
    min-height: 36px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }
  body.enterprise-shell.glass-aurora-v7 .topbar-title,
  body.enterprise-shell.glass-aurora-v7 .topbar-title-row {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-title {
    font-size: 16.5px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  body.enterprise-shell.glass-aurora-v7 .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-back {
    padding: 5px 8px !important;
    min-height: 36px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  body.enterprise-shell.glass-aurora-v7 .task-more > summary {
    padding: 3px 6px 3px 3px !important;
    min-height: 36px !important;
    gap: 4px !important;
  }
  body.enterprise-shell.glass-aurora-v7 .user-avatar-chip {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 760px) {
  body.enterprise-shell.dataos-v4 .login-screen:not([hidden]) {
    padding: 20px 14px 32px !important;
    gap: 18px !important;
    align-content: start !important;
  }
  body.enterprise-shell.dataos-v4 .login-brand h1 {
    font-size: 28px !important;
    line-height: 1.18 !important;
    margin: 6px 0 8px !important;
  }
  body.enterprise-shell.dataos-v4 .login-pillars {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  body.enterprise-shell.dataos-v4 .login-card {
    padding: 20px 16px !important;
  }
  body.enterprise-shell.glass-aurora-v7 .workspace-tabs,
  body.enterprise-shell.glass-aurora-v7 .header-screen-link,
  body.enterprise-shell.glass-aurora-v7 #page-pin-btn,
  body.enterprise-shell.glass-aurora-v7 .user-summary-stack,
  body.enterprise-shell.glass-aurora-v7 .cmd-omnibar {
    display: none !important;
  }
  body.enterprise-shell.glass-aurora-v7 #workspace:not([hidden]) > main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content {
    padding: 12px 10px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.enterprise-shell.glass-aurora-v7 main > footer {
    padding: 10px 12px 16px !important;
    font-size: 12px !important;
  }
  /* Native Frosted-Glass Mobile Bottom Navigation Dock (ONLY when workspace is visible) */
  body.enterprise-shell #workspace:not([hidden]) .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-top: 1px solid rgba(196, 214, 246, 0.85);
    box-shadow: 0 -8px 24px -10px rgba(30, 58, 138, 0.16);
  }
  body.enterprise-shell #workspace:not([hidden]) .mobile-bottom-nav button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #546990;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 50px;
    padding: 4px 2px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
  }
  body.enterprise-shell #workspace:not([hidden]) .mobile-bottom-nav button svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
  }
  body.enterprise-shell #workspace:not([hidden]) .mobile-bottom-nav button.active {
    color: #2556c6;
    background: rgba(37, 86, 198, 0.1);
  }
  body.enterprise-shell[data-theme="dark"] #workspace:not([hidden]) .mobile-bottom-nav {
    background: rgba(15, 25, 48, 0.94);
    border-top-color: rgba(88, 124, 210, 0.36);
  }
  body.enterprise-shell[data-theme="dark"] #workspace:not([hidden]) .mobile-bottom-nav button {
    color: #9bb1d6;
  }
  body.enterprise-shell[data-theme="dark"] #workspace:not([hidden]) .mobile-bottom-nav button.active {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.18);
  }
}

@media (max-width: 680px) {
  /* Fix Order KPI 2x2 Grid across BOTH Overview AND Orders pages */
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid article {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 13px 12px 22px !important;
    min-width: 0 !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid article > .kpi-medallion {
    display: none !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid article > span:not(.kpi-medallion):not(.kpi-wave-spark) {
    grid-column: auto !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 13px !important;
    width: 100% !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid article > .order-total-value {
    grid-column: auto !important;
    width: 100% !important;
    margin: 2px 0 0 !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid article > .order-total-value strong {
    font-size: clamp(18px, 4.8vw, 22px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid article > small {
    grid-column: auto !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  /* Hide legacy duplicate 年/月/日 trigger button above date inputs */
  body.enterprise-shell #page-content .ld-qdp-trigger {
    display: none !important;
  }
  body.enterprise-shell #page-content .cc-process > header,
  body.enterprise-shell #page-content .hub-live-production .cc-section-title,
  body.enterprise-shell #page-content .hub-area-card > header,
  body.enterprise-shell #page-content .hub-compare-card > header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  body.enterprise-shell #page-content .cc-process > header button,
  body.enterprise-shell #page-content .cc-process .text-button,
  body.enterprise-shell #page-content .hub-area-card button,
  body.enterprise-shell #page-content .hub-compare-card button,
  body.enterprise-shell #page-content .text-button,
  body.enterprise-shell #page-content .task-home-search details button:not(.ld-qdp-trigger) {
    white-space: nowrap !important;
    width: auto !important;
    flex-shrink: 0 !important;
    min-height: 36px !important;
    height: auto !important;
    padding: 6px 12px !important;
  }
  body.enterprise-shell #page-content .task-home-search details .toolbar,
  body.enterprise-shell #page-content .task-home-search details > div {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  /* Fix Inventory KPI 2x2, single-row scrollable Tabs & clean full-width Search form */
  body.enterprise-shell #page-content .inv-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.enterprise-shell #page-content .inv-kpi {
    padding: 12px 11px !important;
    gap: 8px !important;
    flex-direction: column !important;
    border-radius: 15px !important;
  }
  body.enterprise-shell #page-content .inv-kpi-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }
  body.enterprise-shell #page-content .inv-kpi-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  body.enterprise-shell #page-content .inv-kpi-body > span {
    font-size: max(14px, var(--ui-small, 14px)) !important;
    line-height: 1.3 !important;
  }
  body.enterprise-shell #page-content .inv-kpi-body > strong {
    font-size: 21px !important;
  }
  body.enterprise-shell #page-content .inv-kpi-body > small {
    font-size: max(14px, var(--ui-small, 14px)) !important;
    line-height: 1.35 !important;
  }
  body.enterprise-shell #page-content .inv-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px !important;
    padding: 6px !important;
  }
  body.enterprise-shell #page-content .inv-tabs::-webkit-scrollbar {
    display: none;
  }
  body.enterprise-shell #page-content .inv-tab {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 8px 13px !important;
    min-height: 38px !important;
  }
  body.enterprise-shell #page-content .inv-panel {
    padding: 14px 12px !important;
    border-radius: 16px !important;
  }
  body.enterprise-shell #page-content .inv-search-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  body.enterprise-shell #page-content .inv-search-form > label {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  body.enterprise-shell #page-content .inv-search-form > label input,
  body.enterprise-shell #page-content .inv-search-form > label select {
    width: 100% !important;
    min-height: 42px !important;
  }
  body.enterprise-shell #page-content .inv-search-form > button {
    width: 100% !important;
    min-height: 42px !important;
    white-space: nowrap !important;
    padding: 8px 10px !important;
  }
  body.enterprise-shell #page-content .inv-split {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  /* Fix Home shortcuts 2-line awkward wrapping */
  body.enterprise-shell.glass-aurora-v7 .task-home .task-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body.enterprise-shell.glass-aurora-v7 .task-home .task-shortcuts button {
    padding: 10px 10px !important;
    gap: 8px !important;
    min-height: 44px !important;
    white-space: nowrap !important;
    justify-content: flex-start !important;
  }
  body.enterprise-shell.glass-aurora-v7 .task-home .task-shortcuts button::after {
    display: none !important;
  }

  /* Fix Orders & All Forms/Toolbars squashed 1-char vertical buttons */
  body.enterprise-shell #page-content :is(.toolbar, .journey-search, [data-journey-filter]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }
  body.enterprise-shell #page-content :is(.toolbar, .journey-search, [data-journey-filter]) > label {
    width: 100% !important;
    min-width: 0 !important;
  }
  body.enterprise-shell #page-content :is(.toolbar, .journey-search, [data-journey-filter]) :is(input, select) {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 16px !important;
  }
  body.enterprise-shell #page-content :is(.toolbar, .journey-search, [data-journey-filter]) > button {
    width: 100% !important;
    min-height: 44px !important;
    white-space: nowrap !important;
    padding: 10px 14px !important;
  }

  /* Clean mobile card padding & touch-friendly tables */
  body.enterprise-shell #page-content .card,
  body.enterprise-shell #page-content .task-home-search,
  body.enterprise-shell #page-content .order-totals {
    padding: 14px 12px !important;
    border-radius: 16px !important;
  }
  body.enterprise-shell #page-content .table-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }
  body.enterprise-shell #page-content .order-context-actions {
    padding: 12px !important;
    gap: 8px !important;
  }
  body.enterprise-shell #page-content .order-context-actions button {
    width: 100% !important;
    min-height: 42px !important;
  }
  body.enterprise-shell .task-home-energy .task-energy-values {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body.enterprise-shell .task-home-energy .task-energy-values > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 10px 12px !important;
  }
  body.enterprise-shell .task-home-energy .task-energy-values strong {
    font-size: 19px !important;
  }
}

/* ===== CALM & CLEAN WORKBENCH REDESIGN (v42) ===== */
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Band 1: Slim single-strip search & 6 clean shortcuts */
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.15fr) !important;
  gap: 12px 18px !important;
  align-items: center !important;
  padding: 14px 18px !important;
  margin: 0 !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: 1px solid #dbe4f2 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px -12px rgba(15, 23, 42, 0.16) !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-order-search form > label {
  margin-bottom: 6px;
  font-size: var(--ui-small, 14px);
  color: #475569;
  font-weight: 700;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-order-search form > p {
  display: none;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search .home-query-shell,
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search .task-refresh {
  display: inline-block;
  margin: 6px 14px 0 0 !important;
  vertical-align: top;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search .home-query-shell[open],
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search .task-refresh[open] {
  display: block;
  margin-right: 0 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-self: center;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts button {
  background: #f8fafd !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  min-height: 40px !important;
  font-size: max(16px, var(--ui-body, 16px)) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts button::after {
  display: none !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts button:hover {
  background: #eff5ff !important;
  border-color: #93b4f5 !important;
  color: #1d4ed8 !important;
  transform: none !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts button.is-hot {
  background: #fff8f1 !important;
  border-color: #fed7aa !important;
  color: #9a3412 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts button.is-hot:hover {
  background: #ffedd5 !important;
  border-color: #fb923c !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts button.is-live {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #166534 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts button.is-live:hover {
  background: #dcfce7 !important;
  border-color: #4ade80 !important;
}

/* Band 2: Balanced 2-Col Executive Row (Left: 2x2 Order KPIs, Right: Energy & Alerts) */
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-summary-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  margin: 0 !important;
  align-items: stretch !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-summary-row > .order-total-panel {
  grid-column: auto !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: 1px solid #dbe4f2 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px -12px rgba(15, 23, 42, 0.14) !important;
  padding: 14px 16px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-panel > header {
  margin-bottom: 10px !important;
  padding: 0 !important;
  gap: 6px 12px;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-panel > header h2 {
  font-size: calc(var(--ui-body, 16px) + 1px) !important;
  font-weight: 750;
  color: #0f172a;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-summary-row .order-total-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 11px 14px !important;
  border-radius: 12px !important;
  border: 1px solid #e6edf7 !important;
  border-top: 2px solid #cbd5e1 !important;
  background: #f8fafd !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  position: relative;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article:nth-child(1) {
  border-top-color: #2556c6 !important;
  background: #f4f8ff !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article:nth-child(2) {
  border-top-color: #0d9488 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article:nth-child(3) {
  border-top-color: #ea580c !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article:nth-child(4) {
  border-top-color: #64748b !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: #c5d6f2 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid .kpi-medallion,
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid .kpi-wave-spark {
  display: none !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article > span {
  font-size: var(--ui-small, 13.5px) !important;
  color: #52637c !important;
  font-weight: 600 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article > .order-total-value {
  margin: 0 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .order-total-grid article > small {
  display: none;
}

/* Band 2 Left: Clean Live NorthGlass Furnace Card */
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-furnace {
  background: #ffffff !important;
  border: 1px solid #dbe4f2 !important;
  border-top: 3px solid #94a3b8 !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  box-shadow: 0 4px 16px -12px rgba(15, 23, 42, 0.14) !important;
  gap: 10px !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-furnace.is-hot {
  border-top-color: #ea580c !important;
  background: linear-gradient(180deg, #fffbf7 0%, #ffffff 42%) !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-furnace.is-warn {
  border-top-color: #dc2626 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-furnace-links button {
  font-size: max(16px, var(--ui-body, 16px)) !important;
  padding: 4px 10px !important;
  min-height: 36px !important;
}

/* Band 2 Right: Unified Calm Light Energy + Alerts Card */
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-energy {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between;
  gap: 10px !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: 1px solid #dbe4f2 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px -12px rgba(15, 23, 42, 0.14) !important;
  padding: 14px 16px !important;
  flex: 1;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-energy > header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-energy h2 {
  font-size: calc(var(--ui-body, 16px) + 1px) !important;
  color: #0f172a !important;
  font-weight: 750;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-energy .text-button {
  color: #2556c6 !important;
  font-size: max(16px, var(--ui-body, 16px)) !important;
  min-height: 36px !important;
  padding: 4px 8px !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-energy-values {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  gap: 8px !important;
  margin: 0 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-energy-values > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  padding: 10px 12px !important;
  background: #f8fafd !important;
  border: 1px solid #e6edf7 !important;
  border-radius: 11px !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-energy-values strong {
  color: #0f172a !important;
  font-size: clamp(20px, 1.8vw, 24px) !important;
  font-weight: 800;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-alerts {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-alerts button {
  background: #ffffff !important;
  border: 1px solid #dbe4f2 !important;
  border-radius: 13px !important;
  color: #0f172a !important;
  backdrop-filter: none !important;
  box-shadow: 0 4px 12px -10px rgba(15, 23, 42, 0.14) !important;
  padding: 10px 14px !important;
  min-height: 44px !important;
  font-size: max(16px, var(--ui-body, 16px)) !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-alerts button:hover {
  background: #f4f8ff !important;
  border-color: #93b4f5 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-alerts button strong {
  color: #2556c6 !important;
  background: #eef3ff;
  padding: 1px 10px;
  border-radius: 999px;
  font-size: var(--ui-body, 16px) !important;
}

/* Band 3: Calm Production Board */
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .hub-live-production {
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: 1px solid #dbe4f2 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px -12px rgba(15, 23, 42, 0.14) !important;
  padding: 14px 16px !important;
  margin: 0 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .hub-live-production .cc-process-grid {
  gap: 10px !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .cc-process {
  background: #f8fafd !important;
  border: 1px solid #e6edf7 !important;
  border-top: 2px solid #94a3b8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 12px 13px !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .cc-process.cc-optimization {
  background: #f4f8ff !important;
  border-top-color: #2556c6 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .cc-process > button {
  font-size: max(16px, var(--ui-body, 16px)) !important;
}

/* Band 4: Clean Drawer Cabinet for On-Demand Deep Modules */
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-secondary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  margin: 0 !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-secondary > details {
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: 1px solid #dbe4f2 !important;
  border-radius: 13px !important;
  box-shadow: 0 2px 10px -8px rgba(15, 23, 42, 0.12) !important;
  padding: 11px 16px !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-secondary > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  font-weight: 700;
  color: #1e293b;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-secondary > details > summary::-webkit-details-marker {
  display: none;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-secondary > details > summary > span:first-child::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  color: #64748b;
  transition: transform 0.15s ease;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-secondary > details[open] > summary > span:first-child::before {
  transform: rotate(90deg);
  color: #2556c6;
}
.task-drawer-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}
.task-drawer-badge.is-ok {
  background: #ecfdf5;
  color: #047857;
}
.task-drawer-badge.is-warn {
  background: #fef3c7;
  color: #b45309;
}
.task-drawer-body {
  margin-top: 12px;
}

/* Dark Mode for Calm Workbench */
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-home-search,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-summary-row > .order-total-panel,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-home-furnace,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-home-energy,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-home-alerts button,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .hub-live-production,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-home-secondary > details {
  background: rgba(15, 25, 48, 0.92) !important;
  border-color: rgba(88, 124, 210, 0.34) !important;
  color: #eef4ff !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .order-total-grid article,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-energy-values > div,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .cc-process,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-shortcuts button {
  background: rgba(24, 38, 72, 0.85) !important;
  border-color: rgba(88, 124, 210, 0.32) !important;
  color: #eef4ff !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-home-energy h2,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-energy-values strong,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .order-total-panel > header h2,
body.enterprise-shell.dataos-v4.glass-aurora-v7[data-theme="dark"] .task-home .task-home-secondary > details > summary {
  color: #eef4ff !important;
}

/* Responsive Breakpoints */
@media (max-width: 1160px) {
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search,
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-summary-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-summary-row .order-total-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 680px) {
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-furnace-main {
    flex-direction: column;
    align-items: stretch;
  }
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-furnace-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   WORKBENCH VISUAL COMPARISON & CHANGE CENTER (v8 · Executive Clarity)
   ========================================================================== */
.wb-delta-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wb-delta-pill.is-up { background: #dcfce7; color: #15803d; }
.wb-delta-pill.is-down { background: #fee2e2; color: #b91c1c; }
.wb-delta-pill.is-warn { background: #fef3c7; color: #b45309; }
.wb-delta-pill.is-neutral { background: #eef2f7; color: #475569; }

/* Home Compare Center */
.wb-compare-center {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 18px;
  padding: 16px 18px 18px;
  box-shadow: 0 8px 26px -18px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.wb-cc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6edf7;
}
.wb-cc-kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #2556c6;
  margin-bottom: 4px;
}
.wb-cc-head h2 {
  margin: 0 0 4px;
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: 800;
  color: #0f172a;
}
.wb-cc-head p {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}
.wb-cc-head p b { color: #1e293b; font-weight: 700; }
.wb-cc-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.wb-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #f1f5fb;
  border: 1px solid #dce6f5;
}
.wb-seg button {
  margin: 0;
  padding: 6px 13px;
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #334155;
  font-size: max(16px, var(--ui-body, 16px));
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.wb-seg button:hover {
  background: rgba(37, 86, 198, 0.09);
  color: #1d4ed8;
}
.wb-seg button[aria-pressed="true"] {
  background: #2556c6;
  color: #ffffff;
  box-shadow: 0 4px 12px -4px rgba(37, 86, 198, 0.55);
}

/* Top 4 Executive Pulse Comparison Strip */
.wb-pulse-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.wb-pulse-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px;
  border-radius: 13px;
  background: #f8fafd;
  border: 1px solid #e4ecf7;
  border-top: 3px solid #2556c6;
  min-width: 0;
}
.wb-pulse-card.is-teal { border-top-color: #0d9488; }
.wb-pulse-card.is-amber { border-top-color: #d97706; }
.wb-pulse-card.is-emerald { border-top-color: #059669; }
.wb-pulse-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.wb-pulse-top > span:first-child {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}
.wb-pulse-val {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}
.wb-pulse-val strong {
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 850;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.wb-pulse-val small {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}
.wb-pulse-bars {
  display: grid;
  gap: 4px;
}
.wb-pbar {
  height: 5px;
  border-radius: 999px;
  background: #e6edf7;
  overflow: hidden;
}
.wb-pbar i {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.wb-pbar.is-cur i { background: linear-gradient(90deg, #2556c6, #3b82f6); }
.wb-pulse-card.is-teal .wb-pbar.is-cur i { background: linear-gradient(90deg, #0d9488, #14b8a6); }
.wb-pulse-card.is-amber .wb-pbar.is-cur i { background: linear-gradient(90deg, #d97706, #f59e0b); }
.wb-pulse-card.is-emerald .wb-pbar.is-cur i { background: linear-gradient(90deg, #059669, #10b981); }
.wb-pbar.is-prev i { background: #94a3b8; }
.wb-pulse-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 14px;
  color: #64748b;
}
.wb-mini-link {
  margin: 0;
  padding: 2px 8px;
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #2556c6;
  font-size: max(16px, var(--ui-body, 16px));
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.wb-mini-link:hover { background: #e8f0fe; }

/* Main 2-Column Compare Stage */
.wb-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.wb-chart-stage {
  background: #fbfdff;
  border: 1px solid #e4ecf7;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.wb-stage-title h3 {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.wb-stage-title p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}
.wb-stage-body {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}
.wb-chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
  color: #475569;
  margin-bottom: 6px;
}
.wb-chart-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wb-chart-legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block;
}
.wb-chart-legend i.is-cur { background: #2556c6; }
.wb-chart-legend i.is-prev { background: #b8c7de; }
.wb-legend-note { margin-left: auto; color: #64748b; }
.wb-grouped-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 230px;
}
.wb-svg-grid { stroke: #e6edf7; stroke-width: 1; }
.wb-svg-axis { fill: #64748b; font-size: 13px; font-weight: 600; }
.wb-svg-cat { fill: #1e293b; font-size: 14px; font-weight: 700; }
.wb-bar-cur { fill: #2556c6; cursor: pointer; transition: opacity 0.14s ease; }
.wb-bar-cur:hover { fill: #1d4ed8; }
.wb-bar-prev { fill: #c4d2e7; cursor: pointer; }
.wb-bar-prev:hover { fill: #9fb3d1; }
.wb-bar-delta { font-size: 13px; font-weight: 800; }
.wb-bar-delta.is-up { fill: #15803d; }
.wb-bar-delta.is-down { fill: #b91c1c; }
.wb-bar-delta.is-neutral { fill: #64748b; }

/* Right Column: Delta Comparison Board */
.wb-delta-board {
  background: #fbfdff;
  border: 1px solid #e4ecf7;
  border-radius: 14px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.wb-delta-board > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6edf7;
}
.wb-delta-board > header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.wb-delta-board > header span {
  font-size: 14px;
  color: #64748b;
}
.wb-delta-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wb-delta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e6edf7;
  min-width: 0;
}
.wb-delta-row:last-child { border-bottom: 0; padding-bottom: 0; }
.wb-drow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
.wb-drow-title {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}
.wb-drow-title b { font-size: 15px; font-weight: 750; color: #0f172a; }
.wb-drow-title small { font-size: 14px; color: #64748b; }
.wb-drow-nums {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.wb-drow-nums strong {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wb-drow-nums strong small { display: inline !important; font-size: 14px; font-weight: 500; color: #64748b; }
.wb-drow-visual {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wb-dual-track {
  flex: 1;
  min-width: 60px;
  display: grid;
  gap: 3px;
}
.wb-dt-cur {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2556c6, #38bdf8);
}
.wb-dt-prev {
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
}
.wb-drow-prev {
  font-size: 14px;
  color: #64748b;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wb-row-go {
  margin: 0;
  padding: 2px 8px;
  min-height: 30px;
  border: 1px solid #dbe4f2;
  border-radius: 7px;
  background: #ffffff;
  color: #2556c6;
  font-size: max(16px, var(--ui-body, 16px));
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.wb-row-go:hover { background: #eef3ff; border-color: #93b4f5; }

/* Process Card Enhancements (7-Day Sparkline + Delta + Pace Bar) */
.wb-proc-delta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin: 6px 0 4px;
}
.wb-proc-avg {
  font-size: 14px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wb-pace-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 3px 0 5px;
}
.wb-pace-bar > span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2556c6, #0ea5e9);
  min-width: 8px;
  max-width: 100%;
  flex: 0 1 auto;
}
.wb-pace-bar > em {
  font-style: normal;
  font-size: 14px;
  font-weight: 650;
  color: #475569;
  white-space: nowrap;
  margin-left: auto;
}
.wb-proc-spark {
  margin: 2px 0 6px;
}
.wb-spark-svg {
  display: block;
  width: 100%;
  height: 36px;
  overflow: visible;
}
.wb-spark-hit { cursor: pointer; }

/* Home Energy Card Enhancements (7-Day Mini Bars + Tariff Bar) */
.task-home-energy > header > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.wb-energy-sub {
  font-style: normal;
  font-size: 14px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.wb-energy-visual {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}
.wb-ev-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
  flex-wrap: wrap;
}
.wb-energy-bars {
  display: block;
  width: 100%;
  height: 44px;
}
.wb-ebar { fill: #b8c9e6; cursor: pointer; }
.wb-ebar:hover { fill: #6088d6; }
.wb-ebar.is-latest { fill: #2556c6; }
.wb-ebar-avg { stroke: #f59e0b; stroke-width: 1.4; stroke-dasharray: 4 3; }
.wb-energy-tariff {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px dashed #e6edf7;
}
.wb-et-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 14px;
  color: #475569;
}
.wb-et-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.wb-et-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Home Live Alert Ribbon */
.wb-alert-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid #dbe4f2;
  background: #ffffff;
  box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.16);
}
.wb-alert-ribbon.is-ok {
  border-color: #bbf7d0;
  background: linear-gradient(90deg, #f0fdf4 0%, #ffffff 55%);
}
.wb-alert-ribbon.is-warn {
  border-color: #fde68a;
  background: linear-gradient(90deg, #fffbeb 0%, #ffffff 55%);
}
.wb-alert-ribbon.is-high {
  border-color: #fecaca;
  background: linear-gradient(90deg, #fef2f2 0%, #ffffff 55%);
}
.wb-ar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  flex: 1;
}
.wb-ar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wb-ar-dot.is-ok { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18); }
.wb-ar-dot.is-warn { background: #d97706; box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2); }
.wb-ar-dot.is-high { background: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2); }
.wb-ar-badge {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  background: #fee2e2;
  color: #b91c1c;
  white-space: nowrap;
}
.wb-alert-ribbon.is-warn .wb-ar-badge { background: #fef3c7; color: #b45309; }
.wb-ar-left strong { font-size: 15px; font-weight: 800; color: #0f172a; }
.wb-ar-left > span:last-child { font-size: 14px; color: #475569; }
.wb-ar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.wb-ar-btn {
  margin: 0;
  padding: 6px 13px;
  min-height: 36px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: max(16px, var(--ui-body, 16px));
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.wb-ar-btn:hover { background: #f1f5f9; }
.wb-ar-btn.is-primary {
  background: #2556c6;
  border-color: #2556c6;
  color: #ffffff;
}
.wb-ar-btn.is-primary:hover { background: #1d4ed8; }

/* Dark Mode Support for Workbench Compare Center */
body[data-theme="dark"] .wb-compare-center,
body[data-theme="dark"] .wb-alert-ribbon {
  background: rgba(15, 25, 48, 0.94) !important;
  border-color: rgba(88, 124, 210, 0.34) !important;
  color: #eef4ff;
}
body[data-theme="dark"] .wb-cc-head h2,
body[data-theme="dark"] .wb-cc-head p b,
body[data-theme="dark"] .wb-pulse-val strong,
body[data-theme="dark"] .wb-stage-title h3,
body[data-theme="dark"] .wb-delta-board > header h3,
body[data-theme="dark"] .wb-drow-title b,
body[data-theme="dark"] .wb-drow-nums strong,
body[data-theme="dark"] .wb-ar-left strong {
  color: #f1f5f9;
}
body[data-theme="dark"] .wb-pulse-card,
body[data-theme="dark"] .wb-chart-stage,
body[data-theme="dark"] .wb-delta-board {
  background: rgba(24, 38, 72, 0.86);
  border-color: rgba(88, 124, 210, 0.3);
}
body[data-theme="dark"] .wb-seg {
  background: rgba(24, 38, 72, 0.92);
  border-color: rgba(88, 124, 210, 0.35);
}
body[data-theme="dark"] .wb-seg button { color: #cbd5e1; }
body[data-theme="dark"] .wb-seg button[aria-pressed="true"] { background: #3b82f6; color: #ffffff; }
body[data-theme="dark"] .wb-svg-cat { fill: #e2e8f0; }
body[data-theme="dark"] .wb-svg-axis { fill: #94a3b8; }
body[data-theme="dark"] .wb-svg-grid { stroke: rgba(148, 163, 184, 0.2); }
body[data-theme="dark"] .wb-bar-prev { fill: #475569; }
body[data-theme="dark"] .wb-pbar,
body[data-theme="dark"] .wb-dt-prev { background: rgba(148, 163, 184, 0.28); }
body[data-theme="dark"] .wb-row-go,
body[data-theme="dark"] .wb-ar-btn {
  background: rgba(30, 48, 86, 0.9);
  border-color: rgba(99, 132, 232, 0.36);
  color: #e2e8f0;
}
body[data-theme="dark"] .wb-delta-pill.is-up { background: rgba(22, 163, 74, 0.25); color: #86efac; }
body[data-theme="dark"] .wb-delta-pill.is-down { background: rgba(220, 38, 38, 0.25); color: #fca5a5; }
body[data-theme="dark"] .wb-delta-pill.is-warn { background: rgba(217, 119, 6, 0.25); color: #fde68a; }
body[data-theme="dark"] .wb-delta-pill.is-neutral { background: rgba(148, 163, 184, 0.22); color: #cbd5e1; }

/* Responsive Breakpoints for Compare Center */
@media (max-width: 1180px) {
  .wb-pulse-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-compare-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .wb-compare-center { padding: 13px 12px; }
  .wb-pulse-strip { grid-template-columns: minmax(0, 1fr); }
  .wb-seg { width: 100%; }
  .wb-seg button { flex: 1 1 auto; text-align: center; padding: 6px 8px; }
  .wb-legend-note { margin-left: 0; width: 100%; }
  .wb-alert-ribbon { padding: 11px 12px; }
  .wb-drow-head { flex-wrap: wrap; }
}

/* Workbench Embedded Full-Plant 3D Digital Twin */
.wb-home-twin-drawer {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 18px;
  padding: 13px 16px;
  box-shadow: 0 8px 26px -18px rgba(15, 23, 42, 0.22);
  min-width: 0;
}
.wb-home-twin-drawer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.wb-home-twin-drawer > summary::-webkit-details-marker { display: none; }
.wb-twin-sum-title::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  color: #2556c6;
  transition: transform 0.15s ease;
}
.wb-home-twin-drawer[open] .wb-twin-sum-title::before {
  transform: rotate(90deg);
}
.wb-home-twin-drawer .task-drawer-body {
  margin-top: 12px;
}
.ng-home-twin-wrap {
  gap: 12px;
}
.ng-home-twin-wrap .ng-twin-panel {
  border-radius: 14px;
  box-shadow: none;
}
.wb-twin-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
body[data-theme="dark"] .wb-home-twin-drawer {
  background: rgba(15, 25, 48, 0.94) !important;
  border-color: rgba(88, 124, 210, 0.34) !important;
  color: #eef4ff;
}
body[data-theme="dark"] .wb-home-twin-drawer > summary {
  color: #f1f5f9;
}
@media (max-width: 680px) {
  .wb-home-twin-drawer { padding: 11px 12px; }
  .wb-twin-foot { justify-content: stretch; }
  .wb-twin-foot .wb-ar-btn { width: 100%; text-align: center; }
}

/* ==================== UNIFIED ARCHITECTURE CLEANUP (arch-clean-v65) ==================== */
/* 1. Sleek Sidebar CTA + Primary/Secondary Menu Hierarchy */
.sidebar-screen-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.sidebar-screen-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}
#workspace-sidebar .workbench-subgroup.is-secondary-group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  opacity: 0.88;
}
#workspace-sidebar .workbench-subgroup.is-secondary-group > p {
  opacity: 0.72;
  font-size: 11px;
  letter-spacing: 0.06em;
}
#workspace-sidebar .sidebar-fav-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}
#workspace-sidebar .sidebar-fav-chip {
  text-align: center;
  padding: 5px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 2. Cleaner Homepage Top Command Bar (6 Cohesive Shortcuts, Symmetric 3x2 Grid) */
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search,
body.enterprise-shell.dataos-v4 .task-home .task-home-search {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1.15fr) !important;
  padding: 12px 16px !important;
  gap: 10px 18px !important;
}
body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts,
body.enterprise-shell.dataos-v4 .task-home .task-shortcuts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-shortcuts button {
  background: #f4f7fc !important;
  border: 1px solid #dbe4f2 !important;
  color: #1e3a5f !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
body.enterprise-shell.dataos-v4 .task-home .task-shortcuts button.is-primary-cut {
  background: #eff5ff !important;
  border-color: #bfd4fa !important;
  color: #1d4ed8 !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-shortcuts button.is-live {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #047857 !important;
}
body.enterprise-shell.dataos-v4 .task-home .task-shortcuts button:hover {
  background: #2556c6 !important;
  border-color: #2556c6 !important;
  color: #ffffff !important;
}
body[data-theme="dark"] .task-home .task-shortcuts button {
  background: rgba(30, 48, 86, 0.72) !important;
  border-color: rgba(96, 134, 214, 0.34) !important;
  color: #e2e8f0 !important;
}
body[data-theme="dark"] .task-home .task-shortcuts button.is-live {
  background: rgba(6, 78, 59, 0.42) !important;
  border-color: rgba(52, 211, 153, 0.42) !important;
  color: #6ee7b7 !important;
}

/* 3. Unified 3-View Tabbed Cockpit Stage (Cuts Vertical Clutter by >55%) */
.wb-stage-hub {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 18px;
  padding: 14px 16px 16px;
  box-shadow: 0 8px 26px -18px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.wb-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6edf8;
}
.wb-stage-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: #f1f5fb;
  border: 1px solid #dde6f4;
}
.wb-stage-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: #334155;
  font-size: 16px !important;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}
.wb-stage-tab:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.65);
}
.wb-stage-tab.is-active {
  background: #2556c6;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 86, 198, 0.24);
}
.wb-stage-pill {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.wb-stage-pill.is-ok { background: rgba(16, 185, 129, 0.16); color: #047857; }
.wb-stage-pill.is-warn { background: rgba(217, 119, 6, 0.18); color: #b45309; }
.wb-stage-tab.is-active .wb-stage-pill { background: rgba(255, 255, 255, 0.22); color: #ffffff; }

.wb-stage-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wb-stage-link {
  padding: 7px 13px;
  min-height: 38px;
  border-radius: 9px;
  border: 1px solid #d5e0f0;
  background: #f8fafd;
  color: #1d4ed8;
  font-size: 16px !important;
  font-weight: 700;
  cursor: pointer;
}
.wb-stage-link:hover {
  background: #eff5ff;
  border-color: #9bb8f2;
}
.wb-stage-pane {
  min-width: 0;
}
.wb-stage-pane > .wb-compare-center {
  border: 0 !important;
  box-shadow: none !important;
  padding: 2px 0 0 !important;
  background: transparent !important;
}
body[data-theme="dark"] .wb-stage-hub {
  background: rgba(15, 25, 48, 0.92) !important;
  border-color: rgba(88, 124, 210, 0.34) !important;
}
body[data-theme="dark"] .wb-stage-bar { border-bottom-color: rgba(88, 124, 210, 0.24); }
body[data-theme="dark"] .wb-stage-tabs { background: rgba(8, 16, 34, 0.72); border-color: rgba(88, 124, 210, 0.28); }
body[data-theme="dark"] .wb-stage-tab { color: #cbd5e1; }
body[data-theme="dark"] .wb-stage-tab.is-active { background: #2563eb; color: #ffffff; }
body[data-theme="dark"] .wb-stage-link { background: rgba(30, 48, 86, 0.72); border-color: rgba(96, 134, 214, 0.34); color: #93c5fd; }

/* 4. Quiet Compact Footer Status Strip */
body.enterprise-shell.dataos-v4 .task-system-status {
  opacity: 0.72;
  font-size: 13px;
}
body.enterprise-shell.dataos-v4 .task-system-status > summary {
  cursor: pointer;
  color: var(--os-ink-3);
}

@media (max-width: 1120px) {
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search,
  body.enterprise-shell.dataos-v4 .task-home .task-home-search {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts,
  body.enterprise-shell.dataos-v4 .task-home .task-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body.enterprise-shell.dataos-v4 .task-home-secondary {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 680px) {
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-home-search,
  body.enterprise-shell.dataos-v4 .task-home .task-home-search {
    padding: 12px !important;
    gap: 10px !important;
  }
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts,
  body.enterprise-shell.dataos-v4 .task-home .task-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
  body.enterprise-shell.dataos-v4.glass-aurora-v7 .task-home .task-shortcuts button,
  body.enterprise-shell.dataos-v4 .task-home .task-shortcuts button {
    font-size: 13.5px !important;
    padding: 8px 10px !important;
    min-height: 38px !important;
  }
  .wb-stage-hub { padding: 12px; }
  .wb-stage-tabs { width: 100%; }
  .wb-stage-tab { flex: 1 1 auto; justify-content: center; padding: 7px 10px; }
  .wb-stage-actions { width: 100%; }
  .wb-stage-link { flex: 1 1 auto; text-align: center; }
}

/* ==================== UTILITY-FIRST LAYOUT POLISH (v90) ==================== */
.wb-home-ai-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #dde6f4;
}
.wb-home-ai-lbl {
  font-size: 12px;
  font-weight: 800;
  color: #1d4ed8;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}
.wb-home-ai-bar button {
  padding: 4px 10px !important;
  min-height: 30px !important;
  border-radius: 999px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafd !important;
  color: #1e3a5f !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.wb-home-ai-bar button:hover {
  background: #eff6ff !important;
  border-color: #60a5fa !important;
  color: #1d4ed8 !important;
}
.wb-ll-ai-btn {
  padding: 4px 11px !important;
  min-height: 30px !important;
  border-radius: 999px !important;
  border: 1px solid #93c5fd !important;
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%) !important;
  color: #1d4ed8 !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  cursor: pointer;
  white-space: nowrap;
}
.wb-ll-ai-btn:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}
body[data-theme="dark"] .wb-home-ai-bar { border-top-color: rgba(88, 124, 210, 0.28); }
body[data-theme="dark"] .wb-home-ai-lbl { background: rgba(37, 99, 235, 0.25); border-color: rgba(96, 165, 250, 0.45); color: #93c5fd; }
body[data-theme="dark"] .wb-home-ai-bar button,
body[data-theme="dark"] .wb-ll-ai-btn {
  background: rgba(24, 39, 74, 0.88) !important;
  border-color: rgba(96, 165, 250, 0.36) !important;
  color: #dbeafe !important;
}

/* Mobile Bottom Nav AI Accent & Topbar De-clutter */
@media (max-width: 760px) {
  body.enterprise-shell.glass-aurora-v7 #ai-copilot-toggle { display: none !important; }
  body.enterprise-shell #workspace:not([hidden]) .mobile-bottom-nav button.is-ai-tab {
    color: #1d4ed8;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(79, 70, 229, 0.12));
  }
  body.enterprise-shell[data-theme="dark"] #workspace:not([hidden]) .mobile-bottom-nav button.is-ai-tab {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.22);
  }
  .wb-home-ai-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .wb-home-ai-bar::-webkit-scrollbar { display: none; }
  .wb-home-ai-bar button { flex-shrink: 0; min-height: 34px !important; }
  .wb-ll-links { width: 100%; justify-content: flex-start; gap: 6px; }
  .wb-ll-ai-btn { width: 100%; justify-content: center; min-height: 36px !important; }
}

/* ==================== UNIFIED QUERY / PROGRESS / DETAIL FLOW (v91) ==================== */
.query-chain-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 12px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbe4f2;
  box-shadow: 0 4px 16px -12px rgba(15, 23, 42, 0.16);
}
.qcb-lbl {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1f5fb;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.qcb-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px !important;
  min-height: 32px !important;
  border-radius: 9px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafd !important;
  color: #1e3a5f !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.qcb-item:hover:not(:disabled) {
  background: #eff6ff !important;
  border-color: #60a5fa !important;
  color: #1d4ed8 !important;
}
.qcb-item.is-active {
  background: #2556c6 !important;
  border-color: #2556c6 !important;
  color: #ffffff !important;
  cursor: default;
  opacity: 1 !important;
}
.qcb-item.is-ai {
  margin-left: auto;
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%) !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}
.qcb-item.is-ai:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

.quick-date-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}
.qdate-chip {
  padding: 4px 11px !important;
  min-height: 30px !important;
  border-radius: 999px !important;
  border: 1px solid #dbe4f2 !important;
  background: #ffffff !important;
  color: #475569 !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  cursor: pointer;
  white-space: nowrap;
}
.qdate-chip:hover {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}
.qdate-chip.is-active {
  background: #2556c6 !important;
  border-color: #2556c6 !important;
  color: #ffffff !important;
}

.detail-feed-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
}
.detail-feed-controls .quick-date-strip { margin: 0; }
.detail-feed-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.feed-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px !important;
  min-height: 30px !important;
  border-radius: 999px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafd !important;
  color: #475569 !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  white-space: nowrap;
}
.feed-nav-pill.is-hit {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1e40af !important;
  cursor: pointer;
}
.feed-nav-pill.is-hit:hover {
  background: #2556c6 !important;
  border-color: #2556c6 !important;
  color: #ffffff !important;
}
.feed-nav-pill.is-hit b { font-weight: 800; }
.feed-nav-pill.is-zero { opacity: 0.62; }
.feed-nav-pill.is-err { background: #fef2f2 !important; border-color: #fca5a5 !important; color: #b91c1c !important; cursor: pointer; }

.row-act-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.row-act-group button {
  padding: 4px 9px !important;
  min-height: 28px !important;
  font-size: 12.5px !important;
  border-radius: 7px !important;
  white-space: nowrap;
}
.inline-filter-link {
  padding: 0 !important;
  min-height: auto !important;
  border: 0 !important;
  background: transparent !important;
  color: #2556c6 !important;
  font-size: inherit !important;
  font-weight: 650 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
}
.inline-filter-link:hover { color: #1e40af !important; }
.journey-unshipped { display: block; color: #c2410c; font-weight: 700; margin-top: 2px; }
.journey-done-tag { display: block; color: #059669; font-weight: 700; margin-top: 2px; }
.journey-steps button.is-active {
  background: #2556c6 !important;
  border-color: #2556c6 !important;
  color: #ffffff !important;
}
.detail-cross-actions {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Dark mode support for unified query chain & quick-date controls */
body[data-theme="dark"] .query-chain-bar {
  background: rgba(15, 25, 48, 0.92);
  border-color: rgba(88, 124, 210, 0.34);
}
body[data-theme="dark"] .qcb-lbl { background: rgba(30, 48, 86, 0.72); color: #cbd5e1; }
body[data-theme="dark"] .qcb-item,
body[data-theme="dark"] .qdate-chip,
body[data-theme="dark"] .feed-nav-pill {
  background: rgba(24, 39, 74, 0.9) !important;
  border-color: rgba(88, 124, 210, 0.36) !important;
  color: #dbeafe !important;
}
body[data-theme="dark"] .qcb-item.is-active,
body[data-theme="dark"] .qdate-chip.is-active {
  background: #2563eb !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}
body[data-theme="dark"] .inline-filter-link { color: #93c5fd !important; }
body[data-theme="dark"] .journey-unshipped { color: #fb923c; }
body[data-theme="dark"] .journey-done-tag { color: #34d399; }

@media (max-width: 760px) {
  .query-chain-bar,
  .quick-date-strip,
  .detail-feed-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .query-chain-bar::-webkit-scrollbar,
  .quick-date-strip::-webkit-scrollbar,
  .detail-feed-nav::-webkit-scrollbar { display: none; }
  .qcb-item, .qdate-chip, .feed-nav-pill { flex-shrink: 0; min-height: 34px !important; }
  .qcb-item.is-ai { margin-left: 0; }
  body.enterprise-shell.glass-aurora-v7 #page-back {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==================== CLEAN BUSINESS DISPLAY: HIDE NOISY CAVEAT SMALL-PRINT (v92) ==================== */
/* Keeps underlying data integrity intact while removing repetitive "缺失情况待核对 / 仅已知小计 / 口径说明" visual clutter */
.order-total-grid article > small,
.order-total-basis,
.journey-warning,
.journey-result-progress,
.journey-event-totals small,
.journey-panel > p.subtle,
.wb-ll-note,
.cc-basis,
.cc-state,
.cc-source-detail,
.cc-reconciliation-detail,
.detail-feed-card > footer,
.history-total-primary small,
.history-total-secondary small,
.history-total-review,
.process-history-summary > p,
.online-definition,
.online-kpi-caveat,
.source-explanation,
.hub-reconcile-notes,
.explore-technical,
.hub-compare-card > small,
.ui-caveat-note,
.delivery-area > small,
[data-auto-table-summary] > header p,
[data-auto-table-summary] .external-total-grid article > small,
.task-system-status {
  display: none !important;
}
.order-total-grid article {
  justify-content: center;
  min-height: 92px;
}
.external-total-grid article {
  justify-content: center;
}
@media (max-width: 680px) {
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid article {
    padding: 12px 12px 14px !important;
    min-height: 76px !important;
    justify-content: center !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .order-total-grid article strong,
  .external-total-grid article strong {
    font-size: clamp(15px, 4.2vw, 19px) !important;
    line-height: 1.25 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }
  .external-total-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .wb-ll-scope { font-size: 11.5px; }
}

/* ==================== STREAMLINED DATA & TRACEABILITY WORKSPACE (v95) ==================== */
.compact-filter-shell {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.compact-filter-shell .toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 10px;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.compact-filter-shell .toolbar label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 600;
  color: #475569;
  min-width: 0;
}
.compact-filter-shell .toolbar label.cf-search,
body.enterprise-shell #page-content .compact-filter-shell .toolbar label:has(input[type="search"]) {
  flex: 1 1 240px !important;
  max-width: none !important;
}
.compact-filter-shell .toolbar label.cf-date,
body.enterprise-shell #page-content .compact-filter-shell .toolbar label:has(input[type="date"]) {
  flex: 0 0 124px !important;
  width: 124px !important;
  max-width: 130px !important;
}
body.enterprise-shell #page-content .toolbar label:has(input[type="date"]),
body.enterprise-shell #page-content [data-scan-filter] label:has(input[type="date"]) {
  flex: 0 0 132px;
  width: 132px;
  max-width: 138px;
}
.compact-filter-shell .toolbar input[type="date"],
body.enterprise-shell #page-content .toolbar input[type="date"],
body.enterprise-shell #page-content [data-scan-filter] input[type="date"] {
  width: 100% !important;
  min-height: 34px;
  padding: 4px 6px !important;
  font-size: 12.5px !important;
}
.compact-filter-shell .toolbar input,
.compact-filter-shell .toolbar select {
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 9px;
}
.compact-filter-shell .cf-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.compact-filter-shell .cf-actions button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9px;
}
.compact-filter-shell .quick-date-strip {
  margin: 0 !important;
}

.compact-kpi-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 9px 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #f8fbff, #f1f6ff);
  border: 1px solid #d7e3f7;
  border-radius: 12px;
  font-size: 13px;
  color: #334155;
}
.compact-kpi-strip span { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.compact-kpi-strip b { font-size: 15px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }

/* Make auto-table summary bar a sleek compact strip instead of a tall card box */
.external-summary {
  padding: 9px 14px !important;
  margin: 0 0 10px !important;
  border-radius: 12px !important;
  background: #f8fbff !important;
  border: 1px solid #dbe6f6 !important;
}
.external-summary > header {
  display: inline-flex !important;
  align-items: center;
  margin: 0 12px 6px 0 !important;
  padding: 0 !important;
}
.external-summary > header h3 {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #2556c6 !important;
  margin: 0 !important;
}
.external-summary .external-total-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 4px 0 0 !important;
}
.external-summary .external-total-group h4 {
  font-size: 12px !important;
  color: #475569 !important;
  background: #e8f0fe;
  padding: 2px 8px;
  border-radius: 6px;
  margin: 0 !important;
}
.external-summary .external-total-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
  margin: 0 !important;
}
.external-summary .external-total-grid article {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 6px !important;
  min-height: auto !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #dce6f5 !important;
  box-shadow: none !important;
}
.external-summary .external-total-grid article span {
  font-size: 12px !important;
  color: #64748b !important;
  margin: 0 !important;
}
.external-summary .external-total-grid article strong {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  font-variant-numeric: tabular-nums;
}

.compact-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 2px 6px;
  font-size: 12.5px;
  color: #475569;
}
.compact-list-meta b { color: #0f172a; }
.compact-list-tip { color: #2556c6; font-weight: 600; }

/* Whole-row clickable feedback */
.enterprise-shell .journey-body > .table-wrap {
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
}
table tr.is-clickable-row {
  cursor: pointer;
  transition: background-color 0.14s ease;
}
table tr.is-clickable-row:hover td {
  background: rgba(37, 86, 198, 0.055) !important;
}
.ord-cell-main { display: flex; flex-direction: column; gap: 2px; }
.journey-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.journey-pill.is-done { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.journey-pill.is-warn { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.journey-pill.is-active { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.journey-pill .jp-clear {
  border: 0; background: transparent; color: inherit; font-weight: 800; cursor: pointer; padding: 0 2px; min-height: auto;
}
.journey-mini-pct {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 700;
}

/* Single-Order Traceability Header + 4-in-1 KPIs + Real Tabs */
.journey-heading-v2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 14px;
}
.journey-heading-v2 .jh-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.journey-heading-v2 .jh-left > button {
  white-space: nowrap;
  flex-shrink: 0;
}
.journey-heading-v2 h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.journey-heading-v2 p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #475569;
}
.journey-heading-v2 .jh-right,
.journey-order-adj {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.journey-order-adj span {
  font-size: 12.5px;
  color: #64748b;
  padding: 0 4px;
}

.journey-kpis-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.journey-kpis-v2 .jk-card {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.journey-kpis-v2 .jk-card span {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.journey-kpis-v2 .jk-card strong {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.journey-kpis-v2 .jk-card strong small {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}
.journey-kpis-v2 .jk-bar progress {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  accent-color: #2556c6;
}
.journey-kpis-v2 .jk-card.is-ship .jk-bar progress { accent-color: #059669; }
.journey-kpis-v2 .jk-sub {
  margin: 0;
  font-size: 12px;
  color: #475569;
}

.journey-scope.is-scoped {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
  font-size: 13px;
}
.journey-stage-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin-bottom: 10px;
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.journey-stage-strip::-webkit-scrollbar { display: none; }
.journey-stage-strip .jss-lbl {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  padding: 3px 8px;
  background: #f1f5f9;
  border-radius: 7px;
}
.journey-stage-strip .jss-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  min-height: 30px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid #dbe4f2;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
}
.journey-stage-strip .jss-chip.is-done { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.journey-stage-strip .jss-chip.is-wip { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.journey-stage-strip .jss-chip:hover { filter: brightness(0.96); }
body[data-theme="dark"] .journey-stage-strip {
  background: rgba(15, 25, 48, 0.92);
  border-color: rgba(88, 124, 210, 0.34);
}
body[data-theme="dark"] .journey-stage-strip .jss-lbl {
  background: rgba(30, 48, 86, 0.72);
  color: #cbd5e1;
}
body[data-theme="dark"] .journey-stage-strip .jss-chip {
  background: rgba(24, 39, 74, 0.9);
  border-color: rgba(88, 124, 210, 0.36);
  color: #dbeafe;
}
.journey-scope-acts { display: flex; gap: 6px; }

.journey-tabs-v2 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  margin-bottom: 12px;
  background: #f1f5fb;
  border: 1px solid #dbe4f2;
  border-radius: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}
.journey-tabs-v2::-webkit-scrollbar { display: none; }
.journey-tabs-v2 .jt-tab {
  flex-shrink: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #334155;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.14s ease;
}
.journey-tabs-v2 .jt-tab em {
  font-style: normal;
  font-size: 11.5px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
}
.journey-tabs-v2 .jt-tab:hover { background: rgba(255, 255, 255, 0.72); color: #0f172a; }
.journey-tabs-v2 .jt-tab.is-active {
  background: #2556c6;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 86, 198, 0.24);
}
.journey-tabs-v2 .jt-tab.is-active em { background: rgba(255, 255, 255, 0.22); }

.journey-event-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

/* 7-Category Details Tabbed Bar */
.detail-feed-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.detail-feed-view-opts {
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-feed-view-opts select,
.detail-mode-btn {
  min-height: 32px !important;
  padding: 4px 10px !important;
  font-size: 12.5px !important;
  border-radius: 8px !important;
}
.feed-nav-pill.is-selected {
  background: #2556c6 !important;
  border-color: #2556c6 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(37, 86, 198, 0.22);
}
.mes-tab-bar {
  margin-bottom: 10px !important;
}

/* Dark theme for streamlined controls */
body[data-theme="dark"] .compact-filter-shell,
body[data-theme="dark"] .journey-heading-v2,
body[data-theme="dark"] .journey-kpis-v2 .jk-card {
  background: rgba(15, 25, 48, 0.92);
  border-color: rgba(88, 124, 210, 0.34);
}
body[data-theme="dark"] .compact-kpi-strip,
body[data-theme="dark"] .external-summary,
body[data-theme="dark"] .journey-tabs-v2 {
  background: rgba(18, 31, 60, 0.92) !important;
  border-color: rgba(88, 124, 210, 0.34) !important;
  color: #dbeafe;
}
body[data-theme="dark"] .external-summary .external-total-grid article {
  background: rgba(13, 22, 44, 0.95) !important;
  border-color: rgba(88, 124, 210, 0.3) !important;
}
body[data-theme="dark"] .compact-kpi-strip b,
body[data-theme="dark"] .external-summary .external-total-grid article strong,
body[data-theme="dark"] .journey-heading-v2 h2,
body[data-theme="dark"] .journey-kpis-v2 .jk-card strong {
  color: #f8fafc !important;
}
body[data-theme="dark"] .journey-tabs-v2 .jt-tab { color: #cbd5e1; }
body[data-theme="dark"] .journey-tabs-v2 .jt-tab.is-active { background: #2563eb; color: #ffffff; }

/* Mobile & WeChat Responsive Card Overhaul (<= 760px) */
@media (max-width: 760px) {
  .compact-filter-shell { padding: 10px; border-radius: 12px; }
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell :is(.toolbar, .journey-search, [data-journey-filter]) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell .toolbar label {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell .toolbar label.cf-date,
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell .toolbar label:has(input[type="date"]),
  body.enterprise-shell.glass-aurora-v7 #page-content .toolbar label:has(input[type="date"]),
  body.enterprise-shell.glass-aurora-v7 #page-content [data-scan-filter] label:has(input[type="date"]) {
    grid-column: auto !important;
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell .toolbar input,
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell .toolbar select,
  body.enterprise-shell.glass-aurora-v7 #page-content .toolbar input[type="date"],
  body.enterprise-shell.glass-aurora-v7 #page-content [data-scan-filter] input[type="date"] {
    font-size: 16px !important;
    min-height: 44px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell .toolbar input[type="date"],
  body.enterprise-shell.glass-aurora-v7 #page-content .toolbar input[type="date"],
  body.enterprise-shell.glass-aurora-v7 #page-content [data-scan-filter] input[type="date"] {
    padding: 6px 6px !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell .cf-actions {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
  }
  body.enterprise-shell.glass-aurora-v7 #page-content .compact-filter-shell .cf-actions button { min-height: 44px !important; }
  .compact-list-tip { display: none; }

  .journey-kpis-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .journey-kpis-v2 .jk-card { padding: 10px 11px; }
  .journey-kpis-v2 .jk-card strong { font-size: clamp(16px, 4.5vw, 19px); }
  .journey-heading-v2 { padding: 10px 12px; flex-direction: column; align-items: stretch; }
  .journey-heading-v2 .jh-left { align-items: flex-start; gap: 10px; }
  .journey-heading-v2 .jh-left > button { padding: 6px 10px !important; min-height: 36px !important; font-size: 13px !important; }
  .journey-heading-v2 .jh-right { justify-content: flex-end; }
  .journey-heading-v2 h2 { font-size: 16px; }
  .journey-tabs-v2 .jt-tab { min-height: 40px; padding: 6px 12px; font-size: 13px; }

  .compact-kpi-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    padding: 10px 12px;
    font-size: 12.5px;
  }
  .external-summary .external-total-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  .external-summary .external-total-grid article {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 7px 9px !important;
  }

  /* Responsive Card-Table for Order Journey & Business Details on Phone */
  .order-journey .table-wrap,
  .business-details .table-wrap {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .order-journey .pagination,
  .business-details .pagination,
  #page-content .pagination {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 12px 0 24px !important;
    padding: 10px 12px !important;
    background: #ffffff;
    border: 1px solid #dbe4f2;
    border-radius: 13px;
  }
  #page-content .pagination button {
    min-height: 40px !important;
    padding: 6px 14px !important;
    border-radius: 9px !important;
  }
  body[data-theme="dark"] #page-content .pagination {
    background: rgba(15, 25, 48, 0.92);
    border-color: rgba(88, 124, 210, 0.34);
  }
  .order-journey .table-wrap table,
  .order-journey .table-wrap tbody,
  .business-details .table-wrap table,
  .business-details .table-wrap tbody {
    display: block !important;
    width: 100% !important;
  }
  .order-journey .table-wrap thead,
  .business-details .table-wrap thead {
    display: none !important;
  }
  .order-journey .table-wrap tr,
  .business-details .table-wrap tr {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #dbe4f2 !important;
    border-radius: 13px !important;
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  }
  .order-journey .table-wrap tbody tr:nth-child(even) > td,
  .business-details .table-wrap tbody tr:nth-child(even) > td {
    background-color: transparent !important;
  }
  .order-journey .table-wrap td,
  .business-details .table-wrap td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    padding: 6px 0 !important;
    border: 0 !important;
    border-bottom: 1px dashed #edf2f9 !important;
    text-align: right !important;
    font-size: 13.5px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  .order-journey .table-wrap td:last-child,
  .business-details .table-wrap td:last-child {
    border-bottom: 0 !important;
    padding-top: 8px !important;
  }
  .order-journey .table-wrap td::before,
  .business-details .table-wrap td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-align: left;
    flex-shrink: 0;
  }
  .order-journey .table-wrap td .ord-cell-main {
    align-items: flex-end;
    text-align: right;
  }
  .order-journey .table-wrap td .row-act-group {
    justify-content: flex-end;
    width: 100%;
  }
  .order-journey .table-wrap td .row-act-group button {
    min-height: 36px !important;
    padding: 0 12px !important;
  }
  body[data-theme="dark"] .order-journey .table-wrap tr,
  body[data-theme="dark"] .business-details .table-wrap tr {
    background: rgba(15, 25, 48, 0.92) !important;
    border-color: rgba(88, 124, 210, 0.34) !important;
  }
  body[data-theme="dark"] .order-journey .table-wrap td,
  body[data-theme="dark"] .business-details .table-wrap td {
    border-bottom-color: rgba(88, 124, 210, 0.2) !important;
  }
}

/* ==================== LEVEL-BY-LEVEL DRILLDOWN POPUP MODAL (v97) ==================== */
body.odm-open {
  overflow: hidden !important;
}
@keyframes odmPopIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes odmSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
.odm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(11, 20, 38, 0.56);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.odm-sheet {
  width: min(1180px, 95vw);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  background: #f4f7fc;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.34);
  overflow: hidden;
  animation: odmPopIn 0.16s ease-out;
}
.odm-drag-handle {
  display: none;
}
.odm-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #dbe4f2;
}
.odm-hdr-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.odm-back-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 6px 12px !important;
  min-height: 34px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1d4ed8 !important;
}
.odm-crumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.odm-crumbs::-webkit-scrollbar { display: none; }
.odm-crumb {
  border: 0;
  background: transparent;
  padding: 4px 7px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #2556c6;
  cursor: pointer;
  white-space: nowrap;
}
.odm-crumb:hover { background: #eff6ff; }
.odm-crumb.is-current {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  cursor: default;
  padding-left: 4px;
}
.odm-crumb.is-current:hover { background: transparent; }
.odm-sep { color: #94a3b8; font-weight: 700; flex-shrink: 0; }
.odm-hdr-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.odm-adj {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
}
.odm-btn-sm {
  padding: 5px 10px !important;
  min-height: 32px !important;
  font-size: 12.5px !important;
  border-radius: 8px !important;
  white-space: nowrap;
}
.odm-close-btn {
  width: 34px;
  height: 34px;
  min-height: 34px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.odm-close-btn:hover { background: #fee2e2 !important; border-color: #fca5a5 !important; color: #b91c1c !important; }
.odm-status {
  flex: none;
  padding: 0 18px;
  font-size: 12.5px;
  color: #2556c6;
  background: #f8fbff;
}
.odm-status:not(:empty) {
  padding: 6px 18px;
  border-bottom: 1px solid #e2ecfb;
}
.odm-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 18px 20px;
}
.odm-order-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 10px;
}
.odm-order-meta b { font-size: 16px; color: #0f172a; }
.odm-order-meta span { font-size: 13px; color: #475569; }
.odm-cross-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.odm-chip {
  padding: 4px 10px !important;
  min-height: 30px !important;
  border-radius: 999px !important;
  border: 1px solid #d7e3f4 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer;
}
.odm-chip:hover { border-color: #2556c6 !important; color: #2556c6 !important; background: #eff6ff !important; }
.odm-chip.is-ai {
  background: linear-gradient(135deg, #eff6ff, #e0e7ff) !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}
.odm-drill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}
.odm-drill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px !important;
  min-height: 34px !important;
  border-radius: 10px !important;
  border: 1px solid #cfe0f5 !important;
  background: #ffffff !important;
  color: #1e3a8a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.odm-drill-btn:hover {
  background: #2556c6 !important;
  border-color: #2556c6 !important;
  color: #ffffff !important;
}
.odm-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin: 4px 2px 8px;
}
.odm-section-head h3 { margin: 0; font-size: 15px; font-weight: 800; color: #0f172a; }
.odm-section-head span { font-size: 12px; color: #2556c6; font-weight: 600; }
.odm-focus-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
  font-size: 13.5px;
}
.odm-focus-banner b { font-weight: 800; }
.odm-sub-section { margin-top: 14px; }
.odm-card-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.odm-sub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.odm-body .table-wrap {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 13px;
  overflow: auto;
}
.odm-body .table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.odm-body .table-wrap th {
  background: #f1f6fd;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #dbe4f2;
  white-space: nowrap;
}
.odm-body .table-wrap td {
  padding: 9px 10px;
  border-bottom: 1px solid #edf2f9;
  font-size: 13px;
  color: #0f172a;
  vertical-align: middle;
}
.odm-body .table-wrap td small { display: block; font-size: 12px; color: #64748b; }
.odm-body .table-wrap tr:last-child td { border-bottom: 0; }
.odm-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.odm-detail-grid > div {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 12px;
  padding: 10px 12px;
}
.odm-detail-grid dt { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.odm-detail-grid dd { margin: 0; font-size: 15px; font-weight: 700; color: #0f172a; }

/* Combined Dimension + Per-Line Progress Cell (v98) */
.odm-dim-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 162px;
}
.odm-dim-cell > b {
  font-size: 14px;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.3;
}
.odm-dim-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.odm-dim-size {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.odm-dim-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Order-level project name & requirement + Per-line position / processing / drilling requirement (v106) */
.ord-proj-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
  max-width: 220px;
}
.ord-proj-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.3;
  word-break: break-word;
}
.ord-req-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.35;
  word-break: break-word;
}
.odm-order-reqs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.odm-oreq-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.35;
}
.odm-oreq-chip em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
  flex-shrink: 0;
}
.odm-oreq-chip b {
  font-weight: 700;
  word-break: break-word;
}
.odm-oreq-chip.is-proj {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}
.odm-oreq-chip.is-proj em {
  background: #dbeafe;
  color: #1d4ed8;
}
.odm-oreq-chip.is-req {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #78350f;
}
.odm-oreq-chip.is-req em {
  background: #fef3c7;
  color: #b45309;
}
.odm-req-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
  max-width: 215px;
}
.odm-req-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 2px 7px 2px 5px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}
.odm-req-item em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 750;
  padding: 0 5px;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1.5;
}
.odm-req-item span {
  font-weight: 600;
  min-width: 0;
}
.odm-req-item.is-pos {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
}
.odm-req-item.is-pos em {
  background: #e0f2fe;
  color: #0369a1;
}
.odm-req-item.is-proc {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
}
.odm-req-item.is-proc em {
  background: #fef3c7;
  color: #b45309;
}
.odm-req-item.is-hole {
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #831843;
}
.odm-req-item.is-hole em {
  background: #fce7f3;
  color: #be185d;
}
.odm-req-draw {
  font-size: 11px !important;
  color: #64748b !important;
  word-break: break-all;
}
body[data-theme="dark"] .ord-proj-name { color: #93c5fd; }
body[data-theme="dark"] .ord-req-tag,
body[data-theme="dark"] .odm-oreq-chip.is-req,
body[data-theme="dark"] .odm-req-item.is-proc {
  background: rgba(180, 83, 9, 0.22);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde68a;
}
body[data-theme="dark"] .odm-oreq-chip.is-proj,
body[data-theme="dark"] .odm-req-item.is-pos {
  background: rgba(30, 64, 175, 0.28);
  border-color: rgba(96, 165, 250, 0.45);
  color: #bfdbfe;
}
body[data-theme="dark"] .odm-req-item.is-hole {
  background: rgba(157, 23, 77, 0.28);
  border-color: rgba(244, 114, 182, 0.45);
  color: #fbcfe8;
}
.odm-line-prog {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 240px;
}
.olp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 12px;
}
.olp-lbl {
  flex: 0 0 26px;
  color: #64748b;
  font-weight: 600;
}
.olp-progress {
  flex: 0 1 68px;
  min-width: 48px;
  max-width: 84px;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  accent-color: #059669;
}
.olp-progress.is-ship { accent-color: #2556c6; }
.olp-val {
  white-space: normal;
  line-height: 1.35;
  color: #475569;
  font-variant-numeric: tabular-nums;
}
.olp-val b { color: #0f172a; font-weight: 800; }
.olp-val em {
  font-style: normal;
  font-weight: 700;
  color: #059669;
  margin-left: 3px;
}
.olp-val em.is-done { color: #047857; }
.olp-val em.is-warn { color: #c2410c; }
.olp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}
.olp-chip {
  padding: 2px 7px !important;
  min-height: 22px !important;
  border-radius: 999px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  cursor: pointer;
  white-space: nowrap;
}
.olp-chip.is-done { background: #ecfdf5 !important; border-color: #a7f3d0 !important; color: #047857 !important; }
.olp-chip.is-wip { background: #eff6ff !important; border-color: #bfdbfe !important; color: #1d4ed8 !important; }
.olp-chip:hover { filter: brightness(0.95); }
.odm-head-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.odm-head-links button {
  padding: 2px 6px !important;
  min-height: 26px !important;
  font-size: 12.5px !important;
}
.jss-sep { color: #cbd5e1; margin: 0 2px; flex-shrink: 0; }
.journey-stage-strip .jss-chip.is-card {
  background: #fefce8;
  border-color: #fde68a;
  color: #92400e;
}
.odm-inline-cards {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 118px;
}
.odm-card-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 5px 9px !important;
  min-height: auto !important;
  border-radius: 9px !important;
  border: 1px solid #fde68a !important;
  background: #fffbeb !important;
  color: #92400e !important;
  font-size: 12px !important;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.odm-card-tag b { font-weight: 800; color: #78350f; }
.odm-card-tag small { font-size: 11px; color: #b45309; display: block; }
.odm-card-tag:hover { background: #fef3c7 !important; border-color: #f59e0b !important; }
.olp-summary-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}
.olp-proc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.olp-proc-box {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 8px !important;
  min-width: 82px;
  min-height: auto !important;
  border-radius: 8px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafc !important;
  color: #475569 !important;
  text-align: left;
  cursor: pointer;
}
.olp-proc-box .opb-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
}
.olp-proc-box .opb-top b { font-weight: 800; }
.olp-proc-box .opb-top em { font-style: normal; font-size: 11.5px; font-weight: 800; }
.olp-proc-box .opb-bot {
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.olp-proc-box.is-done { background: #ecfdf5 !important; border-color: #a7f3d0 !important; color: #047857 !important; }
.olp-proc-box.is-wip { background: #eff6ff !important; border-color: #bfdbfe !important; color: #1d4ed8 !important; }
.olp-proc-box:hover { filter: brightness(0.95); }

/* Whole-Order Process & Shipping Qty+Area Cards (v100/v101) */
.odm-facts-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 9px 13px;
  margin-bottom: 10px;
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 12px;
  font-size: 13px;
  color: #475569;
}
.odm-facts-bar > span { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.odm-facts-bar > span b { font-size: 15px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.odm-facts-bar .ows-cards { margin-left: auto; }
body[data-theme="dark"] .odm-facts-bar {
  background: rgba(15, 25, 48, 0.92);
  border-color: rgba(88, 124, 210, 0.34);
  color: #cbd5e1;
}
body[data-theme="dark"] .odm-facts-bar > span b { color: #f8fafc; }
.odm-whole-stages {
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 13px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.ows-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.ows-top .jss-lbl {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  padding: 2px 8px;
  background: #f1f5f9;
  border-radius: 7px;
}
.ows-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ows-cards .jss-chip.is-card {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px !important;
  min-height: 28px !important;
  border-radius: 999px !important;
  border: 1px solid #fde68a !important;
  background: #fffbeb !important;
  color: #92400e !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer;
  white-space: nowrap;
}
.ows-cards .jss-chip.is-card:hover { background: #fef3c7 !important; border-color: #f59e0b !important; }
.odm-stage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 8px;
}
.osc-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px !important;
  min-height: auto !important;
  border-radius: 10px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafc !important;
  color: #334155 !important;
  text-align: left;
  cursor: pointer;
}
.osc-card:hover { filter: brightness(0.97); border-color: #93c5fd !important; }
.osc-card.is-ship {
  background: linear-gradient(135deg, #fffbeb, #eff6ff) !important;
  border-color: #93c5fd !important;
}
.osc-card.is-done { background: #ecfdf5 !important; border-color: #a7f3d0 !important; }
.osc-card.is-wip:not(.is-ship) { background: #f0f7ff !important; border-color: #bfdbfe !important; }
.osc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
}
.osc-head b { font-weight: 800; color: #0f172a; }
.osc-head em { font-style: normal; font-size: 12px; font-weight: 800; color: #2556c6; }
.osc-card.is-done .osc-head em { color: #047857; }
.osc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.osc-row span { color: #64748b; font-weight: 600; flex-shrink: 0; }
.osc-row b { font-weight: 700; color: #0f172a; white-space: nowrap; }
.osc-row.is-ok b { color: #047857; }
.osc-row.is-rem b { color: #c2410c; }
.osc-card.is-done .osc-row.is-rem b { color: #64748b; }

body[data-theme="dark"] .odm-whole-stages {
  background: rgba(15, 25, 48, 0.92);
  border-color: rgba(88, 124, 210, 0.34);
}
body[data-theme="dark"] .ows-top .jss-lbl { background: rgba(30, 48, 86, 0.72); color: #e2e8f0; }
body[data-theme="dark"] .osc-card {
  background: rgba(24, 39, 74, 0.9) !important;
  border-color: rgba(88, 124, 210, 0.36) !important;
  color: #dbeafe !important;
}
body[data-theme="dark"] .osc-head b,
body[data-theme="dark"] .osc-row b { color: #f8fafc; }
body[data-theme="dark"] .osc-row.is-ok b { color: #6ee7b7; }
body[data-theme="dark"] .osc-row.is-rem b { color: #fdba74; }

body[data-theme="dark"] .odm-card-tag,
body[data-theme="dark"] .journey-stage-strip .jss-chip.is-card {
  background: rgba(120, 53, 15, 0.32) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
  color: #fde68a !important;
}
body[data-theme="dark"] .odm-card-tag b { color: #fef3c7; }
body[data-theme="dark"] .odm-card-tag small { color: #fcd34d; }
body[data-theme="dark"] .olp-proc-box {
  background: rgba(24, 39, 74, 0.9) !important;
  border-color: rgba(88, 124, 210, 0.36) !important;
  color: #cbd5e1 !important;
}
body[data-theme="dark"] .olp-proc-box.is-done {
  background: rgba(6, 95, 70, 0.35) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #6ee7b7 !important;
}
body[data-theme="dark"] .olp-proc-box.is-wip {
  background: rgba(30, 64, 175, 0.35) !important;
  border-color: rgba(96, 165, 250, 0.45) !important;
  color: #93c5fd !important;
}

body[data-theme="dark"] .odm-dim-cell > b,
body[data-theme="dark"] .olp-val b { color: #f8fafc; }
body[data-theme="dark"] .odm-dim-size {
  background: rgba(37, 99, 235, 0.24);
  border-color: rgba(96, 165, 250, 0.45);
  color: #93c5fd;
}
body[data-theme="dark"] .odm-dim-chip {
  background: rgba(30, 48, 86, 0.72);
  color: #cbd5e1;
}
body[data-theme="dark"] .olp-chip {
  background: rgba(24, 39, 74, 0.9) !important;
  border-color: rgba(88, 124, 210, 0.36) !important;
  color: #cbd5e1 !important;
}
body[data-theme="dark"] .olp-chip.is-done {
  background: rgba(6, 95, 70, 0.35) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #6ee7b7 !important;
}
body[data-theme="dark"] .olp-chip.is-wip {
  background: rgba(30, 64, 175, 0.35) !important;
  border-color: rgba(96, 165, 250, 0.45) !important;
  color: #93c5fd !important;
}

/* Dark Mode for Level-by-Level Popup */
body[data-theme="dark"] .odm-sheet {
  background: #0d162a;
  border-color: rgba(88, 124, 210, 0.36);
}
body[data-theme="dark"] .odm-header {
  background: #101d38;
  border-bottom-color: rgba(88, 124, 210, 0.32);
}
body[data-theme="dark"] .odm-crumb.is-current,
body[data-theme="dark"] .odm-order-meta b,
body[data-theme="dark"] .odm-section-head h3,
body[data-theme="dark"] .odm-detail-grid dd,
body[data-theme="dark"] .odm-body .table-wrap td { color: #f8fafc; }
body[data-theme="dark"] .odm-crumb { color: #93c5fd; }
body[data-theme="dark"] .odm-chip,
body[data-theme="dark"] .odm-drill-btn,
body[data-theme="dark"] .odm-detail-grid > div,
body[data-theme="dark"] .odm-body .table-wrap {
  background: rgba(18, 31, 60, 0.94) !important;
  border-color: rgba(88, 124, 210, 0.34) !important;
  color: #dbeafe !important;
}
body[data-theme="dark"] .odm-body .table-wrap th {
  background: rgba(24, 41, 78, 0.96);
  color: #cbd5e1;
  border-bottom-color: rgba(88, 124, 210, 0.3);
}
body[data-theme="dark"] .odm-body .table-wrap td { border-bottom-color: rgba(88, 124, 210, 0.2); }

/* Mobile & WeChat Bottom Sheet Drawer (<= 760px) */
@media (max-width: 760px) {
  .odm-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .odm-sheet {
    width: 100vw;
    max-width: 100vw;
    height: 92dvh;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    animation: odmSlideUp 0.18s ease-out;
  }
  .odm-drag-handle {
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #cbd5e1;
    margin: 8px auto 2px;
    flex-shrink: 0;
  }
  .odm-header {
    padding: 8px 12px 10px;
    gap: 8px;
  }
  .odm-back-btn {
    min-height: 38px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
  .odm-adj { display: none; }
  .odm-close-btn {
    width: 38px;
    height: 38px;
    min-height: 38px !important;
  }
  .odm-body {
    padding: 10px 12px calc(20px + env(safe-area-inset-bottom));
  }
  .odm-cross-row,
  .odm-drill-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .odm-cross-row::-webkit-scrollbar,
  .odm-drill-bar::-webkit-scrollbar { display: none; }
  .odm-chip, .odm-drill-btn { flex-shrink: 0; min-height: 38px !important; }
  .odm-section-head span { display: none; }
  .odm-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Card-Table inside Mobile Popup Drawer */
  .odm-body .table-wrap {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
  }
  .odm-body .table-wrap table,
  .odm-body .table-wrap tbody { display: block !important; width: 100% !important; }
  .odm-body .table-wrap thead { display: none !important; }
  .odm-body .table-wrap tr {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #dbe4f2 !important;
    border-radius: 13px !important;
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  }
  .odm-body .table-wrap td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 5px 0 !important;
    border: 0 !important;
    border-bottom: 1px dashed #edf2f9 !important;
    text-align: right !important;
    font-size: 13.5px !important;
    min-width: 0 !important;
  }
  .odm-cell-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .odm-body .table-wrap td[data-label="玻璃品种 · 尺寸规格"],
  .odm-body .table-wrap td[data-label="位置 / 加工与打孔要求"],
  .odm-body .table-wrap td[data-label="各工序明细与交付进度"],
  .odm-body .table-wrap td[data-label="生产与发货进度"] {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left !important;
    gap: 6px !important;
  }
  .odm-req-cell,
  .ord-proj-cell {
    min-width: 0 !important;
    max-width: none !important;
    width: 100%;
  }
  .ord-proj-cell {
    align-items: flex-end;
    text-align: right;
  }
  .ord-req-tag {
    align-self: flex-end;
  }
  .odm-inline-cards { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
  .odm-facts-bar {
    gap: 6px 12px;
    padding: 8px 11px;
    font-size: 12.5px;
  }
  .odm-facts-bar .ows-cards { margin-left: 0; width: 100%; }
  .odm-stage-cards {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 2px;
  }
  .odm-stage-cards::-webkit-scrollbar { display: none; }
  .osc-card { flex: 0 0 168px; }
  .ows-cards { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .ows-cards::-webkit-scrollbar { display: none; }
  .olp-proc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .olp-proc-box { min-width: 0; width: 100%; padding: 6px 8px !important; }
  .odm-dim-cell, .odm-line-prog { min-width: 0 !important; width: 100%; }
  .olp-progress { max-width: none; }
  .olp-chip { min-height: 28px !important; padding: 3px 9px !important; font-size: 12px !important; }
  .odm-body .table-wrap td:last-child { border-bottom: 0 !important; padding-top: 8px !important; }
  .odm-body .table-wrap td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-align: left;
    flex-shrink: 0;
  }
  body[data-theme="dark"] .odm-body .table-wrap tr {
    background: rgba(18, 31, 60, 0.94) !important;
    border-color: rgba(88, 124, 210, 0.34) !important;
  }
}
/* END MAINSTREAM LAYOUT */
/* BEGIN AI COPILOT STYLES */
.ai-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px !important;
  min-height: 38px !important;
  border-radius: 10px !important;
  border: 1px solid #bfdbfe !important;
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%) !important;
  color: #1d4ed8 !important;
  font-size: max(15px, var(--ui-body, 15px)) !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ai-topbar-btn:hover { background: #dbeafe !important; border-color: #60a5fa !important; }
.ai-topbar-dot { width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; flex-shrink: 0; }
.ai-topbar-btn.is-llm-ready .ai-topbar-dot { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22); }

/* Global background scroll lock whenever any floating overlay is active */
html:has(.ai-copilot-drawer.is-open, .eq-cockpit-backdrop, .eq-modal-backdrop, .ng-zoom-overlay, dialog[open]),
body:has(.ai-copilot-drawer.is-open, .eq-cockpit-backdrop, .eq-modal-backdrop, .ng-zoom-overlay, dialog[open]),
body:has(.ai-copilot-drawer.is-open, .eq-cockpit-backdrop, .eq-modal-backdrop, .ng-zoom-overlay, dialog[open]) .workspace,
body:has(.ai-copilot-drawer.is-open, .eq-cockpit-backdrop, .eq-modal-backdrop, .ng-zoom-overlay, dialog[open]) .workspace > main,
html.is-overlay-scroll-lock,
html.is-overlay-scroll-lock body,
html.is-overlay-scroll-lock .workspace,
html.is-overlay-scroll-lock .workspace > main {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.ai-copilot-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.18s ease;
  overscroll-behavior: none;
  touch-action: none;
}
.ai-copilot-backdrop.is-open { opacity: 1; }

/* Flagship Centered Workspace Mode (Default) */
.ai-copilot-drawer, .ai-copilot-drawer * { box-sizing: border-box; }
.ai-copilot-drawer {
  position: fixed;
  z-index: 125;
  background: #f5f7fb;
  color: #0f172a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.ai-copilot-drawer.is-workspace {
  top: 50%;
  left: 50%;
  width: min(1180px, 94vw);
  height: min(90vh, 920px);
  border-radius: 22px;
  border: 1px solid rgba(203, 217, 240, 0.9);
  box-shadow: 0 30px 90px -20px rgba(15, 23, 42, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  transform: translate(-50%, -48%) scale(0.97);
  opacity: 0;
}
.ai-copilot-drawer.is-workspace.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Companion Right-Side Drawer Mode */
.ai-copilot-drawer.is-drawer {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(640px, 100vw);
  height: 100vh;
  border-radius: 0;
  border-left: 1px solid #dbe4f2;
  box-shadow: -18px 0 48px -18px rgba(15, 23, 42, 0.32);
  transform: translateX(100%);
  opacity: 1;
}
.ai-copilot-drawer.is-drawer.is-open { transform: translateX(0); }
.ai-copilot-drawer.is-drawer .ai-ws-rail {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 30;
  width: min(276px, 84vw);
  transform: translateX(-104%);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 16px 0 42px -12px rgba(15, 23, 42, 0.28);
}
.ai-copilot-drawer.is-drawer.is-rail-open .ai-ws-rail { transform: translateX(0); }
.ai-copilot-drawer.is-drawer.is-rail-open .ai-rail-scrim { opacity: 1; pointer-events: auto; }
.ai-copilot-drawer.is-drawer .ai-rail-toggle-btn,
.ai-copilot-drawer.is-drawer .ai-rail-close-btn { display: inline-flex; }
.ai-copilot-drawer.is-drawer .ai-mobile-tabs { display: grid; }
.ai-copilot-drawer.is-drawer .ai-top-ctrl[data-ai-action="new-chat-mini"] { display: inline-flex; }

/* 2-Column Workspace Grid */
.ai-ws-shell {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  width: 100%;
  height: 100%;
}
.ai-rail-scrim {
  position: absolute;
  inset: 0;
  z-index: 25;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.ai-rail-close-btn {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 30px;
  height: 30px;
  min-height: 30px !important;
  border-radius: 8px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafd !important;
  color: #475569 !important;
  font-size: 18px !important;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.ai-rail-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px !important;
  border-radius: 9px !important;
  border: 1px solid #dbe4f2 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 16px !important;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.ai-rail-toggle-btn:hover { background: #eff5ff !important; border-color: #93c5fd !important; color: #1d4ed8 !important; }

/* Left Rail */
.ai-ws-rail {
  width: 248px;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #e2e8f2;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 12px;
  gap: 10px;
  min-height: 0;
}
.ai-rail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 6px;
}
.ai-brand-dot {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(37, 99, 235, 0.45);
}
.ai-rail-brand-text { display: flex; flex-direction: column; min-width: 0; }
.ai-rail-brand-text strong { font-size: 15.5px; font-weight: 800; color: #0f172a; line-height: 1.2; }
.ai-rail-brand-text span {
  margin-top: 2px;
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-rail-brand-text span.is-ready { color: #059669; font-weight: 650; }

.ai-new-chat-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px !important;
  min-height: 38px !important;
  border-radius: 11px !important;
  border: 1px solid #2563eb !important;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.55);
  transition: transform 0.14s ease, filter 0.14s ease;
}
.ai-new-chat-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

.ai-rail-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ai-rail-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 8px 10px !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #475569 !important;
  font-size: 13.5px !important;
  font-weight: 650;
  cursor: pointer;
}
.ai-rail-nav button:hover { background: #f1f5fb !important; color: #1e3a8a !important; }
.ai-rail-nav button.is-active {
  background: #eaf1ff !important;
  border-color: #cfe0fc !important;
  color: #1d4ed8 !important;
  font-weight: 750;
}

.ai-rail-section-lbl {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #94a3b8;
  padding: 6px 6px 0;
  text-transform: uppercase;
}
.ai-rail-threads {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ai-thread-item {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 9px;
  transition: background 0.12s ease;
}
.ai-thread-item:hover { background: #f1f5fb; }
.ai-thread-item.is-active { background: #eef4ff; }
.ai-thread-pick {
  flex: 1;
  min-width: 0;
  text-align: left;
  border: 0 !important;
  background: transparent !important;
  padding: 7px 8px !important;
  min-height: 0 !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ai-thread-pick b {
  font-size: 12.5px;
  font-weight: 650;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-thread-item.is-active .ai-thread-pick b { color: #1d4ed8; }
.ai-thread-pick small { font-size: 11px; color: #94a3b8; }
.ai-thread-del {
  width: 24px;
  height: 24px;
  min-height: 24px !important;
  border: 0 !important;
  background: transparent !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  flex-shrink: 0;
}
.ai-thread-item:hover .ai-thread-del { opacity: 1; }
.ai-thread-del:hover { background: #fee2e2 !important; color: #dc2626 !important; }

/* 5-Line Live Pulse in Sidebar Footer */
.ai-rail-pulse {
  border-top: 1px solid #e6edf7;
  padding-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ai-pulse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}
.ai-pulse-head button {
  border: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 13px !important;
  min-height: 22px !important;
  padding: 0 4px !important;
  cursor: pointer;
}
.ai-pulse-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ai-pulse-loading { font-size: 11px; color: #94a3b8; }
.ai-pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px !important;
  min-height: 24px !important;
  border-radius: 999px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 650;
  cursor: pointer;
}
.ai-pulse-chip i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; }
.ai-pulse-chip.is-run { background: #ecfdf5 !important; border-color: #a7f3d0 !important; color: #047857 !important; }
.ai-pulse-chip.is-run i { background: #10b981; }
.ai-pulse-chip.is-on { background: #eff6ff !important; border-color: #bfdbfe !important; color: #1d4ed8 !important; }
.ai-pulse-chip.is-on i { background: #3b82f6; }
.ai-pulse-chip:hover { filter: brightness(0.96); }

/* Right Main Stage */
.ai-ws-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f7f9fd 0%, #f1f5fb 100%);
}
.ai-main-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #e2e8f2;
  flex-shrink: 0;
}
.ai-main-top-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ai-main-top-left h2 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-page-ctx-pill {
  font-size: 11.5px;
  font-weight: 650;
  padding: 2px 9px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d5e4fc;
  color: #1e40af;
  white-space: nowrap;
  flex-shrink: 0;
}
.ai-main-top-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ai-top-ctrl {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px !important;
  min-height: 32px !important;
  border-radius: 9px !important;
  border: 1px solid #dbe4f2 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 12.5px !important;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.ai-top-ctrl[data-ai-action="new-chat-mini"] { display: none; }
.ai-top-ctrl:hover { background: #eff5ff !important; border-color: #93c5fd !important; color: #1d4ed8 !important; }
.ai-close-btn {
  width: 34px;
  height: 34px;
  min-height: 34px !important;
  border-radius: 9px !important;
  border: 1px solid #dbe4f2 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 20px !important;
  line-height: 1;
  cursor: pointer;
}
.ai-close-btn:hover { background: #fee2e2 !important; border-color: #fca5a5 !important; color: #dc2626 !important; }

.ai-mobile-tabs {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 14px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f2;
  flex-shrink: 0;
}
.ai-mobile-tabs button {
  padding: 6px 8px !important;
  min-height: 32px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: #f4f7fb !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 650;
  cursor: pointer;
}
.ai-mobile-tabs button.is-active { background: #2563eb !important; color: #ffffff !important; }

.ai-drawer-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-tab-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-tab-pane[hidden] { display: none !important; }

/* Chat Scroll Area (Centered 860px Reading Stage) */
.ai-chat-scroll {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 20px 22px 16px;
}
.ai-chat-center {
  width: 100%;
  max-width: 860px;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Welcome Hero Stage */
.ai-hero-stage {
  padding: 16px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ai-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8f0fe;
  border: 1px solid #c7dbfd;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 12px;
}
.ai-hero-stage h1 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.ai-hero-sub {
  margin: 8px 0 22px;
  max-width: 620px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
}
.ai-hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}
.ai-hero-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 16px !important;
  border-radius: 15px !important;
  border: 1px solid #dde6f4 !important;
  border-top: 3px solid #3b82f6 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  text-align: left;
  font-family: inherit;
}
.ai-hero-card.is-amber { border-top-color: #f59e0b !important; }
.ai-hero-card.is-emerald { border-top-color: #10b981 !important; }
.ai-hero-card.is-violet { border-top-color: #8b5cf6 !important; }
.ai-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.25);
  border-color: #93c5fd !important;
}
.ai-hc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ai-hc-ico { font-size: 18px; line-height: 1; }
.ai-hc-tag {
  font-size: 11px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5fb;
  color: #334155;
}
.ai-hero-card strong { font-size: 14.5px; font-weight: 800; color: #0f172a; line-height: 1.35; }
.ai-hero-card p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #64748b; }

.ai-hero-extras {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.ai-extra-chip {
  padding: 6px 13px !important;
  min-height: 32px !important;
  border-radius: 999px !important;
  border: 1px solid #d8e4f5 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #334155 !important;
  font-size: 12.5px !important;
  font-weight: 650;
  cursor: pointer;
}
.ai-extra-chip:hover { background: #eff5ff !important; border-color: #60a5fa !important; color: #1d4ed8 !important; }

/* Message Turns */
.ai-turn { display: flex; flex-direction: column; width: 100%; }
.ai-turn.is-user { align-items: flex-end; }
.ai-user-bubble {
  max-width: 80%;
  padding: 11px 16px;
  border-radius: 16px 16px 4px 16px;
  background: #eaf1ff;
  border: 1px solid #ccdefc;
  color: #162e66;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}
.ai-user-bubble p { margin: 0; }

/* Editorial AI Document Card */
.ai-doc-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dde6f4;
  border-radius: 16px;
  padding: 16px 20px 14px;
  box-shadow: 0 4px 18px -10px rgba(15, 23, 42, 0.1);
}
.ai-doc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ai-doc-avatar {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.ai-doc-head strong { font-size: 13px; font-weight: 750; color: #1e293b; }
.ai-doc-live-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
}

.ai-trace-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 9px;
  background: #f8fbff;
  border: 1px solid #e4eefc;
  font-size: 11.5px;
}
.ai-trace-ok { font-weight: 750; color: #059669; margin-right: 2px; }
.ai-trace-strip em {
  font-style: normal;
  padding: 1px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-weight: 650;
}

.ai-live-thinking {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 7px 11px;
  border-radius: 9px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 650;
}
.ai-live-thinking i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  animation: aiPulse 1.2s ease-in-out infinite;
}
@keyframes aiPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }

/* Rich Markdown Typography */
.ai-msg-body { font-size: 14px; line-height: 1.72; color: #1e293b; word-break: break-word; }
.ai-msg-body p { margin: 0 0 9px; }
.ai-msg-body p:last-child { margin-bottom: 0; }
.ai-msg-body ul, .ai-msg-body ol { margin: 6px 0 11px; padding-left: 22px; }
.ai-msg-body li { margin: 4px 0; line-height: 1.65; }
.ai-msg-body li strong { color: #0f172a; }
.ai-msg-body h2 {
  margin: 4px 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e6edf7;
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}
.ai-msg-body h3 {
  margin: 15px 0 8px;
  padding-left: 10px;
  border-left: 3.5px solid #2563eb;
  font-size: 14.5px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.35;
}
.ai-msg-body h4 { margin: 11px 0 5px; font-size: 13.5px; font-weight: 750; color: #334155; }
.ai-msg-body code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #1e40af;
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 12.5px;
  font-family: Consolas, ui-monospace, monospace;
}
.ai-md-quote {
  margin: 10px 0 12px;
  padding: 9px 13px;
  border-left: 3.5px solid #3b82f6;
  border-radius: 0 10px 10px 0;
  background: #f3f7ff;
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
}
.ai-md-quote p { margin: 0 0 4px; }
.ai-md-quote p:last-child { margin-bottom: 0; }
.ai-md-hr { border: 0; border-top: 1px dashed #d8e3f2; margin: 12px 0; }
.ai-md-pre {
  margin: 8px 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.55;
}
.ai-md-pre code { background: transparent; border: 0; color: inherit; padding: 0; }

.ai-md-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 10px 0 13px;
  border: 1px solid #dbe4f2;
  border-radius: 11px;
  background: #ffffff;
}
.ai-md-table-wrap table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ai-md-table-wrap th, .ai-md-table-wrap td {
  border-bottom: 1px solid #e6edf7;
  border-right: 1px solid #edf2fa;
  padding: 6px 9px;
  text-align: left;
  vertical-align: top;
  line-height: 1.46;
}
.ai-md-table-wrap th:last-child, .ai-md-table-wrap td:last-child { border-right: 0; }
.ai-md-table-wrap tbody tr:last-child td { border-bottom: 0; }
.ai-md-table-wrap tbody tr:nth-child(even) { background: #f8fbff; }
.ai-md-table-wrap th { background: #eef4ff; color: #1e3a8a; font-weight: 750; white-space: nowrap; font-size: 12px; }
.ai-md-table-wrap td { color: #1e293b; word-break: break-word; }

.ai-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px !important;
  margin: 2px 4px 2px 0;
  min-height: 28px !important;
  border-radius: 999px !important;
  border: 1px solid #93c5fd !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-size: 12.5px !important;
  font-weight: 700;
  cursor: pointer;
}
.ai-nav-link:hover { background: #2563eb !important; color: #ffffff !important; }

.ai-web-sources { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #f4f7fb; font-size: 12.5px; }
.ai-web-sources ul { margin: 4px 0 0; padding-left: 16px; }

.ai-doc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid #edf2fa;
  font-size: 12px;
  color: #64748b;
}
.ai-doc-actions { display: flex; align-items: center; gap: 6px; }
.ai-act-btn {
  padding: 3px 10px !important;
  min-height: 27px !important;
  font-size: 12px !important;
  font-weight: 600;
  border-radius: 7px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafd !important;
  color: #334155 !important;
  cursor: pointer;
}
.ai-act-btn:hover { background: #eef4ff !important; border-color: #93c5fd !important; color: #1d4ed8 !important; }
.ai-act-btn.is-reply {
  background: #ecfdf5 !important;
  border-color: #6ee7b7 !important;
  color: #047857 !important;
  font-weight: 700;
}
.ai-act-btn.is-reply:hover { background: #d1fae5 !important; border-color: #34d399 !important; color: #065f46 !important; }

.ai-followups { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.ai-fu-label { font-size: 11.5px; font-weight: 700; color: #64748b; padding-left: 2px; }
.ai-fu-list { display: flex; flex-wrap: wrap; gap: 7px; }
.ai-followup-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-align: left;
  padding: 6px 12px !important;
  min-height: 32px !important;
  border-radius: 10px !important;
  border: 1px solid #d8e4f5 !important;
  background: #ffffff !important;
  color: #1e40af !important;
  font-size: 12.5px !important;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 2px 8px -6px rgba(15, 23, 42, 0.14);
}
.ai-followup-chip:hover { background: #eff6ff !important; border-color: #60a5fa !important; }

/* Floating Bottom Pill Composer */
.ai-composer-dock {
  flex-shrink: 0;
  padding: 10px 22px 12px;
  background: linear-gradient(180deg, rgba(241, 245, 251, 0) 0%, #f1f5fb 22%);
}
.ai-composer-card {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid #cfdcf0;
  border-radius: 18px;
  padding: 10px 12px 9px;
  box-shadow: 0 10px 28px -14px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ai-composer-card:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14), 0 10px 28px -14px rgba(37, 99, 235, 0.22);
}
.ai-composer-card textarea {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  resize: none;
  padding: 2px 4px !important;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.55;
  color: #0f172a;
  min-height: 44px;
  max-height: 150px;
}
.ai-composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-composer-left, .ai-composer-right { display: flex; align-items: center; gap: 6px; }
.ai-mini-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 !important;
  padding: 4px 10px !important;
  min-height: 30px !important;
  border-radius: 999px !important;
  border: 1px solid #dbe4f2 !important;
  background: #f8fafd !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 650;
  cursor: pointer;
}
.ai-mini-toggle:hover { background: #eef4ff !important; border-color: #93c5fd !important; color: #1d4ed8 !important; }
.ai-mini-toggle.is-on { background: #dbeafe !important; border-color: #60a5fa !important; color: #1d4ed8 !important; }
.ai-send-btn {
  padding: 6px 16px !important;
  min-height: 34px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.5);
}
.ai-send-btn:hover { filter: brightness(1.06); }
.ai-stop-btn {
  padding: 6px 14px !important;
  min-height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid #fca5a5 !important;
  background: #fef2f2 !important;
  color: #dc2626 !important;
  font-size: 12.5px !important;
  font-weight: 700;
  cursor: pointer;
}
.ai-attach-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 12.5px;
  color: #1e3a8a;
}
.ai-attach-rm { border: 0; background: transparent; color: #dc2626; font-weight: 700; cursor: pointer; font-size: 12px !important; min-height: 22px !important; }
.ai-composer-foot {
  max-width: 820px;
  margin: 6px auto 0;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}

/* Briefing & Settings Sub-Stages */
.ai-sub-stage {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 24px 24px;
}
.ai-sub-stage > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.ai-pane-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ai-pane-toolbar h3 { margin: 0; font-size: 17px; font-weight: 800; color: #0f172a; }
.ai-pane-toolbar p { margin: 3px 0 0; font-size: 13px; color: #64748b; }
.ai-pane-toolbar-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ai-pane-toolbar-btns button { font-size: 13px !important; min-height: 34px !important; padding: 5px 14px !important; border-radius: 9px !important; }

.ai-diag-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.ai-diag-kpis article {
  background: #ffffff;
  border: 1px solid #dde6f4;
  border-radius: 13px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}
.ai-diag-kpis span { font-size: 12px; color: #64748b; font-weight: 600; }
.ai-diag-kpis strong { font-size: 22px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.ai-brief-lines {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.ai-bl-item {
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #94a3b8;
  background: #ffffff;
}
.ai-bl-item.is-run { border-left-color: #10b981; background: #f0fdf4; }
.ai-bl-item.is-on { border-left-color: #3b82f6; background: #f8fbff; }
.ai-bl-top { display: flex; justify-content: space-between; gap: 4px; font-size: 12px; }
.ai-bl-top span { font-weight: 700; color: #475569; white-space: nowrap; }
.ai-bl-item small { display: block; margin-top: 4px; font-size: 11.5px; color: #64748b; }

.ai-advice-box, .ai-risk-list, .ai-brief-md {
  background: #ffffff;
  border: 1px solid #dde6f4;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 13.5px;
  line-height: 1.65;
}
.ai-risk-list ul { margin: 6px 0 0; padding-left: 18px; }

.ai-settings-grid { display: grid; gap: 14px; }
.ai-card {
  background: #ffffff;
  border: 1px solid #dde6f4;
  border-radius: 15px;
  padding: 16px 18px;
}
.ai-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ai-card h3 { margin: 0; font-size: 16px; font-weight: 800; color: #0f172a; }
.ai-pill { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e2e8f0; color: #475569; }
.ai-pill.is-ok { background: #dcfce7; color: #15803d; }
.ai-form { display: grid; gap: 10px; }
.ai-form label { display: grid; gap: 4px; font-size: 13px; color: #334155; font-weight: 600; }
.ai-form .ai-check-row { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.ai-form input:not([type="checkbox"]), .ai-form select, .ai-key-form input {
  width: 100%;
  padding: 8px 11px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  background: #ffffff;
}
.ai-form-actions { display: flex; gap: 8px; margin-top: 4px; }
.ai-form-msg { margin: 2px 0 0; font-size: 13px; color: #2563eb; font-weight: 600; }
.ai-endpoints {
  display: grid;
  gap: 6px;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafd;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
}
.ai-endpoints > div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ai-endpoints code { background: #eef3ff; padding: 2px 6px; border-radius: 6px; color: #1e40af; }
.ai-key-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-bottom: 10px; }
.ai-new-key-box {
  padding: 11px 12px;
  border-radius: 11px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
}
.ai-new-key-box code { word-break: break-all; background: #ffffff; padding: 6px 8px; border-radius: 7px; border: 1px solid #fde68a; }
.ai-key-list { display: grid; gap: 7px; }
.ai-key-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 10px; background: #f8fafd; border: 1px solid #e2e8f0; }
.ai-key-row.is-revoked { opacity: 0.6; }
.ai-key-row > div { display: grid; gap: 2px; min-width: 0; }
.ai-key-row code { font-size: 12.5px; color: #2556c6; }
.ai-key-row small { font-size: 12px; color: #64748b; }
.ai-tools-details { margin-top: 10px; font-size: 13px; }
.ai-tools-details summary { cursor: pointer; font-weight: 700; color: #1d4ed8; }
.ai-tools-details ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 5px; }
.ai-muted { color: #64748b; font-size: 13.5px; margin: 0 0 8px; }
.ai-error { color: #b91c1c; font-size: 14px; font-weight: 650; }

/* Dark Mode Full Support */
body[data-theme="dark"] .ai-copilot-drawer { background: #0b1326; border-color: rgba(88, 124, 210, 0.36); color: #eef4ff; }
body[data-theme="dark"] .ai-ws-rail,
body[data-theme="dark"] .ai-main-topbar,
body[data-theme="dark"] .ai-mobile-tabs { background: #0f1932; border-color: rgba(88, 124, 210, 0.3); }
body[data-theme="dark"] .ai-ws-main { background: linear-gradient(180deg, #0b1326 0%, #0e172f 100%); }
body[data-theme="dark"] .ai-rail-brand-text strong,
body[data-theme="dark"] .ai-main-top-left h2,
body[data-theme="dark"] .ai-hero-stage h1,
body[data-theme="dark"] .ai-hero-card strong,
body[data-theme="dark"] .ai-doc-head strong,
body[data-theme="dark"] .ai-msg-body h2,
body[data-theme="dark"] .ai-msg-body li strong,
body[data-theme="dark"] .ai-pane-toolbar h3,
body[data-theme="dark"] .ai-card h3,
body[data-theme="dark"] .ai-diag-kpis strong { color: #eef4ff; }
body[data-theme="dark"] .ai-msg-body,
body[data-theme="dark"] .ai-thread-pick b { color: #dbe7fb; }
body[data-theme="dark"] .ai-msg-body h3 { color: #93c5fd; border-left-color: #60a5fa; }
body[data-theme="dark"] .ai-doc-card,
body[data-theme="dark"] .ai-hero-card,
body[data-theme="dark"] .ai-composer-card,
body[data-theme="dark"] .ai-card,
body[data-theme="dark"] .ai-diag-kpis article,
body[data-theme="dark"] .ai-bl-item,
body[data-theme="dark"] .ai-advice-box,
body[data-theme="dark"] .ai-risk-list,
body[data-theme="dark"] .ai-brief-md { background: rgba(18, 30, 58, 0.94) !important; border-color: rgba(88, 124, 210, 0.34) !important; color: #eef4ff; }
body[data-theme="dark"] .ai-composer-dock { background: linear-gradient(180deg, rgba(14, 23, 47, 0) 0%, #0e172f 22%); }
body[data-theme="dark"] .ai-composer-card textarea { color: #eef4ff; }
body[data-theme="dark"] .ai-user-bubble { background: rgba(37, 99, 235, 0.28); border-color: rgba(96, 165, 250, 0.45); color: #eef4ff; }
body[data-theme="dark"] .ai-trace-strip { background: rgba(24, 39, 74, 0.85); border-color: rgba(88, 124, 210, 0.3); }
body[data-theme="dark"] .ai-md-quote { background: rgba(30, 58, 138, 0.3); color: #cbd5e1; border-left-color: #60a5fa; }
body[data-theme="dark"] .ai-md-table-wrap { background: rgba(12, 22, 44, 0.92); border-color: rgba(88, 124, 210, 0.34); }
body[data-theme="dark"] .ai-md-table-wrap th { background: rgba(30, 58, 138, 0.48); color: #bfdbfe; }
body[data-theme="dark"] .ai-md-table-wrap td { color: #e2e8f0; border-color: rgba(88, 124, 210, 0.22); }
body[data-theme="dark"] .ai-md-table-wrap tbody tr:nth-child(even) { background: rgba(30, 48, 86, 0.42); }
body[data-theme="dark"] .ai-top-ctrl,
body[data-theme="dark"] .ai-close-btn,
body[data-theme="dark"] .ai-rail-toggle-btn,
body[data-theme="dark"] .ai-rail-close-btn,
body[data-theme="dark"] .ai-extra-chip,
body[data-theme="dark"] .ai-mini-toggle,
body[data-theme="dark"] .ai-act-btn,
body[data-theme="dark"] .ai-followup-chip,
body[data-theme="dark"] .ai-pulse-chip { background: rgba(24, 39, 74, 0.9) !important; border-color: rgba(88, 124, 210, 0.36) !important; color: #dbeafe !important; }
body[data-theme="dark"] .ai-act-btn.is-reply { background: rgba(6, 78, 59, 0.55) !important; border-color: rgba(52, 211, 153, 0.5) !important; color: #6ee7b7 !important; }
body[data-theme="dark"] .ai-key-row,
body[data-theme="dark"] .ai-endpoints,
body[data-theme="dark"] .ai-form input:not([type="checkbox"]),
body[data-theme="dark"] .ai-form select,
body[data-theme="dark"] .ai-key-form input { background: rgba(12, 22, 44, 0.95); border-color: rgba(88, 124, 210, 0.4); color: #eef4ff; }

/* Responsive Collapse & Mobile App-Grade Layout */
@media (max-width: 900px) {
  .ai-copilot-drawer.is-workspace,
  .ai-copilot-drawer.is-drawer {
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    transform: translateY(18px);
  }
  .ai-copilot-drawer.is-workspace.is-open,
  .ai-copilot-drawer.is-drawer.is-open { transform: translateY(0); }
  .ai-ws-rail {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 30;
    width: min(286px, 84vw);
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-104%);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 16px 0 42px -12px rgba(15, 23, 42, 0.34);
  }
  .ai-copilot-drawer.is-rail-open .ai-ws-rail { transform: translateX(0); }
  .ai-copilot-drawer.is-rail-open .ai-rail-scrim { opacity: 1; pointer-events: auto; }
  .ai-rail-toggle-btn,
  .ai-rail-close-btn { display: inline-flex; }
  .ai-mobile-tabs { display: grid; }
  .ai-top-ctrl[data-ai-action="new-chat-mini"] { display: inline-flex; }
  .ai-top-ctrl[data-ai-action="toggle-mode"] { display: none; }
  .ai-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-diag-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-brief-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ai-topbar-btn { padding: 6px 10px !important; }
  .ai-main-topbar {
    padding: max(8px, env(safe-area-inset-top)) 10px 8px;
    gap: 6px;
  }
  .ai-main-top-left { gap: 8px; flex: 1; min-width: 0; }
  .ai-main-top-left h2 { font-size: 14.5px; }
  .ai-page-ctx-pill { display: none; }
  .ai-rail-toggle-btn,
  .ai-close-btn { width: 36px; height: 36px; min-height: 36px !important; }
  .ai-top-ctrl[data-ai-action="new-chat-mini"] {
    width: 36px;
    height: 36px;
    min-height: 36px !important;
    padding: 0 !important;
    justify-content: center;
  }
  .ai-top-ctrl[data-ai-action="new-chat-mini"] .ai-btn-txt { display: none; }
  .ai-top-ctrl[data-ai-action="new-chat-mini"] .ai-btn-ico { font-size: 18px; line-height: 1; }

  .ai-mobile-tabs { padding: 6px 10px; gap: 5px; }
  .ai-mobile-tabs button { min-height: 34px !important; font-size: 12.5px !important; padding: 5px 6px !important; }

  .ai-chat-scroll { padding: 12px 10px 10px; }
  .ai-chat-center { gap: 12px; }

  /* Compact Mobile Welcome Hero (fits above fold) */
  .ai-hero-stage { padding: 4px 2px 6px; align-items: stretch; text-align: left; }
  .ai-hero-badge { align-self: flex-start; font-size: 11px; padding: 3px 10px; margin-bottom: 8px; }
  .ai-hero-stage h1 { font-size: 19px; line-height: 1.3; margin-bottom: 5px; }
  .ai-hero-sub { font-size: 12.5px; line-height: 1.5; margin-bottom: 12px; }
  .ai-hero-grid { gap: 8px; }
  .ai-hero-card { padding: 11px 13px !important; border-radius: 13px !important; gap: 4px; }
  .ai-hero-card strong { font-size: 14px; }
  .ai-hero-card p { font-size: 12px; line-height: 1.45; }
  .ai-hero-extras {
    margin-top: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .ai-hero-extras::-webkit-scrollbar { display: none; }
  .ai-extra-chip { flex-shrink: 0; font-size: 12px !important; padding: 6px 11px !important; min-height: 32px !important; }

  /* Mobile Editorial Conversation & Tables */
  .ai-user-bubble { max-width: 90%; padding: 9px 13px; font-size: 14px; border-radius: 16px 16px 4px 16px; }
  .ai-doc-card { padding: 13px 12px 11px; border-radius: 14px; }
  .ai-doc-head { margin-bottom: 8px; }
  .ai-trace-strip { padding: 5px 8px; font-size: 11px; gap: 4px; }
  .ai-msg-body { font-size: 14px; line-height: 1.66; }
  .ai-msg-body h2 { font-size: 15.5px; }
  .ai-msg-body h3 { font-size: 14px; margin-top: 12px; }
  .ai-md-quote { padding: 8px 10px; font-size: 12.5px; }
  .ai-md-table-wrap table { min-width: 440px; font-size: 12px; }
  .ai-md-table-wrap th, .ai-md-table-wrap td { padding: 6px 8px; }
  .ai-doc-foot { flex-wrap: wrap; gap: 6px; font-size: 11.5px; }
  .ai-doc-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
  .ai-act-btn { min-height: 36px !important; padding: 4px 11px !important; }
  .ai-fu-list { flex-direction: column; gap: 6px; }
  .ai-followup-chip { width: 100%; justify-content: flex-start; padding: 8px 11px !important; min-height: 40px !important; font-size: 12.5px !important; }

  /* Safe-Area Bottom Pill Composer (16px font prevents iOS zoom) */
  .ai-composer-dock { padding: 6px 10px calc(10px + env(safe-area-inset-bottom)); }
  .ai-composer-card { border-radius: 16px; padding: 8px 10px 8px; gap: 6px; }
  .ai-composer-card textarea { font-size: 16px; min-height: 44px; max-height: 120px; line-height: 1.45; }
  .ai-mini-toggle { min-height: 34px !important; padding: 4px 10px !important; font-size: 12px !important; }
  .ai-send-btn, .ai-stop-btn { min-height: 36px !important; padding: 6px 14px !important; font-size: 13px !important; }
  .ai-composer-foot { display: none; }

  .ai-sub-stage { padding: 12px 10px calc(18px + env(safe-area-inset-bottom)); }
  .ai-key-form { grid-template-columns: minmax(0, 1fr); }
}
/* END AI COPILOT STYLES */
/* BEGIN ELECTRICITY TOOLS STYLES */
.et-action-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 16px;
  margin: 0 0 12px;
  border-radius: 14px;
  background: linear-gradient(125deg, #eff6ff 0%, #f0fdfa 100%);
  border: 1px solid #bfdbfe;
  box-shadow: 0 8px 20px -14px rgba(37, 99, 235, 0.25);
}
.et-action-banner.is-warn {
  background: linear-gradient(125deg, #fffbeb 0%, #eff6ff 100%);
  border-color: #fcd34d;
}
.et-banner-copy strong {
  display: block;
  font-size: 14.5px;
  font-weight: 850;
  color: #0f172a;
}
.et-banner-copy span {
  display: block;
  font-size: 12.5px;
  color: #475569;
  margin-top: 2px;
}
.et-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.et-btn {
  min-height: 38px;
  padding: 7px 14px;
  font-weight: 750;
  font-size: 13px;
  border-radius: 10px;
}

.et-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(2, 6, 23, 0.64);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.et-modal {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 24px 54px -18px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.et-modal.is-wide { max-width: 760px; }
.et-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(125deg, #0b1b3d, #1e3a8a);
  color: #ffffff;
}
.et-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #93c5fd;
}
.et-modal-head h3 { margin: 2px 0 0; font-size: 16.5px; font-weight: 850; color: #ffffff; }
.et-close {
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(191, 219, 254, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}
.et-modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.et-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.et-qr-stage {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 14px;
}
.et-qr-img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 10px;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.3);
}
.et-qr-placeholder {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  line-height: 1.5;
}
.et-qr-placeholder.is-ok { color: #047857; }
.et-qr-placeholder.is-err { color: #b91c1c; }
.et-qr-msg { margin: 0; font-size: 13px; color: #334155; text-align: center; }
.et-qr-msg.is-ok { color: #047857; font-weight: 750; }
.et-qr-msg.is-err { color: #b91c1c; font-weight: 750; }

.et-meter-row label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 750; color: #334155; }
.et-meter-row select { min-height: 40px; padding: 6px 10px; border-radius: 10px; border: 1px solid #cbd5e1; font-size: 14px; }

.et-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.et-tab {
  appearance: none;
  min-height: 38px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
}
.et-tab[aria-selected="true"] {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.et-upload-box {
  padding: 14px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px dashed #60a5fa;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.et-file-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 750; color: #1d4ed8; cursor: pointer; }
.et-upload-box small { font-size: 12px; color: #475569; }
.et-raw-ocr pre { max-height: 120px; overflow: auto; font-size: 11.5px; background: #0f172a; color: #e2e8f0; padding: 8px; border-radius: 8px; white-space: pre-wrap; }

.et-csv-box label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: #334155; }
.et-csv-box textarea { width: 100%; border-radius: 10px; border: 1px solid #cbd5e1; padding: 8px 10px; font-family: Consolas, monospace; font-size: 13px; box-sizing: border-box; }

.et-quick-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.et-quick-form label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 700; color: #475569; }
.et-quick-form input, .et-quick-form select { min-height: 38px; padding: 6px 8px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 13.5px; }
.et-q-add { grid-column: 1 / -1; }

.et-msg { padding: 9px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 700; }
.et-msg.is-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.et-msg.is-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.et-preview-title { margin: 2px 0 0; font-size: 13px; font-weight: 800; color: #0f172a; }
.et-empty-preview { padding: 14px; text-align: center; font-size: 12.5px; color: #64748b; background: #f8fafc; border-radius: 10px; border: 1px dashed #cbd5e1; }
.et-preview-list { display: flex; flex-direction: column; gap: 8px; }
.et-preview-row { padding: 10px 12px; border-radius: 11px; background: #f8fafc; border: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 8px; }
.et-pr-top { display: flex; align-items: center; gap: 8px; }
.et-pr-badge { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: #dbeafe; color: #1d4ed8; }
.et-pr-top b { font-size: 13px; color: #0f172a; flex: 1; }
.et-del-row { appearance: none; border: 1px solid #fecaca; background: #fef2f2; color: #b91c1c; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; cursor: pointer; }
.et-pr-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.et-pr-fields label { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: #64748b; }
.et-pr-fields input { min-height: 34px; padding: 4px 7px; border-radius: 7px; border: 1px solid #cbd5e1; font-size: 13px; }

/* Dark Mode */
body[data-theme="dark"] .et-action-banner { background: rgba(15, 29, 60, 0.9); border-color: rgba(56, 189, 248, 0.36); }
body[data-theme="dark"] .et-banner-copy strong { color: #f8fafc; }
body[data-theme="dark"] .et-banner-copy span { color: #cbd5e1; }
body[data-theme="dark"] .et-modal { background: #0f172a; border-color: rgba(88, 124, 210, 0.45); color: #f1f5f9; }
body[data-theme="dark"] .et-modal-foot { background: #0b1325; border-top-color: rgba(88, 124, 210, 0.3); }
body[data-theme="dark"] .et-preview-row, body[data-theme="dark"] .et-qr-stage { background: #16223e; border-color: rgba(88, 124, 210, 0.35); }
body[data-theme="dark"] .et-preview-title, body[data-theme="dark"] .et-pr-top b { color: #f8fafc; }

/* Mobile Bottom-Sheet Drawer & 44px Touch Parity (<= 760px) */
@media (max-width: 760px) {
  .et-action-banner { flex-direction: column; align-items: stretch; padding: 12px; }
  .et-banner-btns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .et-btn { min-height: 44px; width: 100%; font-size: 14px; }
  .et-modal-backdrop { align-items: flex-end; padding: 0; }
  .et-modal, .et-modal.is-wide {
    max-width: none;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }
  .et-modal-body { padding: 12px 14px; }
  .et-modal-foot {
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .et-meter-row select,
  .et-quick-form input,
  .et-quick-form select,
  .et-pr-fields input,
  .et-csv-box textarea {
    font-size: 16px;
    min-height: 44px;
  }
  .et-quick-form, .et-pr-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-tab { min-height: 42px; font-size: 12px; }
}
/* END ELECTRICITY TOOLS STYLES */
/* 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 */

