/* /v2 article template: conditions, treatments, research, patient resources, aftercare.
   Clinical Signal: navy monitor glass for the CT moment and the instruments, cream paper for reading.
   Colours from tokens only. Radius system: panels 16, inner media 8, controls 10, chips 999. */

.v2-article [hidden] { display: none !important; }
.v2-article main { --a-rail: 3; --a-gap: clamp(56px, 6.4vw, 104px); }

/* ---------- Breadcrumb ---------- */
.a-top { padding-top: 20px; }
.a-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink-3); }
.a-crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.a-crumb a:hover { color: var(--ink); text-decoration: underline; }
.a-crumb .sep { color: var(--ink-3); }

/* ---------- Hero ---------- */
.a-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gutter); align-items: center; padding-block: 24px var(--a-gap); }
.a-hero-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.a-hero.no-stage .a-hero-copy { grid-column: 1 / span 9; }
.a-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 20px; }
.a-h1 { font-size: var(--t-h1); font-stretch: var(--stretch-display); font-weight: 500; letter-spacing: -0.03em; line-height: .98; max-width: 14ch; }
.a-h1 em, .a-h2 em, .a-cta-st em { font-style: normal; }
.a-h1 em { color: var(--ink-2); font-weight: 400; }
.a-lede { margin-top: 28px; font-size: var(--t-lead); line-height: 1.4; color: var(--ink); max-width: 34ch; }
.a-lede-more { margin-top: 16px; color: var(--ink-2); max-width: 54ch; }
.a-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.a-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--mono); font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.a-phone svg { width: 18px; height: 18px; flex: none; }
.a-phone:hover { text-decoration: underline; text-underline-offset: 6px; }
.a-note { margin-top: 16px; font-size: var(--t-small); line-height: 1.55; color: var(--ink-3); max-width: 54ch; }
.a-actions + .a-note { margin-top: 14px; }

/* hero notices from his copy */
.a-banner { margin-top: 28px; padding: 20px 24px; border-radius: var(--r-card); font-size: var(--t-small); line-height: 1.6; max-width: 60ch; }
.a-banner strong:first-child { display: block; margin-bottom: 6px; font-size: var(--t-body); font-weight: 600; }
.a-banner.is-research { background: var(--grid-on-panel), var(--panel); color: var(--on-panel); }
.a-banner.is-research p { color: var(--on-panel-2); }
.a-banner.is-research a { color: var(--on-panel); text-decoration-color: var(--signal-on-panel); }
.a-banner.is-research :focus-visible { outline-color: var(--on-panel); }
.a-banner.is-urgent, .a-banner.is-notice { background: var(--paper-2); color: var(--ink); }
.a-banner.is-urgent strong:first-child::before, .a-banner.is-notice strong:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--signal); vertical-align: .2em; }
.a-banner.is-notice strong:first-child { display: inline; font-size: inherit; margin: 0; }
.a-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.a-jump a, .a-chips li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hair-strong); font-size: var(--t-small); text-decoration: none; color: var(--ink); background: transparent; transition: background-color var(--d-quick) var(--ease), border-color var(--d-quick) var(--ease), color var(--d-quick) var(--ease); }
.a-jump a:hover, .a-chips li a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.a-byline { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hair); width: 100%; max-width: 60ch; }
.a-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--hair); }
.a-byline .author-meta { font-size: .875rem; line-height: 1.5; color: var(--ink-3); text-wrap: balance; }
.a-byline .author-meta strong { display: block; color: var(--ink); font-weight: 600; font-size: var(--t-small); }

/* ---------- Monitor panel (the CT moment) ---------- */
.a-stage { grid-column: 7 / span 6; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label ctrl" "media media" "note note";
  align-items: center; column-gap: 16px; padding: 8px; border-radius: var(--r-card); background: var(--grid-on-panel), var(--panel-deep); color: var(--on-panel);
  box-shadow: 0 1px 2px rgba(19, 40, 65, .12), 0 24px 48px -24px rgba(19, 40, 65, .45); }
.a-stage :focus-visible { outline-color: var(--on-panel); }
.a-cap { display: contents; }
.a-cap > :first-child { grid-area: label; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 10px; padding-inline: 12px; font-family: var(--mono); font-size: var(--t-mono); color: var(--on-panel); }
.a-stage.is-ct .a-cap-label { white-space: nowrap; }
.a-stage.is-ct .a-cap-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(232, 70, 124, .22); flex: none; }
.a-cap > span:nth-child(2) { grid-area: note; padding: 12px 12px 6px; font-family: var(--mono); font-size: .75rem; color: var(--on-panel-2); }
.a-cap > a { grid-area: ctrl; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-family: var(--mono); font-size: var(--t-mono); color: var(--on-panel); text-decoration: none; border-radius: var(--r-control); }
.a-cap > a:hover { background: var(--panel-2); }
.a-stage img, .a-stage iframe { grid-area: media; width: 100%; height: auto; border-radius: 8px; background: var(--panel); }
.a-stage.is-ct img, .a-stage iframe { aspect-ratio: 1; object-fit: cover; }
.a-stage iframe { border: 0; height: auto; }
.a-rotate { grid-area: ctrl; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 2px; padding: 0 16px; border: 0; border-radius: var(--r-control);
  background: var(--on-panel); color: var(--ink); font-size: var(--t-small); font-weight: 500;
  transition: background-color var(--d-quick) var(--ease), transform var(--d-quick) var(--ease), opacity var(--d-quick) var(--ease); }
