/* getpept List, Index & Reading Pages (body.place) in the warm archival brand system. */

/* ---- Shared List-Page Hero, Sections & Sticky Filter Bar ---- */
html:has(.filter-bar-wrap) { scroll-padding-top: 96px; }
html:has(.prices-page) { scroll-padding-top: 136px; }
body.list-page main { position: relative; padding-bottom: 108px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 100vh; height: 100dvh; pointer-events: none; }
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-block-size: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--field-border);
  background: var(--raise);
  color: var(--ink);
  font: 500 0.875rem/1 var(--sans);
  cursor: pointer;
  box-shadow: 0 10px 24px var(--shadow);
}
.back-to-top:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.back-to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.back-to-top[hidden] { display: none; }
body:has(#cmp-pill:not([hidden])) .back-to-top { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
body.place code { font-family: var(--mono); }
.list-hero { padding: clamp(18px, 2.5vw, 32px) 0 clamp(28px, 4vw, 48px); }
.list-hero-grid {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}
.list-hero-in { min-width: 0; display: grid; gap: 12px; align-content: start; }
.list-hero-in h1 { margin: 0; }
.list-hero-in .lede { margin: 4px 0 0; }
.index-head { padding: clamp(20px, 2.8vw, 36px) 0 clamp(20px, 3vw, 32px); }
.list-sec { margin-top: clamp(44px, 6vw, 80px); }
.list-fine { margin: 28px 0 0; max-width: 68ch; font-size: 0.875rem; line-height: 1.55; color: var(--mute); }

/* Sticky unified filter bar (.filter-bar-wrap) */
.filter-bar-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: clamp(18px, 2.4vw, 28px) 0 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--rule-strong);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  backdrop-filter: blur(8px);
}
.filter-bar { gap: 8px 10px; }
.fl-primary, .fl-panel { display: contents; }
.fl-drawer-btn { display: none; }
.fl-sort { display: none; }
.fl-search { flex: 1 1 220px; min-width: 180px; }
.fl-search input[type="search"] {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--raise);
  color: var(--ink);
  font: 400 0.9375rem/1 var(--sans);
}
.fl-search input[type="search"]::placeholder { color: var(--soft); opacity: 1; }
.fl-search input[type="search"]:focus { border-color: var(--ink); outline: 2px solid var(--accent); outline-offset: 1px; }
.fl-city select, .fl-sort select { max-width: 240px; }
.fl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fl-reset { border-style: dashed; color: var(--mute); }
.fl-reset:hover { color: var(--ink); }
.fl-count {
  order: 99;
  margin: 0 0 0 auto;
  font: 400 0.875rem/1.35 var(--mono);
  color: var(--soft);
  white-space: nowrap;
}
@media (max-width: 780px) {
  html:has(.filter-bar-wrap), html:has(.prices-page) { scroll-padding-top: 112px; }
  body.list-page :is([data-filter-list] > li, table.ptable tbody tr, table.ptable tbody a, .prices-none-list > li) { scroll-margin-top: 10px; }
  .filter-bar-wrap { padding: 8px 0; margin: 14px 0 10px; }
  .filter-bar { display: block; }
  .fl-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 8px;
    align-items: center;
  }
  .fl-search { min-width: 0; }
  .fl-search input[type="search"] { height: 40px; padding: 0 12px; }
  .fl-drawer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 13px;
    white-space: nowrap;
  }
  .fl-drawer-btn[aria-expanded="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
  .fl-count {
    order: 0;
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.3;
  }
  .fl-panel {
    display: none;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    max-block-size: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .fl-panel.is-open { display: grid; gap: 8px; }
  .fl-city, .fl-sort { display: block; width: 100%; }
  .fl-city select, .fl-sort select { width: 100%; max-width: none; height: 40px; }
  .fl-panel .fl-reset { justify-self: start; }
}
.fl-empty {
  margin: 18px 0 0;
  padding: 22px 20px;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--r-m);
  background: var(--raise);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fl-empty p { margin: 0; font-size: 0.9375rem; color: var(--mute); }
.fl-empty p b { color: var(--ink); font-weight: 500; }

/* Deferred off-screen list rows (below first screen) */
[data-filter-list] > li { scroll-margin-top: 12px; }
.defer-rows > li:nth-child(n + 16) {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 92px;
}
@media print {
  .defer-rows > li:nth-child(n + 16) { content-visibility: visible; }
}

/* ---- /rankings/ Hero Plate & "#1 in each city" Hairline Table ---- */
.rank-hp, .prices-hp {
  aspect-ratio: auto;
  min-height: 560px;
  padding: 64px 24px 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.rank-poster-stage, .prices-poster-stage {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  width: min(100%, 304px);
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.rank-hp .hp-big, .prices-hp .hp-big {
  position: static;
  display: grid;
  grid-template-columns: auto minmax(0, 9.2rem);
  align-items: end;
  gap: 12px;
}
.rank-hp .hp-big b, .prices-hp .hp-big b { font-size: clamp(3.8rem, 6vw, 5.4rem); line-height: 0.86; }
.rank-hp .hp-big span, .prices-hp .hp-big span { padding-bottom: 4px; font-size: 0.875rem; }
.rank-hp .hc-score, .prices-hp .hc-prices {
  position: absolute;
  left: -34px;
  top: 50%;
  transform: translateY(-50%);
  width: 274px;
  padding: 14px 16px;
  z-index: 4;
}
.rank-hp .hc-score ul, .prices-hp .hc-prices ul { margin-top: 10px; gap: 5px; }
.prices-grid-svg { display: block; width: min(244px, 100%); height: auto; }

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4.5vw, 64px);
  margin-top: clamp(20px, 3vw, 32px);
}
.leaders-t { margin-top: 0; }
.leaders-t .ld-city small { font-size: 0.875rem; font-weight: 400; color: var(--mute); }
.leaders-t .score { width: 34%; min-width: 140px; white-space: nowrap; }
.leaders-t .score b {
  display: inline-block;
  width: 2.2ch;
  font: 400 1.4rem/1 var(--serif);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  vertical-align: -1px;
}
.leaders-t .score .pb { display: inline-flex; width: calc(100% - 3.6ch); margin-left: 1ch; height: 7px; }

/* ---- /prices/ Hairline Sortable Table + Phone Cards ---- */
.prices-scroll { margin-top: 4px; overflow: visible; }
table.ptable { margin-top: 0; border-collapse: separate; border-spacing: 0; }
table.ptable thead th {
  padding: 10px 14px 10px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
  color: var(--soft);
  white-space: nowrap;
}
table.ptable thead th:last-child { padding-right: 0; }
@media (min-width: 1020px) {
  table.ptable thead th { position: sticky; top: 66px; z-index: 12; }
}
table.ptable thead th:has(> .sortb) { padding: 0; }
table.ptable thead .sortb {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-block-size: 38px;
  padding: 10px 14px 10px 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
table.ptable thead th.num .sortb { justify-content: flex-end; }
table.ptable thead .sortb:hover { color: var(--ink); }
table.ptable thead th[aria-sort] .sortb { color: var(--ink); }
table.ptable thead .ar::after { content: "↕"; opacity: 0.48; font-size: 0.875rem; }
table.ptable thead th[aria-sort="ascending"] .ar::after { content: "↑"; opacity: 1; color: var(--ink); }
table.ptable thead th[aria-sort="descending"] .ar::after { content: "↓"; opacity: 1; color: var(--ink); }

table.ptable tbody tr { scroll-margin-top: 12px; }
table.ptable tbody a { scroll-margin-top: 12px; }
table.ptable tbody th, table.ptable tbody td {
  padding: 13px 14px 13px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
table.ptable tbody tr:hover th, table.ptable tbody tr:hover td { background: var(--row-hover); }
table.ptable tbody th { font: 500 1rem/1.35 var(--sans); min-width: 210px; }
table.ptable tbody th .muted { font: 400 0.875rem/1.35 var(--sans); color: var(--mute); }
table.ptable tbody td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.ptable tbody td.num a {
  font: 500 1.0625rem/1.2 var(--sans);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}
table.ptable tbody td.num a:hover { text-decoration-color: currentColor; }
table.ptable tbody td .u { display: block; margin-top: 2px; font: 400 0.875rem/1.35 var(--sans); color: var(--mute); }
table.ptable tbody td .plan {
  display: block;
  margin-top: 2px;
  max-width: 22ch;
  margin-left: auto;
  font: 400 0.875rem/1.4 var(--sans);
  color: var(--mute);
  overflow-wrap: anywhere;
}
table.ptable .chip-s {
  display: inline-block;
  font: 400 0.875rem/1.35 var(--mono);
  color: var(--soft);
  white-space: nowrap;
}
table.ptable .chip-s.st-published { color: var(--ink); font-weight: 500; }
table.ptable .chip-s.st-partial { color: var(--ink); }
.price-notes, .pn-more { display: none; }

/* Closed fold for clinics publishing no price */
.prices-none-fold {
  margin: 22px 0 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.prices-none-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}
.prices-none-list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font: 400 0.9375rem/1.4 var(--sans);
}
.prices-none-list > li a { font-weight: 500; color: var(--ink); text-decoration: none; }
.prices-none-list > li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prices-none-list > li .muted { font: 400 0.875rem/1.35 var(--sans); color: var(--mute); margin-right: auto; }
.prices-none-list > li .chip-s {
  font: 400 0.875rem/1.25 var(--mono);
  color: var(--soft);
}
@media (max-width: 720px) {
  .prices-none-list { grid-template-columns: minmax(0, 1fr); }
}

/* Intermediate tablet widths: scroll horizontally with sticky clinic col & sticky header */
@media (min-width: 721px) and (max-width: 1019px) {
  .prices-scroll { overflow: auto; max-block-size: min(76dvh, 720px); }
  table.ptable { min-width: 780px; }
  table.ptable thead th { position: sticky; top: 0; z-index: 3; }
  table.ptable thead th:first-child,
  table.ptable tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--paper);
    padding-right: 14px;
    box-shadow: inset -1px 0 0 var(--line);
  }
  table.ptable thead th:first-child { z-index: 4; }
  table.ptable tbody tr:hover th { background: var(--plate); }
}

