@font-face {
  font-family: "Noto Sans SC";
  src: url("shared/NotoSansSC-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f3ec;
  --paper-2: #efebe2;
  --surface: #fcfbf8;
  --surface-strong: #ffffff;
  --ink: #17192f;
  --ink-2: #25283d;
  --body: #4f5361;
  --body-2: #6f7380;
  --muted: #9699a4;
  --line: #d8d9e2;
  --line-quiet: #e6e3dc;
  --purple: #7077ce;
  --purple-pale: #ececfa;
  --lake: #6aa8bb;
  --lake-pale: #e8f1f3;
  --gold: #b58b66;
  --gold-pale: #f1e8df;
  --green: #4f8b7b;
  --green-pale: #e5efea;
  --rose: #b66f93;
  --rose-pale: #f3e8ee;
  --red: #a75656;
  --red-pale: #f3e5e3;
  --shadow: 0 18px 44px rgba(23, 25, 47, .12);
  --sidebar-width: 248px;
  --topbar-height: 72px;
  --content-pad: 36px;
  --radius: 6px;
  --font-ui: "Avenir Next", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-data: "Avenir Next", "DIN Alternate", "PingFang SC", "Noto Sans SC", sans-serif;

  /* compatibility aliases for preserved modules */
  --paper-deep: var(--paper-2);
  --ink-soft: var(--body);
  --line-strong: #b9bbc5;
  --teal-dark: var(--ink);
  --teal: var(--green);
  --teal-pale: var(--green-pale);
  --clay: var(--gold);
  --clay-pale: var(--gold-pale);
  --amber: var(--purple);
  --amber-pale: var(--purple-pale);
  --white: var(--surface-strong);
  --text: var(--body);
  --line-2: var(--line-quiet);

  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ui);
  font-synthesis: none;
  line-break: strict;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; min-width: 320px; }