.a-rotate::after { content: ''; position: absolute; inset: -4px; }
.a-rotate { position: relative; }
.a-rotate svg { width: 16px; height: 16px; }
.a-rotate:hover { background: #FFFFFF; }
.a-rotate:active { transform: scale(.97); }
.a-stage.is-live .a-rotate { opacity: 0; pointer-events: none; }
/* registration marks at the image corners: the instrument framing */
.a-ticks { grid-area: media; align-self: stretch; justify-self: stretch; position: relative; pointer-events: none; }
.a-ticks i { position: absolute; width: 20px; height: 20px; border: 0 solid var(--on-panel-2); opacity: .9; }
.a-ticks i:nth-child(1) { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.a-ticks i:nth-child(2) { top: 12px; right: 12px; border-top-width: 1.5px; border-right-width: 1.5px; }
.a-ticks i:nth-child(3) { bottom: 12px; left: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.a-ticks i:nth-child(4) { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.a-stage.is-live .a-ticks { display: none; }
/* measurement scale on the media edge: the instrument reads the scan */
.a-ticks::before { content: ''; position: absolute; left: 0; top: 48px; bottom: 48px; width: 10px;
  background: repeating-linear-gradient(to bottom, var(--on-panel-2) 0 1px, transparent 1px 12px), repeating-linear-gradient(to bottom, var(--on-panel-2) 0 1px, transparent 1px 60px);
  background-size: 5px 100%, 10px 100%; background-repeat: no-repeat; opacity: .5; }
/* arrival, once: the frame registers onto the scan (JS adds the pre-state only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .a-stage.is-arriving .a-ticks i { transition: transform .9s var(--ease) .15s, opacity .9s var(--ease) .15s; }
  .a-stage.is-arriving:not(.is-arrived) .a-ticks i { opacity: 0; }
  .a-stage.is-arriving:not(.is-arrived) .a-ticks i:nth-child(1) { transform: translate(-14px, -14px); }
  .a-stage.is-arriving:not(.is-arrived) .a-ticks i:nth-child(2) { transform: translate(14px, -14px); }
  .a-stage.is-arriving:not(.is-arrived) .a-ticks i:nth-child(3) { transform: translate(-14px, 14px); }
  .a-stage.is-arriving:not(.is-arrived) .a-ticks i:nth-child(4) { transform: translate(14px, 14px); }
  .a-stage.is-arriving img { transition: opacity .7s var(--ease); }
  .a-stage.is-arriving:not(.is-arrived) img { opacity: .4; }
}

/* photograph heroes (research, resources): a plain figure, mono caption below */
.a-photo-hero { grid-column: 7 / span 6; display: grid; gap: 12px; }
.a-photo-hero img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair); }
.a-photo-hero figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-inline: 4px; }
.a-photo-hero figcaption a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.a-photo-hero figcaption a:hover { text-decoration: underline; }

/* ---------- Article layout: contents rail + reading column ---------- */
.a-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gutter); align-items: start; }
.a-rail { grid-column: 9 / span 4; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; padding-top: 8px; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.a-main { grid-column: 1 / span 8; grid-row: 1; min-width: 0; }
.a-layout.no-rail .a-main { grid-column: 1 / -1; }
/* rules, photos and text share one measure; the right columns belong to the rail */
.a-main > .a-sec, .a-main > .a-photos { max-width: var(--measure); }
.a-main > .a-sec.a-pollen { max-width: none; }
.a-close { padding-top: 8px; }
.a-close > .a-cta { margin-top: 0; }
.a-hero + .a-layout { margin-top: 0; }

.a-toc { background: var(--paper-2); border-radius: var(--r-card); padding: 8px; }
.a-toc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 12px; cursor: default; }
.a-toc summary::-webkit-details-marker { display: none; }
.a-toc summary .readout:first-child { color: var(--ink); font-weight: 500; }
.a-toc-count b { font-weight: 500; color: var(--ink); }
.a-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.a-toc li a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: baseline; min-height: 44px; padding: 11px 12px; border-radius: 8px; font-size: .9375rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; transition: background-color var(--d-quick) var(--ease), color var(--d-quick) var(--ease); }
.a-toc li a .readout { font-size: .75rem; color: var(--ink-3); }
.a-toc li a:hover { background: var(--paper-3); color: var(--ink); }
.a-toc li a { position: relative; }
.a-toc li a[aria-current="true"] { color: var(--ink); font-weight: 500; background: var(--paper-3); }
.a-toc li a[aria-current="true"] .readout { color: var(--ink); }
.a-toc li a[aria-current="true"]::before { content: ''; position: absolute; left: 3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--signal); }
.a-railbook { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-card); background: var(--grid-on-panel), var(--panel); color: var(--on-panel); }
.a-railbook .btn { background: var(--on-panel); color: var(--ink); min-height: 48px; font-size: var(--t-small); }
.a-railbook .btn:hover { background: #FFFFFF; }
.a-railbook .a-phone { justify-content: center; color: var(--on-panel); min-height: 44px; }
.a-railbook .a-phone .readout { color: inherit; font-size: .875rem; }
.a-railbook :focus-visible { outline-color: var(--on-panel); }

/* rail monitor: the CT still travels with the reader */
.a-mini { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; padding: 8px 16px 8px 8px; border-radius: var(--r-card); background: var(--grid-on-panel), var(--panel-deep); color: var(--on-panel); }
.a-mini img { width: 88px; height: 88px; border-radius: 8px; object-fit: cover; }
.a-mini-meta { display: grid; gap: 2px; min-width: 0; }
.a-mini-label { color: var(--on-panel-2); display: flex; align-items: center; gap: 8px; }
.a-mini-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }
.a-mini-go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-panel); font-weight: 500; font-size: var(--t-small); text-decoration: none; }
.a-mini-go svg { width: 16px; height: 16px; transition: transform var(--d-quick) var(--ease); }
.a-mini-go:hover svg { transform: translate(2px, -2px); }
.a-mini-go::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-card); }
.a-mini { position: relative; }
.a-mini :focus-visible { outline-color: var(--on-panel); }