/* Phone (<= 720px): compact 2x2 grid cards with notes in closed details, zero horizontal scroll */
@media (max-width: 720px) {
  .prices-scroll { overflow: visible; }
  table.ptable, table.ptable tbody { display: block; width: 100%; }
  table.ptable thead { display: none; }
  table.ptable tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    padding: 10px 12px 9px;
    margin: 0 0 8px;
    background: var(--raise);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
  }
  table.ptable tbody tr[hidden] { display: none; }
  table.ptable tbody th {
    grid-column: 1 / -1;
    display: block;
    min-width: 0;
    padding: 0 0 6px;
    margin: 0;
    border-bottom: 1px solid var(--line);
    font: 500 0.9375rem/1.25 var(--sans);
    overflow-wrap: anywhere;
  }
  table.ptable tbody th br { display: none; }
  table.ptable tbody th .muted { display: inline; margin-left: 6px; font-size: 0.875rem; }
  table.ptable tbody td.num {
    display: block;
    padding: 0;
    border-bottom: 0;
    text-align: left;
    min-width: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  table.ptable tbody td.num::before {
    content: attr(data-label);
    display: block;
    font: 400 0.875rem/1.2 var(--mono);
    color: var(--soft);
    margin-bottom: 2px;
  }
  table.ptable tbody td.num a {
    display: inline;
    font: 500 0.9375rem/1.25 var(--sans);
  }
  table.ptable tbody td.num .u {
    display: inline;
    margin: 0 0 0 4px;
    font-size: 0.875rem;
    line-height: 1.25;
  }
  table.ptable tbody td.num .plan { display: none; }
  table.ptable tbody td.st-cell {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    padding: 6px 0 0;
    margin-top: 2px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    text-align: left;
  }
  table.ptable tbody td.st-cell::before { content: none; }
  .price-notes { display: block; flex: 1 1 auto; min-width: 0; }
  .price-notes > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-block-size: 28px;
    font: 500 0.875rem/1.2 var(--sans);
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--rule-strong);
    text-underline-offset: 2px;
  }
  .price-notes > summary::-webkit-details-marker { display: none; }
  .price-notes > summary::before {
    content: "+";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    font: 400 0.875rem/1 var(--mono);
    color: var(--mute);
    text-decoration: none;
  }
  .price-notes[open] > summary::before { content: "−"; background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .price-notes[open] { flex-basis: 100%; }
  .pn-list {
    margin: 8px 0 2px;
    padding: 8px 0 0;
    border-top: 1px dashed var(--rule-strong);
    display: grid;
    gap: 6px;
    font-size: 0.875rem;
    line-height: 1.45;
  }
  .pn-list dt { font: 400 0.875rem/1.25 var(--mono); color: var(--soft); }
  .pn-list dd { margin: 1px 0 0; color: var(--ink); overflow-wrap: anywhere; }
  .pn-list dd a { font-weight: 500; }
  .pn-more { display: inline-block; font: 500 0.875rem/1.3 var(--sans); color: var(--ink); }
}

/* ---- /compare/ Fanned Slips Plate, Comparison Band & List ---- */
.cmp-hero-act { margin: 8px 0 0; }
.cmp-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 44px;
  padding: 0 20px;
  border-radius: var(--r-s);
  background: var(--accent);
  color: var(--on-accent);
  font: 500 0.9375rem/1 var(--sans);
  text-decoration: none;
}
.cmp-jump:hover { background: var(--accent-press); color: var(--on-accent); }

