.erection-page{max-width:960px;margin:0 auto;padding:32px 24px 56px}.erection-page h1{color:var(--steel-dark);font-size:clamp(2rem,5vw,3rem);line-height:1.15;margin:8px 0 16px}.erection-page .intro{max-width:780px;margin-bottom:20px}.plan-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin:18px 0 28px}.plan-links a{font-weight:650;color:var(--steel-dark);text-underline-offset:4px}#erection-three-views{--foreground:#192739;--muted-foreground:#63778b;--muted:#e6edf3;--border:#b8c7d4;--viz-series-1:#14669a;--viz-series-2:#bb620e;background:#fff;padding:24px;border:1px solid #d8e1e8;border-radius:8px}#erection-three-views h3{font-size:20px;margin:0 0 16px;color:var(--foreground)}#erection-three-views .viz-controls{display:flex;flex-wrap:wrap;gap:8px}#erection-three-views .btn{min-width:44px;min-height:44px;border:1px solid #b8c7d4;border-radius:5px;background:#fff;color:#192739;padding:8px 14px;font:inherit;cursor:pointer}#erection-three-views .btn[aria-pressed=true]{background:#192739;color:#fff;border-color:#192739;box-shadow:inset 0 -3px #efa44b}#erection-three-views .btn:focus-visible,#erection-three-views input:focus-visible{outline:3px solid #bb620e;outline-offset:3px}#erection-three-views .form-label{display:block;width:100%;max-width:480px;color:var(--foreground)}#erection-three-views .form-range{display:block;width:100%;min-height:44px;accent-color:#14669a}#erection-three-views .text-small{font-size:14px}#erection-three-views .text-muted{color:#526477}#erection-three-views .tabular-nums{font-variant-numeric:tabular-nums}#erection-three-views hr{border:0;border-top:1px solid #d8e1e8;margin:24px 0}#deck-summary{font-size:15px;color:#526477}.erection-context{margin:30px 0 0}.erection-context h2{font-size:23px;color:var(--steel-dark)}.header-inner nav a[aria-current=page]{color:var(--signal)}@media(max-width:600px){.erection-page{padding:24px 12px 40px}#erection-three-views{padding:14px 10px}.header-inner{gap:16px}.header-inner nav{gap:8px 16px}}

