/* NZ power vs weather, layered on /bizintel/style.css and /datalake/style.css. */
:root{--pw-lo:#10372b;--pw-mid:#c9a64a;--pw-hi:#fb5a3c;--s-north:#ffd16d;--s-south:#75bce6;--s-warm:#ffd16d;--s-cold:#75bce6}
html.corporate{--pw-lo:#eaf0fb;--pw-mid:#f0b45e;--pw-hi:#c0210f;--s-north:#d9531e;--s-south:#3e6ae1;--s-warm:#d9531e;--s-cold:#3e6ae1}

.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 14px}
.tab{background:transparent;border:1px solid #526e45;color:var(--muted);padding:9px 14px;font:600 14px/1.3 var(--body,sans-serif);cursor:pointer}
.tab:hover{border-color:var(--gold);color:var(--cream)}
.tab[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:#061b16}
html.corporate .tab{border:1px solid #d0d1d2;border-radius:var(--c-radius,6px);color:#393c41}
html.corporate .tab[aria-pressed="true"]{background:#171a20;border-color:#171a20;color:#fff}

.power-heat svg{display:block;width:100%;height:auto;cursor:crosshair}
.heat-legend{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:12px;color:var(--muted)}
.heat-legend i{display:block;flex:0 0 220px;max-width:50%;height:10px;border:1px solid #ffffff22}
.band{fill:var(--s-north);fill-opacity:.14}
.line-north,.line-south{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.line-north{stroke:var(--s-north)}.line-south{stroke:var(--s-south)}
.line-warm,.line-cold{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.line-warm{stroke:var(--s-warm)}.line-cold{stroke:var(--s-cold)}
.dot{fill:var(--s-north);fill-opacity:.7}
.fit{stroke:var(--cream);stroke-width:2;stroke-dasharray:6 5;stroke-opacity:.85}
.cross{stroke:var(--cream);stroke-opacity:.5;stroke-width:1}
#split-legend i.north,#profile-legend i.warm{background:var(--s-north)}
#split-legend i.south,#profile-legend i.cold{background:var(--s-south)}
#split-legend i.band-key{background:var(--s-north);opacity:.25}
#profile-legend i.cold{background:var(--s-cold)}
.trend-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 20px}
#weather .chart-card+.chart-card,#mix .chart-card,#split .chart-card{margin-top:0}
.stages.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.stages.three .stage:nth-child(2):after{display:block}
.stages.three .stage small{display:block}
.stage .kind{display:inline-block;margin-top:2px;padding:2px 8px;border:1px solid currentColor;font:600 11px/1.6 var(--body,sans-serif);letter-spacing:.4px;text-transform:uppercase}
.mix-label{fill:var(--cream);font:600 11px var(--body,sans-serif)}
#pipeline .notes{margin-top:20px}
@media(max-width:1100px){.stages.three{grid-template-columns:1fr 1fr}.stages.three .stage:nth-child(2):after{display:none}}
@media(max-width:800px){.trend-grid.two{grid-template-columns:1fr}.heat-legend i{flex-basis:140px}}
@media(max-width:700px){.stages.three{grid-template-columns:1fr;gap:26px}.stages.three .stage:nth-child(2):after{display:block}}
