/* Shared, additive presentation layer; scientific tables/controls remain intact. */
:root{--ink:#173e4a;--accent:#126c69;--muted:#526775;--line:#d8e4e8;--surface:#fff}*{box-sizing:border-box}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;color:var(--ink);background:#f5f8fa;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #df9e35;outline-offset:3px}main,.portal-shell,body>section,body>p,body>details,body>nav{max-width:1280px;margin-left:auto;margin-right:auto}.portal-shell{padding:16px 24px 0}.portal-masthead{padding:0 0 12px!important}.portal-primary{padding:0!important;gap:4px!important;flex-wrap:wrap}.portal-primary a{padding:10px 12px!important;border-radius:8px;font-size:14px}.portal-brand{font-size:18px!important}.portal-mark{width:36px!important;height:36px!important}.portal-brand small{font-size:12px}.portal-utility{font-size:13px}.portal-extra{padding:6px 24px;margin-top:4px;margin-bottom:4px;color:var(--muted);font-size:13px}.portal-extra summary{cursor:pointer;width:fit-content}.portal-extra nav{margin:8px 0!important}.portal-extra .program-credit{margin:8px 0!important}.intro{padding:12px 24px!important;margin-bottom:8px!important}.intro h1{font-size:clamp(25px,3vw,36px)!important;line-height:1.18;margin:8px 0!important}.intro p{font-size:14px!important;margin:8px 0!important}.page-intro{padding:18px 0!important;margin-bottom:14px!important;gap:16px!important}.page-intro h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.2}.page-intro .eyebrow{margin-bottom:6px}.page-intro .lead{font-size:15px;max-width:72ch}.intro-note{display:none}.tablist{margin-bottom:16px!important}.tablist button{padding:12px!important}.panel-heading{margin-bottom:14px!important}.panel-heading h2{font-size:24px!important}.panel-heading p{font-size:14px}.controls{gap:12px!important;padding:14px 20px!important;margin-top:10px!important;margin-bottom:10px!important}.controls label{font-size:13px;flex:1 1 160px;min-width:0}.controls input,.controls select{width:100%;min-width:0;min-height:42px}.controls input[type=number]{max-width:160px}.card{border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:none!important}.summary{padding:18px 24px!important;margin-top:14px!important;margin-bottom:12px!important}.summary h2{font-size:24px!important}.headline strong{font-variant-numeric:tabular-nums}.shared-context-note,.data-kind-guide{background:#edf5f4;border-left:3px solid var(--accent);padding:10px 14px;font-size:13px;line-height:1.6;margin:12px 0}.shared-context-note:empty{display:none}.data-kind-guide{margin:8px auto;max-width:1232px}.control-panel{padding:16px!important}.control-panel select{max-width:100%;min-height:42px}.table-wrap{overflow:auto}td,th{font-variant-numeric:tabular-nums}svg{max-width:100%}section,article,.workspace,.result-area{min-width:0}.section-head{gap:8px;flex-wrap:wrap}.section-head button{min-height:40px}.source-definition{margin-top:16px}details summary{min-height:32px}.portal-extra .module-nav,.portal-extra .portal-secondary{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:760px){.portal-shell{padding:12px 16px 0}.portal-masthead{gap:12px!important;flex-wrap:wrap}.portal-utility{gap:10px!important}.portal-primary{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;white-space:nowrap;padding-bottom:8px!important}.portal-primary a{flex:none}.portal-extra{padding:6px 16px}main{padding:0 16px!important}.intro{padding:12px 16px!important}.controls{padding:12px!important;margin-left:12px!important;margin-right:12px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.controls label:first-child{grid-column:1/-1}.controls input[type=number]{max-width:none}.page-intro{padding:16px 0!important}.tablist{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}.tab-number{display:none}.tablist small{font-size:11px}.tablist strong{font-size:13px}.workspace{display:flex!important;flex-direction:column!important}.control-panel{position:static!important;width:100%!important}.result-area{width:100%}.summary{margin:10px 12px!important;padding:16px!important;display:block!important}.headline{margin-top:10px}.data-kind-guide{margin:10px 12px}body>section.card{margin:12px!important;padding:14px!important}.card{padding:16px!important}.panel-heading{flex-wrap:wrap}.section-head{align-items:flex-start}.section-head>div{width:100%}body{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Persistent map key; methodological text remains in its disclosure. */
.map-color-key{margin:12px 0;padding:12px;background:#f6f9fa;border:1px solid #d6e1e5;border-radius:10px;min-width:0;color:#243c48}
.map-key-heading{font-weight:600;margin:0 0 8px;overflow-wrap:anywhere;font-size:.85rem}
.map-key-items{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;margin:0;padding:0;font-size:.8rem}
.map-key-items li{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.map-key-swatch{display:inline-block;flex:0 0 22px;width:22px;height:14px;border:1px solid #526874;border-radius:2px}
.map-key-missing{border-style:dashed;border-width:2px}
.map-key-note{font-size:.8rem;margin:8px 0 0}
@media(max-width:480px){.map-key-items{display:grid;grid-template-columns:minmax(0,1fr)}}

.map-color-key:empty{display:none}

/* Scientific view stage 1: presentation only. */
.forecast-quality dl { display:grid; grid-template-columns:minmax(10rem,1fr) minmax(0,3fr); gap:.5rem 1rem; }
.forecast-quality dt { font-weight:650; }
.forecast-quality dd { margin:0; overflow-wrap:anywhere; }
#scienceBandLegend { color:#514369; padding:.2rem .45rem; background:rgba(106,86,135,.12); border-left:5px solid rgba(106,86,135,.45); }
@media(max-width:600px){.forecast-quality dl{grid-template-columns:1fr}.forecast-quality dd{margin-bottom:.65rem}}

/* Selected year: separate actual observations from conditional estimates. */
.year-view p{overflow-wrap:anywhere}.year-view button{margin:.3rem .6rem .3rem 0;white-space:normal;max-width:100%}.year-view #yearLastFact{border-top:1px solid #d8e1e5;padding-top:.75rem}.year-view #yearModeNotice{font-weight:600}.year-view #yearAvailability:empty,.year-view #yearIntervals:empty{display:none}