.cmp-hp {
  aspect-ratio: auto;
  min-height: 430px;
  padding: 58px 24px 66px;
  background: var(--plate);
  border: 1px solid var(--line);
  display: grid;
  align-items: center;
}
.cmp-hp .hp-labels, .cmp-band-head .hp-labels { flex-wrap: wrap; gap: 4px 16px; }
.cmp-hp .hp-labels span:first-child,
.cmp-band-head .hp-labels span:first-child { white-space: nowrap; flex: none; }
.cmp-fan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}
.cmp-slot {
  display: flex;
  flex-direction: column;
  min-height: 204px;
  padding: 14px 14px 15px;
  background: var(--raise);
  border: 1px dashed var(--pencil);
  transition: transform 240ms var(--ease), background-color 200ms ease, border-color 200ms ease;
}
.cmp-slot[data-slot="0"] { transform: rotate(-2deg) translateY(6px); }
.cmp-slot[data-slot="1"] { transform: translateY(-4px); z-index: 2; }
.cmp-slot[data-slot="2"] { transform: rotate(2deg) translateY(6px); }
.cmp-slot.is-filled { background: var(--raise); border-style: solid; border-color: var(--line); }
.cmp-slot-empty { color: var(--mute); font-weight: 400; }
.cmp-slot-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--rule-strong); }
.cmp-slot-sc { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.cmp-slot-sc b { font: 400 1.75rem/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cmp-slot-sc small { color: var(--soft); font-size: 0.875rem; }
.cmp-slot-nr { font-size: 0.875rem; color: var(--mute); }
.cmp-slot-x {
  border: 0;
  background: none;
  padding: 2px 4px;
  min-block-size: 32px;
  cursor: pointer;
  font: 400 0.875rem/1 var(--mono);
  color: var(--mute);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cmp-slot-x:hover { color: var(--ink); }

/* Archival band comparison slips */
.cmp-band { margin-top: 8px; scroll-margin-top: 24px; }
.cmp-band:target { outline: none; }
.cmp-band:focus:not(:focus-visible), .cmp-scroll:focus:not(:focus-visible) { outline: none; }
.cmp-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.cmp-band-in { width: var(--w); margin: 0 auto; padding: clamp(36px, 5vw, 64px) 0; }
.cmp-band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.cmp-band-head .hp-labels { position: static; margin-bottom: 12px; }
.cmp-band-head h2 {
  margin: 0;
  font: 400 clamp(1.75rem, 3vw, 2.5rem)/1.12 var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cmp-band-head h2 span { color: var(--mute); }
.cmp-band-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cmp-band-tools .src-note { color: var(--mute); font-size: 0.875rem; }
.cmp-clear-btn {
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--raise);
  color: var(--ink);
  font: 400 0.875rem/1 var(--sans);
  min-block-size: 38px;
  padding: 0 14px;
  cursor: pointer;
}
.cmp-clear-btn:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }

.cmp-scroll { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.cmp-grid {
  display: grid;
  grid-template-columns: 158px repeat(var(--cmp-n, 3), minmax(248px, 1fr));
  grid-template-rows: repeat(10, auto);
  gap: 0 14px;
  align-items: stretch;
}
.cmp-rail {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
  position: sticky;
  left: 0;
  z-index: 4;
  background: var(--plate);
  padding-right: 10px;
}
.cmp-lbl {
  display: flex;
  align-items: flex-start;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font: 400 0.875rem/1.35 var(--mono);
  color: var(--soft);
}
.cmp-lbl:first-child { border-top: 0; }
.cmp-slip {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
  padding: 0 18px;
  scroll-snap-align: start;
}
.cmp-cell {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
  align-content: start;
  min-width: 0;
}
.cmp-head { border-top: 0; padding: 16px 0 14px; }
.cmp-head-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cmp-head-acts { display: flex; align-items: center; gap: 4px; }
.cmp-mv { display: inline-flex; gap: 4px; }
.cmp-mv button, .cmp-rm {
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--raise);
  color: var(--ink);
  font: 400 0.875rem/1 var(--mono);
  min-block-size: 32px;
  min-inline-size: 32px;
  padding: 0 9px;
  cursor: pointer;
}
.cmp-mv button:hover, .cmp-rm:hover { border-color: var(--ink); background: var(--plate); }
.cmp-m-lbl { display: none; font: 400 0.875rem/1.3 var(--mono); color: var(--soft); }
.cmp-score-row { display: flex; align-items: baseline; gap: 6px; }
.cmp-score-row b { font: 400 1.9rem/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cmp-score-row .of { font-size: 0.875rem; color: var(--soft); }
.cmp-slip .pb { margin: 4px 0 2px; height: 7px; }
.cmp-val-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}
.cmp-val-link b { font: 500 1.125rem/1.25 var(--sans); }
.cmp-unit { font-size: 0.875rem; color: var(--mute); }
.cmp-sub { font-size: 0.875rem; line-height: 1.45; color: var(--mute); }
.cmp-ok { color: var(--ink); font-weight: 500; }
.cmp-sub-link { font-size: 0.875rem; color: var(--ink); text-underline-offset: 3px; }
.cmp-links { display: flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 500; }

/* Compare list rows: compare pill directly at right edge */
.board .r-with-cmp { grid-template-columns: 2.2rem minmax(0, 1.3fr) minmax(144px, 0.9fr) minmax(0, 1.05fr) auto; cursor: default; }
.board .r-cmp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  min-block-size: 38px;
  border-radius: 999px;
  border: 1px solid var(--field-border);
  background: var(--raise);
  color: var(--ink);
  font: 400 0.875rem/1 var(--sans);
  cursor: pointer;
  white-space: nowrap;
}
.board .r-cmp:has(:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.board .r-cmp:has(:disabled) { opacity: 0.48; cursor: not-allowed; }
.board .r-cmp input { accent-color: var(--accent); margin: 0; cursor: pointer; }

/* ---- /cities/ & /states/ Index Tables & Map Plate ---- */
.cities-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4.5vw, 56px);
  align-items: start;
}
.cities-col, .cities-map-col { min-width: 0; }
.cities-map-col { position: sticky; top: 20px; }
.cities-tbl, .states-tbl { margin-top: 14px; }
.cities-tbl tbody tr.is-lit th, .cities-tbl tbody tr.is-lit td { background: var(--raise); }
.cities-tbl tbody tr.is-lit th a { text-decoration: underline; text-underline-offset: 3px; }
.cities-tbl .st-code { font: 400 0.875rem/1.3 var(--mono); color: var(--soft); }
.cities-tbl .sc-num b { font: 400 1.25rem/1 var(--serif); letter-spacing: -0.02em; }
.dist-tag { font: 400 0.875rem/1.3 var(--mono); color: var(--soft); }
.states-tbl .st-cities { font-size: 0.9375rem; color: var(--mute); }
.states-tbl .st-cities a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.states-tbl .st-cities a:hover { text-decoration-color: currentColor; }

