:root {
  --ink: #071522;
  --navy: #0a2137;
  --navy-2: #0f2e4a;
  --blue: #1e6fd9;
  --blue-2: #4ba7ff;
  --cyan: #64d8ff;
  --gold: #d5a94e;
  --paper: #f4f7fa;
  --white: #ffffff;
  --line: #d9e1e8;
  --line-dark: rgba(255,255,255,.14);
  --muted: #607080;
  --green: #2f8a68;
  --amber: #a66b12;
  --red: #a94141;
  --shadow: 0 18px 50px rgba(13, 35, 55, .10);
  --shadow-soft: 0 8px 24px rgba(13, 35, 55, .08);
  --radius: 18px;
  --radius-sm: 11px;
  --shell: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(7, 21, 34, .96);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
}
.topbar__inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
}
.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(100, 216, 255, .45);
  background: rgba(100, 216, 255, .08);
  border-radius: 10px;
}
.brand__mark svg { width: 30px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linejoin: round; }
.brand strong { display: block; font-size: 19px; letter-spacing: .01em; }
.brand small { display: block; color: #aebdca; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 27px 15px 24px;
  border: 0;
  color: #c8d3dc;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link.is-active::after { transform: scaleX(1); }
.topbar__actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.jurisdiction-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 8px 12px;
  color: #d9e3ea;
  font-size: 12px;
  font-weight: 700;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(100,216,255,.12); }
.icon-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 10px; background: transparent; }
.icon-button span { display: block; width: 18px; height: 2px; margin: 4px auto; background: white; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 22%, rgba(43, 127, 214, .24), transparent 36%),
    linear-gradient(125deg, #071522 0%, #0a2137 54%, #0e3150 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, black, transparent 92%);
}
.hero__grid { position: absolute; width: 520px; height: 520px; border: 1px solid rgba(100,216,255,.18); border-radius: 50%; right: -120px; top: -180px; }
.hero__grid::before, .hero__grid::after { content: ""; position: absolute; inset: 52px; border: 1px solid rgba(100,216,255,.14); border-radius: 50%; }
.hero__grid::after { inset: 116px; }
.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 80px;
  align-items: center;
  padding-block: 64px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #bad7e8; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 800; }
