:root {
  color-scheme: light;
  --bg: #f5f5f0;
  --paper: #fff;
  --ink: #203830;
  --muted: #61716a;
  --line: #dee5de;
  --accent: #245e4e;
  --soft: #eaf1eb;
  --gold: #856329;
  --hero: #183f36;
  --serif: Georgia, "Songti SC", "Noto Serif SC", SimSun, serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial,
    sans-serif;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101e19;
  --paper: #182b23;
  --ink: #e8efe6;
  --muted: #abbdb0;
  --line: #33483b;
  --accent: #a0d4b9;
  --soft: #223b2e;
  --gold: #d5b473;
  --hero: #102e25;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 15px/1.65 var(--sans);
  color: var(--ink);
  background: var(--bg);
}
a {
  color: var(--accent);
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
p + p {
  margin-top: 12px;
}
h1,
h2,
h3 {
  text-wrap: pretty;
}
img {
  max-width: 100%;
}
small {
  font-size: 12px;
}
.container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}
.utility-bar {
  background: var(--hero);
  color: #d5dfd1;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}
.utility-bar span:last-child {
  font-size: 10px;
  letter-spacing: 0.14em;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--ink);
}
.brand img {
  border-radius: 9px;
}
.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 2px;
}
.version {
  color: var(--accent);
  margin-left: 5px;
}
.main-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 23px;
  margin-left: auto;
  white-space: nowrap;
}
.main-nav a {
  font-size: 13px;
  color: var(--muted);
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  padding-top: 3px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--gold);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  white-space: nowrap;
}
.collection-link {
  display: flex;
  gap: 5px;
  align-items: center;
}
.collection-link span {
  background: var(--soft);
  border-radius: 5px;
  padding: 0 5px;
  font-size: 10px;
}
.icon-button,
.menu-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
  min-height: 34px;
  font-size: 12px;
}
.icon-button:hover,
.menu-button:hover {
  background: var(--soft);
}
.menu-button {
  display: none;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 15px;
  background: var(--paper);
  padding: 12px;
  transform: translateY(-110%);
}
.skip-link:focus {
  transform: none;
}
main {
  min-height: 70vh;
  padding-bottom: 30px;
}
main:focus {
  outline: none;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 650;
  color: var(--gold);
  text-transform: uppercase;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding: 22px 0 18px;
  display: flex;
  gap: 10px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.page-head h1 {
  font: 600 36px/1.35 var(--serif);
  margin: 6px 0 10px;
  letter-spacing: 0.01em;
}
.page-head p {
  max-width: 780px;
  color: var(--muted);
  font-size: 14px;
}
.badge {
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  white-space: nowrap;
}
.badge.verified {
  color: var(--accent);
  background: var(--soft);
  border-color: transparent;
}
.badge.attention {
  color: #926225;
  background: #f6f0e4;
  border-color: transparent;
}
html[data-theme="dark"] .badge.attention {
  color: #e1c48b;
  background: #3b3222;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 17px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 7px;
  min-height: 42px;
  line-height: 1.4;
}
.btn:hover {
  border-color: var(--accent);
  background: var(--soft);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.btn.text {
  padding: 7px 0;
  border: 0;
  background: none;
  color: var(--accent);
  min-height: auto;
}
.btn.small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}
.arrow {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
}
.hero {
  margin-top: 30px;
  background: var(--hero);
  color: #f5f4e9;
  border-radius: 12px;
  padding: 45px 48px 35px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  column-gap: 76px;
}
.hero .eyebrow {
  color: #c9b77d;
  font-weight: 500;
}
.hero h1 {
  font: 500 clamp(34px, 3.35vw, 49px) / 1.3 var(--serif);
  letter-spacing: 0.04em;
  margin: 16px 0;
}
.hero h1 span {
  display: block;
}
.hero .lead {
  font-size: 14px;
  line-height: 1.9;
  color: #c1d0c5;
  max-width: 590px;
  margin: 0 0 23px;
}
.hero-search {
  display: flex;
  align-items: center;
  padding: 5px 6px 5px 15px;
  background: #fff;
  border: 1px solid #c7d3c8;
  border-radius: 8px;
  gap: 8px;
  max-width: 660px;
}
.hero-search input {
  border: 0;
  background: #fff;
  color: #203830;
  min-width: 0;
  flex: 1;
  padding: 9px 0;
  outline-offset: 0;
  font-size: 14px;
}
.hero-search input::placeholder {
  color: #697970;
}
.hero-search .btn {
  background: #9b7c43;
  border-color: #9b7c43;
  color: #fff;
  white-space: nowrap;
  padding: 10px 16px;
}
.quick-search {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 11px;
  color: #a5bdb0;
}
.quick-search a {
  color: #d1decf;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #5e8070;
}
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #496957;
  padding-left: 35px;
}
.hero-right .path-title {
  font: 500 22px var(--serif);
  margin: 10px 0 12px;
}
.research-path {
  list-style: none;
  padding: 0;
  margin: 0;
}
.research-path li + li {
  border-top: 1px solid #456552;
}
.research-path a {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #fff;
  padding: 15px 0;
}
.path-number {
  font: italic 21px var(--serif);
  color: #c9b77d;
}
.research-path strong {
  font-size: 13px;
  font-weight: 500;
  display: block;
}
.research-path small {
  font-size: 11px;
  color: #b7cbbb;
  display: block;
  margin-top: 3px;
}
.research-path .arrow {
  margin-left: auto;
  color: #c9b77d;
}
.hero-foot {
  grid-column: 1/-1;
  display: flex;
  gap: 18px;
  align-items: center;
  border-top: 1px solid #496957;
  margin-top: 28px;
  padding-top: 16px;
  font-size: 10px;
  color: #b4c8b9;
}
.hero-foot span:last-child {
  margin-left: auto;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  margin: 20px 0 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px 0;
}
.stat-row a {
  padding: 0 30px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-row a + a {
  border-left: 1px solid var(--line);
}
.stat-row strong {
  font: 400 36px/1.2 var(--serif);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-row b {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.stat-row small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.section {
  margin: 34px 0 44px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}
.section-heading h2 {
  font: 600 24px/1.4 var(--serif);
  margin: 4px 0;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
}
.section-heading a {
  font-size: 12px;
  white-space: nowrap;
}
.library-doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.library-door {
  padding: 25px 27px;
  color: var(--ink);
}
.library-door + .library-door {
  border-left: 1px solid var(--line);
}
.library-door:hover {
  background: var(--soft);
}
.door-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold);
  margin-bottom: 16px;
}
.door-top span:first-child {
  font: italic 24px var(--serif);
}
.library-door h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.library-door p {
  font-size: 12px;
  color: var(--muted);
  max-width: 310px;
}
.door-foot {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-size: 11px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.topic-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 9px;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 215px;
}
.topic-card:hover {
  border-color: var(--accent);
  background: var(--soft);
}
.topic-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 15px;
  letter-spacing: 0.03em;
}
.topic-meta b {
  font: italic 22px var(--serif);
  font-weight: 400;
  color: var(--muted);
}
.topic-card h3 {
  font: 600 19px/1.55 var(--serif);
  margin-bottom: 8px;
}
.topic-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.topic-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  padding-top: 18px;
  margin-top: auto;
  color: var(--accent);
  font-size: 11px;
}
.country-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.country-pill {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 6px;
  font-size: 12px;
}
.country-pill span {
  font-size: 10px;
  color: var(--muted);
}
.country-pill:hover,
.country-pill.active {
  background: var(--soft);
  border-color: var(--accent);
  color: var(--accent);
}
.home-bottom {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}
.update-list {
  border-top: 1px solid var(--line);
}
.update-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.update-item time {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 3px;
}
.update-item strong {
  display: block;
  font-weight: 550;
  margin-bottom: 4px;
}
.update-item p {
  color: var(--muted);
  font-size: 11px;
}
.method-teaser {
  background: var(--soft);
  padding: 25px 28px;
  border-radius: 8px;
}
.method-teaser h3 {
  font: 600 21px var(--serif);
  margin: 8px 0 12px;
}
.method-teaser p {
  font-size: 12px;
  color: var(--muted);
}
.method-teaser a {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 25px;
  align-items: start;
}
.filter-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 104px;
}
.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 600;
}
.filter-title button {
  background: none;
  border: none;
  color: var(--muted);
  padding: 0;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filter-panel label,
.inline-filters label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 14px;
}
.filter-panel input,
.filter-panel select,
.inline-filters input,
.inline-filters select,
.field {
  display: block;
  width: 100%;
  min-height: 41px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 9px 10px;
  border-radius: 5px;
  font-size: 12px;
  margin-top: 5px;
}
.filter-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.inline-filters {
  display: flex;
  gap: 12px;
  background: var(--paper);
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.inline-filters label {
  margin: 0;
  min-width: 155px;
  flex: 1;
}
.inline-filters label.wide {
  flex: 2.2;
}
.inline-filters .btn {
  height: 41px;
}
.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 0 0 12px;
}
.result-toolbar strong {
  font-size: 14px;
}
.result-toolbar span {
  font-size: 11px;
  color: var(--muted);
}
.result-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.result-actions select {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  padding: 7px;
  border-radius: 5px;
}
.result-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}
.record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 15px;
  padding: 21px 24px;
}
.record + .record {
  border-top: 1px solid var(--line);
}
.record:hover {
  background: color-mix(in srgb, var(--soft) 45%, var(--paper));
}
.record-topline {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 7px;
  font-size: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}
