/**
 * overrides.css — Theme-level CSS overrides
 *
 * Use this file for custom styles that go beyond Tailwind utility classes.
 * Loaded AFTER tailwind.min.css so it can override any Tailwind rule.
 *
 * Keep it organized by section. Avoid duplicating what Tailwind already provides.
 */

/* ── Guide video embeds ────────────────────────────────────────────────── */
/* Wrapper injected around YouTube/Vimeo iframes by seo_render_guide_body().
   Gives embeds a 100%-width, 16:9 container with rounded corners, shadow,
   and a constrained max-width. */
.guide-video {
  display: block;
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  margin: 2rem auto;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 40px -18px rgba(15, 23, 42, 0.28),
    0 8px 20px -10px rgba(15, 23, 42, 0.18);
  outline: 1px solid rgba(226, 232, 240, 1);
  outline-offset: -1px;
}
.guide-video > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Fallback for browsers without aspect-ratio support (very rare) */
@supports not (aspect-ratio: 16 / 9) {
  .guide-video { padding-top: 56.25%; height: 0; }
}

/* ── pseo body content — full-width band with intro + FAQ ─────────────── */
/* PHP emits max-w-3xl mx-auto on the section; override here. */
section.pseo-body {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 3rem 1.5rem 3.5rem;
  margin-top: 2.5rem !important;
}

/* Intro paragraph */
section.pseo-body > p {
  max-width: 93%;
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 0;
}

/* FAQ heading */
section.pseo-body h2 {
  max-width: 93%;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 2.5rem 0 1.25rem;
}

/* FAQ accordion — all open by default (JS sets open attr on load) */
section.pseo-body details {
  max-width: 93%;
  border-bottom: 1px solid #e2e8f0;
}
section.pseo-body details:first-of-type {
  border-top: 1px solid #e2e8f0;
}
section.pseo-body summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  transition: color 0.15s;
}
section.pseo-body summary::-webkit-details-marker { display: none; }
section.pseo-body summary::after {
  content: '−';
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: #94a3b8;
  flex-shrink: 0;
}
section.pseo-body details:not([open]) > summary::after { content: '+'; }
section.pseo-body summary:hover { color: #059669; }
section.pseo-body details > div,
section.pseo-body details > p {
  padding: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #64748b;
}

/* ── Homepage hero H1 ──────────────────────────────────────────────── */
/* Overrides the Tailwind leading-* utilities so the hero headline sits
   at a consistent line-height. Mobile gets a looser 1.2 so the wrapped
   lines breathe; desktop stays tight at 1.15. Oregon gets the themed
   brand green (same tone as the Verified badge). */
h1.fade-up {
  line-height: 1.15 !important;
}
@media (max-width: 639px) {
  h1.fade-up {
    line-height: 1.25 !important;
  }
}
.ocd-accent-green {
  color: #2D9650;
}

/* ── Tile rounding — 50% of Tailwind defaults ─────────────────────────── */
/* Softens the "pill-y" feel of cards, tiles, and panels site-wide. Keeps
   rounded-full (avatars, pills) and rounded-sm/rounded (already minimal)
   untouched. Loads after tailwind.min.css so source order wins.
   Per-side + per-corner variants included so inner pieces (e.g. a
   rounded-t-3xl gradient band on top of a rounded-3xl card) stay flush. */
.rounded-lg  { border-radius: 0.25rem; }  /* was 0.5rem (8px → 4px)  */
.rounded-xl  { border-radius: 0.375rem; } /* was 0.75rem (12px → 6px) */
.rounded-2xl { border-radius: 0.5rem; }   /* was 1rem (16px → 8px)   */
.rounded-3xl { border-radius: 0.75rem; }  /* was 1.5rem (24px → 12px)*/

.rounded-t-lg  { border-top-left-radius: 0.25rem;  border-top-right-radius: 0.25rem; }
.rounded-t-xl  { border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; }
.rounded-t-2xl { border-top-left-radius: 0.5rem;   border-top-right-radius: 0.5rem; }
.rounded-t-3xl { border-top-left-radius: 0.75rem;  border-top-right-radius: 0.75rem; }

.rounded-b-lg  { border-bottom-left-radius: 0.25rem;  border-bottom-right-radius: 0.25rem; }
.rounded-b-xl  { border-bottom-left-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }
.rounded-b-2xl { border-bottom-left-radius: 0.5rem;   border-bottom-right-radius: 0.5rem; }
.rounded-b-3xl { border-bottom-left-radius: 0.75rem;  border-bottom-right-radius: 0.75rem; }

.rounded-l-lg  { border-top-left-radius: 0.25rem;  border-bottom-left-radius: 0.25rem; }
.rounded-l-xl  { border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem; }
.rounded-l-2xl { border-top-left-radius: 0.5rem;   border-bottom-left-radius: 0.5rem; }
.rounded-l-3xl { border-top-left-radius: 0.75rem;  border-bottom-left-radius: 0.75rem; }

.rounded-r-lg  { border-top-right-radius: 0.25rem;  border-bottom-right-radius: 0.25rem; }
.rounded-r-xl  { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }
.rounded-r-2xl { border-top-right-radius: 0.5rem;   border-bottom-right-radius: 0.5rem; }
.rounded-r-3xl { border-top-right-radius: 0.75rem;  border-bottom-right-radius: 0.75rem; }

.rounded-tl-lg  { border-top-left-radius: 0.25rem; }
.rounded-tl-xl  { border-top-left-radius: 0.375rem; }
.rounded-tl-2xl { border-top-left-radius: 0.5rem; }
.rounded-tl-3xl { border-top-left-radius: 0.75rem; }

.rounded-tr-lg  { border-top-right-radius: 0.25rem; }
.rounded-tr-xl  { border-top-right-radius: 0.375rem; }
.rounded-tr-2xl { border-top-right-radius: 0.5rem; }
.rounded-tr-3xl { border-top-right-radius: 0.75rem; }

.rounded-bl-lg  { border-bottom-left-radius: 0.25rem; }
.rounded-bl-xl  { border-bottom-left-radius: 0.375rem; }
.rounded-bl-2xl { border-bottom-left-radius: 0.5rem; }
.rounded-bl-3xl { border-bottom-left-radius: 0.75rem; }

.rounded-br-lg  { border-bottom-right-radius: 0.25rem; }
.rounded-br-xl  { border-bottom-right-radius: 0.375rem; }
.rounded-br-2xl { border-bottom-right-radius: 0.5rem; }
.rounded-br-3xl { border-bottom-right-radius: 0.75rem; }

/* ────────────────────────────────────────────────────────────────
   TOOLTIP — [data-tooltip]
   Public-page copy of the components.css tooltip block. page.tpl.php
   only loads forms.css / tailwind.min.css / overrides.css, so the
   primary declaration over in components.css (dashboard-only) never
   reaches public profiles. Keep these two blocks in sync.
   ──────────────────────────────────────────────────────────────── */
[data-tooltip] { position: relative; }
[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-3px);
  background: rgba(11, 58, 24, .92);
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .01em;
  line-height: 1 !important;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 9999;
}
[data-tooltip]::after {
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent !important;
  border-right: 4px solid transparent !important;
  border-bottom: 4px solid rgba(11, 58, 24, .92) !important;
  border-top: 0 !important;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 9999;
}
[data-tooltip]:hover::before,
[data-tooltip]:focus-visible::before,
[data-tooltip].is-open::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after,
[data-tooltip].is-open::after { opacity: 1; }

/* Clinic-page hero spacing override: swap mt-4 for padding-top so the
   gap lives *inside* the hero tile (so the hover ceiling moves with it).
   Requested by Eric. */
.mt-4 {
  padding-top: 1rem;
  margin-top: 0;
}

/* ── Unified filter sidebar controls ───────────────────────────────────
   Shared by _filter-sidebar.tpl.php on every search/browse page (providers,
   search, clinics, SEO hubs). Moved here from providers.tpl.php so the
   styling is global and not duplicated by the desktop+drawer double-render. */
