@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --ui-scale: 1.12;
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --ink: #172033;
  --muted: #607087;
  --line: #dfe7f1;
  --line-strong: #cbd7e6;
  --navy-950: #071b35;
  --navy-900: #0b284d;
  --navy-800: #123d70;
  --blue: #1769c2;
  --blue-soft: #e7f1fc;
  --teal: #06645f;
  --teal-soft: #e1f6f2;
  --green: #087046;
  --green-soft: #e4f6ed;
  --amber: #8b4a00;
  --amber-soft: #fff3dc;
  --red: #be3d52;
  --red-soft: #fcebee;
  --violet: #7252c7;
  --violet-soft: #f0ecfb;
  --shadow-sm: 0 1px 2px rgba(7, 27, 53, 0.05), 0 6px 20px rgba(7, 27, 53, 0.05);
  --shadow-md: 0 8px 30px rgba(7, 27, 53, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1240px;
  --mono: "D2Coding", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  zoom: var(--ui-scale);
  background: var(--canvas);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }

.chart {
  width: 100%;
  min-height: 320px;
}

.chart.tall { min-height: 360px; }
.chart.xlarge { min-height: 520px; }

.compact-hero {
  padding-block: 54px;
}

.finance-kpis .kpi-card strong {
  letter-spacing: -0.04em;
}

.compact-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.policy-card p {
  margin-bottom: 0;
}

.capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capture-grid figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.capture-grid img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.capture-grid figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.release-strip {
  background: var(--navy-950);
  color: #dfeafa;
  font-size: 12.5px;
}
.release-strip .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.release-strip b { color: #fff; }
.release-strip a { color: #9bd9ff; font-weight: 700; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(203, 215, 230, 0.92);
  backdrop-filter: blur(14px);
}
.topbar .wrap {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-weight: 900;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #1b75cf, #086f70);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0;
  box-shadow: 0 5px 14px rgba(23, 105, 194, 0.22);
}
.brand small {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav > a,
.site-nav summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 9px;
  color: #44536a;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.site-nav > a:hover,
.site-nav summary:hover { background: var(--surface-soft); text-decoration: none; }
.site-nav > a.on,
.site-nav .nav-group.current > summary { background: #e5eef9; color: var(--navy-800); }
.nav-group { position: relative; }
.nav-group summary { list-style: none; cursor: pointer; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav-group[open] summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.nav-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 90;
  min-width: 166px;
  padding: 6px;
  display: grid;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 27, 53, 0.14);
}
.nav-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #44536a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-menu a:hover { background: var(--surface-soft); text-decoration: none; }
.nav-menu a.on { background: #e5eef9; color: var(--navy-800); }
.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 8px;
  background: #f7f9fc;
  border: 1px solid var(--line-strong);
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.topbar-cta:hover { background: var(--surface-soft); color: var(--navy-950); text-decoration: none; }
.topbar-cta.on { background: #08736d; }
.member-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.member-link:hover { color: var(--navy-800); text-decoration: none; }

.hero {
  overflow: hidden;
  position: relative;
  padding: 58px 0 52px;
  background:
    radial-gradient(circle at 85% 8%, rgba(69, 203, 191, 0.22), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(70, 132, 219, 0.24), transparent 35%),
    linear-gradient(130deg, var(--navy-950), var(--navy-800) 58%, #0b696e);
  color: #fff;
}
.hero.compact { padding: 38px 0 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr); gap: 44px; align-items: center; }
.eyebrow {
  color: #08736d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}
.hero .eyebrow { color: #91e7df; }
.hero h1 {
  max-width: 800px;
  margin: 8px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -1.5px;
}
.hero.compact h1 { font-size: clamp(27px, 3vw, 38px); }
.hero p { max-width: 72ch; margin: 0; color: #dce8f7; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.program-catalog-hero {
  min-height: 278px;
  display: flex;
  align-items: center;
  padding: 48px 0;
  background-image:
    linear-gradient(90deg, rgba(4, 22, 45, .92) 0%, rgba(5, 27, 53, .68) 35%, rgba(5, 27, 53, .18) 72%),
    url("programs-catalog-hero-v2.png");
  background-position: center;
  background-size: cover;
}
.program-catalog-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -2.2px;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .38);
}
.sales-hero {
  background:
    radial-gradient(circle at 78% 4%, rgba(143, 219, 207, .24), transparent 30%),
    radial-gradient(circle at 6% 88%, rgba(65, 117, 206, .24), transparent 34%),
    linear-gradient(135deg, #061a34 0%, #0b2f5c 54%, #0a6669 100%);
}
.illustrated-hero {
  min-height: 330px;
  background-color: var(--navy-950);
  background-position: center;
  background-size: cover;
}
.illustrated-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 20, 40, .92) 0%, rgba(5, 20, 40, .72) 34%, rgba(5, 20, 40, .18) 78%),
    linear-gradient(180deg, rgba(5, 20, 40, .16), rgba(5, 20, 40, .34));
  pointer-events: none;
}
.illustrated-hero .wrap { position: relative; z-index: 1; }
.illustrated-hero .intro-fold-button { z-index: 1; }
.hero-publication { background-image: url("hero-backgrounds/hero-publication-2027.png"); }
.home-hero {
  background-image: none;
  background: linear-gradient(135deg, #071b35 0%, #0b315b 62%, #0b696d 100%);
}
.home-hero h1 { max-width: 680px; font-size: clamp(34px, 4vw, 48px); letter-spacing: -1px; }
.publisher-line { margin-top: 15px !important; color: #b9d0e5 !important; font-size: 12px !important; font-weight: 700; }
.publisher-footer { color: var(--navy-800); font-weight: 750; }
.source-archive-panel {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.source-archive-line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 15px; color: #cbd9ea; font-size: 12px; }
.source-archive-line b { color: #fff; font-size: 13px; }
.source-archive-panel dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.source-archive-panel dl div { min-width: 0; padding: 10px; border-radius: 10px; background: rgba(4,21,42,.3); }
.source-archive-panel dt { color: #aee6de; font-size: 10.5px; font-weight: 800; }
.source-archive-panel dd { overflow-wrap: anywhere; margin: 2px 0 0; color: #fff; font-size: 14px; font-weight: 850; }
.source-archive-panel .fine { margin: 14px 0 0; color: #cbd9ea; font-size: 11.5px; }
.hero-sample { background-image: url("hero-backgrounds/hero-sample-2027.png"); }
.hero-schedule { background-image: url("hero-backgrounds/hero-schedule-2027.png"); }
.hero-sources { background-image: url("hero-backgrounds/hero-sources-2027.png"); }
.hero-purchase { background-image: url("hero-backgrounds/hero-purchase-2027.png"); }
.hero-compare { background-image: url("hero-backgrounds/hero-compare-2027.png"); }
.hero-handbook-bg { background-image: url("hero-backgrounds/hero-handbook-2027.png"); }
.hero-finance-plan { background-image: url("hero-backgrounds/hero-finance-plan-2027.png"); }
.sales-hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); }
.sales-hero h1 { max-width: 780px; }
.sales-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #d8f4f0;
  font-size: 12px;
  font-weight: 850;
}
.product-panel {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
}
.product-panel h2 { margin: 0 0 8px; color: #fff; font-size: 24px; letter-spacing: -.8px; }
.product-panel p { margin: 0 0 16px; color: #dce8f7; font-size: 14px; }
.product-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.product-panel div { padding: 12px; border-radius: 13px; background: rgba(255,255,255,.12); }
.product-panel dt { color: #aee6de; font-size: 11px; font-weight: 800; }
.product-panel dd { margin: 3px 0 0; color: #fff; font-size: 18px; font-weight: 900; letter-spacing: -.3px; }
.product-panel .full { grid-column: 1 / -1; }
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--navy-900);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: var(--shadow-sm); }
.btn.primary { border-color: #fff; background: #fff; color: var(--navy-900); }
.btn.ghost { border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.08); color: #fff; }
.btn.small { min-height: 34px; padding: 5px 11px; font-size: 12px; }

.status-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.status-line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 15px; font-size: 12px; color: #cbd9ea; }
.status-line b { color: #fff; font-size: 13px; }
.stage-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.stage-dot {
  position: relative;
  min-height: 58px;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(4, 21, 42, .3);
  color: #b7c8dc;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
}
.stage-dot::before { content: ""; display: block; width: 9px; height: 9px; margin: 0 auto 6px; border-radius: 50%; background: #70839a; }
.stage-dot.done { background: rgba(18, 163, 112, .2); color: #c9f5e2; }
.stage-dot.done::before { background: #4bd3a2; }
.stage-dot.now { outline: 1px solid rgba(255, 202, 91, .62); background: rgba(211, 137, 19, .2); color: #ffe6b2; }
.stage-dot.now::before { background: #ffc95b; box-shadow: 0 0 0 4px rgba(255,201,91,.15); }
.status-panel .fine { margin: 14px 0 0; color: #cbd9ea; font-size: 11.5px; }

main { min-height: 60vh; }
section { padding: 38px 0 6px; }
section[id] { scroll-margin-top: 86px; }
.section-head { display: flex; justify-content: space-between; gap: 22px; align-items: end; margin-bottom: 18px; }
.section-head h2, section > .wrap > h2 { margin: 4px 0 4px; font-size: 23px; line-height: 1.3; letter-spacing: -0.6px; }
.section-head p, .section-desc { max-width: 76ch; margin: 0; color: var(--muted); font-size: 13.5px; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #ebd5a9;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #6d4a14;
  font-size: 13px;
}
.notice strong { color: #7c4a06; }
.notice.info { border-color: #bfd8ef; background: var(--blue-soft); color: #315a82; }
.notice.danger { border-color: #efc5cd; background: var(--red-soft); color: #7c3140; }

.segmented { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #eaf0f7; }
.segmented button {
  border: 0;
  border-radius: 8px;
  padding: 6px 11px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.segmented button.on { background: #fff; color: var(--navy-800); box-shadow: 0 1px 4px rgba(7,27,53,.12); }

.kpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.kpi {
  min-width: 0;
  padding: 17px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.kpi .label { color: var(--muted); font-size: 11.5px; font-weight: 750; }
.kpi .value { display: block; margin: 4px 0 1px; color: var(--navy-900); font-size: 25px; font-weight: 900; letter-spacing: -0.8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi .hint { display: block; color: #5d6d84; font-size: 10.5px; }
.kpi.positive .value { color: var(--green); }
.kpi.caution .value { color: var(--amber); }
.kpi.negative .value { color: var(--red); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.4; letter-spacing: -0.2px; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.card .meta { color: #5d6d84; font-size: 11px; }
.card.accent { border-top: 4px solid var(--blue); }
.card.accent.teal { border-top-color: var(--teal); }
.card.accent.amber { border-top-color: var(--amber); }
.card.accent.red { border-top-color: var(--red); }

.link-card { display: block; color: var(--ink); transition: transform .14s, box-shadow .14s; }
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.link-card .arrow { display: inline-block; margin-top: 13px; color: var(--blue); font-size: 12px; font-weight: 800; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 900; }

.priority-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.priority-card { position: relative; overflow: hidden; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.priority-card::after { content: ""; position: absolute; width: 76px; height: 76px; right: -28px; bottom: -34px; border-radius: 50%; background: var(--blue-soft); }
.priority-card .picon { color: var(--blue); font-family: var(--mono); font-size: 11px; font-weight: 900; }
.priority-card h3 { min-height: 42px; margin: 7px 0 8px; font-size: 14px; line-height: 1.45; }
.priority-card .money { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.priority-card .money b { font-size: 21px; color: var(--navy-900); }
.priority-card .money span { color: var(--green); font-size: 11px; font-weight: 850; }
.priority-card p { margin-top: 8px; color: var(--muted); font-size: 11.5px; }

.delta-row { display: grid; grid-template-columns: minmax(130px, 1.15fr) .8fr 46px; gap: 10px; align-items: center; margin: 10px 0; }
.delta-row .name { color: #425168; font-size: 12.5px; font-weight: 750; }
.rail { display: block; width: 100%; height: 14px; overflow: hidden; border: 0; border-radius: 999px; background: #edf1f6; appearance: none; }
.rail::-webkit-progress-bar { border-radius: inherit; background: #edf1f6; }
.rail::-webkit-progress-value { border-radius: inherit; background: linear-gradient(90deg, var(--blue), #1ba6a0); }
.rail::-moz-progress-bar { border-radius: inherit; background: linear-gradient(90deg, var(--blue), #1ba6a0); }
.rail.amber::-webkit-progress-value { background: linear-gradient(90deg, #e29a22, #d46813); }
.rail.amber::-moz-progress-bar { background: linear-gradient(90deg, #e29a22, #d46813); }
.rail.violet::-webkit-progress-value { background: linear-gradient(90deg, #8c6ed8, #6544bc); }
.rail.violet::-moz-progress-bar { background: linear-gradient(90deg, #8c6ed8, #6544bc); }
.delta-row .value { color: var(--green); font-size: 11.5px; font-weight: 850; text-align: right; font-variant-numeric: tabular-nums; }

.fiscal-split { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
.fund-equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: stretch; }
.fund-box { display: flex; flex-direction: column; justify-content: center; min-height: 100px; padding: 14px; border-radius: 13px; background: var(--surface-soft); text-align: center; }
.fund-box b { display: block; color: var(--navy-900); font-size: 23px; font-variant-numeric: tabular-nums; }
.fund-box span { color: var(--muted); font-size: 11.5px; font-weight: 700; }
.fund-box.reserve { background: var(--amber-soft); }
.fund-box.program { background: var(--teal-soft); }
.fund-plus { display: grid; place-items: center; color: #5d6d84; font-size: 20px; font-weight: 900; }
.account-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.account-item { padding: 9px 10px; border-radius: 9px; background: #f7f9fc; font-size: 11px; }
.account-item b { display: block; font-size: 14px; }
.account-item:nth-child(1) b { color: #2563eb; }
.account-item:nth-child(2) b { color: #7252c7; }
.account-item:nth-child(3) b { color: #087f78; }
.account-item:nth-child(4) b { color: var(--amber); }

.timeline { position: relative; padding-left: 24px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 19px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -31px; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #a6b3c4; background: #fff; }
.timeline-item.done::before { border-color: var(--green); background: var(--green); }
.timeline-item.now::before { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 5px rgba(184,106,8,.14); }
.timeline-item .date { color: var(--blue); font-family: var(--mono); font-size: 11px; font-weight: 800; }
.timeline-item.done .date { color: var(--green); }
.timeline-item.now .date { color: var(--amber); }
.timeline-item b { display: block; margin: 2px 0; font-size: 13.5px; }
.timeline-item p { font-size: 12px; }

.pill { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: 999px; background: #edf2f7; color: #526176; font-size: 10.5px; font-weight: 850; white-space: nowrap; }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.teal { background: var(--teal-soft); color: var(--teal); }
.pill.violet { background: var(--violet-soft); color: var(--violet); }

.table-shell { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 10px 12px; background: #edf3f9; color: #45556b; font-size: 11.5px; text-align: left; white-space: nowrap; }
td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:hover td { background: #f8fafc; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td strong { font-weight: 800; }
.source-link { font-size: 11.5px; font-weight: 750; }

.compare-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.compare-card { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.compare-card .label { color: var(--muted); font-size: 11.5px; font-weight: 750; }
.compare-values { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; margin-top: 11px; }
.compare-values span { font-size: 11px; color: var(--muted); }
.compare-values b { display: block; color: var(--navy-900); font-size: 19px; font-variant-numeric: tabular-nums; }
.compare-values i { color: #a7b1bf; font-style: normal; }
.change-line { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--green); font-size: 11.5px; font-weight: 850; }
.change-line.bad { color: var(--red); }

.sector-list { display: grid; gap: 9px; }
.sector-bar { display: grid; grid-template-columns: 180px 1fr 92px; gap: 11px; align-items: center; }
.sector-bar .name { color: #435168; font-size: 12px; font-weight: 750; text-align: right; }
.dual-rail { position: relative; height: 22px; border-radius: 6px; background: #eef2f6; }
.sector-progress { position: absolute; left: 0; width: 100%; overflow: hidden; border: 0; border-radius: 5px; background: transparent; appearance: none; }
.sector-progress::-webkit-progress-bar { border-radius: inherit; background: transparent; }
.sector-progress.old { top: 3px; height: 6px; }
.sector-progress.old::-webkit-progress-value { border-radius: inherit; background: #9fb2c8; }
.sector-progress.old::-moz-progress-bar { border-radius: inherit; background: #9fb2c8; }
.sector-progress.new { bottom: 3px; height: 8px; }
.sector-progress.new::-webkit-progress-value { border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.sector-progress.new::-moz-progress-bar { border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.sector-bar .amount { color: var(--navy-800); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, .6fr));
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.handbook-toolbar { grid-template-columns: minmax(260px, 1.45fr) repeat(6, minmax(112px, .65fr)); }
.handbook-kpis .value { font-size: 25px; }
.confidence-meter { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; align-items: center; color: #cbd9ea; font-size: 12px; }
.confidence-meter strong { color: #fff; font-size: 24px; }
.confidence-meter progress { grid-column: 1 / -1; width: 100%; height: 9px; overflow: hidden; border: 0; border-radius: 999px; appearance: none; }
.confidence-meter progress::-webkit-progress-bar { background: rgba(255,255,255,.16); }
.confidence-meter progress::-webkit-progress-value { border-radius: 999px; background: #4bd3a2; }
.confidence-meter progress::-moz-progress-bar { border-radius: 999px; background: #4bd3a2; }
.handbook-table { min-width: 1420px; }
.handbook-table th:nth-child(1) { width: 82px; }
.handbook-table th:nth-child(2) { width: 31%; }
.handbook-table th:nth-child(3) { width: 20%; }
.handbook-table th:nth-child(4), .handbook-table th:nth-child(5), .handbook-table th:nth-child(6) { width: 90px; }
.handbook-name details summary { color: var(--navy-800); font-weight: 850; cursor: pointer; }
.handbook-name details summary:hover { color: var(--blue); }
.handbook-detail { display: grid; grid-template-columns: 72px 1fr; gap: 3px 8px; margin-top: 9px; padding: 10px; border-radius: 8px; background: #f4f7fb; color: var(--muted); font-size: 11px; }
.handbook-detail b { color: #435168; }
.handbook-detail a { grid-column: 2; margin-top: 4px; font-weight: 750; }
.lifecycle-notices { grid-column: 2; display: grid; gap: 6px; }
.lifecycle-notice-link { display: block; margin: 0 !important; padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--navy-800); }
.lifecycle-notice-link b { display: inline; margin-right: 5px; color: var(--violet); }
.lifecycle-notice-link span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 500; }
.detail-source-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 12px; }
.detail-source-links a { grid-column: auto; }
.cell-primary { display: block; color: #35445a; font-size: 11.5px; }
.cell-secondary { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.pager span { min-width: 80px; color: var(--muted); font-family: var(--mono); font-size: 11px; text-align: center; }
.pager button:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }
.field { min-width: 0; }
.field label { display: block; margin: 0 0 4px 2px; color: var(--muted); font-size: 10.5px; font-weight: 800; }
.field input, .field select {
  width: 100%;
  height: 39px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 0 11px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,194,.12); }
.result-summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.result-summary b { color: var(--navy-800); }

.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.program-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.program-card.hidden { display: none; }
.program-top { padding: 17px 17px 13px; }
.program-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.program-card h3 { min-height: 45px; margin: 0 0 8px; font-size: 15.5px; line-height: 1.42; }
.program-card .summary { min-height: 64px; color: var(--muted); font-size: 12.5px; }
.program-title-link { color: var(--navy-900); }
.program-title-link:hover { color: var(--blue); }
.program-money { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; margin-top: 14px; padding: 11px; border-radius: 11px; background: #f5f8fc; }
.program-money span { color: var(--muted); font-size: 10px; }
.program-money b { display: block; color: var(--navy-900); font-size: 18px; font-variant-numeric: tabular-nums; }
.program-money i { align-self: center; color: #96a4b6; font-style: normal; }
.program-change { font-size: 10px; font-style: normal; font-weight: 800; }
.program-detail { margin-top: auto; border-top: 1px solid var(--line); }
.program-detail summary { padding: 10px 17px; color: var(--blue); font-size: 11.5px; font-weight: 800; cursor: pointer; list-style: none; }
.program-detail summary::-webkit-details-marker { display: none; }
.program-detail summary::after { content: "+"; float: right; }
.program-detail[open] summary::after { content: "−"; }
.program-detail .inside { padding: 0 17px 16px; }
.program-detail h4 { margin: 9px 0 3px; font-size: 11.5px; }
.program-detail p, .program-detail li { color: var(--muted); font-size: 11.5px; }
.program-detail ul { margin: 3px 0 0; padding-left: 18px; }
.program-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 17px 13px; border-top: 1px solid var(--line); background: #fbfcfe; }
.program-card-actions span { color: var(--muted); font-size: 10.5px; }
.program-card-actions a { color: var(--navy-800); font-size: 11.5px; font-weight: 850; }
.empty-state { padding: 38px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--muted); text-align: center; }

.collapsible-intro .hero { max-height: 680px; transition: max-height .42s ease, padding .42s ease, opacity .24s ease, transform .42s ease; }
.collapsible-intro.no-motion .hero { transition: none; }
.collapsible-intro.is-collapsed .hero { min-height: 0; max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; transform: translateY(-24px); pointer-events: none; }
.intro-fold-button { position: absolute; right: 24px; bottom: 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 11px; background: rgba(4,22,45,.44); color: #fff; font-size: 10.5px; font-weight: 800; cursor: pointer; backdrop-filter: blur(8px); }
.intro-fold-button:hover { background: rgba(4,22,45,.68); }
.intro-restore { display: none; border-bottom: 1px solid var(--line); background: #eaf1f8; }
.collapsible-intro.is-collapsed .intro-restore { display: block; }
.intro-restore .wrap { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.intro-restore span { overflow: hidden; color: var(--navy-800); font-size: 12px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.intro-restore button { flex: 0 0 auto; border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 850; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .collapsible-intro .hero { transition: none; }
}

.soft-section { background: #eaf0f7; padding-bottom: 38px; }
.report-hero { background: radial-gradient(circle at 88% 12%, rgba(61,196,176,.2), transparent 32%), linear-gradient(130deg, #061a33, #0c345f 62%, #075f61); }
.report-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr); gap: 42px; align-items: end; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: #a9c0d9; font-size: 10.5px; font-weight: 750; }
.breadcrumbs a { color: #a9e3df; }
.report-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.report-hero h1 { margin-top: 10px; font-size: clamp(29px, 3.4vw, 44px); }
.report-amount-panel { padding: 17px; border: 1px solid rgba(255,255,255,.19); border-radius: 15px; background: rgba(255,255,255,.08); backdrop-filter: blur(9px); }
.report-amount-panel > span { color: #c1d2e5; font-size: 10.5px; font-weight: 750; }
.report-amounts { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin: 8px 0 5px; }
.report-amounts strong { color: #fff; font-size: 20px; letter-spacing: -.6px; white-space: nowrap; }
.report-amounts i { color: #8da4bd; font-style: normal; }
.report-amount-panel small { color: #83e3d4; font-size: 11px; font-weight: 800; }
.report-jump { position: sticky; z-index: 60; top: 66px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.report-jump .wrap { display: flex; gap: 4px; overflow-x: auto; padding-block: 6px; scrollbar-width: thin; }
.report-jump a { flex: 0 0 auto; padding: 6px 10px; border-radius: 8px; color: #53637a; font-size: 11px; font-weight: 800; }
.report-jump a:hover { background: var(--surface-soft); color: var(--navy-800); text-decoration: none; }
.report-lead-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 15px; }
.report-thesis { border: 0; background: linear-gradient(145deg, #0b284d, #0b5960); color: #fff; }
.report-thesis h3 { color: #fff; }
.report-thesis p { color: #d8e7f2; font-size: 15px; }
.claim-label { display: inline-flex; align-items: center; min-height: 21px; margin-bottom: 10px; padding: 2px 7px; border-radius: 6px; background: #edf2f7; color: #53637a; font-family: var(--mono); font-size: 9.5px; font-weight: 900; }
.claim-label.fact { background: var(--blue-soft); color: var(--blue); }
.claim-label.calculation { background: var(--violet-soft); color: var(--violet); }
.claim-label.analysis { background: var(--teal-soft); color: var(--teal); }
.report-thesis .claim-label.analysis { background: rgba(118,231,214,.15); color: #8ee8da; }
.claim-label.condition { background: var(--amber-soft); color: var(--amber); }
.claim-label.caution { background: var(--red-soft); color: var(--red); }
.claim-label.question { background: #edf2f7; color: #4d6078; }
.claim-label.proposal { background: var(--green-soft); color: var(--green); }
.clean-list { margin: 0; padding-left: 19px; }
.clean-list li { margin: 6px 0; color: #53637a; font-size: 12.5px; }
.source-reconciliation { display: grid; gap: 10px; margin-top: 16px; }
.source-reconciliation .notice > div > strong { display: block; color: inherit; font-size: 13px; }
.source-reconciliation .notice p { margin: 5px 0 0; font-size: 11.5px; line-height: 1.55; }
.reconciliation-values { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.reconciliation-values li { display: grid; grid-template-columns: minmax(70px, auto) 1fr; gap: 2px 9px; padding: 7px 8px; border-radius: 8px; background: rgba(255,255,255,.66); }
.reconciliation-values strong { color: var(--navy-900); font-family: var(--mono); font-size: 11px; }
.reconciliation-values span { color: #53637a; font-size: 10.5px; }
.reconciliation-values small { grid-column: 1 / -1; color: var(--muted); font-size: 9.5px; }
.reconciliation-values a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.report-kpis { grid-template-columns: repeat(4, 1fr); }
.report-kpis .value { font-size: 22px; }
.report-table { min-width: 1020px; }
.report-table th:first-child { min-width: 270px; }
.report-table td { font-size: 11.5px; }
.table-program-link { color: var(--navy-800); font-weight: 850; }
.notice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.notice-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.notice-card-head { display: flex; flex-wrap: wrap; gap: 5px; }
.notice-card h3 { margin: 9px 0 5px; font-size: 14px; line-height: 1.45; }
.notice-card h3 a, .notice-card h3 span { color: var(--navy-900); overflow-wrap: anywhere; }
.notice-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.notice-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 8px; }
.notice-card dl div { padding: 8px; border-radius: 8px; background: var(--surface-soft); }
.notice-card dt { color: var(--muted); font-size: 9.5px; font-weight: 750; }
.notice-card dd { margin: 1px 0 0; color: var(--navy-800); font-size: 11px; font-weight: 800; }
.notice-card small { color: #77869a; font-size: 9.5px; }
.radar-signal-grid { align-items: start; }
.radar-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.radar-card-head h3 { margin: 7px 0 0; }
.radar-card-head > strong { flex: 0 0 auto; color: var(--navy-900); font-family: var(--mono); font-size: 13px; }
.radar-state-copy { margin: 13px 0; padding: 10px 12px; border-radius: 9px; background: var(--amber-soft); color: #765817; font-size: 11px; line-height: 1.55; }
.radar-link-list { display: grid; gap: 9px; margin-top: 13px; }
.radar-link-item { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; }
.radar-link-item.compact { padding: 11px 12px; }
.radar-item-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.radar-link-item h4 { margin: 8px 0 3px; font-size: 12.5px; line-height: 1.45; }
.radar-link-item h4 a, .radar-link-item h4 span { color: var(--navy-900); overflow-wrap: anywhere; }
.radar-link-item > p { margin: 0; color: var(--muted); font-size: 10.5px; }
.radar-link-item dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 9px 0; }
.radar-link-item dl div { padding: 7px 8px; border-radius: 7px; background: #fff; }
.radar-link-item dt { color: var(--muted); font-size: 9px; font-weight: 750; }
.radar-link-item dd { margin: 2px 0 0; color: var(--navy-800); font-size: 10.5px; font-weight: 800; }
.radar-link-item small { display: block; margin-top: 7px; color: #77869a; font-size: 9.5px; line-height: 1.5; }
.radar-item-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.radar-item-actions a { padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: var(--blue); font-size: 10px; font-weight: 850; }
.empty-state.compact { padding: 24px 12px; }
.regional-evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.regional-evidence-card { min-width: 0; padding: 17px; border: 1px solid #c7d6e5; border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.metric-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-family: var(--mono); font-size: 9.5px; }
.metric-status-badges { display: flex; min-width: 0; flex-wrap: wrap; gap: 5px; }
.metric-value { display: flex; align-items: baseline; gap: 5px; margin: 15px 0 3px; color: var(--navy-900); }
.metric-value strong { font-size: 28px; line-height: 1; letter-spacing: -1px; }
.metric-value span { color: var(--blue); font-size: 11px; font-weight: 850; }
.regional-evidence-card h3 { margin: 7px 0 3px; color: var(--navy-900); font-size: 14px; }
.regional-evidence-card p { margin: 4px 0; color: #59697e; font-size: 10.5px; line-height: 1.55; }
.regional-evidence-card .metric-region { color: var(--muted); font-family: var(--mono); font-size: 9.5px; }
.regional-evidence-card .metric-note { padding: 7px 9px; border-radius: 8px; background: var(--amber-soft); color: #785715; }
.metric-components { margin: 10px 0 0; padding: 0; list-style: none; }
.metric-components li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 9.5px; }
.metric-components strong { color: #34475f; font-size: 10px; text-align: right; }
.regional-evidence-card .metric-relevance { min-height: 49px; margin-top: 10px; color: #31445c; font-size: 11px; }
.regional-evidence-card details { margin-top: 11px; border-top: 1px solid var(--line); padding-top: 9px; }
.regional-evidence-card summary { color: var(--blue); font-size: 10.5px; font-weight: 850; cursor: pointer; }
.regional-evidence-card details div { margin-top: 8px; }
.regional-evidence-card details a { color: var(--navy-800); font-size: 10.5px; font-weight: 800; }
.regional-evidence-card .metric-source-entry { margin-top: 0; padding: 7px 0; border-bottom: 1px solid var(--line); }
.regional-evidence-card .metric-source-entry + .metric-source-entry { margin-top: 2px; }
.regional-evidence-card .metric-source-entry p { margin-bottom: 0; overflow-wrap: anywhere; }
.gyeongbuk-section { padding-bottom: 38px; background: radial-gradient(circle at 90% 10%, rgba(44,161,145,.12), transparent 30%), #f5faf8; }
.report-region-grid h4 { margin: 18px 0 6px; color: var(--navy-800); font-size: 12px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.region-tag { display: inline-flex; padding: 6px 10px; border: 1px solid #b7dfd6; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: 11px; font-weight: 850; }
.condition-list { counter-reset: condition; margin: 0; padding: 0; list-style: none; }
.condition-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid var(--line); }
.condition-list li:first-child { border-top: 0; }
.condition-list span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--navy-900); color: #fff; font-family: var(--mono); font-size: 9px; font-weight: 900; }
.condition-list p { margin: 3px 0 0; color: #45566d; font-size: 12.5px; }
.risk-card { border-color: #efcbd2; background: #fffafb; }
.action-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.action-step { position: relative; min-height: 150px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.action-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -13px; top: 48%; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; background: var(--canvas); color: #8594a7; font-weight: 900; }
.action-phase { display: block; margin-bottom: 18px; color: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 900; }
.action-step b { display: block; color: var(--navy-900); font-size: 14px; line-height: 1.48; }
.action-step small { position: absolute; right: 17px; bottom: 14px; color: var(--muted); font-size: 9.5px; font-weight: 750; }
.kpi-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.kpi-chip { display: inline-flex; padding: 7px 10px; border-radius: 8px; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 800; }
.compare-picker { display: grid; grid-template-columns: auto minmax(220px, 480px) auto; gap: 10px; align-items: center; }
.compare-picker label { color: #4c5d74; font-size: 11.5px; font-weight: 850; }
.compare-picker select { height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 11px; background: #fff; }
.side-by-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.comparison-report-card { padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.comparison-label { color: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 900; }
.comparison-report-card h3 { margin: 5px 0 14px; font-size: 17px; }
.comparison-report-card h3 a { color: var(--navy-900); }
.comparison-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--blue-soft); }
.comparison-amount span { color: var(--muted); font-size: 10px; }
.comparison-amount strong { color: var(--navy-800); font-size: 19px; }
.comparison-report-card dl { margin: 11px 0 0; }
.comparison-report-card dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.comparison-report-card dt { color: var(--muted); font-size: 10px; font-weight: 750; }
.comparison-report-card dd { margin: 0; color: #435168; font-size: 11.5px; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.evidence-card { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.evidence-card h3 { margin: 0 0 4px; font-size: 13px; }
.evidence-card h3 a, .evidence-card h3 strong { color: var(--navy-900); }
.evidence-card p { margin: 0; color: var(--muted); font-size: 10.5px; }
.verification-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; padding: 18px; border: 1px solid #b9ddcd; border-radius: var(--radius); background: var(--green-soft); }
.verification-panel > div { display: flex; gap: 13px; align-items: flex-start; }
.verification-panel strong { color: #075b3b; }
.verification-panel p { margin: 3px 0 0; color: #3c6959; font-size: 11.5px; }
.verification-mark { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-size: 16px; font-weight: 900; }
.verification-mark.pending { background: var(--amber); }
.verification-panel dl { margin: 0; }
.verification-panel dl div { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 4px 0; }
.verification-panel dt { color: #477464; font-size: 10px; font-weight: 850; }
.verification-panel dd { margin: 0; color: #2d5c4b; font-size: 10.5px; }
.verification-panel code { font-size: 9.5px; }
.verification-panel.is-failed { border-color: #efd09a; background: var(--amber-soft); }
.verification-panel.is-failed strong { color: #82510a; }
.verification-panel.is-failed p, .verification-panel.is-failed dt, .verification-panel.is-failed dd { color: #765b2e; }
.report-pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; margin-top: 42px; }
.report-pagination a:first-child { justify-self: start; }
.report-pagination a:last-child { justify-self: end; }
.btn.primary-dark { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.report-error { padding: 90px 0; text-align: center; }
.report-error .error-code { display: block; color: #b9c5d3; font-family: var(--mono); font-size: 42px; font-weight: 900; }
.report-error h1 { margin: 4px 0; color: var(--navy-900); }
.report-error p { margin: 0 0 18px; color: var(--muted); }
.regional-insights-hero { background-image: linear-gradient(90deg, rgba(4,22,45,.96) 0%, rgba(7,40,70,.86) 48%, rgba(5,60,65,.68) 100%), url("programs-catalog-hero-v2.png"); background-position: center; background-size: cover; }
.insight-status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.insight-status-grid div { padding: 9px; border-radius: 9px; background: rgba(4,21,42,.34); }
.insight-status-grid span { display: block; color: #95acc4; font-family: var(--mono); font-size: 9px; font-weight: 900; }
.insight-status-grid strong { display: block; color: #fff; font-size: 11.5px; }
.priority-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.priority-lane { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.priority-lane-head { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start; padding: 15px; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.priority-lane-head > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); font-family: var(--mono); font-size: 9px; font-weight: 900; }
.priority-lane.green .priority-lane-head > span { background: var(--green-soft); color: var(--green); }
.priority-lane.amber .priority-lane-head > span { background: var(--amber-soft); color: var(--amber); }
.priority-lane-head h3 { margin: 0; font-size: 14px; }
.priority-lane-head p { margin: 2px 0 0; color: var(--muted); font-size: 10.5px; }
.priority-lane-head > strong { color: var(--navy-900); font-size: 22px; }
.priority-lane-items { display: grid; padding: 7px 15px 12px; }
.priority-lane-items a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); color: #3d4d63; font-size: 11px; font-weight: 750; }
.priority-lane-items a:first-child { border-top: 0; }
.priority-lane-items small { color: var(--muted); font-size: 9px; font-weight: 600; white-space: nowrap; }
.agenda-no { display: block; margin-bottom: 7px; color: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 900; }
.agenda-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.agenda-links a { padding: 3px 6px; border-radius: 5px; background: var(--surface-soft); color: #4e6077; font-size: 9.5px; font-weight: 750; }
.insight-toolbar { grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(160px, .55fr)); }
.portfolio-table { min-width: 1130px; }
.portfolio-table th:first-child { width: 34%; }
.portfolio-table td { font-size: 11.5px; }
.portfolio-order { display: inline-block; min-width: 25px; color: #8998aa; font-family: var(--mono); font-size: 9px; font-weight: 900; }
.portfolio-name { color: var(--navy-900); font-size: 12.5px; font-weight: 850; }
.portfolio-table .cell-secondary .pill { margin-top: 5px; vertical-align: middle; }
.focus-row > td { background: #fff7df !important; }

body.program-drawer-open { overflow: hidden; }
.program-detail-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 71.4286vw;
  width: calc(80vw / var(--ui-scale));
  max-width: none;
  min-width: 0;
  height: 89.2857dvh;
  height: calc(100dvh / var(--ui-scale));
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  opacity: 0;
  transform: translateX(100%);
  box-shadow: -18px 0 50px rgba(4, 22, 45, .22);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .18s ease;
}
.program-detail-drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.program-detail-drawer.is-open { opacity: 1; transform: translateX(0); }
.program-detail-drawer::backdrop { background: rgba(4, 17, 34, .56); backdrop-filter: blur(2px); }
.program-detail-drawer-bar {
  min-width: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 16px 9px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 12px rgba(7, 27, 53, .08);
}
.program-detail-drawer-bar > div { min-width: 0; }
.program-detail-drawer-bar span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; }
.program-detail-drawer-bar strong { display: block; overflow: hidden; color: var(--navy-900); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.program-detail-drawer-close {
  flex: 0 0 auto;
  min-width: 76px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 7px 11px;
  background: var(--surface-soft);
  color: var(--navy-800);
  font-weight: 850;
  cursor: pointer;
}
.program-detail-drawer-close:hover { border-color: #aebed1; background: #e5edf7; }
.program-detail-drawer-close:focus-visible { outline: 3px solid rgba(23, 105, 194, .28); outline-offset: 2px; }
.program-detail-drawer-close span { color: inherit; font-size: 11.5px; }
.program-detail-drawer-close b { font-size: 20px; font-weight: 500; line-height: 1; }
.program-detail-drawer-content { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--canvas); }
.program-detail-frame { display: block; min-width: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .18s ease; }
.program-detail-drawer-content.is-loaded .program-detail-frame { opacity: 1; }
.program-detail-drawer-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  background: var(--canvas);
  color: var(--muted);
  transition: opacity .18s ease, visibility .18s ease;
}
.program-detail-drawer-loading span { width: 32px; height: 32px; border: 3px solid #d7e2ef; border-top-color: var(--blue); border-radius: 50%; animation: program-drawer-spin .8s linear infinite; }
.program-detail-drawer-loading p { margin: 0; font-size: 12px; font-weight: 750; }
.program-detail-drawer-content.is-loaded .program-detail-drawer-loading { visibility: hidden; opacity: 0; }
@keyframes program-drawer-spin { to { transform: rotate(360deg); } }

.program-detail-embedded body { zoom: 1; background: #fff; }
.program-detail-embedded .skip-link,
.program-detail-embedded .release-strip,
.program-detail-embedded .topbar,
.program-detail-embedded .breadcrumbs,
.program-detail-embedded body > footer { display: none; }
.program-detail-embedded .report-jump { top: 0; }
.program-detail-embedded .report-pagination { margin-bottom: 34px; }

@media (prefers-reduced-motion: reduce) {
  .program-detail-drawer, .program-detail-frame, .program-detail-drawer-loading { transition: none; }
  .program-detail-drawer-loading span { animation: none; }
}

.insight-number { display: block; margin-bottom: 10px; color: var(--blue); font-family: var(--mono); font-size: 11px; font-weight: 900; }
.big-stat { display: block; margin: 11px 0 5px; color: var(--navy-900); font-size: 22px; font-weight: 900; letter-spacing: -.5px; }
.insight-card h3 { font-size: 16px; }
.insight-card .big { display: block; margin: 12px 0 2px; color: var(--navy-900); font-size: 26px; font-weight: 900; letter-spacing: -1px; }
.insight-card .evidence { margin-top: 12px; padding-top: 9px; border-top: 1px dashed var(--line); color: #5d6d84; font-size: 10.5px; }

.lifecycle-section { background: #eaf0f7; }
.lifecycle-kpis { grid-template-columns: repeat(6, 1fr); }
.chart-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.chart-card { overflow: hidden; border: 1px solid #183c62; border-radius: var(--radius); padding: 17px; background: radial-gradient(circle at 100% 0, rgba(36,198,164,.12), transparent 34%), var(--navy-950); box-shadow: var(--shadow-md); color: #fff; }
.chart-card .eyebrow { color: #7fe0d3; }
.chart-card h3 { margin: 2px 0 0; color: #fff; font-size: 16px; }
.chart-card p, .chart-card .fine { color: #aebfd1; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.echart { width: 100%; height: 330px; margin-top: 6px; }
.lifecycle-sankey { height: 360px; }
.risk-chart { height: 440px; }

.matrix { min-width: 760px; table-layout: fixed; }
.matrix th, .matrix td { padding: 11px; font-size: 11.5px; text-align: left; white-space: normal; }
.matrix thead th { background: #edf3f9; color: #45556b; font-weight: 850; }
.matrix th:first-child { width: 140px; }
.matrix tbody th { color: var(--navy-800); font-weight: 850; }
.matrix td.high { background: var(--green-soft); }
.matrix td.medium { background: var(--amber-soft); }

.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.pipe-step { position: relative; padding: 14px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.pipe-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 3; right: -9px; top: 50%; transform: translate(50%, -50%); width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--canvas); color: #8290a2; font-size: 11px; }
.pipe-step .no { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: 7px; border-radius: 8px; background: var(--navy-800); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 900; }
.pipe-step b { display: block; font-size: 12.5px; }
.pipe-step p { margin-top: 4px; color: var(--muted); font-size: 10.5px; }

.source-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 15px; }
.source-list { display: grid; gap: 8px; }
.source-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.source-no { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-soft); color: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 900; }
.source-item b { display: block; font-size: 12.5px; }
.source-item span { display: block; color: var(--muted); font-size: 10.5px; }
.quality-list { display: grid; gap: 9px; }
.quality-item { padding: 12px 13px; border-left: 4px solid var(--amber); border-radius: 0 10px 10px 0; background: var(--amber-soft); }
.quality-item.red { border-left-color: var(--red); background: var(--red-soft); }
.quality-item b { display: block; font-size: 12.5px; }
.quality-item p { margin: 3px 0 0; color: var(--muted); font-size: 11.5px; }

.sales-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.sales-step {
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.sales-step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--navy-900);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.sales-step h3 { margin: 12px 0 5px; font-size: 15px; }
.sales-step p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.offer-card .price {
  margin: 10px 0;
  color: var(--navy-950);
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -.8px;
}
.offer-card .price small { color: var(--muted); font-size: 12px; font-weight: 700; }
.offer-card ul { margin: 10px 0 16px; padding-left: 18px; color: #42516a; font-size: 13px; }
.offer-card .btn { margin-top: auto; }
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.market-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.market-card.free { border-top: 5px solid var(--teal); }
.market-card.locked { border-top: 5px solid var(--amber); background: #fffaf1; }
.market-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  margin: -6px 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #edf3f9;
  box-shadow: 0 12px 30px rgba(7,27,53,.12);
}
.market-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.market-card h3 { margin: 16px 0 8px; color: var(--navy-950); font-size: 20px; letter-spacing: -.5px; }
.market-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.market-card ul { margin: 14px 0 18px; padding-left: 18px; color: #42516a; font-size: 13px; }
.market-card .btn { margin-top: auto; align-self: flex-start; }
.sample-preview {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 22px;
  align-items: stretch;
}
.sample-cover {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(9,34,67,.92), rgba(15,104,107,.88)),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.28), transparent 22%);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.sample-cover h2 { margin: 10px 0; font-size: 38px; line-height: 1.12; letter-spacing: -1.5px; }
.sample-cover p { color: #dce8f7; }
.sample-frame {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.sample-frame iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }
.edition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.edition-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.edition-row b { color: var(--navy-900); }
.edition-row p { margin: 0; color: var(--muted); font-size: 12.5px; }
.purchase-cta {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.purchase-cta h2 { margin-top: 0; font-size: 28px; letter-spacing: -.9px; }
.purchase-cta p { color: #dce8f7; }
.purchase-cta .btn { border-color: rgba(255,255,255,.2); }
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 18px;
  align-items: stretch;
}
.quote-form,
.quote-result {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quote-form label {
  display: grid;
  gap: 5px;
  color: #eaf3ff;
  font-size: 12px;
  font-weight: 800;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(255,255,255,.94);
  color: var(--navy-950);
  font-size: 13px;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #9bd9ff;
  box-shadow: 0 0 0 3px rgba(155,217,255,.22);
}
.quote-wide { margin-top: 12px; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.quote-result {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.quote-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.quote-result h3 { margin: 8px 0 0; color: #fff; font-size: 22px; letter-spacing: -.5px; }
.quote-result pre {
  flex: 1;
  min-height: 360px;
  overflow: auto;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(2, 12, 26, .42);
  color: #eef6ff;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.quote-result .btn[aria-disabled="true"] {
  opacity: .55;
  pointer-events: none;
}

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.stage-note { margin-top: 4px; font-size: 10.5px; text-align: right; }
.footnote { font-size: 11px; }
[hidden] { display: none !important; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.nowrap { white-space: nowrap; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

.regional-control-bar {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(280px, 1.3fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}
.regional-control-bar label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
.regional-control-bar input,
.regional-control-bar select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); }
.regional-insight-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); gap: 18px; align-items: start; }
.regional-call-panel, .regional-agency-panel { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-sm); }
.section-head.compact { margin-bottom: 14px; }
.section-head.compact h3 { margin: 4px 0 0; }
.regional-call-list { display: grid; gap: 10px; }
.regional-call-card { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; }
.regional-call-card header { display: flex; justify-content: space-between; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; }
.regional-call-card h4 { margin: 10px 0 3px; font-size: 16px; line-height: 1.4; }
.regional-call-card dl { display: grid; gap: 7px; margin: 12px 0; }
.regional-call-card dl div { display: grid; grid-template-columns: 42px 1fr; gap: 8px; }
.regional-call-card dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.regional-call-card dd { margin: 0; font-size: 12px; line-height: 1.5; }
.regional-agency-list { display: grid; gap: 9px; margin-top: 14px; }
.regional-agency-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 13px; }
.regional-agency-row b { color: var(--navy-800); white-space: nowrap; }
.regional-agency-panel .fine { margin-top: 18px; }

footer { margin-top: 50px; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .priority-grid { grid-template-columns: repeat(3, 1fr); }
  .program-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .handbook-toolbar { grid-template-columns: repeat(3, 1fr); }
  .lifecycle-kpis { grid-template-columns: repeat(3, 1fr); }
  .handbook-toolbar .handbook-query { grid-column: span 2; }
  .pipe-step:nth-child(3)::after { display: none; }
  .evidence-grid, .regional-evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .priority-board { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .release-strip .wrap { padding-block: 6px; align-items: flex-start; flex-direction: column; gap: 0; }
  .topbar .wrap { min-height: 72px; align-items: flex-start; padding-block: 9px; flex-direction: column; gap: 5px; }
  .site-nav { width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; overflow: visible; padding-bottom: 3px; }
  .site-nav > a, .site-nav summary { min-height: 36px; justify-content: center; padding: 6px 5px; text-align: center; white-space: normal; }
  .nav-group[open] { grid-column: 1 / -1; }
  .nav-group[open] .nav-menu { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; margin-top: 2px; box-shadow: none; }
  .topbar-cta, .member-link { align-self: flex-start; }
  .topbar-cta { padding: 7px 11px; }
  .hero { padding: 42px 0; }
  .hero-grid, .fiscal-split, .source-grid, .chart-grid { grid-template-columns: 1fr; }
  .sales-hero .hero-grid { grid-template-columns: 1fr; }
  .report-hero-grid, .report-lead-grid, .verification-panel { grid-template-columns: 1fr; }
  .status-panel { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sales-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketplace-grid { grid-template-columns: 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .sample-preview, .edition-grid { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: repeat(2, 1fr); }
  .toolbar .field:first-child { grid-column: 1 / -1; }
  .handbook-toolbar { grid-template-columns: repeat(2, 1fr); }
  .handbook-toolbar .handbook-query { grid-column: 1 / -1; }
  .matrix th:first-child { width: 110px; }
  section[id] { scroll-margin-top: 130px; }
  .report-jump { top: 111px; }
  .report-kpis { grid-template-columns: repeat(2, 1fr); }
  .program-detail-drawer { width: calc(100vw / var(--ui-scale)); }
  .insight-toolbar { grid-template-columns: repeat(2, 1fr); }
  .insight-toolbar .field:first-child { grid-column: 1 / -1; }
  .regional-insight-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { zoom: 1; overflow-x: hidden; }
  .wrap { width: min(100% - 26px, var(--max)); }
  .hero h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.18;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .hero p { font-size: 14px; }
  .illustrated-hero {
    min-height: 330px;
    padding: 48px 0 62px;
    background-position: 64% center;
  }
  .illustrated-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 20, 40, .96) 0%, rgba(5, 20, 40, .88) 58%, rgba(5, 20, 40, .46) 100%),
      linear-gradient(180deg, rgba(5, 20, 40, .2), rgba(5, 20, 40, .42));
  }
  .sales-hero .hero-grid { gap: 18px; }
  .sales-hero h1,
  .illustrated-hero h1 {
    max-width: min(100%, 11em);
    font-size: clamp(30px, 9.2vw, 42px);
    letter-spacing: -1.1px;
  }
  .illustrated-hero p {
    max-width: 32em;
    word-break: keep-all;
  }
  .sales-label {
    max-width: min(100%, 22em);
    white-space: normal;
    line-height: 1.42;
    word-break: keep-all;
  }
  .product-panel { display: none; }
  .program-catalog-hero {
    min-height: 220px;
    padding: 36px 0;
    background-image:
      linear-gradient(90deg, rgba(4, 22, 45, .94) 0%, rgba(5, 27, 53, .72) 58%, rgba(5, 27, 53, .38) 100%),
      url("programs-catalog-hero-v2.png");
    background-position: 56% center;
  }
  .program-catalog-hero h1 { max-width: 9em; font-size: 35px; letter-spacing: -1.4px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .kpi-grid, .priority-grid, .grid-2, .grid-3, .grid-4, .program-grid, .compare-grid { grid-template-columns: 1fr; }
  .sales-path { grid-template-columns: 1fr; }
  .quote-form-grid { grid-template-columns: 1fr; }
  .quote-form,
  .quote-result { padding: 15px; }
  .quote-result-head { flex-direction: column; }
  .quote-result pre { min-height: 280px; font-size: 11px; }
  .product-panel dl { grid-template-columns: 1fr; }
  .edition-row { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi .value { font-size: 21px; }
  .fund-equation { grid-template-columns: 1fr; }
  .fund-plus { height: 18px; }
  .fund-plus::before { content: "+"; }
  .fund-plus { font-size: 0; }
  .toolbar { grid-template-columns: 1fr; }
  .toolbar .field:first-child { grid-column: auto; }
  .handbook-toolbar { grid-template-columns: 1fr; }
  .handbook-toolbar .handbook-query { grid-column: auto; }
  .lifecycle-kpis { grid-template-columns: repeat(2, 1fr); }
  .echart { height: 310px; }
  .lifecycle-sankey { height: 390px; }
  .risk-chart { height: 460px; }
  .sector-bar { grid-template-columns: 100px 1fr; }
  .sector-bar .amount { grid-column: 2; }
  .pipeline { grid-template-columns: 1fr; }
  .pipe-step::after { display: none !important; }
  .intro-fold-button { right: 13px; bottom: 10px; }
  .report-amount-panel { max-width: 390px; }
  .notice-grid, .side-by-side, .evidence-grid, .regional-evidence-grid, .action-timeline { grid-template-columns: 1fr; }
  .radar-link-item dl { grid-template-columns: 1fr; }
  .action-step { min-height: 128px; }
  .action-step::after { display: none !important; }
  .compare-picker { grid-template-columns: 1fr; }
  .compare-picker > * { min-width: 0; }
  .compare-picker select { width: 100%; max-width: 100%; }
  .insight-toolbar { grid-template-columns: 1fr; }
  .insight-toolbar .field:first-child { grid-column: auto; }
  .regional-control-bar { grid-template-columns: 1fr; }
  .regional-call-panel, .regional-agency-panel { padding: 15px; }
  .report-pagination { grid-template-columns: 1fr; }
  .report-pagination a { width: 100%; justify-self: stretch !important; }
  .stage-track { grid-template-columns: repeat(2, 1fr); }
  .source-item { grid-template-columns: 34px 1fr; }
  .source-item .btn { grid-column: 2; justify-self: start; }
}

@media print {
  .release-strip, .topbar, .hero-actions, .toolbar, .btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .wrap { width: 100%; max-width: none; }
  .hero { padding: 22px 0; background: #fff; color: #111; border-bottom: 2px solid #111; }
  .hero p { color: #444; }
  .hero .eyebrow { color: #555; }
  .card, .kpi, .priority-card, .program-card, .table-shell { box-shadow: none; break-inside: avoid; }
  footer { margin-top: 24px; }
}