.sequence-legend{display:flex;flex-wrap:wrap;gap:12px 22px;margin:18px 0;font-size:14px}.sequence-legend span{display:flex;align-items:center;gap:8px}.sequence-legend i{width:18px;height:12px;display:inline-block;border-radius:2px}.erected{--status-color:#14669a}.active{--status-color:#bb620e}.future{--status-color:#b8c7d4}.sequence-legend i,.schedule-bar{background:var(--status-color)}.sequence-legend .future{background:#edf2f6;border:1px dashed #63778b}.plan-schedule{margin:22px 0;padding:20px 0;border-top:1px solid #d8e1e8;border-bottom:1px solid #d8e1e8}.plan-schedule p{margin:8px 0 14px}.schedule-axis,.schedule-row{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;align-items:center}.schedule-axis{font-size:14px;margin:24px 12px 12px 0}.schedule-axis>div{position:relative;height:22px}.schedule-axis>div>span{position:absolute;transform:translateX(-50%);top:0}.schedule-row{width:100%;text-align:left;border:0;border-radius:4px;padding:4px 12px 4px 0;min-height:44px;font:inherit;font-size:14px;color:#192739;background:transparent;cursor:pointer}.schedule-row.setup{cursor:default}.schedule-row[aria-pressed=true]{background:#fff1df;font-weight:650;box-shadow:inset 3px 0 #bb620e}.schedule-row>span:first-child{padding-left:8px}.schedule-row:focus-visible{outline:3px solid #bb620e;outline-offset:2px}.schedule-track{height:28px;position:relative;display:block;border-left:1px solid #b8c7d4;background:repeating-linear-gradient(to right,#e6edf3 0,#e6edf3 1px,transparent 1px,transparent 25%)}.schedule-bar{position:absolute;top:5px;height:18px;border-radius:3px;box-sizing:border-box}.schedule-bar.future{background:#edf2f6;border:1px dashed #63778b}#schedule-position{font-size:16px;font-weight:650;color:#8a4505;margin-top:18px}@media(max-width:400px){.schedule-axis,.schedule-row{grid-template-columns:86px minmax(0,1fr);gap:8px}.schedule-axis{font-size:13px}}

.sequence-legend .shakeout{background:#73609333;border:2px dashed #736093}

.erection-page{max-width:1320px}.model-data-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:26px;align-items:start;margin:20px 0 30px}.model-panel,.sequence-data,.drawing-pair>section{min-width:0}.model-panel{background:#f7fafc;border-radius:6px;padding:16px}.sequence-data{padding-top:16px}.drawing-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;border-top:1px solid #d8e1e8;padding-top:24px}.sequence-table-wrap{overflow-x:auto}.sequence-table{border-collapse:collapse;width:100%;min-width:550px;font-size:14px;font-variant-numeric:tabular-nums}.sequence-table th,.sequence-table td{padding:12px 7px;border-bottom:1px solid #d8e1e8;text-align:right;white-space:nowrap}.sequence-table th:first-child{text-align:left}.sequence-table thead th{font-size:14px;background:#edf2f6;white-space:normal}.sequence-table tbody tr{cursor:pointer}.sequence-table tbody tr.active{background:#fff0dc;box-shadow:inset 4px 0 #bb620e}.sequence-table tbody tr.erected{background:#edf3f8}.sequence-table tbody th{font-weight:400}.sequence-table small{display:block;font-size:12px;color:#526477;margin-top:4px}.sequence-table button{font:inherit;font-weight:650;background:none;border:0;color:#193f63;min-height:30px;cursor:pointer;padding:0}.sequence-table .active button{color:#8a4505}.sequence-table button:focus-visible{outline:3px solid #bb620e;outline-offset:3px}.sequence-legend .erected{background:#193f63}.schedule-bar.erected{background:#193f63}#deck-summary{font-weight:650;color:#193f63;min-height:48px}.model-panel .form-label{font-size:14px}@media(max-width:1000px){.model-data-layout{grid-template-columns:1fr}.model-panel{max-width:650px;width:100%;box-sizing:border-box;margin:0 auto}.sequence-data{padding-top:0}}@media(max-width:650px){.drawing-pair{grid-template-columns:1fr}.model-panel{padding:10px}.model-data-layout{gap:16px}}

.time-production{border-top:1px solid #d8e1e8;padding-top:20px}.time-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.time-controls label{font-weight:650}.time-controls input[type=range]{flex:1;min-width:180px;min-height:44px;accent-color:#bb620e}.production-metrics,.production-curves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.production-metrics>div{background:#edf3f8;padding:16px;border-radius:5px}.production-metrics span,.production-metrics small{display:block;font-size:14px}.production-metrics strong{display:block;font-size:26px;color:#193f63;margin:6px 0}.production-curves svg{width:100%;display:block}.sequence-table{min-width:550px}@media(max-width:650px){.production-metrics,.production-curves{grid-template-columns:1fr}.production-metrics strong{font-size:23px}.time-controls input[type=range]{flex-basis:100%}}

.labor-cost-toggle{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;cursor:pointer}.labor-cost-toggle input{width:22px;height:22px;accent-color:#bb620e}.labor-cost-panel{border-left:3px solid #bb620e;padding:0 14px;margin:10px 0 20px}.labor-cost-panel[hidden]{display:none}.labor-cost-panel .production-metrics>div{background:#fff2e1}
#erection-three-views #play-schedule{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:14px 24px;background:#a84f10;color:#fff;border:2px solid #a84f10;border-radius:6px;font-size:18px;font-weight:750;box-shadow:0 3px 0 #773708;cursor:pointer}
#erection-three-views #play-schedule::before{content:"";width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:12px solid currentColor}
#erection-three-views #play-schedule[aria-pressed=true]::before{width:12px;height:16px;border:0;background:linear-gradient(to right,currentColor 0 4px,transparent 4px 8px,currentColor 8px 12px)}
#erection-three-views #play-schedule:hover{background:#8e410b;border-color:#8e410b}
#erection-three-views #play-schedule:focus-visible{outline:3px solid #193f63;outline-offset:4px}
#erection-three-views #play-schedule:active{transform:translateY(2px);box-shadow:0 1px 0 #773708}
@media(max-width:650px){#erection-three-views #play-schedule{flex-basis:100%;width:100%;min-height:56px}}

/* Stack sequence data into readable cards on narrow screens. */
@media (max-width:650px){
 .sequence-table-wrap{overflow:visible}
 .sequence-table{display:block;min-width:0;width:100%;font-size:16px}
 .sequence-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .sequence-table tbody{display:grid;gap:12px}
 .sequence-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #d8e1e8;border-radius:8px;overflow:hidden;padding:8px 12px;background:#f7fafc}
 .sequence-table tbody th{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;padding:0 0 6px;white-space:normal}
 .sequence-table button{min-height:44px;font-size:16px}
 .sequence-table small{font-size:14px;margin:0}
 .sequence-table tbody td{min-width:0;padding:8px 0;text-align:left;white-space:normal;overflow-wrap:anywhere;border-bottom:0}
 .sequence-table tbody td:nth-child(2){grid-column:1/-1}
 .sequence-table tbody td::before{content:attr(data-label);display:block;font-size:14px;line-height:1.4;color:#526477;margin-bottom:2px}
}

.erection-shell{max-width:1510px;margin:auto;display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;padding:0 18px}.erection-shell .erection-page{min-width:0;width:100%;box-sizing:border-box;padding-left:8px;padding-right:8px}.section-nav{position:sticky;top:20px;align-self:start;margin-top:38px;display:grid;gap:4px;font-size:14px}.section-nav>span{font-weight:700;color:#193f63;padding:8px 10px}.section-nav a{padding:10px;min-height:44px;box-sizing:border-box;color:#193f63;text-decoration:none;border-left:3px solid #d8e1e8}.section-nav a:hover,.section-nav a:focus-visible{background:#fff0dc;border-color:#bb620e}.erection-page [id]{scroll-margin-top:24px}.plan-report{padding:24px;background:#edf3f8;border-left:4px solid #bb620e;margin:28px 0}.plan-report button{padding:12px 18px;min-height:48px;background:#a84f10;color:white;border:0;border-radius:5px;font:inherit;font-weight:700;cursor:pointer}.plan-report button:disabled{opacity:.6;cursor:wait}#plan-report-status{font-size:14px}#plan-report-status:empty{display:none}
@media(max-width:1000px){.erection-shell{display:block;padding:0 12px}.section-nav{position:static;display:flex;flex-wrap:wrap;gap:4px;margin:16px 0 0}.section-nav>span{width:100%;padding-bottom:0}.section-nav a{padding:8px 10px;border-left:0;border-bottom:2px solid #d8e1e8}.erection-shell .erection-page{padding-top:24px}}

.ready-plan-report{display:inline-flex;align-items:center;min-height:48px;margin:12px 0 0 12px;padding:10px 16px;box-sizing:border-box;border:2px solid #193f63;border-radius:5px;color:#193f63;font-weight:700;text-underline-offset:3px}@media(max-width:650px){.ready-plan-report{display:flex;margin-left:0;justify-content:center}}

#ready-plan-report{margin:12px 0 0}.plan-report .ready-plan-report{margin:0;background:#193f63;color:#fff;text-decoration:none}
.mobile-jump,.mobile-intro,.mobile-chart-heading{display:none}
@media(max-width:650px){
 .section-nav{display:none}.erection-shell .erection-page{padding-top:12px}.mobile-jump{display:flex;align-items:center;gap:10px;font-size:14px;margin-bottom:16px}.mobile-jump select{flex:1;min-width:0;min-height:44px;font:inherit;border:1px solid #b8c7d4;border-radius:5px;background:white;color:#193f63;padding:8px}
 .erection-page>.intro{display:none}.mobile-intro{display:block;font-size:16px;line-height:1.5;margin:0 0 16px}.erection-page>.eyebrow{display:none}.erection-page h1{margin:0 0 8px}
 #erection-three-views{padding:12px}#erection-three-views>h3{display:none}#mobile-model-stage{display:block}
 #mobile-model-stage .time-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}#mobile-model-stage #play-schedule{width:auto;min-height:48px;font-size:16px}#mobile-model-stage .time-controls label{font-size:14px}#mobile-model-stage #schedule-time{grid-column:1/-1;width:100%;margin:0;min-height:30px}
 #mobile-model-stage #time-status{font-size:14px;margin:8px 0}#mobile-model-stage #deck-selector{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;margin:8px 0}#mobile-model-stage #deck-selector button{min-width:0;padding:4px 0;font-size:14px;min-height:40px}
 #mobile-model-stage #model-view{padding:0;background:#f7fafc;display:flex;flex-direction:column}#mobile-model-stage #deck-summary{display:none}#mobile-model-stage #deck-3d{order:0}#mobile-model-stage #model-view>.viz-controls{order:1;padding:0 10px}#mobile-model-stage .form-label{font-size:14px}
 #production-metrics{display:none}#mobile-model-stage .sequence-legend{gap:10px;font-size:13px;margin:12px 0 0}#mobile-model-stage .sequence-legend span{font-size:13px}
 .time-production{margin-top:24px}.mobile-chart-heading{display:block}.model-data-layout{margin-top:24px}
}
/* Compact mobile sequence cards; override article-table column widths. */
@media(max-width:650px){
 #sequence-data .sequence-table tbody{gap:8px}
 #sequence-data .sequence-table tbody tr{padding:4px 10px 8px;column-gap:14px;border-radius:6px;font-size:14px;line-height:1.35}
 #sequence-data .sequence-table tbody th{width:auto;min-width:0;padding:0;gap:0 8px;align-items:center;grid-column:1/-1}
 #sequence-data .sequence-table button{white-space:nowrap;min-height:44px;font-size:15px}
 #sequence-data .sequence-table small{font-size:13px;white-space:nowrap;line-height:1.35}
 #sequence-data .sequence-table tbody td{display:flex;align-items:baseline;justify-content:space-between;gap:5px;padding:5px 0;font-size:14px;line-height:1.35;overflow-wrap:normal}
 #sequence-data .sequence-table tbody td::before{display:inline;font-size:13px;margin:0;line-height:1.35}
 #sequence-data .sequence-table tbody td:nth-child(2){justify-content:flex-start;gap:10px;padding:5px 0 6px}
}

/* Keep note references beside the concepts they explain. */
.erection-page .related-notes{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin:12px 0 0;font-size:14px;line-height:1.6}
.related-notes>span{color:#526477}
.related-notes a{color:#193f63;text-decoration:underline;text-underline-offset:3px}
.related-notes a:hover{color:#a84f10}
#mobile-model-stage #model-view>.related-notes{order:2;padding:0 10px 12px}

@media(max-width:650px){
 .erection-page>.plan-links{display:flex;gap:8px;margin:0 0 16px}
 .erection-page>.plan-links a{flex:1 1 140px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:8px 10px;border:1px solid #b8c7d4;border-radius:5px;background:#fff;font-size:14px;line-height:1.35;text-align:center;text-decoration:none}
 .erection-page>.plan-links a:focus-visible{outline:3px solid #bb620e;outline-offset:2px}
}

/* Keep changing production quantities in the same panel as the mobile model. */
@media(max-width:650px){
 #mobile-model-stage .mobile-model-totals{order:-1;padding:12px 10px 10px;border-bottom:1px solid #d8e1e8}
 #mobile-model-time{margin:0 0 6px;font-size:14px;line-height:1.4;color:#526477}
 #mobile-model-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:14px;color:#193f63;font-variant-numeric:tabular-nums}
 #mobile-model-values span{white-space:nowrap}
 #mobile-model-values strong{font-size:18px;font-weight:750}
 #mobile-model-stage .mobile-adjust-view{order:1;padding:0 10px;border-top:1px solid #d8e1e8}
 .mobile-adjust-view summary{display:list-item;cursor:pointer;padding:12px 0;font-size:14px;font-weight:650;color:#193f63;min-height:44px;box-sizing:border-box}
 .mobile-adjust-view summary:focus-visible{outline:3px solid #bb620e;outline-offset:2px}
 .mobile-adjust-view .viz-controls{padding:0 0 8px}
}

/* Shared live table follows the model at both screen sizes. */
.mobile-production-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;margin:12px 0}.mobile-production-table caption{text-align:left;font-size:16px;font-weight:700;color:#193f63;padding:4px 0 8px}.mobile-production-table th,.mobile-production-table td{padding:9px 5px;border-bottom:1px solid #d8e1e8;text-align:right}.mobile-production-table th:first-child{text-align:left}.mobile-production-table tbody th{font-weight:400}.mobile-production-table tbody td:first-of-type{font-weight:700;color:#193f63}.mobile-production-table thead{background:#edf3f8}
#model-column{min-width:0}
#model-table-time{display:block;font-size:14px;font-weight:400;color:#526477;margin-top:2px}
@media(min-width:651px){#model-column>.mobile-production-table{margin-top:16px}#model-column .mobile-production-table th,#model-column .mobile-production-table td{padding:6px 8px}}
@media(min-width:651px) and (max-width:1000px){#model-column{width:100%;max-width:650px;margin:0 auto}}
@media(max-width:650px){#model-column{display:none}}

/* Compact Crane Games link above the simulation. */
.erection-page .crane-games-callout{display:block;margin:10px 0 14px;padding:3px 0;color:#355b70;text-decoration:none;max-width:100%;box-sizing:border-box}
.erection-page .crane-games-callout strong{display:block;font-size:.95rem;font-weight:600;line-height:1.4;text-decoration:underline;text-underline-offset:3px}
.erection-page .crane-games-callout>span{display:block;font-size:.8rem;line-height:1.4;margin-top:2px;color:#657781}
.erection-page .crane-games-callout:hover{color:#193d54}
.erection-page .crane-games-callout:focus-visible{outline:2px solid #27648c;outline-offset:3px}
@media(max-width:760px){.erection-page .crane-games-callout{margin:8px 0 12px;padding:2px 0}.erection-page .crane-games-callout strong{font-size:.875rem}.erection-page .crane-games-callout>span{font-size:.8rem}}
/* Production analysis shares the playback clock with the model. */
.production-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.production-chart{min-width:0;border:1px solid #d8e1e8;border-radius:6px;padding:16px;background:#f8fafc}.production-chart h3,.compact-schedule h3{margin:0 0 6px!important;font-size:18px!important}.production-chart p{font-size:14px;line-height:1.45;color:#526477;margin:0 0 12px;min-height:62px}.production-chart svg{display:block;width:100%;height:auto;overflow:visible}.chart-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;min-height:76px;align-content:start}.chart-legend span{white-space:nowrap}.chart-legend i{display:inline-block;width:10px;height:10px;background:var(--key);margin-right:5px;border-radius:2px}.chart-legend strong{font-variant-numeric:tabular-nums;color:#193f63;margin-left:3px}.chart-legend small{width:100%;color:#526477;font-size:12px}.compact-schedule{padding:12px 16px 16px;border:1px solid #d8e1e8;border-radius:6px;position:relative;margin-bottom:20px}.compact-schedule #compact-gantt{position:relative}.compact-row{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;width:100%;height:23px;border:0;background:none;padding:0;text-align:left;font-size:13px;font-family:inherit;color:#193f63;cursor:pointer}.compact-row[aria-pressed=true]{font-weight:700}.compact-row:focus-visible{outline:2px solid #bb620e}.compact-track{height:12px;background:repeating-linear-gradient(to right,#edf2f6 0,#edf2f6 1px,transparent 1px,transparent 10%);position:relative}.compact-track i{position:absolute;height:12px;background:#193f63;border-radius:2px}.compact-track i.active{background:#bb620e}.compact-track i.future{background:#d8e1e8;border:1px dashed #63778b}.compact-marker{position:absolute;top:0;bottom:0;border-left:2px dashed #9a4d08;pointer-events:none}
@media(max-width:900px){.production-dashboard{grid-template-columns:1fr}.production-chart p{min-height:0}.chart-legend{min-height:0;margin-bottom:12px}}
.sequence-throughput{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;background:#edf3f8;border-left:4px solid #bb620e;padding:12px 16px;font-size:14px;font-variant-numeric:tabular-nums}.sequence-throughput strong{color:#193f63;margin-right:4px}
@media(max-width:650px){.production-chart{padding:12px}.chart-legend{font-size:14px;gap:8px 12px}.chart-scroll{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-color:#9eb0c0 #edf2f6;padding-bottom:7px}.chart-scroll svg{min-width:680px}.chart-scroll:focus-visible{outline:2px solid #bb620e}.production-chart p{font-size:14px}.sequence-throughput{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.sequence-throughput strong{grid-column:1/-1}.compact-schedule{padding:12px}.compact-row{min-height:32px;font-size:14px}.compact-track,.compact-track i{height:16px}}
/* Lead with the operating model, then follow the work into the data. */
.overview-controls{margin:4px 0 14px}.overview-controls #time-status{font-weight:650;color:#193f63;margin:10px 0}.overview-controls .sequence-legend{margin:10px 0 0}.overview-controls #deck-selector{margin-top:14px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px;align-items:start}.overview-grid #model-column,.overview-side{min-width:0}.overview-grid .model-panel{width:100%;max-width:none;box-sizing:border-box}.overview-side{display:grid;gap:12px}.overview-side .production-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.overview-side .production-metrics>div{padding:12px}.overview-side .production-metrics strong{font-size:21px}.overview-side .production-metrics small{font-size:12px}.overview-side .compact-schedule{margin:0}.compact-schedule>p:first-of-type{font-size:13px;line-height:1.4;margin:0 0 10px}.compact-schedule #schedule-position{font-size:14px;line-height:1.4;font-weight:650;color:#8a4505;margin:10px 0 0}.compact-schedule .related-notes{margin-top:10px}.time-production{margin-top:24px}.sequence-data{border-top:1px solid #d8e1e8;margin-top:26px;padding-top:22px}
@media(max-width:1050px){.overview-grid{grid-template-columns:1fr}.overview-grid .model-panel{max-width:700px;margin:0 auto}.overview-side{grid-template-columns:1fr 1fr}.overview-side #production-metrics{grid-column:1/-1}}
@media(max-width:650px){.overview-controls .time-controls{display:grid;grid-template-columns:1fr auto;gap:8px}.overview-controls #play-schedule{width:100%;min-height:48px}.overview-controls .time-controls label{font-size:14px;align-self:center}.overview-controls #schedule-time{grid-column:1/-1;width:100%;min-width:0}.overview-controls #deck-selector{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.overview-controls #deck-selector button{min-width:0;min-height:42px;padding:4px 0;font-size:14px}.overview-grid{gap:14px}.overview-grid #model-column{display:block}.overview-grid .model-panel{padding:10px}.overview-side{display:grid;grid-template-columns:1fr}.overview-side #production-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.overview-side #production-metrics>div{padding:9px}.overview-side #production-metrics strong{font-size:20px}.overview-side #production-metrics span,.overview-side #production-metrics small{font-size:12px;line-height:1.35}.overview-side .compact-row{min-height:40px}.overview-side .compact-schedule{padding:12px}.time-production{margin-top:20px}}
.overview-grid #model-column>.production-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.overview-grid #model-column>.production-metrics>div{padding:12px}.overview-grid #model-column>.production-metrics strong{font-size:21px}.overview-grid #model-column>.production-metrics small{font-size:12px}.overview-grid #model-column>.sequence-throughput{margin-top:8px}.overview-side{display:block}.overview-side .compact-schedule{min-height:360px}.overview-side .compact-row{min-height:30px}
@media(max-width:1050px){.overview-side{display:block}.overview-side .compact-schedule{min-height:0}}
@media(max-width:650px){.overview-grid #model-column>.production-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.overview-grid #model-column>.production-metrics>div{padding:9px}.overview-grid #model-column>.production-metrics strong{font-size:20px}.overview-grid #model-column>.production-metrics span,.overview-grid #model-column>.production-metrics small{font-size:12px;line-height:1.35}.overview-side .compact-schedule{min-height:0}}
/* The right-hand analysis stays attached to the live model state. */
.overview-side .compact-schedule{min-height:0}.overview-side .compact-row{min-height:39px}.compact-row .bar-caption{position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap;padding:3px 5px;background:rgba(255,255,255,.91);color:#193f63;font-size:12px;font-weight:650;line-height:1.2;border-radius:3px}.compact-row .bar-caption.reverse{transform:translate(-100%,-50%)}.compact-row .bar-caption small{font-size:12px;color:#526477}.compact-row[aria-pressed=true] .bar-caption{background:#fff1df;color:#8a4505}.overview-side .live-breakdown{border:1px solid #d8e1e8;border-radius:6px;padding:16px;margin-top:16px;background:#fff}.live-breakdown h3{font-size:18px!important;margin:0 0 6px!important}.live-breakdown>p{margin:0 0 12px;line-height:1.45}.breakdown-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.35;font-variant-numeric:tabular-nums;margin:12px 0 18px}.breakdown-table caption{text-align:left;font-size:14px;font-weight:700;color:#193f63;padding:4px 0 7px}.breakdown-table th,.breakdown-table td{padding:7px 4px;border-bottom:1px solid #e1e8ed;text-align:right;white-space:nowrap}.breakdown-table th:first-child{text-align:left;white-space:normal}.breakdown-table tbody th{font-weight:500}.breakdown-table thead{background:#edf3f8}.breakdown-table tbody tr:last-child th,.breakdown-table tbody tr:last-child td{border-bottom:0}.breakdown-table.ratio-table{max-width:300px}.breakdown-note{font-size:13px;line-height:1.45;color:#526477;margin:0}
@media(max-width:650px){.overview-side .live-breakdown{padding:12px}.breakdown-table{font-size:13px}.breakdown-table th,.breakdown-table td{padding:7px 3px}.compact-row .bar-caption{font-size:12px}}
/* Fixed labels preserve the time scale and keep MH clear of the bars. */
.compact-heading,.compact-row{display:grid;grid-template-columns:132px minmax(0,1fr) 58px;align-items:center;gap:0}.compact-heading{height:28px;border-bottom:1px solid #d8e1e8;color:#526477;font-size:12px;font-weight:700}.compact-heading span:last-child,.compact-row .compact-mh{text-align:right}.compact-row{height:38px;min-height:38px;font-size:13px}.compact-row>span:first-child{padding-left:0;white-space:nowrap}.compact-row .compact-track{height:16px}.compact-row .compact-track i{top:0;height:16px}.compact-row .compact-mh{font-variant-numeric:tabular-nums;font-weight:650;color:#193f63;padding-left:5px}.compact-row[aria-pressed=true] .compact-mh,.compact-row[aria-pressed=true]>span:first-child{color:#8a4505}.compact-marker{top:28px}.compact-row .bar-caption{display:none}
@media(max-width:650px){.compact-heading,.compact-row{grid-template-columns:132px minmax(0,1fr) 58px}.compact-row{min-height:42px;height:42px}.compact-row .compact-track,.compact-row .compact-track i{height:16px}}
/* Give the logistics drawing a readable sheet-width canvas. */
.drawing-pair{grid-template-columns:1fr;gap:20px}.drawing-pair>section{overflow-x:auto;background:#f9fbfc;border:1px solid #d8e1e8;border-radius:6px;padding:16px;box-sizing:border-box}.drawing-pair>section h3{margin:0 0 5px!important;font-size:18px!important}.drawing-pair>section p{margin:0 0 10px}.drawing-pair svg{min-width:850px}.drawing-pair>section:focus-within{outline:2px solid #bb620e}
@media(max-width:650px){.drawing-pair>section{padding:10px}.drawing-pair svg{min-width:850px}.drawing-pair>section p{font-size:14px}}

/* Phone layout starts with the whole graphic visible. The detail dialog offers a larger canvas. */
@media(max-width:650px){
 .erection-shell,.erection-shell .erection-page,#erection-three-views,.production-dashboard,.production-chart,.drawing-pair,.drawing-pair>section{min-width:0;max-width:100%}
 .chart-scroll,.drawing-pair>section{overflow-x:visible}
 .chart-scroll svg,.drawing-pair svg{width:100%;min-width:0;max-width:100%;height:auto}
 .graphic-detail-button{display:inline-block}
}
.graphic-detail-button{margin:8px 0 0;padding:8px 12px;min-height:44px;border:1px solid #b8c7d4;border-radius:5px;background:#fff;color:#193f63;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
@media(min-width:651px){.graphic-detail-button{display:none}}
.graphic-detail-dialog{width:min(96vw,1100px);max-width:none;max-height:90dvh;box-sizing:border-box;padding:14px;border:1px solid #b8c7d4;border-radius:7px;background:#fff;color:#193f63}
.graphic-detail-dialog::backdrop{background:rgba(16,31,45,.75)}
.graphic-detail-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-weight:700}
.graphic-detail-dialog button{min-height:44px;padding:8px 14px;font:inherit;border:1px solid #b8c7d4;border-radius:5px;background:#fff;color:#193f63}
.graphic-detail-canvas{overflow:auto;max-height:calc(90dvh - 85px);touch-action:pan-x pan-y;overscroll-behavior:contain}
.graphic-detail-canvas svg{display:block;width:850px;max-width:none;height:auto}

/* Chart keys are labels, so they must remain readable independently of the series colors. */
#erection-three-views .chart-legend{color:#193f63;font-size:14px;line-height:1.45}
#erection-three-views .chart-legend span{color:#193f63;font-weight:650}
#erection-three-views .chart-legend strong{color:#102d47;font-weight:750}
#erection-three-views .chart-legend small{color:#3d5265;font-size:13px}
#erection-three-views .production-chart svg text{fill:#193f63;font-size:17px;font-weight:550}
/* Keep the delivery buffer beside the playback status, including mobile layout. */
#time-status .steel-buffer{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:7px;font-size:14px;font-weight:500;color:#193f63}
#time-status .steel-buffer strong{font-weight:700}
#time-status .steel-buffer small{font-size:13px;font-weight:400;color:#526477}
.production-metrics .steel-inventory{border-top:1px solid #cfdae3;margin-top:7px;padding-top:6px;color:#193f63}
.production-metrics .steel-inventory b{font-weight:750}
