/* Every Option. Brief (his words, 2026-11-01): calm, simple, trustworthy, warm, hope for "every option", not sterile, some motion.
   Idea: one line that opens into several paths. Fonts self-hosted (SIL OFL); no third-party requests. */
@font-face { font-family: "Ovo"; src: url("/assets/fonts/ovo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
:root {
  --bg: #fbf6ec; --card: #fffdf8; --ink: #22302b; --muted: #5a645d; --line: #e8dfce;
  --accent: #b3472a; --accent-ink: #ffffff; --soft: #f8ead8; --sun: #f9e3c8; --pine: #2f5d50; --warn: #7a4e10;
  --radius: 18px; --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --serif: "Ovo", Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1c1a17; --card: #26231f; --ink: #f4ede1; --muted: #bfb4a4; --line: #3b362f;
          --accent: #ef9c72; --accent-ink: #26150e; --soft: #322820; --sun: #3a2a20; --pine: #9ccab9; --warn: #e6bf7a; }
}
* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line) transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.125rem/1.6 var(--sans); overflow-x: clip; caret-color: var(--accent); }
::selection { background: var(--sun); color: var(--ink); }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px; z-index: 9; }
svg { display: block; }

header.site { position: relative; z-index: 2; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; font: 500 1.4375rem/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 24px; height: 24px; color: var(--accent); }
nav.top { display: flex; gap: 2px 16px; flex-wrap: wrap; font-size: 0.96875rem; }
nav.top a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--muted); transition: color 160ms ease; }
nav.top a[aria-current] { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { nav.top a:hover { color: var(--accent); } }

/* The sun: one flat shape behind each page's first screen. */
main { position: relative; padding: 26px 0 56px; }
main::before { content: ""; position: absolute; z-index: -1; top: -150px; right: -130px; width: min(620px, 92vw); aspect-ratio: 1; border-radius: 50%; background: var(--sun); animation: rise 1400ms var(--ease-out) both; }
body { position: relative; z-index: 0; }

h1 { font: 400 clamp(2.375rem, 7.2vw, 4.125rem)/1.06 var(--serif); letter-spacing: -0.025em; margin: 0 0 18px; max-width: 13em; text-wrap: balance; }
.finder-page h1, .prose-page h1 { font-size: clamp(2rem, 5.4vw, 3rem); max-width: 17em; }
h2 { font: 400 clamp(1.5625rem, 3.4vw, 2rem)/1.2 var(--serif); letter-spacing: -0.015em; margin: 44px 0 10px; text-wrap: balance; }
h3 { font-size: 1.125rem; margin: 22px 0 6px; }
p { margin: 0 0 13px; }
.lede { font-size: clamp(1.1875rem, 2.3vw, 1.4375rem); line-height: 1.5; max-width: 32em; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }

/* The fork: one line opens into a path for each option. */
.fork { display: grid; grid-template-columns: clamp(52px, 19vw, 190px) 1fr; margin: 30px 0 10px; }
.fork-lines { width: 100%; height: 100%; color: var(--accent); overflow: visible; }
.fork-lines path { fill: none; stroke: currentColor; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.fork-lines .draw { stroke-dasharray: 100; animation: draw 1300ms var(--ease-out) both; }
.fork-lines .light { stroke: var(--bg); stroke-width: 2; stroke-dasharray: 5 95; stroke-linecap: butt; opacity: 0; animation: travel 8s linear infinite; animation-delay: 1.4s; }
.fork-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; }
.fork-list li { display: flex; align-items: center; min-height: 104px; }
.fork-list a { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-left: 10px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: 0 6px 20px -14px rgba(90, 60, 30, .45); transition: border-color 180ms ease, transform 160ms var(--ease-out); }
.fork-list a:active { transform: scale(0.985); }
.fork-list strong { display: block; font: 400 clamp(1.375rem, 3vw, 1.75rem)/1.15 var(--serif); letter-spacing: -0.01em; }
.fork-list .proc { display: block; color: var(--muted); font-size: 0.96875rem; line-height: 1.35; margin-top: 4px; }
.fork-list svg { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .fork-list a:hover { border-color: var(--accent); } .fork-list a:hover svg { transform: translateX(4px); } }
.plain { max-width: 34em; }

.finders { display: grid; gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
.finders a { display: block; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.finders strong { font: 400 1.25rem/1.2 var(--serif); }
.finders .abbr, .finders .for { display: block; color: var(--muted); font-size: 0.9375rem; }

.about { max-width: 36em; font-size: clamp(1.125rem, 2vw, 1.25rem); margin: 0 0 24px; }
.about p:last-of-type { margin-bottom: 8px; }
.sources { font-size: 0.9375rem; color: var(--muted); }
.sources summary { cursor: pointer; padding: 10px 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sources ul { margin: 8px 0 0; padding-left: 18px; }

form.zip { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 14px 34px -26px rgba(90, 60, 30, .55); }
form.zip label { display: block; font-size: 0.9375rem; color: var(--muted); margin-bottom: 5px; }
form.zip .f { flex: 1 1 140px; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%; min-height: 48px; transition: border-color 160ms ease; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
/* Fields: a calm pine ring, not the accent. On the physician form the accent is a red and its thick ring read like an error (walkthrough style item, 2026-11-09). */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-color: var(--pine); }
::placeholder { color: var(--muted); }
button, .btn { font: 600 1.03125rem/1 var(--sans); background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 15px 24px; min-height: 48px; cursor: pointer; transition: transform 140ms var(--ease-out), opacity 160ms ease; }
button:active { transform: scale(0.97); }
button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
button[disabled] { opacity: .6; cursor: progress; }

.status { margin: 18px 0; min-height: 1.4em; scroll-margin-top: 12px; }
.find-bar.over-results { display: none; }
.results-learn { font-weight: 600; margin: 18px 0 0; }
.results-learn a { display: inline-flex; align-items: center; min-height: 44px; }
.notice { background: var(--soft); border-radius: var(--radius); padding: 16px 18px; margin: 16px 0; }
.notice p:last-child { margin: 0; }

section.tier { margin-top: 30px; }
section.tier > h2 { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin: 0 0 4px; }
.tier-a .tier-note:last-child { margin-bottom: 0; }
/* Empty confirmed group: visible to doctors, but the doctors below stay the page's main thing. */
section.tier-empty { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 0.96875rem; line-height: 1.45; color: var(--muted); }
section.tier-empty p { margin: 0; }
section.tier-empty strong { color: var(--ink); font-weight: 600; }
section.tier-empty + section.tier-b { margin-top: 22px; }
section.tier-a > h2, section.tier-b > h2, section.tier-far > h2 { color: var(--accent); }
/* His pick 2026-11-11 (mockup A2): three levels of emphasis, confirmed > likely > IRs nearby. Nearby keeps the same words
   and card parts; only the weight drops: plain heading, unfilled card, smaller name, outlined Call, dimmer names in dark. */
section.tier-c > h2 { color: var(--ink); font-size: 1.25rem; }
section.tier-c .card { background: transparent; padding: 14px 18px; }
section.tier-c .card h3 { font-size: 1.1875rem; }
section.tier-c .actions { margin-top: 10px; }
section.tier-c .actions .call { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
@media (prefers-color-scheme: dark) { section.tier-c .card h3 a, section.tier-c .where .practice { color: var(--muted); } }
section.tier-empty + section.tier-c, section.tier-empty + section.tier-far { margin-top: 22px; }
.card .ask-tag { margin: 0 0 6px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.notice.referral { margin-top: 18px; }
.card.card-confirmed { border: 2px solid var(--accent); }
.confirmed-tag { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 0.875rem; font-weight: 600; }
.count { font: 600 0.9375rem var(--sans); color: var(--ink); letter-spacing: 0; }
.tier-note { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }

ol.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.card { min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; animation: arrive 280ms var(--ease-out) both; }
.card:nth-child(2) { animation-delay: 50ms; } .card:nth-child(3) { animation-delay: 100ms; } .card:nth-child(4) { animation-delay: 150ms; } .card:nth-child(5) { animation-delay: 200ms; } .card:nth-child(6) { animation-delay: 250ms; }
.card .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
@media (max-width: 480px) { .card .top { flex-wrap: wrap; } .card .top > img.photo { flex: 0 0 auto; order: -2; } .card .top .who { flex: 1 1 100%; order: 1; } .card .top .dist { order: -1; } }
.card .who { flex: 1; min-width: 0; }
.card, .card * { overflow-wrap: break-word; }
.card h3 { hyphens: auto; }
.card .photo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--soft); border: 1px solid var(--line); }
.card .blurb { margin: 10px 0 0; font-size: 1.03125rem; line-height: 1.5; }
.card .ins { margin: 8px 0 0; font-size: 0.96875rem; color: var(--muted); line-height: 1.45; }
.card .k { color: var(--ink); font-weight: 600; }
.card .confirm { color: var(--warn); }
.card .offices { margin-top: 10px; font-size: 0.96875rem; color: var(--muted); }
.card .offices p { margin: 0; font-size: 0.9375rem; }
.card .offices ul { margin: 4px 0 0; padding-left: 18px; }
.card .offices li { margin-top: 6px; overflow-wrap: anywhere; }
.card .offices li .practice { color: var(--ink); }
.card .offices li.lead .practice { font-weight: 600; }
.card .offices .odist { white-space: nowrap; font-variant-numeric: tabular-nums; }
.card .dist-note { margin: 2px 0 0; font-size: 0.90625rem; }
.card a[href^="tel:"] { white-space: nowrap; }
.actions .book, .actions .page { border: 1px solid var(--accent); border-radius: 999px; padding: 0 18px; text-decoration: none; font-weight: 600; }
.card h3 { margin: 0; font: 400 1.375rem/1.25 var(--serif); letter-spacing: -0.005em; }
.dist { white-space: nowrap; font-size: 0.9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.badge { display: block; font-size: 0.875rem; color: var(--pine); margin-top: 3px; }
.where { margin: 8px 0 0; color: var(--muted); font-size: 1.03125rem; line-height: 1.45; }
.where .practice { color: var(--ink); }
.label { display: block; font-size: 0.875rem; color: var(--warn); margin-top: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; font-size: 1rem; }
.actions a { display: inline-flex; align-items: center; min-height: 44px; }
.actions .call { background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border-radius: 999px; padding: 0 20px; transition: transform 140ms var(--ease-out); }
.actions .call:active { transform: scale(0.97); }
.claim { font-size: 0.8125rem; color: var(--muted); }
.claim a { color: var(--muted); }
.more { margin-top: 14px; }

.prose { max-width: 37em; }
.prose ul { padding-left: 20px; } .prose li { margin-bottom: 6px; }
dl.grades { display: grid; gap: 10px; margin: 14px 0; }
dl.grades div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
dl.grades dt { font: 400 1.25rem/1.25 var(--serif); } dl.grades dd { margin: 5px 0 0; }

form.claim-form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 18px; max-width: 37em; }
form.claim-form label { font-weight: 600; font-size: 1rem; display: block; margin-bottom: 5px; }
form.claim-form .hint { font-weight: 400; color: var(--muted); font-size: 0.90625rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 1rem; margin-bottom: 6px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks label { font-weight: 400 !important; display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; }
.checks input { width: 20px; min-height: 20px; height: 20px; accent-color: var(--accent); }
.row2 { display: grid; gap: 16px; } @media (min-width: 560px) { .row2 { grid-template-columns: 2fr 1fr; } }
.r-doc p { margin: 0; } .r-doc .k { font-weight: 600; font-size: 1rem; margin-bottom: 5px; } #r-doc-name { font: 400 1.25rem/1.25 var(--serif); }
input[aria-invalid="true"] { border-color: #a82a1e; box-shadow: 0 0 0 1px #a82a1e; } @media (prefers-color-scheme: dark) { input[aria-invalid="true"] { border-color: #f2b8b5; box-shadow: 0 0 0 1px #f2b8b5; } }
fieldset[aria-invalid="true"] legend { color: #a82a1e; } @media (prefers-color-scheme: dark) { fieldset[aria-invalid="true"] legend { color: #f2b8b5; } }
.claim .sep { padding: 0 8px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.ok { background: var(--soft); border-radius: var(--radius); padding: 16px 18px; }
.err { color: #a82a1e; } @media (prefers-color-scheme: dark) { .err { color: #f2b8b5; } }

footer.site { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 0.96875rem; }
footer.site p { margin-bottom: 8px; }
footer.site p { max-width: 60ch; }

/* One color per condition: paths on the home page, and the whole page on that condition's finder. */
.t-ufe { --accent: #a63a6b; --accent-ink: #fff; --sun: #f6dce6; --soft: #f7e6ec; }
.t-pae { --accent: #2f5f8f; --accent-ink: #fff; --sun: #d9e6f2; --soft: #e4edf5; }
.t-gae { --accent: #4c7a3d; --accent-ink: #fff; --sun: #dfe9d3; --soft: #e8efdf; }
.t-cpp { --accent: #1f6f78; --accent-ink: #fff; --sun: #d6ebec; --soft: #e2f0f1; }
.t-hem { --accent: #6e5f12; --accent-ink: #fff; --sun: #ece5c4; --soft: #f1ecd5; }
@media (prefers-color-scheme: dark) {
  .t-ufe { --accent: #e58bb4; --accent-ink: #2a0f1d; --sun: #3a2230; --soft: #33212b; }
  .t-pae { --accent: #8fb8e0; --accent-ink: #0f1d2a; --sun: #1f2c3b; --soft: #212c37; }
  .t-gae { --accent: #a6cf8e; --accent-ink: #15220f; --sun: #26331f; --soft: #29321f; }
  .t-cpp { --accent: #7fc4cc; --accent-ink: #0d2427; --sun: #1d3134; --soft: #1f2f31; }
  .t-hem { --accent: #d6c36a; --accent-ink: #221d05; --sun: #322d17; --soft: #2d2916; }
}
.fork-lines .t-ufe, .fork-lines .t-pae, .fork-lines .t-gae, .fork-lines .t-cpp, .fork-lines .t-hem { stroke: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); }
#conditions, #follow { scroll-margin-top: 16px; }

:root { --dia-body: #ead9c3; --dia-organ: #efc9b6; --dia-mass: #c97e73; --dia-artery: #d9a58f; }
@media (prefers-color-scheme: dark) { :root { --dia-body: #4a4238; --dia-organ: #7a5548; --dia-mass: #a8675d; --dia-artery: #b0806e; } }
.how { margin: 8px 0 8px; max-width: 37em; }
.how svg { width: 100%; height: auto; }
.how figcaption { margin-top: 8px; }

@keyframes rise { from { transform: translateY(46px); opacity: .55; } }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes travel { 0% { stroke-dashoffset: 100; opacity: 0; } 6% { opacity: .9; } 28% { opacity: .9; } 34%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  main::before, .fork-lines .draw, .fork-lines .light { animation: none; }
  .fork-lines .light { display: none; }
  .card { animation-name: fade; animation-duration: 200ms; }
  button, .fork-list a, .fork-list svg, .actions .call { transition: none; }
}
@keyframes fade { from { opacity: 0; } }

/* Condition education pages (job 12): one per condition, built from content/conditions/<slug>.toml. */
.t-fibroids { --accent: #a63a6b; --accent-ink: #fff; --sun: #f6dce6; --soft: #f7e6ec; }
@media (prefers-color-scheme: dark) { .t-fibroids { --accent: #e58bb4; --accent-ink: #2a0f1d; --sun: #3a2230; --soft: #33212b; } }
.condition { max-width: 40em; }
.condition section { scroll-margin-top: 14px; }
.condition .answer { max-width: 34em; }
.condition .cta { margin: 18px 0 8px; }
.btn { display: inline-flex; align-items: center; text-decoration: none; line-height: 1.2; }
/* Citation markers on every page (design review 2026-11-06): one group per run of sources, commas between numbers,
   ranges for three or more in a row; line-height 0 keeps the line spacing even; each number's tap area is widened
   past its glyph without moving the text. */
sup.ref { font-size: 0.72em; line-height: 0; vertical-align: super; margin-left: 1px; }
sup.ref a { position: relative; text-decoration: none; padding: 0 1px; border-radius: 4px; }
sup.ref a::after { content: ""; position: absolute; inset: -12px -4px -8px; }
sup.ref .sep { color: var(--muted); }
sup.ref .to { color: var(--muted); padding: 0 1px; }
@media (hover: hover) and (pointer: fine) { sup.ref a:hover { text-decoration: underline; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.urgent-line { font-weight: 600; background: var(--soft); border-radius: var(--radius); padding: 12px 16px; margin: 14px 0 0; max-width: 34em; }
/* Collapsed rows. Groups are cards with one structure; the less invasive group only adds color. */
.condition details { scroll-margin-top: 14px; }
.condition summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; padding: 12px 0; list-style: none; border-radius: 8px; }
.condition summary::-webkit-details-marker { display: none; }
.condition summary::after { content: "+"; flex: none; color: var(--accent); font: 400 1.5rem/1 var(--sans); }
.condition details[open] > summary::after { content: "\2013"; }
.fold-body { padding: 0 0 14px; animation: arrive 240ms var(--ease-out) both; }
details.group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 16px 2px; margin: 10px 0; }
details.group > summary { font: 400 1.5rem/1.2 var(--serif); }
details.group > .fold-body > p:first-child { margin-bottom: 6px; }
details.topic { border-top: 1px solid var(--line); }
details.option { border: 1px solid var(--line); border-radius: 14px; margin: 8px 0; overflow: hidden; }
details.option > summary, details.topic > summary { font-weight: 600; font-size: 1.0625rem; }
details.option > summary { padding-left: 16px; padding-right: 16px; border-radius: 0; }
details.option > summary:focus-visible { outline-offset: -3px; }
details.topic:last-of-type { border-bottom: 1px solid var(--line); }
details.option > .fold-body { padding: 14px 16px; background: var(--card); color: var(--ink); border-top: 1px solid var(--line); }
details.featured-group { background: var(--soft); border-color: transparent; }
details.featured-group > summary { color: var(--accent); }
details.featured-group details.option { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
details.option.featured { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
details.option.featured > summary, details.option.featured > summary::after { color: var(--accent-ink); }
details.option.featured > .fold-body { border-top: 0; }
#learn h2, #options h2 { margin-bottom: 12px; }
.find-first { margin: 6px 0 22px; }
.find-first > h2 { margin: 0 0 6px; font-size: clamp(1.4375rem, 3.4vw, 1.75rem); }
.find-intro { margin: 0 0 14px; max-width: 34em; font-size: clamp(1.125rem, 2vw, 1.25rem); }
/* The two links under the finder intro (walkthrough finding 1 and style item, 2026-11-09): 44 px targets, one row at 390. */
.find-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: -8px 0 6px; }
.find-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.find-links .find-compare { font-weight: 600; }
.hero-compare { margin: 4px 0 8px; }
.hero-compare a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }   /* 44 px tap target, same as the finder-page compare link (page reference first-screen check, 2026-11-09) */
@media (max-width: 359px) { .find-links { gap: 0 12px; } .find-links a { font-size: 0.9375rem; } }   /* the smallest phones: both links on one row, so the ZIP box stays on the first screen */
.find-label { margin: 0 0 8px; font-weight: 600; }
.learn-link { margin: 0 0 4px; font-weight: 600; }
.find-bar { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 5; display: flex; justify-content: center; align-items: center; min-height: 50px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border-radius: 999px; box-shadow: 0 8px 24px -10px rgba(40, 20, 10, .6); }
.find-bar[hidden] { display: none; }
body:has(.find-bar) footer.site { padding-bottom: 90px; }
@media (min-width: 761px) { .find-bar { left: auto; right: 24px; padding: 0 24px; } }
@media (prefers-reduced-motion: reduce) { .fold-body { animation: none; } }
dl.facts { margin: 8px 0 0; display: grid; gap: 8px; }
dl.facts dt { font-weight: 600; font-size: 0.96875rem; color: var(--accent); }
dl.facts dd { margin: 0; }
.condition .qa h3 { font: 400 1.3125rem/1.3 var(--serif); margin: 20px 0 4px; }
ol.refs { font-size: 1rem; color: var(--muted); padding-left: 22px; overflow-wrap: anywhere; }
ol.refs li { margin: 0 -10px 6px; padding: 4px 10px; border-radius: 10px; scroll-margin-top: 28vh; transition: background-color 200ms var(--ease-out); }
ol.refs li:target, ol.refs li.is-target { color: var(--ink); background: var(--soft); }
ol.refs li:focus { outline: none; }
ol.refs li:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ref-back { display: flex; align-items: center; min-height: 44px; margin: 8px 0 4px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 0.9375rem/1 var(--sans); cursor: pointer; transition: transform 160ms var(--ease-out); }
.ref-back:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { ol.refs li, .ref-back { transition: none; } }
.condition figure.photo { margin: 0 0 16px; }
.condition figure.photo img { width: 100%; height: auto; border-radius: var(--radius); }
.fork-list .pair { flex: 1; display: flex; flex-direction: column; gap: 6px; margin-left: 10px; }
.fork-list .pair > a:first-child { margin-left: 0; }
.fork-list .pair .also { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: none; border: 0; box-shadow: none; font-size: 0.9375rem; color: var(--accent); text-decoration: underline; }

/* Photos (job 14): self-hosted, warm, never tall enough to push the options or ZIP search off a phone screen. */
figure.photo { margin: 0 0 18px; }
figure.photo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--soft); }
figure.photo.banner img { aspect-ratio: 12 / 5; max-height: 280px; }
figure.photo.wide { margin: 34px 0 6px; }
figure.photo.wide img { aspect-ratio: 12 / 5; max-height: 360px; }
@media (prefers-color-scheme: dark) { figure.photo img { filter: brightness(0.86); } }
@media (max-width: 600px) { figure.photo.banner img { aspect-ratio: 16 / 5; } figure.photo.banner { margin-bottom: 14px; } }

/* Job 13 UI check: the hidden attribute always wins (the claim form hides after sending); standalone links are 44px
   tall; paragraphs stay within about 75 characters a line (60ch); the menu fits one line at 320px. */
[hidden] { display: none !important; }
main p { max-width: 60ch; }
main .card p, main .lede { max-width: none; }
main .lede { max-width: 32em; }
footer.site p > a:only-child, .about > p > a:only-child { display: inline-block; padding: 10px 0; }
@media (max-width: 359px) { header.site .wrap { padding-left: 16px; padding-right: 16px; } nav.top { gap: 2px 10px; font-size: 0.90625rem; } }

/* The condition's IR procedure, open after the finder; its row in the group points back to it. */
.lead-option { background: var(--soft); border-radius: var(--radius); padding: 20px 16px; margin: 20px 0 24px; scroll-margin-top: 14px; }
.lead-option > h2 { margin: 0 0 10px; color: var(--accent); }
.lead-option .cta { margin-bottom: 4px; }
a.option-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; margin: 8px 0; padding: 12px 16px; border: 1px solid var(--accent); border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
a.option-link .option-note { flex: none; font-weight: 400; font-size: 0.9375rem; }

/* Procedure animation (Soft atlas). Template: ai-hq projects/platform/design/procedure-animations/README.md */
.proc { --calm: #eebfc4; --edge: #c98f99; --hot: #d2433d; --mass-hot: #a92f35; --artery: #c7504e; --bead: #2f6fb0; --tube: #3a3238; --light: #fbe7e6;
  --bone: #efe6d6; --bone-edge: #bfae94; --urine: #d9a92f; --bladder: #f5e7c4; --shade-a: #fbdcdc; --shade-b: #eebfc4; --shade-c: #d99aa2; --fib-a: #ecb6ba; --fib-b: #c5808a; --skin: #f3dccb; --skin-edge: #d4ae94;
  display: grid; gap: 12px; margin: 12px 0; max-width: 37em; }
@media (prefers-color-scheme: dark) { .proc { --edge: #f0cdd1; --hot: #e2554c; --mass-hot: #a8302f; --artery: #e0605a; --bead: #7fc0f5; --tube: #f4ede1; --bone-edge: #8f8069; --urine: #e9bf4d; --bladder: #e9d9b0; --skin: #d9bba5; --skin-edge: #a8866e; } }
.proc-stage { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.proc svg.main { display: block; width: 100%; height: auto; }
.proc .route { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--soft); font-size: 0.9375rem; line-height: 1.35; }
.proc .route .inset { flex: none; width: 54px; height: auto; }
.proc .route span { min-width: 0; }
.proc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.proc-steps[hidden], .proc-replay[hidden], .proc-ctl[hidden], .proc-play[hidden] { display: none; }
/* Fix G (his yes, 2026-11-15): Pause / Play beside Replay; a tapped step plays that step and holds. */
.proc-ctl { display: flex; flex-wrap: wrap; gap: 8px; }
.proc .proc-play { padding-inline: 18px; min-width: 96px; }
.proc button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); font: 600 0.9375rem/1.2 var(--sans); }
.proc button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.proc .proc-replay { justify-self: start; padding-inline: 18px; }
.proc figcaption { margin: 0; display: grid; gap: 10px; }
.proc-cap strong { display: block; font: 400 1.375rem/1.2 var(--serif); }
.proc-cap p { margin: 0; }
.proc.js .proc-cap:not(.on) { display: none; }
.proc.js figcaption { min-height: 118px; align-content: start; }
.proc-vary { margin: 0; }
.proc:not(.js) .cath { display: none; }
.proc svg .vessel { fill: none; stroke: var(--artery); stroke-linecap: round; stroke-width: 7; opacity: .55; }
.proc svg .branch { fill: none; stroke: var(--artery); stroke-linecap: round; stroke-width: 4.5; }
.proc svg .fal { fill: none; stroke: var(--edge); stroke-width: 7; stroke-linecap: round; }
.proc svg .soft { fill: var(--calm); stroke: var(--edge); stroke-width: 1.5; }
.proc svg .organ { fill: url(#shade); stroke: var(--edge); stroke-width: 2; }
.proc svg .hot { fill: var(--hot); }
.proc svg .light { fill: var(--light); opacity: .75; }
.proc svg .fib { fill: url(#shadeFib); stroke: var(--edge); stroke-width: 1.5; }
.proc svg .fib-hot { fill: var(--mass-hot); }
.proc svg .swirl { fill: none; stroke: #fff; stroke-opacity: .22; stroke-width: 2; stroke-linecap: round; }
.proc svg .glow { fill: url(#heat); }
.proc svg .cath { fill: none; stroke: var(--tube); stroke-width: 3; stroke-linecap: round; }
.proc svg .blood { fill: var(--artery); }
.proc svg .bead { fill: var(--bead); stroke: #fff; stroke-opacity: .7; stroke-width: .6; }
.proc svg .bladder { fill: var(--bladder); stroke: var(--bone-edge); stroke-width: 2; }
.proc svg .urethra { fill: none; stroke: var(--urine); stroke-linecap: round; }
.proc svg .urine { fill: var(--urine); }
.proc svg .bone { fill: var(--bone); stroke: var(--bone-edge); stroke-width: 2; }
.proc svg .capsule { fill: var(--hot); }
.proc svg .neo { fill: none; stroke: var(--artery); stroke-width: 2.5; stroke-linecap: round; }
.proc svg .limb-fill { fill: var(--calm); stroke: none; }
.proc svg .limb-edge { fill: none; stroke: var(--edge); stroke-width: 2; stroke-linecap: round; }
/* 2026-11-11: hemorrhoid scene (skin, coils, drops) and simple labels on every procedure drawing, his words: "label things very simply" */
.proc svg .skin { fill: var(--skin); stroke: var(--skin-edge); stroke-width: 2; }
.proc svg .skin-hi { fill: #fff; opacity: .28; }
.proc svg .crease { fill: none; stroke: var(--skin-edge); stroke-width: 2.5; stroke-linecap: round; }
.proc svg .coil { fill: none; stroke: var(--bead); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.proc svg .drop { fill: var(--artery); }
.proc svg .label { fill: var(--ink); font: 600 15px var(--sans); paint-order: stroke; stroke: var(--card); stroke-width: 5px; stroke-linejoin: round; }
.proc svg .leader { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; }
.proc svg .bolt path { fill: none; stroke: var(--hot); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lead-option > .proc-vary { margin: 14px 0 0; }
/* 2026-11-14: the pelvic drawings (site/assets/pelvic-anim.js): violet veins, an ache glow, foam medicine, a stent, a hip outline */
.proc { --vein: #8672bd; --vein-full: #6b55ad; --ache: #7a55c8; --mist: #c4e6fb; --pv-skin: #f8e9dd; --pv-skin-edge: #d4ae94; }
@media (prefers-color-scheme: dark) { .proc { --vein: #a998e6; --vein-full: #8f7be0; --ache: #9a7df0; --mist: #d6efff; --pv-skin: #4a3f38; --pv-skin-edge: #a8866e; } }
.proc svg .vein { fill: none; stroke: var(--vein); stroke-linecap: round; stroke-linejoin: round; }
.proc svg .vein.full { stroke: var(--vein-full); }
.proc svg .halo { fill: none; stroke: var(--card); stroke-linecap: round; }
.proc svg .press { fill: none; stroke: var(--artery); stroke-linecap: round; }
.proc svg .pv-glow { fill: url(#pvAche); }
.proc svg .cell { fill: var(--card); }
.proc svg .mist { fill: var(--mist); }
.proc svg .coil-halo { fill: none; stroke: var(--card); stroke-width: 6; stroke-linecap: round; opacity: .9; }
.proc svg .stent-fill { fill: url(#pvMesh); stroke: var(--tube); stroke-width: 2; }
.proc svg .pv-skin { fill: var(--pv-skin); }
.proc svg .pv-skin-edge { fill: none; stroke: var(--pv-skin-edge); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.proc[data-own] svg .coil { stroke-width: 2.6; }
#why-agree:empty { display: none; }
#s-agree[aria-invalid="true"] { outline: 2px solid var(--warn); outline-offset: 2px; }
#s-specialty label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 400; margin: 0; }
#s-specialty input[type="radio"] { width: 22px; height: 22px; min-height: 0; padding: 0; flex: none; accent-color: var(--accent); }

/* Job 22: physician accounts. One entry page, find yourself, Your account in sections. */
.t-account .status:empty { display: none; }
.t-account .status { padding: 12px 16px; border-radius: 12px; background: var(--soft); }
.t-account .status.err { background: transparent; border: 1px solid currentColor; }
.acct-choice { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 720px) { .acct-choice { grid-template-columns: 1fr 1fr; align-items: start; } }
.acct-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 16px; max-width: 40em; }
.acct-choice .acct-panel { margin-top: 0; max-width: none; height: 100%; box-sizing: border-box; }
.acct-panel > h2, .acct-panel summary h2 { font-size: 1.375rem; margin: 0 0 10px; }
.acct-panel > p:last-child { margin-bottom: 0; }
.acct-panel.acct-start { background: var(--soft); border-color: transparent; }
.acct-panel.need { border: 2px solid var(--accent); }
.acct-form { display: grid; gap: 14px; }
.acct-form .field label, .acct-form label.agree, .acct-panel .proc-note label { font-weight: 600; font-size: 1rem; display: block; margin-bottom: 5px; }
.acct-form .hint, .acct-panel .hint { font-weight: 400; color: var(--muted); font-size: 0.90625rem; }
.acct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.acct-alt { margin-top: 12px; }
.acct-foot { margin-top: 18px; }
.btn.secondary { display: inline-flex; align-items: center; background: transparent; color: var(--accent); border: 1px solid var(--accent); text-decoration: none; padding: 0 22px; }
button.link { background: none; border: 0; padding: 0 2px; min-height: 44px; color: var(--accent); font: 500 1rem var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; border-radius: 6px; }
button.link:active { transform: none; }
.acct-form label.agree { display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400; font-size: 0.96875rem; line-height: 1.5; }
.acct-form label.agree input { width: 22px; height: 22px; min-height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
input[type="checkbox"][aria-invalid="true"] { outline: 2px solid #a82a1e; outline-offset: 2px; }
fieldset[aria-invalid="true"] legend { color: #a82a1e; }
.who-box { background: var(--soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.who-box p { margin: 0 0 4px; }
.who-name strong { font: 400 1.25rem/1.25 var(--serif); }
.pick { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.pick-row { display: grid; gap: 2px; width: 100%; text-align: left; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font: 400 1rem/1.4 var(--sans); }
.pick-row:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .pick-row:hover { border-color: var(--accent); } }
.pick-name { font-weight: 600; font-size: 1.0625rem; }
.pick-meta { color: var(--muted); font-size: 0.9375rem; }
.pick-listed { color: var(--accent); font-size: 0.9375rem; font-weight: 600; }
.row3 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acct-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 4px; }
.acct-head p { margin: 0; }
.acct-name strong { font: 400 1.5rem/1.2 var(--serif); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.pill.full { background: var(--accent); color: var(--accent-ink); }
.see-line { margin: 0 0 12px; }
.see-line.need { font-weight: 600; }
.card.preview { animation: none; margin: 0 0 10px; }
.card.preview .actions span { display: inline-flex; align-items: center; min-height: 40px; }
.confirm-office { margin: 6px 0 0; }
.procs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.proc { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.proc.on { border-color: var(--accent); }
.proc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.proc-name { line-height: 1.35; }
.proc-name .muted { font-size: 0.9375rem; }
.proc-state { color: var(--accent); font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }
.proc .add { min-height: 40px; padding: 0 18px; }
.attest { margin-top: 8px; }
.attest-text { margin: 0 0 10px; font-size: 0.96875rem; line-height: 1.5; }
.proc-note summary, .history-panel summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--accent); }
.proc-note[open] { margin-bottom: 6px; }
.proc .remove { font-size: 0.9375rem; color: var(--muted); }
/* Job platform-directory-0036: the account row's grey line, and the private "not on the site yet" ticks */
.proc-name .proc-sub { display: block; font-size: 0.9375rem; line-height: 1.35; margin-top: 2px; }
.acct-form.also { gap: 10px; }
.acct-form.also > p { margin: 0; }
.also-groups { display: grid; gap: 8px; }
.also-group { border: 1px solid var(--line); border-radius: 14px; }
.also-group > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 4px 14px; font-weight: 600; list-style: none; border-radius: 14px; }
.also-group > summary::-webkit-details-marker { display: none; }
.also-group > summary::after { content: "+"; flex: none; color: var(--accent); font: 400 1.375rem/1 var(--sans); }
.also-group[open] > summary::after { content: "\2013"; }
.also-group > summary > span:first-child { flex: 1 1 auto; }
.also-n { color: var(--accent); font-size: 0.9375rem; white-space: nowrap; }
.also-list { display: grid; gap: 2px; padding: 0 14px 10px; }
.also-item { display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; min-height: 44px; padding: 6px 0; font-weight: 400 !important; margin: 0 !important; }
.also-item input { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.also-name { display: block; }
.also-for { display: block; font-size: 0.9375rem; line-height: 1.35; }
fieldset.office { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 12px; }
fieldset.office:first-child { border-top: 0; padding-top: 0; }
.photo-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.photo-row > div { flex: 1 1 220px; }
.photo-big { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--soft); border: 1px solid var(--line); flex: none; }
.ins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 16px; }
.acct-form.sub { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.acct-form.sub h3 { margin: 0; font: 400 1.25rem/1.25 var(--serif); }
.history-panel summary { list-style: none; color: var(--ink); }
.history-panel summary::-webkit-details-marker { display: none; }
.history-panel summary h2 { margin: 0; }
.history-panel summary::after { content: "Show"; margin-left: auto; color: var(--accent); font-size: 0.9375rem; }
.history-panel[open] summary::after { content: "Hide"; }
ul.history { list-style: none; padding: 0; margin: 0; }
ul.history li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); min-height: 44px; }
.h-what { display: grid; font-size: 0.96875rem; }
.h-when { color: var(--muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
ul.history .undo { flex: none; }
@media (prefers-color-scheme: dark) { input[type="checkbox"][aria-invalid="true"] { outline-color: #f2b8b5; } fieldset[aria-invalid="true"] legend { color: #f2b8b5; } }
/* Job 22: four menu links on one line on phones (the header wrapped once "For physicians" was added). */
@media (max-width: 480px) { nav.top { width: 100%; justify-content: space-between; column-gap: 6px; flex-wrap: nowrap; font-size: clamp(0.75rem, 3.55vw, 0.90625rem); white-space: nowrap; } nav.top a { min-width: 0; padding: 0 2px; } }
/* Job 22 design pass (phone screenshots, 390 px): sign out on one line; procedure names get the row; office legends
   clear of their divider; breathing room under the search button. */
#signout { white-space: nowrap; flex: none; }
.proc-name { min-width: 0; }
.proc-name .proc-state { display: block; margin-top: 2px; }
.proc .remove { justify-self: start; }
.proc.on { display: grid; justify-items: start; }
.proc.on .proc-head { width: 100%; }
fieldset.office { border-top: 0; padding-top: 0; }
fieldset.office + fieldset.office { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
fieldset.office legend { float: left; width: 100%; font: 400 1.125rem/1.3 var(--serif); margin-bottom: 4px; }
fieldset.office legend + * { clear: both; }
#f-results > p:first-child { margin-top: 18px; }
.proc-note summary { font-size: 1rem; }
.proc-note textarea { display: block; width: 100%; }

/* Home banner: dark in every theme (his words, 2026-11-03). */
.home-banner { --bg: #fbf8f4; --card: #fffdfc; --ink: #2b2228; --muted: #6b5d65; --line: #e2d6d2; --glow: #fbeedd; --sun1: #ffd166; --sun2: #ffe3a3; --edge: #d3bfac; --body-a: #f6ece1; --body-b: #ecdccc; --bone: #e6d6bb; --bone-hi: #fbf4e6; --bone-edge: #c9b89e; --org-a: #f8d5d6; --org-b: #e9aeb5; --org-edge: #c98f99; --liv-a: #d99089; --liv-b: #a95a58; --artery: #c7504e; --bead: #2f6fb0; --tube: #3a3238; --disc: #2f5d50; --sun: #f0a04b; --btn: #2f5d50; --btn-ink: #ffffff;
  background: #171311; color-scheme: dark; position: relative; --card: #171311; --ink: #fff4e4; --muted: #b9a99c; --edge: #8d746a; --body-a: #33272a; --body-b: #2a2023;
  --liv-a: #d0695f; --liv-b: #7d3534; --org-a: #e39aa0; --org-b: #93495a; --org-edge: #e6a9b0; --bone: #8f7f6e; --bone-hi: #e6d8c2;
  --artery: #f0705f; --bead: #86ccff; --tube: #fff1dd; --disc: #8fc4b2; --sun: #ffb648; }
.home-banner .hb-in { position: relative; }
.home-banner svg#s { display: block; width: 100%; height: auto; }
@media (min-width: 760px) { .home-banner svg#s { height: min(23.6vw, 378px); } }
.home-banner #sun { transform-box: fill-box; transform-origin: center; transform: scale(2.2, 1); }
.home-banner .cath { fill: none; stroke: var(--tube); stroke-width: 1.5; stroke-linecap: round; }
.home-banner .ves { fill: none; stroke: var(--artery); stroke-width: 3.4; stroke-linecap: round; }
.home-banner .word { font: 400 46px "Ovo", Georgia, serif; fill: var(--ink); letter-spacing: -.01em; }

/* ===== Redesign 2026-11-03. Home only: dark top, vessel spine, green accent (his yes). Every other page keeps the original
   theme and cards with the new fonts and logo (his words, 2026-11-03: the card layouts, cues, and color theme "were better"). ===== */
:root { --night: #171311; --plum: #33272a; --vessel: #d9574a; --vessel-lit: #f0705f; --gold: #ffb648; --mint: #8fc4b2; --cream: #fff4e4; --gut: clamp(20px, 5vw, 72px); font-synthesis: none; }
.home-page { --accent: #2f5d50; --accent-ink: #fff; --soft: #e6efe9; --sun: #e6efe9; }
@media (prefers-color-scheme: dark) { .home-page { --accent: #8fc4b2; --accent-ink: #14231d; --soft: #243029; --sun: #243029; --vessel: #e0605a; } }
.home-page main::before { display: none; }
h1, h2, .card h3 { letter-spacing: 0; }
.brand .logo { display: block; width: auto; height: 30px; }
.brand svg, .brand .logo { color: inherit; }
.logo-disc { fill: var(--mint); } .logo-hole { fill: var(--gold); }
header.site { background: var(--night); color: var(--cream); }
.home-page header.site .wrap { max-width: 1440px; padding: 8px var(--gut) 6px var(--gut); }
.brand { color: var(--cream); }
nav.top a { color: #e6d8c6; }
nav.top a[aria-current] { color: var(--cream); }
@media (hover: hover) and (pointer: fine) { nav.top a:hover { color: var(--gold); } }

.hero-in { max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding: 34px var(--gut) 44px var(--gut); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; }
.home-page .hero { position: relative; background: var(--night); color: var(--cream); }
.home-page .hero h1 { color: var(--cream); margin: 0 0 12px; max-width: 12em; font-size: clamp(2.25rem, 5vw, 4.125rem); line-height: 1.05; }
.home-page .hero .lede { color: #e6d8c6; margin: 0; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }
.spine-wave { position: absolute; left: calc(max(0px, (100% - 1440px) / 2) + var(--gut) - 18px); top: 0; width: 12px; height: 100%; overflow: visible; pointer-events: none; }
.spine-wave path { fill: none; stroke: url(#wave-fade); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.home-page .hero label, .home-page .hero .find-label { color: var(--cream); font-weight: 600; }
.home-page .hero .find-label { margin: 0 0 8px; font-size: 1rem; }
.home-page .hero label { display: block; font-size: 0.9375rem; margin-bottom: 4px; }
.home-page .hero input, .home-page .hero select { background: var(--cream); color: #22302b; border: 0; border-radius: 8px; min-height: 54px; width: 100%; }
.home-page .hs-row button { background: var(--gold); color: var(--night); border-radius: 8px; min-height: 54px; }
.hs-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.hs-row .f { flex: 1 1 150px; min-width: 0; } .hs-row .f-zip { flex: 1 1 120px; }
.hs-status { margin: 6px 0 0; min-height: 1.2em; font-size: 0.9375rem; color: var(--gold); }
@media (max-width: 760px) { .hero-in { grid-template-columns: minmax(0, 1fr); padding: 20px var(--gut) 26px var(--gut); } .home-page .hero h1 { font-size: 2.25rem; } .brand .logo { height: 25px; } header.site .wrap { padding-left: 16px; padding-right: 16px; } .home-page .hs-row button { flex: 1 1 100%; width: 100%; } }

.home-page main { padding-top: 0; }
.home-page main > .wrap { max-width: 1440px; padding: 0 var(--gut) 0 0; }
.spine { position: relative; margin-left: calc(var(--gut) - 18px); padding: 44px 0 8px 0; }
.spine > * { margin-left: 18px; }
.spine h2:first-child { margin-top: 0; }
.fork-list.stops { list-style: none; padding: 0; display: block; margin-top: 16px; }
.stops li { position: relative; border-top: 1px solid var(--line); margin: 0; }
.stops li:last-child { border-bottom: 1px solid var(--line); }
.more-soon { margin: 18px 0 0 18px; color: var(--muted); font-size: 1.0625rem; }
.fork-list.stops a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 2px 20px; align-items: center; min-height: 104px; padding: 12px 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: var(--ink); text-decoration: none; }
.stops strong { font: 400 clamp(1.625rem, 3vw, 2.375rem)/1.15 var(--serif); }
.stops .proc { border: 0; padding: 0; background: none; color: var(--ink); font-size: 1.0625rem; border-radius: 0; display: block; }
.fork-list.stops .count { color: var(--muted); font-size: 1rem; font-weight: 400; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .stops a:hover strong { color: var(--accent); } }
.plain.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; max-width: none; }
.plain.two h2 { margin-top: 0; font-size: 1.75rem; }
@media (max-width: 760px) {
  .fork-list.stops a { grid-template-columns: minmax(0, 1fr); min-height: 96px; }
  .stops .proc, .fork-list.stops .count { font-size: 0.9375rem; color: var(--muted); }
  .plain.two { grid-template-columns: minmax(0, 1fr); }
}

/* Fibroid page: original theme, wider layout. Results first, education beside them on a computer. */
.condition-page main > .wrap { max-width: 1440px; }
.hero-cond { margin-bottom: 16px; }
.hero-cond h1 { margin-bottom: 12px; }
.cond-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
.cond-grid .condition { max-width: none; }
/* A condition page with no doctor finder (hemorrhoids): one reading column, not an empty left half (job platform-condition-pages-0014). */
.cond-grid.no-finder { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.cond-grid.no-finder .condition { margin-top: 28px; }
.results-col .status { margin-top: 0; }
@media (max-width: 1020px) { .cond-grid { grid-template-columns: minmax(0, 1fr); } .cond-grid .condition { margin-top: 28px; } }
.condition-page header.site .wrap { max-width: 1440px; }

/* Cohesion (2026-11-03): every page shares the dark header; finder pages carry a slim strip of the banner art; home conditions are the same cards as the rest, in each condition's color. */
.page-strip { position: relative; --plum: #33272a; --vessel: #f0705f; --tube: #fff1dd; --bead: #86ccff; --org-a: #e39aa0; --org-b: #93495a; --org-edge: #e6a9b0; --hot: #a92f35; --urine: #e9bf4d; --bladder: #e9d9b0; --bone: #8f7f6e; --bone-hi: #e6d8c2; --skin: #4a3a3b; --skin-edge: #8d746a; background: var(--plum); height: clamp(120px, 16.6vw, 240px); overflow: hidden; }
.page-strip .pb, .page-strip .pb svg { display: block; width: 100%; height: 100%; }
.pb-replay { position: absolute; right: 8px; bottom: 4px; width: 44px; height: 44px; min-height: 0; padding: 0; background: none; border: 0; color: #e6d8c6; display: grid; place-items: center; cursor: pointer; }
.pb-replay[hidden] { display: none; }
@media (max-width: 359px) { .page-strip { display: none; } }
/* Daily-life strip (site/assets/life-strip.js, 2026-11-11): the symptom, not the anatomy. Colours follow the page theme. */
.page-strip .ls, .page-strip .ls svg { display: block; width: 100%; height: 100%; }
.page-strip:has(.ls) { height: clamp(120px, 16.6vw, 330px); }   /* keeps the whole picture up to about 1990px wide */
.page-strip .ls { --ls-clear: var(--soft); --ls-hill1: #cf8fab; --ls-hill2: #a63a6b; --ls-ray: #a63a6b; }
@media (prefers-color-scheme: dark) { .page-strip .ls { --ls-clear: #4a2c3b; --ls-hill1: #7d4a61; --ls-hill2: #5e1f3c; --ls-ray: #e58bb4; } }
.page-strip .ls[data-s="pae"] { --ls-hill1: #8fb0cf; --ls-hill2: #2f5f8f; --ls-ray: #2f5f8f; }
@media (prefers-color-scheme: dark) { .page-strip .ls[data-s="pae"] { --ls-clear: #2c4257; --ls-hill1: #4a6a8a; --ls-hill2: #1f3f60; --ls-ray: #8fb8e0; } }
.page-strip .ls[data-s="pae"] text.c .t { fill: #2f5f8f; }
.page-strip .ls[data-s="pae"] text.n { font-size: 10.2px; }
.page-strip .ls[data-s="gae"] { --ls-clear: #e8efdf; --ls-hill1: #a9c79a; --ls-hill2: #4c7a3d; --ls-ray: #4c7a3d; }
@media (prefers-color-scheme: dark) { .page-strip .ls[data-s="gae"] { --ls-clear: #2f3d2a; --ls-hill1: #55704a; --ls-hill2: #2c4a22; --ls-ray: #a9d08f; } }
.page-strip .ls[data-s="gae"] text.c .t { fill: #4c7a3d; }
.page-strip .ls[data-s="hae"] { --ls-clear: #f1ecd5; --ls-hill2: #6e5f12; --lh-wall: #ece5c4; --lh-tile: #f6f0dc; --lh-line: #ddd3ac; }
@media (prefers-color-scheme: dark) { .page-strip .ls[data-s="hae"] { --ls-clear: #4a4220; --ls-hill2: #4a3f0a; --lh-wall: #3a3418; --lh-tile: #453e1e; --lh-line: #2f2a12; } }
.page-strip .ls[data-s="hae"] text.c .t { fill: #6e5f12; }
.page-strip .ls[data-s="pelvic"] { --ls-clear: #e2f0f1; --ls-hill1: #a9d3d6; --ls-hill2: #1f6f78; --ls-ray: #1f6f78; }
@media (prefers-color-scheme: dark) { .page-strip .ls[data-s="pelvic"] { --ls-clear: #1f2f31; --ls-hill1: #3d5e61; --ls-hill2: #164e55; --ls-ray: #7fc4cc; } }
.page-strip .ls[data-s="pelvic"] text.c .t { fill: #1f6f78; }
.page-strip .ls text.lc-qm { font: 600 21px var(--sans); fill: #fbf6ec; }
.page-strip .ls text.n.lc-yr { font-size: 14.5px; }   /* about 11 px on a 390 px phone (critic 2026-11-14) */
.page-strip .ls text.b { font: 600 13px var(--sans); fill: #22302b; }
.page-strip .ls text.c { font: 600 14px var(--sans); fill: #22302b; }
.page-strip .ls text.c .t { fill: #a63a6b; }
.page-strip .ls text.d { font: 600 10.5px var(--sans); fill: #5a645d; }
.page-strip .ls text.n { font: 600 9.5px var(--sans); fill: #fbf6ec; }
.pb-replay.ls-replay { color: #33272a; background: rgba(251,246,236,.7); border-radius: 22px; }
main::before { top: 0; }
.fork-list.stops li { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 0 0 12px; box-shadow: 0 1px 2px rgba(60, 40, 30, .05); }
.fork-list.stops li:last-child { border-bottom: 1px solid var(--line); }
.fork-list.stops a { padding: 12px 20px; min-height: 92px; }
.stops strong { color: var(--accent); }
.home-page .hero-in, .home-page header.site .wrap { max-width: 1440px; }

/* Job 27: doctor directory and profiles. The card name opens the profile and keeps the card's look. */
/* Job platform-web-design-0008 (his 3A, 2026-11-09): the name reads as a link at every width, light and dark: an
   accent underline instead of the near-invisible line colour, and a hit area of at least 44 px without moving the card. */
.card h3 a { display: inline-block; padding: 9px 0; margin: -9px 0; color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--accent) 65%, transparent); transition: text-decoration-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .card h3 a:hover { color: var(--accent); text-decoration-color: currentColor; } }
.card h3 a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.dir-search { max-width: 37em; margin: 8px 0 28px; }
.dir-search label { display: block; font-weight: 600; margin-bottom: 6px; }
.dir-search input { width: 100%; font-size: 1.125rem; min-height: 48px; }
.dir-list { list-style: none; padding: 0; margin: 12px 0; }
.dir-list li { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.dir-list li a { font-weight: 600; }
nav.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 18px; }
nav.az a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; }
nav.az a[aria-current] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.dir-head { display: flex; gap: 16px; align-items: center; }
.dir-head h1 { margin-bottom: 2px; overflow-wrap: anywhere; }
.dir-head .photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.dir-group { margin-bottom: 6px; }
.dir-procs, .dir-offices { padding-left: 1.1em; }
.dir-procs li, .dir-offices li { margin: 0 0 12px; overflow-wrap: anywhere; }
.dir-procs .blurb { display: block; margin-top: 4px; }
.doctor-page .confirmed-tag { color: var(--pine); }
/* Job 42: city pages (breadcrumbs, town line, city lists) */
nav.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 0; padding: 0; margin: 0 0 14px; font-size: 0.9375rem; color: var(--muted); }
nav.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
nav.crumbs a { color: var(--muted); }
/* Architecture review 2026-11-06: a 44px tall hit area on each crumb without moving the line (Emil: hit areas). */
nav.crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.city-page p.answer { font-size: 1.0625rem; }
.city-page section.tier > h3 { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin: 0 0 4px; color: var(--accent); }
.city-page .towns, .city-page .find-own { margin-top: 10px; }
/* Job platform-main-0013: local facts under the answer; Likely cards grouped by town with jump links */
.city-page ul.facts { list-style: none; max-width: calc(60ch + 32px); padding: 12px 16px; margin: 14px 0 4px; border-left: 3px solid var(--accent); background: var(--card, transparent); }
.city-page ul.facts li { margin: 0; line-height: 1.5; }
.city-page ul.facts li + li { margin-top: 6px; }
.city-page section.tier .towns .k { color: var(--muted); }
.city-page section.tier .towns a { white-space: nowrap; }
.city-page .town-group { scroll-margin-top: 12px; }
.city-page .town-group h4 { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin: 26px 0 0; font-size: 1.125rem; scroll-margin-top: 12px; }
.city-page .town-group .count { color: var(--muted); font-weight: 400; }
.city-page p.to-towns { margin: 6px 0 0; }
.city-page ul.metro-list, .city-page ul.state-list, .city-page ul.near-cities, .city-page ul.others, nav.by-city ul { padding-left: 1.1em; }
nav.by-city { margin-top: 22px; }
nav.by-city h2 { font-size: 1.125rem; margin: 0 0 6px; }
nav.by-city ul { columns: 2; column-gap: 24px; margin: 0 0 6px; }
.doctor-page .metro-link { margin-top: 14px; }

/* Deep "every option" page: one wide table, then each treatment in full. */
.options-page main > .wrap { max-width: 1040px; }
.options-page main h2 { margin-top: 44px; }
/* Design review 2026-11-06: one centred reading column (about 68 characters); only the table runs wider. */
.options-page main > .wrap > :not(.table-scroll) { max-width: 39rem; margin-left: auto; margin-right: auto; }
.options-page .deep-refs details.topic, .options-page .deep-refs details.topic:last-of-type { border: 0; margin-top: 32px; }
.options-page .deep-refs details.topic > summary { font: 400 clamp(1.5625rem, 3.4vw, 2rem)/1.2 var(--serif); }
.see-every { font-weight: 600; margin: 0 0 14px; }
/* The condition page's link to the comparison page: a control below the option rows, not text above them (his words, 2026-11-09). */
a.compare-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--accent); border-radius: 14px; color: var(--accent); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; text-decoration: none; transition: background-color 160ms ease, transform 140ms var(--ease-out); }
a.compare-link:hover { background: var(--soft); }
a.compare-link:active { transform: scale(0.99); }
.compare-arrow { flex: none; font-size: 1.25rem; line-height: 1; }
@media (prefers-reduced-motion: reduce) { a.compare-link { transition: none; } a.compare-link:active { transform: none; } }
/* The comparison page's first-screen view of its grid (walkthrough finding 2, 2026-11-09). */
.glance-peek { margin: 12px auto 12px; background: var(--card); border-radius: var(--radius); padding: 4px 14px 2px; }
.glance-peek table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.35; }
.glance-peek caption { text-align: left; padding: 6px 0 2px; font: 400 1.125rem/1.25 var(--serif); }
.glance-peek th, .glance-peek td { padding: 6px 8px 6px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.glance-peek thead th { border-top: 0; padding-top: 2px; font-size: 0.9375rem; font-weight: 600; color: var(--muted); }
.glance-peek .peek-gloss { display: block; font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.glance-peek tbody th { font-weight: 600; }
.glance-peek tbody th a { display: block; padding: 6px 0; margin: -6px 0; color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .glance-peek tbody th a:hover { text-decoration: underline; } }
.glance-peek tbody th { width: 30%; }
.peek-more { font-weight: 600; font-size: 1rem; margin: 2px 0 0; }
.peek-more a { display: inline-flex; align-items: center; min-height: 44px; }
/* job platform-condition-pages-0013: the link to a coverage page (one look everywhere; the padding makes a 44 px target) */
.cov-link { font-weight: 600; margin: 10px 0 0; }
.cov-link a { display: inline-block; padding: 10px 0; }
/* Job platform-web-design-0008 (his 2A): the coverage line under the treatment's heading; quiet, one line, 44 px tall. */
.cov-near { margin: -4px 0 6px; font-size: 0.9375rem; }
.cov-near a { display: inline-flex; align-items: center; min-height: 44px; }
.cov-near a { text-decoration: none; }
.cov-near a .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }   /* the arrow stays outside the underline */
.cov-several .k { margin: 14px 0 0; }
.cov-several ul { list-style: none; margin: 0; padding: 0; }
.cov-several a { padding: 8px 0; }
.home-cov { margin: 10px 0 0 18px; }
@media (max-width: 559px) { nav.top a[href="/insurance/"] { display: none; } }   /* no room for a sixth item without a second row; footer and contextual links carry it */
.table-scroll { overflow-x: auto; border-radius: var(--radius); background: var(--card); margin: 12px auto 8px; }
table.glance { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
table.glance th, table.glance td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
table.glance thead th { border-top: 0; font-weight: 600; }
table.glance tr.grp th { background: var(--soft); font-weight: 600; }
table.glance tbody th[scope=row] { font-weight: 600; }
table.glance tr.lead th[scope=row], table.glance tr.lead td { background: color-mix(in srgb, var(--soft) 45%, transparent); }
/* Design review 2026-11-06: space and a serif name separate the treatments (no rules); the three labels inside each
   match the simple page's labels (accent, semibold), and every paragraph keeps a reading measure. */
.options-page main section > h2 { margin-top: 64px; }
.options-page main section > p { margin-bottom: 4px; }
.deep-option { padding: 30px 0 4px; scroll-margin-top: 14px; }
.deep-option.lead-option { padding: 24px 22px 18px; margin: 30px 0 8px; }
.deep-option h3 { margin: 0 0 8px; font: 400 clamp(1.375rem, 2.6vw, 1.625rem)/1.25 var(--serif); letter-spacing: -0.01em; }
.deep-option.lead-option h3 { color: var(--accent); }
.deep-option h4 { margin: 20px 0 4px; font-size: 1rem; font-weight: 600; color: var(--accent); }
.deep-option h4 + p { margin-top: 0; }
.deep-option > p:first-of-type { margin-top: 0; }
@media (max-width: 900px) {
  /* The table becomes one card per treatment on a phone or tablet: nothing runs off the screen edge (2026-11-07: from
     900 px down, now that the grid has a sixth column). */
  .table-scroll { overflow: visible; border: 0; background: none; }
  table.glance { min-width: 0; }
  table.glance thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.glance, table.glance tbody, table.glance tr, table.glance th, table.glance td { display: block; }
  table.glance tr.grp th { background: none; border: 0; padding: 20px 0 4px; font: 400 1.3125rem/1.25 var(--serif); }
  table.glance tbody tr:not(.grp) { background: var(--card); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
  table.glance tr.lead:not(.grp) { background: var(--soft); }
  table.glance tr.lead th[scope=row], table.glance tr.lead td { background: none; }
  table.glance tbody th[scope=row] { border: 0; padding: 0 0 6px; font-size: 1.0625rem; }
  table.glance td { border: 0; padding: 3px 0; display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; }
  table.glance td::before { content: attr(data-label); color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
}

/* Job platform-main-0023 (his words, 2026-11-07: "readability and navigability on the page"; "how well does it work? For
   each option"). The grid's first column says how well each option works; each option opens with its grid row; a
   contents list sits under the lede and deep-nav.js pins a copy while reading (rail from 1180 px, a bar below). */
table.glance td.c-works { min-width: 15rem; }
table.glance .cert, .opt-sum .cert { display: block; font-weight: 600; color: var(--ink); }
table.glance thead th:first-child, table.glance tbody th[scope=row] { min-width: 9rem; }
.glance-after { margin-top: 4px; }
/* ai-hq job platform-directory-0039 (his call 4): the way to a doctor right after the at-a-glance list; the peek link's look, a 44 px target */
.glance-find { font-weight: 600; font-size: 1rem; margin: 6px 0 5.5rem; }   /* space below, so it closes the list and does not read as the next heading's label (inspector "eyebrow") */
.glance-find a { display: inline-flex; align-items: center; min-height: 44px; text-wrap: balance; }
.opt-sum { display: grid; gap: 8px; margin: 6px 0 18px; padding: 14px 18px; background: var(--card); border-radius: 14px; font-size: 1rem; line-height: 1.45; }
.opt-sum > div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 14px; }
.opt-sum dt { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.opt-sum dd { margin: 0; }
.deep-option.lead-option .opt-sum { background: var(--bg); }
.toc { margin: 28px auto 8px; padding: 18px 22px 14px; background: var(--card); border-radius: var(--radius); }
.toc-title { margin: 0 0 6px; font: 400 1.25rem/1.25 var(--serif); }
.toc ol, .toc-panel ol { list-style: none; margin: 0; padding: 0; }
.toc > ol > li { padding: 3px 0; }
.toc a { display: inline-block; padding: 3px 0; text-decoration: none; }
.toc > ol > li > a { font-weight: 600; }
.toc ol ol { display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 0.9375rem; }
.toc ol ol a { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .toc a:hover, .toc-panel a:hover { color: var(--accent); text-decoration: underline; } }
/* Off: not rendered at all (nothing hidden on screen). On: a short fade and settle in, none with reduced motion. */
.toc-dock { position: fixed; z-index: 5; display: none; }
.toc-dock.is-on { display: block; animation: dock-in 180ms var(--ease-out) both; }
@keyframes dock-in { from { opacity: 0; transform: translateY(-6px); } }
.toc-panel a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.9375rem; line-height: 1.35; }
.toc-panel ol ol a { padding-left: 24px; color: var(--muted); }
.toc-panel a[aria-current="location"] { background: var(--soft); color: var(--ink); font-weight: 600; }
.toc-panel a.is-parent { color: var(--accent); font-weight: 600; }
.toc-panel .to-top { margin-top: 8px; color: var(--accent); font-weight: 600; }
.options-page form.zip { box-shadow: none; border: 0; }
@media (max-width: 1179px) {
  .toc-dock { top: 0; left: 0; right: 0; background: var(--card); }
  .toc-bar { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 22px; border: 0; background: none;
    color: var(--ink); font: 600 0.9375rem/1.3 var(--sans); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .toc-bar:active { background: var(--soft); }
  .toc-bar-k { flex: none; color: var(--accent); }
  .toc-now { flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--muted); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
  .toc-chev { flex: none; transition: transform 180ms var(--ease-out); }
  .toc-dock.is-open .toc-chev { transform: rotate(180deg); }
  .toc-panel { display: none; max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 14px; }
  .toc-dock.is-open .toc-panel { display: block; }
  .toc-dock.is-open { box-shadow: 0 22px 40px -24px rgba(40, 30, 20, .5); }   /* an open layer floats over the text */
  .toc-panel .toc-title { display: none; }
  .toc-panel a { padding-top: 11px; padding-bottom: 11px; }
  .options-page main section, .options-page .deep-option, .options-page main h2[id] { scroll-margin-top: 64px; }
}
@media (min-width: 1180px) {
  .toc-bar { display: none; }
  .toc-dock { top: 24px; left: max(20px, calc(50% - 19.5rem - 18.5rem)); width: 15.5rem; }
  .toc-panel { max-height: calc(100vh - 48px); overflow-y: auto; padding: 0 4px 8px 0; scrollbar-width: thin; }
  .toc-panel .toc-title { margin: 0 0 6px 10px; font-size: 1.125rem; }
  .toc-panel a { padding-top: 4px; padding-bottom: 4px; }
  /* The grid runs wider than the reading column, centred; the pinned contents step aside while it is on screen. */
  .options-page main > .wrap { max-width: none; }
  .options-page main > .wrap > .table-scroll { width: fit-content; max-width: min(66rem, 100%); }
  .options-page table.glance { width: auto; }
}
@media (min-width: 901px) and (max-width: 1179px) {
  table.glance td.c-works { min-width: 13rem; }
}
@media (max-width: 900px) {
  .options-page main > .wrap > .table-scroll { max-width: 39rem; }   /* the cards keep the reading column's margins */
  table.glance td.c-works { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-bottom: 6px; }
}
@media (max-width: 640px) {
  /* On a phone the summary reads like the grid's card: short answers beside their label, the result on its own lines. */
  .opt-sum { gap: 4px; padding: 12px 14px; }
  .opt-sum > div { grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; }
  .opt-sum > .c-works { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-bottom: 6px; }
}
@media (max-width: 480px) {
  .options-page h1 { font-size: min(1.75rem, 6.7vw); line-height: 1.12; }
  .options-page main h2 { font-size: 1.4375rem; }
}
@media (prefers-reduced-motion: reduce) { .toc-dock.is-on { animation: none; } .toc-chev { transition: none; } }

/* Job platform-directory-0007: video visits. One badge (lib/telehealth.mjs teleBadge) on finder, city and profile cards,
   Confirmed only. Pine outline next to the accent "Confirmed by physician" tag: its own hue, quieter than the filled call. */
.card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 8px; }
.card-tags .confirmed-tag { margin: 0; }
.tele-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border: 1.5px solid var(--pine);
  border-radius: 999px; color: var(--pine); background: var(--card); font-size: 0.875rem; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.tele-badge .tele-icon { flex: none; }
.dir-head .tele { margin-top: 10px; padding-bottom: 8px; }
.tele-states { margin: 6px 0 0; font-size: 1.03125rem; line-height: 1.45; color: var(--ink); }
.tele-none { margin: 6px 0 0; }
/* The finder switch and the account toggle: a button with role="switch", 44 px tall. */
.tele-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 18px 0 4px; }
.tele-filter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 10px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--card); color: var(--ink); font: 600 1rem var(--sans); cursor: pointer; }
.tele-switch { position: relative; flex: none; width: 36px; height: 22px; border-radius: 999px; background: var(--line);
  box-shadow: inset 0 0 0 1.5px var(--muted); transition: background-color 160ms ease; }
.tele-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--muted); transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.tele-filter[aria-checked="true"] { border-color: var(--pine); }
.tele-filter[aria-checked="true"] .tele-switch { background: var(--pine); box-shadow: none; }
.tele-filter[aria-checked="true"] .tele-switch::after { transform: translateX(14px); background: var(--card); }
.tele-note { margin: 0; color: var(--muted); }
.tele-bar + section.tier, .tele-wrap > section.tier { margin-top: 10px; }
.tele-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.tele-partial { margin: 0; color: var(--muted); }
.tele-where { margin-top: 14px; }
.tele-where .k { margin: 0 0 6px; font-weight: 600; font-size: 0.96875rem; }
.tele-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 12px; }
.tele-chip { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1.5px solid var(--pine);
  border-radius: 999px; background: var(--card); color: var(--pine); font: 600 1rem var(--sans); cursor: pointer; }
.tele-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; }
.tele-add .field { margin: 0; }
@media (hover: hover) and (pointer: fine) { .tele-filter:hover, .tele-chip:hover { border-color: var(--pine); background: var(--soft); } }
@media (prefers-reduced-motion: reduce) { .tele-switch, .tele-switch::after { transition: none; } }
.tele-chip .tele-x { margin-left: 6px; font-weight: 400; font-size: 1.125rem; line-height: 1; }
.tele-add { margin-bottom: 16px; }

/* "How to read this page" on every-option pages (agreed list item 2, 2026-11-07): a small heading over the method notes */
.reading-h { font-size: 1rem; margin: 18px 0 4px; }
.find-scope { margin: 8px 0 0; }
/* home: the one line on how these procedures work (agreed list item 7, 2026-11-07) */
.home-page .hero .lede-sub { color: #e6d8c6; margin: 10px 0 0; max-width: 32em; font-size: clamp(1rem, 1.4vw, 1.125rem); }
/* Home banner film, W13 ride c2 v5 (his "Put it on dev site", 2026-11-08 19:40 CT). The film's own paper colour fills the
   band beside it on wide screens; 1134 px is the old banner's height cap (378 px) times 3. */
.home-banner.home-ride { background: #fbeed8; }
.home-ride video#ride { display: block; width: 100%; max-width: 1134px; height: auto; aspect-ratio: 3 / 1; margin: 0 auto; background: #fbeed8; }
/* Phones: the at-a-glance table and the finder button fit the first screen on every comparison page
   (his words 2026-11-09 21:46 CT: "fix the prostate page dr finder button / Just make sure it's consistent w other pages"). One rule for all three pages. */
@media (max-width: 480px) {
  .glance-peek table { font-size: 0.9375rem; line-height: 1.3; }
  .glance-peek th, .glance-peek td { padding: 5px 6px 5px 0; }
  .glance-peek caption { padding: 4px 0 0; }
}

/* W32 (ai-hq job platform-launch-0005): footer legal links, the finder's terms line, the legal pages, and the
   first-visit notice bar (src-assets/notice.js). The bar is fixed, so it moves nothing on the page when it appears;
   while it shows, the page gets room at its bottom and the "Find a doctor" bar sits above it. */
footer.site .legal-links { margin-top: 6px; }
.find-terms { margin: 8px 0 0; }
.hero-search .find-terms { margin: 8px 0 0; }
.legal h2 { scroll-margin-top: 12px; }
.legal-effective { margin-top: -6px; }
.eo-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 12px 18px; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -10px 28px -20px rgba(40, 20, 10, .55); font-size: 0.9375rem; line-height: 1.45; }
.eo-notice p { margin: 0; max-width: 40em; }
.eo-notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.eo-notice .eo-notice-ok { min-height: 44px; min-width: 64px; padding: 0 20px; }
/* Phones: one row, text beside OK, so the bar stays about 65 px tall and clears the first screen's "Find doctors" button
   (390 x 844: home button ends at 725 px, fibroids at 749 px; measured 2026-11-13). */
@media (max-width: 560px) { .eo-notice { justify-content: space-between; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); font-size: 0.875rem; line-height: 1.4; } .eo-notice .eo-notice-ok { flex: none; padding: 0 16px; } }
html.eo-notice-on body { padding-bottom: var(--notice-h, 0px); }
html.eo-notice-on .find-bar { bottom: calc(var(--notice-h, 0px) + 14px); }
@media (prefers-reduced-motion: no-preference) { .eo-notice { animation: eo-notice-in 240ms var(--ease-out, ease-out) both; } }
@keyframes eo-notice-in { from { transform: translateY(100%); } }
@media print { .eo-notice { display: none; } }
/* ai-hq job platform-web-design-0010 (his words 2026-11-13 22:52 CT: "2 yes, just make sure all the pages roughly match"):
   on phones the short condition pages' ZIP box and Find doctors button sit higher on the first screen, above the notice
   bar. Spacing, strip height and heading size only; every word and the order stay as they are. Desktop and tablet unchanged. */
@media (max-width: 480px) {
  .condition-page:not(.options-page) header.site .wrap { padding-top: 8px; padding-bottom: 6px; }   /* as the home page */
  .condition-page:not(.options-page) .page-strip:has(.ls) { height: 100px; }
  .condition-page:not(.options-page) main { padding-top: 14px; }
  .hero-cond h1 { font-size: 1.75rem; line-height: 1.1; margin-bottom: 8px; }
  .hero-cond .lede, .hero-cond .find-intro { line-height: 1.45; }
  .hero-cond .lede { margin-bottom: 12px; }
  .hero-cond .find-first { margin-top: 0; }
  .hero-cond .find-intro { margin-bottom: 10px; }
  .hero-cond .find-label { margin-bottom: 6px; }
  .hero-cond form.zip { padding: 14px; gap: 10px; }
  /* Fix B (his yes, 2026-11-15): the short guides now carry the trail. On a phone it takes 20 px, not 38, and the page
     top 8 px, so the Find doctors button stays clear of the notice bar; the trail links keep a 44 px tap height. */
  .condition-page:not(.options-page) main { padding-top: 8px; }
  .condition-page:not(.options-page) nav.crumbs ol { margin-bottom: 4px; font-size: 0.875rem; line-height: 18px; }
}
/* Job platform-directory-0037: Your account's contents list (the deep pages' .toc look), a Back to top link in each
   panel, and each action's message on the line under its button. */
.t-account .acct-toc { max-width: 40em; margin: 16px 0 0; box-sizing: border-box; }
.acct-panel .to-top-row { margin: 16px 0 0; font-size: 0.9375rem; }
.acct-panel .to-top { font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .acct-panel .to-top:hover { text-decoration: underline; } }
.act-wrap { display: grid; gap: 8px; }
.act-msg { margin: 0; font-size: 0.96875rem; line-height: 1.45; }
.act-msg:empty { display: none; }
.act-msg.ok { padding: 8px 12px; border-radius: 10px; background: var(--soft); }
.act-msg.err { padding: 8px 12px; border-radius: 10px; border: 1px solid currentColor; }
li.proc > .act-msg:not(:empty) { margin-top: 8px; }
@media (max-width: 1179px) { .t-account .acct-panel, .t-account #also-form { scroll-margin-top: 64px; } }
@media (min-width: 1180px) {
  /* The account panels sit at the left of a wider column, so the rail stands in the free space on their right. */
  .t-account .acct-dock { left: min(calc(50% + 330px), calc(100% - 15.5rem - 8px)); }
  .t-account .acct-panel, .t-account #also-form { scroll-margin-top: 24px; }
}
/* ai-hq job platform-directory-0038 (his call 12, 2026-11-14 08:43 CT): the line under "Find a doctor near you" that names
   the finder's procedure, the same on every condition page; it reads as the label's second line. */
.find-label:has(+ .find-proc) { margin-bottom: 2px; }
.find-proc { margin: 0 0 8px; color: var(--muted); font-size: 0.9375rem; line-height: 1.35; }
@media (max-width: 480px) { .hero-cond .find-label:has(+ .find-proc) { margin-bottom: 2px; } .hero-cond .find-proc { margin-bottom: 6px; } }
/* Job platform-directory-0038 (his call 10): the Undo beside a save message, a link-style button, tap target 44 px tall. */
.act-msg .act-undo { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0 -12px 4px; padding: 0 6px; font-weight: 600; }
/* ai-hq job platform-web-design-0013 (his words 2026-11-14 21:04 CT: "Yes but only so long as the pelvic pain paragraph
   location and layout doesn't change"): one finder spacing on the five short condition pages, phone and desktop, so the
   Find doctors button clears the first-visit notice bar. Finder area only; no word or order changes. The heading rule
   applies only where the finder sits straight under the heading, so pelvic's heading and opening paragraph keep their
   place and layout. */
.condition-page:not(.options-page) .hero-cond h1:has(+ .find-first) { margin-bottom: 8px; }
.condition-page:not(.options-page) .hero-cond .find-first { margin-top: 0; }
.condition-page:not(.options-page) .hero-cond .find-intro { line-height: 1.45; margin-bottom: 10px; }
.condition-page:not(.options-page) .hero-cond form.zip { padding: 12px 16px 14px; gap: 10px; }
.condition-page:not(.options-page) .hero-cond form.zip label { margin-bottom: 3px; }
.condition-page:not(.options-page) .hero-cond form.zip input, .condition-page:not(.options-page) .hero-cond form.zip select { min-height: 44px; height: 44px; }
.condition-page:not(.options-page) .hero-cond form.zip button { min-height: 44px; }

/* Fix A (his yes, ai-hq HQ chat 2026-11-15 17:38 CT): the condition strip under the trail on every page of a condition
   (tools/trail.py strip_html, lib/cities.mjs strip). One row; the current page is filled with the condition's colour.
   Phones: one line that scrolls sideways if it must; every link keeps a 44 px tap height. */
nav.cond-strip { margin: 0 0 18px; }
nav.cond-strip ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
nav.cond-strip ul::-webkit-scrollbar { display: none; }
nav.cond-strip li { flex: none; }
nav.cond-strip a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
nav.cond-strip a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { nav.cond-strip a:not([aria-current]):hover { border-color: var(--accent); color: var(--accent); } }
@media (max-width: 480px) {
  /* phones: one row of equal tabs across the width, so all of them show; a long name wraps to two short lines */
  nav.cond-strip { margin-bottom: 10px; }
  nav.cond-strip ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; overflow: visible; }
  nav.cond-strip a { display: flex; justify-content: center; text-align: center; min-height: 44px; height: 100%; padding: 4px 6px; border-radius: 12px;
    white-space: normal; line-height: 1.15; font-size: 0.8125rem; }
  nav.cond-strip .cs-more { display: none; }
}

/* Fix C (his yes, 2026-11-15 17:50 CT): the Conditions page. One card per condition, its name to the quick guide, then
   its pages as a short list of links (the same four the condition strip shows). */
ul.cond-cards { list-style: none; margin: 20px 0 8px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.cond-card { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 16px 20px 10px; }
.cond-card h2 { margin: 0; font-size: 1.5rem; }
.cond-card h2 a { color: var(--ink); text-decoration: none; }
.cond-card .cond-proc { margin: 4px 0 6px; color: var(--muted); font-size: 0.96875rem; line-height: 1.35; }
.cond-card .cond-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); column-gap: 22px; }
@media (max-width: 380px) { .cond-card .cond-links { grid-template-columns: max-content; } }
.cond-card .cond-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; }
.what-ir { margin-top: 30px; max-width: 37em; }
.what-ir .refs { padding-left: 1.2em; }

/* Fix D (his yes, 2026-11-15 17:50 CT): the Find a doctor page. The home page's search form, on the page's own ground. */
.find-search { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 16px 0 28px; max-width: 40em; }
.find-search label { display: block; font-size: 0.9375rem; color: var(--muted); margin-bottom: 5px; }
.find-search .hs-row button { min-height: 48px; }
.find-search .hs-status { color: var(--ink); font-weight: 600; }
ul.find-hubs { padding-left: 1.2em; }
ul.find-hubs li { margin: 6px 0; }
ul.find-hubs a { display: inline-block; padding: 10px 0; margin: -10px 0; font-weight: 600; }

/* Fix D (2026-11-15): "Find a doctor" is longer than "Directory". On phones Home leaves the menu (the logo is the way
   home, as on most sites), so the four items keep their spacing. */
@media (max-width: 480px) { nav.top a[href="/"] { display: none; } }

/* His notes, 2026-11-15 18:01 CT: the condition box starts empty and reads as something to choose; both boxes the same
   height so the labels line up (iOS draws a select taller than an input). */
.find-search input, .find-search select { height: 48px; }
.hero-search select:invalid, .find-search select:invalid { color: var(--muted); }
.find-search select:invalid { border-color: var(--accent); }
.home-page .hero select:invalid { color: #5f6b66; }
select[aria-invalid="true"] { border-color: #a82a1e; box-shadow: 0 0 0 1px #a82a1e; }
@media (prefers-color-scheme: dark) { select[aria-invalid="true"] { border-color: #f2b8b5; box-shadow: 0 0 0 1px #f2b8b5; } }
/* the condition box takes its own row on the Find a doctor page, so "Select a condition" and the longest name show whole */
.find-search .hs-row .f:first-child { flex: 1 1 100%; }
.find-search .hs-row .f-zip { flex: 1 1 140px; }
/* home search: the condition box gets the larger share, so "Select a condition" shows whole; on a narrow phone it takes its own row */
.home-page .hs-row .f:first-child { flex: 3 1 205px; } .home-page .hs-row .f-zip { flex: 2 1 105px; }

/* Walkthrough 2026-11-15 (his "Yes", HQ chat 20:00 CT): the name lookup right under the Find a doctor search (finding 7);
   jump links over the deep page's full list (finding 8); the home search's Terms line readable on the dark hero (finding 10). */
.find-byname { margin: -14px 0 28px; }
.find-byname a { display: inline-block; padding: 10px 0; margin: -10px 0; font-weight: 600; }
nav.group-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 4px 0 12px; }
nav.group-jump .k { color: var(--muted); }
nav.group-jump a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.home-page .hero-search .find-terms { color: #e6d8c6; }

/* Back to top arrow on every page (his words, ai-hq HQ chat 2026-11-16 07:02 CT; src-assets/to-top.js). Bottom right,
   48 px, above the first-visit notice and, where it shows, the "Find a doctor" bar. */
.to-top-btn { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom) + var(--notice-h, 0px)); z-index: 5;
  width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 22px -10px rgba(40, 30, 20, .45);
  animation: dock-in 180ms var(--ease-out) both; }
.to-top-btn[hidden] { display: none; }
.to-top-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .to-top-btn:hover { color: var(--accent); border-color: var(--accent); } }
body:has(.find-bar:not([hidden]):not(.over-results)) .to-top-btn { bottom: calc(16px + 50px + 12px + env(safe-area-inset-bottom) + var(--notice-h, 0px)); }
@media (min-width: 761px) { .to-top-btn { right: 24px; bottom: calc(24px + var(--notice-h, 0px)); }
  body:has(.find-bar:not([hidden]):not(.over-results)) .to-top-btn { bottom: calc(14px + 50px + 12px + var(--notice-h, 0px)); } }
@media (prefers-reduced-motion: reduce) { .to-top-btn { animation: none; } }
@media print { .to-top-btn { display: none; } }

/* His note (HQ chat 2026-11-16 08:14 CT): the first-screen "At a glance" table was three cramped columns on a phone. On a
   phone each treatment becomes one block: its name, then how well it works, then recovery, each value labelled. */
.glance-peek .cert { font-weight: 600; }
@media (max-width: 560px) {
  .glance-peek table, .glance-peek tbody, .glance-peek caption { display: block; }
  .glance-peek thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .glance-peek tbody tr { display: block; padding: 10px 0; border-top: 1px solid var(--line); }
  .glance-peek tbody th, .glance-peek tbody td { display: block; width: auto; border-top: 0; padding: 0; }
  .glance-peek tbody th { margin-bottom: 4px; }
  .glance-peek tbody td + td { margin-top: 2px; }
  .glance-peek tbody td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 0.9375rem; }
}
/* the evidence word is a label on its own line, the effect is the sentence under it (as in the full grid) */
.glance-peek .cert { display: block; }
@media (max-width: 560px) { .glance-peek tbody td[data-label="How well it works"]::before { content: none; } }

/* ---- Videos and channels (ai-hq job platform-web-design-0019; his words 2026-11-16: "Let's find a way to have the social
   media pages more prominently featured on the site instead of a small link"). Markup: tools/videos.py. ---- */
header.site nav.top { margin-left: auto; }
.social-icons { display: flex; align-items: center; gap: 0; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; min-height: 44px; color: #e6d8c6; border-radius: 10px; transition: color 160ms ease, transform 140ms var(--ease-out); }
.social-icons a:active { transform: scale(.94); }
.social-icons a:focus-visible { outline: 2px solid var(--gold, #ffb648); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .social-icons a:hover { color: var(--gold, #ffb648); } }
@media (min-width: 481px) { .social-icons { padding-left: 10px; margin-left: 4px; border-left: 1px solid rgba(230, 216, 198, .25); } }
@media (max-width: 480px) { .social-icons { order: 1; margin-left: auto; } nav.top { order: 2; } .social-icons a { width: 40px; } }
@media (max-width: 359px) { .social-icons a { width: 36px; } }

.chans { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .chans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .chans-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chan { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 64px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color 160ms ease, transform 140ms var(--ease-out); }
.chan svg { flex: none; color: var(--pine); }
.chan strong { display: block; font-weight: 600; }
.chan-what { display: block; color: var(--muted); font-size: 0.9375rem; line-height: 1.35; }
.chan:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .chan:hover { border-color: var(--pine); } }

.vid { margin: 0; }
.vid-frame { position: relative; width: 100%; max-width: 300px; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.vid-frame[style*="16 / 9"] { max-width: 640px; }
.vid-play { display: block; width: 100%; height: 100%; color: var(--pine); }
.vid-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-btn { position: absolute; inset: 0; display: grid; place-items: center; --play-ink: #fffdf8; }
.vid-btn svg { width: 68px; height: 68px; filter: drop-shadow(0 6px 14px rgba(20, 30, 25, .35)); transition: transform 160ms var(--ease-out); }
.vid-play:active .vid-btn svg { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .vid-play:hover .vid-btn svg { transform: scale(1.06); } }
.vid-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -5px; border-radius: var(--radius); }
@media (prefers-color-scheme: dark) { .vid-btn { --play-ink: #1c1a17; } }
.vid-player { display: block; width: 100%; height: 100%; border: 0; }
.vid figcaption { max-width: 34em; }
.vid-title { margin: 14px 0 2px; font: 400 1.375rem/1.25 var(--serif); }
.vid-len { margin: 0 0 6px; color: var(--muted); font-size: 0.9375rem; }
.vid-line { margin: 0 0 4px; }
.vid-note { margin: 0 0 4px; color: var(--muted); font-size: 0.9375rem; }
.vid-test { display: inline-block; margin: 12px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--soft); color: var(--warn); font-size: 0.875rem; font-weight: 600; }
.vid-words summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.vid-words-in { padding: 4px 0 8px; font-size: 0.96875rem; }
.vid-words-in p { margin: 0 0 8px; }
.vid-more { margin: 4px 0 0; }
.vid-more a { display: inline-block; padding: 10px 0; }
.vid-grid { display: grid; gap: 32px 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 14px; }
.vid-sec { margin-top: 40px; }
.videos-page .chans-h { margin-top: 26px; }

.watch { margin: 44px 0 8px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; display: grid; gap: 4px 36px; grid-template-columns: minmax(0, 1fr); }
.watch h2 { margin-top: 0; }
.watch-head p { margin-bottom: 4px; }
.watch-film .vid-frame { max-width: 220px; }
.watch-film .vid-title { font-size: 1.25rem; }
.watch-all { margin: 12px 0 0; }
.watch-all a { display: inline-block; padding: 10px 0; font-weight: 600; }
@media (min-width: 760px) {
  .watch { padding: 30px 32px; grid-template-columns: 260px minmax(0, 1fr); grid-template-areas: "film head" "film links"; align-items: start; }
  .watch-film { grid-area: film; } .watch-head { grid-area: head; } .watch-links { grid-area: links; }
  .watch-film .vid-frame { max-width: 260px; }
}
.watch-compact { display: block; }
/* The header icons need the wide header on every page (as the home and condition pages already have), so menu and icons
   stay on one row at 1440 (job platform-web-design-0019). */
@media (min-width: 481px) { header.site .wrap { max-width: 1440px; padding-left: var(--gut); padding-right: var(--gut); } }
@media (min-width: 481px) and (max-width: 1099px) { .social-icons { order: 1; margin-left: auto; padding-left: 0; border-left: 0; } header.site nav.top { order: 2; width: 100%; margin-left: 0; } }
@media (max-width: 389px) { .social-icons a { width: 36px; } }
@media (max-width: 359px) { .social-icons a { width: 32px; } nav.top a[href="/videos/"] { display: none; } }   /* the smallest phones: no room for a fifth item; the home band links to /videos/ */
@media (max-width: 389px) { header.site .wrap { column-gap: 8px; } .social-icons a { width: 34px; } }
@media (max-width: 339px) { .social-icons { display: none; } }   /* 320 px phones: no room beside the logo; the footer and home band carry the channels */
@media (min-width: 760px) { .watch { grid-template-rows: auto 1fr; } .watch-links { align-self: start; } }
.spine .watch { margin-left: 28px; }   /* lines up with the condition cards (.spine > * 18 px, .fork-list a 10 px) */
@media (min-width: 760px) and (max-width: 1099px) { .watch .chans { grid-template-columns: minmax(0, 1fr); } }
.videos-page .lede { max-width: 25em; }   /* wraps the same before and after the web font loads (no shift) */
@media (max-width: 559px) { .watch-compact .chans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .watch-compact .chan-what { display: none; } .watch-compact .chan { min-height: 52px; } }

/* reviewer line under each condition page's H1 (tools/reviewer.py, his yes 2026-11-19) */
.reviewed-by { margin: 0.25rem 0 0.75rem; }
.reviewed-by a { color: inherit; }
.reviewer { margin: 0.5rem 0 1rem; }
.reviewer-name { margin-bottom: 0.25rem; }
.reviewer ul.reviewer-training { list-style: none; padding: 0; padding-inline-start: 0; margin: 0; }
.reviewer-training li { margin: 0.15rem 0; }

/* city-page card: the doctor, procedure and city in one sentence (lib/cities.mjs doesLine, his yes 2026-11-19) */
.card .does { margin: 0.35rem 0 0; }

/* city pages: the two local facts, below the doctor list and folded (his pick A, 2026-11-19) */
.facts-more { margin: 1rem 0; }
.facts-more summary { cursor: pointer; font-weight: 600; }
.facts-more .facts { margin-top: 0.5rem; }

/* City pages: facts only one city has (content/city-notes.json; 2026-11-21). Two short columns, readable on a phone. */
table.city-ins { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.4; margin: 8px 0 6px; background: var(--card); border-radius: var(--radius); }
table.city-ins th, table.city-ins td { padding: 9px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
table.city-ins thead th { border-top: 0; font-weight: 600; font-size: .9rem; color: var(--muted, inherit); }
table.city-ins tbody th[scope=row] { font-weight: 600; width: 45%; }
table.city-ins .pol { display: block; font-weight: 400; font-size: .85rem; line-height: 1.3; margin-top: 3px; color: var(--muted, inherit); }

/* his words 2026-11-21: insurance findable without scrolling past every doctor. Jump row and closed plan tables. */
details.ins-fold { border: 1px solid var(--line); border-radius: 14px; margin: 8px 0; overflow: hidden; }
details.ins-fold > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; list-style: none; font-weight: 600; }
details.ins-fold > summary::-webkit-details-marker { display: none; }
details.ins-fold > summary::after { content: "+"; content: "+" / ""; flex: none; color: var(--accent); font: 400 1.5rem/1 var(--sans); }
details.ins-fold[open] > summary::after { content: "\2013"; content: "\2013" / ""; }
details.ins-fold > .fold-body { padding: 4px 16px 12px; border-top: 1px solid var(--line); }
.city-page main h2[id] { scroll-margin-top: 60px; }   /* clears the pinned contents bar on phones */
/* City pages (contents list, his words 2026-11-21): the column is 816 px, wider than the deep pages', so the side rail
   only fits from 1400 px (rail 248 px + 24 px gap + 20 px edge on each side of a centred column). Below that, the bar. */
@media (min-width: 1180px) and (max-width: 1399px) {
  .city-page .toc-dock { top: 0; left: 0; right: 0; width: auto; background: var(--card); }
  .city-page .toc-bar { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 22px; border: 0; background: none;
    color: var(--ink); font: 600 0.9375rem/1.3 var(--sans); text-align: left; cursor: pointer; }
  .city-page .toc-bar-k { flex: none; color: var(--accent); }
  .city-page .toc-now { flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--muted); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
  .city-page .toc-chev { flex: none; transition: transform 180ms var(--ease-out); }
  .city-page .toc-dock.is-open .toc-chev { transform: rotate(180deg); }
  .city-page .toc-panel { display: none; max-height: calc(100dvh - 72px); padding: 0 12px 14px; }
  .city-page .toc-dock.is-open .toc-panel { display: block; }
  .city-page .toc-dock.is-open { box-shadow: 0 22px 40px -24px rgba(40, 30, 20, .5); }
  .city-page .toc-panel .toc-title { display: none; }
  .city-page .toc-panel a { padding-top: 11px; padding-bottom: 11px; }
}
@media (min-width: 1400px) { .city-page .toc-dock { left: max(20px, calc(50% - 680px)); } }
/* Town links land below the pinned contents bar (reviewer 2026-11-21); the bar shows below 1400 px. */
@media (max-width: 1399px) { .city-page .town-group, .city-page .town-group h4, .city-page #towns { scroll-margin-top: 60px; } }