.ocd-filter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #475569;
  margin: 0 0 8px;
}
.ocd-filter-select {
  appearance: none; -webkit-appearance: none;
  width: 100%;
  display: block;
  min-height: unset;
  padding: 10px 36px 10px 14px !important;
  font-size: 14px; font-weight: 500;
  color: #0B3A18;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
  border: 1px solid #E2ECE6;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.ocd-filter-select:hover {
  border-color: #A8DEB5;
  background-color: #FAFDFB;
}
.ocd-filter-select:focus,
.ocd-filter-select:focus-visible {
  outline: none;
  border-color: #2D9650;
  box-shadow: 0 0 0 3px rgba(45,150,80,.15);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232D9650' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.ocd-filter-select option[value=""] { color: #64748B; }

/* ─────────────────────────────────────────────────────────────────────────
   Editorial provider cards — search/hub ROWS + homepage TILES
   Layout is owned here (NOT Tailwind responsive utilities — the prebuilt
   tailwind.min.css lacks md:flex-row / arbitrary widths / gap-x-*, so the
   row layout must not depend on them). Container queries switch the row to
   horizontal based on the card's own width, so it works with or without the
   filter sidebar present.
   ───────────────────────────────────────────────────────────────────────── */
.ocd-ed-grid { container-type: inline-size; }

/* Grouping wrapper: carries data-rank-group / data-kind for the page and for
   tests, and uses display:contents so the card stays the grid item and the
   container query on .ocd-ed-grid is unaffected. */
.ocd-rank-cell { display: contents; }

.ocd-ed-card {
  position: relative;
  background: #fff;
  border: 1px solid #E3EBE6;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 10px 26px rgba(45,150,80,.08);
  transition: box-shadow .25s cubic-bezier(.2,.7,.2,1), border-color .25s ease;
}
/* Hover only deepens the shadow (a pointer nicety, never the only cue). A
   keyboard or touch user gets the same lift from focus-within, and every
   control inside has its own pressed state below. */
@media (hover: hover) {
  .ocd-ed-card:hover { border-color: #DCEBE0; }
}
.ocd-ed-card:focus-within { border-color: #BFE0C9; }

/* Identity */
.ocd-ed-name {
  font-family: var(--ocd-font-display, 'Lora', Georgia, serif);
  font-weight: 600; letter-spacing: -.01em; color: #0f172a; line-height: 1.25;
}
@media (hover: hover) { .ocd-ed-card:hover .ocd-ed-name { color: #1F7537; } }
.ocd-ed-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 3px 9px;
  font-size: 11.5px; color: #64748b; margin-top: 3px;
}
.ocd-ed-meta .creds { font-weight: 600; color: #475569; }
.ocd-ed-loc { display: inline-flex; align-items: center; gap: 4px; }

/* Quote = bio snippet (serif italic, green rule) */
.ocd-ed-quote {
  font-family: var(--ocd-font-display, 'Lora', Georgia, serif);
  font-style: italic; color: #475569; font-size: 14.5px; line-height: 1.55;
  border-left: 2px solid #2D9650; padding-left: 12px;
}
.ocd-ed-tile .ocd-ed-quote { font-size: 13.5px; line-height: 1.5; }
.ocd-ed-quote-arrow { display: inline-flex; vertical-align: middle; color: #94CBA6; transition: color .18s ease, transform .18s ease; }
@media (hover: hover) { .ocd-ed-card:hover .ocd-ed-quote-arrow { color: #2D9650; transform: translateX(2px); } }

.ocd-ed-tagline { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.ocd-ed-label   { font-size: 9.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: #94a3b8; }
.ocd-ed-fee {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; color: #0f172a;
}
.ocd-ed-fee .per { color: #94a3b8; font-size: 10.5px; font-weight: 400; }

.ocd-ed-verified   { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; color: #2D9650; text-transform: uppercase; }
.ocd-ed-unverified { font-size: 9.5px; font-weight: 600; letter-spacing: .03em; color: #94a3b8; text-transform: uppercase; }
/* Complementary care: neutral, never the Verified green. */
.ocd-ed-reviewed   { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; color: #64748b; text-transform: uppercase; }
.ocd-ed-scope      { margin: 4px 0 0; font-size: 12px; color: #64748b; }

/* Pills */
.ocd-ed-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ocd-ed-pill {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600;
  line-height: 1.2; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.ocd-ed-pill--solid   { background:#FBFEFC; color:#15803D; border:1px solid #DDEFE4; }
.ocd-ed-pill--outline { background:#fff;    color:#64748b; border:1px solid #E8EDF1; }
/* Insurance / OHP / money match — green (a MATCH, not a warning). Was amber
   (#9A3412) which read as red and confused providers. */
.ocd-ed-pill--insurance { background:#F0FAF4; color:#15803D; border:1px solid #CDEBD8; }
.ocd-ed-pill--violet  { background:#FCFBFE; color:#6D28D9; border:1px solid #EAE5F7; }
/* Status pill on list cards: only an explicit answer gets a pill. */
.ocd-ed-avail::before { content: ""; width: 6px; height: 6px; border-radius: 999px; flex-shrink: 0; }
.ocd-ed-avail--yes { background:#F0FAF4; color:#047857; border:1px solid #CDEBD8; }
.ocd-ed-avail--yes::before { background:#10b981; }
.ocd-ed-avail--no  { background:#F8FAFC; color:#64748b; border:1px solid #E2E8F0; }
.ocd-ed-avail--no::before  { background:#cbd5e1; }

/* Buttons */
.ocd-ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600; line-height: 1; padding: 9px 12px; border-radius: 10px;
  min-width: 0; max-width: 100%; text-align: center;
  white-space: normal; overflow-wrap: anywhere; line-height: 1.15;   /* a long "Book via" label wraps inside the card, never past it */
  transition: filter .15s ease, background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.ocd-ed-btn--primary { background:#2D9650; color:#fff; border:1px solid transparent; box-shadow:0 1px 2px rgba(45,150,80,.18); }
.ocd-ed-btn--primary:hover { background:#247a41; }
.ocd-ed-btn--primary:active { transform: scale(.98); }
.ocd-ed-btn--ghost { background:#fff; color:#1F7537; border:1px solid #BBE9C8; }
.ocd-ed-btn--ghost:hover { background:#F0FBF3; }
.ocd-ed-btn--quiet { background:#fff; color:#64748b; border:1px solid #E2E8F0; }
.ocd-ed-btn--quiet:hover { color:#1F7537; border-color:#BBE9C8; }
/* Pressed + focus states for every card control (touch and keyboard get the
   same feedback a pointer gets from hover). */
.ocd-ed-btn:active { transform: scale(.97); }
.ocd-ed-btn:focus-visible, .ocd-ed-heart:focus-visible,
.ocd-ed-name a:focus-visible, .ocd-ed-quote:focus-visible {
  outline: 2px solid #2D9650; outline-offset: 2px; border-radius: 999px;
}
.ocd-ed-name a:focus-visible, .ocd-ed-quote:focus-visible { border-radius: 6px; }
.ocd-ed-name a:active { color: #1F7537; }

.ocd-ed-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ocd-ed-clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* Heart — provider→provider favorite / add-to-network.
   44 px minimum tap target delivered by an INVISIBLE overlay, same fix as
   .ocd-ed-btn--icon below (the critic's 2026-09-14 pass measured both at
   about 30 px). The first attempt used min-width/min-height, which grew the
   painted circle from 30 px to 44 px on every provider card. The painted
   circle is back at 30 px; the ::after below is transparent, sits inside the
   button so every tap on it is a tap on the button, and reaches past the
   border to 44 px. -8px, not -7px: the pseudo-element's containing block is
   the button's PADDING box, which the 1px border makes 28 px, so 28 + 16 = 44. */
.ocd-ed-heart {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid #E2E8F0; background: #fff; color: #cbd5e1; cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease, transform .1s ease;
}
.ocd-ed-heart::after { content: ''; position: absolute; inset: -8px; }
.ocd-ed-heart svg { width: 15px; height: 15px; }
.ocd-ed-heart:hover { color: #f43f5e; border-color: #fecdd3; background: #fff1f2; }
.ocd-ed-heart:active { transform: scale(.9); }
.ocd-ed-heart.is-on { color: #f43f5e; border-color: #fecdd3; background: #fff1f2; }
.ocd-ed-heart.is-on svg { fill: currentColor; }

/* ── ROW (search + hubs): full-width card with an internal 2-column split —
   tinted LEFT panel (avatar + editorial content + insurance) and a white
   RIGHT rail (status / fee / actions). Horizontal once it has room. ── */
.ocd-ed-row { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.ocd-ed-row__main {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px;
  background: #fff;              /* left column: white */
}
.ocd-ed-row__avatar { display: flex; align-items: center; flex-shrink: 0; }
.ocd-ed-row__body { flex: 1 1 auto; min-width: 0; }
.ocd-ed-row__body:not(:has(*)) { display: none; }

/* ── Card header, shared by every card (provider + practice, row + tile) so
   they read as one system (Eric, 2026-10-15): a 56px circle on the left and,
   beside it, exactly two lines that never wrap at any width from 320 up.
   Line 1 is the name (ellipsis), with the "Practice" pill on practice cards.
   Line 2 is the meta: one row tall and clipped, its pieces in priority
   order, so a piece that no longer fits drops from the end (mode, then
   place) and only a piece that alone overruns the line gets an ellipsis. ── */
.ocd-ed-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ocd-ed-head > a, .ocd-ed-head .ocd-ed-row__avatar { flex-shrink: 0; }
.ocd-ed-head__text { flex: 1 1 auto; min-width: 0; }
.ocd-ed-head__title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ocd-ed-head .ocd-ed-name {
  font-size: 17px; line-height: 1.3; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ocd-ed-head .ocd-ed-meta {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 2px;
  height: 18px; line-height: 18px; overflow: hidden; font-size: 11.5px;
}
.ocd-ed-head .ocd-ed-meta > * { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The core (credentials or provider count, then place) never leaves the
   line: it shrinks instead. Credentials give way; the place never shrinks
   (even a fraction of a pixel triggers WebKit's ellipsis) unless it alone
   overruns the line. */
.ocd-ed-head .ocd-ed-meta > .ocd-ed-meta__core { display: flex; min-width: 0; }
.ocd-ed-meta__core > * { display: block; flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ocd-ed-meta__core > .ocd-ed-loc { flex-shrink: 0; max-width: 100%; }
.ocd-ed-head .ocd-ed-meta span + span::before { content: "\00B7"; color: #cbd5e1; margin: 0 5px; font-weight: 400; }
.ocd-ed-head .ocd-ed-meta svg { display: inline; vertical-align: -1px; margin: 0 3px 0 0 !important; }
.ocd-ed-head .ocd-ed-meta .mode { color: #94a3b8; }
/* The match % leads nothing now: it trails the pills row on rows. */
.ocd-ed-pills > .ocd-ed-match { align-self: center; font-size: 11.5px; }
.ocd-ed-pills > .ocd-ed-match::before { content: none; }
.ocd-ed-pills > .ocd-ed-unverified { font-size: 9.5px; letter-spacing: .05em; color: #94a3b8; }
/* Practice logos: the same 56px circle as a provider avatar. A landscape
   logo is contained whole on white, inset so its corners clear the curve. */
.ocd-ed-logo {
  display: block; width: 56px; height: 56px; border-radius: 999px; overflow: hidden; flex-shrink: 0;
  background: #fff; box-shadow: 0 3px 12px rgba(15,23,42,.12);
}
.ocd-ed-logo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ocd-ed-logo--contain { display: flex; align-items: center; justify-content: center; padding: 4px; border: 1px solid #EEF2F0; }
.ocd-ed-logo--contain img { object-fit: contain; }
/* "Practice" kind pill: tiny wireframe building + the word, brand green. */
.ocd-ed-kind {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  font-size: 10.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 3px 8px 3px 6px; border-radius: 999px;
  color: #1F7537; background: #F0FAF4; border: 1px solid #CDEBD8;
}
.ocd-ed-kind svg { display: block; width: 12px; height: 12px; flex-shrink: 0; }
.ocd-ed-row__rail {
  display: flex; flex-direction: column; gap: 9px; padding: 16px 18px;
  background: #FAFBFA;          /* right rail: very subtle off-white */
  border-top: 1px solid #EEF2F0;
}
/* In-network — subtle inline text (links), matched carrier highlighted */
.ocd-ed-net-list { font-size: 11.5px; line-height: 1.6; margin-top: 4px; }
.ocd-ed-net { color: #64748b; text-decoration: none; }
.ocd-ed-net:hover { color: #1F7537; }
.ocd-ed-net.is-on { color: #15803D; font-weight: 600; }
.ocd-ed-net-sep { color: #cbd5e1; }
.ocd-ed-net-more { color: #94a3b8; text-decoration: none; white-space: nowrap; }
.ocd-ed-net-more:hover { color: #1F7537; }
/* The globe + heart group is pinned to the top-right corner and the status
   pill takes whatever room is left. In the 200px rail a logged-in viewer's
   tools are 77px, so "Not accepting" (and even "Accepting") no longer fits
   beside them: the pill wraps to its own line below instead of shoving the
   heart past the card's overflow clip. row-reverse + order:-1 puts the tools
   first from the right; the pill's margin-right:auto keeps it flush left. */
.ocd-ed-row__rail-top { display: flex; flex-direction: row-reverse; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; }
.ocd-ed-row__rail-top > :first-child { margin-right: auto; }
/* Website globe + save heart sit together at the rail's top right, so the
   booking button below keeps the full rail width and nothing clips. */
/* 16px, not 6px: both rail buttons carry an invisible ::after that reaches
   8px past the painted box on every side (see below). At a 6px gap the
   heart's overlay crossed the globe's right edge, so a tap in the space
   between them landed on whichever element painted last rather than on the
   one under the thumb. 16px = 8 + 8 leaves the two overlays just touching. */
.ocd-ed-row__rail-tools { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; order: -1; }
/* 44 px minimum tap target (the critic measured the rail globe at 31 px on
   2026-09-14), delivered by an invisible overlay rather than by growing the
   button: min-width/min-height turned the painted 31 px box, border and all,
   into a 44 px one. Painted box, glyph, colour and radius are all back to
   where they were; the ::after is transparent and inside the button, so a
   tap anywhere on it is a tap on the link. Same -8px as the heart above:
   the pseudo-element's containing block is the padding box (31 px less the
   1 px border on each side = 29 px), so 29 + 16 = 45 px. */
.ocd-ed-btn--icon { position: relative; padding: 7px; line-height: 0; }
.ocd-ed-btn--icon::after { content: ''; position: absolute; inset: -8px; }
/* Practice rows: the website globe sits beside View Practice / Book. */
.ocd-ed-row__cta .ocd-ed-foot-icon { width: 44px; padding: 0; justify-content: center; }
.ocd-ed-row__cta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }

/* Card foot, both variants: the CTA on the left, the status chips on the
   right, vertically centred on one row. Every CTA in the foot (Book, Request
   Intro, View Profile, View Practice) is the same 44px pill, so a card with a
   booking link and one without share the same height and rhythm. */
.ocd-ed-tile__foot .ocd-ed-btn,
.ocd-ed-row__cta .ocd-ed-btn { min-height: 44px; padding: 6px 15px; flex-shrink: 0; }
.ocd-ed-foot-ctas { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ocd-ed-tile__foot .ocd-ed-foot-icon { width: 44px; padding: 0; }
/* Status (Accepting / Not accepting), right-aligned, centred on the pill. */
.ocd-ed-foot-status {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-end;
  gap: 6px; min-width: 0; margin-left: auto; text-align: right;
}
/* Verified seal: a small icon immediately left of the Accepting pill, the
   same height as the pill so both sit on one centre line. Not a control, so
   it carries no tap target; its name is "Verified" (role=img). */
.ocd-ed-vbadge { display: inline-flex; flex-shrink: 0; width: 20px; height: 20px; color: #2D9650; }
.ocd-ed-vbadge svg { display: block; width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(21,128,61,.22)); }
.ocd-ed-foot-status .ocd-ed-reviewed { white-space: nowrap; }
/* Book pill: just "Book", in the brand green. Where the link goes ("via
   SimplePractice") is a tiny caption directly below the pill, outside it.
   The caption is absolutely placed so the foot row centres on the pill
   alone; every foot reserves the caption's room (padding-bottom below), so
   a card without a booking link keeps the same height rhythm.
   #64748b on #fff is 4.76:1 and on the #FAFBFA rail 4.6:1, AA at 11px. */
.ocd-ed-tile__foot, .ocd-ed-row__cta { padding-bottom: 13px; }
.ocd-ed-bookwrap { position: relative; display: inline-flex; flex-direction: column; align-items: stretch; flex-shrink: 0; }
.ocd-ed-book { white-space: nowrap; min-width: 96px; font-size: 14px; font-weight: 700; }
.ocd-ed-book__via {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 3px;
  font-size: 11px; font-weight: 500; line-height: 1.15; color: #64748b; white-space: nowrap;
}


@container (min-width: 760px) {
  .ocd-ed-row { flex-direction: row; min-height: 212px; }   /* uniform card height */
  /* The header stays one row (avatar left, name + meta right); the body
     runs full width beneath it, as on phones. */
  .ocd-ed-row__main { flex: 1 1 auto; padding: 20px 22px; min-width: 0; }
  .ocd-ed-row__rail { width: 200px; flex-shrink: 0; border-top: 0; border-left: 1px solid #EEF2F0; padding: 20px; }
  /* The 200px rail cannot hold the pill and the status side by side, so
     the status sits directly above a full-width pill at the rail's foot. */
  .ocd-ed-row__cta { flex-direction: column-reverse; align-items: stretch; }
  .ocd-ed-row__cta .ocd-ed-foot-status { justify-content: flex-start; margin-left: 0; }
  .ocd-ed-row__cta .ocd-ed-foot-ctas > :first-child { flex: 1 1 auto; }
  /* "View Practice" + the 44px globe share the 160px rail on one line. */
  .ocd-ed-row__cta .ocd-ed-foot-ctas > .ocd-ed-btn--ghost { white-space: nowrap; padding-left: 10px; padding-right: 10px; }
}
/* Fallback when container queries are unsupported: go horizontal by viewport */
@supports not (container-type: inline-size) {
  @media (min-width: 1024px) {
    .ocd-ed-row { flex-direction: row; min-height: 212px; }
    .ocd-ed-row__main { flex: 1 1 auto; padding: 20px 22px; min-width: 0; }
    .ocd-ed-row__rail { width: 200px; flex-shrink: 0; border-top: 0; border-left: 1px solid #EEF2F0; padding: 20px; }
    .ocd-ed-row__cta { flex-direction: column-reverse; align-items: stretch; }
    .ocd-ed-row__cta .ocd-ed-foot-status { justify-content: flex-start; margin-left: 0; }
    .ocd-ed-row__cta .ocd-ed-foot-ctas > :first-child { flex: 1 1 auto; }
    .ocd-ed-row__cta .ocd-ed-foot-ctas > .ocd-ed-btn--ghost { white-space: nowrap; padding-left: 10px; padding-right: 10px; }
  }
}

/* ── TILE (homepage): vertical, compact ── */
.ocd-ed-tile { display: flex; flex-direction: column; padding: 18px; height: 100%; }
.ocd-ed-tile__head { display: flex; align-items: center; gap: 12px; }
/* Avatars stay perfect circles: a long name must not squeeze the avatar's
   link (flex item) or its image (preflight max-width:100%). */
.ocd-ed-tile__head > a, .ocd-ed-row__avatar > a { flex-shrink: 0; }
img.ocd-wire-avatar { max-width: none; aspect-ratio: 1 / 1; flex-shrink: 0; }
.ocd-ed-tile__band { border-top: 1px solid #EEF2F0; margin-top: 14px; padding-top: 12px; margin-bottom: 14px; }
/* margin-top:auto pins every foot to the card bottom, so in a grid row the
   Book pills and status chips of neighbouring cards share one baseline. */
.ocd-ed-tile__foot { border-top: 1px solid #EEF2F0; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
/* Practice tiles keep one rule (above the specialties band) and drop the
   second one above the Book row (Eric, 2026-10-14). */
.ocd-ed-tile--practice .ocd-ed-tile__foot { border-top: 0; padding-top: 2px; }
.ocd-ed-tile__foot > div:last-child { margin-left: auto; }
.ocd-ed-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 11.5px; color: #64748b; }
.ocd-ed-facts .item { display: inline-flex; align-items: center; gap: 4px; }

/* Editorial tagline + meta link affordances */
.ocd-ed-tagline a { color: inherit; text-decoration: none; transition: color .15s ease; }
.ocd-ed-tagline a:hover { color: #1F7537; }
.ocd-ed-pill[href] { text-decoration: none; transition: filter .15s ease, border-color .15s ease; }
.ocd-ed-pill[href]:hover { filter: brightness(.98); border-color: #cbd5e1; }

/* ─────────────────────────────────────────────────────────────────────────
   All headings use the Lora display serif — section headings, article
   titles, article tile titles, and headings inside article prose. The
   .ocd-prose rule needs !important to beat the prose body-font override.
   ───────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ocd-font-display, 'Lora', Georgia, 'Times New Roman', serif);
}
.ocd-prose h1, .ocd-prose h2, .ocd-prose h3,
.ocd-prose h4, .ocd-prose h5, .ocd-prose h6 {
  font-family: var(--ocd-font-display, 'Lora', Georgia, 'Times New Roman', serif) !important;
}

/* ── Hub pages: filter sidebar on the LEFT (consistent with /providers) ──
   The hub grid (#browse.lg:grid-cols-4) renders main content first then the
   <aside>. Re-place them so the sidebar sits in column 1. */
@media (min-width: 1024px) {
  .ocd-hub-aside { grid-column: 1 / 2; grid-row: 1; }
  .ocd-hub-main  { grid-column: 2 / 5; grid-row: 1; }
}

/* Practice tiles — uniform height (grid stretch handles within-row; this
   gives quote-less tiles a consistent floor). */
.ocd-ed-tile--practice { min-height: 250px; }

/* ─────────────────────────────────────────────────────────────────────────
   Sticky side rail (guide pages). Pinned below the header, capped to the
   viewport under that offset, and scrolling independently of the article.
   Scrollbar hidden — the clipped last row already says "there's more" —
   matching .ocd-filter-scroll on the search sidebar.
   ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .ocd-rail-scroll {
    max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain;
    padding-right: 2px; scrollbar-width: none; -ms-overflow-style: none;
  }
  .ocd-rail-scroll::-webkit-scrollbar { display: none; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Match-quiz CTA tile (homepage browse grid, last tile).
   Wears .ocd-ed-card so its surface, radius, shadow and hover lift are
   identical to the provider tiles it sits beside. The motif is three
   provider chips with the middle one picked out: the fan settles on
   reveal and spreads on hover.
   ───────────────────────────────────────────────────────────────────────── */
.ocd-match-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 22px 18px 20px; text-align: center; text-decoration: none;
  background: radial-gradient(120% 78% at 50% 0%, #F4FBF6 0%, #fff 62%);
}
.ocd-match-cta:hover { border-color: #C6E3C9; }

.ocd-mcta-visual { position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 6px 0 16px; }
.ocd-mcta-halo { position: absolute; top: 50%; left: 50%; width: 168px; height: 168px; margin: -88px 0 0 -84px;
  border-radius: 999px; background: radial-gradient(circle, rgba(45,150,80,.10), rgba(45,150,80,0) 68%); }
.ocd-mcta-stack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 172px; }

.ocd-mcta-chip {
  position: relative; display: flex; align-items: center; gap: 7px;
  width: 150px; padding: 8px 10px; border-radius: 9px;
  background: #fff; border: 1px solid #E3EBE6; box-shadow: 0 2px 8px -5px rgba(15,23,42,.18);
  transition: transform .32s cubic-bezier(.25,.46,.45,.94), opacity .32s ease, box-shadow .32s ease;
}
.ocd-mcta-chip .av { width: 18px; height: 18px; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(150deg, #A8DEB5, #D6F0DD); }
.ocd-mcta-chip .ln { height: 4px; border-radius: 3px; background: #E7EEE9; }
.ocd-mcta-chip .ln--1 { width: 46px; }
.ocd-mcta-chip .ln--2 { width: 26px; background: #F0F4F1; }

.ocd-mcta-chip--pick {
  z-index: 2; border-color: #A8DEB5; background: #fff;
  box-shadow: 0 10px 22px -12px rgba(45,150,80,.55), 0 1px 3px rgba(15,23,42,.06);
}
.ocd-mcta-chip--pick .av { background: linear-gradient(150deg, #2D9650, #1F7537); }
.ocd-mcta-chip--pick .ln--1 { background: #D6F0DD; }
.ocd-mcta-chip--pick .ln--2 { background: #EAF6EE; }
.ocd-mcta-chip--pick .tick {
  position: absolute; right: 9px; top: 50%; margin-top: -8px;
  width: 16px; height: 16px; border-radius: 999px; background: #2D9650; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ocd-mcta-chip--pick .tick svg { width: 11px; height: 11px; }

/* Reveal: the chips drop in and the fan settles into its resting angles
   (the shared card observer adds .is-in). Transitions, not keyframes, so
   the hover state below can still take the transform and opacity over. */
.ocd-match-cta .ocd-mcta-chip { opacity: 0; transform: translateY(9px) scale(.9); }
.ocd-match-cta.is-in .ocd-mcta-chip--a    { opacity: .8; transform: rotate(-4deg) translateX(-9px) scale(.94); transition-delay: .05s; }
.ocd-match-cta.is-in .ocd-mcta-chip--pick { opacity: 1;  transform: translateY(-1px);                            transition-delay: .18s; }
.ocd-match-cta.is-in .ocd-mcta-chip--b    { opacity: .8; transform: rotate(4deg) translateX(9px) scale(.94);     transition-delay: .3s; }

/* Hover: the two runners-up fan out and fade back, the pick lifts. */
.ocd-match-cta:hover .ocd-mcta-chip--a { transform: rotate(-7deg) translate(-18px, -2px) scale(.92); opacity: .55; transition-delay: 0s; }
.ocd-match-cta:hover .ocd-mcta-chip--b { transform: rotate(7deg) translate(18px, 2px) scale(.92); opacity: .55; transition-delay: 0s; }
.ocd-match-cta:hover .ocd-mcta-chip--pick {
  transform: translateY(-5px) scale(1.03); transition-delay: 0s;
  box-shadow: 0 16px 28px -14px rgba(45,150,80,.6), 0 1px 3px rgba(15,23,42,.06);
}

.ocd-mcta-body { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ocd-mcta-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2D9650; }
.ocd-mcta-title {
  font-family: var(--ocd-font-display, 'Lora', Georgia, serif);
  font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #0f172a; margin: 0; line-height: 1.25;
  transition: color .18s ease;
}
.ocd-match-cta:hover .ocd-mcta-title { color: #1F7537; }
.ocd-mcta-teaser { font-size: 13px; line-height: 1.55; color: #64748b; margin: 0; max-width: 27ch; }
.ocd-mcta-more {
  margin-top: 3px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: #1F7537;
}
.ocd-mcta-more svg { width: 14px; height: 14px; transition: transform .22s cubic-bezier(.25,.46,.45,.94); }
.ocd-match-cta:hover .ocd-mcta-more svg { transform: translateX(3px); }

/* ── REEL motif: same card shell, used by the "View all videos" tile.
   Three stacked frames with a play badge on the front one. */
.ocd-mcta-reel { position: relative; width: 158px; height: 104px; }
.ocd-mcta-reel .fr {
  position: absolute; left: 50%; top: 50%; width: 122px; height: 72px; margin: -36px 0 0 -61px;
  border-radius: 9px; background: #fff; border: 1px solid #E3EBE6;
  transition: transform .32s cubic-bezier(.25,.46,.45,.94), opacity .32s ease;
}
.ocd-mcta-reel .fr--b { background: linear-gradient(160deg,#D6F0DD,#F0FBF3); border-color: #CFE9D7;
  box-shadow: 0 6px 16px -12px rgba(45,150,80,.4); }
.ocd-mcta-reel .fr--a { background: linear-gradient(160deg,#F0FBF3,#fff); border-color: #DCEBE0;
  box-shadow: 0 7px 16px -12px rgba(45,150,80,.35); }
.ocd-mcta-reel .fr--f {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg,#EAF6EE,#F7FBF8 60%,#fff);
  box-shadow: 0 14px 26px -14px rgba(15,23,42,.25), 0 1px 3px rgba(45,150,80,.08);
}
.ocd-mcta-reel .play {
  width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: #2D9650; color: #fff; box-shadow: 0 4px 12px -4px rgba(45,150,80,.6);
  transition: transform .28s cubic-bezier(.25,.46,.45,.94), background-color .18s ease;
}
.ocd-mcta-reel .play svg { width: 15px; height: 15px; margin-left: 1px; }
/* Reveal: the stack fans out from behind the front frame. */
.ocd-match-cta .ocd-mcta-reel .fr { opacity: 0; transform: translate(-0px, 8px) scale(.92); }
.ocd-match-cta.is-in .ocd-mcta-reel .fr--b { opacity: 1; transform: rotate(9deg) translate(18px, 7px) scale(.94); transition-delay: .05s; }
.ocd-match-cta.is-in .ocd-mcta-reel .fr--a { opacity: 1; transform: rotate(-8deg) translate(-18px, 5px) scale(.94); transition-delay: .16s; }
.ocd-match-cta.is-in .ocd-mcta-reel .fr--f { opacity: 1; transform: rotate(-1deg) translateY(-2px); transition-delay: .26s; }
.ocd-match-cta:hover .ocd-mcta-reel .fr--b { transform: rotate(13deg) translate(27px, 5px) scale(.92); transition-delay: 0s; }
.ocd-match-cta:hover .ocd-mcta-reel .fr--a { transform: rotate(-12deg) translate(-27px, 3px) scale(.92); transition-delay: 0s; }
.ocd-match-cta:hover .ocd-mcta-reel .fr--f { transform: rotate(0) translateY(-5px); transition-delay: 0s; }
.ocd-match-cta:hover .ocd-mcta-reel .play { transform: scale(1.12); background: #247a41; }

/* ── BAND variant: the same card laid on its side, for the single-column
   results grids (/providers, /search) where the tiles are full-width rows. */
.ocd-match-cta--band {
  flex-direction: row; align-items: center; justify-content: flex-start;
  gap: 22px; padding: 18px 24px; text-align: left;
}
.ocd-match-cta--band .ocd-mcta-visual { width: auto; flex-shrink: 0; padding: 0; }
.ocd-match-cta--band .ocd-mcta-halo { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
.ocd-match-cta--band .ocd-mcta-stack { width: 150px; gap: 6px; }
.ocd-match-cta--band .ocd-mcta-chip { width: 132px; padding: 7px 9px; }
.ocd-match-cta--band .ocd-mcta-chip .ln--1 { width: 38px; }
.ocd-match-cta--band .ocd-mcta-chip .ln--2 { width: 20px; }
.ocd-match-cta--band .ocd-mcta-body { align-items: flex-start; flex: 1 1 auto; gap: 5px; }
.ocd-match-cta--band .ocd-mcta-title { font-size: 20px; }
.ocd-match-cta--band .ocd-mcta-teaser { max-width: 52ch; }
.ocd-match-cta--band .ocd-mcta-action { flex-shrink: 0; }
.ocd-match-cta--band .ocd-ed-btn { padding: 11px 18px; font-size: 13.5px; }
.ocd-match-cta--band:hover .ocd-ed-btn--primary { background: #247a41; }

@media (max-width: 640px) {
  .ocd-match-cta { padding: 20px 16px 18px; }
  .ocd-mcta-visual { padding: 2px 0 12px; }
  /* Band folds back into the vertical card on a phone. */
  .ocd-match-cta--band { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 20px 16px; }
  .ocd-match-cta--band .ocd-mcta-body { align-items: center; }
  .ocd-match-cta--band .ocd-mcta-teaser { max-width: 34ch; }
  .ocd-match-cta--band .ocd-ed-btn { width: 100%; }
  .ocd-match-cta--band .ocd-mcta-action { width: 100%; max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .ocd-match-cta .ocd-mcta-chip, .ocd-match-cta .ocd-mcta-reel .fr { opacity: 1 !important; animation: none !important; }
  .ocd-match-cta:hover .ocd-mcta-chip, .ocd-match-cta:hover .ocd-mcta-reel .fr { transform: none !important; opacity: 1 !important; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Print sheet: .ocd-print-list is hidden on screen; print mode shows only
   that list and the masthead. Browsers without :has() print normally.
   ───────────────────────────────────────────────────────────────────────── */
.ocd-print-list, .ocd-print-head { display: none; }

.ocd-printbar { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.ocd-print-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 4px 2px;
  font-size: 12px; font-weight: 600; color: #8aa697;
}
.ocd-print-btn:hover { color: #1F7537; }
.ocd-print-btn svg { flex-shrink: 0; }

@media print {
  @page { margin: 13mm 12mm 15mm; }

  header, footer, nav, aside, form, #ocd-ask-dock, #ocd-ask-fab,
  .ocd-printbar, .ocd-print-btn { display: none !important; }
  body { background: #fff !important; }
  main { margin: 0 !important; padding: 0 !important; }

  /* ── Referral mode: only the masthead + the print list survive ── */
  body:has(.ocd-print-list) > *:not(.ocd-print-head):not(main) { display: none !important; }
  body:has(.ocd-print-list) main *:not(:has(.ocd-print-list)):not(.ocd-print-list):not(.ocd-print-list *) { display: none !important; }
  body:has(.ocd-print-list) main :has(.ocd-print-list) {
    display: block !important; margin: 0 !important; padding: 0 !important;
    max-width: none !important; background: transparent !important;
    border: 0 !important; box-shadow: none !important;
  }

  body:has(.ocd-print-list) .ocd-print-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16pt; border-bottom: 2px solid #111; padding: 0 0 7pt; margin: 0;
  }
  .ocd-print-head .ocd-print-head__brand {
    font-family: var(--ocd-font-display, 'Lora', Georgia, serif);
    font-size: 14pt; font-weight: 600; color: #111;
  }
  .ocd-print-head .ocd-print-head__meta { font-size: 8.5pt; color: #555; text-align: right; }

  /* ── The sheet ── */
  .ocd-print-list { display: block !important; }
  .ocd-print-list__head h2 {
    font-family: var(--ocd-font-display, 'Lora', Georgia, serif);
    font-size: 15pt; font-weight: 600; color: #111 !important; margin: 10pt 0 2pt;
  }
  .ocd-print-list__head p { font-size: 8.5pt; color: #555; margin: 0 0 9pt; }
  .ocd-print-list__items {
    column-count: 2; column-gap: 24pt; column-rule: 1px solid #e3e3e3;
  }
  .ocd-print-item {
    break-inside: avoid; page-break-inside: avoid;
    padding: 6pt 0 7pt; border-bottom: 1px solid #ddd;
  }
  .ocd-print-item__name {
    font-family: var(--ocd-font-display, 'Lora', Georgia, serif);
    font-size: 10.5pt; font-weight: 600; color: #111 !important; margin: 0; line-height: 1.25;
  }
  .ocd-print-item__name .num { font-size: 8pt; font-weight: 400; color: #999; margin-right: 5pt; }
  .ocd-print-item__name .creds {
    font-family: inherit; font-size: 8pt; font-weight: 500; color: #555;
  }
  .ocd-print-item__name .ver {
    font-size: 6.5pt; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    color: #1F7537; margin-left: 6pt; vertical-align: 1pt;
  }
  .ocd-print-item p { line-height: 1.3; }
  .ocd-print-item__phone { font-size: 9.5pt; color: #111; margin: 2pt 0 0; font-variant-numeric: tabular-nums; }
  .ocd-print-item__addr  { font-size: 8.5pt; color: #333; margin: 1pt 0 0; }
  .ocd-print-item__spec  { font-size: 7pt; color: #666; letter-spacing: .05em; text-transform: uppercase; margin: 2.5pt 0 0; }
  .ocd-print-item__meta  { font-size: 8pt; color: #444; margin: 2pt 0 0; }
  .ocd-print-item__links { font-size: 7.5pt; color: #777; margin: 1.5pt 0 0; word-break: break-word; }
  .ocd-print-item__ins   { font-size: 7.5pt; color: #555; margin: 1.5pt 0 0; }
}

/* ── Shared page head (partials/_page-hero.tpl.php) ─────────────────────
   Sand ground, eyebrow, Lora title, lede, curve into the page background.
   Same tokens as the auth pages so every landing page reads as one site. */
.ocd-page-hero{ position:relative; background:#f7efdf; padding:28px 0 84px; isolation:isolate; color:#0e2a1b; }
.ocd-page-hero__wrap{ max-width:48rem; margin:0 auto; padding:0 1rem; }
.ocd-page-hero--wide .ocd-page-hero__wrap{ max-width:1180px; }
.ocd-page-hero--mid .ocd-page-hero__wrap{ max-width:960px; }
/* max-w-7xl (1280px) bodies: pSEO hub pages, so the head's left edge
   lines up with the provider grid underneath it. */
.ocd-page-hero--xwide .ocd-page-hero__wrap{ max-width:80rem; }
.ocd-page-hero__eyebrow{
  display:block; margin:14px 0 8px; font-size:12px; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase; color:#2f9e4f;
}
.ocd-page-hero__title{
  font-family:'Lora', Georgia, 'Times New Roman', serif; font-weight:500;
  font-size:34px; font-size:clamp(30px, 4.4vw, 44px); line-height:1.12; letter-spacing:-.015em;
  color:#0e2a1b; margin:0;
}
.ocd-page-hero__wrap > .ocd-page-hero__title:first-child{ margin-top:14px; }
.ocd-page-hero__title em{ font-style:italic; font-weight:500; color:#2f9e4f; }
.ocd-page-hero__lede{ margin:14px 0 0; max-width:58ch; font-size:17px; line-height:1.6; color:#5f7a6c; }
.ocd-page-hero__meta{ margin:12px 0 0; font-size:13px; color:#5f7a6c; }
.ocd-page-hero__meta strong{ color:#0e2a1b; font-weight:600; }
.ocd-page-hero__meta a{ color:#1c6b3c; font-weight:600; text-decoration:none; border-bottom:1px solid rgba(28,107,60,.3); }
.ocd-page-hero__meta a:hover{ border-bottom-color:#1c6b3c; }
.ocd-page-hero__actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.ocd-page-hero__btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 18px;
  border-radius:11px; font-size:14.5px; font-weight:600; text-decoration:none;
  background:#14532d; color:#fff; border:1.5px solid #14532d;
}
.ocd-page-hero__btn:hover{ background:#123c27; border-color:#123c27; color:#fff; }
.ocd-page-hero__btn--quiet{ background:rgba(255,255,255,.8); color:#14532d; border-color:#cfe6d8; }
.ocd-page-hero__btn--quiet:hover{ background:#fff; border-color:#43b063; color:#14532d; }
.ocd-page-hero__curve{ position:absolute; left:0; right:0; bottom:-1px; width:100%; height:56px; display:block; pointer-events:none; }
.ocd-page-hero__curve path{ fill:#F7FCF8; }
@media (min-width:640px){ .ocd-page-hero__wrap{ padding:0 1.5rem; } }
@media (min-width:1024px){ .ocd-page-hero{ padding:40px 0 96px; } .ocd-page-hero__wrap{ padding:0 2rem; } .ocd-page-hero__curve{ height:70px; } }

/* ── Flat page head, the search surfaces (.ocd-page-hero--flat) ─────────
   /providers and /search are app-like: a filter bar, a sort control and
   the first result all have to survive above the fold, so the sand band
   and the curve would cost more than they buy. This modifier keeps the
   page-head TYPE (green eyebrow, Lora title with one italic phrase in
   green, muted meta line) and drops the ground, the curve, the tall
   padding, and the centred column, so the head sits directly on the page
   background inside whatever column the host page already has.
   Used by partials/_results-head.tpl.php. */
.ocd-page-hero--flat{ background:transparent; padding:0; isolation:auto; }
.ocd-page-hero--flat .ocd-page-hero__wrap{ max-width:none; margin:0; padding:0; }
.ocd-page-hero--flat .ocd-page-hero__curve{ display:none; }
.ocd-page-hero--flat .ocd-page-hero__eyebrow{ margin:0 0 7px; }
.ocd-page-hero--flat .ocd-page-hero__title{ font-size:26px; font-size:clamp(24px, 2.4vw, 32px); }
.ocd-page-hero--flat .ocd-page-hero__wrap > .ocd-page-hero__title:first-child{ margin-top:0; }
.ocd-page-hero--flat .ocd-page-hero__meta{ margin-top:7px; }
@media (min-width:640px){ .ocd-page-hero--flat .ocd-page-hero__wrap{ padding:0; } }
@media (min-width:1024px){ .ocd-page-hero--flat{ padding:0; } .ocd-page-hero--flat .ocd-page-hero__wrap{ padding:0; } }

/* ── Page head extras: hub context inside the sand band ─────────────────
   Related terms, the sourced key-facts panel and the stat pills used to
   sit below the curve on the page ground, which left a dead gap between
   the head and the first result. They now render inside the band, above
   the curve, at a smaller step so the whole head reads as one block. */
.ocd-page-hero--tight{ padding-bottom:88px; }
@media (min-width:1024px){ .ocd-page-hero--tight{ padding:32px 0 104px; } }
.ocd-page-hero--tight .ocd-page-hero__lede{ margin-top:10px; font-size:16px; max-width:70ch; }
.ocd-page-hero--tight .ocd-page-hero__meta{ margin-top:8px; }
.ocd-page-hero__extras{ margin-top:16px; }
.ocd-page-hero__extras > :first-child{ margin-top:0 !important; }
.ocd-page-hero__extras > :last-child{ margin-bottom:0 !important; }

/* The key-facts copy sits straight on the sand: no card, no border, no
   icon indent, so it spans the full column and the head stays compact. */
.ocd-page-hero__extras #page-intro{
  margin:14px 0 0 !important; padding:0 !important;
  background:transparent !important; border:0 !important;
  border-radius:0 !important; box-shadow:none !important;
}
.ocd-page-hero__extras #page-intro > .flex > .hidden{ display:none !important; }
.ocd-page-hero__extras #page-intro .ocd-prose{
  font-size:13px !important; line-height:1.6 !important; color:#4a6357 !important;
  max-width:none !important;
}
.ocd-page-hero__extras #page-intro .ocd-prose p{ margin:0 0 8px; }
.ocd-page-hero__extras #page-intro .ocd-prose p:last-child{ margin-bottom:0; }
.ocd-page-hero__extras #page-intro > .flex{ gap:0; }

/* Fact tiles and the stat pills: one row, hairline, no drop shadows. */
.ocd-page-hero__extras #page-intro .grid > div,
.ocd-page-hero__extras .grid > div{
  background:rgba(255,255,255,.5) !important; border-color:rgba(207,230,216,.75) !important;
  box-shadow:none !important; border-radius:10px !important;
}
.ocd-page-hero__extras .grid{ margin-top:12px !important; margin-bottom:0 !important; gap:8px !important; }
.ocd-page-hero__extras .grid > div{ padding:7px 11px !important; }
.ocd-page-hero__extras .grid .text-lg{ font-size:14.5px !important; }
.ocd-page-hero__extras .grid svg{ width:15px !important; height:15px !important; }
.ocd-page-hero__extras .grid .text-sm{ font-size:12.5px !important; }
.ocd-page-hero__extras .grid .text-\[11px\]{ font-size:9.5px !important; letter-spacing:.05em; }

/* The "also matches related terms" notice and the Related pill row. */
.ocd-page-hero__extras .bg-surf-50\/60{
  background:rgba(255,255,255,.66) !important; border-color:#cfe6d8 !important;
  margin-top:0 !important; font-size:12px !important;
}
.ocd-page-hero__extras a[class*="rounded-full"]{ background:rgba(255,255,255,.8) !important; }

/* ── Sourced "key facts" cards ──────────────────────────────────────────
   Bigger, on the brand's sand rather than a grey wash, each carrying a
   line icon for its scope. Staggered reveal comes from the shared
   .ocd-card-reveal observer. */
.ocd-insight-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:640px){ .ocd-insight-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }

.ocd-insight-fact{
  display:flex; flex-direction:column; align-items:flex-start;
  padding:22px 24px; border-radius:16px;
  background:#FBF5E9; border:1px solid #EADFC6;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
@media (min-width:640px){ .ocd-insight-fact{ padding:26px 28px; } }
.ocd-insight-fact:hover{ background:#FDFAF3; border-color:#DECFAE; }

.ocd-insight-fact__scope{
  display:inline-flex; align-items:center; gap:7px; margin-bottom:14px;
  padding:5px 12px 5px 10px; border-radius:999px;
  background:rgba(255,255,255,.75); border:1px solid #E3D6BA;
  font-size:11px; font-weight:600; letter-spacing:.05em; text-transform:uppercase;
  color:#1c6b3c;
}
.ocd-insight-fact__scope svg{ width:14px; height:14px; flex:0 0 auto; }

.ocd-insight-fact__text{
  margin:0; font-size:16px; line-height:1.6; color:#3c4f45;
}
@media (min-width:640px){ .ocd-insight-fact__text{ font-size:16.5px; } }

.ocd-insight-fact__src{
  display:inline-flex; align-items:center; gap:6px; margin-top:16px;
  font-size:12.5px; font-weight:600; color:#1c6b3c; text-decoration:none;
  border-bottom:1px solid rgba(28,107,60,.28); padding-bottom:1px;
}
.ocd-insight-fact__src:hover{ border-bottom-color:#1c6b3c; }
.ocd-insight-fact__src svg{ width:13px; height:13px; flex:0 0 auto; }
.ocd-insight-fact__src--plain{
  color:#8a9a90; border-bottom:0; font-weight:500; cursor:default;
}

/* Stagger the grid so the cards arrive in sequence, not as one block. */
.js .ocd-insight-grid .ocd-card-reveal:nth-child(2){ transition-delay:.06s; }
.js .ocd-insight-grid .ocd-card-reveal:nth-child(3){ transition-delay:.12s; }
.js .ocd-insight-grid .ocd-card-reveal:nth-child(4){ transition-delay:.18s; }
.js .ocd-insight-grid .ocd-card-reveal:nth-child(5){ transition-delay:.24s; }
.js .ocd-insight-grid .ocd-card-reveal:nth-child(6){ transition-delay:.3s; }
@media (prefers-reduced-motion: reduce){
  .ocd-insight-grid .ocd-card-reveal{ transition-delay:0s !important; }
}

/* ── Phone: results-page chrome stays compact so the first card is above
   the fold. Applies to /providers and the hub pages (same partials). The
   filter chips, quick toggles and related terms each become one row that
   scrolls sideways, edge to edge; the info note spans the column. ── */
@media (max-width:1023px){
  .rh{ display:block; margin-bottom:10px; }
  .rh-note{ font-size:11.5px; padding:7px 10px; margin-top:10px; }
  .ocd-mob-filters{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
  .ocd-mob-filters > button{ padding:6px 14px; font-size:13px; }
  .ocd-mob-filters .rh-sort{ padding:5px 28px 5px 12px; }
  .ocd-mob-filters .rh-sort select{ font-size:13px; }
  .rh-related, .ocd-fpills, .rh-quick-row{
    position:relative; /* contains the sr-only checkboxes, else they widen the page */
    flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; margin-left:-16px; margin-right:-16px; padding:2px 16px;
    scroll-padding-left:16px; }
  .rh-related::-webkit-scrollbar, .ocd-fpills::-webkit-scrollbar, .rh-quick-row::-webkit-scrollbar{ display:none; }
  .rh-related > *, .ocd-fpills > *, .rh-quick-row > *{ flex:0 0 auto; white-space:nowrap; }
  .rh-related a, .ocd-fpills a, .rh-quick-row label{ font-size:11.5px; padding-top:5px; padding-bottom:5px; }
  .rh-related{ margin-top:10px; }
  .ocd-fpills{ margin-bottom:10px; }
  .rh-quick{ margin-bottom:10px; }
  .ocd-printbar{ display:none; }
  .rh-zone-sub{ display:none; }
  .ocd-ed-grid{ gap:14px; }
  .ocd-page-hero--flat .ocd-page-hero__meta{ margin-top:4px; font-size:13px; }
}

/* ── Hard bottom. No rubber-band past the footer: a fast swipe on a phone
   must stop at the footer's edge, not stretch the window. ── */
html, body{ overscroll-behavior-y:none; }

/* ── Maps never paint over the fixed header. Leaflet stacks its panes at
   z-index 400-1000 and the map box creates no stacking context of its
   own, so on a phone the tiles rode over the z-50 header while scrolling.
   Isolating the container keeps every Leaflet layer inside the map. ── */
.leaflet-container{ isolation:isolate; }

/* ── Ask shell (ask.tpl.php + page--ask.tpl.php): a chat app, the
   gemini.google.com structure. html and body are locked at the screen's
   height and never scroll; the body is a column of the fixed header's
   spacer, the conversation's own scroller and the composer as its last
   slot. On iOS the keyboard pans that screen-high page so the composer
   lands on the keyboard; when the pan comes up short, js/ask-shell.js hands
   the covered height to the body as bottom padding (--ask-kb). The cookie
   banner (fixed, bottom) is cleared the same way while it shows. ── */
html:has(> body.ocd-ask-body){ height:100%; overflow:hidden; background:#F7F8F7; }
body.ocd-ask-body{ height:100%; min-height:0; margin:0; overflow:hidden; display:flex; flex-direction:column;
  background:#F7F8F7; padding:0 0 var(--ask-kb, 0px); }
body.ocd-ask-body.ocd-cb-open{ padding-bottom:max(var(--ask-kb, 0px), var(--ocd-cb-h, 0px)); }
body.ocd-ask-body > main{ flex:1 1 auto; min-height:0; display:flex; flex-direction:column; overflow:hidden;
  padding:65px 0 0; margin:0; }
@media print{
  html:has(> body.ocd-ask-body), body.ocd-ask-body, body.ocd-ask-body > main, #ocd-ask, #ask-scroll{
    height:auto !important; overflow:visible !important; display:block !important; padding:0 !important; }
}

/* ── Owner edit pill (owner_edit_link() in core/helpers.php): shown only to
   the account that owns the page, in the hero beside or under the title. ── */
.own-edit{ display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 14px;
  border:1px solid #cfe6d8; border-radius:999px; background:#F0FBF3; color:#14532d;
  font-family:inherit; font-size:14px; font-weight:600; line-height:1; text-decoration:none;
  white-space:nowrap; vertical-align:middle; box-shadow:none; transition:background-color .15s ease, border-color .15s ease; }
.own-edit:hover{ background:#D6F0DD; border-color:#A8DEB5; color:#14532d; text-decoration:none; }
.own-edit:focus{ outline:none; }
.own-edit:focus-visible{ outline:2px solid #2D9650; outline-offset:2px; }
.own-edit svg{ flex:0 0 auto; }
/* Title + pill: end of the title row on wider screens, under the title on phones. */
.own-title-row > .own-edit{ margin-top:14px; }
.ocd-page-hero__wrap > .own-title-row:first-child{ margin-top:14px; }
@media (min-width:640px){
  .own-title-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
  .own-title-row > h1{ flex:1 1 auto; min-width:0; }
  .own-title-row > .own-edit{ flex:0 0 auto; margin-top:2px; }
}
/* Profile and practice heroes (provider-skin .pvx-name-row): after the status dot. */
.pvx-name-row > .own-edit{ flex:0 0 auto; margin-left:6px; }
@media (max-width:639px){
  .pvx-name-row:has(> .own-edit){ flex-wrap:wrap; row-gap:6px; }
  .pvx-name-row:has(> .own-edit) > .pvx-name{ max-width:calc(100% - 32px); }
  .pvx-name-row:has(> .own-edit)::after{ content:""; flex-basis:100%; height:0; order:2; }
  .pvx-name-row > .own-edit{ order:3; margin:0; }
}

/* /complementary-care (complementary-care.tpl.php). Chips and the location
   control are 44px tap targets; coming-soon chips are muted, not links. */
.cc-intro{ margin:14px 0 0; max-width:62ch; font-size:15px; line-height:1.6; color:#475569; }
.cc-intro a, .cc-empty a{ color:#1c6b3c; font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.cc-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 0; }
.cc-chip{ display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 16px; border-radius:999px;
  border:1px solid #cbd5e1; background:#fff; color:#334155; font-size:14px; font-weight:600; text-decoration:none; }
/* Phones: one swipeable row, so the results stay near the top. */
@media (max-width:639px){
  .cc-chips{ flex-wrap:nowrap; overflow-x:auto; margin:20px -1rem 0; padding:0 1rem 4px; scrollbar-width:none; }
  .cc-chips::-webkit-scrollbar{ display:none; }
  .cc-chip{ flex:none; }
}
.cc-chip:hover{ border-color:#43b063; color:#14532d; }
.cc-chip.is-on{ background:#14532d; border-color:#14532d; color:#fff; }
.cc-chip__n{ font-weight:500; opacity:.75; }
.cc-chip--soon, .cc-chip--soon:hover{ background:#f8fafc; border-style:dashed; border-color:#e2e8f0; color:#94a3b8; cursor:default; }
.cc-chip--soon.is-on{ background:#f1f5f9; color:#64748b; }
.cc-chip__soon{ font-size:11px; font-weight:500; text-transform:uppercase; letter-spacing:.04em; }
.cc-loc{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:16px 0 24px; }
.cc-loc label{ font-size:14px; font-weight:600; color:#334155; }
.cc-loc select{ min-height:44px; min-width:0; flex:1 1 200px; max-width:320px; padding:0 12px; border:1px solid #cbd5e1; border-radius:10px; background:#fff; font-size:16px; }
.cc-loc button{ min-height:44px; padding:0 18px; border-radius:10px; border:1.5px solid #14532d; background:#14532d; color:#fff; font-size:14px; font-weight:600; }
.cc-empty a{ display:inline-block; padding:12px 0; margin:-12px 0; }
.cc-empty{ padding:20px; border:1px solid #e2e8f0; border-radius:12px; background:#f8fafc; color:#334155; font-size:15px; }
.cc-fallback{ margin-top:36px; }
.cc-h2{ margin:0 0 16px; font-family:'Lora', Georgia, serif; font-size:22px; font-weight:500; color:#0e2a1b; }
.cc-note{ margin:32px 0 0; font-size:13px; color:#64748b; }
.rh-cc{ margin:6px 0 0; font-size:13px; color:#64748b; }
.rh-cc a{ display:inline-block; padding:12px 0; margin:-12px 0; color:#1c6b3c; font-weight:600; text-decoration:underline; text-underline-offset:2px; }

/* Analytics consent banner + "Your Privacy Choices" panel (js/ocd-consent.js).
   Fixed, so it never shifts layout; body gets bottom padding while it shows
   so the end of the page can scroll clear of it.
   One white surface on a hairline at every size. Phone: a sheet on the
   bottom edge. 640+: a centred card; 960+: the same card anchored
   bottom-left, clear of the centred hero and the Ask pill. Accept and
   Decline share one style at every size. */
.ocd-cb{ position:fixed; z-index:950; left:0; right:0; bottom:0;
  display:flex; flex-direction:column; gap:14px; padding:18px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top:1px solid rgba(0,0,0,.08); border-radius:18px 18px 0 0;
  background:#fff; color:#0D0D0D; box-shadow:0 -8px 24px -16px rgba(0,0,0,.18);
  font-family:'Inter', system-ui, sans-serif; font-size:14px; line-height:1.55; letter-spacing:-.005em; }
.ocd-cb-text{ margin:0; color:#3D3D3D; }
.ocd-cb-text a, .ocd-cp a{ color:#0D0D0D; font-weight:500; text-decoration:underline; text-decoration-color:rgba(0,0,0,.28);
  text-decoration-thickness:1px; text-underline-offset:3px; transition:text-decoration-color 150ms ease; }
@media (hover:hover){ .ocd-cb-text a:hover, .ocd-cp a:hover{ text-decoration-color:currentColor; } }
.ocd-cb-actions{ display:flex; gap:8px; }
.ocd-cb-btn{ flex:1 1 0; min-height:44px; padding:0 18px; border:1px solid rgba(0,0,0,.14); border-radius:999px; background:#fff;
  color:#0D0D0D; font:inherit; font-weight:500; letter-spacing:0; cursor:pointer; touch-action:manipulation;
  transition:background-color 150ms ease, border-color 150ms ease; }
@media (hover:hover){ .ocd-cb-btn:hover{ background:rgba(0,0,0,.04); border-color:rgba(0,0,0,.2); } }
.ocd-cb-btn:active{ background:rgba(0,0,0,.07); }
.ocd-cb-btn:focus-visible, .ocd-cp-close:focus-visible, .ocd-cb a:focus-visible, .ocd-cp a:focus-visible,
.ocd-choices-link:focus-visible{ outline:2px solid #0D0D0D; outline-offset:2px; }
.ocd-cb-btn:disabled{ opacity:.45; cursor:default; background:#fff; }
.ocd-cb-btn[aria-pressed="true"]:disabled{ opacity:1; background:#0D0D0D; border-color:#0D0D0D; color:#fff; }
@media (min-width:640px){
  .ocd-cb{ bottom:calc(24px + env(safe-area-inset-bottom, 0px)); width:min(440px, calc(100% - 48px)); margin:0 auto;
    gap:16px; padding:20px; border:1px solid rgba(0,0,0,.08); border-radius:18px;
    box-shadow:0 1px 2px rgba(0,0,0,.04), 0 12px 32px -12px rgba(0,0,0,.16); }
  .ocd-cb-btn{ min-height:40px; }
}
@media (min-width:640px) and (pointer:coarse){ .ocd-cb-btn{ min-height:44px; } }
@media (min-width:960px){
  .ocd-cb{ left:24px; right:auto; margin:0; width:360px; }
}
@media (prefers-reduced-motion:no-preference){
  .ocd-cb{ animation:ocd-cb-rise 360ms cubic-bezier(.2,.75,.25,1); }
}
@media (prefers-reduced-motion:no-preference) and (min-width:640px){
  .ocd-cb{ animation:ocd-cb-in 240ms cubic-bezier(.2,.75,.25,1); }
}
@keyframes ocd-cb-rise{ from{ transform:translateY(100%); } }
@keyframes ocd-cb-in{ from{ opacity:0; transform:translateY(8px); } }
.ocd-cp{ position:fixed; inset:0; z-index:9600; display:flex; align-items:flex-end; justify-content:center;
  background:rgba(0,0,0,.32); padding:12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.ocd-cp[hidden]{ display:none; }
.ocd-cp-card{ width:100%; max-width:460px; max-height:100%; overflow-y:auto; padding:20px 20px 18px; border-radius:20px;
  background:#fff; color:#3D3D3D; box-shadow:0 0 0 1px rgba(0,0,0,.06), 0 24px 48px -16px rgba(0,0,0,.24);
  font-family:'Inter', system-ui, sans-serif; font-size:14.5px; line-height:1.55; }
.ocd-cp-card p{ margin:0 0 12px; }
.ocd-cp-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.ocd-cp-head h2{ margin:0; font-family:'Lora', Georgia, serif; font-size:20px; font-weight:500; letter-spacing:-.01em; color:#0D0D0D; outline:none; }
.ocd-cp-close{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin:-8px -10px -8px 0;
  border:0; border-radius:999px; background:transparent; color:#5D5D5D; cursor:pointer; transition:background-color 150ms ease, color 150ms ease; }
@media (hover:hover){ .ocd-cp-close:hover{ background:rgba(0,0,0,.05); color:#0D0D0D; } }
.ocd-cp-status{ padding:10px 12px; border-radius:12px; background:#F7F7F7; border:1px solid rgba(0,0,0,.06); color:#0D0D0D; }
.ocd-cp-status:empty{ display:none; }
.ocd-cp-more{ margin:12px 0 0 !important; font-size:13.5px; }
.ocd-cp-more a{ display:inline-block; padding:12px 0; margin:-12px 0; }
@media (min-width:640px){ .ocd-cp{ align-items:center; } }
html.ocd-cp-lock body{ overflow:hidden; }
.ocd-choices-link{ display:inline-block; padding:14px 0; margin:-14px 0; }
/* While the banner shows, the floating buttons ride above it instead of under it. */
body.ocd-cb-open #ocd-ask-fab, body.ocd-cb-open #ocd-scroll-top,
body.ocd-cb-open #ocd-welcome-pip:not(.is-playing){ bottom:calc(var(--ocd-cb-h, 0px) + 22px + env(safe-area-inset-bottom, 0px)) !important; }
@media (min-width:640px){
  body.ocd-cb-open #ocd-ask-fab{ bottom:calc(var(--ocd-cb-h, 0px) + 34px + env(safe-area-inset-bottom, 0px)) !important; }
  body.ocd-cb-open #ocd-scroll-top{ bottom:calc(var(--ocd-cb-h, 0px) + 96px + env(safe-area-inset-bottom, 0px)) !important; }
  body.ocd-cb-open #ocd-welcome-pip:not(.is-playing){ bottom:22px !important; }
}
/* 960+: the card sits bottom-left, so the right-hand buttons stay put and
   only a bottom-left pip has to clear it. */
@media (min-width:960px){
  body.ocd-cb-open #ocd-ask-fab{ bottom:22px !important; }
  body.ocd-cb-open #ocd-scroll-top{ bottom:84px !important; }
  body.ocd-cb-open #ocd-welcome-pip:not(.is-playing){ bottom:calc(var(--ocd-cb-h, 0px) + 36px + env(safe-area-inset-bottom, 0px)) !important; }
}
