:root{--bg:#0d1b27;--panel:#172a38;--ink:#e8f0f4;--muted:#a6bac7;--line:#304554;--navy:#0b1720;--gold:#d6b573;--green:#64c5af;--blue:#7eb8e5}body{background:var(--bg);color:var(--ink);font-size:16px}button{background:#203746;color:#e8f0f4;border-color:#3d5869;border-radius:7px}button:hover{background:#2c495a;border-color:#9db5c3}button.gold,.gold{background:#d6b573;color:#14222d;border-color:#d6b573}.primary{background:#315a66;color:#fff}.rail{width:224px;background:#0a1720;border-right:1px solid #253d4d;padding:22px 15px}.logo{width:175px;height:58px}.customer{margin:15px 0;border-color:#2d4352;padding:14px 10px}.customer img{height:45px}.rail nav{gap:2px}.rail nav button{font-size:14px;min-height:40px;padding:9px 10px}.rail nav button.active{background:#233b49;border-left:3px solid #d6b573}.railFoot{font-size:12px}.workspace{margin-left:224px;padding:24px 30px;max-width:2000px}header{margin-bottom:20px}h1{font-size:30px;font-weight:650;letter-spacing:-.03em}h2{font-size:21px}h3{font-size:18px}.tools button{font-size:13px}#parts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 18px}#parts button{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;padding:16px;text-align:left;background:#122532;border-color:#2c4655}#parts button.selected{border-color:#b5975f;background:#233441}#parts small{color:#d6b573;font-size:16px;font-weight:700}#parts span{font-size:17px;font-weight:600}#parts b{font-size:12px;font-weight:500;color:#b6c9d5}.context{font-size:14px;padding:12px 0 18px}.context button{font-size:13px}.card,.kpi{background:#172a38;border:1px solid #304554;box-shadow:0 10px 30px #00000010;border-radius:12px}.card{padding:20px}.kpi{padding:18px}.kpi label{font-size:13px;letter-spacing:.07em}.kpi strong{font-size:32px;font-weight:550;font-variant-numeric:tabular-nums}.kpi small{font-size:13px}.kpi strong small{font-size:14px}.pill{color:#bed3df;border-color:#496574;font-size:13px}.pill.good{color:#94ddc6;background:#1e403d;border-color:#397167}.pill.warn{background:#473b22;color:#f0d394;border-color:#836a35}.chart text{fill:#afc2cf;font-size:13px}.chart path[stroke="#c5d2d8"]{stroke:#304a5b}.equipment{fill:url(#steel);stroke:#658698;stroke-width:1.4}.process text{fill:#d5e3ec}.process [data-go]:hover .equipment{fill:#36576a;stroke:#dfbe7f}.process .pipe{stroke:#36576a}.process .flow{stroke:#7ac5b6;opacity:.8}.process{min-height:300px}.processWrap{border-radius:9px;background:radial-gradient(ellipse at 50% 50%,#20394a 0,#132532 70%);border:1px solid #304a5b}.areaTiles button{background:#1b3342;min-height:100px;border-color:#365464}.areaTiles small{font-size:14px;margin-top:8px;color:#a9bfcc}.areaTiles b{font-size:16px}.notice{background:#213c4b;border-left-color:#7eb8e5;color:#d7e6ef}.warning{background:#423820;border-color:#d6b573}.small{font-size:14px}.positive{color:#7ed3ba}table{font-size:15px}th{font-size:13px;color:#a6bac7}td,th{border-color:#304554;padding:13px 8px}.formGrid input,input,select{background:#10222e;color:#e8f0f4;border-color:#496574}.formGrid label{font-size:14px}.module{background:#182f3e}.module span{color:#d6b573}.module p{font-size:15px}.legend{font-size:14px}#narration{background:#122633;border-color:#3b5364;border-top-color:#d6b573;padding:12px 16px;border-radius:8px}#caption{color:#e7eef4;font-size:18px;min-height:54px}#caption .spoken{color:#a8becb}#caption .speaking{color:#f5d493}.narrationControls{font-size:13px}.narrationControls button{font-size:13px}.packTabs{background:#102330;padding:10px 0;gap:7px}.packTabs .active{background:#365b6d;border-color:#a4becd}#packFrame{background:#102330;min-height:800px;border-color:#304554}.section-label{font-size:12px;letter-spacing:.12em;font-weight:700;color:#d6b573;display:block;margin-bottom:10px}.status-badge{font-size:12px;letter-spacing:.08em;padding:6px 10px;border:1px solid #506675;border-radius:5px;color:#c6d7e2;white-space:nowrap}.status-badge.verified{color:#8fd7bb;border-color:#487d6b}.batch-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:4px 0 22px}.batch-heading h2{font-size:29px;letter-spacing:-.025em;margin-bottom:9px}.batch-heading p{font-size:14px;color:#a6bac7;margin:0}.batch-heading p span{color:#667f91;margin:0 8px}.batch-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.ledger-kpi{border:1px solid #344c5b;border-radius:9px;background:#162c3b;padding:16px;display:grid;gap:8px;align-content:start}.ledger-kpi small{font-size:13px;color:#aebfcb}.ledger-kpi strong{font-size:27px;font-weight:550;line-height:1.2;font-variant-numeric:tabular-nums}.ledger-kpi span{font-size:12px;color:#a4bac8}.batch-kpis.compact{grid-template-columns:repeat(3,1fr)}.batch-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:20px}.batch-steps button{display:flex;flex-direction:column;gap:10px;text-align:left;min-height:90px;background:#122633;border-color:#344b5a;font-size:14px;padding:13px}.batch-steps button span{font-size:12px;color:#a0b6c5}.batch-steps button.selected{background:#2c4350;border-color:#d6b573}.batch-steps button.complete span{color:#83d1b6}.enterprise-tabs{display:flex;gap:20px;border-bottom:1px solid #344b5a;margin-bottom:20px}.enterprise-tabs button{border:0;border-radius:0;padding:0 2px 12px;background:transparent;color:#9eb6c6}.enterprise-tabs .selected{border-bottom:2px solid #d6b573;color:#f0f4f8}.batch-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px}.batch-detail{min-height:430px}.batch-aside{background:#132633}.batch-action{margin-top:22px;border-top:1px solid #344b5a;padding-top:18px;display:flex;gap:16px;align-items:center}.batch-action span{font-size:13px;color:#9eb6c6}.ledger-table td:first-child{color:#bdd0dc}.ledger-table td:nth-child(2){color:#eff5f7;font-weight:550}.ledger-table td:last-child{font-size:13px;color:#9eb6c6}.order-product{display:grid;grid-template-columns:120px 1fr;gap:24px;align-items:center}.can-art{height:212px;border-radius:18px 18px 22px 22px;background:linear-gradient(90deg,#285b4b,#4a866c 40%,#204d3e);box-shadow:inset 5px 0 12px #ffffff25,8px 16px 20px #0003;border-top:9px solid #9eafb2;border-bottom:7px solid #a0afb4;display:grid;place-items:center;text-align:center}.can-art span{font-size:12px;letter-spacing:.15em;color:#c9dcd1}.can-art b{display:block;color:#ecf1e4;font-size:20px;margin:14px 0}.can-art small{display:block;font-size:12px}.genealogy{display:grid;margin:20px 0}.genealogy>div{border-left:1px solid #486577;padding:0 0 22px 18px;position:relative}.genealogy>div:before{content:'';position:absolute;left:-4px;top:5px;width:7px;height:7px;background:#7da5b8;border-radius:1px}.genealogy b{font-size:14px;display:block;font-weight:600}.genealogy span{display:block;font-size:13px;color:#a0b9ca;margin-top:4px}.aside-note{font-size:13px;color:#9db5c4;line-height:1.6}.audit-strip{border-top:1px solid #344b5a;padding:16px 0;display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:13px;color:#9db5c4}.audit-strip b{font-size:12px;color:#d6b573;letter-spacing:.1em}.audit-strip button{margin-left:auto;font-size:13px}.readiness{display:grid;grid-template-columns:1fr 1fr;gap:12px}.readiness>div{display:flex;gap:12px;padding:18px 12px;background:#1c3544;border-radius:7px;align-items:center}.readiness .check{color:#80cbb0}.readiness b{display:block;font-size:13px;color:#9eb6c6;margin-top:6px}.readiness small{font-size:11px;margin-left:auto;color:#96b1c2}.production-lane{display:flex;align-items:center;margin:26px 0;font-size:13px;gap:9px}.production-lane span{padding:8px;border:1px solid #456271;border-radius:5px}.production-lane i{flex:1;height:1px;background:#62889c}.event-callout{display:flex;align-items:center;gap:14px;background:#3b3527;border:1px solid #806b42;padding:16px;border-radius:8px;margin-bottom:20px}.alarm-mark{font-size:20px;border:1px solid #d6b573;padding:3px 11px;border-radius:50%;color:#e9c780}.event-callout p{font-size:14px;color:#d3c4a5;margin:7px 0 0}.event-callout>span:last-child{font-size:12px;margin-left:auto}.module-ribbon{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.module-ribbon button{font-size:13px;color:#d6b573}.quality-gate{padding:16px;border:1px solid #a48853;background:#3e3829;border-radius:8px;margin-bottom:20px}.quality-gate b{display:block;color:#ebd19b;font-size:16px}.quality-gate span{display:block;font-size:14px;margin-top:8px;color:#c5c5bd}.module-canvas{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.module-evidence{text-align:left;min-height:220px;background:#142a39;padding:22px;border:1px solid #355261}.module-evidence>span{display:block;color:#d6b573;letter-spacing:.1em;font-size:13px;margin-bottom:20px}.module-evidence h3{font-size:18px}.module-evidence p{font-size:14px;font-weight:400;color:#abc2cf;line-height:1.6}.module-evidence small{color:#82bcae;font-size:12px}.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.support-grid p{font-size:15px;color:#b6c9d6}.answer{background:#10222e;padding:16px;border-radius:7px;margin-top:20px!important}dialog{background:#172d3b;color:#e7f0f4;border-color:#587487}dialog::backdrop{background:#050d16cc}.close{color:white}#toast{background:#244a5b;border:1px solid #668e9f}.small.muted,.muted{color:#abc0cd}.hero-process .cardHead{margin-bottom:16px}.plant-status{display:flex;gap:25px;font-size:13px;padding:14px 0 0;color:#abc1d0}.plant-status b{color:#e5eef4;margin-left:7px}.overview-bottom{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}.dispatch-row{display:flex;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #304b5c}.dispatch-row:last-child{border:0}.dispatch-row b{font-size:14px}.dispatch-row span{font-size:13px;color:#a9c0cf}.dispatch-row .pill{margin-left:auto}.process-link{cursor:pointer}.process-link:hover .vessel{stroke:#dfbd78}.process-link:focus{outline:none}.process-link:focus .vessel{stroke:#dfbd78;stroke-width:3}.process text{fill:#c3d5e0}.process .tag{fill:#eaf1f6;font-weight:600}.process .vessel{stroke:#6b899d;fill:url(#steel)}.process .liquid{fill:#6b938b;opacity:.45}.process .sensor{fill:#c8dbdd}.process .pipe-main{stroke:#497282;stroke-width:4;fill:none}.process .pipe-active{stroke:#8abcb3;stroke-width:2;stroke-dasharray:6 14;fill:none;animation:flow 3s linear infinite}@media(prefers-reduced-motion:reduce){.process .pipe-active,.process .flow{animation:none}}@media(max-width:1200px){.batch-grid{grid-template-columns:1fr}.batch-aside .genealogy{grid-template-columns:repeat(5,1fr)}.module-canvas{grid-template-columns:repeat(2,1fr)}.batch-kpis{grid-template-columns:repeat(2,1fr)}.batch-steps{grid-template-columns:repeat(3,1fr)}.workspace{padding:20px}.tools button{font-size:12px}#parts b{display:none}.overview-bottom{grid-template-columns:1fr}}@media(max-width:900px){.rail{width:180px}.workspace{margin-left:180px}.rail .logo{width:145px}.rail nav button{font-size:13px}.order-product{grid-template-columns:85px 1fr}.can-art{height:160px}.readiness{grid-template-columns:1fr}.support-grid{grid-template-columns:1fr}.batch-heading{align-items:flex-start;flex-direction:column}.batch-heading h2{font-size:24px}}@media(max-width:720px){.rail{position:static;width:100%;padding:12px}.workspace{margin:0;padding:14px}.rail .logo{height:35px}.rail nav{display:flex}.batch-steps{grid-template-columns:repeat(3,1fr)}#parts{gap:7px}#parts button{grid-template-columns:1fr;padding:12px;gap:5px}#parts span{font-size:14px}.module-canvas{grid-template-columns:1fr 1fr;gap:9px}.module-evidence{padding:15px}.batch-aside .genealogy{grid-template-columns:1fr}.batch-kpis.compact{grid-template-columns:1fr 1fr}.batch-action{flex-direction:column;align-items:flex-start}.order-product{grid-template-columns:1fr}.can-art{display:none}.context{font-size:12px}.plant-status{flex-wrap:wrap;gap:12px}.batch-kpis strong{font-size:23px}}
/* Keep the enlarged live chart visible during its narration. */
body.prediction-tour .workspace>header,body.prediction-tour #parts,body.prediction-tour .workspace>.context{display:none}
body.prediction-tour #narration{padding:8px 14px;margin:0 0 8px}
body.prediction-tour #caption{min-height:30px}
body.prediction-tour #packFrame{height:calc(100vh - 170px);min-height:600px}
