/* Robb Consulting satellite services: RFP 27TDRSIS800 demonstration site (REDESIGN_PROMPT_01).
   Interface colours come from content/site.yaml (inline :root variables). Map colours come only from
   assets/symbology.json and are never filtered, blended or tinted here. */
:root {
  --canvas: #F6F7F3; --surface: #FFFFFF; --primary: #163A32; --body: #24352F; --secondary: #596A63; --rule: #D7E0D9;
  --subtle: #EAF0E8; --link: #205F75; --warn-ink: #805000; --warn-bg: #FFF1D6; --error-ink: #9E3434; --error-bg: #FCEEEE;
  --ok-ink: #24613F;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --r-ctl: 7px; --r-map: 11px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--body); font: 16px/1.55 var(--font); font-variant-numeric: tabular-nums; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
h1, h2, h3 { color: var(--primary); line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 19px; font-weight: 650; }
h3 { font-size: 17px; font-weight: 650; }
p, ul, ol { margin: 0 0 12px; }
ul { padding-left: 20px; } li { margin: 4px 0; }
code { font: .88em var(--mono); background: var(--subtle); padding: 1px 4px; border-radius: 4px; overflow-wrap: anywhere; }
.muted { color: var(--secondary); } .small { font-size: 14px; }
.meta { font-size: 13px; color: var(--secondary); letter-spacing: .01em; margin-bottom: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 3000; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
button, select, input { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-read { max-width: 1040px; margin: 0 auto; padding: 28px 32px 48px; }
.lede { font-size: 18px; color: var(--body); max-width: 720px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-ctl);
  background: var(--primary); color: #fff; border: 1px solid var(--primary); text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn:hover { background: #0F2B25; color: #fff; }
.btn-quiet { background: var(--surface); color: var(--primary); border-color: var(--rule); }
.btn-quiet:hover { background: var(--subtle); color: var(--primary); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.lnk { font-weight: 600; font-size: 15px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-ctl);
  border: 1px solid var(--rule); background: var(--surface); color: var(--primary); cursor: pointer; }
.icon-btn:hover { background: var(--subtle); }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }
.icon-btn .i-pause { display: none; }
.icon-btn.play[aria-pressed="true"] .i-play { display: none; }
.icon-btn.play[aria-pressed="true"] .i-pause { display: inline; }
.icon-btn.play { background: var(--primary); color: #fff; border-color: var(--primary); }

/* header */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 32px; background: var(--surface); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--primary); text-decoration: none; }
.brand .mark { color: var(--primary); flex: none; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.brand-t span { font-size: 12px; color: var(--secondary); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--primary); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: var(--r-ctl); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--subtle); }
.nav-narrow { display: none; position: relative; }
.nav-narrow summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r-ctl); color: var(--primary); font-weight: 600; }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow nav { position: absolute; right: 0; top: 50px; z-index: 1500; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 6px; display: flex; flex-direction: column; min-width: 220px; box-shadow: 0 6px 18px rgba(22,58,50,.12); }
.nav-narrow nav a { padding: 12px; color: var(--primary); text-decoration: none; }

/* service switcher */
.svcnav { display: flex; align-items: center; gap: 8px 16px; padding: 0 32px; background: var(--surface); border-bottom: 1px solid var(--rule); min-height: 48px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary); text-decoration: none; font-size: 14px; padding: 10px 4px; white-space: nowrap; }
.back:hover { color: var(--primary); }
.switch { display: flex; gap: 2px; border-left: 1px solid var(--rule); padding-left: 12px; flex-wrap: wrap; }
.switch a { color: var(--secondary); text-decoration: none; font-size: 14px; font-weight: 500; padding: 13px 10px 11px; border-bottom: 2px solid transparent; }
.switch a:hover { color: var(--primary); }
.switch a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); font-weight: 650; }
.switch-narrow { display: none; position: relative; }
.switch-narrow summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; font-weight: 650; color: var(--primary); }
.switch-narrow nav { position: absolute; left: 0; top: 46px; z-index: 1500; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 6px; display: flex; flex-direction: column; min-width: 220px; box-shadow: 0 6px 18px rgba(22,58,50,.12); }
.switch-narrow nav a { padding: 12px; color: var(--primary); text-decoration: none; }
.switch-narrow nav a[aria-current="page"] { font-weight: 700; background: var(--subtle); }

