.cpt-view-controls{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-size:12px;color:#a5b9c6}
.cpt-view-controls label{font-weight:700}.cpt-view-controls select,.scenario-controls select{font:inherit;padding:8px 12px;background:#172735;color:#e2edf1;border:1px solid #3b5564;border-radius:5px}
.cpt-view-controls span{color:#7893a5;font-size:11px}.cpt-scenario{padding-bottom:20px;margin-top:0;margin-bottom:20px}.cpt-scenario[hidden]{display:none}
.cpt-scenario a{color:#83cfc5;font-size:11px}.scenario-note,#scenarioStatus{font-size:12px;line-height:1.6;color:#9eb3c1;margin:14px 0}
.scenario-controls{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:20px 0}.scenario-control{display:flex;align-items:center;gap:8px;font-size:12px}.scenario-time{flex:1;min-width:260px}.scenario-time input{flex:1;min-width:0;width:0;accent-color:#42bea8}.scenario-time output{min-width:76px;font-variant-numeric:tabular-nums}.scenario-regime{padding:7px 10px;color:#91e0d1;background:#183731;border:1px solid #2c6658;border-radius:4px;font-size:11px;font-weight:700}
.scenario-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.scenario-summary>div{padding:13px 15px;background:#172632;border:1px solid #2d424f;border-radius:6px}.scenario-summary span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#94aeba;margin-bottom:8px}.scenario-summary strong{display:block;font:500 17px 'Space Grotesk',Arial,sans-serif;line-height:1.35;color:#e2efe9}
.scenario-explanation{font-size:12px;line-height:1.65;color:#b7cbd2;margin:10px 0 16px}
.scenario-download{display:flex;align-items:center;gap:8px;white-space:nowrap}
.cpt-scenario h2 .help-button{vertical-align:middle;margin-left:6px}
#cptDailyAlerts{margin:20px 0}
html.cpt-csv-view .metric-row,html.cpt-csv-view .content-grid,html.cpt-csv-view .model-tools,html.cpt-csv-view #trends{display:none}
.cpt-upload-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:20px 0}
.cpt-upload-controls label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:inherit}
.cpt-upload-controls select,.cpt-upload-controls input,.cpt-upload-controls button{max-width:100%;font:inherit;padding:10px;border:1px solid #41616b;border-radius:6px;color:inherit;background:transparent}
.cpt-upload-controls button{cursor:pointer;font-size:12px;background:#1b665a;color:#fff}
.cpt-upload-controls button:disabled{opacity:.6;cursor:wait}
html[data-theme="light"] .cpt-upload-controls select,html[data-theme="light"] .cpt-upload-controls input{border-color:#bdd0d7;background:#fff}
#cptCsvContext{overflow-wrap:anywhere}
.cpt-scenario h3{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 12px;font:500 14px 'Space Grotesk',Arial,sans-serif;color:#d8e7ec}
.cpt-scenario h3>span{font:400 10px 'DM Sans',Arial,sans-serif;color:#94aeba}
.scenario-plan{margin:24px 0 20px}
.scenario-alerts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.scenario-alert{padding:15px;border:1px solid #645335;border-top:3px solid #d9ae6b;border-radius:6px;background:#28271f;color:#e0c491;min-width:0}
.scenario-alert-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:12px}
.scenario-alert>strong{display:block;font:500 22px 'Space Grotesk',Arial,sans-serif;line-height:1.3;color:#f3d6a7}
.scenario-alert>strong:empty{display:none}
.scenario-alert p{font-size:11px;line-height:1.65;margin:9px 0 0}
.scenario-alert.ok{border-color:#315b52;background:#18312b;color:#acd5ca}
.scenario-alert.ok>strong{color:#a0e3d0;font-size:18px}
.scenario-alert.ok:only-child{grid-column:1 / -1}
.scenario-review{padding:18px 20px;margin-bottom:20px;background:#152630;border:1px solid #2d4652;border-radius:6px}
.scenario-export-result{display:flex;align-items:center;gap:8px;margin:0 0 18px;font-size:12px;color:#83cfc5}
.scenario-export-result .below-target{color:#e0c491}
.scenario-review-alerts{grid-template-columns:1fr;margin-bottom:16px}
.scenario-alerts[hidden]{display:none}
.scenario-comparison{display:flex;align-items:center;gap:24px;margin-bottom:16px}
.scenario-comparison>div{flex:1;min-width:0}
.scenario-comparison div>span{display:flex;align-items:center;gap:8px;font-size:11px;color:#9bb3c1}
.scenario-comparison strong{display:block;margin:8px 0 3px;font:500 27px 'Space Grotesk',Arial,sans-serif;color:#e4edf1}
.scenario-comparison small{font-size:10px;color:#8fa8b6}
.scenario-comparison-arrow{color:#617c8c;font-size:22px}
.scenario-hindcast{padding-top:14px;border-top:1px solid #2d4652;font-size:11px;line-height:1.7;color:#a7bfcb}
.scenario-hindcast strong{color:#d0e3e8}.scenario-hindcast .help-button{vertical-align:middle;margin:0 6px}
.scenario-hindcast>span{display:block;margin-top:6px;color:#83cfc5}
.scenario-chart figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px}
.scenario-legend>span{display:inline-flex;align-items:center;gap:5px}
.scenario-legend .help-button,.scenario-table .help-button{width:16px;height:16px;flex-basis:16px;font-size:9px}
.scenario-table .help-button{vertical-align:middle;margin-left:4px}
.scenario-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.scenario-chart{margin:0;padding:14px;border:1px solid #2d424f;border-radius:6px;min-width:0}.scenario-chart figcaption{font-size:13px;font-weight:700;color:#d8e7ec;margin-bottom:9px}.scenario-chart canvas{display:block;width:100%;height:200px}.scenario-legend{display:flex;flex-wrap:wrap;gap:6px 14px;min-height:30px;font-size:10px;color:#99adbc}.scenario-legend span:before{content:'';display:inline-block;width:12px;height:3px;margin:0 5px 2px 0;background:#42bea8}.scenario-legend .baseline:before{background:#92a1af}.scenario-legend .destination:before{background:#688ee0}.scenario-legend .actual:before{background:#dbad66}.scenario-legend .limit:before{background:#e97979}.scenario-legend .price:before{background:#b59ae5}
.scenario-table-wrap{overflow-x:auto;margin-top:20px}.scenario-table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}.scenario-table caption{text-align:left;font-weight:700;font-size:13px;margin-bottom:12px;color:#c3d9df}.scenario-table th,.scenario-table td{text-align:left;padding:10px;border-bottom:1px solid #2b3f4b}.scenario-table th{color:#8facbb;font-weight:600}.scenario-table tr.selected{background:#183a3e}.scenario-provenance{font-size:11px;color:#91aebb;line-height:1.6;margin-top:18px}.scenario-provenance summary{cursor:pointer;font-weight:700}.scenario-provenance p{overflow-wrap:anywhere;margin-top:8px}.scenario-provenance ul{padding-left:18px}
html[data-theme="light"] .cpt-view-controls,html[data-theme="light"] .scenario-note,html[data-theme="light"] #scenarioStatus,html[data-theme="light"] .scenario-explanation,html[data-theme="light"] .scenario-legend,html[data-theme="light"] .scenario-provenance{color:#526d7b}
html[data-theme="light"] .cpt-view-controls select,html[data-theme="light"] .scenario-controls select,html[data-theme="light"] .scenario-summary>div{background:#f3f8fa;color:#233d49;border-color:#c7dce3}
html[data-theme="light"] .scenario-summary span,html[data-theme="light"] .scenario-table th{color:#526d7b}html[data-theme="light"] .scenario-summary strong,html[data-theme="light"] .scenario-chart figcaption,html[data-theme="light"] .scenario-table caption{color:#233d49}
html[data-theme="light"] .scenario-chart,html[data-theme="light"] .scenario-table th,html[data-theme="light"] .scenario-table td{border-color:#d4e1e6}html[data-theme="light"] .scenario-table tr.selected{background:#e0f0ed}html[data-theme="light"] .cpt-scenario a{color:#28796f}
html[data-theme="light"] .scenario-alert{background:#fff7e8;border-color:#e2cda2;color:#715220}
html[data-theme="light"] .scenario-alert>strong{color:#7a531d}
html[data-theme="light"] .scenario-alert.ok{background:#eaf6f1;border-color:#a8cbbd;color:#386d5e}
html[data-theme="light"] .scenario-alert.ok>strong,html[data-theme="light"] .scenario-hindcast>span{color:#28796f}
html[data-theme="light"] .scenario-export-result{color:#28796f}html[data-theme="light"] .scenario-export-result .below-target{color:#715220}
html[data-theme="light"] .scenario-review{background:#f1f7f9;border-color:#c7dce3}
html[data-theme="light"] .cpt-scenario h3,html[data-theme="light"] .scenario-comparison strong,html[data-theme="light"] .scenario-hindcast strong{color:#233d49}
html[data-theme="light"] .cpt-scenario h3>span,html[data-theme="light"] .scenario-comparison div>span,html[data-theme="light"] .scenario-comparison small,html[data-theme="light"] .scenario-hindcast{color:#526d7b}
html[data-theme="light"] .scenario-hindcast{border-color:#c7dce3}
@media(max-width:850px){.scenario-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cpt-view-controls{flex-wrap:wrap}.cpt-view-controls span{width:100%}}
@media(max-width:850px){.scenario-alerts{grid-template-columns:1fr}}
@media(max-width:650px){.scenario-chart-grid{grid-template-columns:1fr}.scenario-summary{grid-template-columns:1fr}.scenario-controls{gap:12px}.scenario-time{min-width:100%;font-size:11px}.cpt-scenario .trend-heading{gap:12px;align-items:flex-start;flex-wrap:wrap}.cpt-scenario .trend-heading h2{font-size:17px}.scenario-review{padding:15px}.scenario-comparison{gap:12px}.scenario-comparison strong{font-size:23px}.scenario-comparison small{line-height:1.5}.scenario-comparison div>span{flex-wrap:wrap;gap:5px}.scenario-comparison-arrow{display:none}}
