/* Scenario ranges and stress tests (scenario-bands.mjs): the Investor tab's cards and the market
   desk's block under the official benchmarks. One series per chart (no legend): the index line is
   2px, the P10–P90 range a 12% wash of the same hue with 1px edges, today an 8px dot with a 2px
   surface ring. Text wears ink tokens, never the series colour. Minimum text 12px. */
.sc-card,.sc-stress,.sc-desk{--sc-ink:#0E1D4D;--sc-ink-2:#3F4C72;--sc-muted:#56617F;--sc-line:#DCE6F4;--sc-cloud:#EEF5FF;--sc-hue:#1455FF;min-width:0}
.sc-card[data-sector=retail]{--sc-hue:#0B7C8C}
.sc-card[data-sector=industrial]{--sc-hue:#0E1D4D}
.sc-head .sc-title,.sc-stress .sc-title{font:650 16px/1.3 Sora,Inter,sans-serif;color:var(--sc-ink)}
.sc-figure{margin:6px 0 2px;min-width:0}
.sc-fan{display:block;width:100%;height:auto;max-width:460px;overflow:visible}
.sc-base{stroke:var(--sc-line);stroke-width:1;vector-effect:non-scaling-stroke}
.sc-now{stroke:#C9D7EE;stroke-width:1;vector-effect:non-scaling-stroke}
.sc-band{fill:var(--sc-hue);fill-opacity:.12;stroke:none}
.sc-edge{fill:none;stroke:var(--sc-hue);stroke-opacity:.45;stroke-width:1;vector-effect:non-scaling-stroke}
.sc-whisker,.sc-cap{stroke:var(--sc-hue);stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke}
.sc-line{fill:none;stroke:var(--sc-hue);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.sc-dot{fill:var(--sc-hue);stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.sc-label{font:600 12px/1 Inter,system-ui,sans-serif;fill:var(--sc-ink);font-variant-numeric:tabular-nums;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.sc-tick{font:500 12px/1 Inter,system-ui,sans-serif;fill:var(--sc-muted)}
.sc-hit{fill:transparent;pointer-events:all}
.sc-hit:hover{fill:#1455ff12}
.sc-horizons{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.sc-horizons li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:2px;padding:8px 10px;border-radius:10px;background:var(--sc-cloud);min-width:0}
.sc-horizons li[data-status=refused]{background:#F6F9FF;border:1px solid var(--sc-line)}
.sc-when{font-size:12px;font-weight:700;color:var(--sc-ink-2)}
.sc-horizons strong{font:650 15px/1.25 Sora,Inter,sans-serif;color:var(--sc-ink);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.sc-horizons li[data-status=refused] strong{font-size:13px;color:var(--sc-ink-2)}
.sc-horizons small{grid-column:2;font-size:12px;color:var(--sc-muted);text-align:right;white-space:nowrap}
.sc-horizons p{grid-column:1/-1;margin:2px 0 0;font-size:12px;line-height:1.4;color:var(--sc-ink-2)}
.sc-horizons li[data-status=shown] small{grid-row:2}
.sc-horizons li[data-status=shown] p{grid-row:3}
.sc-about{margin-top:8px;font-size:12px;color:var(--sc-ink-2)}
.sc-about summary{display:inline-flex;align-items:center;gap:6px;min-height:28px;cursor:pointer;font-weight:600;color:#0B44D9;list-style:none}
.sc-about summary::-webkit-details-marker{display:none}
.sc-about summary::before{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(-45deg);transition:transform .16s ease}
.sc-about[open] summary::before{transform:rotate(45deg)}
.sc-about p{margin:4px 0 0;max-width:68ch;line-height:1.45}
/* Stress tests: toggles in one row above the numbers they change. */
.sc-chips{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 10px}
.sc-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;min-width:0;margin:0;padding:6px 10px;border-radius:999px;border:1px solid #C9D7EE;background:#fff;color:var(--sc-ink-2);font:600 13px/1 Inter,system-ui,sans-serif;cursor:pointer;font-variant-numeric:tabular-nums}
.sc-chip::before{content:"";width:8px;height:8px;border-radius:50%;border:1.5px solid currentColor;box-sizing:border-box}
.sc-chip[aria-pressed=true]{background:var(--sc-ink);border-color:var(--sc-ink);color:#fff}
.sc-chip[aria-pressed=true]::before{background:#22D3EE;border-color:#22D3EE}
.sc-chip:focus-visible{outline:2px solid #1455FF;outline-offset:2px}
.sc-rows{margin:0;display:grid;gap:2px;font-size:13px;min-width:0}
.sc-rows>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:5px 0;border-bottom:1px solid var(--sc-line);min-width:0;flex-wrap:wrap}
.sc-rows>div:last-child{border-bottom:0}
.sc-rows dt{color:var(--sc-ink-2)}
.sc-rows dd{margin:0 0 0 auto;display:inline-flex;align-items:baseline;gap:6px;flex-wrap:wrap;justify-content:flex-end;font-variant-numeric:tabular-nums;color:var(--sc-ink)}
.sc-before{color:var(--sc-muted)}
.sc-arrow{color:var(--sc-muted)}
.sc-rows strong{font-weight:700}
.sc-rows small{font-size:12px;color:var(--sc-ink-2);white-space:nowrap}
.sc-rows>div.is-key dd strong{font:650 17px/1.2 Sora,Inter,sans-serif}
.sc-note,.sc-empty{margin:8px 0 0;font-size:12px;line-height:1.45;color:var(--sc-muted)}
.sc-unit h5{margin:0;font:700 13px/1.3 Inter,system-ui,sans-serif;color:var(--sc-ink)}
.sc-unit-detail{margin:2px 0 6px;font-size:12px;line-height:1.4;color:var(--sc-muted)}
/* The hero's phone-width fan replaces the wide one on a phone. */
.sc-figure--narrow{display:none}
@media (max-width:600px){.sc-figure--wide{display:none}.sc-figure--narrow{display:block}}
/* The hero puts the fan and the stress card side by side on a wide screen. */
@media (min-width:1100px){.sn-bh .sc-card--investor .sc-fan{max-width:560px}.sn-bh .sc-stress{align-self:start}}
/* Market desk: the ranges under the official figures, three sectors side by side. */
.sc-desk{margin-top:16px;padding-top:14px;border-top:1px solid #E6ECF8}
.sc-desk>h3{margin:0 0 2px;font:700 16px/1.3 Sora,Inter,sans-serif;color:#0E1D4D}
.sc-desk>p{margin:0 0 10px;font-size:13px;color:#4A5675;max-width:78ch}
.sc-desk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sc-card--desk{padding:12px 14px;border:1px solid #D8E2F4;border-radius:16px;background:#fff}
.sc-card--desk .sc-head h4{margin:0;font:700 12px/1.3 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#3F4C72}
.sc-card--desk .sc-head{display:grid;gap:2px}
.sc-card--desk .sc-head small{font-size:12px;color:#56617F}
.sc-desk-stress{margin-top:12px;padding:12px 14px;border:1px solid #D8E2F4;border-radius:16px;background:#fff}
.sc-desk-stress>h4{margin:0;font:700 15px/1.3 Sora,Inter,sans-serif;color:#0E1D4D}
.sc-desk-stress>p{margin:2px 0 6px;font-size:12px;color:#56617F}
.sc-desk-units{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sc-desk-units .sc-unit{padding:10px 12px;border-radius:12px;background:#F6F9FF;min-width:0}
@media (max-width:1020px){.sc-desk-grid,.sc-desk-units{grid-template-columns:1fr}}
/* Phones and narrow panels: 44px targets. */
@media (max-width:800px){.sc-chip,.sc-about summary{min-height:44px}}
