#execOverview .executive-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}
#execOverview .executive-summary-focus{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 22px}
#execOverview .executive-summary-focus .card{min-height:155px;padding:24px;border-top:3px solid #4da5ff;background:var(--panel2);position:relative;overflow:hidden}
#execOverview .executive-summary-focus .card:after{content:'';position:absolute;right:-18px;bottom:-28px;width:100px;height:100px;border:1px solid #4da5ff16;transform:rotate(45deg);pointer-events:none}
#execOverview .executive-summary-focus strong{font-size:34px;letter-spacing:-1px;margin:14px 0 8px}
#execOverview .executive-summary-focus small{letter-spacing:.09em;text-transform:uppercase;font-size:10px}
#execOverview .todayProductionCard{grid-template-columns:minmax(200px,1fr) minmax(170px,.7fr) minmax(260px,1.5fr);padding:24px;gap:24px}
.exec-today-efficiency{border-left:1px solid var(--line);padding-left:24px}.exec-today-efficiency strong{display:block;font-size:26px;letter-spacing:-.5px;margin:6px 0;color:#69c4e8}
.lfpp-panel{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.lfpp-panel h4{margin:0;font-size:12px}.lfpp-chart{overflow-x:auto;min-height:80px;scrollbar-width:thin}.lfpp-chart svg{display:block;min-width:100%}.lfpp-chart text{fill:var(--text);font-size:10px;font-family:inherit}.lfpp-chart .lfpp-date,.lfpp-chart .lfpp-gap{fill:var(--muted);font-size:9px}
#execInsights{max-height:600px;overflow:auto}.executive-alert{border:1px solid var(--line);border-radius:10px;margin-bottom:9px;color:var(--text);background:var(--panel2)}.executive-alert summary{display:flex;gap:10px;align-items:center;padding:14px;cursor:pointer;list-style:none}.executive-alert summary span{flex:1}.executive-alert small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:5px;line-height:1.5}.executive-alert summary i{width:6px;height:30px;background:var(--yellow);border-radius:4px;flex-shrink:0}.executive-alert.red summary i{background:var(--red)}.executive-alert em{font-style:normal;color:var(--muted)}.executive-alert[open] em{transform:rotate(45deg)}.executive-alert summary::-webkit-details-marker{display:none}.executive-alert-rows{max-height:260px;overflow:auto;padding:0 14px 12px}.executive-alert-rows>div{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;padding:10px 0;border-top:1px solid var(--line)}.executive-alert-rows span:first-child{font-weight:600}.executive-alert-rows span:last-child{margin-left:auto}
/* The planner is a dedicated dark surface even when another workspace uses Light. */
#prodPlanner,#rescheduleProductionModal,.production-block-dialog{color-scheme:dark;--bg:#0b1016;--panel:#121923;--panel2:#18212d;--panel3:#1f2a38;--line:#2b3949;--text:#eef3f8;--muted:#94a5b8;--green:#2fc27d;--yellow:#ffd34d;--red:#ef5b5b;--blue:#4da5ff;color:var(--text);background:var(--bg)}
#prodPlanner{padding:16px;border-radius:14px}body.nf-workspace.light #prodPlanner .tag{color:#94a5b8;background:#1f2a38}body.nf-workspace.light #prodPlanner .bar.source{color:#c3d1df;background:#334252;border-color:#687b8d}body.nf-workspace.light #prodPlanner .bar.activeFramingSchedule{color:#92e2ba;background:#174b36}body.nf-workspace.light #prodPlanner .bar.iffReady{color:#b7f3ce;background:#195037}body.nf-workspace.light #prodPlanner .bar.projectedFinish{color:#ffc0c0;background:#ef5b5b24}body.nf-workspace.light #prodPlanner .bar.recommendation{color:#9cc8eb;background:#20445e}body.nf-workspace.light #prodPlanner .bar.currentProduction.capacityExceeded{color:#ffc0c0;background:#752f3c}body.nf-workspace.light #prodPlanner .bar.optimizedScenario{color:#a3e4df}body.nf-workspace.light #prodPlanner .recommendationGap{color:#f5a1aa;background:#5a2730}
@media(max-width:1000px){#execOverview .executive-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#execOverview .todayProductionCard{grid-template-columns:1fr 1fr}#execOverview .todayProductionCard>div:last-child{grid-column:1/-1}}
@media(max-width:600px){#execOverview .executive-summary-focus{grid-template-columns:1fr!important;gap:10px}#execOverview .executive-summary-focus .card{min-height:110px;padding:18px}#execOverview .executive-summary-focus strong{font-size:30px;margin:8px 0}#execOverview #todayProductionCard{display:grid!important;grid-template-columns:1fr 1fr!important;padding:18px;gap:16px}#execOverview #todayProductionCard>div{display:block!important}#execOverview .todayProductionValue{font-size:29px}.exec-today-efficiency{padding-left:16px}.exec-today-efficiency strong{font-size:21px}#execOverview .executive-summary-grid>.card:last-child{grid-column:1/-1}#prodPlanner{padding:8px}}

@media(min-width:1001px){#execOverview .executive-summary-grid>.card:last-child{grid-column:span 2}}