.cities-hp {
  aspect-ratio: auto;
  min-height: 520px;
  padding: 54px 20px 60px;
  display: grid;
  align-content: space-between;
  gap: 16px;
}
.cities-hp .hp-map { position: relative; left: auto; right: auto; top: auto; width: 100%; aspect-ratio: 960 / 600; }
.cities-hp .hp-map img, .cities-hp .hp-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
html[data-theme="dark"] .cities-hp .hp-map img { filter: invert(1) brightness(1.06); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .cities-hp .hp-map img { filter: invert(1) brightness(1.06); }
}
.cities-hp .hp-map svg circle {
  fill: var(--mh, var(--h0));
  fill-opacity: 0.78;
  stroke: var(--ink);
  stroke-opacity: 0.28;
  stroke-width: 0.9;
  transition: fill-opacity 180ms ease, stroke-opacity 180ms ease;
}
.cities-hp .hp-map svg circle.dim {
  fill: none;
  stroke: var(--pencil);
  stroke-opacity: 0.55;
  stroke-width: 1.2;
}
.cities-hp .hp-map svg circle.on {
  fill: var(--mh, var(--h0));
  fill-opacity: 1;
  stroke: var(--ink);
  stroke-opacity: 0.95;
  stroke-width: 1.6;
}
.cities-hp .hp-map a {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 24px;
  height: 24px;
  margin: -12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.cities-hp .hp-map a.on { z-index: 2; }
.cities-hp .hp-map a.on::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ink) 14%, transparent), transparent 68%);
  pointer-events: none;
}
.cities-hp .hc-hot { position: static; width: auto; }
.cities-hp .hc-hot .hc-go {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}
.cities-hp .hp-foot { position: static; }

.not-covered {
  margin-top: clamp(36px, 5vw, 56px);
  padding: 20px 0 0;
  border-top: 1px solid var(--rule-strong);
  max-width: 68ch;
  font-size: 0.9375rem;
  color: var(--mute);
}
.not-covered .k-lbl { margin: 0 0 8px; color: var(--ink); }
.not-covered p { margin: 0 0 10px; }
.not-covered ul {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.875rem;
  color: var(--ink);
}
.not-covered .nc-req { margin: 0; }

/* ---- /peptides/ Index & /peptides/{slug}/ Detail Pages ---- */
.pep-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0;
  color: var(--soft);
}
.pep-aka { font: 400 0.875rem/1.45 var(--sans); color: var(--mute); }
.pep-hero-note {
  margin: 2px 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mute);
  max-width: 56ch;
}
.pep-hp { min-height: 460px; }
.peps-idx-tbl .pep-al { color: var(--mute); font-size: 0.875rem; }
.pep-city { margin-top: clamp(22px, 3vw, 34px); scroll-margin-top: 24px; }
.pep-prices-t th .muted, .pep-prices-t td .muted { font: 400 0.875rem/1.35 var(--sans); color: var(--mute); }
.r-cprices { display: grid; gap: 3px; margin-top: 5px; }
.r-cprice { font-size: 0.875rem; line-height: 1.45; color: var(--mute); overflow-wrap: anywhere; }
.r-cprice b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.r-cprice a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 2px; }
@media (max-width: 560px) {
  .peps-idx-tbl .pep-al { display: none; }
}
@media (max-width: 720px) {
  .pep-prices-t, .pep-prices-t tbody { display: block; width: 100%; }
  .pep-prices-t thead { display: none; }
  .pep-prices-t tbody tr {
    display: grid;
    gap: 5px;
    padding: 12px 14px;
    margin: 0 0 8px;
    background: var(--raise);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
  }
  .pep-prices-t tbody th, .pep-prices-t tbody td {
    display: block;
    padding: 0;
    border: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .pep-prices-t tbody th { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
  .pep-prices-t tbody td::before {
    content: attr(data-label) " ";
    font: 400 0.875rem/1.25 var(--mono);
    color: var(--soft);
    margin-right: 6px;
  }
}

/* ---- /match/ Pinned Slip on Archival Band ---- */
.match-band-in { width: var(--w); margin: 0 auto; padding: clamp(32px, 5vw, 64px) 0; }
.match-slip {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-m);
}
.match-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.match-top .hc-k { margin-bottom: 0; flex: 1; }
.m-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  height: 6px;
  margin-bottom: 22px;
}
.m-steps i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--line);
  transition: background-color 220ms var(--ease);
}
.m-steps i.on { background: var(--ink); }
.m-step h2, .m-res h2 {
  margin: 0 0 16px;
  font: 400 clamp(1.6rem, 2.8vw, 2.25rem)/1.12 var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
  outline: none;
}
.m-step h2:focus, .m-res h2:focus, .m-step h2:focus-visible, .m-res h2:focus-visible { outline: none; }
.m-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.m-opts .ex-chip { height: auto; min-block-size: 40px; padding: 8px 15px; line-height: 1.25; }
.m-cnt { margin-left: 5px; font: 400 0.875rem/1 var(--mono); color: var(--soft); }
.m-opts .ex-chip[aria-pressed="true"] .m-cnt { color: var(--paper); opacity: 0.8; }
.m-back {
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--raise);
  color: var(--ink);
  font: 400 0.875rem/1 var(--sans);
  min-block-size: 38px;
  padding: 0 14px;
  cursor: pointer;
}
.m-back:hover { border-color: var(--ink); }
.m-step-foot { margin-top: 16px; }
.m-next-btn, .m-prime, body.place a.m-prime, body.place .prose a.m-prime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-block-size: 44px;
  padding: 0 20px;
  border-radius: var(--r-s);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font: 500 0.9375rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.m-next-btn:hover, .m-prime:hover, body.place a.m-prime:hover, body.place .prose a.m-prime:hover {
  background: var(--accent-press);
  border-color: var(--accent-press);
  color: var(--on-accent);
}
.m-out, body.place a.m-out, body.place .prose a.m-out {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-block-size: 44px;
  padding: 0 18px;
  border-radius: var(--r-s);
  border: 1px solid var(--field-border);
  background: var(--raise);
  color: var(--ink);
  font: 400 0.9375rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.m-out:hover, body.place a.m-out:hover, body.place .prose a.m-out:hover { border-color: var(--ink); background: var(--plate); color: var(--ink); }
.m-ghost {
  border: 0;
  background: transparent;
  color: var(--mute);
  font: 400 0.875rem/1 var(--sans);
  min-block-size: 40px;
  padding: 0 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.m-ghost:hover { color: var(--ink); }
.m-list { margin-top: 14px; }
.m-row { grid-template-columns: 2rem minmax(0, 1.3fr) minmax(136px, 0.9fr) minmax(0, 0.9fr) auto; cursor: default; }
.m-empty { padding: 18px 0; font-size: 0.9375rem; color: var(--mute); }
.m-empty b { color: var(--ink); }
.m-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.m-links { margin: 14px 0 0; font-size: 0.875rem; color: var(--mute); }
.match-noscript { max-width: 780px; margin: 0 auto; }
.match-noscript p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.match-noscript a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.match-noscript a:hover { text-decoration-color: currentColor; }

/* ---- /saved/ Shortlist & Empty State ---- */
.sv-rail .k-lbl { margin: 0 0 12px; color: var(--soft); }
.sv-facts { margin: 0; border-top: 1px solid var(--line); }
.sv-facts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sv-facts dt { font: 500 0.9375rem/1.35 var(--sans); color: var(--ink); margin: 0 0 3px; }
.sv-facts dd { margin: 0; font: 400 0.875rem/1.5 var(--sans); color: var(--mute); }
.sv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 18px; margin-bottom: 12px; }
.sv-h { margin: 0; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); letter-spacing: -0.018em; color: var(--ink); }
.sv-foot { margin: 0; font: 400 0.875rem/1.3 var(--mono); color: var(--soft); }
.sv-row { grid-template-columns: 2rem minmax(0, 1.3fr) minmax(136px, 0.9fr) minmax(0, 0.9fr) auto; cursor: default; }
.sv-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.sv-status { margin: 12px 0 0; min-height: 1.4em; font-size: 0.875rem; color: var(--mute); }
.sv-empty {
  padding: clamp(24px, 3vw, 36px);
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
.sv-empty .k-lbl { margin: 0 0 8px; color: var(--soft); }
.sv-empty h2 { margin: 0 0 10px; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); letter-spacing: -0.018em; color: var(--ink); }
.sv-empty p { margin: 0 0 14px; font-size: 1rem; line-height: 1.6; color: var(--mute); max-width: 62ch; }
.sv-empty-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; max-width: none; }