.eyebrow span { width: 28px; height: 2px; background: var(--cyan); }
.hero h1 { margin: 18px 0; max-width: 900px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -.045em; font-weight: 720; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero__copy > p { max-width: 760px; margin: 0 0 30px; color: #c2d2de; font-size: 18px; }
.ask-box { max-width: 850px; }
.ask-box > label { display: block; margin-bottom: 8px; color: #d7e4ed; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.ask-box__control { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 68px; padding: 8px 8px 8px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.97); box-shadow: 0 24px 50px rgba(0,0,0,.2); }
.ask-box__control svg { width: 22px; fill: none; stroke: #6d7a86; stroke-width: 2; }
.ask-box__control input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 17px; }
.ask-box__control input::placeholder { color: #7b8791; }
.ask-box__control button { min-width: 110px; height: 50px; border: 0; border-radius: 10px; color: white; background: linear-gradient(135deg, var(--blue), #1453a3); font-weight: 800; box-shadow: 0 8px 18px rgba(30,111,217,.25); }
.ask-box__control button:hover { filter: brightness(1.06); }
.prompt-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.prompt-row button { padding: 7px 11px; color: #c9d9e4; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.05); font-size: 12px; }
.prompt-row button:hover { border-color: rgba(100,216,255,.5); color: white; }

.hero__status { align-self: stretch; max-width: 390px; justify-self: end; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(5, 17, 29, .55); backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.status-card__header { display: flex; justify-content: space-between; align-items: center; color: #c5d4df; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.status-pill { padding: 5px 8px; border: 1px solid rgba(100,216,255,.4); border-radius: 5px; color: var(--cyan); background: rgba(100,216,255,.08); }
.status-card__seal { width: 160px; height: 160px; margin: 18px auto 12px; opacity: .55; }
.status-card__seal svg { width: 100%; fill: none; stroke: #8edfff; stroke-width: 2; }
.status-list { margin: 0; border-top: 1px solid var(--line-dark); }
.status-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.status-list dt { color: #aebfcb; font-size: 13px; }
.status-list dd { margin: 0; color: white; font-size: 13px; font-weight: 800; }
.status-note { margin: 14px 0 0; color: #b6c6d1; font-size: 12px; line-height: 1.55; }
.status-note strong { color: #f3d693; }

.notice-bar { color: #dbe7ee; background: #102c46; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.notice-bar__inner { min-height: 54px; display: flex; align-items: center; gap: 12px; }
.notice-bar p { margin: 0; flex: 1; font-size: 13px; }
.notice-icon { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(100,216,255,.45); border-radius: 50%; color: var(--cyan); font-size: 12px; font-weight: 900; }
.notice-bar button { border: 0; color: var(--cyan); background: transparent; font-size: 12px; font-weight: 800; }

.app-shell { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 34px; padding-block: 44px 80px; }
.side-nav { position: sticky; top: 112px; align-self: start; }
.side-nav__label { margin: 0 0 10px; color: #8896a2; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 850; }
.side-link { width: 100%; display: flex; gap: 11px; align-items: center; padding: 12px 10px; border: 0; border-left: 2px solid transparent; color: #667480; background: transparent; text-align: left; font-size: 13px; font-weight: 700; }
.side-link span { color: #a1adb6; font-size: 10px; letter-spacing: .08em; }
.side-link:hover, .side-link.is-active { color: var(--ink); background: white; border-left-color: var(--blue); }
.side-card { margin-top: 26px; padding: 17px; border: 1px solid #d6e1e9; border-radius: 14px; background: linear-gradient(145deg, #fff, #edf4f8); box-shadow: var(--shadow-soft); }
.side-card__icon { width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 7px; color: white; background: var(--green); font-weight: 900; }
.side-card strong { display: block; font-size: 13px; line-height: 1.35; }
.side-card p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.workspace { min-width: 0; }
.view { animation: fadeIn .28s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 24px; }
.section-heading h2 { margin: 3px 0 7px; font-size: clamp(29px, 3vw, 42px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p { max-width: 760px; margin: 0; color: var(--muted); }
.section-kicker { color: var(--blue) !important; text-transform: uppercase; letter-spacing: .14em; font-size: 11px !important; font-weight: 850; }
.select-control, .filter-strip label { display: grid; gap: 6px; color: #65717c; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
select { min-height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font-size: 13px; text-transform: none; letter-spacing: 0; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.metric-card { position: relative; overflow: hidden; min-height: 145px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow-soft); }
.metric-card::after { content: ""; position: absolute; width: 80px; height: 80px; right: -35px; top: -35px; border: 1px solid #dbe8f0; border-radius: 50%; }
.metric-card__label { display: flex; justify-content: space-between; gap: 10px; color: #6b7985; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.metric-card__icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 6px; color: var(--blue); background: #eaf3ff; font-size: 12px; }
.metric-card strong { display: block; margin-top: 19px; font-size: 28px; letter-spacing: -.025em; }
.metric-card small { display: block; margin-top: 4px; color: #7b8994; font-size: 11px; }
.metric-card--dark { color: white; background: linear-gradient(145deg, var(--navy), var(--navy-2)); border-color: transparent; }
.metric-card--dark .metric-card__label, .metric-card--dark small { color: #b8cad6; }
.metric-card--dark .metric-card__icon { color: var(--cyan); background: rgba(100,216,255,.1); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: 16px; }
.panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-soft); }
.panel--feature { margin-bottom: 16px; }
.panel__header { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel__header h3 { margin: 3px 0 0; font-size: 19px; letter-spacing: -.015em; }
.panel__eyebrow { color: #7a8791; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.text-button { border: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 800; }
.panel-footnote { margin: 14px 0 0; color: #82909a; font-size: 11px; }
.button { min-height: 44px; padding: 0 16px; border-radius: 9px; font-weight: 800; }
.button--secondary { border: 1px solid #cfdbe4; color: var(--navy); background: #f8fafc; }
.button--secondary:hover { border-color: #9db8cb; background: #eef5fa; }
.button--full { width: 100%; }
.tag { display: inline-flex; align-items: center; width: max-content; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.tag--amber { color: #81520d; background: #fff0cf; }
.tag--blue { color: #1556a6; background: #e7f1ff; }
.tag--green { color: #236d52; background: #e2f4ed; }

.money-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.flow-column { padding: 15px; border: 1px solid #dce5eb; border-radius: 12px; background: #f8fafc; }
.flow-column__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.flow-column__title strong { font-size: 12px; }
.flow-column__title span { color: #7f8c96; font-size: 10px; }
.flow-item { margin-top: 9px; }
.flow-item__meta { display: flex; justify-content: space-between; color: #65727c; font-size: 10px; }
.flow-track { height: 5px; margin-top: 5px; overflow: hidden; border-radius: 999px; background: #e0e7ec; }
.flow-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.flow-arrow { align-self: center; color: #8ca2b2; font-size: 22px; }

.evidence-score { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 18px; margin: 12px 0 22px; }
.evidence-ring { --score: 18; width: 108px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) calc(var(--score) * 1%), #e4ebf0 0); }
.evidence-ring::before { content: ""; grid-area: 1/1; width: 82px; aspect-ratio: 1; border-radius: 50%; background: white; }
.evidence-ring span { grid-area: 1/1; z-index: 1; font-size: 25px; font-weight: 850; }
.evidence-ring small { font-size: 12px; }
.evidence-score strong { display: block; }
.evidence-score p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.bar-chart { display: grid; gap: 13px; }
.bar-row { display: grid; grid-template-columns: 145px 1fr 52px; gap: 12px; align-items: center; }
.bar-row__label { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; }
.bar-row__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.bar-row__track { height: 11px; overflow: hidden; border-radius: 999px; background: #e7edf2; }
.bar-row__bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #174f92, var(--blue-2)); transition: width .4s ease; }
.bar-row__value { color: #4c5964; text-align: right; font-size: 11px; font-weight: 850; }
.bar-chart--large { gap: 18px; }
.bar-chart--large .bar-row { grid-template-columns: 180px 1fr 60px; }
.bar-chart--large .bar-row__track { height: 17px; }

.aen-mini { display: grid; gap: 10px; margin-bottom: 18px; }
.aen-mini > div { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid #e0e7ec; border-radius: 10px; }
.aen-letter { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; color: white; background: var(--navy); font-weight: 900; }
.aen-mini p { margin: 0; font-size: 12px; }
.aen-mini small { display: block; margin-top: 2px; color: #7c8993; font-size: 10px; }

.filter-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.filter-strip select { width: 100%; }
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 11px 12px; color: #70808d; background: #f4f7f9; border-bottom: 1px solid var(--line); text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.data-table td { padding: 14px 12px; border-bottom: 1px solid #e8edf1; color: #4f5d68; font-size: 12px; vertical-align: top; }
.data-table td:first-child { color: var(--ink); font-weight: 750; }
.data-table tr:last-child td { border-bottom: 0; }
.readiness-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.readiness-grid > div { padding: 16px; border: 1px solid #e0e7ec; border-radius: 12px; background: #fbfcfd; }
.readiness-grid strong { display: block; margin-top: 11px; font-size: 13px; }
.readiness-grid p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.readiness-status { font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.readiness-status--ready { color: var(--green); }
.readiness-status--pending { color: var(--amber); }
.readiness-status--gap { color: var(--red); }

.aen-hero { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 40px; margin-bottom: 18px; padding: 30px; border-radius: 18px; color: white; background: linear-gradient(130deg, #071522, #10385b); box-shadow: var(--shadow); }
.aen-hero__letters { display: flex; gap: 8px; }
.aen-hero__letters span { width: 70px; height: 92px; display: grid; place-items: center; border: 1px solid rgba(100,216,255,.28); border-radius: 12px; color: var(--cyan); background: rgba(255,255,255,.05); font-size: 39px; font-weight: 850; }
.aen-hero h3 { margin: 3px 0 8px; font-size: 28px; }
.aen-hero p:not(.section-kicker) { margin: 0; color: #c0d0dc; }
.aen-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.aen-card { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-soft); }
.aen-card__number { position: absolute; right: 16px; top: 8px; color: #edf2f5; font-size: 56px; font-weight: 900; }
.aen-card h3 { position: relative; margin: 8px 0; font-size: 21px; }
.aen-card p, .aen-card li { color: var(--muted); font-size: 12px; }
.aen-card ul { margin: 18px 0 0; padding-left: 18px; }
.aen-card li { margin: 7px 0; }
.empty-state { text-align: center; padding: 44px; }
.empty-state__icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 12px; color: var(--blue); background: #e8f2ff; font-size: 26px; }
.empty-state h3 { margin: 0 0 6px; }
.empty-state p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 13px; }

.source-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.source-summary > div { display: flex; align-items: center; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.source-summary span { color: var(--blue); font-size: 28px; font-weight: 850; }
.source-summary p { margin: 0; color: #66737d; font-size: 12px; }
.source-list { display: grid; }
.source-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid #e5ebef; }
.source-item:last-child { border-bottom: 0; }
.source-item__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: #eaf3ff; font-size: 13px; font-weight: 900; }
.source-item h4 { margin: 0; font-size: 13px; }
.source-item p { margin: 3px 0 0; color: #75828c; font-size: 11px; }
.source-item a { padding: 7px 10px; border: 1px solid #d5e0e7; border-radius: 8px; color: var(--blue); text-decoration: none; font-size: 10px; font-weight: 850; }
.source-item a:hover { background: #eef6ff; }


.control-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 24px; align-items: center; background: linear-gradient(145deg, #ffffff, #edf6fb); }
.control-hero h3 { margin: 14px 0 8px; font-size: 26px; letter-spacing: -.02em; }
.control-hero p { margin: 0; color: var(--muted); }
.control-formula { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; padding: 18px; border: 1px solid rgba(30,111,217,.18); border-radius: 14px; background: white; text-align: center; }
.control-formula strong { display: grid; min-height: 56px; place-items: center; padding: 10px; border-radius: 10px; color: var(--navy); background: #f4f8fb; font-size: 12px; }
.control-formula span { color: var(--blue); font-weight: 900; }
.gap-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.gap-card { padding: 16px; border: 1px solid #f0dba7; border-radius: 12px; background: #fff9e9; }
.gap-card strong { display: block; color: #6f5017; font-size: 13px; }
.gap-card p { margin: 7px 0 0; color: #715c32; font-size: 11px; }
.text-link { padding: 7px 10px; border: 1px solid #d5e0e7; border-radius: 8px; color: var(--blue); text-decoration: none; font-size: 10px; font-weight: 850; }
.text-link:hover { background: #eef6ff; }

.officials-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 24px; align-items: center; margin-bottom: 16px; background: linear-gradient(145deg, #ffffff, #edf6fb); }
.officials-hero h3 { margin: 14px 0 8px; font-size: 26px; letter-spacing: -.02em; }
.officials-hero p { margin: 0; color: var(--muted); }
.officials-quote { padding: 22px; border: 1px solid rgba(30,111,217,.18); border-radius: 14px; background: white; }
.officials-quote strong { display: block; color: var(--blue); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.officials-quote span { display: block; margin-top: 8px; color: var(--ink); font-size: 24px; line-height: 1.15; font-weight: 850; letter-spacing: -.025em; }
.officials-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.official-card span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--cyan); background: var(--navy); font-size: 11px; font-weight: 900; }
.official-card h3 { margin: 14px 0 7px; font-size: 18px; }
.official-card p { margin: 0; color: var(--muted); font-size: 12px; }
.demo-path { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.demo-path > div { padding: 16px; border: 1px solid #e0e7ec; border-radius: 12px; background: #fbfcfd; }
.demo-path strong { display: block; font-size: 13px; }
.demo-path p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.officials-ask { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.officials-ask h3 { margin: 4px 0 7px; font-size: 20px; }
.officials-ask p { max-width: 760px; margin: 0; color: var(--muted); font-size: 13px; }


.footer { color: #afbec9; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand--footer { color: white; }
.footer p { margin: 0; font-size: 12px; }

.answer-panel, .evidence-drawer { position: fixed; inset: 0; z-index: 100; }
.answer-panel__backdrop, .evidence-drawer__backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,10,18,.66); backdrop-filter: blur(4px); }
.answer-panel__sheet { position: absolute; left: 50%; top: 50%; width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: white; box-shadow: 0 40px 100px rgba(0,0,0,.35); animation: popIn .22s ease; }
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -48%) scale(.98); } }
.answer-panel__header, .evidence-drawer__header { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 22px; border-bottom: 1px solid var(--line); }
.answer-panel__header h2, .evidence-drawer__header h2 { margin: 3px 0 0; font-size: 23px; }
.close-button { width: 38px; height: 38px; border: 1px solid #dbe3e9; border-radius: 9px; color: #5f6c76; background: white; font-size: 24px; line-height: 1; }
.answer-panel__body { padding: 24px; }
.answer-alert { padding: 13px 15px; border-left: 3px solid var(--gold); border-radius: 6px; color: #6f5017; background: #fff8e8; font-size: 12px; }
.answer-panel__body h3 { margin: 22px 0 8px; font-size: 17px; }
.answer-panel__body p { color: #56646f; }
.answer-facts { display: grid; gap: 10px; margin: 18px 0; }
.answer-fact { padding: 14px; border: 1px solid #dfe7ed; border-radius: 10px; background: #f8fafc; }
.answer-fact strong { display: block; font-size: 12px; }
.answer-fact span { display: block; margin-top: 3px; color: #6c7983; font-size: 11px; }
.answer-actions { display: flex; gap: 10px; margin-top: 20px; }
.evidence-drawer__panel { position: absolute; top: 0; right: 0; width: min(520px, 100%); height: 100%; overflow: auto; background: white; box-shadow: -24px 0 70px rgba(0,0,0,.28); animation: slideIn .24s ease; }
@keyframes slideIn { from { transform: translateX(100%); } }
.evidence-drawer__body { padding: 22px; }
.evidence-alert { padding: 15px; border: 1px solid #f0dba7; border-radius: 10px; background: #fff9e9; }
.evidence-alert p { margin: 5px 0 0; color: #715c32; font-size: 12px; }
.evidence-steps { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.evidence-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.evidence-steps li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--navy); font-size: 11px; font-weight: 900; }
.evidence-steps strong { font-size: 13px; }
.evidence-steps p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
body.modal-open { overflow: hidden; }

:focus-visible { outline: 3px solid rgba(75,167,255,.5); outline-offset: 2px; }

@media (max-width: 1120px) {
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 10px 20px 16px; background: #071522; border-bottom: 1px solid var(--line-dark); }
  .primary-nav.is-open { display: grid; }
  .nav-link { padding: 12px; text-align: left; }
  .nav-link::after { display: none; }
  .icon-button { display: block; }
  .topbar__inner { grid-template-columns: 1fr auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__status { max-width: none; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 18px 30px; align-items: center; }
  .status-card__header { grid-column: 1/-1; }
  .status-card__seal { margin: 0; }
  .status-note { grid-column: 1/-1; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .readiness-grid, .gap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .side-nav__label, .side-card { display: none; }
  .side-link { min-width: max-content; border: 1px solid var(--line); border-radius: 999px; background: white; }
  .side-link.is-active { border-color: var(--blue); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .money-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .aen-hero { grid-template-columns: 1fr; }
  .aen-grid { grid-template-columns: 1fr; }
  .control-hero, .officials-hero, .officials-grid, .demo-path { grid-template-columns: 1fr; }
  .officials-ask { display: block; }
  .officials-ask .button { margin-top: 16px; }
  .source-summary { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: start; justify-content: center; padding-block: 28px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .jurisdiction-chip { display: none; }
  .hero__inner { padding-block: 44px; }
  .hero h1 { font-size: 42px; }
  .hero__copy > p { font-size: 16px; }
  .ask-box__control { grid-template-columns: auto 1fr; padding-right: 12px; }
  .ask-box__control button { grid-column: 1/-1; width: 100%; }
  .hero__status { display: block; }
  .status-card__seal { margin: 18px auto; }
  .notice-bar__inner { align-items: start; padding-block: 12px; }
  .notice-bar button { display: none; }
  .section-heading { display: block; }
  .select-control { margin-top: 14px; }
  .metric-grid { grid-template-columns: 1fr; }
  .filter-strip { grid-template-columns: 1fr; }
  .readiness-grid, .gap-grid { grid-template-columns: 1fr; }
  .control-formula { grid-template-columns: 1fr; }
  .aen-hero__letters span { width: 56px; height: 72px; font-size: 30px; }
  .bar-row, .bar-chart--large .bar-row { grid-template-columns: 110px 1fr 44px; gap: 8px; }
  .source-item { grid-template-columns: 40px 1fr; }
  .source-item a { grid-column: 2; width: max-content; }
  .evidence-score { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