.record-code {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.01em;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.record-title {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  display: block;
}
.record-title:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.record p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 10px;
  max-width: 780px;
}
.record-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.record-meta span + span:before {
  content: "·";
  margin-right: 8px;
}
.record-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  min-width: 68px;
}
.save-button {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 8px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  min-height: 32px;
}
.save-button[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--soft);
}
.read-button {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 11px;
  padding: 10px 0;
}
.chip-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.filter-chip {
  font-size: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--accent);
  padding: 5px 8px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
}
.page-buttons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.page-buttons button {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  min-width: 32px;
  min-height: 34px;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 11px;
}
.page-buttons button[aria-current="page"] {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.notice {
  padding: 14px 18px;
  background: var(--soft);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin: 18px 0;
}
.notice strong {
  color: var(--ink);
}
.empty-state {
  text-align: center;
  padding: 65px 24px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 9px;
}
.empty-state h2 {
  font: 600 23px var(--serif);
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
  max-width: 500px;
  margin: auto;
}
.empty-state .btn {
  margin-top: 20px;
}
.search-form {
  display: flex;
  gap: 10px;
  max-width: 850px;
  margin-bottom: 23px;
}
.search-form .field {
  margin: 0;
  font-size: 15px;
  padding: 12px 15px;
  min-width: 0;
}
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  overflow: auto;
}
.tabs button {
  font-size: 12px;
  white-space: nowrap;
  padding: 11px 16px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
}
.tabs button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tabs span {
  font-size: 10px;
  margin-left: 5px;
}
.analysis-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.analysis-stat {
  padding: 17px 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
}
.analysis-stat strong {
  font: 400 29px var(--serif);
  color: var(--accent);
  display: block;
}
.analysis-stat span {
  font-size: 11px;
  color: var(--muted);
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.chart-panel {
  background: var(--paper);
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.chart-panel h3 {
  font-size: 15px;
}
.chart-caption {
  color: var(--muted);
  font-size: 11px;
  margin: 5px 0 20px;
}
.bar-row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 47px;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  font-size: 11px;
  text-align: left;
  min-height: 24px;
}
.bar-row button {
  background: none;
  border: 0;
  text-align: left;
  font-size: 11px;
  padding: 0;
  color: var(--ink);
}
.bar-row button:hover {
  text-decoration: underline;
}
.bar-track {
  height: 8px;
  background: var(--soft);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #4f8270;
  border-radius: 2px;
}
.bar-row:nth-of-type(2n) .bar-fill {
  background: #8fa590;
}
.bar-row b {
  font-size: 11px;
  text-align: right;
  font-weight: 500;
  color: var(--accent);
}
.long-bars .bar-row {
  grid-template-columns: minmax(130px, 1.3fr) minmax(35px, 1fr) 26px;
}
.chart-note {
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 20px;
}
.jurisdiction-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
}
.jurisdiction-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}
.jurisdiction-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid transparent;
  padding: 13px 15px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}