/* footer */
.ftr { border-top: 1px solid var(--rule); background: var(--surface); }
.ftr-in { max-width: 1240px; margin: 0 auto; padding: 18px 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--secondary); }
.ftr-in b { color: var(--primary); }
.ftr-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* homepage */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 32px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--secondary); margin-bottom: 14px; }
.hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -.025em; margin-bottom: 16px; }
.hero .actions, .tile .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.hero-fig { margin: 0; }
.hero-map { height: 360px; border-radius: var(--r-map); border: 1px solid var(--rule); background: var(--subtle); overflow: hidden; }
.hero-fig figcaption { font-size: 13px; color: var(--secondary); margin-top: 8px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin: 32px 0 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.sec-head h2 { font-size: 26px; margin: 0; }
.sec-head p { margin: 0; color: var(--secondary); max-width: 560px; font-size: 15px; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile { display: grid; grid-template-columns: 150px minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-map); padding: 18px; align-items: start; }
.tile .facts { border-left: 1px solid var(--rule); padding-left: 24px; margin: 0; }
.tile-map { display: block; background: var(--subtle); border-radius: 8px; aspect-ratio: 150 / 285; overflow: hidden; }
.tile-map img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; display: block; }
.tile-info h3 { font-size: 21px; margin-bottom: 6px; }
.tile-info h3 a { color: var(--primary); text-decoration: none; }
.tile-info h3 a:hover { text-decoration: underline; }
.tile-info p { font-size: 15px; margin-bottom: 8px; }
.tile-info .current { font-weight: 600; color: var(--primary); }
.facts { margin: 4px 0 8px; display: grid; gap: 6px; font-size: 14px; }
.facts div { display: grid; gap: 0; }
.facts dt { color: var(--secondary); font-size: 12.5px; }
.facts dd { margin: 0; color: var(--body); }
.facts .exc { color: var(--warn-ink); }
.devs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dev { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-map); padding: 20px; }
.dev p { font-size: 15px; }
.devfacts { display: grid; gap: 8px; margin: 0 0 14px; font-size: 14px; }
.devfacts dt { color: var(--secondary); font-size: 12.5px; } .devfacts dd { margin: 0; }
.evaluate { padding-top: 24px; padding-bottom: 40px; }
.evaluate h2 { margin: 24px 0 14px; }
.steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { margin: 0; counter-increment: s; }
.steps a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-top: 3px solid var(--primary); background: var(--surface); text-decoration: none; color: var(--body); }
.steps a b { color: var(--primary); }
.steps a b::before { content: counter(s) ". "; }
.steps a span { font-size: 14px; }
.methods-link { font-size: 15px; }

/* workspace: sized to the visible viewport by app.js (--ws-h); CSS fallback below */
.ws-page .ftr { display: none; }
.ws { --panel-w: 360px; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); max-width: 1600px; margin: 0 auto;
  height: calc(100vh - 110px); height: var(--ws-h, calc(100dvh - 110px)); min-height: 440px; padding: 0 24px 16px; }