/* ---- Motion for List Pages ---- */
@media (prefers-reduced-motion: no-preference) {
  .rank-hp .hc-score,
  .prices-hp .hc-prices { animation: hp-card 320ms var(--ease) 80ms both; }
  .cities-hp .hp-map svg circle { animation: hp-dot 300ms var(--ease) both; animation-delay: calc(60ms + var(--i, 0) * 10ms); }
  .cmp-slot.settle { animation: cmp-settle 280ms var(--ease) both; }
  .slide-fwd { animation: m-fwd 220ms var(--ease) both; }
  .slide-back { animation: m-back 220ms var(--ease) both; }
  @keyframes hp-dot { from { opacity: 0.35; } }
  @keyframes cmp-settle { from { translate: 0 8px; } }
  @keyframes m-fwd { from { opacity: 0; translate: 12px 0; } }
  @keyframes m-back { from { opacity: 0; translate: -12px 0; } }
  ::view-transition-old(fl-list) { animation: 100ms ease-in both gp-leave; }
  ::view-transition-new(fl-list) { animation: 180ms var(--ease) both gp-arrive; }
}

/* ---- Responsive Breakpoints for List Pages ---- */
@media (max-width: 1080px) {
  .list-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rank-hp, .prices-hp { min-height: 0; padding: 20px; display: grid; gap: 18px; justify-content: stretch; }
  .rank-hp .hp-labels, .rank-hp .hp-foot, .prices-hp .hp-labels, .prices-hp .hp-foot { position: static; }
  .rank-poster-stage, .prices-poster-stage {
    width: 100%;
    margin: 0;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 18px;
  }
  .rank-hp .hc-score, .prices-hp .hc-prices { position: static; transform: none; width: auto; }
  .cities-layout { grid-template-columns: minmax(0, 1fr); }
  .cities-map-col { position: static; order: -1; }
  .cities-hp { min-height: 0; }
}
@media (max-width: 780px) {
  .leaders-grid { grid-template-columns: minmax(0, 1fr); }
  .leaders-head-2 { display: none; }
  .cmp-fan { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cmp-slot[data-slot="0"], .cmp-slot[data-slot="1"], .cmp-slot[data-slot="2"] { transform: none; min-height: 0; }
  .cmp-hp { min-height: 0; padding: 20px; gap: 14px; }
  .cmp-hp .hp-labels, .cmp-hp .hp-foot { position: static; }
  .cmp-rail { display: none; }
  .cmp-m-lbl { display: block; margin-bottom: 2px; }
  .cmp-grid { grid-template-columns: repeat(var(--cmp-n, 3), minmax(260px, 84vw)); gap: 0 12px; }
  .board .r-with-cmp, .m-row, .sv-row { grid-template-columns: 1.8rem minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; }
  .board .r-cmp, .m-save, .sv-rm { grid-column: 3; justify-self: end; align-self: center; }
  .cities-tbl th:nth-child(4), .cities-tbl td:nth-child(4) { display: none; }
}
@media (max-width: 480px) {
  .rank-poster-stage { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .prices-poster-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .prices-poster-stage .prices-grid-svg { margin-inline: auto; }
  .leaders-t th, .leaders-t td { padding: 11px 10px 11px 0; overflow-wrap: anywhere; }
  .leaders-t th:last-child, .leaders-t td:last-child { padding-right: 0; }
  .leaders-t .score { width: 74px; min-width: 0; text-align: right; }
  .leaders-t .score b { display: block; width: auto; }
  .leaders-t .score .pb { display: flex; width: 68px; margin: 5px 0 0 auto; }
  .board .r-with-cmp, .m-row, .sv-row { grid-template-columns: minmax(0, 1fr) auto; }
  .board .r-cmp, .m-save, .sv-rm { grid-column: 2; }
  .cmp-grid { grid-template-columns: repeat(var(--cmp-n, 3), minmax(248px, 86vw)); }
}

/* ---- Reading Pages: Header, Sticky Contents Rail, Editorial Prose & Code ---- */
.read-head { padding: clamp(20px, 2.8vw, 36px) 0 clamp(18px, 2.6vw, 28px); }
.read-grid {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 6px;
  padding-top: clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--rule-strong);
}
.agents-hp + .read-grid, .money-grid + .read-grid { margin-top: clamp(32px, 4.5vw, 52px); }
.toc-rail {
  position: sticky;
  top: 24px;
  max-block-size: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.toc-rail .k-lbl { margin: 0 0 12px; color: var(--soft); }
.toc-rail ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc-rail li { margin: 0; }
.toc-rail a {
  display: block;
  padding: 7px 0 7px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font: 400 0.875rem/1.4 var(--sans);
  color: var(--mute);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}
.toc-rail a:hover { color: var(--ink); }
.toc-rail a.is-active, .toc-rail a[aria-current="location"] {
  color: var(--ink);
  font-weight: 500;
  border-left-color: var(--ink);
}
.read-body { min-width: 0; }

body.place .prose {
  max-width: 65ch;
  font: 400 1.02rem/1.66 var(--sans);
  text-wrap: pretty;
  color: var(--ink);
  overflow-wrap: anywhere;
}
body.place .prose > :first-child { margin-top: 0; }
body.place .prose h2 {
  font: 400 clamp(1.45rem, 1.15rem + 1.3vw, 1.95rem)/1.18 var(--serif);
  letter-spacing: -0.018em;
  margin: 40px 0 12px;
  color: var(--ink);
  text-wrap: balance;
  scroll-margin-top: 24px;
}
body.place .prose h2:target { scroll-margin-top: 24px; }
body.place .prose h3 { font: 600 1.0625rem/1.35 var(--sans); margin: 26px 0 8px; color: var(--ink); }
body.place .prose p, body.place .prose ul, body.place .prose ol, body.place .prose dl { margin: 0 0 15px; }
body.place .prose ul:not(.plain), body.place .prose ol { padding-left: 1.35em; }
body.place .prose li { margin: 6px 0; }
body.place .prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.place .prose a:hover { text-decoration-color: currentColor; }
body.place .prose :not(pre) > code,
.fdetail dd code, .mcard code,
.data-tbl td:first-child code, .data-tbl th code {
  background: var(--plate);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  font: 400 0.875rem/1.4 var(--mono);
}
body.place .prose .fine { font-size: 0.875rem; line-height: 1.55; color: var(--mute); }
body.place .prose .disclaimer {
  margin: 28px 0 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mute);
}
body.place .prose .disclaimer b { color: var(--ink); font-weight: 500; }

/* Code blocks in archival surface with language label & Copy button */
.code-box {
  margin: 18px 0 22px;
  max-width: 100%;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--raise);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--plate);
}
.code-lang {
  font: 400 0.875rem/1.2 var(--mono);
  color: var(--soft);
}
.code-copy {
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--raise);
  color: var(--ink);
  font: 400 0.875rem/1 var(--mono);
  padding: 6px 12px;
  min-block-size: 32px;
  cursor: pointer;
}
.code-copy:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.code-copy[hidden] { display: none; }
.code-box pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font: 400 0.875rem/1.58 var(--mono);
  color: var(--ink);
  background: transparent;
}
.code-box pre code { background: none; padding: 0; border: 0; border-radius: 0; color: inherit; font: inherit; }
.code-box pre.cite { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---- /how-we-rank/ Hero & Score Bar Anatomy ---- */
.rank-formula-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4.5vw, 56px);
  align-items: start;
  padding: clamp(20px, 2.8vw, 36px) 0 clamp(22px, 3vw, 36px);
}
.rank-formula-hero .read-head { padding: 0; }
.score-anatomy {
  width: 100%;
  max-width: 65ch;
  justify-self: end;
  padding: 20px 22px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
.anat-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--soft);
}
.anat-groups {
  display: grid;
  grid-template-columns: var(--anat-g, 65fr 35fr);
  gap: 3px;
  align-items: end;
  margin-bottom: 8px;
}
.anat-g {
  min-width: 0;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--ink);
  font: 400 0.875rem/1.3 var(--mono);
  color: var(--ink);
}
.anat-g.pe { border-bottom-color: var(--h2-deep); color: var(--mute); }
.pb-anat {
  display: grid;
  grid-template-columns: var(--anat-cols, 35fr 30fr 20fr 10fr 5fr);
  gap: 3px;
  width: 100%;
  height: 14px;
  margin: 4px 0 8px;
}
.pb-anat i { width: 100%; border-radius: 2px; }
.anat-slots {
  display: grid;
  grid-template-columns: var(--anat-cols, 35fr 30fr 20fr 10fr 5fr);
  gap: 3px;
  align-items: start;
}
.anat-slot {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: start;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}
.anat-slot b {
  font: 500 1.05rem/1.1 var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.anat-slot.pc b { color: var(--ink); }
.anat-slot .anat-lbl { font: 400 0.875rem/1.3 var(--sans); color: var(--mute); }
/* 5-point rightmost slot: anchor label flush to bar's right edge under a vertical hairline leader so it never spills */
.anat-slot.anat-k-recency { position: relative; justify-items: end; text-align: right; padding-bottom: 40px; }
.anat-slot.anat-k-recency .anat-lbl {
  position: absolute;
  right: 0;
  top: 38px;
  padding-top: 14px;
  white-space: nowrap;
}
.anat-slot.anat-k-recency .anat-lbl::before {
  content: "";
  position: absolute;
  top: 0;
  right: 6px;
  width: 1px;
  height: 11px;
  background: var(--rule-strong);
}
.anat-ex {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule-strong);
  display: grid;
  gap: 8px;
}
.anat-ex-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.anat-ex-head .k-lbl { color: var(--soft); }
.anat-ex-link {
  font: 500 0.875rem/1.35 var(--sans);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}