/* ---------- Sections ---------- */
.a-sec { padding-block: var(--a-gap); border-top: 1px solid var(--hair); scroll-margin-top: calc(var(--header-h) + 8px); }
.a-main > .a-sec:first-child { border-top: 0; padding-top: 8px; }
.a-sec-head { margin-bottom: 36px; }

.a-h2 { font-size: var(--t-h2); font-stretch: var(--stretch-display); font-weight: 500; letter-spacing: -0.028em; line-height: 1.02; max-width: 22ch; }
.a-h2 em { color: var(--ink-2); font-weight: 400; }
.a-intro { margin-top: 20px; font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); max-width: 52ch; }
.a-chips { margin-top: 28px; }
.a-chips summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; cursor: default; pointer-events: none; }
.a-chips summary::-webkit-details-marker { display: none; }
.a-chips ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.a-body { max-width: var(--measure); color: var(--ink); }
.a-body > * + * { margin-top: 1.1em; }
/* section opener: his first paragraph reads as the section's lead */
.a-sec:not(.is-faq) .a-body > p:first-child { font-size: var(--t-lead); line-height: 1.45; color: var(--ink); letter-spacing: -0.005em; }
.a-body p { color: var(--ink-2); }
.a-body strong { color: var(--ink); font-weight: 600; }
.a-body a { color: var(--ink); text-decoration-color: var(--hair-strong); }
.a-body a:hover { text-decoration-color: var(--ink); }
.a-body h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.22; margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 16px); }
.a-body h3 + * { margin-top: .6em; }
.a-body > h3::before { content: ''; display: block; width: 32px; height: 2px; margin-bottom: 14px; border-radius: 2px; background: var(--ink); }
/* FAQ: its own room, so a long read changes pace before the close */
.a-sec.is-faq { border-top: 0; padding-inline: clamp(20px, 3.4vw, 48px); padding-block: clamp(40px, 4.4vw, 64px); margin-block: 8px var(--a-gap); border-radius: var(--r-card); background: var(--paper-2); }
.a-sec.is-faq + .a-sec { border-top: 0; padding-top: 0; }
.a-sec.is-faq .a-faq:first-child { border-top-color: var(--hair-strong); }
.a-body ul, .a-body ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.a-body ul > li, .a-body ol > li { position: relative; padding-left: 26px; color: var(--ink-2); }
.a-body ul > li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--ink); }
.a-body ol { counter-reset: a-ol; }
.a-body ol > li { counter-increment: a-ol; padding-left: 34px; }
.a-body ol > li::before { content: counter(a-ol, decimal-leading-zero); position: absolute; left: 0; top: .18em; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.a-source { font-size: .8125rem; color: var(--ink-3); padding-top: 12px; border-top: 1px dashed var(--hair-strong); }
.a-source a { color: var(--ink-2); }

/* link lists: related care */
.a-body ul.a-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.a-body ul.a-links > li { display: block; padding: 18px 52px 18px 20px; border-radius: 12px; background: var(--paper-2); color: var(--ink-3); font-size: var(--t-small); line-height: 1.45; }
.a-body ul.a-links > li::before { display: none; }
.a-body ul.a-links > li a:first-of-type { font-size: var(--t-body); font-weight: 500; line-height: 1.4; color: var(--ink); text-decoration: none; }
.a-body ul.a-links > li a:first-of-type::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.a-body ul.a-links > li .go { position: absolute; right: 20px; top: 20px; color: var(--ink); }
.a-body ul.a-links > li .go svg { width: 16px; height: 16px; }
.a-body ul.a-links > li:hover { background: var(--paper-3); }
.a-body ul.a-links > li:has(a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.a-body ul.a-links > li a:first-of-type:focus-visible { outline: 0; }

/* disclosures: FAQ, resource cards, "for the curious" */
.a-faq { border-top: 1px solid var(--hair); }
.a-faq:last-child { border-bottom: 1px solid var(--hair); }
.a-body .a-faq + .a-faq { margin-top: 0; }
.a-cards { gap: 8px; }
.a-cards .a-card + .a-card { margin-top: 0; }
.a-card { padding: 0; border-radius: 12px; background: var(--paper-2); }
.a-card > summary { padding: 22px 24px !important; border-radius: inherit; }
.a-card:hover { background: var(--paper-3); }
.a-card[open], .a-card[open]:hover { background: var(--paper-2); transform: none; box-shadow: none; }
.a-faq summary, .a-card summary, .a-tool .essentials summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; }
.a-faq summary::-webkit-details-marker, .a-card summary::-webkit-details-marker, .a-tool .essentials summary::-webkit-details-marker { display: none; }
.a-faq summary > *, .a-card summary > * { margin: 0 !important; }
.a-faq summary h3, .a-faq summary h4 { margin: 0; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.a-pm { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair-strong); transition: background-color var(--d-quick) var(--ease), border-color var(--d-quick) var(--ease), transform var(--d-settle) var(--ease); }
.a-pm::before, .a-pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform var(--d-settle) var(--ease), background-color var(--d-quick) var(--ease); }
.a-pm::after { transform: rotate(90deg); }
summary:hover .a-pm { border-color: var(--ink); }
details[open] > summary .a-pm { background: var(--ink); border-color: var(--ink); }
details[open] > summary .a-pm::before, details[open] > summary .a-pm::after { background: var(--paper); }
details[open] > summary .a-pm::after { transform: rotate(0deg); }
.a-faq-a { padding: 0 56px 28px 0; }
.a-faq-a > * + * { margin-top: .9em; }
.a-faq-a p { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .a-faq[open] .a-faq-a, .a-card[open] .card-body, .a-deeper[open] > :not(summary), .a-tool .essentials[open] > :not(summary) { animation: a-open var(--d-settle) var(--ease) both; }
  @keyframes a-open { from { opacity: 0; transform: translateY(-6px); } }
}

