:root {
  color-scheme: light;
  --navy: #102a3a;
  --navy-dark: #0c2231;
  --ink: #112448;
  --muted: #637797;
  --teal: #087f8f;
  --cyan: #18cad4;
  --line: #dfe7ee;
  --paper: #fff;
  --bg: #f6f9fc;
  --coral: #e96251;
  --amber: #d68a26;
  --radius: 8px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  background: linear-gradient(130deg, #fbfcfd, #f5f9fc);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button,
input,
select,
textarea {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #22bac8;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #4cb6c6;
  outline-offset: 1px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.85px;
  font-weight: 730;
}
h2 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.35px;
  font-weight: 680;
}
h3 {
  font-size: 14px;
  font-weight: 620;
}
p {
  color: var(--muted);
}
small {
  font-size: 12px;
}
button .icon {
  pointer-events: none;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: -100px;
  left: 240px;
  padding: 12px;
  background: white;
}
.skip-link:focus {
  top: 8px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.analyst-only {
  display: none !important;
}
.analyst-mode .analyst-only {
  display: block !important;
}
.dashboard-shell {
  min-height: 100vh;
}
.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
  z-index: 80;
  background: linear-gradient(155deg, #102a3a 0%, #102938 65%, #142f40);
  color: #c3d3e5;
  display: flex;
  flex-direction: column;
  padding: 27px 16px 26px;
  border-right: 1px solid #203e50;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  margin: 0 5px;
}
.brand-block strong {
  display: block;
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.brand-block small {
  display: block;
  font-size: 10.5px;
  color: #b5c8db;
  letter-spacing: 0.05px;
  margin-top: 5px;
  white-space: nowrap;
}
.brand-logo {
  width: 42px;
  height: 48px;
  fill: none;
  stroke: #0fd0df;
  stroke-width: 1.35;
  flex-shrink: 0;
}
.region-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #4a6575;
  border-radius: 6px;
  margin: 29px 5px 24px;
  padding: 10px 13px;
  color: #edf5fd;
  font-size: 13px;
}
.region-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #3ec5c6;
  box-shadow: 0 0 0 4px #34b4bf14;
}
.view-nav {
  display: grid;
  gap: 7px;
  margin: 0 -9px;
}
.nav-button {
  display: flex;
  align-items: center;
  gap: 17px;
  background: none;
  border: 0;
  color: #becce0;
  border-radius: 6px;
  min-height: 53px;
  text-align: left;
  padding: 12px 21px;
  position: relative;
  font-size: 13px;
}
.nav-button .icon {
  width: 24px;
  height: 24px;
}
.nav-button:hover {
  background: #193c4e;
  color: white;
}
.nav-button.active {
  background: linear-gradient(90deg, #144355, #163b4c);
  color: white;
  font-weight: 620;
}
.nav-button.active::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #11ccd7;
}
.nav-button.active .icon {
  color: #83e3e6;
}
.side-note {
  margin: auto 7px 0;
  border-top: 1px solid #506677;
  padding-top: 18px;
  color: #e6edf5;
  font-size: 12px;
}
.side-note button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  margin-top: 15px;
  border: 0;
  background: none;
  color: #bcd0e0;
  font-size: 12px;
}
.side-note .icon {
  width: 13px;
  height: 13px;
}
.side-note small {
  display: block;
  color: #7594a9;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-top: 25px;
}
.research-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #45c1ba;
  border-radius: 50%;
  margin-right: 6px;
}
.workspace {
  margin-left: 226px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.topbar {
  height: 57px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfee8;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 600;
}
.breadcrumb > span:first-of-type {
  color: #95a3b6;
}
.global-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  border: 1px solid #d5dfea;
  background: #f9fbfd;
  border-radius: 6px;
  height: 33px;
  padding: 0 10px;
  gap: 8px;
  min-width: 200px;
  width: 310px;
}
.global-search .icon {
  width: 16px;
  height: 16px;
  color: #4f6882;
}
.global-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  height: 30px;
  color: var(--ink);
  outline: 0;
}
.global-search kbd {
  font: 11px inherit;
  color: #8c9db1;
}
.global-search:focus-within {
  box-shadow: 0 0 0 2px #53b6c7;
}
.analyst-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 12px;
  cursor: pointer;
}
.analyst-switch input {
  position: absolute;
  opacity: 0;
  width: 35px;
  height: 20px;
}
.switch-track {
  display: inline-flex;
  width: 35px;
  height: 19px;
  border-radius: 20px;
  background: #a6b5c3;
  padding: 2px;
  transition: background 0.15s;
}
.switch-track::after {
  content: "";
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #0003;
  transition: transform 0.15s;
}
.analyst-switch input:checked + .switch-track {
  background: #0b8997;
}
.analyst-switch input:checked + .switch-track::after {
  transform: translateX(16px);
}
.analyst-switch input:focus-visible + .switch-track {
  outline: 3px solid #42c6cf;
  outline-offset: 3px;
}
.mobile-menu {
  display: none !important;
}
main {
  padding: 23px 26px 12px;
  flex: 1;
  min-width: 0;
}
.view-section {
  animation: reveal 0.2s ease;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 19px;
}
.page-heading p:not(.eyebrow) {
  font-size: 14px;
  margin-top: 5px;
  color: #576e92;
}
.eyebrow {
  color: #078490;
  text-transform: uppercase;
  letter-spacing: 1.35px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 5px;
}
.page-heading-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 3px;
  flex-shrink: 0;
}
.snapshot {
  font-size: 11px;
  color: #547092;
}
.button {
  border: 1px solid #bdcedd;
  border-radius: 6px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  color: #183a5a;
  font-weight: 550;
  font-size: 12px;
  min-height: 36px;
  white-space: nowrap;
}
.button:hover {
  background: #eef6f8;
  border-color: #8cb4c2;
}
.button .icon {
  width: 18px;
  height: 18px;
}
.button.primary {
  color: white;
  background: #07526a;
  border-color: #07526a;
  padding: 10px 17px;
  box-shadow: 0 2px 3px #143b5510;
}
.button.primary:hover {
  background: #086c80;
}
.button.outline {
  border-color: #3993a4;
  color: #076b80;
}
.full-width {
  width: 100%;
}
.text-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 12px;
  color: #086180;
  font-weight: 550;
}
.text-button:hover {
  color: #0595a1;
  text-decoration: underline;
}
.text-button .icon {
  width: 17px;
  height: 17px;
}
.align-right {
  display: flex;
  width: max-content;
  margin-left: auto;
}
.icon-button {
  display: grid;
  place-items: center;
  min-width: 32px;
  width: 32px;
  height: 32px;
  padding: 5px;
  background: white;
  border: 1px solid #d4dee7;
  border-radius: 5px;
}
.icon-button .icon {
  width: 18px;
  height: 18px;
}
.icon-button:hover {
  background: #e0f5f6;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  box-shadow: 0 1px 2px #12395203;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px 12px;
}
.panel-heading h2 {
  display: flex;
  align-items: center;
  gap: 11px;
}
.panel-heading h2 > .icon {
  height: 25px;
  width: 25px;
}
.panel-heading p {
  font-size: 12px;
  margin-top: 3px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 550;
  white-space: nowrap;
  line-height: 1.5;
  letter-spacing: 0;
}
.badge.blue {
  background: #def2fd;
  color: #086384;
}
.badge.teal {
  background: #def5f4;
  color: #075d70;
}
.badge.red {
  background: #ffded8;
  color: #953323;
}
.badge.amber {
  background: #fff0cc;
  color: #9b610c;
}
.badge.neutral {
  background: #eaf0f6;
  color: #4e6682;
}
.title-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: middle;
  margin-left: 5px;
  padding: 5px 11px;
}
.teal-text {
  color: #058c99;
}
.coral-text {
  color: #e85e4e;
}
.amber-text {
  color: #d38822;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.kpi {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  min-height: 93px;
  padding: 15px 18px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.kpi-icon {
  padding-top: 5px;
  color: #6383a3;
}
.kpi-icon .icon {
  width: 28px;
  height: 28px;
}
.kpi-value {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.03;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.kpi-value small {
  font-size: 20px;
  letter-spacing: -0.3px;
}
.kpi h3 {
  margin: 4px 0 1px;
  font-size: 13px;
  font-weight: 630;
}
.kpi p {
  font-size: 11px;
  line-height: 1.4;
}
.kpi.amber .kpi-value,
.kpi.amber .kpi-icon {
  color: #cc8227;
}
.kpi.coral .kpi-value,
.kpi.coral .kpi-icon {
  color: #e66758;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.45fr) minmax(270px, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.right-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}
.right-stack > .panel {
  flex: 1;
}
.segmented {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #f4f7fa;
  border: 1px solid #dce5ee;
  border-radius: 8px;
}
.segmented button {
  border: 0;
  background: transparent;
  border-radius: 5px;
  min-height: 30px;
  padding: 5px 20px;
  color: #415c80;
  font-size: 12px;
  white-space: nowrap;
}
.segmented button + button {
  position: relative;
}
.segmented button:hover {
  background: #e5f0f4;
}
.segmented button.active {
  background: #07556b;
  color: white;
  box-shadow: 0 1px 3px #194d681a;
}
.segmented.page-tabs {
  margin-bottom: 14px;
}
.map-panel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-panel .panel-heading {
  min-height: 61px;
}
.map-canvas {
  position: relative;
  background: radial-gradient(ellipse at 38% 35%, #1b3c4f, #102b3c 78%);
  height: 455px;
  overflow: hidden;
  isolation: isolate;
}
.geo-map {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
.geo-map:active {
  cursor: grabbing;
}
.base-land {
  fill: #263f4d;
  stroke: #425866;
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
}
.geo-label {
  fill: #8ca9ba;
  font-size: 11px;
  letter-spacing: 2.4px;
  font-style: italic;
  text-anchor: middle;
  pointer-events: none;
  opacity: 0.9;
}
.tract {
  stroke: #416673;
  stroke-width: 0.22;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 0.15s;
  outline: none;
}
.tract:hover {
  stroke: #b9ffff;
  stroke-width: 1.2;
  filter: brightness(1.17);
}
.tract.dimmed {
  fill: #274553;
  opacity: 0.4;
  pointer-events: none;
}
.tract.selected {
  stroke: #37f1e0;
  stroke-width: 2;
  filter: drop-shadow(0 0 3px #39e4d4);
}
.map-filter {
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 3;
}
.map-filter select {
  font-size: 11px;
  max-width: 150px;
  min-height: 32px;
  background: #f7fbff;
  border: 1px solid #b9c9d5;
}
.map-tools {
  position: absolute;
  top: 60px;
  right: 17px;
  display: grid;
  gap: 1px;
  z-index: 2;
}
.map-tools .icon-button {
  border-radius: 0;
  width: 31px;
  min-width: 31px;
  height: 29px;
  box-shadow: 0 2px 3px #0001;
}
.map-tools .icon-button:nth-child(2) {
  border-radius: 5px 5px 0 0;
}
.map-tools .icon-button:last-child {
  border-radius: 0 0 5px 5px;
}
.north-arrow {
  color: white;
  text-align: center;
  font-size: 9px;
  line-height: 1;
  margin-bottom: 10px;
}
.north-arrow svg {
  display: block;
  width: 18px;
  height: 23px;
  margin: 4px auto 0;
  fill: #e6f2f8;
  filter: drop-shadow(0 1px 2px #123);
}
.map-legend {
  position: absolute;
  left: 13px;
  bottom: 37px;
  width: 187px;
  background: #102938e8;
  border: 1px solid #496171;
  border-radius: 6px;
  padding: 9px 11px;
  color: #e7f1f7;
  box-shadow: 0 2px 5px #00142121;
  pointer-events: none;
}
.map-legend strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
  margin-bottom: 6px;
}
.legend-ramp {
  height: 11px;
  border-radius: 3px;
}
.legend-ends {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-top: 4px;
}
.map-legend small {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 8px;
  margin-top: 5px;
  color: #b8cbd7;
}
.missing-swatch {
  width: 7px;
  height: 7px;
  background: #344b5b;
  border: 1px solid #627888;
  display: inline-block;
}
.legend-category {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}
.legend-category i {
  height: 12px;
  width: 12px;
  border: 1px solid #9bb3c34a;
  border-radius: 2px;
}
.map-caption {
  position: absolute;
  right: 13px;
  bottom: 20px;
  font-size: 10px;
  color: #bdd0dd;
  max-width: 55%;
  text-align: right;
  pointer-events: none;
}
.map-attribution {
  position: absolute;
  bottom: 4px;
  right: 10px;
  color: #98afbf;
  font-size: 8px;
}
.map-attribution a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.map-scale {
  position: absolute;
  bottom: 53px;
  right: 20px;
  color: #d9e7ef;
  font-size: 9px;
  max-width: 30%;
  overflow: hidden;
}
.map-scale > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #b5cedc;
  position: relative;
  padding-bottom: 5px;
  max-width: 100%;
}
.map-scale > div::before,
.map-scale > div::after {
  content: "";
  height: 6px;
  width: 1px;
  background: #b5cedc;
  position: absolute;
  bottom: -3px;
}
.map-scale > div::before {
  left: 0;
}
.map-scale > div::after {
  right: 0;
}
.map-tooltip {
  position: absolute;
  z-index: 5;
  max-width: 235px;
  border: 1px solid #44cbd1;
  background: #0f2839ed;
  padding: 8px 11px;
  border-radius: 5px;
  color: white;
  pointer-events: none;
  box-shadow: 0 6px 20px #00192155;
}
.map-tooltip strong {
  display: block;
  font-size: 11px;
}
.map-tooltip span {
  font-size: 10px;
  color: #bcd5e1;
}
.map-empty {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  padding: 13px 17px;
  background: #102735ed;
  border: 1px solid #849da8;
  border-radius: 6px;
  color: #deedf5;
  text-align: center;
}
.county-panel {
  padding: 3px 3px 12px;
}
.county-panel .panel-heading {
  padding-bottom: 13px;
}
.county-panel > .text-button {
  margin: 13px 14px 0 auto;
}
.county-bars {
  padding: 0 15px;
}
.bar-row {
  display: grid;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.bar-row i {
  height: 15px;
  display: block;
  background: transparent;
  position: relative;
}
.bar-row u {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #098d9c, #087c8d);
  border-radius: 3px;
  text-decoration: none;
}
.bar-row b {
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.county-bar {
  grid-template-columns: 82px 1fr 24px;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid #eff3f8;
  min-height: 34px;
}
.county-bar:hover {
  background: #f0f9fb;
}
.county-bar:last-child {
  border: 0;
}
.assistant-card {
  background: linear-gradient(130deg, #e4f8f9, #f0fcff);
  border-color: #ccecf1;
  padding: 20px 18px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.assistant-card-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.assistant-card-title > .icon {
  width: 26px;
  height: 26px;
  color: #14516d;
}
.assistant-card-title p {
  font-size: 11px;
  color: #48738b;
  margin-top: 4px;
}
.question-chip {
  align-self: flex-start;
  background: #f0faff;
  border: 1px solid #c5e5ed;
  border-radius: 9px;
  color: #456987;
  font-size: 11px;
  text-align: left;
  padding: 9px 12px;
  margin-bottom: 16px;
}
.question-chip:hover {
  background: #d3f0f3;
}
.assistant-inline-form {
  display: flex;
  gap: 8px;
  padding: 4px;
  background: white;
  border: 1px solid #d5e5ed;
  border-radius: 6px;
}
.assistant-inline-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 7px;
  font-size: 12px;
  color: var(--ink);
}
.assistant-inline-form button {
  display: grid;
  place-items: center;
  background: #078495;
  color: white;
  border: 0;
  border-radius: 4px;
  width: 34px;
  height: 33px;
}
.assistant-inline-form button .icon {
  width: 20px;
  height: 20px;
}
.intervention-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 30px;
  padding: 15px 18px;
}
.intervention-strip h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 11px;
}
.intervention-strip h2 > .icon {
  height: 19px;
  width: 19px;
}
.intervention-strip .badge {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}
.intervention-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 12px;
}
.intervention-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #d6e1eb;
  border-radius: 6px;
  min-height: 51px;
  padding: 8px 13px;
  font-size: 13px;
  white-space: nowrap;
}
.intervention-tabs button:hover {
  background: #f0f9fb;
}
.intervention-tabs button > .icon {
  width: 25px;
  height: 25px;
}
.intervention-tabs button.active {
  border-color: #23a5b4;
  background: linear-gradient(110deg, #eafaf9, #e0f5f7);
  box-shadow: inset 0 0 0 2px white;
  font-weight: 600;
}
.selection-check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #0a8797;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
}
.selection-check .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}
.active > .selection-check {
  display: flex;
}
.intervention-tabs.compact {
  gap: 9px;
  margin-bottom: 5px;
}
.intervention-tabs.compact button {
  font-size: 11px;
  min-height: 42px;
  padding: 6px 10px;
  gap: 8px;
  justify-content: flex-start;
}
.intervention-tabs.compact button > .icon {
  height: 22px;
  width: 22px;
}
.intervention-tabs.compact .selection-check {
  margin-left: auto;
}
.strip-result {
  border-left: 1px solid #c6d6e4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 30px;
  margin: 3px 0;
}
.strip-result > strong {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.strip-result > strong small {
  font-size: 21px;
}
.strip-result > b {
  font-size: 12px;
  margin: 4px 0 1px;
  font-weight: 600;
}
.strip-result p {
  font-size: 11px;
}
.strip-result .text-button {
  font-size: 10px;
  padding-top: 7px;
}
.footnote {
  font-size: 10px;
  line-height: 1.55;
  color: #7284a0;
}
.panel > .footnote {
  padding: 0 17px 12px;
}
.platform-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 5px 16px;
  margin: 0 26px;
  border-top: 1px solid var(--line);
  color: #7185a2;
  font-size: 10px;
}
.platform-footer b {
  padding: 0 8px;
}
.footer-dot {
  color: #28948d;
  font-size: 7px;
  padding: 0 4px;
}
select,
input[type="search"],
input[type="text"] {
  color: var(--ink);
}
select {
  border: 1px solid #d4dfeb;
  border-radius: 5px;
  background: #fff;
  min-height: 34px;
  padding: 5px 28px 5px 11px;
  font-size: 12px;
  max-width: 100%;
}
input::placeholder {
  color: #7a8aa4;
}
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.filter-toolbar > label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.filter-toolbar select {
  max-width: 205px;
}
.filter-toolbar > .search-control {
  flex: 1;
  min-width: 155px;
  max-width: 250px;
  border: 1px solid #d4dfeb;
  border-radius: 5px;
  padding: 0 10px;
  height: 34px;
}
.search-control > .icon {
  width: 17px;
  height: 17px;
}
.search-control input {
  border: 0;
  outline: none;
  min-width: 0;
  width: 100%;
  height: 31px;
  background: transparent;
  font-size: 12px;
}
.search-control:focus-within {
  box-shadow: 0 0 0 2px #4cb6c6;
}
.check-control {
  white-space: nowrap;
  font-size: 11px !important;
  gap: 6px !important;
}
.check-control input {
  height: 15px;
  width: 15px;
  accent-color: var(--teal);
  margin: 0;
}
.filter-toolbar > .text-button {
  margin-left: auto;
}
.explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.65fr) minmax(285px, 1fr);
  gap: 13px;
  margin-bottom: 13px;
  align-items: start;
}
.explorer-grid .map-canvas {
  height: 485px;
}
.detail-panel {
  padding: 17px 17px 11px;
  min-height: 485px;
}
.detail-title .eyebrow {
  color: #6482a5;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.detail-title h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 2px 0;
}
.detail-title h3 {
  font-size: 14px;
}
.detail-title p {
  font-size: 12px;
  margin: 2px 0 4px;
}
.priority-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line);
}
.priority-stat > strong {
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -1.7px;
  color: #ce4c30;
  line-height: 1.1;
}
.priority-stat b {
  display: block;
  font-size: 12px;
}
.priority-stat span {
  display: block;
  color: #637a97;
  font-size: 11px;
  margin-top: 3px;
}
.detail-scores {
  padding: 16px 0 10px;
  border-bottom: 1px solid var(--line);
}
.score-bar-row {
  display: grid;
  grid-template-columns: 60px 1fr 36px;
  gap: 8px;
  align-items: start;
  margin-bottom: 7px;
  font-size: 11px;
}
.score-bar-row > strong {
  font-size: 13px;
  text-align: right;
}
.score-track {
  background: #eff3f7;
  box-shadow: inset 0 2px 6px #d4dde72e;
  border-radius: 3px;
  height: 13px;
  margin-top: 2px;
  overflow: hidden;
}
.score-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #149aaa, #0d8798);
  border-radius: 3px;
}
.score-range {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #7790aa;
  margin-top: 3px;
}
.detail-population {
  position: relative;
  padding: 11px 0 10px;
}
.detail-population > span {
  font-size: 11px;
}
.detail-population > strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  margin-top: 2px;
}
.detail-population > .text-button {
  position: absolute;
  right: 0;
  bottom: 14px;
  font-size: 10px;
}
.info-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e9f8fb;
  color: #28667e;
  padding: 9px 10px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.info-note .icon {
  width: 17px;
  height: 17px;
}
.detail-panel > .button {
  font-size: 11px;
  min-height: 33px;
  padding: 6px;
}
.detail-actions {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}
.detail-actions .text-button {
  font-size: 10px;
}
.detail-evidence {
  margin-top: 4px;
  font-size: 11px;
}
.detail-evidence summary {
  color: #627992;
}
.detail-evidence dl {
  font-size: 10px;
}
dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  font-size: 12px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
thead {
  background: #f6f9fc;
  color: #496184;
}
th {
  font-size: 11px;
  font-weight: 550;
  padding: 9px 15px;
  border-top: 1px solid #eaf0f5;
  border-bottom: 1px solid #e2eaf1;
  white-space: nowrap;
}
td {
  padding: 9px 15px;
  border-bottom: 1px solid #edf2f6;
  color: #43607e;
}
td:first-child {
  color: var(--ink);
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f5fbfc;
}
.selected-row {
  background: #e1f5f7 !important;
}
.selected-row td {
  color: #174563;
}
.table-scroll {
  position: relative;
  overflow: auto;
  max-width: 100%;
}
.tract-table-panel {
  overflow: hidden;
}
.heading-inline {
  display: flex;
  align-items: baseline;
  gap: 15px;
}
.heading-inline > span {
  font-size: 11px;
  color: #6b829f;
}
.table-sort {
  display: flex;
  align-items: center;
  font-size: 10px;
  gap: 5px;
  color: #67809c;
}
.table-sort select {
  border: 0;
  font-size: 11px;
  min-height: 25px;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}