.anat-ex-link:hover { text-decoration-color: currentColor; }
.anat-ex .pb {
  display: grid;
  grid-template-columns: 35fr 30fr 20fr 10fr 5fr;
  gap: 3px;
  height: 11px;
}
.anat-ex .pb i { width: 100%; border-radius: 2px; }
.anat-ex-slots {
  display: grid;
  grid-template-columns: minmax(52px, 35fr) minmax(52px, 30fr) minmax(68px, 20fr) minmax(60px, 10fr) minmax(38px, 5fr);
  gap: 6px;
  align-items: baseline;
}
.anat-ex-slot { min-width: 0; }
.anat-ex-slot b {
  font: 500 0.875rem/1.15 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.anat-ex-slot b small { font-weight: 400; color: var(--soft); font-size: 0.875rem; }
.anat-ex-slot.anat-k-recency { text-align: right; }
.anat-mkey { display: none; }

.fdetail { max-width: 65ch; margin: 20px 0 28px; padding: 0; border-top: 1px solid var(--rule-strong); }
.fdetail > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fdetail dt { font: 500 1.0625rem/1.35 var(--sans); color: var(--ink); margin-bottom: 6px; }
.fdetail .pts { font: 400 0.875rem/1.2 var(--mono); color: var(--ink); }
.fdetail dd { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--mute); }
.fdetail dd + dd { margin-top: 8px; font-size: 0.875rem; }
.fdetail dd b { font-weight: 500; color: var(--ink); }