.a-cards { display: grid; }
.a-card .sign { display: none; }
.a-card summary .title { display: flex; flex-direction: column; gap: 4px; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.a-card summary .sub { font-family: var(--mono); font-size: var(--t-mono); font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.a-card .card-body { padding: 0 80px 28px 24px; }
.a-card .card-body > * + * { margin-top: .9em; }
.a-card .card-body h3 { font-size: var(--t-body); font-weight: 600; margin-top: 1.6em; }
.a-card .card-body h3 + * { margin-top: .5em; }
.a-callout { padding: 16px 20px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: var(--t-small); }
.a-body .a-callout { margin-top: 20px; }
.a-card .a-callout { background: var(--paper); }
.a-product, .a-body a.product-link { font-weight: 500; }

.a-deeper { border-radius: 12px; background: var(--paper-2); padding: 4px 20px; }
.a-deeper > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--mono); font-size: var(--t-mono); color: var(--ink); cursor: pointer; }
.a-deeper > summary::-webkit-details-marker { display: none; }
.a-deeper > summary::before { content: '+'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--hair-strong); font-size: 14px; line-height: 1; }
.a-deeper[open] > summary::before { content: '\2212'; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.a-deeper > p { padding-bottom: 16px; }

/* ---------- Pollen instrument ---------- */
.a-panel { border-radius: var(--r-card); background: var(--panel); color: var(--on-panel); }
.a-panel.gridded { background: var(--grid-on-panel), var(--panel); }
.a-panel :focus-visible { outline-color: var(--on-panel); }
.a-pollen .a-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; padding: clamp(28px, 4vw, 48px); align-items: start; }