.tract-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 500;
  font-size: 12px;
  text-align: left;
  color: #355676;
}
.tract-link:hover {
  color: #008296;
  text-decoration: underline;
}
.selected-row .tract-link {
  font-weight: 650;
  color: #0a4d64;
}
.priority-pill {
  display: inline-block;
  min-width: 47px;
  text-align: center;
  padding: 2px 8px;
  background: #ffdfd8;
  color: #ab412f;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
}
.compare-toggle {
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 1px solid #d9e4ed;
  color: #7591a6;
  background: transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-toggle.active {
  background: #0c8997;
  border-color: #0c8997;
  color: white;
}
.compare-toggle .icon {
  height: 14px;
  width: 14px;
}
.table-pagination {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eaf0f5;
  font-size: 11px;
  color: #6582a2;
}
.page-buttons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.page-button {
  border: 0;
  border-radius: 4px;
  background: transparent;
  width: 27px;
  height: 26px;
  font-size: 11px;
  color: #55738f;
}
.page-button.active {
  background: #dff6f8;
  color: #047284;
  font-weight: 650;
}
.page-button:hover:not(:disabled) {
  background: #eaf5f7;
}
.empty-table {
  text-align: center;
  padding: 25px !important;
}
.empty-state {
  text-align: center;
  padding: 90px 10px;
}
.empty-state > .icon {
  width: 32px;
  height: 32px;
  color: #738fa9;
}
.empty-state h2 {
  font-size: 19px;
  margin: 10px 0;
}
.empty-state p {
  margin-bottom: 20px;
  font-size: 12px;
}
.counties-disclosure,
.comparison-panel {
  margin-top: 13px;
}
details.panel > summary {
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 550;
  font-size: 12px;
  display: list-item;
  list-style-position: inside;
}
details.panel > summary span {
  font-size: 10px;
  font-weight: 400;
  color: #71849c;
  margin-left: 10px;
}
details.panel > p,
details.panel > ul,
details.panel > dl {
  margin: 0 18px 18px;
}
details.panel li {
  margin-bottom: 7px;
  color: #637a92;
  font-size: 12px;
}
.county-directory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 18px 15px;
}
.county-directory button {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 10px;
  text-align: left;
  border: 1px solid #e9f0f6;
  background: white;
}
.county-directory button:hover {
  background: #e9f8f9;
}
.county-directory small {
  color: #7a8fa5;
  font-size: 9px;
}
.comparison-panel th small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
}
.analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(340px, 1fr);
  gap: 13px;
  margin-bottom: 13px;
}
.analysis-grid .map-canvas {
  height: 445px;
}
.analysis-grid .panel-heading select {
  font-size: 11px;
  border: 0;
  background: #def3fa;
  color: #11627f;
  border-radius: 14px;
  min-height: 27px;
}
.factors-panel .panel-heading h2,
.scenarios-panel .panel-heading h2 {
  font-size: 16px;
}
.driver-chart {
  padding: 6px 17px 10px;
}
.driver-bar {
  grid-template-columns: 145px 1fr 32px;
  font-size: 11px;
  min-height: 31px;
  gap: 9px;
}
.driver-bar i {
  height: 17px;
  background: repeating-linear-gradient(
    90deg,
    #e9f0f5 0,
    #e9f0f5 1px,
    transparent 1px,
    transparent 33.333%
  );
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  margin: 4px 41px 0 154px;
  border-top: 1px solid #c5d3e0;
  padding-top: 5px;
  color: #8b9bb0;
  font-size: 9px;
}
.scenario-list {
  padding: 0 16px 5px;
}
.scenario-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid #e8eef4;
  text-align: left;
  font-size: 12px;
  color: var(--ink);
}
.scenario-row:last-child {
  border-bottom: 0;
}
.scenario-row:hover,
.scenario-row.active {
  background: #f0f9fb;
}
.scenario-row strong {
  font-size: 18px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.scenario-row small {
  display: block;
  font-size: 10px;
  color: #6e85a1;
  margin-top: 2px;
}
.interpretation-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 15px 22px;
  gap: 22px;
}
.interpretation-strip > div {
  display: flex;
  gap: 17px;
  align-items: center;
  border-right: 1px solid #cddbe6;
}
.interpretation-strip > div:last-child {
  border: 0;
}
.interpretation-strip .icon {
  width: 29px;
  height: 29px;
}
.interpretation-strip b {
  font-size: 12px;
  font-weight: 600;
}
.interpretation-strip small {
  display: block;
  color: #6b829e;
  font-size: 10px;
  margin-top: 3px;
}
.model-evaluation,
.forecast-panel {
  margin-bottom: 13px;
}
.forecast-panel .validation-rows {
  margin: 0 18px 18px;
}
.target-note {
  font-size: 12px;
  color: #627a98;
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 0 0 14px;
}
.target-note .text-button {
  font-size: 11px;
  padding: 0;
}
.interventions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(395px, 1fr);
  gap: 13px;
  margin-bottom: 14px;
}
.interventions-grid .map-canvas {
  height: 390px;
}
.interventions-grid .right-stack > .panel:first-child {
  flex: 1.1;
}
.interventions-grid .right-stack > .panel:last-child {
  flex: 0.9;
}
.intervention-ranking .panel-heading h2 {
  font-size: 17px;
}
.intervention-ranking .table-scroll {
  margin: 0 12px;
  border: 1px solid #e4ecf3;
  border-radius: 5px;
}
.intervention-ranking th,
.intervention-ranking td {
  padding: 9px 10px;
  font-size: 11px;
  white-space: nowrap;
}
.intervention-ranking .tract-link {
  font-size: 11px;
}
.intervention-ranking .badge {
  font-size: 8px;
  padding: 2px 6px;
}
.intervention-ranking > .footnote {
  padding-top: 10px;
}
.strata-bars {
  padding: 5px 17px 13px;
}
.strata-bar {
  grid-template-columns: 73px 1fr 66px;
  min-height: 35px;
  font-size: 12px;
  gap: 12px;
}
.strata-bar i {
  height: 17px;
}
.assumptions-banner {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid #f1d89b;
  background: linear-gradient(90deg, #fff7e2, #fffbf0);
  border-radius: 7px;
  padding: 13px 18px;
  margin-bottom: 12px;
}
.assumptions-banner > .icon {
  height: 31px;
  width: 31px;
  color: #d98b18;
}
.assumptions-banner h3 {
  font-size: 14px;
  margin-bottom: 3px;
}
.assumptions-banner p {
  font-size: 11px;
}
.assumptions-banner > .button {
  margin-left: auto;
  flex-shrink: 0;
}
.assumptions-detail {
  font-size: 12px;
  margin-bottom: 12px;
}
.method-tabs {
  display: flex;
  border-bottom: 1px solid #dfe8f0;
  margin-bottom: 14px;
  gap: 0;
}
.method-tabs button {
  background: #f4f8fc;
  border: 1px solid transparent;
  border-bottom: 0;
  padding: 11px 21px;
  min-width: 130px;
  font-size: 12px;
  border-radius: 6px 6px 0 0;
  position: relative;
}
.method-tabs button:hover {
  background: #e9f4f7;
}
.method-tabs button.active {
  border-color: #dfe8f0;
  background: white;
  color: #087789;
  font-weight: 620;
}
.method-tabs button.active::after {
  content: "";
  height: 3px;
  background: #078596;
  position: absolute;
  bottom: -1px;
  left: 5px;
  right: 5px;
  border-radius: 4px 4px 0 0;
}
.evidence-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr 1.6fr;
  padding: 17px 20px;
  margin-bottom: 12px;
}
.evidence-summary > div {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  border-right: 1px solid #cedbe7;
}
.evidence-summary > div:first-child {
  padding-left: 0;
}
.evidence-summary > div:last-child {
  border: 0;
  padding-right: 0;
}
.evidence-summary .icon {
  height: 29px;
  width: 29px;
  color: #698cb3;
}
.evidence-summary > div.amber-text .icon {
  color: #e39827;
}
.evidence-summary strong {
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.evidence-summary small {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: #526e8e;
}
.evidence-summary b {
  font-size: 13px;
  line-height: 1.4;
}
.methods-flow {
  margin-bottom: 12px;
}
.flow-diagram {
  display: grid;
  grid-template-columns: 1fr 56px 1.05fr 83px 1.25fr;
  align-items: center;
  padding: 0 18px 19px;
}
.flow-inputs,
.flow-indices {
  display: grid;
  gap: 19px;
}
.flow-node {
  border: 1px solid #b9e2eb;
  background: #f5fbfd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 67px;
  padding: 11px 16px;
}
.flow-node > .icon {
  width: 31px;
  height: 31px;
  color: #0993a5;
}
.flow-node b {
  font-size: 14px;
  line-height: 1.2;
}
.flow-node small {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  color: #5c7c9e;
  margin-top: 4px;
}
.flow-inputs > .flow-node:last-child,
.flow-indices > .flow-node:last-child {
  border-color: #c6dcf2;
  background: #f6faff;
}
.flow-inputs > .flow-node:last-child .icon,
.flow-indices > .flow-node:last-child .icon {
  color: #346cbb;
}
.flow-arrows {
  display: flex;
  flex-direction: column;
  gap: 59px;
  align-items: center;
  color: #169faa;
}
.flow-arrows .icon {
  width: 45px;
  height: 25px;
  stroke-width: 1.4;
}
.flow-merge svg {
  width: 100%;
  height: 150px;
  fill: none;
  stroke: #20a4cb;
  stroke-width: 2.5;
}
.flow-output > .flow-node {
  border-color: #f1cecc;
  background: #fff7f6;
}
.flow-output .icon {
  color: #e9684c;
}
.flow-output p {
  font-size: 10px;
  margin: 9px 0 0 13px;
  line-height: 1.8;
}
.methods-grid {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.source-panel,
.validation-panel {
  padding-bottom: 15px;
}
.source-panel .table-scroll {
  margin: 0 17px;
  border: 1px solid #e4ecf4;
  border-radius: 6px;
}
.sources-table th,
.sources-table td {
  font-size: 10px;
  padding: 10px 10px;
  line-height: 1.4;
}
.sources-table td + td {
  border-left: 1px solid #eef2f7;
}
.sources-table .badge {
  font-size: 9px;
  min-width: 64px;
  justify-content: center;
}
.validation-rows {
  padding: 0 18px;
}
.validation-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-top: 1px solid #e4ecf4;
  font-size: 12px;
}
.validation-rows strong {
  font-weight: 500;
}
.validation-panel > .footnote {
  padding: 4px 18px 13px;
}
.validation-checks {
  border-top: 1px solid #dde7ef;
  margin: 0 18px;
  padding-top: 8px;
}
.validation-checks > div {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 11px;
  padding: 7px 0;
}
.validation-checks .icon {
  height: 23px;
  width: 23px;
}
.validation-checks small,
.validation-checks .badge {
  margin-left: auto;
  font-size: 10px;
}
.validation-checks small {
  color: #6b82a3;
}
.limitations-panel {
  padding-bottom: 16px;
  margin-bottom: 12px;
}
.limitations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 0 20px;
}
.limitations-grid > div {
  display: flex;
  gap: 19px;
  border-right: 1px solid #d6e1eb;
  padding-right: 17px;
}
.limitations-grid > div:last-child {
  border-right: 0;
  padding-right: 0;
}
.limitations-grid .icon {
  height: 28px;
  width: 28px;
  margin-top: 5px;
}
.limitations-grid > div:first-child .icon {
  color: #e98b28;
}
.limitations-grid b {
  font-size: 12px;
}
.limitations-grid p {
  font-size: 11px;
  margin-top: 3px;
  line-height: 1.6;
}
.source-notes,
.limitation-details {
  padding: 20px 18px 0;
}
.source-notes p {
  font-size: 12px;
  margin: 8px 0 20px;
}
.source-notes h3,
.limitation-details h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.version-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  font-size: 12px;
}
.version-list span {
  background: #f4f8fb;
  border-radius: 5px;
  padding: 15px;
  color: #54718e;
}
.version-list b {
  display: block;
  color: #173858;
  margin-bottom: 4px;
  text-transform: capitalize;
  font-size: 11px;
}
.limitation-details {
  border-top: 1px solid #e7eef4;
  margin-top: 20px;
}
.limitation-details ul {
  padding-left: 20px;
  color: #5c7390;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 25px;
}
.limitation-details li {
  margin: 7px 0;
}
.subsection-title {
  font-size: 16px;
  padding: 20px 18px 12px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #183b4e;
  color: white;
  padding: 12px 20px;
  border: 1px solid #446575;
  box-shadow: 0 4px 20px #10263f30;
  border-radius: 8px;
  z-index: 150;
  max-width: 90vw;
  font-size: 12px;
}
/* Results Assistant shares the platform's typography and interaction colors. */
.care-guide-launcher {
  right: 23px;
  bottom: 18px;
  border-radius: 8px;
  min-height: 46px;
  padding: 7px 12px 7px 8px;
  gap: 9px;
  box-shadow: 0 4px 15px #183a4f24;
  background: #0a6175;
}
.care-guide-launcher strong {
  font-size: 11px;
}
.care-guide-launcher small {
  font-size: 9px;
}
.care-guide-launcher-icon {
  width: 29px;
  height: 29px;
  border-radius: 6px;
}
.care-guide-launcher-icon svg {
  width: 20px;
  height: 20px;
}
body:has(#overviewView.active) .care-guide-launcher {
  display: none;
}
.care-guide-panel {
  background: #f7fafc;
  border-color: #cddde7;
  width: min(460px, calc(100vw - 36px));
  z-index: 100;
}
.care-guide-header {
  background: #11384b;
  padding: 18px;
}
.care-guide-title-row h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
.care-guide-header p {
  color: #c2dce4;
  font-size: 11px;
}
.care-guide-status {
  font-size: 8px;
}
.care-guide-avatar,
.care-guide-message-avatar {
  background: #daf0f3;
  color: #0c6b7a;
  border-radius: 7px;
  font-weight: 650;
}
.care-guide-header .care-guide-avatar {
  background: #2c6272;
  color: #d9fbfb;
}
.care-guide-scrim {
  z-index: 90;
}
.care-guide-bubble {
  border: 1px solid #dce7ed;
  border-radius: 8px;
  box-shadow: none;
}
.care-guide-bubble h3 {
  font-size: 13px;
}
.care-guide-bubble p,
.care-guide-bubble li {
  font-size: 12px;
}
.care-guide-close {
  background: #214f62;
  color: white;
}
.care-guide-context {
  background: #e9f4f7;
  color: #427289;
}
.care-guide-footer {
  background: #f1f6f9;
  color: #658296;
}
.care-guide-panel .care-guide-form textarea {
  font-size: 14px;
}
.care-guide-panel .care-guide-form textarea:focus {
  outline: none;
}
.care-guide-launcher:focus-visible,
.care-guide-panel button:focus-visible,
.care-guide-panel textarea:focus-visible {
  outline-color: #39c1ca;
}