/* ---- /for-agents/ Archival Plate with Three Live Slips ---- */
.agents-hp {
  aspect-ratio: auto;
  min-height: 0;
  padding: 20px 22px;
  margin-top: 4px;
  display: grid;
  gap: 16px;
  background: var(--plate);
  border: 1px solid var(--line);
}
.agents-hp .hp-labels, .agents-hp .hp-foot { position: static; }
.agents-slips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}
.agent-slip { display: flex; flex-direction: column; min-width: 0; padding: 16px 16px 15px; }
.agent-slip .hc-name { font-size: 1.125rem; margin: 0 0 8px; }
.as-call {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.as-call code {
  flex: 1 1 auto;
  min-width: 0;
  background: none;
  padding: 2px 0;
  font: 400 0.875rem/1.45 var(--mono);
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.as-copy {
  flex: none;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--raise);
  color: var(--ink);
  font: 400 0.875rem/1 var(--mono);
  padding: 5px 11px;
  min-block-size: 32px;
  cursor: pointer;
}
.as-copy:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.as-copy[hidden] { display: none; }
.as-out {
  margin: 0 0 12px;
  padding: 10px 12px;
  flex: 1;
  background: var(--plate);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow-x: auto;
  font: 400 0.875rem/1.48 var(--mono);
}
.as-out code { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
.as-link {
  margin-top: auto;
  font: 500 0.875rem/1.25 var(--sans);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}
.as-link:hover { text-decoration-color: currentColor; }
body.place .prose ul.eps code { word-break: break-word; }

/* ---- /404.html Archival Plate & Search Combobox ---- */
.notfound-hp {
  aspect-ratio: auto;
  min-height: 410px;
  padding: 54px 24px 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-stage {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  width: min(100%, 300px);
  position: relative;
  z-index: 2;
}
.notfound-hp .hp-big {
  position: static;
  display: grid;
  grid-template-columns: auto minmax(0, 9rem);
  align-items: end;
  gap: 12px;
}
.notfound-hp .hp-big b { font-size: clamp(3.8rem, 6vw, 5.4rem); line-height: 0.86; }
.notfound-hp .hp-big span { padding-bottom: 4px; font-size: 0.875rem; }

.nf-search { position: relative; z-index: 10; max-width: 30rem; margin: 10px 0 4px; }
.nf-search form.search { display: flex; gap: 8px; }
.nf-search .field { position: relative; flex: 1; min-width: 0; display: grid; }
.nf-search .field > * { grid-area: 1 / 1; }
.nf-search input {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--field-border);
  border-radius: var(--r-m);
  background: var(--raise);
  color: var(--ink);
  font: 400 1rem/1 var(--sans);
}
.nf-search input::placeholder { color: var(--soft); opacity: 1; }
.nf-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.nf-search .ghost {
  height: 48px;
  padding: 0 17px;
  font: 400 1rem/48px var(--sans);
  color: var(--soft);
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.nf-search .ghost b { font-weight: 400; color: transparent; }
body.place .nf-search form.search .go {
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: var(--r-m);
  background: var(--accent);
  color: var(--on-accent);
  font: 500 0.9375rem/1 var(--sans);
  cursor: pointer;
}
body.place .nf-search form.search .go:hover { background: var(--accent-press); border-color: var(--accent-press); color: var(--on-accent); }
.nf-search .suggest {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: 100%;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  background: var(--raise);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-m);
  box-shadow: 0 16px 36px var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.nf-search .suggest .head { font: 400 0.875rem/1.3 var(--mono); color: var(--soft); background: var(--plate); padding: 7px 12px; }
.nf-search .suggest [role=option] {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  align-items: baseline;
  min-width: 0;
  padding: 11px 12px;
  cursor: pointer;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.nf-search .suggest [role=option] b { font-weight: 600; color: var(--ink); }
.nf-search .suggest [role=option] span { color: var(--mute); font: 400 0.875rem/1.3 var(--sans); }
.nf-search .suggest [role=option][aria-selected=true], .nf-search .suggest [role=option]:hover { background: var(--row-hover); }
.nf-search .suggest .kind { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--h0); }
.nf-search .suggest .kind.clinic { background: var(--h2); }
.nf-search .suggest .kind.state { background: var(--plate); border: 1px solid var(--pencil); }
.nf-search .note { margin: 6px 0 0; font-size: 0.875rem; color: var(--mute); }
.nf-search .note:empty { display: none; }
.gnext { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 12px; }

/* ---- /changelog/ & /news/ Timeline, /faq/ Ledger, /guides/ Index ---- */
body.place ol.log.timeline {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}
body.place ol.log.timeline > li {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 8px clamp(32px, 5vw, 72px);
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}
body.place ol.log.timeline > li > time {
  font: 400 0.875rem/1.45 var(--mono);
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
body.place ol.log.timeline > li > span { font: 400 1rem/1.6 var(--sans); color: var(--ink); max-width: 72ch; }
.nw { display: grid; gap: 8px; min-width: 0; max-width: 72ch; }
.nw-k {
  margin: 0;
  font: 400 0.875rem/1.3 var(--mono);
  color: var(--soft);
}
.nw-h { margin: 0; font: 400 1.35rem/1.25 var(--serif); letter-spacing: -0.015em; color: var(--ink); }
.nw > p:not(.nw-k):not(.nw-src):not(.nw-about) { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--ink); }
.nw-ch { margin: 2px 0 0; padding-left: 1.25em; font-size: 0.9375rem; line-height: 1.55; color: var(--mute); }
.nw-ch li { margin: 4px 0; }
.nw-src, .nw-about { margin: 2px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--mute); }
.nw-src .lbl, .nw-about .lbl {
  font: 400 0.875rem/1 var(--mono);
  color: var(--soft);
  margin-right: 6px;
}
.news-fine { margin: 28px 0 0; max-width: 68ch; font-size: 0.875rem; line-height: 1.55; color: var(--mute); }

.faq-ledger { margin-top: 0; border-top: 0; }
.faq-ledger details { border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.faq-ledger details:first-child summary { padding-top: 0; }
.faq-ledger details:target { outline: none; }
body.place .faq-ledger summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  min-block-size: 52px;
}
body.place .faq-ledger summary::before { content: none; display: none; }
.faq-ledger summary::-webkit-details-marker { display: none; }
.faq-ledger summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  display: grid;
  place-items: center;
  font: 400 1rem/1 var(--mono);
  color: var(--mute);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.faq-ledger details[open] summary::after {
  content: "−";
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.faq-ledger .faq-q { font: 500 1.0625rem/1.35 var(--sans); color: var(--ink); text-align: left; }
.faq-ledger .a { padding: 0 36px 20px 0; font: 400 1rem/1.62 var(--sans); color: var(--mute); max-width: 68ch; }
.faq-ledger .a p { margin: 0 0 10px; }
.faq-ledger .a p:last-child { margin-bottom: 0; }
.faq-ledger .a a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}
.faq-ledger .a a:hover { text-decoration-color: currentColor; }

.guide-index { margin-top: 6px; border-top: 1px solid var(--rule-strong); }
.guide-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 8px clamp(20px, 3.5vw, 48px);
  align-items: baseline;
  padding: clamp(20px, 2.4vw, 28px) 10px clamp(20px, 2.4vw, 28px) 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 150ms ease;
}
.guide-row:hover { background: var(--row-hover); }
.guide-num {
  font: 400 0.875rem/1.4 var(--mono);
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
.guide-copy { display: grid; gap: 6px; min-width: 0; max-width: 64ch; }
.guide-copy b {
  font: 400 clamp(1.25rem, 1.05rem + 0.65vw, 1.5rem)/1.22 var(--serif);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.guide-row:hover .guide-copy b, .guide-row:focus-visible .guide-copy b {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.guide-copy span { font: 400 0.9375rem/1.55 var(--sans); color: var(--mute); text-wrap: pretty; }
.guide-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font: 400 0.875rem/1.4 var(--mono);
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
.guide-meta::after { content: "→"; color: var(--ink); font-size: 0.95rem; transition: translate 160ms var(--ease); }
.guide-row:hover .guide-meta::after { translate: 3px 0; }

/* ---- /how-we-make-money/, /for-clinics/, /data/, /quality/, /reviews/, /landscape-2026/ ---- */
.money-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 12px; }
.mcard {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 20px 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.mcard.no {
  background: var(--plate);
  border: 1.5px solid var(--rule-strong);
  color: var(--ink);
}
.mcard .fine {
  margin: 0;
  font: 400 0.875rem/1.25 var(--mono);
  color: var(--soft);
}
.mcard.no .fine { color: var(--ink); font-weight: 500; }
.mcard .card-h { margin: 0; font: 400 1.45rem/1.18 var(--serif); letter-spacing: -0.015em; color: var(--ink); }
.mcard.no .card-h { color: var(--ink); }
.mcard p:not(.fine) { margin: 0; font-size: 0.9375rem; line-height: 1.58; color: var(--mute); }
.mcard.no p:not(.fine) { color: var(--ink); }

.cta-card {
  margin: 32px 0 8px;
  max-width: 65ch;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--r-m);
  background: var(--plate);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  display: grid;
  gap: 12px;
}
.cta-card .card-h {
  margin: 0;
  font: 400 0.875rem/1.25 var(--mono);
  color: var(--soft);
}
.cta-card .price {
  margin: 0;
  font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.12 var(--serif);
  letter-spacing: -0.018em;
  color: var(--ink);
}
.cta-card p:not(.price):not(.fine):not(.cta-acts) {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--mute);
}
.cta-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 0; }
.cta-card .m-prime { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cta-card .m-prime:hover { background: var(--accent-press); border-color: var(--accent-press); color: var(--on-accent); }
.cta-card .m-out { background: var(--raise); border-color: var(--field-border); color: var(--ink); }
.cta-card .m-out:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.cta-card .fine { margin: 2px 0 0; font-size: 0.875rem; color: var(--mute); }

.dl-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 6px; }
.reading-page .note {
  max-width: 72ch;
  margin: 8px 0 22px;
  padding: 16px 20px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--mute);
}
.reading-page .note b { color: var(--ink); font-weight: 500; }
.reading-page .note ul { margin: 0; padding-left: 1.25em; }
.reading-page .note li { margin: 5px 0; }
.prose-scroll { margin: 10px 0 32px; overflow-x: auto; }
.data-tbl { margin-top: 0; }
.data-tbl td:first-child code, .data-tbl th code { white-space: nowrap; }

