/* Focused presentation layer. Loaded after the existing portal stylesheet. */
:root { --muted: #526176; }
body { font-size: 16px; line-height: 1.65; }
.header { background: #fff; backdrop-filter: none; }
.header-inner { height: auto; display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 18px; }
.brand { min-width: 0; padding-bottom: 18px; }
.brand-name { font-size: 19px; letter-spacing: .025em; }
.brand-sub { font-size: 14px; white-space: normal; max-width: none; line-height: 1.5; }
.chakra { flex-shrink: 0; }
#nav { grid-column: 1 / -1; position: static; display: flex; justify-content: flex-start; gap: 6px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--line); background: #fff; box-shadow: none; }
#nav a { padding: 11px 12px; font-size: 14px; font-weight: 600; line-height: 1.4; border: 0; border-radius: 5px; }
#nav a:hover, #nav a[aria-current="page"] { color: #124b82; background: #edf3f9; }
#nav a[aria-current="page"] { box-shadow: inset 0 -3px #145ca8; }
.menu { display: none; }
.status-strip { background: #f3f6fa; color: #40536b; border-bottom: 1px solid var(--line); }
.status-strip-inner { flex-wrap: wrap; }
.status-strip-inner>span:last-child { opacity: 1; }
.status-strip .live-dot { display: none; }
.page-hero { padding: 40px 0; }
.page-hero h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.25; letter-spacing: -.025em; }
.page-hero p { font-size: 17px; line-height: 1.7; max-width: 850px; }
.section-head { flex-wrap: wrap; align-items: center; }
.section-head h2 { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.3; }
.beneficiary-card h3, .reform-explain-card h3, .event-report-card h3 { font-size: 19px; line-height: 1.5; }
.beneficiary-card p, .explain-block p, .explanation-hero p, .theme-explain-grid p,
.theme-intel p, .signal p, .event-report-card p, .empty-state p,
.mapping-note p, .mapping-context, .mapping-table td, .report-section p { font-size: 16px; line-height: 1.7; }
.mapping-chip, .mapping-domain, .reform-period, .reform-code-line,
.executive-source-row span, .executive-source-row small, .simple-kpis span,
.simple-kpis small, .explain-block b, .tile-top em { font-size: 14px; }
.executive-source-row small { text-transform: none; color: var(--muted); }
.executive-source-row { background: #fff; }
.executive-source-row b { font-size: 32px; font-variant-numeric: tabular-nums; }
.reform-explain-card, .beneficiary-card { padding: 24px; }
.beneficiary-card:hover, .reform-explain-card:hover { transform: none; box-shadow: 0 4px 16px #071a3a0d; border-color: #a3b8cd; }
.data-form label { font-size: 15px; }
.data-form input, .data-form select, .data-form textarea,
.filterbar input, .filterbar select { font-size: 16px; min-height: 44px; }
.official-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.official-actions a { padding: 26px; border: 1px solid var(--line); border-top: 3px solid #145ca8; border-radius: 8px; background: #f8fafc; }
.official-actions span { font-size: 13px; color: var(--muted); font-weight: 600; }
.official-actions h2 { font-size: 22px; line-height: 1.4; color: var(--navy); margin: 12px 0; }
.official-actions p { font-size: 16px; color: var(--muted); margin-bottom: 18px; }
.official-actions strong { font-size: 15px; color: var(--blue); }
:focus-visible { outline: 3px solid #b06a00; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 2000; padding: 12px 18px; background: white; color: var(--navy); }
.skip-link:focus { top: 12px; }
@media(max-width:1050px) {
  .header-inner { padding-top: 12px; }
  .brand { padding-bottom: 12px; }
  .menu { display: block; align-self: center; margin-bottom: 12px; }
  #nav { display: none; max-height: 60vh; overflow-y: auto; }
  #nav.open { display: flex; }
  #nav a { font-size: 16px; }
}
@media(max-width:720px) {
  .official-actions { grid-template-columns: 1fr; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 12px; max-width: 220px; }
  .header-inner { gap: 8px; }
  .page-hero { padding: 28px 0; }
  .executive-source-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .executive-source-row div { border-bottom: 1px solid var(--line); }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
/* Programme experience: scoped components, fluid layouts and print output. */
.container { width: min(1240px, calc(100% - 48px)); }
main, section, article, .container, .programme-hero-grid > *, .theme-story { min-width: 0; }
main { overflow-wrap: anywhere; }
.section { padding: 44px 0; }
.page-hero { background: #102d4d; }
.programme-hero { background: #f4f7fa; border-bottom: 1px solid var(--line); padding: 36px 0; }
.programme-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.programme-title { font-size: 17px; font-weight: 700; letter-spacing: .12em; color: #37516e; margin: 0 0 12px; }
.programme-hero h1 { font-size: clamp(42px,5vw,66px); line-height: 1.08; letter-spacing: -.04em; color: #102d4d; margin: 0; }
.programme-hero h1 span { color: #a76813; margin-left: .2em; }
.programme-intro { font-size: 18px; max-width: 510px; color: #4c5e73; }
.source-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 26px 0 0; }
.source-facts div { border-top: 2px solid #c7d4e0; padding-top: 12px; }
.source-facts dt { font-size: 13px; color: #536477; }
.source-facts dd { font-size: 25px; font-weight: 700; margin: 4px 0 0; color: #102d4d; }
.dashboard-facts { grid-template-columns: repeat(6,minmax(0,1fr)); }
.programme-map { border: 1px solid #ced8e2; border-radius: 8px; overflow: hidden; background: white; margin: 20px 0; }
.map-caption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; font-size: 14px; }
.map-caption span { color: #526176; }
.interactive-map { height: 450px; }
.map-unavailable { min-height: 350px; padding: 36px; display: flex; flex-direction: column; justify-content: center; background: #eaf0f5; color: #334e6b; }
.map-unavailable h3 { font-size: 24px; line-height: 1.3; }
.map-unavailable a { color: #145ca8; font-weight: 600; }
.theme-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 18px 0; font-size: 13px; }
.theme-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.t1 { background: #1687b0; }.t2 { background: #be852a; }.t3 { background: #933e53; }
.map-footnote { padding: 0 18px; font-size: 12px; color: #526176; }
.programme-flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.programme-flow li { border-top: 3px solid #c18a35; padding: 14px 8px 14px 0; }
.programme-flow b,.programme-flow span { display: block; }.programme-flow b { font-size: 17px; color: #102d4d; }.programme-flow span { font-size: 13px; color: #526176; }
.theme-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
.theme-story { border-top: 3px solid #1687b0; padding: 22px; background: #f5f8fb; }
.theme-story.t-2 { border-color: #be852a; }.theme-story.t-3 { border-color: #933e53; }
.theme-story>span { font-size: 12px; font-weight: 700; color: #526176; }.theme-story h3 { font-size: 21px; line-height: 1.4; }.theme-story p { color: #526176; }.theme-story strong { font-size: 14px; color: #145ca8; }
.field-strip { display: flex; flex-wrap: wrap; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.field-strip>div { flex: 1 1 150px; }.field-strip b,.field-strip span { display: block; }.field-strip b { font-size: 34px; color: #102d4d; font-variant-numeric: tabular-nums; }.field-strip span { font-size: 14px; color: #526176; }
.explorer-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding: 22px; border: 1px solid var(--line); background: #f6f8fa; }
.explorer-filters label { font-size: 14px; font-weight: 600; }.explorer-filters input,.explorer-filters select { display: block; width: 100%; min-width: 0; padding: 12px; margin-top: 6px; border: 1px solid #bbc9d7; border-radius: 4px; font: inherit; background: white; }
.domain-section { margin-top: 32px; }.domain-section h2 { font-size: 25px; color: #102d4d; }.domain-section h2 small { font-size: 14px; color: #526176; font-weight: 400; }
.reform-story { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }.reform-story h3 { margin: 0 0 16px; font-size: 21px; line-height: 1.45; }.reform-story h4 { margin: 16px 0 6px; font-size: 14px; color: #526176; }.reform-story p { margin-top: 4px; }.reform-identity p { font-size: 14px; }.reform-identity .badge { background: #102d4d; color: white; }
.reform-story details { margin-top: 18px; padding: 14px; background: #f4f7fa; }.reform-story summary { cursor: pointer; font-weight: 600; color: #145ca8; }
.theme-pathway { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 20px 0; }.theme-pathway li { flex: 1 1 160px; padding: 14px; border: 1px solid var(--line); background: #f7f9fb; font-size: 15px; }.theme-pathway span { display: block; color: #145ca8; margin-bottom: 5px; font-weight: 700; }
.theme-explain-grid { margin-top: 22px; }.theme-explanation-card { scroll-margin-top: 170px; }
.citizen-shortcuts { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }.citizen-shortcuts a { flex: 1 1 240px; padding: 20px; background: #edf3f8; border-left: 3px solid #145ca8; font-weight: 600; color: #102d4d; }
.journey-panel { background: #f4f7fa; padding: 24px; margin-bottom: 30px; border-left: 3px solid #c18a35; }.journey-location { padding: 14px 0; border-top: 1px solid var(--line); }
.source-alignment { padding: 20px; background: #f7f3ea; border-left: 3px solid #ac8038; margin-bottom: 24px; }.source-alignment h3 { font-size: 19px; }.source-alignment b { font-size: 13px; }
.feedback-row { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.table-card { max-width: 100%; }.table-card table { font-size: 15px; }.table-card th { font-size: 13px; }.map-popup b { font-size: 16px; }.map-popup span,.map-popup small,.map-popup a { font-size: 14px; line-height: 1.5; }.map-popup a { display: block; color: #145ca8; text-decoration: underline; }
.map-topline,.map-card-header { flex-wrap: wrap; }.form-grid>* { min-width: 0; }
@media(max-width:1050px) { .programme-hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }.programme-flow { grid-template-columns: repeat(3,minmax(0,1fr)); }.dashboard-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }.explorer-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }.theme-overview { grid-template-columns: 1fr; }.theme-explanation-card { scroll-margin-top: 100px; } }
@media(max-width:768px) { .container { width: calc(100% - 32px); }.programme-hero-grid { grid-template-columns: 1fr; }.source-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }.section { padding: 30px 0; }.interactive-map { height: 380px; }.programme-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }.reform-story { grid-template-columns: 1fr; gap: 8px; }.reform-identity { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; }.explorer-filters { grid-template-columns: 1fr; }.theme-explanation-body { padding: 18px; }.header .brand-sub { max-width: 210px; }.chakra { width: 38px; height: 38px; }.programme-hero h1 { font-size: 48px; } }
@media print { .report-page-hero,.skip-link { display: none !important; }.report-facts { grid-template-columns: repeat(2,1fr); }.report-section { break-inside: avoid; }.report-section p { font-size: 11pt; }.event-summary-sheet { color: #000; }.report-print-area .container { width: 100%; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.theme-brief { margin-top: 22px; }.theme-brief blockquote { margin: 18px 0; padding: 16px 20px; background: #edf3f8; border-left: 3px solid #6885a1; font-size: 17px; line-height: 1.65; }.theme-brief summary { cursor: pointer; color: #145ca8; font-size: 15px; font-weight: 600; }.related-reforms { list-style: none; padding: 0; }.related-reforms li { padding: 14px 0; border-bottom: 1px solid var(--line); }.related-reforms a { color: #145ca8; font-size: 16px; }