/* Keep maps aligned to their companion panels at every layout size. */
.analysis-grid .map-canvas {
  flex: 1;
  min-height: 445px;
}
.interventions-grid .map-canvas {
  flex: 1;
  min-height: 390px;
}
.explorer-grid {
  align-items: stretch;
}
.explorer-grid .map-canvas {
  flex: 1;
  min-height: 485px;
}
.map-scale {
  max-width: none;
  overflow: visible;
}
.map-selection {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translate(-7px, -7px);
}
.map-selection > i {
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid #46eee3;
  border-radius: 50%;
  background: #087f8e55;
  box-shadow:
    0 0 0 4px #36d6d62b,
    0 0 12px #3de3df66;
}
.map-selection > span {
  position: absolute;
  left: 27px;
  bottom: 5px;
  white-space: nowrap;
  border: 1px solid #36b8c2;
  background: #123344e8;
  color: #e2fbff;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 10px;
}
.map-selection.label-left > span {
  left: auto;
  right: 27px;
}

@keyframes reveal {
  from {
    opacity: 0.5;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1700px) {
  main {
    padding: 28px 32px 16px;
  }
  .topbar {
    padding: 0 32px;
  }
  .map-canvas {
    height: 510px;
  }
  .analysis-grid .map-canvas {
    height: 490px;
  }
  .interventions-grid .map-canvas {
    height: 440px;
  }
  .explorer-grid .map-canvas {
    height: 510px;
  }
  .kpi {
    padding: 18px 22px;
  }
  .kpi-value {
    font-size: 35px;
  }
  .panel-heading h2 {
    font-size: 20px;
  }
  .sidebar {
    width: 240px;
  }
}
@media (max-width: 1250px) {
  .side-nav {
    width: 200px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 200px;
  }
  .brand-block strong {
    font-size: 20px;
  }
  .brand-logo {
    width: 34px;
  }
  .brand-block {
    gap: 8px;
  }
  .brand-block small {
    font-size: 9px;
  }
  .topbar {
    gap: 16px;
    padding: 0 20px;
  }
  .global-search {
    width: 240px;
  }
  main {
    padding: 20px 20px 12px;
  }
  .platform-footer {
    margin: 0 20px;
  }
  .kpi {
    padding: 14px 12px;
    gap: 10px;
  }
  .kpi-value {
    font-size: 29px;
  }
  .kpi-icon .icon {
    width: 24px;
    height: 24px;
  }
  .kpi h3 {
    font-size: 11px;
  }
  .kpi p {
    font-size: 10px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .segmented button {
    padding: 5px 13px;
    font-size: 11px;
  }
  .map-panel .panel-heading {
    gap: 8px;
  }
  .panel-heading {
    padding: 13px 14px 10px;
  }
  .panel-heading h2 {
    font-size: 17px;
  }
  .intervention-strip {
    grid-template-columns: minmax(0, 1fr) 195px;
    gap: 18px;
  }
  .strip-result {
    padding-left: 18px;
  }
  .intervention-tabs.compact button {
    gap: 6px;
    font-size: 10px;
    padding: 6px;
  }
  .intervention-tabs.compact .icon {
    width: 18px;
    height: 18px;
  }
  .intervention-tabs.compact .selection-check {
    display: none;
  }
  .analysis-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 1fr);
  }
  .driver-bar {
    grid-template-columns: 123px 1fr 30px;
    font-size: 10px;
  }
  .chart-axis {
    margin-left: 132px;
  }
  .interventions-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 1fr);
  }
  .intervention-ranking th,
  .intervention-ranking td {
    padding: 9px 7px;
    font-size: 10px;
  }
  .intervention-ranking .tract-link {
    font-size: 10px;
  }
  .intervention-ranking .badge {
    font-size: 7px;
  }
  .flow-diagram {
    grid-template-columns: 1fr 30px 1fr 45px 1.2fr;
    padding: 0 14px 18px;
  }
  .flow-node {
    gap: 10px;
    padding: 10px;
  }
  .flow-node b {
    font-size: 12px;
  }
  .flow-node small {
    font-size: 10px;
  }
  .flow-node > .icon {
    width: 25px;
    height: 25px;
  }
  .flow-arrows .icon {
    width: 25px;
  }
  .evidence-summary {
    padding: 15px;
  }
  .evidence-summary > div {
    gap: 12px;
    padding: 0 13px;
  }
  .evidence-summary b {
    font-size: 11px;
  }
  .sources-table td,
  .sources-table th {
    font-size: 9px;
    padding: 9px 7px;
  }
  .methods-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .validation-checks > div {
    gap: 8px;
    font-size: 10px;
  }
  .validation-checks small {
    font-size: 9px;
  }
  .filter-toolbar {
    gap: 11px;
  }
  .filter-toolbar select {
    max-width: 168px;
  }
  .check-control {
    font-size: 10px !important;
  }
  .overview-grid .map-canvas {
    height: 460px;
  }
  .detail-panel {
    padding: 15px 13px;
  }
  .detail-evidence {
    font-size: 10px;
  }
  .explorer-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .intervention-tabs button {
    font-size: 12px;
    gap: 10px;
  }
  .intervention-tabs button > .icon {
    width: 23px;
    height: 23px;
  }
}
@media (max-width: 1050px) {
  .side-nav {
    width: 180px;
  }
  .workspace {
    margin-left: 180px;
  }
  .brand-block strong {
    font-size: 18px;
  }
  .brand-logo {
    width: 30px;
  }
  .brand-block small {
    font-size: 8px;
  }
  .nav-button {
    gap: 12px;
    padding-left: 17px;
    font-size: 12px;
  }
  .global-search {
    width: 210px;
    min-width: 170px;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 9px;
  }
  .analyst-switch {
    font-size: 11px;
  }
  .topbar {
    gap: 14px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-grid > .right-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .overview-grid .map-canvas {
    height: 435px;
  }
  .county-bars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .county-bar {
    min-height: 27px;
    padding: 4px 0;
  }
  .assistant-card {
    justify-content: center;
  }
  .intervention-strip {
    grid-template-columns: 1fr;
  }
  .strip-result {
    border: 0;
    border-top: 1px solid #d6e3eb;
    padding: 13px 0 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 5px 18px;
    align-items: center;
  }
  .strip-result > strong {
    grid-row: span 2;
  }
  .strip-result p {
    grid-column: 2;
  }
  .strip-result .text-button {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .interventions-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }
  .analysis-grid > .right-stack,
  .interventions-grid > .right-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .interventions-grid .map-canvas,
  .analysis-grid .map-canvas {
    height: 430px;
  }
  .methods-grid {
    grid-template-columns: 1fr;
  }
  .flow-diagram {
    grid-template-columns: 1fr 30px 1fr;
  }
  .flow-merge {
    display: none;
  }
  .flow-output {
    grid-column: 1/-1;
    margin-top: 15px;
  }
  .flow-output > .flow-node {
    justify-content: center;
  }
  .flow-output p {
    text-align: center;
  }
  .evidence-summary {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .evidence-summary > div:nth-child(2) {
    border-right: 0;
  }
  .evidence-summary > div:nth-child(3) {
    padding-left: 0;
  }
  .evidence-summary > div:nth-child(4) {
    padding-left: 13px;
  }
  .interpretation-strip {
    gap: 14px;
    padding: 14px;
  }
  .interpretation-strip > div {
    gap: 9px;
  }
  .interpretation-strip small {
    font-size: 9px;
  }
  .explorer-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .score-bar-row {
    grid-template-columns: 49px 1fr 32px;
  }
  .priority-stat > strong {
    font-size: 37px;
  }
  .priority-stat b {
    font-size: 11px;
  }
  .priority-stat {
    gap: 10px;
  }
  .method-tabs button {
    min-width: 0;
    flex: 1;
    padding: 11px;
  }
  .limitations-grid {
    gap: 15px;
  }
  .limitations-grid > div {
    gap: 10px;
    padding-right: 10px;
  }
  .limitations-grid p {
    font-size: 10px;
  }
  .limitations-grid .icon {
    width: 23px;
  }
  .sources-table td,
  .sources-table th {
    font-size: 11px;
  }
  .driver-bar {
    grid-template-columns: 119px 1fr 27px;
  }
  .chart-axis {
    margin-left: 128px;
  }
  .intervention-ranking .table-scroll {
    margin: 0 8px;
  }
  .intervention-ranking .badge {
    display: none;
  }
  .strata-bar {
    grid-template-columns: 57px 1fr 50px;
    font-size: 11px;
  }
}
@media (max-width: 800px) {
  .side-nav {
    visibility: hidden;
  }
  .nav-open .side-nav {
    visibility: visible;
  }
  .side-nav {
    width: 205px;
    transform: translateX(-100%);
    transition: transform 0.18s;
  }
  .nav-open .side-nav {
    transform: translateX(0);
    box-shadow: 10px 0 35px #152b4d33;
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-menu {
    display: grid !important;
    flex-shrink: 0;
    background: transparent;
    border: 0;
    width: 25px;
    min-width: 25px;
  }
  .nav-open .mobile-menu {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 14px;
    gap: 12px;
    height: 54px;
  }
  .global-search {
    width: 240px;
    max-width: 35vw;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .analyst-switch {
    margin-left: auto;
  }
  .brand-block strong {
    font-size: 21px;
  }
  .brand-logo {
    width: 38px;
  }
  .brand-block small {
    font-size: 10px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .kpi-grid {
    gap: 9px;
  }
  .kpi {
    gap: 9px;
  }
  .kpi-icon .icon {
    width: 22px;
    height: 22px;
  }
  .kpi-value {
    font-size: 28px;
  }
  .explorer-grid {
    grid-template-columns: minmax(0, 1fr) 265px;
  }
  .filter-toolbar {
    gap: 10px;
  }
  main {
    padding: 18px 16px 12px;
  }
  .platform-footer {
    margin: 0 16px;
  }
  .care-guide-launcher {
    bottom: 12px;
    right: 12px;
  }
  .method-tabs {
    overflow: auto;
  }
  .page-heading-end {
    gap: 9px;
  }
  .page-heading-end .button {
    font-size: 11px;
  }
  .panel-heading h2 {
    font-size: 17px;
  }
}
@media (max-width: 600px) {
  .analysis-grid .map-canvas,
  .interventions-grid .map-canvas {
    min-height: 390px;
  }
  .explorer-grid .map-canvas {
    min-height: 410px;
  }
  .topbar {
    gap: 8px;
    flex-wrap: wrap;
    height: auto;
    min-height: 55px;
    padding: 9px 12px;
  }
  .breadcrumb {
    flex: 1;
  }
  .global-search {
    order: 4;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 31px;
  }
  .analyst-switch {
    font-size: 10px;
    gap: 5px;
  }
  .switch-track {
    transform: scale(0.9);
  }
  main {
    padding: 18px 12px 10px;
  }
  .page-heading {
    gap: 8px;
    margin-bottom: 14px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 12px;
  }
  .page-heading-end .snapshot {
    display: none;
  }
  .page-heading-end .button {
    padding: 7px 9px;
    font-size: 10px;
  }
  .page-heading-end .button .icon {
    display: none;
  }
  .eyebrow {
    font-size: 9px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .kpi {
    min-height: 89px;
    padding: 12px;
    gap: 12px;
  }
  .kpi-value {
    font-size: 30px;
  }
  .kpi h3 {
    font-size: 12px;
  }
  .kpi p {
    font-size: 10px;
  }
  .overview-grid > .right-stack {
    grid-template-columns: 1fr;
  }
  .map-panel .panel-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  .map-panel .segmented {
    width: 100%;
  }
  .map-panel .segmented button {
    flex: 1;
  }
  .map-canvas,
  .overview-grid .map-canvas,
  .analysis-grid .map-canvas,
  .interventions-grid .map-canvas {
    height: 390px;
  }
  .map-legend {
    width: 153px;
    left: 10px;
    bottom: 33px;
    padding: 8px;
  }
  .map-legend strong {
    font-size: 10px;
  }
  .map-caption {
    font-size: 8px;
    max-width: 47%;
    bottom: 18px;
  }
  .map-attribution {
    font-size: 7px;
  }
  .map-tools {
    right: 12px;
    top: 55px;
  }
  .map-filter {
    right: 12px;
    top: 10px;
  }
  .map-filter select {
    font-size: 10px;
    min-height: 29px;
  }
  .map-scale {
    bottom: 49px;
    right: 13px;
  }
  .county-panel > .panel-heading {
    padding: 15px;
  }
  .county-bar {
    min-height: 33px;
    font-size: 12px;
  }
  .assistant-card {
    padding: 18px;
  }
  .assistant-card h2 {
    font-size: 19px;
  }
  .assistant-card-title p {
    font-size: 12px;
  }
  .intervention-strip {
    padding: 14px;
  }
  .intervention-tabs,
  .intervention-tabs.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .intervention-tabs.compact button {
    font-size: 12px;
    min-height: 44px;
    padding: 8px 10px;
    gap: 10px;
  }
  .intervention-tabs.compact .icon {
    width: 23px;
    height: 23px;
  }
  .strip-result {
    grid-template-columns: auto 1fr;
    gap: 3px 17px;
  }
  .strip-result .text-button {
    grid-column: 2;
    grid-row: 3;
  }
  .strip-result > strong {
    font-size: 31px;
    grid-row: span 3;
  }
  .strip-result > b {
    font-size: 11px;
  }
  .strip-result p {
    font-size: 10px;
  }
  .platform-footer {
    font-size: 9px;
    padding: 12px 0 70px;
    margin: 0 12px;
    gap: 8px;
    flex-direction: column;
  }
  .filter-toolbar {
    padding: 10px;
    gap: 9px;
  }
  .filter-toolbar > label {
    font-size: 11px;
  }
  .filter-toolbar > label:first-child,
  .filter-toolbar > label:nth-child(2) {
    flex: 1;
  }
  .filter-toolbar select {
    width: 100%;
    max-width: none;
    min-width: 0;
    font-size: 11px;
  }
  .filter-toolbar > .search-control {
    flex: 1 0 100%;
    max-width: none;
  }
  .filter-toolbar .check-control {
    font-size: 11px !important;
  }
  .filter-toolbar > .text-button {
    font-size: 11px;
  }
  .explorer-grid {
    grid-template-columns: 1fr;
  }
  .explorer-grid .map-canvas {
    height: 410px;
  }
  .detail-panel {
    min-height: 0;
    padding: 17px;
  }
  .detail-title h2 {
    font-size: 26px;
  }
  .detail-title {
    position: relative;
  }
  .priority-stat {
    margin-top: 4px;
  }
  .priority-stat > strong {
    font-size: 43px;
  }
  .priority-stat b {
    font-size: 13px;
  }
  .detail-scores {
    padding-top: 17px;
  }
  .score-bar-row {
    grid-template-columns: 83px 1fr 45px;
    font-size: 12px;
  }
  .score-bar-row > strong {
    font-size: 14px;
  }
  .detail-panel > .button {
    min-height: 38px;
    font-size: 12px;
  }
  .detail-population > span {
    font-size: 12px;
  }
  .detail-actions .text-button {
    font-size: 11px;
  }
  .heading-inline {
    display: block;
  }
  .heading-inline > span {
    display: block;
    margin-top: 3px;
  }
  .tract-table-panel .panel-heading h2 {
    font-size: 16px;
  }
  .table-sort {
    font-size: 9px;
    gap: 0;
  }
  .table-sort select {
    font-size: 10px;
    max-width: 117px;
  }
  th,
  td {
    padding: 9px 11px;
    font-size: 11px;
  }
  .tract-link {
    font-size: 11px;
    white-space: nowrap;
  }
  .tract-table-panel table {
    min-width: 555px;
  }
  .table-pagination {
    padding: 10px;
    font-size: 10px;
  }
  .page-buttons {
    gap: 2px;
  }
  .page-button {
    width: 25px;
    height: 25px;
  }
  .county-directory {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10px 12px;
  }
  .segmented.page-tabs {
    display: flex;
    width: 100%;
  }
  .segmented.page-tabs button {
    padding: 6px 8px;
    flex: 1;
    font-size: 10px;
  }
  .analysis-grid > .right-stack,
  .interventions-grid > .right-stack {
    grid-template-columns: 1fr;
  }
  .driver-bar {
    grid-template-columns: 145px 1fr 33px;
    font-size: 11px;
    min-height: 33px;
  }
  .chart-axis {
    margin-left: 154px;
  }
  .scenario-row {
    font-size: 12px;
  }
  .interpretation-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .interpretation-strip > div {
    border: 0;
    gap: 18px;
  }
  .interpretation-strip small {
    font-size: 11px;
  }
  .analysis-grid .panel-heading .badge {
    font-size: 9px;
  }
  .target-note {
    font-size: 10px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .target-note .text-button {
    font-size: 10px;
  }
  .title-badge {
    font-size: 9px;
    padding: 4px 8px;
  }
  .intervention-ranking th,
  .intervention-ranking td {
    padding: 10px;
    font-size: 11px;
  }
  .intervention-ranking .tract-link {
    font-size: 11px;
  }
  .intervention-ranking .badge {
    display: inline-flex;
  }
  .strata-bar {
    grid-template-columns: 65px 1fr 59px;
    font-size: 12px;
  }
  .assumptions-banner {
    padding: 13px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .assumptions-banner > div {
    flex: 1;
  }
  .assumptions-banner p {
    font-size: 11px;
  }
  .assumptions-banner > .button {
    margin-left: 42px;
    font-size: 11px;
  }
  .method-tabs button {
    font-size: 10px;
    white-space: nowrap;
    padding: 11px 8px;
  }
  .evidence-summary {
    padding: 16px 12px;
    gap: 18px 10px;
    grid-template-columns: 1fr 1fr;
  }
  .evidence-summary > div {
    gap: 12px;
    padding: 0 10px;
  }
  .evidence-summary > div:nth-child(4) {
    padding: 0 10px;
  }
  .evidence-summary .icon {
    width: 24px;
    height: 24px;
  }
  .evidence-summary strong {
    font-size: 25px;
  }
  .evidence-summary b {
    font-size: 11px;
  }
  .evidence-summary small {
    font-size: 10px;
  }
  .flow-diagram {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .flow-inputs,
  .flow-indices {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .flow-node {
    padding: 12px;
    flex-direction: column;
    gap: 8px;
    min-height: 111px;
    align-items: flex-start;
  }
  .flow-node b {
    font-size: 12px;
  }
  .flow-node small {
    font-size: 10px;
  }
  .flow-arrows {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    width: 100%;
    height: 20px;
  }
  .flow-arrows .icon {
    transform: rotate(90deg);
    width: 23px;
  }
  .flow-output {
    margin-top: 0;
    width: 100%;
  }
  .flow-output > .flow-node {
    min-height: 70px;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .flow-output p {
    font-size: 11px;
    margin: 8px 0;
  }
  .limitations-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .limitations-grid > div {
    border: 0;
    gap: 15px;
  }
  .limitations-grid p {
    font-size: 12px;
  }
  .limitations-grid b {
    font-size: 13px;
  }
  .limitations-grid .icon {
    width: 27px;
    height: 27px;
  }
  .sources-table {
    min-width: 490px;
  }
  .version-list {
    grid-template-columns: 1fr 1fr;
  }
  .validation-rows > div {
    font-size: 11px;
  }
  .validation-checks > div {
    font-size: 11px;
  }
  .validation-checks small {
    font-size: 9px;
  }
  .care-guide-panel {
    left: 10px;
    right: 10px;
    top: 12px;
    bottom: 12px;
    width: calc(100vw - 20px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .care-guide-launcher {
    min-height: 43px;
  }
  .care-guide-header {
    padding: 16px;
  }
  .care-guide-title-row h2 {
    font-size: 18px;
  }
  .care-guide-messages {
    padding: 14px;
  }
  .care-guide-footer {
    font-size: 10px;
  }
  .care-guide-panel .care-guide-form textarea {
    font-size: 16px;
  }
  .toast {
    font-size: 11px;
    bottom: 75px;
    width: max-content;
    max-width: 90vw;
  }
  .nav-open .mobile-menu {
    margin-left: 205px;
  }
  .nav-open .breadcrumb {
    display: none;
  }
  .nav-open .global-search {
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