.tierboxes { margin: 18px 0 32px; display: grid; gap: 28px; }
.tier-h { margin: 0 0 10px; font: 400 1.45rem/1.2 var(--serif); letter-spacing: -0.015em; color: var(--ink); }
.tier-h small { font: 400 0.875rem/1 var(--mono); color: var(--soft); margin-left: 6px; }
.tierboxes .src-note { margin: 0; font-size: 0.875rem; color: var(--mute); }

.rev-list { list-style: none; margin: 12px 0 28px; padding: 0; border-top: 1px solid var(--rule-strong); }
.rev-item {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr) 6.2rem auto;
  gap: 8px 18px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.rev-num { display: inline-flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; }
.rev-num b { font: 400 1.6rem/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.rev-num small { font-size: 0.875rem; color: var(--ink); }
.rev-mid { display: grid; gap: 2px; min-width: 0; }
.rev-mid .r-name { font: 500 1rem/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.rev-mid .r-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.rev-mid .where { font-size: 0.875rem; color: var(--mute); }
.rev-adj { display: grid; justify-items: end; gap: 2px; }
.rev-adj .k-lbl { color: var(--soft); }
.rev-adj b { font: 500 0.9375rem/1.15 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.rsrc {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  min-block-size: 38px;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--raise);
  font: 400 0.875rem/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.rsrc:hover { border-color: var(--ink); background: var(--plate); }

.reading-page ul.plain { list-style: none; margin: 10px 0 26px; padding: 0; border-top: 1px solid var(--line); }
.reading-page ul.plain > li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.55; }
.reading-page ul.plain .muted { color: var(--mute); }

.bars-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(28px, 4.5vw, 56px);
  margin: 10px 0 32px;
}
.bars { display: grid; border-top: 1px solid var(--rule-strong); margin-top: 10px; }
.bars .row {
  display: grid;
  grid-template-columns: minmax(100px, 154px) minmax(0, 1fr) 2.8ch;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font: 400 0.9375rem/1.35 var(--sans);
}
.bars .row:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.bars .track { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bars .fill { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.bars .row b { text-align: right; font: 400 0.875rem/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); }

/* Focus rings */
.cta-card :focus-visible, .mcard.no :focus-visible, .code-box :focus-visible,
.hp :focus-visible, .band :focus-visible, .hc :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Responsive Breakpoints for Reading Pages ---- */
@media (max-width: 1080px) {
  .rank-formula-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .score-anatomy { justify-self: start; }
  .agents-slips, .money-grid { grid-template-columns: minmax(0, 1fr); }
  .notfound-hp { min-height: 0; padding: 20px; display: grid; gap: 16px; justify-content: stretch; }
  .notfound-hp .hp-labels, .notfound-hp .hp-foot { position: static; }
  .nf-stage { width: 100%; }
}
@media (max-width: 980px) {
  .read-grid { display: block; padding-top: 18px; }
  .sv-rail { margin: 0 0 24px; }
  body.place ol.log.timeline > li { grid-template-columns: 140px minmax(0, 1fr); gap: 6px 24px; }
  .toc-rail {
    position: static;
    max-block-size: none;
    overflow: visible;
    margin: 0 0 28px;
    padding: 14px 16px;
    background: var(--raise);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
  }
  .toc-rail .k-lbl { margin-bottom: 8px; }
  .toc-rail ol { border-left: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .toc-rail a {
    border-left: 0;
    margin-left: 0;
    padding: 6px 0;
    min-block-size: 36px;
    display: inline-flex;
    align-items: center;
  }
}
@media (max-width: 780px) {
  .bars-cols { grid-template-columns: minmax(0, 1fr); }
  .guide-row { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 6px 12px; padding: 18px 2px; }
  .guide-meta { grid-column: 2; }
  .rev-item { grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: 6px 12px; }
  .rev-adj { display: none; }
  body.place ol.log.timeline > li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 560px) {
  .score-anatomy { padding: 16px; }
  .anat-slot.anat-k-recency { padding-bottom: 0; }
  .anat-slot .anat-lbl { display: none; }
  .anat-ex-slot b small { display: none; }
  .anat-mkey {
    display: grid;
    list-style: none;
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    gap: 6px;
  }
  .anat-mkey li {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    font: 400 0.875rem/1.35 var(--sans);
    color: var(--ink);
  }
  .anat-mkey .anat-sw { width: 10px; height: 10px; border-radius: 2px; background: var(--ink); }
  .anat-mkey li.pe .anat-sw { background: var(--h2-deep); }
  .anat-mkey b { font: 500 0.875rem/1 var(--mono); font-variant-numeric: tabular-nums; }
  .anat-mkey b small { font-weight: 400; color: var(--soft); font-size: 0.875rem; }
}
@media (max-width: 480px) {
  .nf-search form.search { flex-direction: column; }
}