html { background: var(--paper); }
body { margin: 0; overflow: hidden; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.58; }
h1, h2, h3, p, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(112, 119, 206, .42);
  outline-offset: 2px;
}
.ui-icon { display: inline-flex; width: 18px; height: 18px; }
.ui-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.overflow-zone { max-width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #b8bbc7 transparent; }
.empty-state { padding: 34px; color: var(--body-2); text-align: center; }

/* Application shell */
.app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); width: 100%; height: 100vh; }
.sidebar {
  position: relative;
  z-index: 30;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 0 16px 16px;
  overflow: hidden;
  background: var(--ink);
  color: #f8f7f3;
  border-right: 1px solid #30334a;
}
.brand-lockup {
  display: flex;
  min-height: 170px;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 8px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand-rule { width: 4px; height: 94px; flex: 0 0 auto; background: var(--purple); }
.brand-lockup p { color: #9195aa; font: 700 9px/1.2 var(--font-data); letter-spacing: .11em; }
.brand-lockup strong { display: block; margin-top: 8px; font-size: 17px; line-height: 1.28; letter-spacing: .015em; }
.brand-lockup strong span { display: block; }
.brand-lockup small { display: block; margin-top: 7px; color: #b8bbc9; font-size: 10px; white-space: nowrap; }
.module-nav { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 2px; padding: 16px 0 12px; overflow-y: auto; scrollbar-width: thin; }
.nav-label { margin: 0 10px 7px; color: #73778d; font: 700 10px/1.2 var(--font-data); letter-spacing: .1em; }
.nav-item {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  gap: 12px;
  padding: 8px 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #b9bccb;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nav-item > span { width: 18px; color: #6f738a; font: 700 10px/1 var(--font-data); font-variant-numeric: tabular-nums; }
.nav-item:hover { background: #22253a; color: #fff; }
.nav-item.active { background: #292c43; color: #fff; font-weight: 700; }
.nav-item.active::before { position: absolute; top: 8px; bottom: 8px; left: -16px; width: 4px; background: var(--purple); content: ""; }
.nav-item.active > span { color: #aeb3ff; }
.nav-item--county { margin-top: 6px; border-top: 1px solid rgba(255,255,255,.08); border-radius: 0 0 5px 5px; }
.environment-card { padding: 13px 12px 11px; border: 1px solid #34374d; border-radius: 5px; background: #202338; }
.environment-card > div:first-child { display: flex; align-items: center; gap: 8px; }
.environment-card strong { font-size: 12px; }
.environment-card p { margin: 5px 0 11px 16px; color: #8f93a7; font-size: 11px; }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); }
.environment-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.environment-card dl div { padding-top: 8px; border-top: 1px solid #34374d; }
.environment-card dt { color: #7f8398; font-size: 9px; }
.environment-card dd { margin: 2px 0 0; font: 700 11px/1.3 var(--font-data); }

.workspace { position: relative; min-width: 0; height: 100vh; overflow-x: hidden; overflow-y: auto; scroll-behavior: smooth; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  height: var(--topbar-height);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--content-pad);
  background: rgba(246,243,236,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar-leading { display: flex; min-width: 0; flex: 1; align-items: center; gap: 26px; }
.breadcrumb { display: flex; min-width: 150px; align-items: center; gap: 10px; white-space: nowrap; }
.breadcrumb span { color: var(--body-2); font-size: 11px; }
.breadcrumb i { width: 1px; height: 16px; background: var(--line); transform: rotate(15deg); }
.breadcrumb strong { font-size: 13px; }
.responsibility-trace { display: flex; min-width: 0; align-items: center; gap: 12px; }
.responsibility-trace > span { color: var(--muted); font: 700 9px/1 var(--font-data); letter-spacing: .08em; white-space: nowrap; }
.responsibility-trace ol { display: flex; margin: 0; padding: 0; list-style: none; }
.responsibility-trace li { position: relative; display: flex; align-items: center; gap: 4px; padding: 0 17px 0 10px; white-space: nowrap; }
.responsibility-trace li::after { position: absolute; right: 2px; color: var(--line-strong); content: "→"; }
.responsibility-trace li:last-child::after { display: none; }
.responsibility-trace b { color: var(--purple); font-size: 10px; }
.responsibility-trace small { color: var(--body-2); font-size: 9px; }
.responsibility-trace p { padding-left: 10px; border-left: 1px solid var(--line); color: var(--body-2); font-size: 9px; white-space: nowrap; }
.top-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.data-status { display: grid; grid-template-columns: 7px auto; gap: 1px 7px; align-items: center; min-height: 36px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); text-align: left; cursor: pointer; }
.data-status .status-dot { grid-row: 1 / 3; }
.data-status b { font-size: 10px; }
.data-status small { color: var(--muted); font-size: 9px; }
.role-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-2); }
.role-switch button { min-height: 28px; padding: 5px 8px; border: 0; border-radius: 3px; background: transparent; color: var(--body-2); font-size: 10px; cursor: pointer; }
.role-switch button.active { background: var(--surface-strong); color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(23,25,47,.08); }
.search-button { display: flex; min-height: 36px; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--body); cursor: pointer; }
kbd { padding: 1px 5px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-2); color: var(--ink); font: 700 10px/1.4 var(--font-data); }
.search-button span { font-size: 10px; }
.content { min-height: calc(100vh - var(--topbar-height)); padding: 28px var(--content-pad) 38px; }
.content:focus { outline: none; }
.view { width: 100%; max-width: 1540px; margin: 0 auto; }

/* Shared page language */
.view-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.view-heading > div:first-child { max-width: 930px; }
.eyebrow { margin: 0 0 8px; color: var(--purple); font: 750 10px/1.2 var(--font-data); letter-spacing: .12em; text-transform: uppercase; }
.view-heading h1 { max-width: 920px; font-size: clamp(28px,2.55vw,42px); font-weight: 650; line-height: 1.12; letter-spacing: -.025em; }
.view-description { max-width: 850px; margin-top: 10px; color: var(--body); font-size: 14px; line-height: 1.65; }
.heading-actions { flex: 0 0 auto; padding-bottom: 2px; }
.panel, .section-block, .workbench-shell, .audit-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel { padding: 22px; }
.panel-head, .section-title-row, .construction-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.panel h2, .section-block h2, .audit-panel h2 { font-size: 19px; line-height: 1.3; }
.section-block, .audit-panel { margin-top: 18px; padding: 22px; }
.section-title-row { margin-bottom: 18px; }
.section-title-row > p, .construction-head > p { max-width: 480px; color: var(--body-2); font-size: 12px; text-align: right; }
.secondary-button, .primary-button, .text-button, .icon-button { border-radius: 5px; cursor: pointer; }
.secondary-button { min-height: 36px; padding: 7px 13px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 11px; font-weight: 650; }
.secondary-button:hover { border-color: var(--purple); color: var(--purple); }
.primary-button { width: 100%; min-height: 40px; padding: 8px 13px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.primary-button:hover:not(:disabled) { border-color: var(--purple); background: var(--purple); }
.primary-button:disabled { border-color: var(--line); background: var(--paper-2); color: var(--muted); cursor: not-allowed; }
.text-button { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--purple); font-size: 11px; font-weight: 700; }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); background: var(--surface); }
.state-tag { display: inline-flex; min-height: 25px; align-items: center; justify-content: center; padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-2); color: var(--body); font-size: 10px; font-weight: 700; white-space: nowrap; }
.state-tag.good { border-color: #a7c4ba; background: var(--green-pale); color: #356f60; }
.state-tag.pending { border-color: #d2b89f; background: var(--gold-pale); color: #7e5e43; }
.large-mono { color: var(--purple); font: 650 22px/1 var(--font-data); font-variant-numeric: tabular-nums; }
.two-column-grid, .dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.two-column-grid > *, .dashboard-grid > * { min-width: 0; }
.table-wrap { border: 1px solid var(--line); border-radius: 5px; }
.data-table { width: 100%; min-width: 860px; border-collapse: collapse; background: var(--surface-strong); }
.data-table th { padding: 11px 13px; background: var(--paper-2); color: var(--body-2); font: 700 10px/1.3 var(--font-data); text-align: left; white-space: nowrap; }
.data-table td { padding: 13px; border-top: 1px solid var(--line-quiet); color: var(--body); font-size: 13px; vertical-align: middle; }
.data-table td b { color: var(--ink); font: 700 12px/1.4 var(--font-data); }
.data-table small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.data-table tbody tr:hover, .data-table tr.is-selected { background: var(--purple-pale); }

/* Executive overview */
.decision-summary { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(220px,.55fr) minmax(380px,.9fr); min-height: 126px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.decision-thesis, .decision-context { padding: 18px 20px; border-right: 1px solid var(--line); }
.decision-thesis { color: #fff; background: var(--ink); }
.decision-thesis > span, .decision-context > span { display: block; color: #979bad; font: 700 9px/1.2 var(--font-data); letter-spacing: .1em; }
.decision-thesis h2 { margin-top: 13px; font-size: clamp(20px,1.65vw,27px); font-weight: 600; line-height: 1.42; }
.decision-context b { display: block; margin-top: 13px; font-size: 14px; line-height: 1.55; }
.decision-context small { display: block; margin-top: 8px; color: var(--body-2); font-size: 11px; }
.decision-trace { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.decision-trace li { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 15px 12px; border-right: 1px solid var(--line-quiet); }
.decision-trace li:last-child { border-right: 0; }
.decision-trace li::after { position: absolute; top: 50%; right: -6px; z-index: 1; color: var(--muted); content: "→"; transform: translateY(-50%); }
.decision-trace li:last-child::after { display: none; }
.decision-trace small { color: var(--muted); font: 700 9px/1.2 var(--font-data); }
.decision-trace b { margin-top: 9px; color: var(--purple); font-size: 15px; }
.decision-trace span { margin-top: 3px; color: var(--body-2); font-size: 11px; }
.construction-section { margin-top: 18px; }
.construction-head { margin-bottom: 12px; }
.construction-head h2 { font-size: 20px; }
.construction-matrix { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.construction-unit { display: flex; min-width: 0; min-height: 334px; flex-direction: column; border-right: 1px solid var(--line); }
.construction-unit:last-child { border-right: 0; }
.construction-unit > header { min-height: 62px; padding: 14px 15px; border-top: 4px solid var(--purple); border-bottom: 1px solid var(--line); }
.construction-unit:nth-child(2) > header { border-top-color: var(--lake); }
.construction-unit:nth-child(3) > header { border-top-color: var(--gold); }
.construction-unit:nth-child(4) > header { border-top-color: var(--rose); }
.construction-unit:nth-child(5) > header { border-top-color: var(--green); }
.construction-unit > header span { color: var(--muted); font: 700 9px/1 var(--font-data); }
.construction-unit h3 { margin-top: 5px; font-size: 15px; line-height: 1.35; }
.construction-build { min-height: 79px; padding: 13px 15px; color: var(--body); font-size: 13px; line-height: 1.62; }
.construction-unit dl { border-top: 1px solid var(--line-quiet); }
.construction-unit dl div { min-height: 73px; padding: 10px 15px; border-bottom: 1px solid var(--line-quiet); }
.construction-unit dt { color: var(--purple); font: 700 9px/1.2 var(--font-data); letter-spacing: .06em; }
.construction-unit dd { margin-top: 6px; color: var(--body); font-size: 12px; line-height: 1.55; }
.construction-unit footer { display: flex; min-height: 45px; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 9px 12px 9px 15px; background: var(--paper-2); }
.construction-unit footer > span { color: var(--body-2); font-size: 10px; }
.construction-unit footer button { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--purple); cursor: pointer; }
.construction-unit footer .ui-icon { width: 14px; height: 14px; }
.overview-ledger { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) minmax(220px,.9fr); margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.overview-ledger article, .overview-ledger > button { display: flex; min-width: 0; min-height: 70px; align-items: center; gap: 11px; padding: 13px 15px; border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; }
.overview-ledger > button { border-right: 0; background: var(--ink); color: #fff; cursor: pointer; }
.overview-ledger .ui-icon { flex: 0 0 auto; color: var(--purple); }
.overview-ledger b { display: block; font-size: 12px; }
.overview-ledger span { display: block; margin-top: 2px; color: var(--body-2); font-size: 10px; }
.overview-ledger > button b { color: #fff; font: 650 18px/1.2 var(--font-data); }
.overview-ledger > button span { color: #aeb1c2; }
.overview-ledger > button .ui-icon { margin-left: auto; color: #fff; }

/* Data governance and common flows */
.governance-flow { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.governance-flow-canvas { position: relative; min-width: 1040px; height: 210px; }
.governance-flow-canvas > svg, .responsibility-flow-canvas > svg, .pathway-flow-canvas > svg, .county-network-map > svg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; }
.flow-halo { fill: none; stroke: var(--surface); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.flow-line { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.flow-line--ai { stroke: var(--purple); }
.flow-line--review { stroke: var(--gold); }
.flow-line--service { stroke: var(--green); }
.governance-flow-grid { position: relative; z-index: 1; display: grid; height: 100%; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.governance-flow-grid li { display: flex; width: 68%; min-height: 116px; align-self: center; justify-self: center; flex-direction: column; justify-content: center; padding: 16px; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 5px; background: var(--surface-strong); }
.governance-flow-grid li.is-ai { border-top-color: var(--purple); }
.governance-flow-grid li.is-evidence { border-top-color: var(--lake); }
.governance-flow-grid li.is-service { border-top-color: var(--green); }
.governance-flow-grid span { color: var(--muted); font: 700 9px/1.2 var(--font-data); letter-spacing: .06em; }
.governance-flow-grid b { margin-top: 10px; font-size: 15px; }
.governance-flow-grid small { margin-top: 5px; color: var(--body-2); font-size: 11px; }
.data-command-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 18px; margin-top: 18px; }
.source-stack { margin-top: 18px; border-top: 1px solid var(--line); }
.source-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line-quiet); }
.source-row h3 { font-size: 13px; }
.source-row p { margin-top: 3px; color: var(--body); font-size: 12px; }
.source-row small { color: var(--muted); font-size: 10px; }
.governance-dark-panel, .governance-rule-panel { background: var(--ink); color: #fff; }
.governance-rule-panel .eyebrow { color: #aeb3ff; }
.governance-rule-panel h2 { max-width: 430px; margin-top: 5px; font-size: 23px; }
.governance-rule-panel blockquote { margin: 22px 0; padding-left: 16px; border-left: 4px solid var(--purple); color: #d0d2dc; font-size: 14px; line-height: 1.72; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin: 0; padding: 17px 0 0; border-top: 1px solid #34374d; list-style: none; }
.check-list li { position: relative; padding-left: 14px; color: #aaadbd; font-size: 12px; }
.check-list li::before { position: absolute; left: 0; color: var(--purple); content: "•"; }
.output-boundary { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.output-boundary > div { padding: 20px 22px; }
.output-boundary > div + div { border-left: 1px solid var(--line); }
.output-boundary > div > span { color: var(--purple); font: 700 9px/1.2 var(--font-data); letter-spacing: .08em; }
.output-boundary h3 { margin-top: 7px; font-size: 18px; }
.output-boundary p { min-height: 45px; margin: 6px 0 13px; color: var(--body); font-size: 13px; }

/* Population workbench */
.operating-mode { display: flex; min-height: 44px; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-2); }
.operating-mode span { color: var(--muted); font-size: 10px; }
.operating-mode b { font-size: 11px; }
.operating-mode i { width: 1px; height: 20px; margin: 0 5px; background: var(--line); }
.object-workbench { margin-top: 12px; box-shadow: 0 8px 22px rgba(23,25,47,.05); }
.object-workbench-grid { display: grid; min-width: 1100px; grid-template-columns: 275px minmax(330px,1fr) 250px 220px; }
.object-workbench-grid > * { min-width: 0; min-height: 470px; padding: 20px; border-right: 1px solid var(--line); }
.object-workbench-grid > *:last-child { border-right: 0; }
.workbench-queue > header, .workbench-operation > header, .workbench-status > header, .care-queue > header, .care-operation > header, .care-receipt > header { margin-bottom: 16px; }
.workbench-queue h2, .workbench-operation h2, .workbench-status h2, .care-queue h2, .care-operation h2, .care-receipt h2 { font-size: 18px; }
.object-list { display: grid; gap: 7px; }
.object-card { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; width: 100%; min-height: 104px; padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-strong); text-align: left; cursor: pointer; }
.object-card:hover { border-color: var(--purple); }
.object-card.active { border-color: var(--purple); box-shadow: inset 3px 0 0 var(--purple); background: var(--purple-pale); }
.object-id { color: var(--purple); font: 700 10px/1.4 var(--font-data); }
.object-card small { color: var(--muted); font-size: 10px; }
.object-card h3 { margin-top: 3px; font-size: 13px; }
.object-card p { margin-top: 3px; color: var(--body-2); font-size: 11px; line-height: 1.45; }
.object-card em { grid-column: 2; color: var(--gold); font-size: 10px; font-style: normal; }
.workbench-evidence { background: var(--surface-strong); }
.workbench-evidence > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.workbench-evidence > header span { color: var(--body-2); font: 700 10px/1.4 var(--font-data); }
.workbench-evidence > h2 { margin-top: 22px; font-size: 24px; }
.signal-copy { margin-top: 8px; color: var(--body); font-size: 14px; line-height: 1.7; }
.evidence-ledger { margin: 23px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.evidence-ledger li { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line-quiet); }
.evidence-ledger span { color: var(--lake); font: 700 10px/1.5 var(--font-data); }
.evidence-ledger p { color: var(--body); font-size: 13px; }
.workbench-operation dl { margin-top: 20px; border-top: 1px solid var(--line); }
.workbench-operation dl div { padding: 13px 0; border-bottom: 1px solid var(--line-quiet); }
.workbench-operation dt { color: var(--muted); font-size: 10px; }
.workbench-operation dd { margin-top: 5px; font-size: 13px; line-height: 1.6; }
.workbench-operation .primary-button { margin-top: 24px; }
.workbench-operation .secondary-button { width: 100%; margin-top: 8px; }
.workbench-status { background: var(--paper-2); }
.status-marker { padding: 13px; border-left: 4px solid var(--gold); background: var(--surface); }
.status-marker span, .status-rule span, .workbench-status footer span { display: block; color: var(--muted); font-size: 10px; }
.status-marker b, .status-rule b, .workbench-status footer b { display: block; margin-top: 5px; font-size: 13px; }
.status-rule { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.status-rule p { margin-top: 9px; color: var(--body); font-size: 12px; }
.workbench-status footer { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Responsibility flow */
.responsibility-flow { overflow: hidden; }
.responsibility-flow-scroll { background: var(--paper-2); }
.responsibility-flow-canvas { position: relative; width: 100%; min-width: 1120px; height: 236px; }
.responsibility-stage-grid { position: relative; z-index: 1; display: grid; height: 100%; grid-template-columns: repeat(7,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.responsibility-stage-grid > li { display: flex; flex-direction: column; align-items: center; padding-top: 24px; border-right: 1px solid var(--line); }
.responsibility-stage-grid > li:last-child { border-right: 0; }
.responsibility-stage-grid > li > span { color: var(--muted); font: 700 9px/1.2 var(--font-data); letter-spacing: .06em; }
.workflow-node { display: flex; width: 76%; min-height: 116px; flex-direction: column; align-items: flex-start; justify-content: center; margin-top: 28px; padding: 13px; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 5px; background: var(--surface-strong); text-align: left; cursor: pointer; }
.stage-2 .workflow-node { border-top-color: var(--purple); }
.stage-3 .workflow-node { border-top-color: var(--lake); }
.stage-4 .workflow-node, .stage-5 .workflow-node { border-top-color: var(--gold); }
.stage-6 .workflow-node { border-top-color: var(--rose); }
.stage-7 .workflow-node { border-top-color: var(--green); }
.workflow-node:hover { border-color: var(--purple); }
.workflow-node.active { box-shadow: inset 0 0 0 2px var(--purple); background: var(--purple-pale); }
.workflow-node b { font-size: 14px; line-height: 1.45; }
.workflow-node small { margin-top: 7px; color: var(--body-2); font-size: 10px; }
.workflow-detail { display: grid; grid-template-columns: 78px minmax(0,1fr) minmax(230px,.5fr); gap: 20px; align-items: center; padding: 18px 20px; background: var(--surface); border-top: 1px solid var(--line); }
.step-badge { display: grid; width: 66px; height: 66px; place-items: center; border: 1px solid var(--purple); border-radius: 5px; color: var(--purple); font: 700 10px/1.2 var(--font-data); }
.workflow-detail h2 { font-size: 21px; }
.workflow-detail > div:nth-child(2) > b { display: block; margin-top: 4px; font-size: 12px; }
.workflow-detail p:not(.eyebrow) { margin-top: 5px; color: var(--body); font-size: 13px; }
.output-box { padding: 14px; border-left: 4px solid var(--green); background: var(--green-pale); }
.output-box span { display: block; color: var(--body-2); font-size: 10px; }
.output-box b { display: block; margin-top: 5px; font-size: 13px; }
.responsibility-table { min-width: 980px; }

/* Capability */
.capability-equation { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1.35fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.capability-equation > div { padding: 18px; }
.capability-equation > i { display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--gold); font-size: 18px; font-style: normal; }
.capability-equation span { display: block; color: var(--muted); font-size: 10px; }
.capability-equation b { display: block; margin-top: 6px; font-size: 13px; }
.capability-equation .result { background: var(--ink); color: #fff; }
.capability-equation .result span { color: #aeb3ff; }
.segmented-control { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-2); }
.segmented-control button { min-height: 28px; padding: 5px 9px; border: 0; border-radius: 3px; background: transparent; color: var(--body-2); font-size: 10px; cursor: pointer; white-space: nowrap; }
.segmented-control button.active { background: var(--surface-strong); color: var(--ink); font-weight: 700; }
.capability-table th:first-child { width: 19%; }
.distinction-card > span { color: var(--purple); font: 700 9px/1.2 var(--font-data); letter-spacing: .08em; }
.distinction-card h3 { margin-top: 9px; font-size: 21px; }
.distinction-card p { margin-top: 7px; color: var(--body); font-size: 13px; }
.distinction-card.emphasized { border-color: #a8c5bc; background: var(--green-pale); }

/* Pathway */
.case-strip { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); overflow: hidden; }
.case-strip > div { flex: 1; padding: 11px 15px; border-right: 1px solid var(--line); }
.case-strip > div span { display: block; color: var(--muted); font-size: 10px; }
.case-strip > div b { display: block; margin-top: 3px; font: 700 11px/1.4 var(--font-data); }
.case-strip > .state-tag { align-self: center; margin: 0 15px; }
.pathway-flow { margin-top: 12px; }
.pathway-flow-canvas { position: relative; width: 1120px; height: 390px; }
.pathway-stage-grid { position: relative; z-index: 1; display: grid; height: 100%; grid-template-columns: repeat(4,280px); align-items: center; }
.pathway-stage-grid > article { width: 78%; min-height: 310px; justify-self: center; }
.pathway-candidate, .gate-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-top: 4px solid var(--purple); border-radius: 5px; background: var(--surface-strong); }
.pathway-candidate { color: #fff; background: var(--ink); border-color: var(--ink); border-top-color: var(--purple); }
.pathway-candidate header, .gate-card header { display: flex; align-items: center; justify-content: space-between; }
.pathway-candidate header span, .gate-card header > span { color: var(--muted); font: 700 9px/1.2 var(--font-data); letter-spacing: .08em; }
.pathway-candidate header b { color: #aeb3ff; font: 750 18px/1 var(--font-data); }
.pathway-candidate h2, .gate-card h2 { margin-top: 24px; font-size: 23px; }
.pathway-candidate p { margin-top: 12px; color: #c4c7d4; font-size: 12px; line-height: 1.72; }
.pathway-candidate > div { margin-top: auto; padding-top: 14px; border-top: 1px solid #34374d; }
.pathway-candidate > div span, .gate-result span { display: block; color: var(--muted); font-size: 10px; }
.pathway-candidate > div b, .gate-result b { display: block; margin-top: 4px; font-size: 12px; }
.gate-card { border-top-color: var(--gold); }
.gate-card:nth-child(4) { border-top-color: var(--rose); }
.gate-card.current { box-shadow: inset 0 0 0 2px var(--gold); background: var(--gold-pale); }
.gate-card.completed { border-top-color: var(--green); background: var(--green-pale); }
.gate-card.locked { opacity: .6; }
.gate-card header > b { color: var(--muted); font: 700 17px/1 var(--font-data); }
.gate-card header .ui-icon { width: 24px; height: 24px; color: var(--green); }
.gate-actor { margin-top: 3px; color: var(--gold); font-size: 10px; font-weight: 700; }
.gate-card > p:not(.gate-actor) { margin-top: 18px; color: var(--body); font-size: 13px; line-height: 1.62; }
.gate-result { margin-top: auto; padding: 13px 0; border-top: 1px solid var(--line); }
.audit-timeline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.audit-timeline li { position: relative; display: flex; gap: 10px; min-height: 68px; padding-right: 12px; }
.audit-timeline li::before { position: absolute; top: 8px; left: 9px; right: -2px; height: 1px; background: var(--line); content: ""; }
.audit-timeline li:last-child::before { display: none; }
.audit-timeline li > span { position: relative; z-index: 1; width: 18px; height: 18px; flex: 0 0 auto; border: 4px solid var(--surface); border-radius: 50%; background: var(--muted); }
.audit-timeline li.done > span { background: var(--green); }
.audit-timeline b { display: block; font-size: 12px; }
.audit-timeline small { color: var(--muted); font-size: 10px; }

/* Continuous care */
.state-spine { display: flex; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.state-spine > div { display: flex; min-width: 150px; flex: 1; flex-direction: column; padding: 13px 16px; }
.state-spine span { color: var(--muted); font: 700 9px/1.2 var(--font-data); }
.state-spine b { margin-top: 5px; font-size: 12px; }
.state-spine > i { display: grid; width: 32px; flex: 0 0 auto; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--muted); }
.state-spine > i .ui-icon { width: 14px; height: 14px; }
.care-workbench { margin-top: 12px; box-shadow: 0 8px 22px rgba(23,25,47,.05); }
.care-workbench-grid { display: grid; min-width: 1120px; grid-template-columns: 310px minmax(300px,1fr) 230px 235px; }
.care-workbench-grid > * { min-width: 0; min-height: 470px; padding: 20px; border-right: 1px solid var(--line); }
.care-workbench-grid > *:last-child { border-right: 0; }
.care-queue .task-filter { max-width: 100%; margin-bottom: 12px; overflow-x: auto; }
.care-task-list { display: grid; gap: 7px; }
.care-task { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 9px; min-height: 86px; padding: 11px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-strong); text-align: left; cursor: pointer; }
.care-task.is-active { border-color: var(--purple); box-shadow: inset 3px 0 0 var(--purple); background: var(--purple-pale); }
.care-task > span { color: var(--purple); font: 700 10px/1.4 var(--font-data); }
.care-task small { color: var(--muted); font-size: 10px; }
.care-task b { display: block; margin-top: 3px; font-size: 12px; }
.care-task em { grid-column: 2; color: var(--gold); font-size: 10px; font-style: normal; }
.care-context { background: var(--surface-strong); }
.care-context > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.care-context > header span { color: var(--body-2); font: 700 10px/1.4 var(--font-data); }
.care-context h2 { margin-top: 24px; font-size: 24px; }
.care-context dl { margin-top: 20px; border-top: 1px solid var(--line); }
.care-context dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-quiet); }
.care-context dt { color: var(--muted); font-size: 10px; }
.care-context dd { font-size: 13px; }
.mini-state-trace { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 24px; border: 1px solid var(--line); }
.mini-state-trace span { position: relative; padding: 10px 4px; border-right: 1px solid var(--line); color: var(--muted); font-size: 10px; text-align: center; }
.mini-state-trace span:last-child { border-right: 0; }
.mini-state-trace span.is-done { background: var(--green-pale); color: #356f60; font-weight: 700; }
.care-operation > p { margin-top: 20px; color: var(--body); font-size: 13px; line-height: 1.7; }
.care-operation .primary-button { margin-top: 28px; }
.care-operation .secondary-button { width: 100%; margin-top: 8px; }
.care-operation > small { display: block; margin-top: 14px; color: var(--muted); font-size: 10px; }
.care-receipt { background: var(--paper-2); }
.care-receipt > p { margin-top: 20px; color: var(--body); font-size: 12px; }
.care-receipt ol { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.care-receipt li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.care-receipt li span { color: var(--gold); font: 700 9px/1.5 var(--font-data); }
.care-receipt li b { font-size: 11px; }
.pdca-ledger { display: grid; grid-template-columns: minmax(0,1fr) 460px; gap: 22px; align-items: center; margin-top: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.pdca-ledger h2 { font-size: 20px; }
.pdca-ledger p:last-child { margin-top: 6px; color: #aeb1c1; font-size: 12px; }
.pdca-ledger ol { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border: 1px solid #3a3d55; list-style: none; }
.pdca-ledger li { padding: 15px 6px; border-right: 1px solid #3a3d55; color: #c4c6d2; text-align: center; }
.pdca-ledger li:last-child { border-right: 0; color: #aeb3ff; }

/* Pilot positioning and target values */
.positioning-page { display: grid; grid-template-rows: auto minmax(0,1fr) 56px; min-height: calc(100vh - var(--topbar-height) - 66px); }
.positioning-head { display: grid; grid-template-columns: minmax(0,11fr) minmax(260px,5fr); gap: 24px; align-items: end; padding-bottom: 18px; }
.positioning-title h1 { font-size: clamp(34px,3.35vw,52px); font-weight: 600; line-height: 1.03; letter-spacing: -.035em; }
.positioning-title h1 span, .positioning-title h1 em { display: block; font-style: normal; }
.positioning-title h1 em { margin-top: 7px; color: var(--purple); }
.positioning-head > aside { padding-left: 16px; border-left: 4px solid var(--purple); }
.positioning-head > aside span { color: var(--purple); font: 650 25px/1 var(--font-data); }
.positioning-head > aside p { margin-top: 9px; color: var(--body); font-size: 13px; }
.positioning-matrix { display: grid; min-height: 0; grid-template-columns: minmax(0,7fr) minmax(0,5fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.positioning-scope { min-width: 0; border-right: 1px solid var(--line); }
.positioning-scope > header { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.positioning-scope > header h2 { font-size: 19px; }
.positioning-scope > header > p:last-child { margin-top: 6px; color: var(--body); font-size: 13px; }
.who-what-verify { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.who-what-verify article { min-height: 112px; padding: 14px 16px; border-right: 1px solid var(--line); }
.who-what-verify article:last-child { border-right: 0; }
.who-what-verify span { color: var(--purple); font: 700 9px/1.2 var(--font-data); }
.who-what-verify b { display: block; margin-top: 9px; font-size: 13px; }
.who-what-verify p { margin-top: 5px; color: var(--body-2); font-size: 11px; }
.boundary-ledger { display: grid; }
.boundary-row { display: grid; grid-template-columns: 42px 105px minmax(0,1fr) 150px; gap: 10px; align-items: center; min-height: 66px; padding: 10px 15px; border-top: 1px solid var(--line-quiet); border-left: 4px solid var(--purple); }
.boundary-row:first-child { border-top: 0; }
.boundary-row--2 { border-left-color: var(--lake); }
.boundary-row--3 { border-left-color: var(--gold); }
.boundary-row--4 { border-left-color: var(--green); }
.boundary-row > span { color: var(--muted); font: 700 9px/1.2 var(--font-data); }
.boundary-row h3 { font-size: 13px; }
.boundary-row p { color: var(--body); font-size: 11px; }
.boundary-row small { color: var(--body-2); font-size: 10px; }
.target-values { min-width: 0; }
.target-values > header { min-height: 94px; padding: 18px 20px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.target-values > header h2 { font-size: 19px; }
.target-values > header span { display: block; margin-top: 5px; color: var(--body-2); font-size: 11px; }
.target-values > article { display: grid; grid-template-columns: 54px 1fr; gap: 14px; min-height: 96px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.target-values > article:last-child { border-bottom: 0; }
.target-values > article > span { color: var(--purple); font: 600 18px/1 var(--font-data); }
.target-values h3 { font-size: 14px; }
.target-values p { margin-top: 4px; color: var(--body); font-size: 12px; }
.target-values small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.positioning-safe-space { height: 56px; }

/* County governance package */
.county-section-label { margin: 20px 0 10px; color: var(--purple); font: 700 10px/1.2 var(--font-data); letter-spacing: .1em; }
.county-value-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.county-value-strip article { min-height: 104px; padding: 17px 19px; border-right: 1px solid var(--line); }
.county-value-strip article:last-child { border-right: 0; }
.county-value-strip small { display: block; color: var(--purple); font: 700 9px/1.2 var(--font-data); letter-spacing: .08em; }
.county-value-strip strong { display: block; margin-top: 12px; font-size: 15px; }
.county-value-strip span { display: block; margin-top: 4px; color: var(--body); font-size: 11px; }
.county-workbench.panel { padding: 0; overflow: hidden; }
.county-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.county-tabs button { display: grid; grid-template-columns: 34px 1fr; min-height: 76px; align-items: center; gap: 10px; padding: 13px 18px; border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.county-tabs button:last-child { border-right: 0; }
.county-tabs button.is-active { box-shadow: inset 0 -4px 0 var(--purple); background: var(--surface); }
.county-tabs b { color: var(--muted); font: 700 10px/1 var(--font-data); }
.county-tabs button.is-active b { color: var(--purple); }
.county-tabs strong, .county-tabs small { display: block; }
.county-tabs strong { font-size: 14px; }
.county-tabs small { margin-top: 3px; color: var(--body-2); font-size: 10px; }
.county-panel { padding: 22px; }
.governance-thesis { display: grid; grid-template-columns: minmax(0,7fr) minmax(430px,5fr); gap: 18px; }
.governance-thesis > div { padding: 22px 24px; border-radius: 5px; background: var(--ink); color: #fff; }
.governance-thesis > div small, .chronic-command-head small, .province-command-head small { color: #aeb1c1; font: 700 9px/1 var(--font-data); letter-spacing: .09em; }
.governance-thesis h2 { margin-top: 14px; font-size: clamp(23px,2vw,32px); }
.governance-thesis p { margin-top: 10px; color: #c6c8d3; font-size: 13px; }
.governance-thesis ol { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 5px; list-style: none; overflow: hidden; }
.governance-thesis li { display: grid; grid-template-columns: 28px 1fr; min-height: 86px; align-items: center; gap: 8px; padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.governance-thesis li:nth-child(2n) { border-right: 0; }
.governance-thesis li:nth-last-child(-n+2) { border-bottom: 0; }
.governance-thesis li b { color: var(--purple); font: 700 10px/1 var(--font-data); }
.governance-thesis li strong, .governance-thesis li small { display: block; }
.governance-thesis li strong { font-size: 13px; }
.governance-thesis li small { margin-top: 3px; color: var(--body-2); font-size: 10px; }
.m-strategy-rail { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.m-strategy { display: grid; min-height: 175px; grid-template-rows: auto 1fr auto; padding: 17px; border-right: 1px solid var(--line); border-top: 4px solid var(--purple); }
.m-strategy:last-child { border-right: 0; }
.m-strategy--red { border-top-color: var(--red); }
.m-strategy--lake { border-top-color: var(--lake); }
.m-strategy--green { border-top-color: var(--green); }
.m-strategy header { display: flex; align-items: baseline; gap: 9px; }
.m-strategy header b { color: var(--purple); font: 750 11px/1 var(--font-data); }
.m-strategy header strong { font-size: 15px; }
.m-strategy p { margin-top: 10px; color: var(--body); font-size: 12px; }
.m-strategy footer { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-quiet); }
.m-strategy footer span, .m-strategy footer small { display: block; }
.m-strategy footer span { font-size: 11px; font-weight: 700; }
.m-strategy footer small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.pm-command { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 18px; }
.pm-matrix { display: grid; grid-template-columns: 118px repeat(4,minmax(138px,1fr)); border: 1px solid var(--line); border-radius: 5px; background: var(--surface-strong); overflow: hidden; }
.pm-corner, .pm-column-head, .pm-row-head, .pm-cell { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pm-column-head:nth-child(5), .pm-cell:nth-child(5n) { border-right: 0; }
.pm-row-head:nth-last-child(-n+5), .pm-cell:nth-last-child(-n+4) { border-bottom: 0; }
.pm-corner { display: flex; min-height: 60px; flex-direction: column; justify-content: center; padding: 10px 12px; background: var(--ink); color: #fff; }
.pm-corner small { color: #9699ab; font: 700 8px/1 var(--font-data); }
.pm-corner strong { margin-top: 7px; font-size: 18px; }
.pm-column-head { display: flex; min-height: 60px; align-items: center; justify-content: center; gap: 7px; padding: 9px; background: var(--paper-2); border-top: 4px solid var(--purple); }
.pm-column-head--red { border-top-color: var(--red); }
.pm-column-head--lake { border-top-color: var(--lake); }
.pm-column-head--green { border-top-color: var(--green); }
.pm-column-head small { color: var(--muted); font: 700 9px/1 var(--font-data); }
.pm-column-head strong { font-size: 12px; }
.pm-row-head { display: grid; grid-template-columns: 38px 1fr; min-height: 104px; align-items: center; gap: 5px; padding: 11px; background: var(--paper-2); }
.pm-row-head b { font: 750 17px/1 var(--font-data); }
.pm-row-head--red b { color: var(--red); }
.pm-row-head--gold b { color: var(--gold); }
.pm-row-head--green b { color: var(--green); }
.pm-row-head--purple b { color: var(--purple); }
.pm-row-head strong, .pm-row-head small { display: block; }
.pm-row-head strong { font-size: 11px; }
.pm-row-head small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.pm-cell { display: flex; min-height: 104px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 11px 12px; border-top: 0; border-left: 0; background: var(--surface-strong); text-align: left; cursor: pointer; }
.pm-cell:hover { background: var(--paper); }
.pm-cell.is-active { z-index: 1; box-shadow: inset 0 0 0 2px var(--purple); background: var(--purple-pale); }
.pm-cell small { color: var(--muted); font: 700 9px/1 var(--font-data); }
.pm-cell strong { margin-top: 7px; font-size: 11px; }
.pm-cell span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.pm-detail { display: flex; min-height: 476px; flex-direction: column; padding: 21px; border-radius: 5px; background: var(--ink); color: #fff; }
.pm-detail header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pm-detail header small { display: block; color: #979aac; font: 700 9px/1 var(--font-data); }
.pm-detail header span { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.pm-detail header b { min-width: 43px; padding: 6px 7px; border: 1px solid #4f547a; border-radius: 4px; text-align: center; font: 750 12px/1 var(--font-data); }
.pm-detail header i { color: #85899d; font-style: normal; }
.pm-detail header em { padding: 4px 7px; border: 1px solid #44475e; border-radius: 4px; color: #b5b8c7; font-size: 9px; font-style: normal; }
.pm-detail h3 { margin-top: 28px; font-size: 22px; }
.pm-detail > p { margin-top: 10px; color: #c6c8d4; font-size: 12px; }
.pm-detail dl { margin-top: 19px; border-top: 1px solid #34374d; }
.pm-detail dl div { padding: 12px 0; border-bottom: 1px solid #34374d; }
.pm-detail dt { color: #9699ab; font-size: 9px; }
.pm-detail dd { margin-top: 4px; color: #f3f2ed; font-size: 11px; }
.pm-detail > footer { margin-top: auto; padding-top: 14px; color: #9598aa; font-size: 10px; }
.county-network { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 5px; }
.county-network > header small { color: var(--purple); font: 700 9px/1 var(--font-data); letter-spacing: .08em; }
.county-network > header h3 { margin-top: 7px; font-size: 17px; }
.county-network-scroll { margin-top: 18px; }
.county-network-map { position: relative; display: grid; width: 1200px; height: 320px; grid-template-columns: repeat(3,1fr); grid-template-rows: 124px 124px; gap: 72px 64px; }
.county-network-map > svg text { fill: var(--body); stroke: var(--surface); stroke-width: 6px; paint-order: stroke; font: 700 10px var(--font-data); }
.county-network-node { position: relative; z-index: 1; display: flex; width: 250px; min-height: 106px; align-self: center; justify-self: center; flex-direction: column; justify-content: center; padding: 15px 17px; border: 1px solid var(--line); border-top: 4px solid var(--purple); border-radius: 5px; background: var(--surface-strong); }
.county-network-node small { color: var(--muted); font: 700 8px/1 var(--font-data); }
.county-network-node strong { margin-top: 8px; font-size: 13px; }
.county-network-node span { margin-top: 4px; color: var(--body-2); font-size: 10px; }
.county-network-node.is-upper { grid-column: 2; border-top-color: var(--red); }
.county-network-node.is-engine { grid-column: 1; grid-row: 2; border-color: var(--ink); background: var(--ink); color: #fff; }
.county-network-node.is-engine span { color: #aeb1c1; }
.county-network-node.is-county { grid-column: 2; grid-row: 2; }
.county-network-node.is-primary { grid-column: 3; grid-row: 2; border-top-color: var(--green); }
.chronic-command-head, .province-command-head { display: grid; grid-template-columns: minmax(0,7fr) minmax(300px,5fr); gap: 18px; }
.chronic-command-head > div, .province-command-head > div { min-height: 205px; padding: 24px; border-radius: 5px; background: var(--ink); color: #fff; }
.chronic-command-head h2, .province-command-head h2 { margin-top: 18px; font-size: clamp(24px,2.1vw,34px); }
.chronic-command-head p, .province-command-head p { margin-top: 11px; color: #c6c8d3; font-size: 13px; }
.chronic-command-head > aside, .province-command-head > aside { display: flex; min-height: 205px; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-2); }
.chronic-command-head aside strong { margin-top: 16px; color: var(--purple); font: 750 38px/1 var(--font-data); }
.chronic-command-head aside span { margin-top: 13px; color: var(--body); font-size: 12px; }
.chronic-disease-model { display: grid; grid-template-columns: 280px 1fr; margin-top: 18px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.chronic-disease-model > header { padding: 20px; border-right: 1px solid var(--line); background: var(--paper-2); }
.chronic-disease-model > header small { color: var(--purple); font: 750 10px/1 var(--font-data); }
.chronic-disease-model > header h3 { margin-top: 11px; font-size: 17px; }
.chronic-disease-model > header p { margin-top: 8px; color: var(--body); font-size: 12px; }
.chronic-disease-model > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.chronic-disease-card { display: grid; min-height: 158px; grid-template-columns: 44px 1fr; gap: 10px; padding: 20px 17px; border-right: 1px solid var(--line); }
.chronic-disease-card:last-child { border-right: 0; }
.chronic-disease-card > b { color: var(--purple); font: 750 28px/1 var(--font-data); }
.chronic-disease-card--2 > b { color: var(--gold); }
.chronic-disease-card--3 > b { color: var(--green); }
.chronic-disease-card strong { font-size: 13px; }
.chronic-disease-card p { margin-top: 6px; color: var(--body); font-size: 11px; }
.chronic-lifecycle { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.chronic-lifecycle article { position: relative; min-height: 130px; padding: 16px 20px 15px 16px; border-right: 1px solid var(--line); }
.chronic-lifecycle article:last-child { border-right: 0; }
.chronic-lifecycle small { color: var(--muted); font: 700 9px/1 var(--font-data); }
.chronic-lifecycle b { display: block; margin-top: 12px; color: var(--purple); font-size: 23px; }
.chronic-lifecycle strong { display: block; margin-top: 6px; font-size: 10px; }
.chronic-lifecycle i { position: absolute; top: 53px; right: -8px; z-index: 2; width: 16px; height: 16px; border-radius: 50%; background: var(--purple); color: #fff; text-align: center; font: 10px/16px var(--font-data); font-style: normal; }
.chronic-lifecycle article:last-child i { right: 8px; background: var(--purple-pale); color: var(--purple); }
.chronic-responsibility-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.chronic-responsibility { min-height: 185px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chronic-responsibility:nth-child(2n) { border-right: 0; }
.chronic-responsibility:nth-last-child(-n+2) { border-bottom: 0; }
.chronic-responsibility small { color: var(--purple); font: 700 9px/1 var(--font-data); }
.chronic-responsibility h3 { margin-top: 10px; font-size: 16px; }
.chronic-responsibility p { margin-top: 7px; color: var(--body); font-size: 12px; }
.chronic-responsibility ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.chronic-responsibility li, .chronic-responsibility > span { display: inline-block; padding: 5px 7px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-2); color: var(--body); font-size: 10px; }
.chronic-responsibility > span { margin-top: 14px; }
.province-command-head > aside strong { font-size: 20px; }
.province-command-head > aside p { margin-top: 9px; color: var(--body); }
.province-pipeline, .province-application-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.province-stage { position: relative; min-height: 205px; padding: 19px; border-right: 1px solid var(--line); border-top: 4px solid var(--ink); }
.province-stage--2 { border-top-color: var(--lake); }
.province-stage--3 { border-top-color: var(--purple); }
.province-stage--4 { border-top-color: var(--green); }
.province-stage:last-child { border-right: 0; }
.province-stage header { display: flex; align-items: center; justify-content: space-between; }
.province-stage header b { font: 750 10px/1 var(--font-data); }
.province-stage h3 { margin-top: 36px; font-size: 17px; }
.province-stage p { margin-top: 9px; color: var(--body); font-size: 12px; }
.province-stage > i { position: absolute; top: 94px; right: -11px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--purple); color: #fff; text-align: center; font: 11px/22px var(--font-data); font-style: normal; }
.province-application-grid article { min-height: 155px; padding: 18px; border-right: 1px solid var(--line); }
.province-application-grid article:last-child { border-right: 0; }
.province-application-grid small { color: var(--purple); font: 700 9px/1 var(--font-data); }
.province-application-grid h3 { margin-top: 14px; font-size: 14px; }
.province-application-grid p { margin-top: 7px; color: var(--body); font-size: 11px; }
.province-boundary { display: grid; grid-template-columns: 270px 1fr; margin-top: 18px; border-radius: 5px; background: var(--ink); color: #fff; overflow: hidden; }
.province-boundary > header { padding: 20px; border-right: 1px solid #34374d; }
.province-boundary > header small { color: #979aac; font: 700 9px/1 var(--font-data); }
.province-boundary > header h3 { margin-top: 13px; font-size: 17px; }
.province-boundary > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.province-boundary p { min-height: 136px; padding: 20px; border-right: 1px solid #34374d; }
.province-boundary p:last-child { border-right: 0; }
.province-boundary p b, .province-boundary p span { display: block; }
.province-boundary p b { font-size: 13px; }
.province-boundary p span { margin-top: 8px; color: #aeb1c1; font-size: 11px; }
.county-source-notes { margin-top: 18px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-2); }
.county-source-notes summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; cursor: pointer; list-style: none; }
.county-source-notes summary::-webkit-details-marker { display: none; }
.county-source-notes summary small, .county-source-notes summary strong { display: block; }
.county-source-notes summary small { color: var(--muted); font: 700 9px/1 var(--font-data); }
.county-source-notes summary strong { margin-top: 5px; font-size: 12px; }
.county-source-notes summary i { color: var(--purple); font-size: 10px; font-style: normal; }
.county-source-notes[open] summary { border-bottom: 1px solid var(--line); }
.county-source-notes > div { padding: 6px 18px; }
.county-source-notes p { display: grid; grid-template-columns: 34px 1fr; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line-quiet); }
.county-source-notes p:last-child { border-bottom: 0; }
.county-source-notes p b { color: var(--purple); font: 700 9px/1.5 var(--font-data); }
.county-source-notes p span { color: var(--body); font-size: 11px; }

/* Governance and sources */
.boundary-matrix { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.boundary-head, .boundary-matrix article { display: grid; grid-template-columns: minmax(190px,.55fr) minmax(0,1fr) minmax(0,1fr); }
.boundary-head { min-height: 39px; background: var(--paper-2); }
.boundary-head span { display: flex; align-items: center; padding: 9px 16px; border-left: 1px solid var(--line); color: var(--body-2); font-size: 10px; font-weight: 700; }
.boundary-head span:first-child { border-left: 0; }
.boundary-matrix article { min-height: 82px; border-top: 1px solid var(--line); }
.boundary-matrix article > * { display: flex; align-items: center; padding: 14px 16px; border-left: 1px solid var(--line); }
.boundary-matrix article > *:first-child { border-left: 0; }
.boundary-matrix h3 { background: var(--surface-strong); font-size: 13px; }
.boundary-matrix p { color: var(--body); font-size: 12px; }
.boundary-matrix p:last-child { background: var(--red-pale); color: #744141; }
.governance-statement { position: relative; margin-top: 18px; padding: 28px 32px; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; }
.quote-mark { position: absolute; top: -42px; right: 28px; color: rgba(255,255,255,.06); font: 160px/1 Georgia,serif; }
.governance-statement blockquote { position: relative; max-width: 1080px; font-size: clamp(20px,2vw,31px); line-height: 1.55; }
.governance-statement p { position: relative; margin-top: 13px; color: #aeb1c1; font-size: 12px; }
.source-library { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.source-library a { display: grid; grid-template-columns: 32px 1fr 18px; gap: 10px; align-items: center; min-height: 72px; padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-strong); color: inherit; text-decoration: none; }
.source-library a:nth-child(even) { border-right: 0; }
.source-library a:hover { background: var(--purple-pale); }
.source-library a > span { color: var(--purple); font: 700 9px/1 var(--font-data); }
.source-library h3 { font-size: 12px; }
.source-library p { margin-top: 3px; color: var(--body-2); font-size: 10px; }
.source-library .ui-icon { width: 14px; height: 14px; color: var(--purple); }

/* Command palette, dialog and notifications */
.command-palette { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding-top: min(15vh,140px); }
.palette-backdrop { position: absolute; inset: 0; border: 0; background: rgba(23,25,47,.7); backdrop-filter: blur(4px); }
.palette-panel { position: relative; z-index: 1; width: min(620px,calc(100vw - 32px)); max-height: min(580px,74vh); overflow: hidden; border: 1px solid #b9bbc6; border-radius: 7px; background: var(--surface-strong); box-shadow: var(--shadow); }
.palette-input-wrap { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.palette-input-wrap > span { color: var(--purple); font-size: 22px; }
.palette-input-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.palette-results { max-height: 470px; padding: 8px; overflow-y: auto; }
.palette-result { display: grid; grid-template-columns: 36px 1fr auto; gap: 11px; align-items: center; width: 100%; min-height: 58px; padding: 9px 11px; border: 0; border-radius: 4px; background: transparent; text-align: left; cursor: pointer; }
.palette-result:hover, .palette-result.active { background: var(--purple-pale); }
.palette-result > span { color: var(--purple); font: 700 9px/1 var(--font-data); }
.palette-result b { display: block; font-size: 12px; }
.palette-result small { color: var(--body-2); font-size: 10px; }
.palette-result .ui-icon { width: 14px; height: 14px; color: var(--purple); }
.palette-empty { padding: 28px; color: var(--body-2); text-align: center; }
.source-dialog { width: min(760px,calc(100vw - 32px)); max-height: min(720px,84vh); padding: 0; border: 1px solid #b9bbc6; border-radius: 7px; background: var(--surface-strong); color: var(--ink); box-shadow: var(--shadow); }
.source-dialog::backdrop { background: rgba(23,25,47,.7); backdrop-filter: blur(4px); }
.dialog-close { position: sticky; top: 14px; z-index: 2; display: block; margin: 14px 14px 0 auto; padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-size: 10px; cursor: pointer; }
#source-dialog-content { padding: 10px 32px 32px; }
#source-dialog-content h2 { font-size: 22px; }
#source-dialog-content > p { margin-top: 6px; color: var(--body); font-size: 12px; }
.dialog-source-list { margin-top: 20px; border-top: 1px solid var(--line); }
.dialog-source-list a { display: grid; grid-template-columns: 30px 1fr; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line-quiet); color: inherit; text-decoration: none; }
.dialog-source-list span { color: var(--purple); font: 700 9px/1.5 var(--font-data); }
.dialog-source-list h3 { font-size: 12px; }
.dialog-source-list p { margin-top: 3px; color: var(--body-2); font-size: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 120; max-width: 360px; padding: 12px 15px; border-left: 4px solid var(--purple); border-radius: 4px; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 11px; }

.reveal { animation: reveal .22s ease both; }
.delay-1 { animation-delay: .025s; }
.delay-2 { animation-delay: .05s; }
.delay-3 { animation-delay: .075s; }
@keyframes reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 1320px) {
  .responsibility-trace p, .data-status small { display: none; }
  .decision-summary { grid-template-columns: minmax(0,1fr) 240px; }
  .decision-trace { grid-column: 1 / 3; border-top: 1px solid var(--line); }
  .decision-thesis { border-right: 1px solid var(--line); }
  .decision-context { border-right: 0; }
  .construction-unit { min-height: 365px; }
  .governance-thesis { grid-template-columns: 1fr; }
  .governance-thesis ol { grid-template-columns: repeat(4,1fr); }
  .governance-thesis li { border-bottom: 0; }
  .pm-command { grid-template-columns: 1fr; }
  .pm-detail { min-height: 260px; display: grid; grid-template-columns: 210px 1fr; grid-template-rows: auto auto 1fr; gap: 0 24px; }
  .pm-detail header { grid-row: 1 / 4; display: block; padding-right: 20px; border-right: 1px solid #34374d; }
  .pm-detail header em { display: inline-block; margin-top: 13px; }
  .pm-detail h3 { margin-top: 0; }
  .pm-detail > footer { grid-column: 2; }
}

@media (max-width: 1120px) {
  :root { --sidebar-width: 224px; --content-pad: 26px; }
  .brand-lockup small { font-size: 10px; }
  .responsibility-trace { display: none; }
  .construction-matrix { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .construction-unit { min-height: 345px; border-bottom: 1px solid var(--line); }
  .construction-unit:nth-child(3) { border-right: 0; }
  .overview-ledger { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-ledger article:nth-child(2) { border-right: 0; }
  .overview-ledger article { border-bottom: 1px solid var(--line); }
  .data-command-grid, .two-column-grid, .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .positioning-page { display: block; min-height: 0; }
  .positioning-matrix { grid-template-columns: 1fr; }
  .positioning-scope { border-right: 0; border-bottom: 1px solid var(--line); }
  .positioning-safe-space { display: none; }
  .county-value-strip, .m-strategy-rail, .province-pipeline, .province-application-grid { grid-template-columns: 1fr 1fr; }
  .county-value-strip article:nth-child(2n), .m-strategy:nth-child(2n), .province-stage:nth-child(2n), .province-application-grid article:nth-child(2n) { border-right: 0; }
  .county-value-strip article:nth-child(-n+2), .m-strategy:nth-child(-n+2), .province-stage:nth-child(-n+2), .province-application-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .chronic-command-head, .province-command-head, .chronic-disease-model, .province-boundary { grid-template-columns: 1fr; }
  .chronic-disease-model > header, .province-boundary > header { border-right: 0; border-bottom: 1px solid var(--line); }
  .chronic-lifecycle { grid-template-columns: repeat(3,1fr); }
  .chronic-lifecycle article:nth-child(3n) { border-right: 0; }
  .chronic-lifecycle article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  :root { --topbar-height: 62px; --content-pad: 18px; }
  .app-shell { display: grid; grid-template-columns: 1fr; grid-template-rows: 96px minmax(0,1fr); }
  .sidebar { height: 96px; padding: 0; }
  .brand-lockup { min-height: 48px; height: 48px; align-items: center; padding: 7px 13px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .brand-rule { width: 3px; height: 30px; }
  .brand-lockup p, .brand-lockup small { display: none; }
  .brand-lockup strong { margin-top: 0; font-size: 13px; }
  .brand-lockup strong span { display: inline; }
  .brand-lockup strong span + span::before { content: ""; }
  .module-nav { height: 48px; flex: none; flex-direction: row; gap: 0; padding: 0 7px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .module-nav::-webkit-scrollbar { display: none; }
  .nav-label { display: none; }
  .nav-item { width: auto; min-width: max-content; min-height: 47px; padding: 8px 11px; border-radius: 0; font-size: 11px; }
  .nav-item.active::before { top: auto; right: 9px; bottom: 0; left: 9px; width: auto; height: 3px; }
  .nav-item--county { margin-top: 0; border-top: 0; }
  .environment-card { display: none; }
  .workspace { height: calc(100vh - 96px); }
  .topbar { padding: 0 14px; }
  .topbar-leading { flex: 0 1 auto; }
  .breadcrumb span, .breadcrumb i { display: none; }
  .breadcrumb { min-width: 88px; }
  .data-status { display: none; }
  .role-switch button { padding-inline: 7px; }
  .search-button span { display: none; }
  .content { padding: 22px 14px 32px; }
  .view-heading { align-items: flex-start; }
  .view-heading h1 { font-size: 28px; }
  .decision-summary { grid-template-columns: 1fr; }
  .decision-thesis, .decision-context { border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-trace { grid-column: 1; }
  .construction-matrix { grid-template-columns: 1fr 1fr; }
  .construction-unit:nth-child(3) { border-right: 1px solid var(--line); }
  .construction-unit:nth-child(2n) { border-right: 0; }
  .construction-unit { min-height: 330px; }
  .overview-ledger { grid-template-columns: 1fr; }
  .overview-ledger article, .overview-ledger > button { border-right: 0; border-bottom: 1px solid var(--line); }
  .overview-ledger > button { border-bottom: 0; }
  .positioning-head { grid-template-columns: 1fr; }
  .positioning-title h1 { font-size: 35px; }
  .who-what-verify { grid-template-columns: 1fr; }
  .who-what-verify article { border-right: 0; border-bottom: 1px solid var(--line); }
  .boundary-row { grid-template-columns: 36px 92px 1fr; }
  .boundary-row small { grid-column: 3; }
  .county-value-strip, .county-tabs, .m-strategy-rail, .chronic-disease-model > div, .chronic-responsibility-grid, .province-pipeline, .province-application-grid, .province-boundary > div { grid-template-columns: 1fr; }
  .county-value-strip article, .county-tabs button, .m-strategy, .chronic-disease-card, .chronic-responsibility, .province-stage, .province-application-grid article, .province-boundary p { border-right: 0; border-bottom: 1px solid var(--line); }
  .county-panel { padding: 16px; }
  .governance-thesis ol { grid-template-columns: 1fr 1fr; }
  .pm-command { overflow-x: auto; }
  .pm-matrix { min-width: 760px; }
  .pm-detail { display: flex; min-width: 0; }
  .pm-detail header { padding-right: 0; border-right: 0; }
  .chronic-lifecycle { grid-template-columns: 1fr 1fr; }
  .chronic-lifecycle article:nth-child(3n) { border-right: 1px solid var(--line); }
  .chronic-lifecycle article:nth-child(2n) { border-right: 0; }
  .chronic-lifecycle i { display: none; }
  .source-library { grid-template-columns: 1fr; }
  .source-library a { border-right: 0; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .breadcrumb strong { max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
  .role-switch button { padding-inline: 6px; font-size: 0; }
  .role-switch button::after { font-size: 10px; }
  .role-switch button[data-role-switch="province"]::after { content: "省级"; }
  .role-switch button[data-role-switch="county"]::after { content: "县域"; }
  .role-switch button[data-role-switch="family"]::after { content: "家医"; }
  .view-heading { display: block; margin-bottom: 20px; }
  .view-heading h1 { font-size: 26px; }
  .view-description { font-size: 14px; }
  .heading-actions { margin-top: 13px; }
  .decision-thesis, .decision-context { padding: 17px; }
  .decision-trace { grid-template-columns: 1fr 1fr; }
  .decision-trace li:nth-child(2) { border-right: 0; }
  .decision-trace li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .decision-trace li:nth-child(2)::after { display: none; }
  .construction-head { display: block; }
  .construction-head > p { margin-top: 6px; text-align: left; }
  .construction-matrix { grid-template-columns: 1fr; }
  .construction-unit, .construction-unit:nth-child(3) { min-height: 0; border-right: 0; }
  .construction-build { min-height: 0; }
  .operating-mode { align-items: flex-start; flex-direction: column; gap: 3px; }
  .operating-mode i { width: 100%; height: 1px; margin: 5px 0; }
  .section-block, .audit-panel, .panel { padding: 17px; }
  .section-title-row, .panel-head { display: block; }
  .section-title-row > p { margin-top: 6px; text-align: left; }
  .check-list { grid-template-columns: 1fr; }
  .output-boundary { grid-template-columns: 1fr; }
  .output-boundary > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .capability-equation { grid-template-columns: 1fr; }
  .capability-equation > i { min-height: 24px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .case-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .case-strip > div { border-bottom: 1px solid var(--line); }
  .case-strip > div:nth-child(2) { border-right: 0; }
  .case-strip > div:nth-child(3) { grid-column: 1 / 3; }
  .case-strip > .state-tag { margin: 10px 13px; }
  .audit-timeline { grid-template-columns: 1fr; }
  .audit-timeline li { min-height: 54px; }
  .audit-timeline li::before { top: 8px; bottom: -2px; left: 8px; width: 1px; height: auto; }
  .pdca-ledger { grid-template-columns: 1fr; }
  .pdca-ledger ol { margin-top: 4px; }
  .positioning-title h1 { font-size: 30px; }
  .positioning-head > aside { margin-top: 4px; }
  .boundary-row { grid-template-columns: 34px 1fr; }
  .boundary-row p, .boundary-row small { grid-column: 2; }
  .target-values > article { grid-template-columns: 46px 1fr; }
  .boundary-head { display: none; }
  .boundary-matrix article { grid-template-columns: 1fr; }
  .boundary-matrix article > * { min-height: 58px; border-top: 1px solid var(--line); border-left: 0; }
  .boundary-matrix article h3 { border-top: 0; }
  .governance-statement { padding: 24px 19px; }
  .province-boundary { grid-template-columns: 1fr; }
}

@media (min-width: 1121px) and (max-height: 920px) {
  .content { padding-top: 22px; }
  .view-heading { margin-bottom: 18px; }
  .decision-summary { min-height: 112px; }
  .decision-thesis, .decision-context { padding-block: 15px; }
  .construction-unit { min-height: 314px; }
  .construction-build { min-height: 69px; }
  .construction-unit dl div { min-height: 66px; padding-block: 8px; }
  .overview-ledger article, .overview-ledger > button { min-height: 62px; }
  .positioning-page { min-height: calc(100vh - var(--topbar-height) - 50px); grid-template-rows: auto minmax(0,1fr) 56px; }
  .positioning-head { padding-bottom: 14px; }
  .positioning-title h1 { font-size: clamp(31px,3vw,46px); }
  .who-what-verify article { min-height: 96px; }
  .boundary-row { min-height: 58px; }
  .target-values > article { min-height: 86px; }
}

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

/* County digital transformation · 03 */
.strong-primary-strip {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.strong-primary-strip article { min-height: 118px; padding: 16px 17px; border-right: 1px solid var(--line); }
.strong-primary-strip article:last-child { border-right: 0; }
.strong-primary-strip small { color: var(--green); font: 700 9px/1 var(--font-data); letter-spacing: .08em; }
.strong-primary-strip b { display: block; margin-top: 8px; font-size: 17px; }
.strong-primary-strip p { margin-top: 6px; color: var(--body-2); font-size: 11px; line-height: 1.55; }

.county-digital-workbench.panel { padding: 0; overflow: hidden; }
.county-digital-tabs button { min-height: 80px; }
.county-dx-thesis { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(260px,.7fr); border: 1px solid var(--line); background: var(--surface); }
.county-dx-thesis > div { padding: 22px; }
.county-dx-thesis h2 { max-width: 820px; margin-top: 8px; font-size: clamp(20px,2vw,28px); line-height: 1.4; }
.county-dx-thesis aside { padding: 20px; border-left: 1px solid #30334a; background: var(--ink); color: #fff; }
.county-dx-thesis aside span { color: #aeb2c8; font: 700 9px/1 var(--font-data); letter-spacing: .08em; }
.county-dx-thesis aside b { display: block; margin-top: 10px; font-size: 14px; }
.county-dx-thesis aside p { margin-top: 8px; color: #c4c7d5; font-size: 11px; }

.county-dx-loop { border: 1px solid var(--line); background: var(--paper-2); }
.county-dx-loop-track { position: relative; display: grid; width: 1200px; height: 210px; grid-template-columns: repeat(6,1fr); align-items: center; padding: 18px 30px; }
.county-dx-loop-track > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.county-dx-step { position: relative; z-index: 1; width: 160px; min-height: 136px; justify-self: center; padding: 14px; border: 1px solid var(--line); border-top: 4px solid var(--purple); border-radius: 4px; background: var(--surface-strong); }
.county-dx-step:nth-of-type(2), .county-dx-step:nth-of-type(3) { border-top-color: var(--lake); }
.county-dx-step:nth-of-type(4), .county-dx-step:nth-of-type(5) { border-top-color: var(--gold); }
.county-dx-step:nth-of-type(6) { border-top-color: var(--green); }
.county-dx-step header { display: flex; align-items: center; justify-content: space-between; }
.county-dx-step header span { color: var(--purple); font: 800 10px/1 var(--font-data); }
.county-dx-step header small { color: var(--muted); font-size: 9px; }
.county-dx-step h3 { margin-top: 17px; font-size: 15px; }
.county-dx-step p { margin-top: 7px; color: var(--body-2); font-size: 10px; }

.county-pain-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 5px; background: var(--surface); overflow: hidden; }
.county-pain-grid article { min-height: 238px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.county-pain-grid article:nth-child(3n) { border-right: 0; }
.county-pain-grid article:nth-child(n+4) { border-bottom: 0; }
.county-pain-grid header { display: flex; align-items: center; gap: 11px; }
.county-pain-grid header span { color: var(--purple); font: 800 10px/1 var(--font-data); }
.county-pain-grid h3 { font-size: 15px; }
.county-pain-grid > article > p { min-height: 48px; margin-top: 12px; color: var(--body-2); font-size: 11px; }
.county-pain-grid article > div { min-height: 66px; margin-top: 12px; padding: 11px 12px; border-left: 3px solid var(--lake); background: var(--lake-pale); }
.county-pain-grid article > div small, .county-pain-grid article > div b { display: block; }
.county-pain-grid article > div small { color: var(--lake); font: 700 8px/1 var(--font-data); letter-spacing: .08em; }
.county-pain-grid article > div b { margin-top: 7px; font-size: 11px; }
.county-pain-grid footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-quiet); }
.county-pain-grid footer span { color: var(--muted); font-size: 9px; }
.county-pain-grid footer strong { color: var(--green); font-size: 11px; }

.county-ledger-section { display: grid; grid-template-columns: 220px minmax(0,1fr) 250px; margin-top: 20px; border: 1px solid var(--line); background: var(--surface); }
.county-ledger-section > header { padding: 19px; border-right: 1px solid var(--line); }
.county-ledger-section > header h2 { margin-top: 8px; font-size: 16px; }
.county-ledger-section > div { display: grid; grid-template-columns: repeat(3,1fr); }
.county-ledger-section > div article { padding: 16px; border-right: 1px solid var(--line); }
.county-ledger-section > div span { color: var(--purple); font: 800 11px/1 var(--font-data); }
.county-ledger-section > div h3 { margin-top: 10px; font-size: 13px; }
.county-ledger-section > div p { margin-top: 7px; color: var(--body-2); font-size: 10px; }
.county-ledger-section > div small { display: block; margin-top: 11px; color: var(--muted); font-size: 8px; }
.county-map-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border: 0; background: var(--ink); color: #fff; text-align: left; cursor: pointer; }
.county-map-cta small, .county-map-cta b, .county-map-cta p { display: block; }
.county-map-cta small { color: #9da1b8; font: 700 8px/1 var(--font-data); letter-spacing: .08em; }
.county-map-cta b { margin-top: 9px; font-size: 13px; }
.county-map-cta p { margin-top: 5px; color: #c6c9d6; font-size: 9px; }
.county-map-cta .ui-icon { color: #fff; }

.county-engine-head, .county-delivery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.county-engine-head h2, .county-delivery-head h2 { margin-top: 7px; font-size: 23px; }
.county-engine-head p, .county-delivery-head p { max-width: 760px; margin-top: 6px; color: var(--body-2); font-size: 11px; }
.county-engine-head aside { max-width: 280px; padding: 13px 15px; border: 1px solid var(--gold); background: var(--gold-pale); }
.county-engine-head aside span, .county-engine-head aside b { display: block; }
.county-engine-head aside span { color: var(--gold); font: 700 8px/1 var(--font-data); }
.county-engine-head aside b { margin-top: 7px; font-size: 11px; }
.county-engine-command { margin-top: 0; }

.county-roadmap { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); background: var(--surface); }
.county-roadmap article { min-height: 220px; padding: 18px; border-right: 1px solid var(--line); }
.county-roadmap article:last-child { border-right: 0; }
.county-roadmap header { display: flex; align-items: center; justify-content: space-between; }
.county-roadmap header b { color: var(--purple); font: 800 11px/1 var(--font-data); }
.county-roadmap header span { color: var(--muted); font-size: 9px; }
.county-roadmap h3 { margin-top: 22px; font-size: 17px; }
.county-roadmap p { min-height: 57px; margin-top: 9px; color: var(--body-2); font-size: 11px; }
.county-roadmap footer { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--green); font-size: 10px; }
.county-monitor { display: grid; grid-template-columns: 270px minmax(0,1fr); margin-top: 18px; border: 1px solid var(--line); background: var(--surface); }
.county-monitor > header { padding: 20px; border-right: 1px solid var(--line); }
.county-monitor > header h2 { margin-top: 8px; font-size: 17px; }
.county-monitor > header span { display: block; margin-top: 9px; color: var(--body-2); font-size: 10px; }
.county-monitor > div { display: grid; grid-template-columns: 1fr 1fr; }
.county-monitor article { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; min-height: 92px; padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.county-monitor article:nth-child(2n) { border-right: 0; }
.county-monitor article:nth-child(n+5) { border-bottom: 0; }
.county-monitor article > span { color: var(--purple); font: 800 9px/1 var(--font-data); }
.county-monitor h3 { font-size: 12px; }
.county-monitor p { margin-top: 4px; color: var(--body-2); font-size: 9px; }
.county-monitor article > small { color: var(--muted); font-size: 8px; }
.county-delivery-boundary { margin-top: 18px; padding: 15px 18px; border-left: 4px solid var(--gold); background: var(--gold-pale); }
.county-delivery-boundary b { color: var(--gold); font-size: 11px; }
.county-delivery-boundary p { margin-top: 4px; color: var(--body); font-size: 10px; }

/* Hubei county resident map · 04 */
.map-data-boundary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 18px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 5px; background: var(--surface); overflow: hidden; }
.map-data-boundary > div { min-height: 96px; padding: 14px 16px; border-right: 1px solid var(--line); }
.map-data-boundary > div:last-child { border-right: 0; }
.map-data-boundary span, .map-data-boundary b, .map-data-boundary small { display: block; }
.map-data-boundary span { color: var(--muted); font-size: 9px; }
.map-data-boundary b { margin-top: 8px; font-size: 17px; }
.map-data-boundary small { margin-top: 4px; color: var(--body-2); font-size: 9px; }
.hubei-map-workbench.panel { padding: 0; overflow: hidden; }
.hubei-map-toolbar { display: grid; grid-template-columns: 240px minmax(0,1fr); border-bottom: 1px solid var(--line); }
.hubei-map-toolbar > div:first-child { padding: 18px; border-right: 1px solid var(--line); }
.hubei-map-toolbar h2 { margin-top: 7px; font-size: 16px; }
.map-layer-switch { display: grid; grid-template-columns: repeat(4,1fr); }
.map-layer-switch button { min-height: 78px; padding: 13px; border: 0; border-right: 1px solid var(--line); background: var(--paper-2); text-align: left; cursor: pointer; }
.map-layer-switch button:last-child { border-right: 0; }
.map-layer-switch button.active { box-shadow: inset 0 -4px 0 var(--purple); background: var(--surface-strong); }
.map-layer-switch b, .map-layer-switch small { display: block; }
.map-layer-switch b { font-size: 11px; }
.map-layer-switch small { margin-top: 5px; color: var(--body-2); font-size: 8px; }
.hubei-map-grid { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(300px,.9fr); min-height: 530px; }
.hubei-map-stage { min-width: 0; padding: 18px; border-right: 1px solid var(--line); overflow-x: auto; }
.hubei-map-stage > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 760px; }
.hubei-map-stage > header span { font-weight: 700; }
.hubei-map-stage > header small { color: var(--gold); font-size: 9px; }
.hubei-map-canvas { position: relative; width: 100%; min-width: 760px; height: 440px; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-2); }
.hubei-map-canvas > svg { position: absolute; inset: 12px 22px 30px; width: calc(100% - 44px); height: calc(100% - 42px); }
.hubei-silhouette { fill: #e7e8f4; stroke: #afb3cf; stroke-width: 2; }
.hubei-river { fill: none; stroke: #87b6c2; stroke-width: 4; stroke-linecap: round; opacity: .8; }
.hubei-network-line { fill: none; stroke: rgba(112,119,206,.42); stroke-width: 2; stroke-dasharray: 5 6; }
.hubei-county { position: absolute; top: var(--y); left: var(--x); z-index: 2; display: grid; min-width: 84px; grid-template-columns: 9px 1fr; gap: 1px 6px; padding: 7px 9px; transform: translate(-50%,-50%); border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.92); box-shadow: 0 4px 12px rgba(23,25,47,.08); text-align: left; cursor: pointer; }
.hubei-county i { grid-row: 1 / 3; align-self: center; width: 8px; height: 8px; border: 2px solid var(--purple); border-radius: 50%; background: #fff; }
.hubei-county--green i { border-color: var(--green); }
.hubei-county--gold i { border-color: var(--gold); }
.hubei-county--lake i { border-color: var(--lake); }
.hubei-county b { font-size: 10px; white-space: nowrap; }
.hubei-county small { color: var(--muted); font-size: 8px; }
.hubei-county.active { z-index: 3; border-color: var(--purple); background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(23,25,47,.2); }
.hubei-county.active i { background: var(--purple); border-color: #fff; }
.hubei-county.active small { color: #bfc2d4; }
.hubei-map-legend { position: absolute; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 12px; padding: 7px 9px; border: 1px solid var(--line); background: rgba(255,255,255,.9); color: var(--muted); font-size: 8px; }
.hubei-map-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border: 1px solid var(--purple); border-radius: 50%; background: #fff; }
.legend-dot.is-active { background: var(--purple); }
.county-map-detail { display: flex; flex-direction: column; padding: 20px; background: var(--surface); }
.county-map-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.county-map-detail > header small { color: var(--purple); font: 700 8px/1 var(--font-data); letter-spacing: .08em; }
.county-map-detail > header h2 { margin-top: 7px; font-size: 25px; }
.county-map-detail > header p { color: var(--body-2); font-size: 10px; }
.county-map-detail > header > span { padding: 5px 7px; border: 1px solid var(--gold); color: var(--gold); font: 700 8px/1 var(--font-data); }
.county-map-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 16px; border: 1px solid var(--line); }
.county-map-metrics article { min-width: 0; padding: 12px 9px; border-right: 1px solid var(--line); }
.county-map-metrics article:last-child { border-right: 0; }
.county-map-metrics span, .county-map-metrics b, .county-map-metrics small { display: block; }
.county-map-metrics span { color: var(--body-2); font-size: 8px; }
.county-map-metrics b { margin-top: 8px; font: 800 18px/1 var(--font-data); }
.county-map-metrics small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.county-map-judgement { margin: 18px 0; padding: 15px; border-left: 4px solid var(--green); background: var(--green-pale); }
.county-map-judgement span, .county-map-judgement b { display: block; }
.county-map-judgement span { color: var(--green); font: 700 8px/1 var(--font-data); letter-spacing: .08em; }
.county-map-judgement b { margin-top: 8px; font-size: 12px; }
.county-map-judgement p { margin-top: 7px; color: var(--body); font-size: 10px; }
.county-map-detail .primary-button { margin-top: auto; }
.resident-map-spine { display: grid; grid-template-columns: 260px minmax(0,1fr); border-top: 1px solid var(--line); }
.resident-map-spine > header { padding: 18px; border-right: 1px solid var(--line); }
.resident-map-spine > header h2 { margin-top: 8px; font-size: 15px; }
.resident-map-spine ol { display: grid; grid-template-columns: repeat(6,1fr); margin: 0; padding: 0; list-style: none; }
.resident-map-spine li { position: relative; min-height: 92px; padding: 16px 13px; border-right: 1px solid var(--line); }
.resident-map-spine li:last-child { border-right: 0; }
.resident-map-spine li::after { position: absolute; top: 32px; right: -5px; z-index: 1; width: 9px; height: 9px; transform: rotate(45deg); border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--surface); content: ""; }
.resident-map-spine li:last-child::after { display: none; }
.resident-map-spine li span, .resident-map-spine li b, .resident-map-spine li small { display: block; }
.resident-map-spine li span { color: var(--muted); font: 700 8px/1 var(--font-data); }
.resident-map-spine li b { margin-top: 9px; font-size: 11px; }
.resident-map-spine li small { margin-top: 4px; color: var(--body-2); font-size: 8px; }
.resident-map-spine li.is-current { background: var(--purple-pale); }
.resident-map-spine li.is-current span { color: var(--purple); }
.hubei-map-ledger { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); background: var(--paper-2); }
.hubei-map-ledger article { display: grid; grid-template-columns: 28px 1fr; gap: 10px; min-height: 128px; padding: 16px; border-right: 1px solid var(--line); }
.hubei-map-ledger article:last-child { border-right: 0; }
.hubei-map-ledger article > span { color: var(--green); font: 800 11px/1 var(--font-data); }
.hubei-map-ledger h3 { font-size: 12px; }
.hubei-map-ledger p { margin-top: 6px; color: var(--body-2); font-size: 9px; }
.hubei-map-ledger small { grid-column: 2; align-self: end; color: var(--gold); font-size: 8px; }

@media (max-width: 1120px) {
  .strong-primary-strip { grid-template-columns: repeat(3,1fr); }
  .strong-primary-strip article:nth-child(3) { border-right: 0; }
  .strong-primary-strip article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .strong-primary-strip article:last-child { border-right: 1px solid var(--line); }
  .county-pain-grid { grid-template-columns: 1fr 1fr; }
  .county-pain-grid article:nth-child(3n) { border-right: 1px solid var(--line); }
  .county-pain-grid article:nth-child(2n) { border-right: 0; }
  .county-pain-grid article:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .county-pain-grid article:nth-child(n+5) { border-bottom: 0; }
  .county-ledger-section { grid-template-columns: 1fr; }
  .county-ledger-section > header { border-right: 0; border-bottom: 1px solid var(--line); }
  .county-map-cta { min-height: 102px; }
  .county-roadmap { grid-template-columns: 1fr 1fr; }
  .county-roadmap article { border-bottom: 1px solid var(--line); }
  .county-roadmap article:nth-child(2n) { border-right: 0; }
  .county-roadmap article:nth-child(n+3) { border-bottom: 0; }
  .county-monitor { grid-template-columns: 1fr; }
  .county-monitor > header { border-right: 0; border-bottom: 1px solid var(--line); }
  .hubei-map-grid { grid-template-columns: 1fr; }
  .hubei-map-stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .county-map-detail .primary-button { margin-top: 0; }
  .resident-map-spine { grid-template-columns: 1fr; }
  .resident-map-spine > header { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .strong-primary-strip, .map-data-boundary { grid-template-columns: 1fr 1fr; }
  .strong-primary-strip article:nth-child(3) { border-right: 1px solid var(--line); }
  .strong-primary-strip article:nth-child(2n), .map-data-boundary > div:nth-child(2n) { border-right: 0; }
  .strong-primary-strip article, .map-data-boundary > div { border-bottom: 1px solid var(--line); }
  .strong-primary-strip article:last-child, .map-data-boundary > div:nth-child(n+3) { border-bottom: 0; }
  .county-dx-thesis { grid-template-columns: 1fr; }
  .county-dx-thesis aside { border-top: 1px solid #30334a; border-left: 0; }
  .county-ledger-section > div { grid-template-columns: 1fr; }
  .county-ledger-section > div article { border-right: 0; border-bottom: 1px solid var(--line); }
  .county-engine-head, .county-delivery-head { display: block; }
  .county-engine-head aside { max-width: none; margin-top: 12px; }
  .hubei-map-toolbar { grid-template-columns: 1fr; }
  .hubei-map-toolbar > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .map-layer-switch { grid-template-columns: 1fr 1fr; }
  .map-layer-switch button:nth-child(2n) { border-right: 0; }
  .map-layer-switch button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .resident-map-spine ol { min-width: 720px; }
  .resident-map-spine { overflow-x: auto; }
  .hubei-map-ledger { grid-template-columns: 1fr 1fr; }
  .hubei-map-ledger article:nth-child(2n) { border-right: 0; }
  .hubei-map-ledger article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .strong-primary-strip, .map-data-boundary, .county-pain-grid, .county-roadmap, .county-monitor > div, .hubei-map-ledger { grid-template-columns: 1fr; }
  .strong-primary-strip article, .strong-primary-strip article:nth-child(3), .strong-primary-strip article:last-child, .map-data-boundary > div, .county-pain-grid article, .county-pain-grid article:nth-child(3n), .county-roadmap article, .county-monitor article, .hubei-map-ledger article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .strong-primary-strip article:last-child, .map-data-boundary > div:last-child, .county-pain-grid article:last-child, .county-roadmap article:last-child, .county-monitor article:last-child, .hubei-map-ledger article:last-child { border-bottom: 0; }
  .county-pain-grid > article > p, .county-roadmap p { min-height: 0; }
  .county-monitor article { grid-template-columns: 30px 1fr; }
  .county-monitor article > small { grid-column: 2; }
  .map-layer-switch { grid-template-columns: 1fr; }
  .map-layer-switch button { min-height: 64px; border-right: 0; border-bottom: 1px solid var(--line); }
  .map-layer-switch button:last-child { border-bottom: 0; }
  .hubei-map-stage { padding: 14px; }
  .county-map-detail { padding: 17px; }
  .county-map-metrics { grid-template-columns: 1fr; }
  .county-map-metrics article { border-right: 0; border-bottom: 1px solid var(--line); }
  .county-map-metrics article:last-child { border-bottom: 0; }
}

/* Hubei map construction standard · 04A */
.standard-status-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 18px; border: 1px solid var(--line); border-top: 4px solid var(--purple); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.standard-status-strip article { min-height: 96px; padding: 15px 17px; border-right: 1px solid var(--line); }
.standard-status-strip article:last-child { border-right: 0; }
.standard-status-strip span, .standard-status-strip b, .standard-status-strip small { display: block; }
.standard-status-strip span { color: var(--muted); font-size: 10px; }
.standard-status-strip b { margin-top: 8px; font: 750 18px/1.2 var(--font-data); }
.standard-status-strip small { margin-top: 5px; color: var(--body-2); font-size: 10px; }

.standard-workbench.panel { padding: 0; overflow: hidden; }
.standard-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.standard-tabs button { display: grid; min-height: 82px; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 14px 18px; border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.standard-tabs button:last-child { border-right: 0; }
.standard-tabs button.is-active { box-shadow: inset 0 -4px 0 var(--purple); background: var(--surface-strong); }
.standard-tabs button > span { color: var(--muted); font: 750 10px/1 var(--font-data); }
.standard-tabs button.is-active > span { color: var(--purple); }
.standard-tabs b, .standard-tabs small { display: block; }
.standard-tabs b { font-size: 14px; }
.standard-tabs small { margin-top: 4px; color: var(--body-2); font-size: 10px; }
.standard-panel { padding: 22px; }
.standard-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.standard-section-head h2 { max-width: 790px; margin-top: 7px; font-size: 23px; }
.standard-section-head aside { max-width: 320px; padding: 13px 15px; border-left: 4px solid var(--gold); background: var(--gold-pale); }
.standard-section-head aside b { font-size: 11px; }
.standard-section-head aside p { margin-top: 5px; color: var(--body-2); font-size: 10px; }

.standard-field-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); margin-top: 18px; border: 1px solid var(--line); background: var(--surface); }
.field-domain-nav { border-right: 1px solid var(--line); background: var(--paper-2); }
.field-domain-nav button { display: grid; width: 100%; min-height: 72px; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.field-domain-nav button:last-child { border-bottom: 0; }
.field-domain-nav button.active { box-shadow: inset 4px 0 0 var(--purple); background: var(--surface-strong); }
.field-domain-nav button > span { color: var(--muted); font: 750 9px/1 var(--font-data); }
.field-domain-nav button.active > span { color: var(--purple); }
.field-domain-nav b, .field-domain-nav small { display: block; }
.field-domain-nav b { font-size: 12px; }
.field-domain-nav small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.field-table-region { min-width: 0; }
.field-table-region > header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.field-table-region > header small { color: var(--purple); font: 700 8px/1 var(--font-data); letter-spacing: .08em; }
.field-table-region > header h3 { margin-top: 5px; font-size: 16px; }
.field-table-region > header > span { color: var(--muted); font: 700 9px/1 var(--font-data); }
.standard-field-table { min-width: 1020px; }
.standard-field-table th:nth-child(1) { width: 230px; }
.standard-field-table th:nth-child(2) { width: 100px; }
.standard-field-table th:nth-child(3) { width: 92px; }
.standard-field-table th:nth-child(4) { width: 80px; }
.standard-field-table th:nth-child(5) { width: 145px; }
.standard-field-table td { vertical-align: top; font-size: 11px; }
.standard-field-table td code { display: block; color: var(--ink); font: 700 10px/1.4 var(--font-data); white-space: nowrap; }
.standard-field-table td small { display: block; margin-top: 4px; color: var(--body-2); font-size: 10px; }
.standard-level { display: inline-flex; min-width: 32px; min-height: 23px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--body); font: 750 9px/1 var(--font-data); }
.standard-level--l1 { border-color: var(--green); color: var(--green); }
.standard-level--l2 { border-color: var(--gold); color: var(--gold); }
.standard-level--l3 { border-color: var(--red); color: var(--red); }
.dictionary-contract { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 18px; border: 1px solid var(--line); background: var(--paper-2); }
.dictionary-contract article { min-height: 116px; padding: 15px; border-right: 1px solid var(--line); }
.dictionary-contract article:last-child { border-right: 0; }
.dictionary-contract span { color: var(--purple); font: 800 10px/1 var(--font-data); }
.dictionary-contract h3 { margin-top: 10px; font-size: 13px; }
.dictionary-contract p { margin-top: 6px; color: var(--body-2); font-size: 10px; }

.authorization-levels { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 18px; border: 1px solid var(--line); background: var(--surface); }
.authorization-level { min-height: 260px; padding: 17px; border-right: 1px solid var(--line); border-top: 4px solid var(--muted); }
.authorization-level:last-child { border-right: 0; }
.authorization-level--1 { border-top-color: var(--green); }
.authorization-level--2 { border-top-color: var(--gold); }
.authorization-level--3 { border-top-color: var(--red); }
.authorization-level header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.authorization-level header b { font: 800 15px/1 var(--font-data); }
.authorization-level header span { color: var(--body-2); font-size: 10px; }
.authorization-level h3 { min-height: 64px; margin-top: 20px; font-size: 14px; line-height: 1.55; }
.authorization-level dl { margin-top: 14px; }
.authorization-level dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.authorization-level dt { color: var(--muted); font-size: 9px; }
.authorization-level dd { margin-top: 3px; color: var(--body); font-size: 10px; }
.role-access-matrix { min-width: 1100px; }
.role-access-matrix td, .role-access-matrix th { font-size: 10px; }
.role-access-matrix td:first-child { min-width: 150px; }
.authorization-gates { display: grid; grid-template-columns: 230px minmax(0,1fr); margin-top: 18px; border: 1px solid var(--line); background: var(--surface); }
.authorization-gates > header { padding: 18px; border-right: 1px solid var(--line); }
.authorization-gates > header h2 { margin-top: 7px; font-size: 16px; }
.authorization-gates ol { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; }
.authorization-gates li { min-height: 112px; padding: 15px; border-right: 1px solid var(--line); }
.authorization-gates li:last-child { border-right: 0; }
.authorization-gates li span, .authorization-gates li b, .authorization-gates li small { display: block; }
.authorization-gates li span { color: var(--purple); font: 750 9px/1 var(--font-data); }
.authorization-gates li b { margin-top: 12px; font-size: 12px; }
.authorization-gates li small { margin-top: 5px; color: var(--body-2); font-size: 9px; }
.sensitive-data-warning { margin-top: 18px; padding: 15px 18px; border-left: 4px solid var(--red); background: var(--red-pale); }
.sensitive-data-warning b { color: var(--red); font-size: 11px; }
.sensitive-data-warning p { margin-top: 5px; color: var(--body); font-size: 10px; }

.map-stack-flow { margin-top: 18px; border: 1px solid var(--line); background: var(--paper-2); }
.map-stack-canvas { position: relative; display: grid; width: 1120px; height: 240px; grid-template-columns: repeat(4,1fr); align-items: center; padding: 20px 35px; }
.map-stack-canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-stack-node { position: relative; z-index: 1; width: 210px; min-height: 170px; justify-self: center; padding: 15px; border: 1px solid var(--line); border-top: 4px solid var(--purple); background: var(--surface-strong); }
.map-stack-node--2 { border-top-color: var(--lake); }
.map-stack-node--3 { border-top-color: var(--gold); }
.map-stack-node--4 { border-top-color: var(--green); }
.map-stack-node header { display: flex; align-items: center; justify-content: space-between; }
.map-stack-node header span { color: var(--purple); font: 750 9px/1 var(--font-data); }
.map-stack-node header small { color: var(--muted); font-size: 8px; }
.map-stack-node h3 { margin-top: 15px; font-size: 14px; }
.map-stack-node > p { margin-top: 6px; color: var(--body-2); font-size: 10px; }
.map-stack-node dl { margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
.map-stack-node dl div { display: grid; grid-template-columns: 38px 1fr; gap: 5px; padding: 3px 0; }
.map-stack-node dt { color: var(--muted); font-size: 8px; }
.map-stack-node dd { font-size: 9px; }
.map-standard-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.75fr); margin-top: 18px; border: 1px solid var(--line); background: var(--surface); }
.map-standard-grid > section { min-width: 0; }
.map-standard-grid > section > header, .map-access-rules > header { padding: 17px; border-bottom: 1px solid var(--line); }
.map-standard-grid h2 { margin-top: 6px; font-size: 16px; }
.map-manifest-list { display: grid; grid-template-columns: 1fr 1fr; }
.map-manifest-list article { display: grid; min-height: 106px; grid-template-columns: 28px 1fr auto; gap: 9px; padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-manifest-list article:nth-child(2n) { border-right: 0; }
.map-manifest-list article:nth-last-child(-n+2) { border-bottom: 0; }
.map-manifest-list article > span { color: var(--purple); font: 750 9px/1.4 var(--font-data); }
.map-manifest-list code { color: var(--body-2); font: 700 9px/1.3 var(--font-data); }
.map-manifest-list h3 { margin-top: 5px; font-size: 11px; }
.map-manifest-list p { margin-top: 4px; color: var(--body-2); font-size: 9px; }
.map-manifest-list article > small { color: var(--muted); font-size: 8px; white-space: nowrap; }
.map-access-rules { border-left: 1px solid var(--line); background: var(--paper-2); }
.map-access-rules ol { margin: 0; padding: 0 17px; list-style: none; }
.map-access-rules li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.map-access-rules li b, .map-access-rules li span { display: block; }
.map-access-rules li b { font-size: 11px; }
.map-access-rules li span { margin-top: 3px; color: var(--body-2); font-size: 9px; }
.map-access-rules > div { margin: 17px; padding: 13px; border-left: 3px solid var(--lake); background: var(--lake-pale); }
.map-access-rules > div b { color: var(--lake); font-size: 10px; }
.map-access-rules > div p { margin-top: 5px; color: var(--body); font-size: 9px; }
.map-api-table { min-width: 980px; }
.map-api-table td code { color: var(--ink); font: 700 10px/1.4 var(--font-data); white-space: nowrap; }
.map-acceptance { display: grid; grid-template-columns: 220px minmax(0,1fr); margin-top: 18px; border: 1px solid var(--line); background: var(--surface); }
.map-acceptance > header { padding: 18px; border-right: 1px solid var(--line); }
.map-acceptance > header h2 { margin-top: 7px; font-size: 16px; }
.map-acceptance ol { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.map-acceptance li { display: grid; min-height: 74px; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; padding: 11px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-acceptance li:nth-child(2n) { border-right: 0; }
.map-acceptance li:nth-child(n+7) { border-bottom: 0; }
.map-acceptance li span { color: var(--green); font: 750 9px/1 var(--font-data); }
.map-acceptance li p { font-size: 10px; }

@media (max-width: 1120px) {
  .standard-section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .standard-section-head aside { max-width: none; }
  .authorization-levels { grid-template-columns: 1fr 1fr; }
  .authorization-level { border-bottom: 1px solid var(--line); }
  .authorization-level:nth-child(2n) { border-right: 0; }
  .authorization-level:nth-child(n+3) { border-bottom: 0; }
  .authorization-gates { grid-template-columns: 1fr; }
  .authorization-gates > header { border-right: 0; border-bottom: 1px solid var(--line); }
  .map-standard-grid { grid-template-columns: 1fr; }
  .map-access-rules { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 860px) {
  .standard-status-strip { grid-template-columns: 1fr 1fr; }
  .standard-status-strip article:nth-child(2n) { border-right: 0; }
  .standard-status-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .standard-tabs { grid-template-columns: 1fr; }
  .standard-tabs button { border-right: 0; border-bottom: 1px solid var(--line); }
  .standard-tabs button:last-child { border-bottom: 0; }
  .standard-field-layout { grid-template-columns: 1fr; }
  .field-domain-nav { display: flex; max-width: 100%; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .field-domain-nav button { min-width: 150px; border-right: 1px solid var(--line); border-bottom: 0; }
  .field-domain-nav button.active { box-shadow: inset 0 -4px 0 var(--purple); }
  .dictionary-contract, .authorization-gates ol { grid-template-columns: 1fr 1fr; }
  .dictionary-contract article:nth-child(2n), .authorization-gates li:nth-child(2n) { border-right: 0; }
  .dictionary-contract article:nth-child(-n+2), .authorization-gates li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .map-acceptance { grid-template-columns: 1fr; }
  .map-acceptance > header { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .standard-status-strip, .authorization-levels, .dictionary-contract, .authorization-gates ol, .map-manifest-list, .map-acceptance ol { grid-template-columns: 1fr; }
  .standard-status-strip article, .authorization-level, .dictionary-contract article, .authorization-gates li, .map-manifest-list article, .map-acceptance li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .standard-status-strip article:last-child, .authorization-level:last-child, .dictionary-contract article:last-child, .authorization-gates li:last-child, .map-manifest-list article:last-child, .map-acceptance li:last-child { border-bottom: 0; }
  .standard-panel { padding: 16px; }
  .field-table-region > header { align-items: flex-start; flex-direction: column; gap: 5px; }
  .authorization-level h3 { min-height: 0; }
}

/* AI population discovery · explainable screening */
.heading-actions { display: flex; align-items: center; gap: 8px; }
.screening-status-strip,
.knowledge-status-strip {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.screening-status-strip article,
.knowledge-status-strip article {
  min-height: 106px;
  padding: 17px 19px;
  border-right: 1px solid var(--line);
}
.screening-status-strip article:last-child,
.knowledge-status-strip article:last-child { border-right: 0; }
.screening-status-strip span,
.knowledge-status-strip span { display: block; color: var(--body-2); font-size: 10px; }
.screening-status-strip b,
.knowledge-status-strip b { display: block; margin-top: 6px; font: 700 23px/1.15 var(--font-data); font-variant-numeric: tabular-nums; }
.screening-status-strip small,
.knowledge-status-strip small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.screening-status-strip article:first-child { background: var(--purple-pale); box-shadow: inset 4px 0 0 var(--purple); }
.knowledge-status-strip article:first-child { background: var(--green-pale); box-shadow: inset 4px 0 0 var(--green); }

.screening-command { margin-top: 16px; padding: 0; overflow: hidden; }
.screening-command-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 21px 17px;
  border-bottom: 1px solid var(--line);
}
.screening-command-head h2 { font-size: 18px; }
.screening-command-head > span { color: var(--body-2); font: 700 10px/1.3 var(--font-data); white-space: nowrap; }
.screening-command-grid { display: grid; grid-template-columns: minmax(360px,1.4fr) minmax(260px,.85fr) minmax(230px,.72fr); }
.screening-command-grid > * { min-width: 0; padding: 19px 21px; border-right: 1px solid var(--line); }
.screening-command-grid > *:last-child { border-right: 0; }
.screening-query-builder > label,
.screening-mode-panel > span { display: block; margin-bottom: 8px; color: var(--body-2); font: 700 10px/1.3 var(--font-data); }
.screening-prompt { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 15px; border: 1px solid var(--purple); border-radius: 5px; background: var(--surface-strong); box-shadow: inset 4px 0 0 var(--purple); }
.screening-prompt p { color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.6; }
.screening-prompt button { flex: 0 0 auto; min-height: 34px; padding: 6px 10px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }
.screening-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.screening-examples button { min-height: 46px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); text-align: left; cursor: pointer; }
.screening-examples button.active { border-color: var(--purple); background: var(--purple-pale); }
.screening-examples span { display: block; color: var(--purple); font: 700 9px/1 var(--font-data); }
.screening-examples b { display: block; margin-top: 5px; font-size: 10px; line-height: 1.3; }
.screening-interpretation { background: var(--paper-2); }
.screening-interpretation > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.screening-interpretation > header > span:first-child { color: var(--body-2); font: 700 10px/1.3 var(--font-data); }
.screening-interpretation ol { margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.screening-interpretation li { display: grid; grid-template-columns: 27px 1fr; gap: 7px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.screening-interpretation li > span { color: var(--purple); font: 700 9px/1.5 var(--font-data); }
.screening-interpretation li p { color: var(--body); font-size: 11px; }
.screening-interpretation > button { display: grid; width: 100%; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); text-align: left; cursor: pointer; }
.screening-interpretation > button > span { color: var(--muted); font-size: 9px; }
.screening-interpretation > button > b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.screening-interpretation .ui-icon { width: 14px; height: 14px; color: var(--purple); }
.screening-mode-panel { background: var(--surface-strong); }
.screening-mode-switch { display: grid; gap: 6px; }
.screening-mode-switch button { min-height: 54px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 4px; background: transparent; text-align: left; cursor: pointer; }
.screening-mode-switch button.active { border-color: var(--purple); background: var(--purple-pale); box-shadow: inset 3px 0 0 var(--purple); }
.screening-mode-switch b,
.screening-mode-switch small { display: block; }
.screening-mode-switch b { font-size: 11px; }
.screening-mode-switch small { margin-top: 3px; color: var(--body-2); font-size: 9px; line-height: 1.4; }
.screening-source-scope { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: stretch; border-top: 1px solid var(--line); }
.screening-source-scope > span { display: flex; align-items: center; padding: 13px 20px; color: var(--body-2); font: 700 10px/1.4 var(--font-data); }
.screening-source-scope > div { display: grid; grid-template-columns: repeat(8,minmax(88px,1fr)); border-left: 1px solid var(--line); overflow-x: auto; }
.screening-source-scope article { min-width: 88px; padding: 11px 10px; border-right: 1px solid var(--line); }
.screening-source-scope article:last-child { border-right: 0; }
.screening-source-scope b,
.screening-source-scope span,
.screening-source-scope small { display: block; }
.screening-source-scope b { color: var(--purple); font: 700 9px/1 var(--font-data); }
.screening-source-scope article span { margin-top: 5px; font-size: 9px; white-space: nowrap; }
.screening-source-scope small { margin-top: 3px; color: var(--muted); font-size: 9px; }

.screening-workbench { margin-top: 16px; box-shadow: 0 8px 22px rgba(23,25,47,.05); }
.screening-workbench-grid { display: grid; min-width: 1120px; grid-template-columns: 280px minmax(430px,1fr) 310px; }
.screening-workbench-grid > * { min-width: 0; min-height: 590px; border-right: 1px solid var(--line); }
.screening-workbench-grid > *:last-child { border-right: 0; }
.screening-queue { display: flex; flex-direction: column; background: var(--paper-2); }
.screening-queue > header,
.screening-evidence > header,
.screening-task-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 19px; border-bottom: 1px solid var(--line); }
.screening-queue > header h2,
.screening-evidence > header h2,
.screening-task-panel > header h2 { font-size: 17px; }
.screening-queue > header > span { color: var(--muted); font-size: 9px; white-space: nowrap; }
.screening-object-list { display: grid; gap: 7px; padding: 10px; }
.screening-object-card { display: grid; width: 100%; grid-template-columns: 42px minmax(0,1fr); gap: 9px; min-height: 122px; padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-strong); text-align: left; cursor: pointer; }
.screening-object-card:hover { border-color: var(--purple); }
.screening-object-card.active { border-color: var(--purple); background: var(--purple-pale); box-shadow: inset 3px 0 0 var(--purple); }
.screening-object-card small { color: var(--muted); font-size: 9px; }
.screening-object-card h3 { margin-top: 4px; font-size: 12px; }
.screening-object-card p { margin-top: 5px; color: var(--body-2); font-size: 10px; line-height: 1.45; }
.screening-object-card em { grid-column: 2; color: var(--gold); font-size: 9px; font-style: normal; }
.screening-queue > footer { margin-top: auto; padding: 15px 19px; border-top: 1px solid var(--line); background: var(--surface); }
.screening-queue > footer b { font-size: 10px; }
.screening-queue > footer p { margin-top: 5px; color: var(--body-2); font-size: 10px; }
.screening-evidence { background: var(--surface-strong); }
.screening-evidence > header > div > h2 { margin-top: 3px; }
.screening-signal { margin: 17px 19px 0; padding: 14px 15px; border-left: 4px solid var(--purple); background: var(--purple-pale); }
.screening-signal span { color: var(--purple); font: 700 9px/1.3 var(--font-data); }
.screening-signal p { margin-top: 6px; color: var(--ink-2); font-size: 13px; line-height: 1.65; }
.screening-evidence-ledger { margin: 15px 19px 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.screening-evidence-ledger li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line-quiet); }
.evidence-index { color: var(--lake); font: 700 9px/1.5 var(--font-data); }
.screening-evidence-ledger li header { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.screening-evidence-ledger li header b { font-size: 10px; }
.evidence-type { padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; font-size: 9px; font-style: normal; white-space: nowrap; }
.evidence-type--rule { border-color: #a8c8be; background: var(--green-pale); color: #356f60; }
.evidence-type--ai { border-color: #b9bce6; background: var(--purple-pale); color: #545bae; }
.evidence-type--quality { border-color: #d2b89f; background: var(--gold-pale); color: #7e5e43; }
.screening-evidence-ledger h3 { margin-top: 5px; font-size: 12px; }
.screening-evidence-ledger p { margin-top: 3px; color: var(--body-2); font-size: 10px; }
.screening-evidence-ledger small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.screening-lineage { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 19px 0; border: 1px solid var(--line); }
.screening-lineage > div { min-width: 0; padding: 10px 11px; }
.screening-lineage > div + div { border-left: 1px solid var(--line); }
.screening-lineage span { display: block; color: var(--muted); font-size: 9px; }
.screening-lineage b,
.screening-lineage button { margin-top: 4px; font: 700 9px/1.4 var(--font-data); }
.screening-lineage button { display: flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--purple); cursor: pointer; }
.screening-lineage .ui-icon { width: 12px; height: 12px; }
.screening-task-panel { padding-bottom: 17px; background: var(--surface); }
.screening-task-panel dl { margin: 0 18px; }
.screening-task-panel dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.screening-task-panel dt { color: var(--muted); font-size: 9px; }
.screening-task-panel dd { margin-top: 5px; color: var(--ink); font-size: 11px; line-height: 1.55; }
.screening-review-checks { margin: 13px 18px 0; padding: 12px 13px; border-left: 3px solid var(--gold); background: var(--gold-pale); }
.screening-review-checks > span { color: #7e5e43; font-size: 9px; font-weight: 700; }
.screening-review-checks ul { margin: 8px 0 0; padding-left: 16px; }
.screening-review-checks li { margin-top: 5px; color: var(--body); font-size: 10px; }
.screening-task-panel > .primary-button,
.screening-task-panel > .secondary-button { width: calc(100% - 36px); margin: 13px 18px 0; }
.screening-task-panel > .secondary-button { margin-top: 7px; }
.screening-task-panel > footer { margin: 15px 18px 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.screening-task-panel > footer span,
.screening-task-panel > footer b { display: block; }
.screening-task-panel > footer span { color: var(--red); font-size: 9px; }
.screening-task-panel > footer b { margin-top: 4px; font-size: 10px; line-height: 1.45; }
.screening-boundary-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.screening-boundary-flow article { display: grid; min-height: 104px; grid-template-columns: 32px minmax(0,1fr); gap: 9px; padding: 15px 17px; border-right: 1px solid var(--line); }
.screening-boundary-flow article:last-child { border-right: 0; }
.screening-boundary-flow article > span { color: var(--purple); font: 700 9px/1.5 var(--font-data); }
.screening-boundary-flow b { font-size: 12px; }
.screening-boundary-flow p { margin-top: 4px; color: var(--body-2); font-size: 10px; }
.screening-boundary-flow small { grid-column: 2; color: var(--green); font-size: 9px; font-weight: 700; }

/* Standard knowledge base · AI companion reading and rule governance */
.knowledge-workbench { margin-top: 16px; padding: 0; overflow-x: auto; overflow-y: hidden; box-shadow: 0 8px 22px rgba(23,25,47,.05); }
.knowledge-workbench-grid { display: grid; min-width: 1120px; grid-template-columns: 270px minmax(480px,1fr) 330px; }
.knowledge-workbench-grid > * { min-width: 0; min-height: 650px; border-right: 1px solid var(--line); }
.knowledge-workbench-grid > *:last-child { border-right: 0; }
.knowledge-directory { display: flex; flex-direction: column; background: var(--paper-2); }
.knowledge-directory > header,
.knowledge-standard-detail > header,
.knowledge-ai-reader > header { padding: 18px 19px; border-bottom: 1px solid var(--line); }
.knowledge-directory > header { position: relative; }
.knowledge-directory > header h2,
.knowledge-standard-detail > header h2,
.knowledge-ai-reader > header h2 { font-size: 17px; }
.knowledge-directory > header > span { position: absolute; right: 18px; bottom: 20px; color: var(--muted); font-size: 9px; }
.knowledge-directory > div { display: grid; gap: 7px; padding: 10px; }
.knowledge-directory-item { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-strong); text-align: left; cursor: pointer; }
.knowledge-directory-item:hover { border-color: var(--green); }
.knowledge-directory-item.active { border-color: var(--green); background: var(--green-pale); box-shadow: inset 3px 0 0 var(--green); }
.knowledge-directory-item > span { color: var(--green); font: 700 9px/1.2 var(--font-data); }
.knowledge-directory-item h3 { margin-top: 6px; font-size: 12px; line-height: 1.45; }
.knowledge-directory-item > p { margin-top: 4px; color: var(--body-2); font-size: 9px; line-height: 1.5; }
.knowledge-directory-item footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.knowledge-directory-item footer small { color: var(--muted); font-size: 9px; }
.knowledge-directory-boundary { margin-top: auto; padding: 15px 19px; border-top: 1px solid var(--line); background: var(--surface); }
.knowledge-directory-boundary b { font-size: 10px; }
.knowledge-directory-boundary p { margin-top: 5px; color: var(--body-2); font-size: 10px; }
.knowledge-standard-detail { background: var(--surface-strong); }
.knowledge-standard-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.knowledge-standard-detail > header > div { min-width: 0; }
.knowledge-standard-detail > header p:not(.eyebrow) { max-width: 590px; margin-top: 6px; color: var(--body); font-size: 11px; line-height: 1.6; }
.knowledge-metadata { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 19px 0; border: 1px solid var(--line); }
.knowledge-metadata > div { min-height: 62px; padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.knowledge-metadata > div:nth-child(2n) { border-right: 0; }
.knowledge-metadata > div:nth-last-child(-n+2) { border-bottom: 0; }
.knowledge-metadata dt { color: var(--muted); font-size: 9px; }
.knowledge-metadata dd { margin-top: 4px; font-size: 10px; line-height: 1.5; }
.knowledge-clause-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 17px 19px 0; }
.knowledge-clause-head span { font-size: 11px; font-weight: 700; }
.knowledge-clause-head small { color: var(--muted); font-size: 9px; }
.knowledge-clause-list { margin: 8px 19px 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.knowledge-clause-list li { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 9px; padding: 11px 0; border-bottom: 1px solid var(--line-quiet); }
.knowledge-clause-list li > span { color: var(--green); font: 700 9px/1.4 var(--font-data); }
.knowledge-clause-list header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.knowledge-clause-list h3 { font-size: 11px; }
.knowledge-clause-list em { padding: 2px 6px; border: 1px solid #a8c8be; border-radius: 3px; background: var(--green-pale); color: #356f60; font-size: 9px; font-style: normal; white-space: nowrap; }
.knowledge-clause-list p { margin-top: 4px; color: var(--body-2); font-size: 10px; line-height: 1.55; }
.knowledge-rule-register { margin: 17px 19px 18px; border: 1px solid var(--line); }
.knowledge-rule-register > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px 13px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.knowledge-rule-register > header h2 { font-size: 14px; }
.knowledge-rule-register > header > span { color: var(--muted); font-size: 9px; }
.knowledge-rule-register article { padding: 12px 13px; }
.knowledge-rule-register article + article { border-top: 1px solid var(--line); }
.knowledge-rule-register article > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.knowledge-rule-register article > div b { color: var(--purple); font: 700 9px/1.4 var(--font-data); }
.knowledge-rule-register article > div span { color: var(--muted); font-size: 9px; }
.knowledge-rule-register article h3 { margin-top: 6px; font-size: 11px; }
.knowledge-rule-register article p { margin-top: 4px; color: var(--body-2); font-size: 9px; }
.knowledge-rule-register article footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 9px; }
.knowledge-rule-register article footer small { color: var(--muted); font-size: 9px; }
.knowledge-ai-reader { padding-bottom: 18px; background: var(--paper-2); }
.knowledge-ai-reader > header { display: flex; align-items: flex-start; justify-content: space-between; }
.knowledge-ai-reader > header > span { color: var(--purple); font: 700 9px/1.3 var(--font-data); }
.knowledge-reader-summary,
.knowledge-reader-output,
.knowledge-review-gate { margin: 14px 18px 0; }
.knowledge-reader-summary { padding: 13px 14px; border-left: 4px solid var(--purple); background: var(--purple-pale); }
.knowledge-reader-summary > span,
.knowledge-reader-output > span,
.knowledge-review-gate > span { font-size: 9px; font-weight: 700; }
.knowledge-reader-summary > p { margin-top: 6px; color: var(--body); font-size: 11px; line-height: 1.6; }
.knowledge-reader-output > ol { margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.knowledge-reader-output li { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.knowledge-reader-output li b { font-size: 10px; }
.knowledge-reader-output li p { color: var(--body-2); font-size: 9px; }
.knowledge-review-gate { padding: 12px 13px; border-left: 3px solid var(--gold); background: var(--gold-pale); }
.knowledge-review-gate > span { color: #7e5e43; }
.knowledge-review-gate ul { margin: 8px 0 0; padding-left: 16px; }
.knowledge-review-gate li { margin-top: 5px; color: var(--body); font-size: 9px; }
.knowledge-ai-reader > .primary-button { width: calc(100% - 36px); margin: 14px 18px 0; }
.knowledge-use-note { display: block; margin: 6px 18px 0; color: var(--body-2); font-size: 9px; text-align: center; }
.knowledge-use-note.is-blocked { color: var(--gold); }
.knowledge-ai-reader > footer { margin: 15px 18px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.knowledge-ai-reader > footer b { color: var(--red); font-size: 9px; }
.knowledge-ai-reader > footer p { margin-top: 4px; color: var(--body); font-size: 10px; }
.knowledge-workflow { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.knowledge-workflow > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.knowledge-workflow > header h2 { font-size: 17px; }
.knowledge-workflow > header > p { max-width: 430px; color: var(--body-2); font-size: 10px; text-align: right; }
.knowledge-workflow ol { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.knowledge-workflow li { display: grid; min-height: 132px; grid-template-columns: 31px 1fr; gap: 8px; padding: 15px 16px; border-right: 1px solid var(--line); border-top: 4px solid var(--ink); }
.knowledge-workflow li:last-child { border-right: 0; }
.knowledge-workflow li.is-ai { border-top-color: var(--purple); }
.knowledge-workflow li.is-review { border-top-color: var(--gold); }
.knowledge-workflow li.is-release { border-top-color: var(--green); }
.knowledge-workflow li > span { color: var(--purple); font: 700 9px/1.5 var(--font-data); }
.knowledge-workflow li b { font-size: 11px; }
.knowledge-workflow li p { margin-top: 5px; color: var(--body-2); font-size: 9px; line-height: 1.5; }
.knowledge-workflow li > small { grid-column: 2; color: var(--green); font-size: 9px; font-weight: 700; }

@media (max-width: 1320px) {
  .screening-command-grid { grid-template-columns: minmax(360px,1.25fr) minmax(260px,.9fr); }
  .screening-mode-panel { grid-column: 1 / 3; border-top: 1px solid var(--line); border-right: 0; }
  .screening-mode-switch { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .screening-status-strip,
  .knowledge-status-strip { grid-template-columns: 1fr 1fr; }
  .screening-status-strip article:nth-child(2n),
  .knowledge-status-strip article:nth-child(2n) { border-right: 0; }
  .screening-status-strip article:nth-child(-n+2),
  .knowledge-status-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .screening-command-grid { grid-template-columns: 1fr; }
  .screening-command-grid > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .screening-command-grid > *:last-child { border-bottom: 0; }
  .screening-mode-panel { grid-column: auto; }
  .screening-source-scope { grid-template-columns: 1fr; }
  .screening-source-scope > span { border-bottom: 1px solid var(--line); }
  .screening-source-scope > div { grid-template-columns: repeat(8,110px); border-left: 0; }
  .screening-boundary-flow { grid-template-columns: 1fr 1fr; }
  .screening-boundary-flow article:nth-child(2n) { border-right: 0; }
  .screening-boundary-flow article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .knowledge-workflow { overflow-x: auto; }
  .knowledge-workflow > header { min-width: 800px; }
  .knowledge-workflow ol { min-width: 800px; }
}

@media (max-width: 560px) {
  .heading-actions { flex-wrap: wrap; }
  .screening-status-strip,
  .knowledge-status-strip { grid-template-columns: 1fr; }
  .screening-status-strip article,
  .knowledge-status-strip article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .screening-status-strip article:last-child,
  .knowledge-status-strip article:last-child { border-bottom: 0; }
  .screening-command-head { align-items: flex-start; flex-direction: column; }
  .screening-command-grid > * { padding: 16px; }
  .screening-prompt { align-items: stretch; flex-direction: column; }
  .screening-examples { grid-template-columns: 1fr; }
  .screening-mode-switch { grid-template-columns: 1fr; }
  .screening-boundary-flow { grid-template-columns: 1fr; }
  .screening-boundary-flow article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .screening-boundary-flow article:last-child { border-bottom: 0; }
}

/* Hubei resident map · three complementary analytic views */
.hubei-perspective-switch {
  display: grid;
  grid-template-columns: 290px minmax(0,1fr);
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.hubei-perspective-switch > header { padding: 18px 20px; border-right: 1px solid var(--line); }
.hubei-perspective-switch > header h2 { font-size: 17px; }
.hubei-perspective-switch > header > p:last-child { margin-top: 6px; color: var(--body-2); font-size: 11px; }
.hubei-perspective-switch > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.hubei-perspective-switch button { display: grid; min-width: 0; grid-template-columns: 32px minmax(0,1fr); gap: 9px; padding: 17px 16px; border: 0; border-right: 1px solid var(--line); background: var(--paper-2); text-align: left; cursor: pointer; }
.hubei-perspective-switch button:last-child { border-right: 0; }
.hubei-perspective-switch button.active { background: var(--surface-strong); box-shadow: inset 0 -4px 0 var(--purple); }
.hubei-perspective-switch button > span { color: var(--purple); font: 750 10px/1.4 var(--font-data); }
.hubei-perspective-switch button b,
.hubei-perspective-switch button small { display: block; }
.hubei-perspective-switch button b { font-size: 12px; }
.hubei-perspective-switch button small { margin-top: 4px; color: var(--body-2); font-size: 10px; line-height: 1.45; }

.hubei-flow-workbench.panel,
.hubei-mismatch-workbench.panel { padding: 0; overflow: hidden; }
.hubei-flow-head,
.hubei-mismatch-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 19px 21px; border-bottom: 1px solid var(--line); }
.hubei-flow-head h2,
.hubei-mismatch-head h2 { font-size: 19px; }
.hubei-flow-head p:not(.eyebrow),
.hubei-mismatch-head p:not(.eyebrow) { margin-top: 6px; color: var(--body-2); font-size: 11px; }
.hubei-flow-head > span { color: var(--body-2); font-size: 10px; white-space: nowrap; }
.hubei-flow-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.hubei-flow-summary article { min-height: 100px; padding: 15px 18px; border-right: 1px solid var(--line); }
.hubei-flow-summary article:last-child { border-right: 0; }
.hubei-flow-summary span,
.hubei-flow-summary b,
.hubei-flow-summary small { display: block; }
.hubei-flow-summary span { color: var(--body-2); font-size: 10px; }
.hubei-flow-summary b { margin-top: 6px; font: 750 23px/1.2 var(--font-data); font-variant-numeric: tabular-nums; }
.hubei-flow-summary small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.hubei-flow-summary article:nth-child(3) { background: var(--green-pale); }
.hubei-flow-summary article.is-outflow { background: var(--red-pale); box-shadow: inset 4px 0 0 var(--red); }
.hubei-sankey-toolbar { display: grid; grid-template-columns: 110px minmax(0,1fr) minmax(250px,.65fr); align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.hubei-sankey-toolbar > span { color: var(--body-2); font-size: 10px; font-weight: 700; }
.hubei-sankey-toolbar > div { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: thin; }
.hubei-sankey-toolbar button { display: inline-flex; min-height: 32px; flex: 0 0 auto; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-size: 10px; cursor: pointer; }
.hubei-sankey-toolbar button.active { border-color: var(--purple); background: var(--purple-pale); color: var(--purple); font-weight: 700; }
.hubei-sankey-toolbar button small { color: var(--muted); font: 700 9px/1 var(--font-data); }
.hubei-sankey-toolbar > p { color: var(--body-2); font-size: 9px; text-align: right; }
.hubei-sankey-scroll { background: var(--surface-strong); }
.hubei-sankey-canvas { width: 100%; min-width: 1180px; }
.hubei-sankey-stages { display: grid; grid-template-columns: repeat(4,1fr); height: 52px; align-items: end; padding: 0 28px 9px; border-bottom: 1px solid var(--line); }
.hubei-sankey-stages > div { display: flex; align-items: baseline; gap: 8px; }
.hubei-sankey-stages span { color: var(--purple); font: 750 9px/1 var(--font-data); }
.hubei-sankey-stages b { font-size: 11px; }
.hubei-sankey-svg { display: block; width: 1180px; height: 520px; background: var(--surface-strong); }
.hubei-sankey-link { fill: none; stroke-opacity: .3; transition: opacity .16s ease, stroke-opacity .16s ease; }
.hubei-sankey-link.is-focused { stroke-opacity: .62; }
.hubei-sankey-link.is-muted { opacity: .075; }
.hubei-sankey-node { cursor: pointer; transition: opacity .16s ease; }
.hubei-sankey-node.is-muted { opacity: .18; }
.hubei-sankey-node.is-selected rect { stroke: var(--ink); stroke-width: 3; }
.hubei-sankey-node:focus { outline: none; }
.hubei-sankey-node:focus rect { stroke: var(--purple); stroke-width: 3; }
.hubei-sankey-label,
.hubei-sankey-value { paint-order: stroke; stroke: var(--surface-strong); stroke-width: 5px; stroke-linejoin: round; }
.hubei-sankey-label { fill: var(--ink); font: 700 10px/1 var(--font-ui); }
.hubei-sankey-value { fill: var(--body-2); font: 700 9px/1 var(--font-data); font-variant-numeric: tabular-nums; }
.hubei-sankey-detail { display: grid; grid-template-columns: 1fr 1fr 1.25fr; border-top: 1px solid var(--line); }
.hubei-sankey-detail article { min-height: 160px; padding: 17px 19px; border-right: 1px solid var(--line); }
.hubei-sankey-detail article:last-child { border-right: 0; }
.hubei-sankey-detail article > span { color: var(--purple); font: 750 9px/1.2 var(--font-data); letter-spacing: .08em; }
.hubei-sankey-detail h3 { margin-top: 7px; font-size: 14px; }
.hubei-sankey-detail article > b { display: block; margin-top: 5px; font: 750 16px/1.2 var(--font-data); }
.hubei-sankey-detail article > p { margin-top: 7px; color: var(--body-2); font-size: 11px; }
.hubei-sankey-detail ol { margin: 8px 0 0; padding: 0; list-style: none; }
.hubei-sankey-detail li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line-quiet); }
.hubei-sankey-detail li b { font-size: 10px; }
.hubei-sankey-detail li small { color: var(--body-2); font: 700 9px/1 var(--font-data); }
.hubei-sankey-detail article.is-interpretation { background: var(--paper-2); }
.hubei-sankey-detail article.is-interpretation button { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; border: 0; background: transparent; color: var(--purple); font-size: 10px; font-weight: 700; cursor: pointer; }
.hubei-sankey-detail .ui-icon { width: 14px; height: 14px; }

.hubei-mismatch-thesis { display: grid; grid-template-columns: 1fr 1fr 1.35fr; border-bottom: 1px solid var(--line); }
.hubei-mismatch-thesis > * { min-height: 142px; padding: 18px 20px; border-right: 1px solid var(--line); }
.hubei-mismatch-thesis > *:last-child { border-right: 0; }
.hubei-mismatch-thesis article > span,
.hubei-mismatch-thesis article > b { display: block; }
.hubei-mismatch-thesis article > span { color: var(--body-2); font-size: 10px; }
.hubei-mismatch-thesis article > b { margin-top: 7px; font: 750 28px/1.1 var(--font-data); }
.hubei-mismatch-thesis article > p { margin-top: 8px; color: var(--body-2); font-size: 11px; }
.hubei-mismatch-thesis article:first-child { background: var(--green-pale); }
.hubei-mismatch-thesis article.is-outflow { background: var(--red-pale); }
.hubei-mismatch-thesis aside { border-left: 4px solid var(--gold); background: var(--gold-pale); }
.hubei-mismatch-thesis aside b { color: #7e5e43; font-size: 12px; }
.hubei-mismatch-thesis aside p { margin-top: 8px; color: var(--body); font-size: 11px; line-height: 1.65; }
.hubei-mismatch-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(330px,.8fr); border-bottom: 1px solid var(--line); }
.mismatch-cause-panel { border-right: 1px solid var(--line); }
.mismatch-cause-panel > header,
.mismatch-destination-panel > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.mismatch-cause-panel h2,
.mismatch-destination-panel h2 { font-size: 16px; }
.mismatch-cause-panel > header > span { color: var(--body-2); font-size: 9px; }
.mismatch-cause-panel > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.mismatch-cause-panel article { min-height: 248px; padding: 16px 17px; border-right: 1px solid var(--line); }
.mismatch-cause-panel article:last-child { border-right: 0; }
.mismatch-cause-panel article > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.mismatch-cause-panel article > header span,
.mismatch-cause-panel article > header b { display: block; }
.mismatch-cause-panel article > header span { font-size: 10px; }
.mismatch-cause-panel article > header b { margin-top: 4px; font: 750 16px/1.2 var(--font-data); }
.mismatch-cause-panel article > header strong { color: var(--red); font: 750 13px/1.2 var(--font-data); }
.mismatch-bar { height: 8px; margin-top: 12px; background: var(--paper-2); overflow: hidden; }
.mismatch-bar i { display: block; width: var(--mismatch-width); height: 100%; background: var(--red); }
.mismatch-cause-panel article > p { min-height: 52px; margin-top: 11px; color: var(--body-2); font-size: 10px; }
.mismatch-cause-panel article > footer { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }
.mismatch-cause-panel article > footer span,
.mismatch-cause-panel article > footer small { display: block; }
.mismatch-cause-panel article > footer span { color: var(--ink); font-size: 10px; font-weight: 700; }
.mismatch-cause-panel article > footer small { margin-top: 5px; color: var(--green); font-size: 9px; }
.mismatch-destination-panel { background: var(--paper-2); }
.mismatch-destination-bars { padding: 17px 19px; }
.mismatch-destination-bars article { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mismatch-destination-bars span { font-size: 10px; }
.mismatch-destination-bars b { font: 750 15px/1 var(--font-data); }
.mismatch-destination-bars i { grid-column: 1 / 3; display: block; width: var(--destination-width); height: 8px; background: var(--gold); }
.mismatch-destination-bars article:first-child i { background: var(--red); }
.mismatch-destination-bars small { grid-row: 1 / 3; grid-column: 3; color: var(--body-2); font: 750 10px/1 var(--font-data); }
.mismatch-governance-loop { margin: 0 19px 18px; padding: 13px 14px; border-left: 4px solid var(--green); background: var(--green-pale); }
.mismatch-governance-loop > span { color: var(--green); font-size: 9px; font-weight: 700; }
.mismatch-governance-loop ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 9px 0 0; padding: 0; list-style: none; }
.mismatch-governance-loop li { color: var(--body); font-size: 9px; }
.mismatch-governance-loop li b { margin-right: 5px; color: var(--green); font: 750 9px/1 var(--font-data); }
.mismatch-department-table { padding: 18px 20px 0; }
.mismatch-department-table > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.mismatch-department-table h2 { font-size: 16px; }
.mismatch-department-table > header > p { color: var(--body-2); font-size: 10px; text-align: right; }
.mismatch-department-table .data-table { min-width: 860px; }
.hubei-mismatch-boundary { margin: 18px 20px 20px; padding: 14px 16px; border-left: 4px solid var(--gold); background: var(--gold-pale); }
.hubei-mismatch-boundary b { color: #7e5e43; font-size: 11px; }
.hubei-mismatch-boundary p { margin-top: 5px; color: var(--body); font-size: 10px; line-height: 1.65; }

@media (max-width: 1120px) {
  .hubei-perspective-switch { grid-template-columns: 1fr; }
  .hubei-perspective-switch > header { border-right: 0; border-bottom: 1px solid var(--line); }
  .hubei-sankey-toolbar { grid-template-columns: 100px minmax(0,1fr); }
  .hubei-sankey-toolbar > p { grid-column: 2; text-align: left; }
  .hubei-mismatch-grid { grid-template-columns: 1fr; }
  .mismatch-cause-panel { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .hubei-perspective-switch > div { grid-template-columns: 1fr; }
  .hubei-perspective-switch button { border-right: 0; border-bottom: 1px solid var(--line); }
  .hubei-perspective-switch button:last-child { border-bottom: 0; }
  .hubei-flow-head,
  .hubei-mismatch-head { align-items: flex-start; flex-direction: column; }
  .hubei-flow-summary { grid-template-columns: 1fr 1fr; }
  .hubei-flow-summary article:nth-child(2n) { border-right: 0; }
  .hubei-flow-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hubei-sankey-detail { display: flex; min-width: 0; overflow-x: auto; }
  .hubei-sankey-detail article { flex: 1 0 270px; }
  .hubei-mismatch-thesis { grid-template-columns: 1fr 1fr; }
  .hubei-mismatch-thesis > *:nth-child(2) { border-right: 0; }
  .hubei-mismatch-thesis aside { grid-column: 1 / 3; border-top: 1px solid var(--line); border-right: 0; }
  .mismatch-cause-panel > div { grid-template-columns: 1fr; }
  .mismatch-cause-panel article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .mismatch-cause-panel article:last-child { border-bottom: 0; }
  .mismatch-cause-panel article > p { min-height: 0; }
}

@media (max-width: 560px) {
  .hubei-flow-summary,
  .hubei-mismatch-thesis { grid-template-columns: 1fr; }
  .hubei-flow-summary article,
  .hubei-mismatch-thesis > * { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hubei-flow-summary article:last-child,
  .hubei-mismatch-thesis > *:last-child { border-bottom: 0; }
  .hubei-sankey-toolbar { grid-template-columns: 1fr; }
  .hubei-sankey-toolbar > p { grid-column: 1; }
  .hubei-mismatch-thesis aside { grid-column: auto; }
  .mismatch-cause-panel > header,
  .mismatch-destination-panel > header,
  .mismatch-department-table > header { align-items: flex-start; flex-direction: column; }
  .mismatch-department-table > header > p { text-align: left; }
}

/* Commercial operations · investment, county pricing and product economy */
.commercial-view { padding-bottom: 72px; }
.commercial-command.panel { padding: 0; overflow: hidden; }
.commercial-command > header,
.commercial-pricing > header,
.commercial-catalog > header,
.marketplace-panel > header,
.commercial-loop-panel > header,
.commercial-waterfall-panel > header,
.commercial-investment-panel > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 19px 21px; border-bottom: 1px solid var(--line); }
.commercial-command > header h2,
.commercial-pricing > header h2,
.commercial-catalog > header h2,
.marketplace-panel > header h2,
.commercial-loop-panel > header h2,
.commercial-waterfall-panel > header h2,
.commercial-investment-panel > header h2 { font-size: 18px; }
.commercial-command > header p:not(.eyebrow),
.commercial-pricing > header p:not(.eyebrow),
.marketplace-panel > header > p { margin-top: 5px; color: var(--body-2); font-size: 11px; }
.commercial-scenario-switch { display: grid; grid-template-columns: repeat(3,110px); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.commercial-scenario-switch button { min-height: 54px; padding: 8px 12px; border: 0; border-right: 1px solid var(--line); background: var(--paper-2); cursor: pointer; }
.commercial-scenario-switch button:last-child { border-right: 0; }
.commercial-scenario-switch button span,
.commercial-scenario-switch button small { display: block; }
.commercial-scenario-switch button span { font-size: 12px; font-weight: 700; }
.commercial-scenario-switch button small { margin-top: 3px; color: var(--body-2); font: 700 9px/1.2 var(--font-data); }
.commercial-scenario-switch button.active { background: var(--ink); color: #fff; }
.commercial-scenario-switch button.active small { color: rgba(255,255,255,.68); }
.commercial-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.commercial-kpis article { min-height: 128px; padding: 18px 20px; border-right: 1px solid var(--line); }
.commercial-kpis article:last-child { border-right: 0; }
.commercial-kpis span,
.commercial-kpis b,
.commercial-kpis p { display: block; }
.commercial-kpis span { color: var(--body-2); font-size: 10px; }
.commercial-kpis b { margin-top: 8px; font: 750 30px/1 var(--font-data); font-variant-numeric: tabular-nums; }
.commercial-kpis b small { display: inline; margin-left: 5px; font-size: 11px; }
.commercial-kpis p { margin-top: 10px; color: var(--muted); font-size: 9px; }
.commercial-kpis article.is-primary { background: var(--ink); color: #fff; }
.commercial-kpis article.is-primary span,
.commercial-kpis article.is-primary p { color: rgba(255,255,255,.67); }

.commercial-finance-grid { display: grid; grid-template-columns: minmax(0,1.62fr) minmax(360px,.78fr); gap: 18px; margin-top: 18px; }
.commercial-waterfall-panel,
.commercial-investment-panel,
.commercial-pricing,
.marketplace-panel,
.commercial-loop-panel,
.commercial-catalog { padding: 0; overflow: hidden; }
.commercial-waterfall-panel > header aside { text-align: right; }
.commercial-waterfall-panel > header aside b,
.commercial-waterfall-panel > header aside span { display: block; }
.commercial-waterfall-panel > header aside b { color: var(--green); font: 750 18px/1.2 var(--font-data); }
.commercial-waterfall-panel > header aside span { margin-top: 3px; color: var(--body-2); font-size: 9px; }
.commercial-chart-scroll { overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--surface-strong); }
.commercial-waterfall-svg { display: block; min-width: 760px; width: 100%; height: auto; }
.commercial-waterfall-axis,
.commercial-waterfall-connector { stroke: var(--line); stroke-width: 1; }
.commercial-waterfall-connector { stroke-dasharray: 4 3; }
.commercial-waterfall-bar { fill: var(--lake); }
.commercial-waterfall-bar--0 { fill: var(--purple); }
.commercial-waterfall-bar--1 { fill: var(--ink); }
.commercial-waterfall-bar--2 { fill: var(--rose); }
.commercial-waterfall-bar--3 { fill: var(--green); }
.commercial-waterfall-bar--4 { fill: var(--gold); }
.commercial-waterfall-total { fill: var(--ink); }
.commercial-waterfall-value { fill: var(--ink); font: 750 12px/1 var(--font-data); text-anchor: middle; font-variant-numeric: tabular-nums; }
.commercial-waterfall-label { fill: var(--body); font: 700 9px/1 var(--font-ui); text-anchor: middle; }
.commercial-waterfall-unit { fill: var(--muted); font: 9px/1 var(--font-ui); }
.commercial-stream-ledger { display: grid; grid-template-columns: repeat(var(--stream-count,5),minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.commercial-stream-ledger li { min-width: 0; min-height: 118px; padding: 13px 14px; border-right: 1px solid var(--line); }
.commercial-stream-ledger li:last-child { border-right: 0; }
.commercial-stream-ledger li > span { color: var(--purple); font: 750 9px/1 var(--font-data); }
.commercial-stream-ledger b,
.commercial-stream-ledger small,
.commercial-stream-ledger strong { display: block; }
.commercial-stream-ledger b { margin-top: 6px; font-size: 10px; }
.commercial-stream-ledger small { min-height: 40px; margin-top: 5px; color: var(--body-2); font-size: 8px; line-height: 1.45; }
.commercial-stream-ledger strong { margin-top: 8px; font: 750 13px/1 var(--font-data); }

.investment-allocation { display: grid; grid-template-columns: var(--share) calc(100% - var(--share)); min-height: 112px; border-bottom: 1px solid var(--line); }
.investment-allocation > div { min-width: 0; padding: 16px; }
.investment-known { background: var(--purple-pale); border-right: 1px solid var(--line); }
.investment-pending { background: var(--paper-2); }
.investment-allocation span,
.investment-allocation b,
.investment-allocation small { display: block; }
.investment-allocation span { font-size: 9px; color: var(--body-2); }
.investment-allocation b { margin-top: 7px; font: 750 20px/1 var(--font-data); }
.investment-allocation small { margin-top: 6px; color: var(--body-2); font-size: 8px; line-height: 1.4; }
.investment-pools article { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.investment-pools article > span { color: var(--purple); font: 750 9px/1.4 var(--font-data); }
.investment-pools h3 { font-size: 11px; }
.investment-pools p { margin-top: 4px; color: var(--body-2); font-size: 9px; line-height: 1.5; }
.commercial-assumption { margin: 14px 16px 16px; padding: 12px 13px; border-left: 4px solid var(--gold); background: var(--gold-pale); }
.commercial-assumption b { color: #7e5e43; font-size: 10px; }
.commercial-assumption p { margin-top: 5px; color: var(--body); font-size: 9px; line-height: 1.55; }

.commercial-pricing { margin-top: 18px; }
.commercial-pricing > header > span { color: var(--purple); font: 750 10px/1 var(--font-data); white-space: nowrap; }
.county-tier-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.county-tier-grid button { display: grid; min-width: 0; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 104px; padding: 16px 18px; border: 0; border-right: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; }
.county-tier-grid button:last-child { border-right: 0; }
.county-tier-grid button > span { color: var(--purple); font: 750 24px/1 var(--font-data); }
.county-tier-grid b,
.county-tier-grid small,
.county-tier-grid strong,
.county-tier-grid em { display: block; }
.county-tier-grid b { font-size: 12px; }
.county-tier-grid small { margin-top: 5px; color: var(--body-2); font-size: 9px; line-height: 1.45; }
.county-tier-grid strong { color: var(--ink); font: 750 18px/1 var(--font-data); text-align: right; }
.county-tier-grid em { margin-top: 5px; color: var(--body-2); font: normal 8px/1.2 var(--font-ui); }
.county-tier-grid button.active { background: var(--ink); color: #fff; box-shadow: inset 0 -4px 0 var(--purple); }
.county-tier-grid button.active > span,
.county-tier-grid button.active strong { color: #fff; }
.county-tier-grid button.active small,
.county-tier-grid button.active em { color: rgba(255,255,255,.65); }
.county-tier-detail { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.county-tier-detail > div,
.county-tier-detail > aside { min-height: 126px; padding: 17px 18px; border-right: 1px solid var(--line); }
.county-tier-detail > *:last-child { border-right: 0; }
.county-tier-detail span,
.county-tier-detail b,
.county-tier-detail small { display: block; }
.county-tier-detail span { color: var(--body-2); font-size: 9px; }
.county-tier-detail b { margin-top: 7px; font: 750 14px/1.2 var(--font-data); }
.county-tier-detail small { margin-top: 7px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.county-tier-detail aside { grid-column: 1 / -1; min-height: 0; border-top: 1px solid var(--line); border-left: 4px solid var(--green); background: var(--green-pale); }
.county-tier-detail aside b { color: var(--green); font-size: 10px; }
.county-tier-detail aside p { margin-top: 7px; color: var(--body); font-size: 9px; line-height: 1.55; }

.commercial-ecosystem-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(320px,.65fr); gap: 18px; margin-top: 18px; }
.marketplace-split { display: grid; grid-template-columns: 7fr 2fr 1fr; min-height: 150px; border-bottom: 1px solid var(--line); }
.marketplace-split article { min-width: 0; padding: 18px; border-right: 1px solid var(--line); }
.marketplace-split article:last-child { border-right: 0; }
.marketplace-split article:first-child { background: var(--purple-pale); }
.marketplace-split article:nth-child(2) { background: var(--lake-pale); }
.marketplace-split article:nth-child(3) { background: var(--green-pale); }
.marketplace-split span,
.marketplace-split b,
.marketplace-split small { display: block; }
.marketplace-split span { font-size: 10px; }
.marketplace-split b { margin-top: 8px; font: 750 28px/1 var(--font-data); }
.marketplace-split small { margin-top: 9px; color: var(--body-2); font-size: 9px; line-height: 1.5; }
.marketplace-lists { display: grid; grid-template-columns: 1fr 1fr; }
.marketplace-lists section { padding: 15px 18px; border-right: 1px solid var(--line); }
.marketplace-lists section:last-child { border-right: 0; }
.marketplace-lists section > span { color: var(--purple); font-size: 9px; font-weight: 700; }
.marketplace-lists ul { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.marketplace-lists li { padding: 8px 5px; border: 1px solid var(--line); background: var(--paper-2); font-size: 8px; text-align: center; }
.commercial-loop-panel ol { margin: 0; padding: 0; list-style: none; }
.commercial-loop-panel li { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px; min-height: 100px; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.commercial-loop-panel li:last-child { border-bottom: 0; }
.commercial-loop-panel li > span { color: var(--purple); font: 750 18px/1 var(--font-data); }
.commercial-loop-panel li b,
.commercial-loop-panel li small { display: block; }
.commercial-loop-panel li b { font-size: 12px; }
.commercial-loop-panel li small { margin-top: 7px; color: var(--body-2); font-size: 9px; line-height: 1.5; }

.commercial-catalog { margin-top: 18px; }
.commercial-catalog > header aside { max-width: 390px; padding-left: 14px; border-left: 4px solid var(--gold); }
.commercial-catalog > header aside b { font-size: 10px; color: #7e5e43; }
.commercial-catalog > header aside p { margin-top: 5px; color: var(--body-2); font-size: 9px; }
.commercial-product-table { min-width: 980px; }
.commercial-product-table td:first-child span,
.commercial-product-table td:first-child b { display: block; }
.commercial-product-table td:first-child span { color: var(--purple); font: 750 9px/1 var(--font-data); }
.commercial-product-table td:first-child b { margin-top: 4px; }
.commercial-product-table td strong { white-space: nowrap; font-size: 10px; }
.commercial-catalog > footer { display: grid; grid-template-columns: 90px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--paper-2); }
.commercial-catalog > footer span { color: var(--purple); font-size: 9px; font-weight: 700; }
.commercial-catalog > footer p { color: var(--body-2); font-size: 9px; line-height: 1.55; }
.commercial-catalog > footer button { padding: 8px 11px; border: 1px solid var(--line); background: var(--surface); color: var(--purple); font-size: 9px; font-weight: 700; cursor: pointer; }

@media (max-width: 1180px) {
  .commercial-finance-grid,
  .commercial-ecosystem-grid { grid-template-columns: 1fr; }
  .county-tier-detail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .county-tier-detail > aside { grid-column: 1 / 3; border-top: 1px solid var(--line); border-right: 0; }
}

@media (max-width: 860px) {
  .commercial-command > header,
  .commercial-pricing > header,
  .commercial-catalog > header { align-items: flex-start; flex-direction: column; }
  .commercial-kpis { grid-template-columns: 1fr 1fr; }
  .commercial-kpis article:nth-child(2n) { border-right: 0; }
  .commercial-kpis article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .county-tier-grid { grid-template-columns: 1fr; }
  .county-tier-grid button { border-right: 0; border-bottom: 1px solid var(--line); }
  .county-tier-grid button:last-child { border-bottom: 0; }
  .commercial-stream-ledger { min-width: 720px; }
  .commercial-waterfall-panel { overflow-x: auto; }
  .marketplace-lists ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .commercial-scenario-switch { width: 100%; grid-template-columns: repeat(3,1fr); }
  .commercial-kpis { grid-template-columns: 1fr; }
  .commercial-kpis article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .commercial-kpis article:last-child { border-bottom: 0; }
  .commercial-kpis article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .county-tier-grid button { grid-template-columns: 34px minmax(0,1fr); }
  .county-tier-grid button strong { grid-column: 2; text-align: left; }
  .county-tier-detail { grid-template-columns: 1fr; }
  .county-tier-detail > div,
  .county-tier-detail > aside { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .county-tier-detail > aside { grid-column: auto; }
  .marketplace-split { grid-template-columns: 1fr; }
  .marketplace-split article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .marketplace-split article:last-child { border-bottom: 0; }
  .marketplace-lists { grid-template-columns: 1fr; }
  .marketplace-lists section { border-right: 0; border-bottom: 1px solid var(--line); }
  .marketplace-lists section:last-child { border-bottom: 0; }
  .commercial-catalog > footer { grid-template-columns: 1fr; }
  .commercial-catalog > footer button { justify-self: start; }
}