.a-pollen .a-h2 { color: var(--on-panel); }
.a-pollen-copy p:not(.sec-index) { margin-top: 16px; color: var(--on-panel-2); max-width: 44ch; }
.a-pollen-copy a { color: var(--on-panel); text-decoration-color: var(--signal-on-panel); }
.a-pollen-ctl { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 12px; padding: 20px; border-radius: 12px; background: var(--panel-deep); }
.a-pollen-ctl label { font-family: var(--mono); font-size: var(--t-mono); color: var(--on-panel-2); }
.a-pollen-ctl select { width: 100%; min-width: 0; min-height: 52px; padding: 0 44px 0 16px; border-radius: var(--r-control); border: 1px solid var(--hair-on-panel); background: var(--panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F0E8D8' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; color: var(--on-panel); appearance: none; -webkit-appearance: none; font-size: var(--t-body); }
.a-pollen-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.a-pollen-links .btn { min-height: 48px; font-size: var(--t-small); flex: 1 1 auto; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.a-panel .btn.ghost { color: var(--on-panel); background: transparent; box-shadow: inset 0 0 0 1px var(--hair-on-panel); }
.a-panel .btn.ghost:hover { background: var(--panel-2); }
.a-pollen-ctl .readout { color: var(--on-panel-2); font-size: .75rem; }

/* ---------- Photo band ---------- */
.a-photos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin-bottom: var(--a-gap); }
.a-photos figure { display: grid; gap: 10px; align-content: start; }
.a-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair); }
.a-photos figure:first-child img { aspect-ratio: auto; height: 100%; max-height: 100%; }
.a-photos figure:first-child { grid-template-rows: minmax(0, 1fr) auto; }
.a-photos figcaption { padding-inline: 4px; }
.a-photos.single { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.a-photos.single img { aspect-ratio: 5 / 4; height: auto; object-position: 50% 25%; }
.a-photos.single { grid-template-columns: minmax(0, 1fr); }
.a-photos.single figure { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; }
.a-photos.single figcaption { padding-bottom: 8px; max-width: 28ch; }

/* ---------- Closing CTA ---------- */
.a-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; padding: clamp(32px, 5vw, 64px); margin-top: 8px; overflow: hidden; }
.a-cta:has(.a-cta-gfx) { grid-template-columns: minmax(0, 1fr) auto auto; }
.a-cta:has(.a-cta-gfx) > .a-cta-st { grid-column: 1; grid-row: 1; }
.a-cta:has(.a-cta-gfx) > .a-cta-gfx { grid-column: 2; grid-row: 1; }
.a-cta:has(.a-cta-gfx) > .a-cta-act { grid-column: 3; grid-row: 1; }
.a-cta-gfx { width: clamp(120px, 12vw, 176px); align-self: center; color: var(--on-panel); opacity: .55; pointer-events: none; }
.a-cta-gfx .gfx { color: var(--on-panel); }
.a-cta:hover .a-cta-gfx, .a-cta:focus-within .a-cta-gfx { opacity: .85; }
.a-cta-gfx { transition: opacity var(--d-settle) var(--ease); }

.a-cta-mark { position: absolute; right: -36px; top: -36px; width: 200px; height: 200px; color: var(--hair-on-panel); }
.a-cta-mark svg { width: 100%; height: 100%; stroke-width: .5; }
.a-cta-st { position: relative; font-size: var(--t-h2); font-stretch: var(--stretch-display); font-weight: 500; letter-spacing: -0.028em; line-height: 1.02; max-width: 18ch; color: var(--on-panel); }
.a-cta-st em { color: var(--signal-on-panel); font-weight: 400; }
.a-cta-bigtel { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--mono); font-stretch: normal; font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.a-cta-bigtel:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.a-cta.is-band { align-items: center; margin-top: var(--a-gap); }
.a-body a.product-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--hair-strong); text-decoration: none; }
.a-body a.product-link:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.a-cta-act { position: static; display: grid; gap: 8px; justify-items: stretch; }
.a-cta .btn { background: var(--on-panel); color: var(--ink); }
.a-cta .btn:hover { background: #FFFFFF; }
.a-cta-tel { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--on-panel); text-decoration: none; font-size: .9375rem; }
.a-cta-tel:hover { text-decoration: underline; }
.a-backp { margin-top: 24px; }
.a-back { color: var(--ink-2); font-size: var(--t-small); display: inline-flex; min-height: 44px; align-items: center; }
.a-next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.a-next a { position: relative; display: grid; gap: 6px; padding: 24px 64px 24px 24px; border-radius: var(--r-card); background: var(--paper-2); text-decoration: none; }
.a-next a span { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.a-next a .go { position: absolute; right: 24px; top: 50%; width: 20px; height: 20px; margin-top: -10px; }
.a-next a .go svg { width: 20px; height: 20px; }
.a-next a .go.back { right: auto; left: 24px; }
.a-next a .go.back svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lift:hover .go.back, .lift:focus-within .go.back { transform: translateX(-4px); }
}
.a-next a:first-child:not(:only-child) { padding: 24px 24px 24px 64px; }
.a-next a:last-child:not(:only-child) { text-align: right; }
.a-next a:focus-visible { outline-offset: 3px; }
.a-misc { margin-top: 24px; }