.ws-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; padding: 12px 0 8px; }
.ws-head h1 { font-size: 28px; margin: 0; }
.ws-head .scope { font-size: 15px; font-weight: 500; color: var(--secondary); margin-left: 6px; letter-spacing: 0; }
.ws-head .sub { margin: 2px 0 0; font-size: 14px; color: var(--secondary); }
.ws-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-top: 1px solid var(--rule); }
.rel-select, .mini-select { min-height: 40px; border: 1px solid var(--rule); border-radius: var(--r-ctl); background: var(--surface); padding: 0 10px; font-size: 15px; color: var(--primary); }
.rel-select { min-width: 0; max-width: 340px; font-weight: 600; }
.bar-group { display: flex; align-items: center; gap: 6px; }
.bar-slider { flex: 1 1 200px; min-width: 120px; display: flex; flex-direction: column; }
.bar-slider input { width: 100%; accent-color: var(--primary); height: 28px; }
.ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--secondary); }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; min-height: 40px; padding: 0 4px; }
.check input { accent-color: var(--primary); width: 18px; height: 18px; }
.bar-status { font-size: 13px; color: var(--secondary); min-width: 0; }
.ws-quality { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; padding: 6px 0 10px; font-size: 14px; color: var(--body); }
.ws-quality .q b { color: var(--primary); font-weight: 650; }
.ws-quality .q .muted { font-size: 13px; }
.exception { display: inline; background: var(--warn-bg); color: var(--warn-ink); padding: 2px 8px; border-radius: 6px; font-size: 13.5px; }
.exception b { font-weight: 700; }
.exception b { color: var(--warn-ink) !important; }
.notice { background: var(--subtle); color: var(--body); padding: 3px 10px; border-radius: 6px; font-size: 13.5px; }
.ws-main { display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w); gap: 16px; min-height: 0; }
.ws-map { position: relative; min-height: 0; border-radius: var(--r-map); border: 1px solid var(--rule); overflow: hidden; background: var(--subtle); }
.map { position: absolute; inset: 0; z-index: 0; }
.map-tools { position: absolute; top: 10px; right: 10px; z-index: 600; display: flex; gap: 6px; }
.map-status { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); color: var(--primary); max-width: 70%; }
.map-status:empty { display: none; }
.map-status.err { background: var(--error-bg); color: var(--error-ink); border-color: #E7C3C3; }
.map-status button { margin-left: 8px; font-size: 13px; background: none; border: 1px solid currentColor; border-radius: 6px; padding: 2px 8px; cursor: pointer; color: inherit; }
.inspect-chip { position: absolute; left: 56px; top: 10px; z-index: 600; max-width: min(320px, 55%); background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.inspect-chip b { color: var(--primary); }
.legend { position: absolute; left: 10px; bottom: 10px; z-index: 600; background: rgba(255,255,255,.96); border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px;
  width: min(480px, calc(100% - 20px)); max-height: calc(100% - 70px); overflow: auto; font-size: 12.5px; line-height: 1.3; }
.legend .lg-t { font-weight: 650; color: var(--primary); font-size: 13px; }
.legend .lg-u { color: var(--secondary); font-size: 12px; margin-bottom: 6px; }
.lg-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 3px 12px; }
.lg-item { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sw { width: 16px; height: 12px; flex: none; border: 1px solid rgba(0,0,0,.18); border-radius: 2px; }
.sw.line { height: 0; border: 0; border-top: 2px solid; }
.legend details { margin-top: 6px; }
.legend summary { font-size: 12px; }
.legend .lg-notes { color: var(--secondary); font-size: 12px; margin-top: 4px; }
.ws-panel { min-height: 0; overflow: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-map); }
.panel-toggle { display: none; }
.panel-body { padding: 4px 16px 16px; }
.pblock { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pblock:last-child { border-bottom: 0; }
.pblock h2 { font-size: 15px; letter-spacing: .01em; margin-bottom: 8px; }
.layers { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; }
.layers label, .overlays label { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 15px; }
.layers label span.u { color: var(--secondary); font-size: 13px; }
.layers input, .overlays input { accent-color: var(--primary); width: 18px; height: 18px; flex: none; }
.opacity { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 14px; margin-top: 6px; }
.opacity input { accent-color: var(--primary); }
.opacity output { font-size: 13px; color: var(--secondary); min-width: 40px; text-align: right; }
.qv { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.qgrid { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; margin: 8px 0; }
.qgrid dt { color: var(--secondary); } .qgrid dd { margin: 0; overflow-wrap: anywhere; }
.files { list-style: none; padding: 0; margin: 0; }
.files li { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.files li:last-child { border-bottom: 0; }
.files a { font-weight: 600; text-decoration: none; }
.files a:hover { text-decoration: underline; }
.files .fd { display: block; font-size: 13px; color: var(--secondary); }
.files .fn { display: block; font: 12px var(--mono); color: var(--secondary); overflow-wrap: anywhere; }
.limit { color: var(--body); border-left: 3px solid var(--rule); padding-left: 10px; }
details summary { cursor: pointer; color: var(--link); font-size: 14px; min-height: 32px; display: flex; align-items: center; }
details[open] > summary { margin-bottom: 6px; }
.mlist dt { font-weight: 600; font-size: 14px; margin-top: 8px; color: var(--primary); }
.mlist dd { margin: 2px 0 0; font-size: 14px; }
.kv { width: 100%; border-collapse: collapse; font-size: 13px; }
.kv td { padding: 4px 0; border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; }
.kv td:first-child { color: var(--secondary); width: 42%; padding-right: 8px; }
.ws.expanded { position: fixed; inset: 0; z-index: 2000; height: 100vh; height: 100dvh; max-width: none; background: var(--canvas); padding-top: 8px; }
.ws.expanded .ws-main { grid-template-columns: minmax(0, 1fr); }
.ws.expanded .ws-panel { display: none; }
.leaflet-container { font: inherit; background: var(--subtle); }
.basemap { filter: grayscale(.75) contrast(.9) brightness(1.04); }  /* basemap only; data layers are never filtered */
.cog-tile { image-rendering: pixelated; image-rendering: crisp-edges; }

/* burned-area pre-release, perimeter evidence, methods */
.prerelease h1, .evidence h1, .doc-body h1, .nf h1 { font-size: 34px; margin-bottom: 10px; }
.status-line { font-size: 18px; color: var(--body); max-width: 760px; }
.status-line b { color: var(--primary); }
.flow { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.flow li { margin: 0; padding: 14px 16px 14px 0; border-top: 3px solid var(--primary); display: flex; flex-direction: column; gap: 4px; position: relative; }
.flow li + li { padding-left: 16px; }
.flow .n { font-size: 13px; font-weight: 700; color: var(--secondary); }
.flow b { color: var(--primary); }
.flow span:last-child { font-size: 14.5px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; margin-top: 12px; }
.cols2 section { padding-top: 16px; border-top: 1px solid var(--rule); }
.cols2 h2 { font-size: 18px; }
.cols2 ul, .cols2 p { font-size: 15.5px; }
.tablewrap { overflow-x: auto; max-width: 100%; }
.progress { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0; }
.progress th, .progress td { border-bottom: 1px solid var(--rule); padding: 10px 8px; text-align: left; vertical-align: top; }
.progress thead th { font-size: 12.5px; color: var(--secondary); font-weight: 600; }
.progress tbody th { font-weight: 400; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; min-width: 260px; }
.progress tbody th .n { grid-row: span 2; font-weight: 700; color: var(--secondary); }
.progress tbody th b { color: var(--primary); }
.progress tbody th span:last-child { font-size: 13.5px; color: var(--secondary); }
.progress td { text-align: center; font-size: 16px; }
.yes { color: var(--ok-ink); font-weight: 700; } .no { color: var(--secondary); }
.plain { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.plain th, .plain td { text-align: left; border-bottom: 1px solid var(--rule); padding: 8px 10px 8px 0; vertical-align: top; }
.plain th { font-size: 12.5px; color: var(--secondary); font-weight: 600; }
.tech { margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 12px; }
.tech > summary { font-size: 16px; font-weight: 600; }
.tech h3 { margin-top: 16px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 48px; padding-top: 32px; padding-bottom: 48px; }
.toc { position: sticky; top: 16px; align-self: start; font-size: 14px; }
.toc summary { color: var(--secondary); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rule); }
.toc li { margin: 0; } .toc a { display: block; padding: 6px 12px; text-decoration: none; color: var(--secondary); }
.toc a:hover { color: var(--primary); }
.doc-body section { padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.doc-body h2 { font-size: 21px; }
.doc-body ul, .doc-body p { font-size: 16px; }
.nf { min-height: 50vh; }

/* responsive */
@media (max-width: 1180px) {
  .tile { grid-template-columns: 120px minmax(0, 1fr); }
  .tile .facts { grid-column: 2; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 10px; }
  .ws { --panel-w: 310px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero h1 { font-size: 38px; }
  .hero-map { height: 280px; }
  .steps, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .devs, .cols2 { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .toc { position: static; } .toc summary { pointer-events: auto; }
  .switch-wide { display: none; } .switch-narrow { display: block; }
  .svcnav { padding: 0 16px; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap, .wrap-read { padding-left: 16px; padding-right: 16px; }
  .hdr { padding: 8px 16px; }
  .nav-wide { display: none; } .nav-narrow { display: block; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 34px; }
  .lede { font-size: 16.5px; }
  .tile { grid-template-columns: 84px minmax(0, 1fr); padding: 12px; gap: 12px; }
  .tile .facts { grid-column: 1 / -1; }
  .steps, .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li + li { padding-left: 0; }
  .sec-head h2 { font-size: 22px; }
  .prerelease h1, .evidence h1, .doc-body h1 { font-size: 30px; }
  .ftr-in { padding: 16px; }
  /* workspace: map + legend fill the screen; details open as a drawer over the map */
  .ws { padding: 0 8px 8px; min-height: 360px; }
  .ws-head { padding: 8px 0 4px; }
  .ws-head h1 { font-size: 22px; }
  .ws-head .sub, .ws-dl { display: none; }
  .ws-bar { gap: 6px 8px; padding: 6px 0; }
  .rel-select { flex: 1 1 100%; max-width: none; }
  .bar-slider { order: 5; flex-basis: 100%; }
  .ws-quality { font-size: 13px; gap: 2px 12px; padding: 4px 0 6px; }
  .ws-quality .q-secondary { display: none; }
  .ws-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 0; position: relative; }
  .ws-panel { border-radius: 0 0 var(--r-map) var(--r-map); overflow: visible; }
  .panel-toggle { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--surface); color: var(--primary); font-weight: 650; cursor: pointer; border-radius: 0 0 var(--r-map) var(--r-map); }
  .panel-toggle::after { content: "▴"; }
  .panel-toggle[aria-expanded="true"]::after { content: "▾"; }
  .panel-body { display: none; }
  .ws-panel.open .panel-body { display: block; position: absolute; left: 0; right: 0; bottom: 44px; max-height: 72%; overflow: auto; background: var(--surface);
    border: 1px solid var(--rule); border-radius: var(--r-map) var(--r-map) 0 0; z-index: 900; box-shadow: 0 -6px 18px rgba(22,58,50,.12); }
  .ws-map { border-radius: var(--r-map) var(--r-map) 0 0; }
  .legend { font-size: 11.5px; padding: 6px 8px; max-height: 46%; }
  .lg-items { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 2px 8px; }
  .inspect-chip { left: 52px; max-width: calc(100% - 110px); }
}
@media (max-height: 560px) and (min-width: 761px) { .ws-head .sub { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .hdr nav, .svcnav, .ws-bar, .map-tools, .skip { display: none; } }

/* workspace pages: compact chrome so the map dominates the visible height */
.ws-page .hdr { padding-top: 6px; padding-bottom: 6px; }
.ws-page .svcnav { min-height: 44px; }
.ws-page .switch a { padding-top: 11px; padding-bottom: 9px; }
.ws-head { padding: 8px 0 6px; }
.ws-quality { padding: 4px 0 8px; gap: 4px 16px; font-size: 13.5px; }
.ws-quality .notice, .ws-quality .exception { font-size: 13px; }
@media (max-height: 860px) and (min-width: 761px) { .ws-head .sub { display: none; } .ws-head h1 { font-size: 26px; } }
.lg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.lg-fold { border: 1px solid var(--rule); background: var(--surface); color: var(--primary); border-radius: 6px; min-width: 32px; min-height: 28px; cursor: pointer; font-size: 12px; }
.legend.folded .lg-items, .legend.folded details, .legend.folded .lg-u { display: none; }
@media (max-width: 760px) {
  .bar-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #btn-latest { min-height: 40px; }
  .ws-head h1 .scope { font-size: 13px; }
}

/* measured compact density (app.js adaptDensity) */
.q-full { display: contents; }
.q-compact { display: none; }
.ws.compact .q-full { display: none; }
.ws.compact .q-compact { display: contents; }
.ws.compact .ws-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ws.compact .ws-quality { padding: 2px 0 6px; }
.qlist { list-style: none; padding: 0; margin: 0 0 8px; font-size: 14px; }
.qlist li { padding: 3px 0; }
.qlist b { color: var(--primary); }
@media (max-width: 760px) {
  .rel-select { flex: 1 1 200px; }
}
.ws-head { grid-row: 1; } .ws-bar { grid-row: 2; } .ws-quality { grid-row: 3; } .ws-main { grid-row: 4; }

@media (max-width: 760px) {
  .progress thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .progress, .progress tbody, .progress tr { display: block; width: 100%; }
  .progress tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .progress tbody th { display: grid; min-width: 0; border: 0; padding: 0 0 6px; }
  .progress td { display: inline-flex; gap: 4px; align-items: baseline; border: 0; padding: 2px 12px 2px 0; font-size: 13px; text-align: left; }
  .progress td::before { content: attr(data-label) ":"; color: var(--secondary); }
}

.ws.reflow { height: auto; min-height: 0; }
.ws.reflow .ws-main { height: max(260px, 75vh); }
.ws-page:has(.ws.reflow) .ftr { display: block; }

.toc-t { color: var(--secondary); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.toc-narrow { display: none; }
.toc-narrow summary { pointer-events: auto; text-transform: none; font-size: 15px; letter-spacing: 0; color: var(--link); }
@media (max-width: 900px) { .toc-wide { display: none; } .toc-narrow { display: block; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 4px 0; } }

/* ---- follow-up 04: logo, Release Quality heading, close buttons, grouped legend, tooltip, Method Details */
.brand .logo { display: block; height: 36px; width: auto; flex: none; }
.ws-quality { align-items: baseline; flex-wrap: nowrap; }
.ws-quality .qh { flex: none; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--secondary); margin: 0; }
.ws-quality .qbody { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; min-width: 0; }
.ws.compact .ws-quality .qh { display: none; }
.x-btn { flex: none; border: 1px solid var(--rule); background: var(--surface); color: var(--primary); border-radius: 6px; width: 28px; height: 28px; line-height: 1; font-size: 18px; cursor: pointer; padding: 0; }
.x-btn:hover { background: var(--rule); }
.x-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.inspect-chip { display: flex; align-items: center; gap: 8px; }
.inspect-chip[hidden] { display: none; }
.inspect-chip .x-btn { width: 24px; height: 24px; font-size: 16px; }
.ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ph h2 { margin-bottom: 0; }
.legend .lg-g { font-size: 12px; font-weight: 650; color: var(--primary); margin: 6px 0 3px; }
.legend.folded .lg-g { display: none; }
.tip { border-bottom: 1px dotted currentColor; cursor: help; }
.tip:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
#method-full .mh { font-size: 13.5px; margin: 10px 0 2px; color: var(--primary); }
#map:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
@media (max-width: 640px) { .ws-quality .qh { display: none; } }
.lg-items.lg-ramp { grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); }
.lg-items.lg-ramp .lg-item:first-child { grid-column: 1 / -1; }

/* ---- edits round 2 (EDITS_02): larger banner logo, homepage logo, daily report card */
.brand .logo { height: 52px; }
.hero-logo { display: block; height: 72px; width: auto; margin: 0 0 14px; }
.hero-copy .lede + .lede { margin-top: 6px; }
.report-card { display: block; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); padding: 8px; text-decoration: none; color: var(--link); }
.report-card img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; object-position: top center; background: #fff; border-radius: 4px; }
.report-card .rc-t { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.report-card:hover, .report-card:focus-visible { border-color: var(--primary); }
.report-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.facts .dd-note { display: block; color: var(--secondary); font-size: 12px; font-weight: 400; margin-top: 2px; }
.inspect-chip .btn-sm { margin-left: 6px; }
@media (max-width: 640px) { .brand .logo { height: 40px; } .hero-logo { height: 56px; } }

/* ---- edits round 3 (EDITS_03): basemap switch on the map */
.basemap-switch { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 2px; font-size: 12px; }
.basemap-switch .bs-l { color: var(--secondary); padding: 0 6px 0 4px; }
.basemap-switch button { border: 0; background: transparent; color: var(--primary); font: inherit; padding: 5px 8px; border-radius: 6px; cursor: pointer; min-height: 28px; }
.basemap-switch button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.basemap-switch button:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
@media (max-width: 640px) { .basemap-switch .bs-l { display: none; } }

/* ---- edits round 4 (EDITS_04): Methods & Evidence copy */
.doc-sub { font-size: 20px; font-weight: 600; color: var(--primary); margin: 0 0 12px; max-width: 720px; }
.doc-body .lede + .lede { margin-top: 10px; }
.doc-body h3 { font-size: 16px; margin: 18px 0 6px; color: var(--primary); }
.doc-body p { max-width: 720px; }
.steps-doc { padding-left: 1.4em; } .steps-doc li { margin: 0 0 10px; } .steps-doc b { color: var(--primary); }
table.glance th[scope="row"] { font-weight: 650; color: var(--primary); min-width: 110px; }
table.glance td, table.glance th { vertical-align: top; }
.doc-details { margin: 12px 0; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 12px; background: var(--surface); }
.doc-details summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.doc-body section:target, .doc-body section:focus-within { scroll-margin-top: 16px; }
@media (max-width: 640px) { table.glance th[scope="row"] { white-space: normal; } }

/* Burned area workspace (BURNED_AREA_WORKSPACE_CHANGES step 8) */
#btn-compare[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
#btn-compare:disabled { opacity: .55; cursor: default; }
.layers + .layers { margin-top: 10px; padding-top: 6px; border-top: 1px solid var(--rule); }
.layers > legend:not(.sr-only) { font-size: 13px; font-weight: 600; color: var(--secondary); padding: 0; margin-bottom: 2px; }
.q.agreement { color: var(--secondary); font-size: 13px; }
.q.agreement a { color: var(--link); }
.sw.dot { width: 22px; height: 10px; border-radius: 5px; border: 1px solid #222; }
.inspect-chip .chip-line { display: block; font-size: 12.5px; color: var(--body); }
#limits ul { padding-left: 18px; margin: 4px 0 8px; }
/* the workspace column never grows past the screen: long fire labels in the picker shrink instead */
.ws { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
  .rel-select { min-width: 0; max-width: 100%; }
  #btn-compare { white-space: normal; text-align: left; }
}
.layers .img-info { margin: 4px 0 0; line-height: 1.35; }

/* ---- edits round 8 (EDITS_08): Burned Area Analysis map view, overlays, evidence, legend, comparison */
.view-switch { display: inline-flex; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--surface); }
.view-switch button { border: 0; background: transparent; color: var(--primary); font: inherit; font-size: 13.5px; padding: 6px 12px; cursor: pointer; min-height: 34px; }
.view-switch button + button { border-left: 1px solid var(--rule); }
.view-switch button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.view-switch button:focus-visible, #btn-swipe:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
#btn-swipe[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.mv-now { font-size: 13px; color: var(--secondary); margin: 0 0 4px; }
.layers label.mv, .layers label.img-opt, .overlays label.ov { display: grid; grid-template-columns: 18px auto 1fr; column-gap: 8px; row-gap: 0; align-items: center; min-height: 0; padding: 4px 0; }
.layers label.mv input, .layers label.img-opt input, .overlays label.ov input { grid-row: 1; }
.mv .mv-t, .img-opt .mv-t { grid-column: 2 / 4; font-size: 14.5px; }
.ov .sw { grid-column: 2; }
.ov .mv-t { grid-column: 3; font-size: 14.5px; }
.mv-h { grid-column: 2 / 4; font-size: 12px; line-height: 1.35; color: var(--secondary); }
.ov .mv-h { grid-column: 2 / 4; }
label.disabled { opacity: .6; cursor: default; }
.img-sel { margin: 2px 0 4px 26px; padding: 4px 0 4px 10px; border-left: 2px solid var(--rule); }
.img-help { margin: 4px 0 0; }
.mv-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px 26px; }
.mv-adv, .evidence { margin: 6px 0 2px; }
.mv-adv > summary, .evidence > summary { cursor: pointer; font-size: 13.5px; color: var(--primary); font-weight: 600; padding: 4px 0; }
.ph3 { font-size: 14px; margin: 10px 0 2px; color: var(--primary); }
.sw.line.spot { border-top: 2px solid #1a1a1a; box-shadow: 0 -1px 0 #fff, 0 1px 0 #fff; width: 22px; }
.sw.line.cand { border-top: 2px dashed #C77700; width: 22px; }
.lg-one { display: block; }
.lg-one .lg-item { margin: 2px 0; }
.lg-bar { height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,.2); margin: 4px 0 2px; min-width: 200px; }
.lg-ticks { position: relative; height: 14px; font-size: 11px; color: var(--secondary); margin-bottom: 4px; }
.lg-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.lg-ticks span:first-child { transform: none; }
.lg-ticks span:last-child { transform: translateX(-100%); }
.legend.stale { opacity: .45; }
.q-burned { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; position: relative; }
.q-more > summary { cursor: pointer; color: var(--link); font-size: 13px; }
.q-more[open] .q-more-body { position: absolute; z-index: 700; left: 0; right: 0; top: 100%; background: var(--surface); border: 1px solid var(--rule);
  border-radius: 8px; padding: 8px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.12); font-size: 13px; }
.q-more-body p { margin: 2px 0; }
.swipe { position: absolute; inset: 0; z-index: 640; pointer-events: none; }
.swipe-bar { position: absolute; top: 0; bottom: 0; width: 24px; margin-left: -12px; cursor: ew-resize; pointer-events: auto; touch-action: none; }
.swipe-bar::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.45); }
.swipe-handle { position: absolute; top: 50%; left: 0; width: 24px; height: 40px; margin-top: -20px; border-radius: 6px; border: 1px solid rgba(0,0,0,.5);
  background: #fff; cursor: ew-resize; padding: 0; }
.swipe-handle:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; }
.swipe-lab { position: absolute; top: 52px; background: rgba(255,255,255,.92); border: 1px solid var(--rule); border-radius: 6px; padding: 3px 8px; font-size: 12px; max-width: 45%; }
.swipe-lab-l { left: 56px; }
.swipe-lab-r { right: 10px; }
@media (max-width: 640px) { .view-switch button { padding: 6px 8px; font-size: 12.5px; } .swipe-lab { top: 48px; font-size: 11px; } }
label.mv:not(:has(input:checked)) .mv-h { display: none; }      /* helper text only under the selected view */
.mv-hint { margin: 0 0 4px 26px; }
.linkish { border: 0; background: none; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }
.pblock label.opacity { margin: 2px 0 4px; }

/* Methods & Evidence page: reading rhythm, grouped contents, stacked tables (about-page cleanup, 2026-10-20) */
.doc-body { min-width: 0; }
.doc-body p, .doc-body ul, .doc-body ol { font-size: 16.5px; line-height: 1.65; max-width: 70ch; }
.doc-body .lede { font-size: 17.5px; }
.doc-body section { padding-top: 28px; margin-top: 28px; scroll-margin-top: 24px; }
.doc-body h2 { font-size: 23px; margin-bottom: 12px; }
.doc-body h3 { font-size: 16.5px; margin: 20px 0 6px; }
.doc-body h4 { font-size: 15px; color: var(--primary); margin: 16px 0 6px; }
.doc-body li { margin: 6px 0; }
.doc-body .small { font-size: 14.5px; }
.doc-body .plain { font-size: 15px; } .doc-body .plain th { font-size: 13px; }
.doc-body .plain tbody th { font-size: 15px; }
.doc-body .tablewrap { margin: 4px 0 16px; }
.doc-details p, .doc-details ul { font-size: 15px; }
.doc-details[open] { padding-bottom: 12px; }
.doc-details[open] > summary { margin-bottom: 8px; }
.svc-more { margin-top: 14px; } .svc-more a { font-weight: 600; text-decoration: none; }
.svc-more a::after { content: " \2192"; } .svc-more a:hover { text-decoration: underline; }
.toc-g > span { display: block; padding: 10px 12px 2px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--secondary); }
.toc .toc-g ol { border-left: 0; } .toc .toc-g a { padding-left: 22px; }
@media (max-width: 640px) {
  .doc-body p, .doc-body ul, .doc-body ol { font-size: 16px; }
  .doc-body .tablewrap { overflow-x: visible; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
  table.stack th, table.stack td { border: 0; padding: 2px 0; }
  table.stack td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 600; color: var(--secondary); }
  table.stack tbody th[scope="row"] { font-size: 15.5px; padding-bottom: 4px; }
}
@media (min-width: 641px) { table.eval tbody th[scope="row"] { white-space: nowrap; } }

/* ---- edits round 9 (EDITS_09): contact page */
.ct { max-width: 1120px; padding-top: 28px; padding-bottom: 48px; font-size: 17px; line-height: 1.6; }
.ct h1 { font-size: 34px; margin: 0 0 4px; color: var(--primary); }
.ct h2 { font-size: 21px; color: var(--primary); margin: 0 0 8px; }
.ct p { max-width: 70ch; }
.ct-sub { color: var(--secondary); font-size: 17px; margin: 0 0 12px; }
.ct-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 40px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.ct-panel { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid #DC4901; border-radius: 10px; padding: 20px 22px; }
.ct-name { font-size: 20px; margin: 0; }
.ct-role { color: var(--secondary); margin: 2px 0 12px; font-size: 15px; }
.ct-dl { margin: 0 0 8px; }
.ct-dl div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px; padding: 3px 0; }
.ct-dl dt { color: var(--secondary); font-size: 14px; }
.ct-dl dd { margin: 0; overflow-wrap: anywhere; }
.ct-loc { margin: 4px 0 14px; font-size: 15px; }
.ct-panel .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.ct-sec + .ct-sec { margin-top: 18px; }
.ct-rfp { border-left: 3px solid var(--rule); padding-left: 20px; font-size: 16px; }
.ct-links { padding: 24px 0 8px; }
.ct-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct-links li { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 2px solid var(--rule); }
.ct-links span { color: var(--secondary); font-size: 15px; }
.ct-enq { padding-top: 12px; }
.ct a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 860px) {
  .ct-top, .ct-body { grid-template-columns: 1fr; gap: 20px; }
  .ct-links ul { grid-template-columns: 1fr; }
  .ct h1 { font-size: 28px; }
}

/* ---- edits round 10 (EDITS_10): four service cards two by two; contact page in one column */
@media (min-width: 1000px) {
  .tiles.tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .tiles-4 .tile { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .tiles-4 .tile .facts { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 12px; }
}
.ct.ct-one { max-width: 860px; }
.ct-one > * + *, .ct-one > .ct-sec + .ct-sec { margin-top: 32px; }
.ct-one .ct-panel { display: block; }
.ct-one .ct-sec h2 { margin-bottom: 8px; }
.ct-one .ct-sec p + p { margin-top: 10px; }
.ct-rows { list-style: none; padding: 0; margin: 0; }
.ct-rows li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--rule); }
.ct-rows li:last-child { border-bottom: 1px solid var(--rule); }
.ct-rows a { font-weight: 650; }
.ct-rows span { color: var(--secondary); font-size: 15px; }
