:root {
  --green: #1B5E37;
  --green-dark: #143F25;
  --green-soft: #DDEFE3;
  --ochre: #D9A441;
  --ink: #14211B;
  --ink-2: #2F3B35;
  --muted: #4F5C55;
  --line: #DDE2DE;
  --line-soft: #EEF1EF;
  --bg: #F7F8F6;
  --card: #FFFFFF;
  --tint: #F2F5F3;
  --radius: 12px;
  --head: Outfit, Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

.notice { background: var(--green-dark); color: #F1F5F2; font-size: 13.5px; text-align: center; padding: 9px 16px; }
.notice strong { font-weight: 600; }

.site-head { background: #fff; border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand b { font-family: var(--head); font-size: 20px; display: block; }
.brand small { color: var(--muted); font-size: 12.5px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; }
.nav a { padding: 11px 12px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; border-radius: 8px; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #AEB8B1; }
.btn-ghost:hover { background: var(--tint); color: var(--ink); }
.btn-ochre { background: var(--ochre); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: default; }

.hero { padding: 48px 0 28px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.hero > div:first-child { flex: 999 1 520px; min-width: 0; }
.kicker { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8A4B06; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.02em; max-width: 760px; }
.lede { font-size: 18px; color: #3B4842; max-width: 640px; margin: 16px 0 0; }

.ask { flex: 1 1 300px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ask label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 8px; }
.ask-row { display: flex; gap: 8px; }
.ask input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid #AEB8B1; border-radius: 8px; font: inherit; font-size: 16px; }
.ask .hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.answer { margin-top: 14px; padding: 14px; background: var(--tint); border-radius: 10px; font-size: 15px; display: none; }
.answer.show { display: block; }
.answer p { margin: 0 0 8px; }
.answer .cites { font-size: 13.5px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; padding-bottom: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat .n { font-family: var(--head); font-size: 38px; font-weight: 700; }
.stat .l { font-size: 14px; color: var(--muted); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 20px 22px; }
.section { padding-bottom: 40px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 12px; }
.section-head h2 { font-size: 24px; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid #C9D0CB; background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.rows { list-style: none; margin: 0; padding: 0; }
.row { border-top: 1px solid var(--line-soft); }
.row a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr) 140px; gap: 16px; align-items: center; padding: 16px 22px; text-decoration: none; color: var(--ink); }
.row a:hover { background: #FAFBFA; }
.row .t { font-weight: 600; font-size: 16px; line-height: 1.35; }
.row .m { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.row .stage { font-size: 14px; }
.bar { display: block; height: 6px; border-radius: 3px; background: #E6EAE7; overflow: hidden; margin-top: 6px; }
.bar > span { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.table-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr) 140px; gap: 16px; padding: 8px 22px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.r-on_track { color: #0B5A33; background: #DDEFE3; }
.r-stalled { color: #7A4A00; background: #FBEBCB; }
.r-off_track { color: #9A2318; background: #F8DCD8; }
.r-reversed { color: #4A3A8C; background: #E6E3F3; }
.r-too_early { color: #3D4743; background: #E8EAE9; }
.r-unrated { color: #3D4743; background: #fff; border: 1px dashed #9AA79F; }
.s-complete { color: #0B5A33; background: #DDEFE3; }
.s-partial { color: #7A4A00; background: #FBEBCB; }
.s-limited { color: #9A2318; background: #F8DCD8; }
.s-not_yet { color: #3D4743; background: #E8EAE9; }
.draft-tag { display: inline-block; margin-left: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7A4A00; }

.grid-2 { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.grid-2 > .main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.grid-2 > aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.chain { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.chain button { width: 100%; min-height: 132px; text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); font: inherit; color: var(--ink); cursor: pointer; }
.chain button[aria-pressed="true"] { border-color: var(--green); background: #fff; }
.chain .no { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.chain .nm { font-weight: 700; font-size: 16px; }
.chain .dt { font-size: 13px; color: var(--muted); }
.evidence { margin-top: 18px; padding: 18px; background: var(--tint); border-radius: 10px; }
.evidence h3 { font-size: 18px; margin-bottom: 8px; }
.evidence p { margin: 0 0 8px; }
.src-list { list-style: none; margin: 0; padding: 0; }
.src-list li { padding: 12px 0; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 15px; }
.src-list li:first-child { border-top: 0; }
.src-list .pub { color: var(--muted); font-size: 13.5px; }
blockquote.promise { margin: 16px 0 0; padding: 14px 18px; border-left: 4px solid var(--ochre); background: #FFFBF2; font-size: 16px; color: var(--ink-2); }

.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #AEB8B1; border-radius: 8px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.status-msg { font-size: 14px; }

.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.method-grid h3 { font-size: 17px; margin-bottom: 6px; }
.method-grid p { margin: 0; color: #3B4842; font-size: 15px; }

.site-foot { background: var(--green-dark); color: #D4DBD6; margin-top: 40px; }
.site-foot .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; }
.site-foot img { width: 280px; margin-left: -8px; }
.site-foot a { color: #fff; }
.site-foot .links { display: flex; flex-direction: column; gap: 6px; }

.admin-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line-soft); }
.admin-stage { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }

@media (max-width: 720px) {
  .table-head { display: none; }
  .row a { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding-top: 32px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; }
  .stat .n { font-size: 30px; }
  .site-foot img { width: 240px; }
}

/* Budget execution */
.budget-year { margin-bottom: 28px; }
.bl { padding: 18px 22px; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr); gap: 20px; align-items: center; }
.bl .name { font-weight: 600; }
.bl .meta { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.outside-head { padding: 18px 22px 4px; border-top: 2px solid var(--line-soft); background: var(--bg-soft, transparent); }
.outside-head h3 { margin: 0 0 6px; font-size: 15px; }
.outside-head p { margin: 0; font-size: 13.5px; }
.meter { display: grid; gap: 6px; }
.meter-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) 118px; gap: 10px; align-items: center; font-size: 13.5px; }
.meter-row .lab { color: var(--muted); }
.meter-row .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.meter-row .val.na { font-weight: 400; color: var(--muted); }
.track { height: 12px; border-radius: 6px; background: #E6EAE7; overflow: hidden; }
.track > span { display: block; height: 100%; border-radius: 6px; }
.f-alloc { background: #6A5BD0; }
.f-rel { background: #159F8C; }
.f-spent { background: #E0662E; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.year-total { font-family: var(--head); font-size: 15px; color: var(--muted); }

/* Parliament */
.bill { padding: 20px 22px; border-top: 1px solid var(--line-soft); }
.bill h3 { font-size: 18px; margin-bottom: 6px; }
.bill .meta { font-size: 13.5px; color: var(--muted); }
.stage-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--green-soft); color: #0B5A33; }
.stage-pill.pending { background: #FBEBCB; color: #7A4A00; }
.stage-pill.ended { background: #E8EAE9; color: #3D4743; }
.timeline { list-style: none; margin: 14px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 12px; }
.timeline li { position: relative; font-size: 14.5px; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.timeline .d { font-weight: 600; margin-right: 6px; }

/* Data page */
.endpoint { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; background: var(--tint); padding: 10px 12px; border-radius: 8px; overflow-x: auto; white-space: pre; display: block; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* Admin tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

@media (max-width: 720px) {
  .bl { grid-template-columns: 1fr; }
  .meter-row { grid-template-columns: 64px minmax(0, 1fr) 96px; }
}

/* ---------- Tracker: tabs, toolbar, theme groups ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tracker-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px 6px; }
.tracker-head h2 { font-size: 26px; }
.search { flex: 1 1 280px; max-width: 440px; }
.search input { width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid #AEB8B1; border-radius: 8px; font: inherit; font-size: 15px; background: #fff; }
.stabs { display: flex; flex-wrap: nowrap; gap: 4px; padding: 10px 22px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.stab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.stab:hover { color: var(--ink); }
.stab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }
.stab .count { min-width: 26px; padding: 1px 8px; border-radius: 11px; background: var(--tint); color: var(--ink-2); font-size: 12.5px; text-align: center; }
.stab[aria-selected="true"] .count { background: var(--green); color: #fff; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line-soft); }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--tint); border-radius: 10px; padding: 3px; gap: 2px; }
.seg-btn { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: none; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20,33,27,.12); }
.toolbar-right { display: flex; align-items: center; gap: 8px; }
.toolbar select { min-height: 38px; padding: 0 10px; border: 1px solid #AEB8B1; border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.btn-sm { min-height: 38px; padding: 0 12px; font-size: 14px; }
.sector-head { display: flex; align-items: center; gap: 10px; font-size: 18px; padding: 22px 22px 8px; }
.theme { border-top: 1px solid var(--line-soft); }
.theme > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(140px, 1fr) 20px; gap: 18px; align-items: center; padding: 14px 22px; cursor: pointer; }
.theme > summary::-webkit-details-marker { display: none; }
.theme > summary:hover { background: #FAFBFA; }
.theme-title { font-weight: 600; font-size: 16px; display: flex; flex-direction: column; }
.theme-meta { font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.theme-bar .stack-lab { display: none; }
.theme-bar .stack-row { margin: 0; }
.chev { width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; justify-self: end; margin-top: -4px; }
.theme[open] .chev { transform: rotate(225deg); margin-top: 4px; }
.theme[open] > summary { background: var(--tint); }
.pips { display: flex; gap: 3px; margin-top: 6px; }
.pips i { display: block; width: 100%; max-width: 28px; height: 6px; border-radius: 2px; }

/* ---------- Dashboard ---------- */
.dash-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.dash-head h2 { font-size: 26px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.viz-card { padding: 20px 22px; min-width: 0; }
.viz-card h3 { font-size: 18px; }
.viz-sub { margin: 4px 0 16px; font-size: 13.5px; color: var(--muted); }
ul.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; font-size: 13px; color: var(--ink-2); }
ul.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend-col { flex-direction: column; gap: 4px; margin: 0; }
.legend-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: none; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; text-align: left; }
.legend-btn:hover, .legend-btn.on { background: var(--tint); border-color: var(--line); }
.viz-data { margin-top: 12px; font-size: 13px; }
.viz-data summary { cursor: pointer; color: var(--green); font-weight: 600; }
.viz-data table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.viz-data th, .viz-data td { padding: 5px 8px; border-bottom: 1px solid var(--line-soft); text-align: right; font-weight: 400; }
.viz-data th[scope="row"], .viz-data thead th:first-child { text-align: left; }
.viz-data thead th { font-weight: 600; color: var(--muted); }
.pw-tip { position: absolute; z-index: 50; display: none; max-width: 260px; padding: 8px 10px; background: var(--ink); color: #F4F7F5; font-size: 13px; line-height: 1.4; border-radius: 8px; pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.pw-tip b { color: #fff; }

/* Reach bars */
.reach { display: grid; gap: 10px; }
.reach-row { display: grid; grid-template-columns: minmax(120px, 160px) minmax(0, 1fr) 86px; gap: 12px; align-items: center; font-size: 14px; border-radius: 6px; }
.reach-row:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.reach-lab { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.reach-n { width: 20px; height: 20px; border-radius: 50%; background: var(--tint); font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.reach-track { height: 14px; background: var(--line-soft); border-radius: 0 4px 4px 0; }
.reach-fill { display: block; height: 100%; width: 0; background: var(--green); border-radius: 0 4px 4px 0; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.reach.in .reach-fill { width: var(--w); }
.reach-val { white-space: nowrap; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.reach-val small { font-weight: 400; color: var(--muted); }

/* Donut */
.donut-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.donut { width: 180px; height: 180px; flex: none; }
.donut-seg { stroke-dashoffset: calc(var(--off) * 1px); transition: stroke-dasharray 1s cubic-bezier(.2,.7,.2,1), opacity .2s; outline: none; }
.donut-wrap:not(.in) .donut-seg { stroke-dasharray: 0 999 !important; }
.donut-seg.dim { opacity: .3; }
.donut-seg:hover, .donut-seg:focus-visible { opacity: 1; stroke-width: 30; }
.donut-n { font-family: var(--head); font-size: 34px; font-weight: 700; fill: var(--ink); }
.donut-l { font-size: 12px; fill: var(--muted); }

/* Stacked bars */
.stacks { display: grid; gap: 12px; }
.stacks-title { margin: 6px 0 -4px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.stacks-title:first-child { margin-top: 0; }
.stack-row { display: grid; gap: 6px; }
.stack-lab { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.stack-lab .muted { font-weight: 400; font-size: 13px; }
.sbar { display: flex; gap: 2px; height: 18px; }
.sbar-seg { display: block; height: 100%; width: 0; flex: none; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.sbar-seg:first-child { border-radius: 4px 0 0 4px; }
.sbar-seg:last-child { border-radius: 0 4px 4px 0; }
.sbar-seg:only-child { border-radius: 4px; }
.stacks.in .sbar-seg, .theme-bar .sbar-seg { width: calc(var(--w) - 2px); }
.sbar-seg:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

/* Columns */
.cols { position: relative; height: 220px; margin: 14px 0 0 44px; }
.cols-grid { position: absolute; inset: 0 0 26px 0; }
.cols-tick { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line-soft); }
.cols-tick span { position: absolute; right: calc(100% + 8px); top: -8px; font-size: 11.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cols-plot { position: absolute; inset: 0; display: flex; gap: 6px; }
.col-group { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.col-bars { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 0; margin-bottom: 0; }
.col-bar { display: block; width: min(16px, 28%); height: 0; border-radius: 4px 4px 0 0; transition: height .9s cubic-bezier(.2,.7,.2,1); }
.cols.in .col-bar { height: var(--h); }
.col-bar.na { height: 0 !important; }
.col-bar:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.col-lab { height: 26px; line-height: 26px; text-align: center; font-size: 12.5px; color: var(--muted); border-top: 1px solid #C9D0CB; }

@media (max-width: 860px) {
  .dash-grid { grid-template-columns: 1fr; }
  .theme > summary { grid-template-columns: minmax(0, 1fr) 20px; }
  .theme-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
  .reach-row { grid-template-columns: minmax(0, 1fr) auto; }
  .reach-track { grid-column: 1 / -1; grid-row: 2; }
  .donut { width: 150px; height: 150px; }
  .toolbar-right { width: 100%; }
  .tracker-head, .stabs, .toolbar, .sector-head, .theme > summary { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .reach-fill, .sbar-seg, .col-bar, .donut-seg, .chev { transition: none; }
}

/* Promise vs delivery cards */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pcard { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #fff; min-width: 0; }
.pcard-top { display: flex; gap: 8px; align-items: baseline; }
.pcard-top .sw { border-radius: 50%; transform: translateY(1px); }
.pcard-label { font-weight: 600; font-size: 15px; line-height: 1.3; }
.pcard-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard-n { font-family: Outfit, Inter, sans-serif; font-size: 32px; font-weight: 700; line-height: 1; }
.pcard-cap { font-size: 13px; color: var(--muted, #5b6b62); }
.pbar { position: relative; height: 12px; background: #EEF1EF; border-radius: 6px; overflow: visible; cursor: default; }
.pbar-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: #159F8C; border-radius: 6px; transition: width 900ms cubic-bezier(.2,.7,.2,1); }
.pcards.in .pbar-fill { width: var(--w); }
.pbar-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: #14211B; border-radius: 1px; }
.pbar-over { position: absolute; right: 0; top: -20px; font-size: 11px; font-weight: 600; color: #0F6E61; }
.pcard-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.pcard-nums dt { font-size: 12px; color: var(--muted, #5b6b62); }
.pcard-nums dd { margin: 0; font-weight: 600; font-size: 15px; }
.pcard-nums dd span { font-weight: 400; font-size: 12px; color: var(--muted, #5b6b62); }
.pcard-link { margin: 0; font-size: 14px; }
.pcard-src { margin: auto 0 0; font-size: 12px; color: var(--muted, #5b6b62); }

/* Timeline */
.tl { display: grid; grid-template-columns: 72px 1fr; row-gap: 6px; padding-right: 18px; }
.tl-row-lab { font-size: 12px; color: var(--muted, #5b6b62); align-self: center; }
.tl-track { position: relative; border-bottom: 1px solid var(--line); }
.tl-stages { height: 44px; }
.tl-docs { height: 74px; }
.tl-ms { position: absolute; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); transform: scale(0); transition: transform 400ms cubic-bezier(.3,1.4,.5,1); }
.tl-doc { position: absolute; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); opacity: 0; transition: opacity 500ms; }
.tl.in .tl-ms { transform: scale(1); }
.tl.in .tl-doc { opacity: 1; }
.tl-doc:hover, .tl-doc:focus-visible { transform: scale(1.4); }
.tl-target { position: absolute; top: 0; bottom: -1px; border-left: 2px dashed #14211B; }
.tl-target b { position: absolute; top: 2px; left: 5px; font-size: 11px; white-space: nowrap; }
.tl-axis { grid-column: 2; position: relative; height: 22px; font-size: 12px; color: var(--muted, #5b6b62); }
.tl-axis > span { position: absolute; transform: translateX(-50%); top: 2px; }
.tl-nowline { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid #E0662E; pointer-events: none; }
.tl-axis > .tl-now { top: 20px; font-size: 11px; font-weight: 600; color: #B4491A; }
.tl-axis { height: 38px; }

/* Site map */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.map-wrap.compact { display: block; max-width: 300px; }
.pcard[hidden] { display: none; }
.gmap { overflow: hidden; width: 100%; height: auto; max-height: 640px; display: block; border-radius: 10px; }
.gmap-country { font-size: 13px; fill: #9AA59F; font-style: italic; }
.gmap-sea { font-size: 13px; fill: #6F8FA6; font-style: italic; }
.gmap-city circle { fill: #4B5A52; }
.gmap-city text { font-size: 12px; fill: #4B5A52; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.gmap-site circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 450ms cubic-bezier(.3,1.4,.5,1) var(--d); }
.map-wrap.in .gmap-site circle { transform: scale(1); }
.gmap-site:hover circle, .gmap-site:focus-visible circle { stroke: #14211B; }
.map-side .legend { margin-bottom: 12px; }
.site-list { list-style: none; padding: 0; margin: 0; max-height: 520px; overflow: auto; columns: 2 200px; column-gap: 16px; font-size: 14px; }
.site-list li { display: flex; gap: 8px; align-items: baseline; break-inside: avoid; padding: 4px 0; }
.site-list.plain { columns: auto; max-height: none; }
.site-list.plain li { display: block; }
.where-grid { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 20px; align-items: start; }
@media (max-width: 760px) {
  .map-wrap, .where-grid { grid-template-columns: 1fr; }
  .site-list { max-height: 300px; }
  .tl { grid-template-columns: 56px 1fr; }
  .pcard-n { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbar-fill, .tl-ms, .tl-doc, .gmap-site circle { transition: none; }
}