/* ---------- Aftercare tool ---------- */
.is-tool-page .a-hero { padding-bottom: 40px; }
.is-tool-page .a-layout.no-rail .a-main { grid-column: 1 / -1; }
.a-tool .sheet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.a-tool .sheet > .a-sheet-side { grid-column: 1; grid-row: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
.a-tool .sheet > .phase-panel, .a-tool .sheet > .more-links { grid-column: 2; }
.a-tool .sheet > .phase-panel { grid-row: 1 / span 3; }
.a-tool .sheet > .more-links { grid-row: 4; }
.a-picker { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; min-height: 312px; }
.a-picker button { display: flex; flex-direction: column; gap: 4px; position: relative; min-height: 96px; padding: 18px 52px 18px 20px; border: 1px solid transparent; border-radius: 12px; background: var(--paper-2); color: var(--ink); text-align: left; font: inherit;
  transition: background-color var(--d-quick) var(--ease), color var(--d-quick) var(--ease), border-color var(--d-quick) var(--ease), transform var(--d-quick) var(--ease); }
.a-picker button::after { content: ''; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .55; transition: transform var(--d-quick) var(--ease), opacity var(--d-quick) var(--ease); }
.a-picker button:hover, .a-picker button:focus-visible { border-color: var(--hair-strong); background: var(--paper-3); }
.a-picker button:hover::after, .a-picker button:focus-visible::after { opacity: 1; }
.a-picker button[aria-pressed="true"]::after { transform: rotate(45deg); opacity: 1; }
.a-picker.collapsed { min-height: 0; }

.a-picker button strong { font-weight: 500; }
.a-picker button small { font-size: var(--t-small); color: var(--ink-3); }
.a-picker button[aria-pressed="true"], .a-picker button[aria-pressed="true"]:hover { background: var(--panel); color: var(--on-panel); border-color: var(--panel); }
.a-picker button[aria-pressed="true"] small { color: var(--on-panel-2); }
.a-picker button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.a-picker.collapsed button:not([aria-pressed="true"]) { display: none; }
.a-tool .change { display: none; background: none; border: 0; padding: 0; min-height: 44px; margin-bottom: 24px; color: var(--ink); }
.a-picker.collapsed + .change { display: inline-flex; align-items: center; }
.a-tool .sheet { margin-top: 24px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card); background: var(--paper-2); }
.a-tool .sheet-head { margin-bottom: 28px; }
.a-tool .sheet-head h2 { font-size: var(--t-h2); font-stretch: var(--stretch-display); font-weight: 500; letter-spacing: -0.028em; line-height: 1.02; }
.a-tool .sheet-head p { margin-top: 12px; color: var(--ink-2); max-width: 60ch; }
.a-tool .phase { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 32px; border-radius: 14px; background: var(--paper-3); }
.a-tool .phase button { min-height: 48px; border: 0; border-radius: var(--r-control); background: transparent; color: var(--ink-2); font-weight: 500; transition: background-color var(--d-quick) var(--ease), color var(--d-quick) var(--ease); }
.a-tool .phase button[aria-selected="true"] { background: var(--panel); color: var(--on-panel); }
.a-tool .anesthesia { margin-bottom: 12px; }
.a-tool .anesthesia .kicker { font-family: var(--mono); font-size: var(--t-mono); color: var(--ink-3); margin-right: 8px; }
.a-tool .more-links { font-size: var(--t-small); color: var(--ink-3); margin-top: 12px; }
.a-tool .more-links a { color: var(--ink); }
.a-tool .date-helper { margin: 16px 0 28px; padding: 20px; border-radius: 12px; background: var(--paper); }
.a-tool .date-helper label { display: block; font-weight: 500; margin-bottom: 8px; }
.a-tool .date-helper small { font-weight: 400; color: var(--ink-3); }
.a-tool .date-row { display: flex; flex-wrap: wrap; gap: 8px; }
.a-tool .date-row input { min-height: 48px; min-width: 200px; padding: 0 12px; border-radius: var(--r-control); border: 1px solid var(--hair-strong); background: var(--paper); color: var(--ink); font-family: var(--mono); }
.a-tool .btn.ghost { min-height: 48px; font-size: var(--t-small); }
.a-tool .sheet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 28px; }
.a-tool .block { margin-bottom: 28px; }
.a-tool .block h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; margin-bottom: 10px; }
.a-tool .block h3 .when { margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--panel); color: var(--on-panel); font-family: var(--mono); font-size: .75rem; font-weight: 400; vertical-align: middle; }
.a-tool .block .lead { margin-bottom: 8px; color: var(--ink-2); }
.a-tool .block ul, .a-tool .urgent ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.a-tool .block li, .a-tool .urgent li { position: relative; padding-left: 26px; color: var(--ink-2); }
.a-tool .block li::before, .a-tool .urgent li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--ink); }
.a-tool .essentials { margin-bottom: 32px; padding: 0 24px 4px; border-radius: 12px; background: var(--paper); }
.a-tool .essentials summary { font-weight: 500; padding: 16px 0; }
.a-tool .essentials .block { margin-top: 16px; }
.a-tool .urgent { margin: 8px 0 24px; padding: 24px; border-radius: 12px; background: var(--grid-on-panel), var(--panel); color: var(--on-panel); }
.a-tool .urgent h3 { font-size: var(--t-h3); font-weight: 500; margin-bottom: 12px; }
.a-tool .urgent li { color: var(--on-panel-2); }
.a-tool .urgent li::before { border-color: var(--signal-on-panel); }
.a-tool .urgent p { margin-top: 14px; font-weight: 500; font-family: var(--mono); font-size: .9375rem; }
.a-tool .empty { padding: 24px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .a-hero-copy { grid-column: 1 / span 7; }
  .a-stage, .a-photo-hero { grid-column: 8 / span 5; }
}
@media (max-width: 900px) { .a-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; } }
@media (max-width: 560px) { .a-picker { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1079px) {
  .a-tool .sheet { display: block; }
  .a-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 16px; }
  .a-hero-copy, .a-hero.no-stage .a-hero-copy, .a-stage, .a-photo-hero { grid-column: 1; }
  .a-photo-hero { max-width: 640px; }
  .a-stage { max-width: 640px; width: 100%; }
  .a-layout { grid-template-columns: minmax(0, 1fr); }
  .a-rail, .a-main, .a-layout.no-rail .a-main { grid-column: 1; grid-row: auto; }
  .a-rail { position: static; max-height: none; overflow: visible; margin-bottom: 24px; padding-top: 0; }
  .a-railbook, .a-mini { display: none; }
  .a-toc summary { cursor: pointer; min-height: 48px; }
  .a-toc summary .readout:first-child::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--d-quick) var(--ease); }
  .a-toc-d[open] summary .readout:first-child::after { transform: translateY(1px) rotate(225deg); }
  .a-toc ol { padding-bottom: 4px; }
  .a-main > .a-sec:first-child { border-top: 1px solid var(--hair); padding-top: var(--a-gap); }
}
@media (max-width: 760px) {
  .v2-article main { --a-gap: 56px; }
  .a-h1 { max-width: none; }
  .a-lede { margin-top: 20px; }
  .a-actions { width: 100%; }
  .a-actions .btn { flex: 1 1 100%; }
  .a-actions .a-phone { flex: 1 1 100%; justify-content: center; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--hair-strong); }
  .a-sec-head { margin-bottom: 28px; }
  .a-faq-a { padding-right: 0; }
  .a-card .card-body { padding: 0 16px 24px; }
  .a-card > summary { padding: 20px 16px !important; }
  .a-faq summary, .a-card summary { gap: 16px; padding: 20px 0; }
  .a-sec.is-faq { margin-inline: calc(-1 * min(var(--margin), 12px)); padding-inline: 16px; }
  .a-pollen .a-panel { grid-template-columns: minmax(0, 1fr); padding: 24px 16px; }
  .a-pollen-ctl { padding: 16px; }
  .a-photos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .a-photos figure:first-child { grid-column: 1 / -1; }
  .a-photos figure:first-child img { aspect-ratio: 3 / 2; height: auto; }
  .a-photos img { aspect-ratio: 1; }
  .a-photos.single figure { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .a-photos.single img { aspect-ratio: 4 / 3; }
  .a-cta { grid-template-columns: minmax(0, 1fr); }
  .a-body ul.a-links { grid-template-columns: minmax(0, 1fr); }

  .a-next { grid-template-columns: minmax(0, 1fr); }
  .a-tool .sheet { padding: 20px; margin-inline: calc(-1 * min(var(--margin), 8px)); }
  .a-tool .urgent { padding: 20px; }
}
@media (max-width: 380px) {
  .a-stage { padding: 6px; }
  .a-cap > :first-child { padding-inline: 8px; font-size: .75rem; }
  .a-rotate { padding: 0 12px; }
  .a-chips li a, .a-jump a { padding: 0 14px; }
}