.jurisdiction-nav a.active {
  border-color: var(--line);
  background: var(--paper);
  color: var(--accent);
  font-weight: 600;
}
.jurisdiction-nav a span {
  font-size: 10px;
  font-weight: 400;
}
.country-content {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
}
.country-heading {
  display: flex;
  align-items: center;
  gap: 17px;
}
.country-code {
  font: 500 27px/1 var(--serif);
  color: var(--gold);
  padding-right: 18px;
  border-right: 1px solid var(--line);
}
.country-heading h2 {
  font: 600 29px var(--serif);
}
.country-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.country-summary {
  font-size: 13px;
  color: var(--muted);
  margin: 22px 0;
}
.country-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  background: var(--soft);
  border-radius: 7px;
  padding: 17px 20px;
  font-size: 12px;
}
.country-stats a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.country-stats b {
  font: 400 26px var(--serif);
}
.subheading {
  font-size: 14px;
  margin: 27px 0 12px;
}
.question-list {
  padding-left: 20px;
  font-size: 13px;
  color: var(--muted);
}
.question-list li {
  padding: 6px 0;
}
.mini-records {
  display: grid;
}
.mini-record {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.mini-record button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font: inherit;
}
.mini-record button:hover {
  color: var(--accent);
}
.mini-record small {
  color: var(--muted);
  white-space: nowrap;
  font-size: 10px;
}
.source-list {
  display: grid;
  gap: 10px;
}
.source-entry {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.source-entry a {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.source-entry small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 10px;
}
.method-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 30px;
  align-items: start;
}
.method-body > section {
  margin-bottom: 30px;
}
.method-body h2 {
  font: 600 23px var(--serif);
  margin-bottom: 18px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
}
.process-step {
  padding: 19px 17px;
}
.process-step + .process-step {
  border-left: 1px solid var(--line);
}
.process-step b {
  font: italic 25px var(--serif);
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.process-step strong {
  font-size: 13px;
  display: block;
}
.process-step p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.method-detail {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  margin-bottom: 10px;
  padding: 0 20px;
}
.method-detail summary {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.detail-body {
  font-size: 13px;
  color: var(--muted);
  padding: 0 0 20px;
  line-height: 1.9;
}
.method-aside {
  background: var(--hero);
  color: #d7e2d4;
  border-radius: 10px;
  padding: 25px;
  position: sticky;
  top: 108px;
}
.method-aside h3 {
  font: 500 22px var(--serif);
  color: #fff;
  margin: 12px 0;
}
.method-aside p {
  font-size: 12px;
}
.method-aside .btn {
  margin-top: 18px;
  border-color: #78977d;
  background: transparent;
  color: #fff;
}
.definition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.definition-table th,
.definition-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.definition-table th {
  background: var(--soft);
  font-weight: 500;
}
.definition-table td:first-child {
  min-width: 105px;
}
.source-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.citation-box {
  font: 12px/1.9 var(--sans);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--soft);
  padding: 17px;
  border-radius: 6px;
  margin: 14px 0;
}
.loading-panel {
  padding: 65px 0;
}
.loading-panel h1 {
  font: 600 32px var(--serif);
}
.loading-panel p {
  color: var(--muted);
  margin-top: 15px;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  background: var(--paper);
  padding-top: 32px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 28px;
}
.footer-grid strong {
  font: 600 15px var(--serif);
  color: var(--ink);
}
.footer-grid p {
  max-width: 790px;
  font-size: 11px;
  margin-top: 10px;
  line-height: 1.85;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 11px;
  align-content: start;
}
.footer-links span {
  font-size: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 15px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  gap: 15px;
}
.detail-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(810px, 94vw);
  max-width: none;
  height: 100%;
  max-height: none;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  box-shadow: -10px 0 50px #07191026;
}
.detail-dialog::backdrop {
  background: #0a201d70;
}
.dialog-top {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  font-size: 11px;
  color: var(--muted);
}
#drawerContent {
  padding: 30px 36px 50px;
}
.detail-dialog h2 {
  font: 600 29px/1.5 var(--serif);
  margin: 7px 0 15px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.detail-meta span {
  border-right: 1px solid var(--line);
  padding-right: 10px;
}
.detail-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  padding-bottom: 16px;
}
.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.detail-section h3 {
  font-size: 14px;
  margin-bottom: 10px;
}
.detail-section p,
.detail-section li {
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
  white-space: pre-line;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.detail-box {
  background: var(--soft);
  border-radius: 6px;
  padding: 12px 15px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.detail-box strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}
.text-block {
  white-space: pre-wrap;
  background: var(--soft);
  padding: 15px;
  border-radius: 6px;
  max-height: 400px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}
.checklist li {
  border-bottom: 1px solid var(--line);
}
.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 13px;
}
.checklist input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}
.checklist input:checked + span {
  color: var(--muted);
  text-decoration: line-through;
}
.check-progress {
  font-size: 11px;
  color: var(--muted);
}
.topic-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin: 18px 0;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 21px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 4px 28px #0002;
  max-width: calc(100% - 36px);
  text-align: center;
}
.detail-dialog .toast {
  left: auto;
  right: 24px;
  transform: none;
  max-width: min(720px, calc(100vw - 48px));
}
.toast[hidden] {
  display: none;
}
.comparison-wrap {
  overflow: auto;
}
.comparison {
  min-width: 550px;
  border-collapse: collapse;
  font-size: 12px;
  width: 100%;
}
.comparison td,
.comparison th {
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  vertical-align: top;
}
.comparison th {
  background: var(--soft);
  font-weight: 500;
}
.compare-select {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.compare-select input {
  accent-color: var(--accent);
  margin: 0;
}
.compare-bar {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 11px 15px;
  border-radius: 7px;
  font-size: 12px;
}
.count-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.result-list.compact .record {
  padding-block: 13px;
}
.result-list.compact .record p {
  display: none;
}
.result-list.compact .record-title {
  font-size: 14px;
}
.result-list.compact .record-topline {
  margin-bottom: 3px;
}
.scope-heading {
  margin: 8px 0 22px;
}
.scope-heading h2 {
  font: 600 23px var(--serif);
}
.scope-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.year-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 160px;
  height: 180px;
  padding-top: 20px;
}
.year-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  gap: 5px;
  font-size: 9px;
}
.year-bar {
  width: 100%;
  max-width: 28px;
  background: #71957f;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}
.year-column small {
  font-size: 8px;
  color: var(--muted);
  writing-mode: vertical-rl;
  min-height: 26px;
}
@media (max-width: 1240px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 18px;
  }
  .main-nav {
    gap: 15px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .brand strong {
    font-size: 15px;
  }
  .header-actions {
    gap: 8px;
  }
  .theme-button {
    display: none;
  }
  .hero {
    padding: 35px;
    gap: 42px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-right {
    padding-left: 25px;
  }
  .stat-row a {
    padding: 0 20px;
  }
  .record {
    padding: 19px;
  }
  .footer-grid {
    gap: 25px;
  }
}
@media (max-width: 1050px) {
  .menu-button {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 15px 24px;
    display: none;
    flex-wrap: wrap;
    gap: 10px 24px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    height: 40px;
    font-size: 14px;
  }
  .header-actions {
    margin-left: auto;
  }
  .theme-button {
    display: block;
  }
  .header-inner {
    min-height: 74px;
  }
  .hero {
    gap: 30px;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
    padding: 30px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .topic-grid {
    gap: 12px;
  }
  .topic-card {
    padding: 18px;
  }
  .topic-card h3 {
    font-size: 17px;
  }
  .stat-row a {
    padding: 0 15px;
    gap: 10px;
  }
  .stat-row strong {
    font-size: 30px;
  }
  .workspace {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
  }
  .filter-panel {
    padding: 16px;
    top: 95px;
  }
  .method-layout {
    grid-template-columns: 1fr;
  }
  .method-aside {
    position: static;
  }
  .bar-row {
    grid-template-columns: 105px minmax(0, 1fr) 45px;
    gap: 9px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .utility-bar span:last-child {
    display: none;
  }
  .utility-bar {
    font-size: 9px;
  }
  .header-inner {
    min-height: 68px;
    gap: 12px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand strong {
    font-size: 13px;
    letter-spacing: 0;
  }
  .brand small {
    font-size: 9px;
  }
  .brand {
    gap: 8px;
  }
  .header-actions {
    gap: 7px;
    font-size: 10px;
  }
  .theme-button {
    display: none;
  }
  .menu-button {
    font-size: 10px;
    padding: 6px 8px;
    min-height: 32px;
  }
  .collection-link {
    gap: 4px;
  }
  .collection-link span {
    font-size: 9px;
  }
  .hero {
    margin-top: 18px;
    padding: 27px 24px 18px;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero h1 {
    font-size: 33px;
    margin: 13px 0;
  }
  .hero .lead {
    font-size: 12px;
    margin-bottom: 19px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.11em;
  }
  .hero-search {
    padding-left: 11px;
    gap: 3px;
  }
  .hero-search input {
    font-size: 12px;
  }
  .hero-search .btn {
    font-size: 12px;
    padding: 10px;
    min-height: 39px;
  }
  .quick-search {
    font-size: 10px;
    gap: 9px;
  }
  .quick-search a {
    font-size: 10px;
  }
  .hero-right {
    border-left: 0;
    border-top: 1px solid #496957;
    padding: 16px 0 0;
  }
  .hero-right .eyebrow,
  .hero-right .path-title,
  .research-path small {
    display: none;
  }
  .research-path {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .research-path li + li {
    border: 0;
  }
  .research-path a {
    padding: 0;
    gap: 6px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .research-path strong {
    font-size: 10px;
  }
  .research-path .arrow {
    font-size: 13px;
    margin-left: 0;
  }
  .path-number {
    font-size: 14px;
  }
  .hero-foot {
    margin: 0;
    padding-top: 13px;
    font-size: 8px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero-foot span:last-child {
    margin-left: 0;
  }
  .hero-foot span:nth-child(2) {
    display: none;
  }
  .stat-row {
    margin: 14px 0 30px;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  .stat-row a {
    padding: 17px 20px;
    gap: 13px;
  }
  .stat-row a:nth-child(3) {
    border-left: 0;
  }
  .stat-row a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .stat-row strong {
    font-size: 30px;
    min-width: 40px;
  }
  .stat-row b {
    font-size: 11px;
  }
  .stat-row small {
    font-size: 9px;
  }
  .section {
    margin: 27px 0 32px;
  }
  .section-heading {
    gap: 10px;
    margin-bottom: 14px;
    align-items: center;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section-heading a {
    font-size: 10px;
  }
  .library-doors {
    grid-template-columns: 1fr;
  }
  .library-door {
    padding: 20px;
  }
  .library-door + .library-door {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .door-top {
    margin-bottom: 8px;
  }
  .door-top span:first-child {
    font-size: 20px;
  }
  .library-door h3 {
    font-size: 16px;
  }
  .library-door p {
    max-width: none;
    font-size: 12px;
  }
  .door-foot {
    margin-top: 13px;
  }
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }
  .topic-card {
    min-height: 210px;
    padding: 18px 15px;
  }
  .topic-card h3 {
    font-size: 17px;
  }
  .topic-card p {
    font-size: 11px;
  }
  .topic-meta {
    font-size: 9px;
    margin-bottom: 9px;
  }
  .topic-meta b {
    font-size: 18px;
  }
  .topic-bottom {
    font-size: 9px;
    gap: 8px;
  }
  .home-bottom {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .country-pill {
    font-size: 11px;
    padding: 8px 11px;
    gap: 8px;
  }
  .page-head {
    display: block;
    margin-bottom: 22px;
  }
  .page-head h1 {
    font-size: 30px;
  }
  .page-head p {
    font-size: 12px;
  }
  .page-head > .btn {
    margin-top: 15px;
  }
  .breadcrumb {
    font-size: 10px;
    padding: 18px 0 13px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .filter-panel {
    position: static;
    padding: 17px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .filter-title {
    grid-column: 1/-1;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .filter-panel label {
    margin-bottom: 12px;
    font-size: 10px;
  }
  .filter-panel input,
  .filter-panel select {
    font-size: 12px;
    padding: 8px;
  }
  .filter-note {
    grid-column: 1/-1;
    font-size: 10px;
  }
  .filter-panel label.search-filter {
    grid-column: 1/-1;
  }
  .record {
    padding: 18px 16px;
    gap: 10px;
  }
  .record-title {
    font-size: 15px;
  }
  .record p {
    font-size: 11px;
    margin-bottom: 9px;
  }
  .record-meta {
    font-size: 10px;
    gap: 5px;
  }
  .record-meta span + span:before {
    margin-right: 5px;
  }
  .record-topline {
    gap: 6px;
    font-size: 9px;
  }
  .badge {
    font-size: 9px;
    padding: 2px 5px;
  }
  .record-code {
    font-size: 8px;
  }
  .record-side {
    min-width: 50px;
  }
  .save-button {
    font-size: 9px;
    padding: 5px;
  }
  .read-button {
    font-size: 10px;
  }
  .result-toolbar {
    gap: 8px;
    flex-wrap: wrap;
  }
  .result-toolbar strong {
    font-size: 12px;
  }
  .result-actions {
    gap: 7px;
  }
  .result-actions select {
    font-size: 10px;
    max-width: 125px;
  }
  .result-toolbar .btn.small {
    font-size: 10px;
    min-height: 30px;
    padding: 6px 9px;
  }
  .inline-filters {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .inline-filters label {
    min-width: 0;
    font-size: 10px;
  }
  .inline-filters label.wide {
    grid-column: 1/-1;
  }
  .inline-filters input,
  .inline-filters select {
    font-size: 12px;
  }
  .inline-filters .btn {
    font-size: 11px;
    min-height: 40px;
  }
  .pagination {
    align-items: flex-start;
    font-size: 9px;
    flex-direction: column;
  }
  .page-buttons {
    gap: 4px;
    flex-wrap: wrap;
  }
  .page-buttons button {
    min-width: 31px;
    padding: 5px 8px;
  }
  .chart-grid {
    grid-template-columns: 1fr;
  }
  .chart-panel {
    padding: 20px;
  }
  .analysis-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .analysis-stat {
    padding: 15px;
  }
  .analysis-stat strong {
    font-size: 27px;
  }
  .analysis-stat span {
    font-size: 10px;
  }
  .notice {
    font-size: 11px;
    padding: 12px 15px;
  }
  .jurisdiction-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .jurisdiction-nav {
    flex-direction: row;
    overflow: auto;
    padding-bottom: 5px;
  }
  .jurisdiction-nav a {
    padding: 9px 12px;
    white-space: nowrap;
    gap: 10px;
    font-size: 12px;
  }
  .country-content {
    padding: 21px;
  }
  .country-heading h2 {
    font-size: 26px;
  }
  .country-summary {
    font-size: 12px;
  }
  .country-stats {
    gap: 15px;
    padding: 13px 15px;
    font-size: 11px;
  }
  .country-stats b {
    font-size: 24px;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .process-step {
    padding: 18px;
  }
  .process-step:nth-child(3) {
    border-left: 0;
  }
  .process-step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .source-directory {
    grid-template-columns: 1fr;
  }
  .method-detail {
    padding: 0 16px;
  }
  .method-detail summary {
    font-size: 13px;
  }
  .detail-body {
    font-size: 12px;
  }
  .definition-table {
    font-size: 11px;
  }
  .definition-table th,
  .definition-table td {
    padding: 10px 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    font-size: 11px;
  }
  .footer-grid p {
    font-size: 10px;
  }
  .footer-bottom {
    font-size: 8px;
    align-items: flex-start;
  }
  .detail-dialog {
    width: 100vw;
    border: 0;
  }
  #drawerContent {
    padding: 23px 22px 40px;
  }
  .dialog-top {
    padding: 13px 22px;
  }
  .detail-dialog h2 {
    font-size: 25px;
  }
  .detail-meta {
    font-size: 10px;
  }
  .detail-grid {
    gap: 9px;
  }
  .detail-box {
    padding: 12px;
    font-size: 11px;
  }
  .detail-section p,
  .detail-section li {
    font-size: 12px;
  }
  .topic-lead {
    font-size: 13px;
  }
  .tabs button {
    font-size: 11px;
    padding: 10px;
  }
  .search-form {
    gap: 7px;
  }
  .search-form .field {
    font-size: 13px;
  }
  .search-form .btn {
    font-size: 12px;
    padding: 10px 13px;
  }
  .checklist label {
    font-size: 12px;
  }
  .compare-bar {
    font-size: 10px;
  }
  .compare-select {
    font-size: 9px;
  }
  .mini-record {
    font-size: 11px;
    align-items: flex-start;
  }
  .mini-record small {
    font-size: 9px;
  }
}
@media (max-width: 370px) {
  .container {
    width: calc(100% - 26px);
  }
  .brand strong {
    font-size: 12px;
  }
  .brand small {
    font-size: 8px;
  }
  .collection-link {
    font-size: 9px;
  }
  .hero {
    padding: 23px 20px 17px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    min-height: 170px;
  }
  .hero-search input {
    font-size: 11px;
  }
  .stat-row a {
    padding: 15px 13px;
  }
  .header-actions {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .topic-card,
  .library-door,
  .btn,
  .country-pill {
    transition:
      background 0.15s,
      border-color 0.15s;
  }
  .detail-dialog[open] {
    animation: drawer-in 0.2s ease-out;
  }
  @keyframes drawer-in {
    from {
      transform: translateX(20px);
      opacity: 0.5;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
}
@media print {
  .site-header,
  .utility-bar,
  .site-footer,
  .filter-panel,
  .header-actions,
  .dialog-top,
  .toast {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .detail-dialog[open] {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
  }
  body:has(.detail-dialog[open]) main {
    display: none;
  }
  .container {
    width: 100%;
  }
  .record,
  .topic-card {
    break-inside: avoid;
  }
}

/* Readability and compact mobile filtering. */
.filter-fields {
  display: contents;
}
.filter-toggle {
  display: none;
}
#sourceSection,
#citationSection {
  scroll-margin-top: 110px;
}
.record p {
  font-size: 13px;
}
.record-meta {
  font-size: 12px;
}
.filter-panel label {
  font-size: 12px;
}
.filter-panel input,
.filter-panel select {
  font-size: 13px;
}
.topic-card p {
  font-size: 13px;
}
.detail-section p,
.detail-section li {
  font-size: 14px;
}
.source-entry small {
  font-size: 11px;
}
@media (max-width: 760px) {
  .filter-toggle {
    display: block;
  }
  .filter-panel .filter-fields,
  .filter-panel .filter-note {
    display: none;
  }
  .filter-panel.expanded .filter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    grid-column: 1/-1;
  }
  .filter-panel.expanded .filter-note {
    display: block;
  }
  .filter-panel label {
    font-size: 11px;
  }
  .filter-panel input,
  .filter-panel select {
    font-size: 12px;
  }
  .filter-panel .search-filter {
    margin-bottom: 0;
  }
  .filter-panel.expanded .search-filter {
    margin-bottom: 12px;
  }
  .record p {
    font-size: 12px;
  }
  .record-meta {
    font-size: 10px;
  }
  .topic-card p {
    font-size: 12px;
  }
  .detail-section p,
  .detail-section li {
    font-size: 13px;
  }
  .source-entry small {
    font-size: 11px;
  }
}
.jurisdiction-layout > * {
  min-width: 0;
}
.jurisdiction-nav {
  max-width: 100%;
}
@media (max-width: 760px) {
  .jurisdiction-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