/* ---------- Print: the article, nothing else ---------- */
@media print {
  .a-rail, .a-mini, .a-rotate, .a-ticks, .a-next, .a-cta-mark, .a-tool .picker, .a-tool .sheet-actions, .a-tool .phase, .a-tool .date-row { display: none !important; }
  .a-layout, .a-hero { display: block; }
  .a-stage, .a-photo-hero { break-inside: avoid; }
  .a-stage { max-width: 320px; box-shadow: none; background: #fff; border: 1px solid #999; margin-top: 16px; }
  .a-stage .a-cap > * { color: #000; }
  .a-sec { padding-block: 24px; break-inside: auto; }
  .a-h2, .a-faq summary, .a-card summary { break-after: avoid; }
  .a-panel, .a-banner.is-research, .a-tool .urgent, .a-railbook { background: #fff !important; color: #000 !important; border: 1px solid #999; }
  .a-panel *, .a-tool .urgent * { color: #000 !important; }
  .a-tool .phase-panel[hidden] { display: block !important; }
  .a-pm { display: none; }
  .a-photos { display: none; }
  .v2-article main .btn { background: none !important; color: #000 !important; box-shadow: inset 0 0 0 1px #000; }
  .a-sec.is-faq { background: none; padding-inline: 0; }
}
@media (forced-colors: active) {
  .a-toc li a[aria-current="true"] { outline: 2px solid CanvasText; }
  .a-pm::before, .a-pm::after { background: CanvasText; }
  .a-stage, .a-cta, .a-railbook, .a-next a { border: 1px solid CanvasText; }
}

/* ---------- Illustrations (shared library, graphics.mjs): support the CT moment, never compete with it ---------- */
.a-body ul.a-links > li.has-gfx { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: start; padding-left: 16px; }
.a-li-gfx { color: var(--ink); }
.a-next a.has-gfx { grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; align-items: center; }
.a-next a.has-gfx > :not(.a-next-gfx):not(.go) { grid-column: 2; }
.a-next-gfx { grid-column: 1; grid-row: 1 / span 2; color: var(--ink); }
.a-next a:last-child:not(:only-child).has-gfx { grid-template-columns: minmax(0, 1fr) 64px; }
.a-next a:last-child:not(:only-child).has-gfx > :not(.a-next-gfx):not(.go) { grid-column: 1; }
.a-next a:last-child:not(:only-child).has-gfx .a-next-gfx { grid-column: 2; }
.a-card.has-gfx summary { grid-template-columns: 80px minmax(0, 1fr) 36px; gap: 20px; }
.a-card-gfx { color: var(--ink); display: block; }
.a-picker button { padding-left: 116px; min-height: 112px; justify-content: center; }
.a-pick-gfx { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 80px; color: var(--ink); }
.a-picker button[aria-pressed="true"] .a-pick-gfx { color: var(--on-panel); }
.a-picker button[aria-pressed="true"] .a-pick-gfx .acc { color: var(--signal-on-panel); }
.a-railbook.has-gfx { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; align-items: center; }
.a-railbook.has-gfx > .btn, .a-railbook.has-gfx > .a-phone { grid-column: 2; }
.a-rail-gfx { grid-column: 1; grid-row: 1 / span 2; color: var(--on-panel); }
.a-rail-gfx .gfx { color: var(--on-panel); }
.a-rail-gfx .gfx .acc { color: var(--signal-on-panel); }
@media (max-width: 760px) {
  .a-cta:has(.a-cta-gfx) { grid-template-columns: minmax(0, 1fr); }
  .a-cta:has(.a-cta-gfx) > .a-cta-act { grid-column: 1; grid-row: 2; }
  .a-cta-gfx { position: absolute; width: 112px; top: 20px; right: 20px; opacity: .3; }
  .a-cta-st { padding-right: 96px; }
  .a-next a.has-gfx { grid-template-columns: 48px minmax(0, 1fr); }
  .a-next a:last-child:not(:only-child).has-gfx { grid-template-columns: minmax(0, 1fr) 48px; }
  .a-next-gfx .gfx { width: 48px; height: 48px; }
  .a-card.has-gfx summary { grid-template-columns: 64px minmax(0, 1fr) 36px; gap: 14px; }
  .a-card-gfx .gfx { width: 64px; height: 64px; }
  .a-picker button { padding-left: 100px; min-height: 104px; }
  .a-pick-gfx { left: 16px; width: 72px; }
  .a-pick-gfx .gfx { width: 72px; height: 72px; }
}
@media print { .a-cta-gfx, .a-li-gfx, .a-next-gfx, .a-card-gfx, .a-pick-gfx, .a-rail-gfx { display: none; } .a-picker button { padding-left: 20px; } }

/* every .lift is clickable: the primary link stretches over its card; secondary links sit above it */
.a-railbook .btn::after, .a-cta .a-cta-act > .btn::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-card); }
.a-railbook .btn, .a-cta .a-cta-act > .btn { position: static; }
.a-railbook .a-phone, .a-cta .a-cta-tel, .a-cta .a-cta-bigtel, .a-cta .a-cta-act > :not(.btn) { position: relative; z-index: 1; }
.a-railbook, .a-cta { cursor: pointer; }
.a-cta .a-cta-st:not(a) { pointer-events: none; }
