/* Alder: providers list + provider profile (real templates).
   Loaded from themes/alder/providers.tpl.php and
   themes/alder/entity--provider--full.tpl.php, after alder.css.
   Mobile first; the one breakpoint is 921px, same as alder.css.
   Page roots carry .al-scope so the Alder reset applies. */

/* ---------- Shared bits ---------- */

.al-tap { display: inline-block; padding-block: 12px; margin-block: -12px; }

.al-dot { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--al-brand); }
.al-dot--off { background: rgba(91, 110, 102, .45); }

.al-pro__ver { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: var(--al-moss); font-weight: 600; }
.al-pro__ver .al-ico { width: 15px; height: 15px; color: var(--al-brand); stroke-width: 2.4; }
.al-pro__muted { color: var(--al-muted); font-weight: 500; }

.al-tag {
  display: inline-flex; align-items: center; vertical-align: 3px;
  height: 24px; padding: 0 9px; margin-left: 4px;
  border: 1px solid rgba(28, 107, 60, .4); border-radius: 999px;
  font: 600 11.5px/1 var(--al-sans); letter-spacing: .02em; color: var(--al-moss);
  white-space: nowrap;
}

.al-chip--static { min-height: 32px; padding: 0 14px; }

/* Form fields, styled as pills. .al-scope prefix outranks forms.css. */
.al-field { display: grid; gap: 6px; }
.al-field__label { font: 500 13px/1.3 var(--al-sans); color: var(--al-muted); }
.al-scope .al-select,
.al-scope .al-select:focus {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 48px; padding: 0 44px 0 18px;
  border: 1px solid var(--al-line); border-radius: 999px; box-shadow: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A1B' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
  font: 400 16px/1.2 var(--al-sans); color: var(--al-ink);
  text-overflow: ellipsis;
  transition: border-color .18s;
}
.al-scope .al-input, .al-scope .al-input:focus { background-image: none; padding-right: 18px; }
.al-input::placeholder { color: var(--al-muted); opacity: 1; }
.al-scope .al-select:focus-visible { outline: 2px solid var(--al-brand); outline-offset: 2px; border-radius: 999px; }
@media (hover: hover) { .al-scope .al-select:hover { border-color: rgba(14, 42, 27, .45); } }
@media (min-width: 921px) { .al-scope .al-select { min-height: 44px; font-size: 15px; } }

/* ---------- Providers list ---------- */

/* Finder band: compact, so the first result sits high on the page */
.al-findband { padding-top: 18px; }
.al-findband__grid { display: grid; }
.al-finder--band {
  margin-top: 0; max-width: 760px;
  border: 1px solid var(--al-line);
  box-shadow: var(--al-raise);
}
.al-finder--band:focus-within { outline-color: var(--al-brand); }
.al-finder__loc { display: none; }
.al-findband__hint { margin-top: 10px; padding-left: 4px; font: 400 13px/1.5 var(--al-sans); color: var(--al-muted); }
.al-findband__hint strong { color: var(--al-ink); font-weight: 600; }
.al-findband__art { display: none; }

.al-chiprow {
  display: flex; gap: 8px; align-items: center;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 14px var(--al-edge) 16px;
}
.al-chiprow::-webkit-scrollbar { display: none; }
.al-chiprow > * { flex: none; white-space: nowrap; }
.al-chip--filters { gap: 8px; background: var(--al-pill); color: #fff; }
.al-chip--filters .al-ico { width: 17px; height: 17px; }
.al-chip__count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--al-sage); color: var(--al-ink);
  font: 700 11.5px/1 var(--al-sans);
}
@media (hover: hover) { .al-chip--filters:hover { background: var(--al-moss); } }
.al-chip__caret { width: 16px; height: 16px; margin: 0 -4px 0 4px; color: var(--al-muted); }
.al-chip[aria-pressed="true"] { background: var(--al-pill); border-color: var(--al-pill); color: #fff; }
.al-chip[aria-pressed="true"] .al-ico { width: 15px; height: 15px; margin-left: -4px; margin-right: 6px; }
@media (hover: hover) { .al-chip[aria-pressed="true"]:hover { background: var(--al-moss); border-color: var(--al-moss); } }

.al-seg { position: relative; display: inline-flex; border-radius: 999px; background: var(--al-sand); }
.al-seg__opt {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; font: 600 13px/1 var(--al-sans); color: var(--al-ink);
  transition: background-color .18s, color .18s;
}
.al-seg__opt[aria-current] { background: var(--al-pill); color: #fff; }
/* Sliding pill (alder.js adds it): the current option's own fill steps
   aside and the bubble slides to the tapped option before the page changes. */
.al-seg__bubble {
  position: absolute; top: 0; left: 0; height: 100%; z-index: 0;
  width: var(--al-seg-w, 0px); transform: translateX(var(--al-seg-x, 0px));
  border-radius: 999px; background: var(--al-pill);
}
.al-seg.has-bubble .al-seg__opt[aria-current] { background: transparent; }
.al-seg.is-live .al-seg__bubble { transition: transform .22s cubic-bezier(.3, .7, .2, 1), width .22s cubic-bezier(.3, .7, .2, 1); }
.al-seg.is-live .al-seg__opt { transition: color .18s; }
@media (prefers-reduced-motion: reduce) { .al-seg.is-live .al-seg__bubble { transition: none; } }
@media (hover: hover) { .al-seg__opt:not([aria-current]):hover { background: var(--al-sand-2); } }

@media (min-width: 921px) {
  .al-findband { padding-top: 26px; }
  .al-findband__grid { grid-template-columns: minmax(0, 1fr) 150px; column-gap: 48px; align-items: center; }
  .al-findband__art { display: block; width: 132px; justify-self: end; margin-block: -10px -24px; }
  .al-finder__loc {
    display: flex; align-items: center; flex: 0 0 34%; height: 100%;
    padding-left: 14px; border-left: 1px solid var(--al-line);
  }
  .al-chiprow { flex-wrap: wrap; overflow: visible; padding: 16px var(--al-edge) 20px; }
  .al-chip--filters { display: none; }
  .al-seg__opt { min-height: 36px; padding: 0 16px; }
}

/* Browse: sidebar + results */
.al-browse { padding-block: 22px var(--al-rhythm); }
@media (min-width: 921px) {
  .al-browse {
    display: grid; grid-template-columns: 256px minmax(0, 1fr); column-gap: 52px;
    align-items: start; padding-block: 32px var(--al-rhythm);
  }
}

/* Filters: bottom sheet on a phone, sticky sidebar on desktop */
.al-scrim { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 58; /* longhands: Safari 14.0 has no inset */ background: rgba(18, 60, 39, .42); }
.al-scrim[hidden] { display: none; }
/* Page frozen behind the open sheet (JS sets top to minus the scroll offset). */
body.al-sheet-lock { position: fixed; left: 0; right: 0; width: 100%; }
.al-filters {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-direction: column;
  max-height: 88vh;
  max-height: 88svh;
  background: var(--al-page); border-radius: var(--al-r) var(--al-r) 0 0;
  transform: translateY(102%); visibility: hidden;
  transition: transform .28s var(--al-ease), visibility 0s linear .28s;
}
.al-filters.is-open { transform: none; visibility: visible; transition: transform .28s var(--al-ease); }
.al-filters__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 10px 8px 20px;
}
.al-filters__h { font: 700 20px/1.2 var(--al-display); letter-spacing: -.015em; color: var(--al-ink); }
.al-filters__body {
  display: grid; gap: 16px; padding: 20px;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.al-filters__foot {
  display: flex; gap: 10px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--al-page);
}
.al-filters__foot .al-pill--primary { flex: 1; }

/* Therapy-for segment */
.al-for { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.al-for__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-height: 60px; padding: 8px 4px;
  border: 1px solid var(--al-line); border-radius: 14px; background: #fff;
  font: 600 12.5px/1 var(--al-sans); color: var(--al-ink);
  transition: background-color .18s, border-color .18s, color .18s;
}
.al-for__btn svg { width: 20px; height: 20px; }
.al-for__btn[aria-pressed="true"] { background: var(--al-pill); border-color: var(--al-pill); color: #fff; }
@media (hover: hover) { .al-for__btn[aria-pressed="false"]:hover { border-color: var(--al-ink); } }

/* Option checkboxes */
.al-checks { display: grid; gap: 2px; }
.al-check {
  display: flex; align-items: center; gap: 12px; min-height: 44px;
  font: 400 15px/1.3 var(--al-sans); color: var(--al-ink); cursor: pointer;
}
.al-check input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--al-ink); cursor: pointer; }

/* Find any filter (typeahead) */
.al-anyf { position: relative; }
.al-anyf__menu {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; z-index: 40;
  background: #fff; border: 1px solid var(--al-line); border-radius: 14px;
  box-shadow: 0 14px 32px -16px rgba(14, 42, 27, .45); overflow: hidden;
}
.al-anyf__menu[hidden] { display: none; }
.al-anyf .ocd-anyfilter-item {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px;
  padding: 8px 14px; border: 0; background: none;
  font: 400 14px/1.3 var(--al-sans); color: var(--al-ink); text-align: left; cursor: pointer;
}
.al-anyf .ocd-anyfilter-item:hover, .al-anyf .ocd-anyfilter-item:focus { background: var(--al-paper); outline: none; }
.al-anyf .af-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-anyf .af-group { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--al-sand); font: 600 11px/1.4 var(--al-sans); color: var(--al-moss); }
.al-anyf .af-count { flex: none; font: 400 12px/1 var(--al-sans); color: var(--al-muted); font-variant-numeric: tabular-nums; }
.al-anyf .ocd-anyfilter-empty { display: block; padding: 12px 14px; font: 400 13.5px/1.4 var(--al-sans); color: var(--al-body); }
.al-anyf .ocd-anyfilter-empty a { color: var(--al-ink); font-weight: 600; text-decoration: underline; }

@media (min-width: 921px) {
  .al-scrim { display: none !important; }
  .al-filters {
    position: sticky; top: calc(var(--al-hdr-h) + 20px); z-index: auto;
    max-height: calc(100vh - var(--al-hdr-h) - 40px);
    background: none; border-radius: 0;
    transform: none; visibility: visible; transition: none;
  }
  /* var() + svh would compute to none without svh; gate it. */
  @supports (height: 100svh) {
    .al-filters { max-height: calc(100svh - var(--al-hdr-h) - 40px); }
  }
  .al-filters__top { padding: 18px 0 4px; border: 0; }
  .al-filters__close { display: none; }
  .al-filters__body { gap: 14px; padding: 10px 2px 4px; scrollbar-width: thin; }
  .al-filters__foot { padding: 16px 2px 4px; border: 0; background: none; }
  .al-check { min-height: 36px; font-size: 14px; }
}

/* Results head: smaller than a landing title so rows start higher */
.al-reshead { padding-top: 8px; }
.al-reshead .al-label { margin-bottom: 6px; font-size: 16px; }
.al-reshead__h {
  font: 800 clamp(1.75rem, 3.2vw, 2.75rem)/1.04 var(--al-display);
  letter-spacing: -.03em; color: var(--al-ink); text-wrap: balance;
}
.al-reshead__h em { font-family: var(--al-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--al-moss); }
.al-reshead__count { margin-top: 10px; font: 400 15px/1.5 var(--al-sans); color: var(--al-muted); }
.al-reshead__count strong { font: 700 16px/1 var(--al-display); color: var(--al-ink); letter-spacing: -.01em; }
.al-reshead__count .rh-hit, .al-reshead__count .rh-hit strong { color: var(--al-ink); }
.al-reshead__note { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--al-body); max-width: 44em; }
.al-reshead__note a { color: var(--al-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--al-line); text-underline-offset: 3px; }
.al-reshead__note strong { color: var(--al-ink); font-weight: 600; }
.al-related { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.al-related__lbl { margin-right: 4px; font: 500 13px/1 var(--al-sans); color: var(--al-muted); }
.al-related .al-chip { min-height: 44px; }
@media (min-width: 921px) { .al-related .al-chip { min-height: 36px; } }
/* Applied filters (the base .ocd-fpills markup), each chip removes itself */
.al-results .ocd-fpills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.al-results .ocd-fpills > span { margin-right: 4px; font: 500 13px/1 var(--al-sans); color: var(--al-muted); text-transform: none; letter-spacing: 0; }
.al-results .ocd-fpills > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 16px; border: 1px solid var(--al-line); border-radius: 999px; background: #fff; font: 500 14px/1 var(--al-sans); color: var(--al-ink); transition: border-color .18s, background-color .18s; }
.al-results .ocd-fpills > a svg { width: 14px; height: 14px; opacity: .6; }
.al-results .ocd-fpills > a[title="Remove all filters"] { padding: 0 8px; border-color: transparent; background: none; color: var(--al-muted); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .al-results .ocd-fpills > a:hover { border-color: var(--al-ink); } .al-results .ocd-fpills > a[title="Remove all filters"]:hover { color: var(--al-ink); } }
@media (min-width: 921px) { .al-results .ocd-fpills > a { min-height: 36px; } }
.al-related .al-chip span { margin-left: 4px; color: var(--al-muted); }
/* base _filter-pills and _ohp-plan-picker sit under the head */
.al-results .ocd-pills, .al-results [class*="ocd-filter-pills"] { margin-top: 14px; }

.al-resbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px;
  margin-top: 22px; padding-bottom: 4px;
}
.al-resbar__h { font: 700 17px/1.3 var(--al-display); letter-spacing: -.01em; color: var(--al-ink); }
.al-resbar__note { flex-basis: 100%; margin: -2px 0 8px; font-size: 14px; line-height: 1.5; color: var(--al-muted); }
.al-resbar__print { display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/1 var(--al-sans); color: var(--al-muted); }
.al-resbar__print:hover { color: var(--al-ink); }
.al-ressec + .al-ressec { margin-top: 20px; }
.al-ressec:first-of-type .al-resbar { margin-top: 18px; }
.al-ohpsplit { padding: 18px 0 4px; }
.al-ohpsplit__h { font: 600 13px/1.3 var(--al-sans); color: var(--al-moss); }
.al-ohpsplit__note { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--al-muted); }

/* Result row: hairline-divided, never boxed. Bigger photo and name than the
   mock so each provider reads first. */
.al-res {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-areas: "photo head" "bio bio" "chips chips" "rail rail";
  column-gap: 16px; row-gap: 14px;
  padding: 28px 0;
}
.al-res__photo {
  grid-area: photo; position: relative; display: block;
  width: 112px; aspect-ratio: 4 / 5; border-radius: var(--al-r); overflow: hidden;
  background: var(--al-sand);
}
.al-res__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s var(--al-ease); }
.al-res__ini {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 700 30px/1 var(--al-display); letter-spacing: -.02em; color: var(--al-ink);
}
@media (hover: hover) { .al-res:hover .al-res__photo img { transform: scale(1.03); } }
.al-res__head { grid-area: head; align-self: center; min-width: 0; }
.al-res__name { font: 700 22px/1.15 var(--al-display); letter-spacing: -.02em; color: var(--al-ink); text-wrap: pretty; }
.al-res__name a { padding-block: 11px; transition: color .18s; }
.al-res__name a:hover { color: var(--al-moss); }
/* Dot separators that never lead a wrapped line: every item carries its dot in
   an 18px slot, and the slot hanging off the left edge of each line is clipped. */
.al-res__meta, .al-phero__lic { display: flex; flex-wrap: wrap; margin-left: -18px; clip-path: inset(0 0 0 18px); }
.al-res__meta > span::before, .al-phero__lic > span::before { content: "\00B7"; display: inline-block; width: 18px; text-align: center; color: rgba(91, 110, 102, .7); }
.al-res__meta { margin-top: 6px; font: 500 13.5px/1.5 var(--al-sans); color: var(--al-muted); }
.al-res__match { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.al-res__head .al-trust--row { margin-top: 6px; }
.al-res__x { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font: 500 12.5px/1.4 var(--al-sans); color: var(--al-ink); }
.al-res__x li { display: inline-flex; align-items: center; gap: 5px; }
.al-res__x .al-ico { width: 14px; height: 14px; color: var(--al-brand); }
.al-res__hit { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--al-ink); }
.al-res__hit .al-ico { width: 14px; height: 14px; color: var(--al-brand); }
.al-res .ocd-ed-match { font: 600 12.5px/1.2 var(--al-sans); color: var(--al-moss); background: none; padding: 0; }
.al-res .ocd-ed-scope { margin-top: 6px; font: 400 13px/1.4 var(--al-sans); color: var(--al-muted); }
.al-res .ocd-ed-pill {
  display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 0 10px;
  border: 1px solid var(--al-line); border-radius: 999px; background: var(--al-paper);
  font: 500 12px/1.2 var(--al-sans); color: var(--al-ink);
}
.al-res .ocd-ed-pill svg { width: 11px; height: 11px; color: var(--al-brand); display: inline-block; }
.al-res__bio {
  grid-area: bio;
  font: italic 400 16.5px/1.55 var(--al-serif); color: var(--al-body);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.al-res__bio a { color: inherit; }
.al-res__bio mark, .al-res__bio .hl { background: rgba(168, 213, 194, .45); color: inherit; border-radius: 3px; padding: 0 2px; }
.al-res__bio--shadow { font-size: 14px; color: var(--al-muted); }
.al-res__chips { grid-area: chips; }
/* Specialty chips: one row, never wraps (Eric, 10-15). Overflow scrolls
   sideways by touch, wheel, or a mouse drag (alder.js, .is-drag); the
   scrollbar is hidden, the row's end shows as the last chip. */
.al-res__chips {
  flex-wrap: nowrap; min-width: 0; overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(var(--al-gutter) * -1); padding-inline: var(--al-gutter); scroll-padding-inline: var(--al-gutter);
  cursor: grab;
}
.al-res__chips::-webkit-scrollbar { display: none; }
.al-res__chips > li { flex: none; }
.al-res__chips .al-chip { white-space: nowrap; }
.al-res__chips.is-drag { cursor: grabbing; }
.al-res__chips.is-drag .al-chip { pointer-events: none; }
.al-res__rail {
  grid-area: rail; display: grid; gap: 12px;
  padding-top: 8px;
}
.al-res__flags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 20px; font: 500 13px/1.2 var(--al-sans); color: var(--al-ink); }
.al-res__flags .al-pro__ver { margin-left: 10px; }
.al-res__flags > .al-pro__ver:first-child { margin-left: 0; }
.al-res__facts { display: grid; gap: 8px; }
.al-res__facts > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.al-res__facts dt { font: 500 12.5px/1.4 var(--al-sans); color: var(--al-muted); }
.al-res__facts dd { font: 400 14px/1.45 var(--al-sans); color: var(--al-ink); }
.al-res__facts strong { font: 700 15px/1 var(--al-display); letter-spacing: -.01em; }
.al-res .ocd-ed-net { color: var(--al-ink); }
.al-res a.ocd-ed-net:hover { color: var(--al-moss); text-decoration: underline; }
.al-res .ocd-ed-net.is-on { font-weight: 600; color: var(--al-moss); }
.al-res__more { color: var(--al-muted); white-space: nowrap; }
.al-res__more:hover { color: var(--al-ink); }
.al-res__cta { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.al-res__cta .al-pill:first-child { flex: 1; }
.al-res__cta .ocd-ed-heart {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--al-line); border-radius: 50%; background: transparent; color: var(--al-ink);
}
.al-res__cta .ocd-ed-heart svg { width: 18px; height: 18px; }
.al-res__cta .ocd-ed-heart.is-on { color: #B4475A; border-color: rgba(180, 71, 90, .4); }
.al-res__cta .ocd-ed-heart.is-on svg { fill: currentColor; }

@media (min-width: 921px) {
  .al-res {
    grid-template-columns: 136px minmax(0, 1fr) 236px;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "photo head rail" "photo bio rail" "photo chips rail";
    column-gap: 28px; row-gap: 10px;
    padding: 30px 0;
  }
  .al-res__photo { width: 136px; align-self: start; }
  .al-res__head { align-self: start; }
  .al-res__name { font-size: 26px; }
  .al-res__bio { font-size: 17.5px; margin-top: 2px; max-width: 40em; }
  .al-res__chips { align-self: start; margin-top: 6px; }
  .al-res__rail {
    display: flex; flex-direction: column; gap: 14px;
    padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--al-line);
  }
  .al-res__facts { gap: 12px; }
  .al-res__facts > div { grid-template-columns: 1fr; gap: 2px; }
  .al-res__facts dd { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .al-res__cta { margin-top: auto; padding-top: 6px; }
}

/* Cards the base theme renders inside the list (practices, billboards) */
.al-reslist > li.al-res-base { padding: 18px 0; }

/* One hairline between result rows (Eric, 2026-10-14): the single sanctioned
   exception to the no-rules law. Never above the first row or below the
   last, and never against the sand match-quiz panel, which separates itself. */
.al-reslist > li:not(.al-rescta) + li:not(.al-rescta) { border-top: 1px solid var(--al-sand-2); }
/* Ranked rows are display:contents (base overrides.css), so their own
   border never paints: the card inside carries the same hairline. */
.al-reslist > li:not(.al-rescta) + li.ocd-rank-cell > :first-child { border-top: 1px solid var(--al-sand-2); }

/* Card topic chips stay 32px to the eye but take a 44px tap on phones: the
   hit area grows 6px above and below, and chip rows part by 12px. */
@media (max-width: 920px) {
  .al-res .al-res__chips { row-gap: 12px; }
  .al-res a.al-chip--static { position: relative; }
  .al-res a.al-chip--static::after { content: ""; position: absolute; inset: -6px 0; }
}

/* Match pills on phones (Eric, 2026-10-14): a bio-slice pill shows the
   partial's three-word excerpt, and no pill is ever wider than the card.
   The excerpt clips with an ellipsis as a last resort; any other pill wraps
   inside itself rather than running off the screen. */
.al-snip__short { display: none; }
@media (max-width: 920px) {
  .al-res__match { min-width: 0; max-width: 100%; }
  .al-res__match .ocd-ed-pill { max-width: 100%; min-width: 0; }
  .al-snip__full { display: none; }
  .al-snip__short { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Filter row sticks under the header on phones (Eric, 2026-10-14: "snap the
   top filters so user can filter after scrolling"). Only the chip row: the
   search band scrolls away. Mint band, so chips never float over text;
   under the header (50), the Ask button (45) and the filter sheet (58/60),
   over the cards. html and body clip rather than hide overflow, so sticky
   holds. Anchors and focus land below the stuck row. */
@media (max-width: 920px) {
  .al-pg--list:not(.al-pg--hub) > .al-chiprow { position: sticky; top: var(--al-hdr-h); z-index: 30; }
  html:has(.al-pg--list:not(.al-pg--hub) > .al-chiprow) { scroll-padding-top: calc(var(--al-hdr-h) + 90px); }
}

/* Practice rows (Otis, 2026-10-14): the provider row, with the logo
   contained on white in the photo circle, initials on paper, and a
   two-line blurb. */
.al-res--practice .al-res__photo { background: var(--al-paper); }
.al-res--practice .al-res__photo--logo { background: #fff; }
.al-res--practice .al-res__photo--logo img { inset: 11%; width: 78%; height: 78%; object-fit: contain; object-position: center; }
/* A logo that failed to load became the wireframe building: fill the circle. */
.al-res--practice .al-res__photo--logo img[data-fell] { inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .al-res--practice:hover .al-res__photo--logo img { transform: none; } }
.al-res__bio--2 { -webkit-line-clamp: 2; line-clamp: 2; }

/* "+N more" always visible (Otis, 2026-10-14): on desktop the three-line
   clamp moves from the whole fact to the plan list inside it, and the link
   follows the list instead of being clipped with it. */
@media (min-width: 921px) {
  .al-res__facts dd { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
  .al-res__facts .al-res__plans { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
}

/* Match quiz row, in the list */
.al-rescta {
  display: grid; gap: 16px;
  margin: 24px 0; padding: 24px;
  border-radius: var(--al-r); background: var(--al-sand);
}
.al-rescta__art { width: 112px; }
.al-rescta__kicker { font: italic 400 15px/1.2 var(--al-serif); color: var(--al-muted); margin-bottom: 6px; }
.al-rescta__h { font: 700 24px/1.15 var(--al-display); letter-spacing: -.02em; color: var(--al-ink); }
.al-rescta__body p:last-child { margin-top: 8px; font-size: 15px; line-height: 1.55; max-width: 34em; }
.al-rescta__go { justify-self: start; }
@media (min-width: 921px) {
  .al-rescta { grid-template-columns: 132px minmax(0, 1fr) auto; column-gap: 32px; align-items: center; margin: 28px 0; padding: 26px 34px; }
  .al-rescta__art { width: 132px; }
  .al-rescta__go { align-self: end; }
}

/* Empty state */
.al-empty { margin-top: 22px; padding: 24px; border-radius: var(--al-r); background: var(--al-paper); }
.al-empty__h { font: 700 22px/1.2 var(--al-display); letter-spacing: -.015em; color: var(--al-ink); }
.al-empty p { margin-top: 8px; font-size: 15px; line-height: 1.6; max-width: 40em; }
.al-empty .al-actions { margin-top: 18px; }
.al-fallback { margin-top: 44px; }
.al-fallback__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.al-fallback__h { font: 700 22px/1.2 var(--al-display); letter-spacing: -.015em; color: var(--al-ink); }
.al-fallback__sub { margin-top: 4px; font-size: 15px; color: var(--al-muted); }
.al-fallback .al-more { margin-top: 0; }
.al-postgrid { display: grid; gap: 20px; }
@media (min-width: 640px) { .al-postgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Related backstop */
.al-backstop { margin-top: 44px; }
.al-backstop__kicker { font: italic 400 15px/1.2 var(--al-serif); color: var(--al-muted); }

/* Pagination: the homepage pager's .al-round arrows, page numbers as 44px
   hairline pills, the current page ink. The same recipe dresses the base
   pagers on fallback pages (alder-bridge.css, section 19). */
nav.al-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; row-gap: 8px; margin-top: 40px; }
.al-pager__n {
  display: inline-grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 8px;
  border: 1px solid var(--al-line); border-radius: 999px;
  font: 600 15px/1 var(--al-sans); font-variant-numeric: tabular-nums; color: var(--al-ink);
  transition: border-color .18s, background-color .18s;
}
.al-pager__n.is-on { background: var(--al-pill); border-color: var(--al-pill); color: #fff; }
@media (hover: hover) { a.al-pager__n:hover { border-color: var(--al-ink); background: rgba(14, 42, 27, .04); } }
nav.al-pager :is(a.al-pager__n, a.al-pager__step):focus-visible { outline: 2px solid var(--al-brand); outline-offset: 2px; border-radius: 999px; }
.al-pager__step[aria-hidden] { opacity: .35; pointer-events: none; }
.al-pager__gap { padding: 0 2px; font: 600 15px/1 var(--al-sans); color: var(--al-muted); }
.al-pager__lbl { display: none; }
/* Phones: the window narrows to one page each side and the "... last" jump drops */
@media (max-width: 429px) {
  .al-pager__n--wide,
  .al-pager__gap:has(+ .al-pager__n + .al-pager__step:last-child),
  .al-pager__gap + .al-pager__n:has(+ .al-pager__step:last-child) { display: none; }
}
@media (min-width: 430px) { nav.al-pager { gap: 8px; } .al-pager__n { padding: 0 14px; } }
/* 921+: Previous and Next carry their word */
@media (min-width: 921px) {
  .al-pager__step { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 18px 0 13px; border-radius: 999px; }
  .al-pager__step--next { padding: 0 13px 0 18px; }
  .al-pager__lbl { display: inline; font: 600 15px/1 var(--al-sans); }
}

.al-results__tail { margin-top: 56px; }

/* Navigation skeleton, painted over the results while the next page loads */
.srch-skel-ov { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 5; background: var(--al-page); }
.srch-skel { display: grid; gap: 0; padding-top: 8px; }
.sk-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 28px 0; }
.sk-av { width: 112px; aspect-ratio: 4 / 5; border-radius: var(--al-r); }
.sk-body { display: grid; gap: 10px; align-content: start; }
.sk-side { display: none; }
.sk-l { height: 12px; border-radius: 6px; }
.sk-l.w30 { width: 30%; height: 18px; } .sk-l.w50 { width: 50%; } .sk-l.w75 { width: 75%; } .sk-l.w90 { width: 90%; }
.sk-pill { height: 44px; border-radius: 999px; }
.sk-av, .sk-l, .sk-pill {
  background: linear-gradient(90deg, var(--al-sand) 0%, var(--al-paper) 50%, var(--al-sand) 100%);
  background-size: 200% 100%; animation: al-shimmer 1.2s linear infinite;
}
@keyframes al-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (min-width: 921px) {
  .sk-card { grid-template-columns: 136px minmax(0, 1fr) 236px; gap: 28px; }
  .sk-av { width: 136px; }
  .sk-side { display: grid; gap: 14px; align-content: end; }
}
@media (prefers-reduced-motion: reduce) { .sk-av, .sk-l, .sk-pill { animation: none; } }

/* ---------- Provider profile ---------- */

.al-phero { padding: 4px 0 40px; }
.al-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; }
.al-crumbs li { display: inline-flex; align-items: center; font: 500 13px/1 var(--al-sans); color: var(--al-muted); }
.al-crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.al-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.al-crumbs a:hover { color: var(--al-ink); }
.al-crumbs [aria-current] { color: var(--al-ink); }

.al-phero__grid { display: grid; gap: 24px; margin-top: 8px; }
.al-phero__photo {
  position: relative; width: 148px; aspect-ratio: 4 / 5;
  border-radius: var(--al-r); overflow: hidden; background: var(--al-sand);
}
.al-phero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.al-phero__ini { position: absolute; inset: 0; display: grid; place-items: center; font: 800 44px/1 var(--al-display); color: var(--al-ink); }
.al-phero__flags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font: 500 13px/1.3 var(--al-sans); color: var(--al-ink); }
.al-phero__flags > span, .al-phero__flags > a { display: inline-flex; align-items: center; gap: 6px; }
.al-phero__flags .al-pro__ver { margin-left: 0; }
.al-phero__flags a { min-height: 44px; margin-block: -12px; text-decoration: underline; text-decoration-color: var(--al-line); text-underline-offset: 3px; }
.al-phero__flags .ocd-badge, .al-phero__flags [class*="badge"] { font-size: 12px; }
.al-phero__name {
  margin-top: 14px;
  font: 800 clamp(2.4rem, 6vw, 5rem)/1 var(--al-display);
  letter-spacing: -.035em; color: var(--al-ink);
  overflow-wrap: anywhere;
}
.al-phero__name em { font-style: normal; }
.al-vdot {
  display: inline-block; width: .2em; height: .2em; min-width: 12px; min-height: 12px;
  margin-left: .16em; vertical-align: .08em;
  border-radius: 50%; background: var(--al-sage); border: 2px solid var(--al-brand);
}
.al-phero__status { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 500 14px/1.3 var(--al-sans); color: var(--al-ink); }
.al-phero__status.is-off { color: var(--al-muted); }
.al-phero__lic { margin-top: 12px; font: 500 13.5px/1.5 var(--al-sans); color: var(--al-muted); }
.al-phero__scope { margin-top: 10px; font-size: 14px; color: var(--al-muted); }
.al-phero__scope a { color: var(--al-ink); text-decoration: underline; text-underline-offset: 3px; }
.al-phero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 10px; font: 500 14px/1.3 var(--al-sans); color: var(--al-ink); }
.al-phero__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.al-phero__links svg { width: 17px; height: 17px; display: block; }
.al-phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.al-phero__actions .al-pill { flex: 1 1 auto; }
.al-phero__actions .owner-edit-link, .al-phero__owner { flex-basis: 100%; }
.al-phero__actions #ocd-heart-toggle { flex: none; }

@media (min-width: 921px) {
  .al-phero { padding: 8px 0 64px; }
  .al-phero__grid { grid-template-columns: 240px minmax(0, 1fr); column-gap: 56px; align-items: center; margin-top: 16px; }
  .al-phero__photo { width: 240px; }
  .al-phero__lic { margin-top: 14px; font-size: 14px; }
  .al-phero__actions { margin-top: 26px; }
  .al-phero__actions .al-pill { flex: none; }
}

/* Hero v2: credentials, trust strip, the three decision facts */
.al-phero__creds { margin-top: 10px; font: 600 16px/1.35 var(--al-sans); color: var(--al-ink); }
.al-phero__creds span { font-weight: 400; color: var(--al-muted); }
.al-phero__lic { margin-top: 6px; }
.al-phero__status { align-items: baseline; }
.al-phero__status .al-dot { transform: translateY(-1px); }
.al-phero__status small { display: block; margin-top: 2px; font: 400 12.5px/1.3 var(--al-sans); color: var(--al-muted); }
.al-phero__photo.has-play { overflow: visible; }
.al-phero__photo.has-play img { border-radius: 50%; }
.al-phero__play {
  position: absolute; right: -2px; bottom: 2px; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--al-pill); color: #fff; box-shadow: 0 0 0 4px var(--al-page), var(--al-raise);
  transition: background-color .18s, transform .2s var(--al-ease);
}
.al-phero__play svg { width: 20px; height: 20px; margin-left: 2px; }
@media (hover: hover) { .al-phero__play:hover { background: var(--al-moss); transform: scale(1.05); } }

.al-trust {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 16px;
  border: 1px solid var(--al-line); border-radius: var(--al-r); background: #fff; color: var(--al-ink);
}
.al-trust > .al-ico { width: 22px; height: 22px; margin-top: 1px; color: var(--al-brand); }
.al-trust p { display: grid; gap: 4px; min-width: 0; }
.al-trust strong { font: 700 15.5px/1.3 var(--al-display); letter-spacing: -.005em; }
.al-trust p > span { font: 400 13.5px/1.5 var(--al-sans); color: var(--al-body); overflow-wrap: anywhere; }
.al-trust p > span i { font-style: normal; color: var(--al-muted); }
/* Inline link, wraps cleanly; the vertical padding grows the tap area to
   about 44px without moving the lines around it. */
.al-trust a { padding-block: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; text-decoration: underline; text-decoration-color: rgba(14, 42, 27, .3); text-underline-offset: 3px; }
.al-trust__board { color: var(--al-ink); }
@media (hover: hover) { .al-trust a:hover { color: var(--al-moss); text-decoration-color: currentColor; } }
.al-trust--row { margin-top: 8px; padding: 0; gap: 6px; align-items: flex-start; border: 0; background: none; font: 500 12.5px/1.45 var(--al-sans); color: var(--al-moss); }
.al-trust--row .al-ico { width: 15px; height: 15px; margin-top: 1px; }

.al-hfacts { display: grid; margin-top: 20px; }
.al-hfacts > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; }
.al-hfacts dt { font: 500 13px/1.4 var(--al-sans); color: var(--al-muted); }
.al-hfacts dd { font: 400 15px/1.45 var(--al-sans); color: var(--al-ink); min-width: 0; overflow-wrap: anywhere; }
.al-hfacts dd strong { font: 700 18px/1.2 var(--al-display); letter-spacing: -.01em; }
.al-hfacts dd a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--al-line); text-underline-offset: 3px; }
.al-hfacts__flag { display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--al-sand); font: 600 12px/1.2 var(--al-sans); vertical-align: 2px; }
.al-phero__foot { margin-top: 4px; }
.al-phero__inq { flex: 1 1 100%; }
.al-heart.al-heart { min-height: 44px; }
.al-book__via { display: grid; justify-items: center; gap: 2px; }
.al-book__chk { color: var(--al-moss); }
@media (min-width: 921px) {
  .al-trust, .al-hfacts, .al-phero__foot { margin-left: 216px; }
  .al-trust { width: fit-content; margin-top: 28px; padding: 16px 22px; }
  .al-hfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .al-hfacts > div { grid-template-columns: none; gap: 6px; padding: 16px 0; border-bottom: 0; }
  .al-hfacts dd strong { font-size: 22px; }
  .al-phero__foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 32px; }
  .al-phero__inq { flex: none; }
  .al-phero__foot .al-phero__links { margin-top: 26px; }
}

/* Body: rail (At a glance) and the sections */
.al-pbody { padding-block: 28px var(--al-rhythm); }
.al-pgrid { display: grid; }
.al-rail { display: grid; gap: 16px; align-content: start; }
.al-glance2 { padding: 18px 20px 20px; background: #fff; }
.al-glance2 dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; }
.al-glance2 dl > div:first-child { padding-top: 0; }
.al-glance2 dt { font: 500 13px/1.45 var(--al-sans); color: var(--al-muted); }
.al-glance2 dd { font: 400 14.5px/1.5 var(--al-sans); color: var(--al-ink); min-width: 0; overflow-wrap: anywhere; }
.al-glance2 dd strong { font: 700 17px/1.3 var(--al-display); }
.al-rail__act { display: none; }
.al-rail__claim { padding: 18px 20px; }
.al-rail__claimt { font: 700 19px/1.25 var(--al-display); color: var(--al-ink); }
.al-rail__claim .al-fee__note { margin-top: 8px; }
.al-pmain { min-width: 0; }
.al-pmain > .al-psec { margin-top: 48px; }
.al-about { font-family: var(--al-serif); font-size: 18px; line-height: 1.72; max-width: 65ch; }
.al-tgroup { margin-top: 26px; }
.al-psec__h + .al-tgroup { margin-top: 0; }
.al-tgroup__h { margin-bottom: 12px; font: italic 400 18px/1.3 var(--al-serif); color: var(--al-ink); }
.al-tgroup .al-chip--static { min-height: 44px; }
.al-chips .al-ico { width: 15px; height: 15px; margin-right: 6px; color: var(--al-brand); }
.al-ins__ohp a { text-decoration: underline; text-underline-offset: 2px; }
.al-fee { padding: 16px 18px; border-radius: var(--al-r); background: var(--al-paper); }
.al-fee__n { font: 400 15px/1.3 var(--al-sans); color: var(--al-ink); }
.al-fee__n strong { font: 800 28px/1 var(--al-display); letter-spacing: -.02em; margin-right: 4px; }
.al-fee__flag { display: flex; align-items: center; margin-top: 10px; font: 600 14px/1.3 var(--al-sans); color: var(--al-ink); }
.al-fee__flag .al-ico { width: 16px; height: 16px; margin-right: 6px; color: var(--al-brand); }
.al-fee__note { margin-top: 10px; font: 400 13px/1.5 var(--al-sans); color: var(--al-muted); }
.al-where { display: grid; gap: 20px; }
.al-where__fmt { display: grid; gap: 8px; font: 500 15.5px/1.4 var(--al-sans); color: var(--al-ink); }
.al-where__fmt li { display: flex; align-items: center; gap: 8px; }
.al-where__fmt .al-ico { width: 16px; height: 16px; color: var(--al-brand); }
.al-where__addr { margin-top: 14px; font: 400 15px/1.55 var(--al-sans); font-style: normal; color: var(--al-body); }
.al-where__lang { margin-top: 12px; font-size: 15px; color: var(--al-ink); }
.al-where__lang span { color: var(--al-muted); }
.al-where__lang a { text-decoration: underline; text-decoration-color: var(--al-line); text-underline-offset: 3px; }
.al-map2 { aspect-ratio: 16 / 10; border-radius: var(--al-r); overflow: hidden; background: var(--al-sand); box-shadow: 0 0 0 1px var(--al-line); }
.al-cards { display: grid; gap: 10px; }
.al-pcard {
  display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px;
  border: 1px solid var(--al-line); border-radius: var(--al-r); background: #fff; color: var(--al-ink);
  transition: border-color .18s, box-shadow .2s;
}
.al-pcard .al-ava { width: 48px; height: 48px; }
.al-ava--logo { object-fit: contain; background: #fff; padding: 4px; }
.al-ava--soft { background: var(--al-paper); color: var(--al-moss); }
.al-ava--soft .al-ico { width: 22px; height: 22px; }
.al-pcard__t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.al-pcard__n { font: 700 16.5px/1.25 var(--al-display); letter-spacing: -.01em; }
.al-pcard__m { font: 400 13px/1.4 var(--al-sans); color: var(--al-muted); }
.al-pcard__s { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font: 500 12.5px/1.3 var(--al-sans); color: var(--al-muted); }
.al-pcard__s.is-open { color: var(--al-moss); }
.al-pcard > .al-ico { margin-left: auto; color: var(--al-muted); transition: transform .2s var(--al-ease), color .18s; }
@media (hover: hover) {
  .al-pcard:hover { border-color: var(--al-ink); }
  .al-pcard:hover > .al-ico { transform: translateX(3px); color: var(--al-moss); }
}
.al-contact { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.al-contact .al-pill, .al-contact .al-book { flex: 1 1 100%; }
.al-carry:empty { display: none; }
.al-carry > .al-psec { margin-top: 48px; }
.al-similar { padding-block: 8px var(--al-rhythm); }
.al-similar .al-psec__h { padding-top: 8px; }
.al-similar__list { display: grid; gap: 12px; }
.al-rcard {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px 14px; align-items: center; height: 100%;
  padding: 16px; border: 1px solid var(--al-line); border-radius: var(--al-r); background: #fff; color: var(--al-ink);
  transition: border-color .18s;
}
.al-rcard .al-ava { width: 64px; height: 64px; font-size: 18px; }
.al-rcard__t { display: grid; gap: 2px; min-width: 0; }
.al-rcard__n { font: 700 18px/1.2 var(--al-display); letter-spacing: -.015em; }
.al-rcard .al-pro__ver { margin: 2px 0 0; font-size: 12.5px; }
.al-rcard .al-pro__ver .al-ico { width: 14px; height: 14px; }
.al-rcard__b { grid-column: 1 / -1; margin-top: 6px; font: 400 15px/1.55 var(--al-serif); color: var(--al-body); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
@media (hover: hover) { .al-rcard:hover { border-color: var(--al-ink); } .al-rcard:hover .al-rcard__n { color: var(--al-moss); } }

@media (min-width: 640px) {
  .al-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-contact .al-pill, .al-contact .al-book { flex: none; }
  .al-contact .al-book { width: 208px; }
}
@media (min-width: 921px) {
  .al-pbody { padding-top: 56px; }
  .al-pbody.has-rail .al-pgrid { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 64px; align-items: start; }
  .al-rail {
    grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--al-hdr-h) + 72px);
    max-height: calc(100vh - var(--al-hdr-h) - 96px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(14, 42, 27, .2) transparent;
  }
  .al-pmain { grid-column: 1; grid-row: 1; }
  .al-pmain > .al-psec:first-child { margin-top: 0; }
  .al-rail__act { display: grid; gap: 10px; margin-top: 16px; padding-top: 8px; }
  .al-rail__act .al-book, .al-rail__act .al-pill { width: 100%; }
  /* The full Contact block sits in the rail on desktop (Eric, 10-15); the
     main-column copy and its jump link are phone-only. */
  .al-rail__contact { gap: 0; margin-top: 0; padding: 24px 20px 22px; }
  .al-rail__contact .al-psec__h { margin-top: 0; }
  #al-s-contact, .al-jump [data-al-snav-link="contact"] { display: none; }
  .al-glance2 { padding: 22px 24px 24px; }
  .al-where.has-map { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .al-similar__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .al-rcard { padding: 20px; }
}
@media (max-width: 920px) { .al-pmain > .al-psec:first-child { margin-top: 40px; } }

/* Kept rules: section heads, prose, callouts, video, page links, cards */
.al-psec { margin-top: 56px; }
.al-psec__h { font: 700 26px/1.15 var(--al-display); letter-spacing: -.02em; color: var(--al-ink); margin-bottom: 18px; }
.al-psec__sub { margin: -8px 0 16px; font-size: 15px; color: var(--al-muted); }
.al-tgroup .al-psec__sub { margin: -4px 0 12px; font-size: 14px; }
.al-prose { font-size: 17px; line-height: 1.7; color: var(--al-body); max-width: 65ch; overflow-wrap: break-word; }
.al-prose p + p, .al-prose p + ul, .al-prose ul + p { margin-top: 1em; }
.al-prose ul { list-style: disc; padding-left: 1.2em; }
.al-prose a { color: var(--al-ink); text-decoration: underline; text-underline-offset: 3px; }
.al-callout { margin-top: 24px; padding: 18px 20px; border-radius: var(--al-r); background: var(--al-paper); max-width: 65ch; }
.al-callout__h { font: 700 17px/1.3 var(--al-display); color: var(--al-ink); }
.al-callout p { margin-top: 6px; font-size: 15.5px; line-height: 1.6; }
.al-claimline { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--al-muted); }
.al-videobox > *:first-child { border-radius: var(--al-r); overflow: hidden; }
.al-videobox iframe, .al-videobox video { display: block; max-width: 100%; }
.al-videobox p { margin-top: 8px; font-size: 14px; color: var(--al-muted); }
.al-psec .al-more { margin-top: 12px; }
.al-videos { display: grid; gap: 24px; margin-top: 24px; }
.al-pages { display: grid; gap: 8px; }
.al-pagelink { display: flex; gap: 14px; align-items: center; min-height: 72px; padding: 12px 16px; border-radius: var(--al-r); background: var(--al-sand); }
.al-pagelink img { width: 64px; height: 64px; flex: none; border-radius: 12px; object-fit: cover; }
.al-pagelink__t { display: block; font: 700 17px/1.25 var(--al-display); color: var(--al-ink); }
.al-pagelink__s { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--al-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.al-pagelink:hover .al-pagelink__t { color: var(--al-moss); }
.al-card { padding: 4px 22px; border: 1px solid var(--al-line); border-radius: var(--al-r); background: var(--al-page); }
.al-card__h { margin-bottom: 12px; font: 500 13px/1.3 var(--al-sans); color: var(--al-muted); }
.al-card__go { width: 100%; min-height: 52px; margin-top: 18px; font-size: 16px; }
.al-card__privacy { display: flex; gap: 8px; margin-top: 12px; font: 400 13px/1.45 var(--al-sans); color: var(--al-muted); }
.al-card__privacy .al-ico { width: 16px; height: 16px; margin-top: 1px; color: var(--al-moss); }
@media (min-width: 921px) {
  .al-psec { margin-top: 72px; padding-top: 24px; }
  .al-psec__h { font-size: 30px; margin-bottom: 22px; }
  .al-prose { font-size: 18px; }
}

/* One floating object per phone screen: the welcome video bubble stays off
   the list and the profile (the phone bar or the results are the object). */
body:has(.al-pg--profile) #ocd-welcome-pip, body:has(.al-results) #ocd-welcome-pip { display: none !important; }
@media (max-width: 920px) {
  /* Profile: the phone bar is the one object (Ask lives in the header menu).
     List: the Ask button is the one object, so no back-to-top as well. */
  body:has(.al-pbar) #ocd-ask-fab, body:has(.al-pbar) #ocd-scroll-top, body:has(.al-pbar) .ocd-scroll-top,
  body:has(.al-results) #ocd-scroll-top, body:has(.al-results) .ocd-scroll-top { display: none !important; }
}

/* Base pvx tokens remapped to Alder, for the sections kept verbatim */
.pvx.al-pvx {
  --pvx-acc-mid: var(--al-brand); --pvx-acc-strong: var(--al-moss); --pvx-acc-soft: var(--al-paper); --pvx-acc-ink: var(--al-ink);
  --pvx-serif: var(--al-serif); --pvx-sans: var(--al-sans);
  --pvx-text: var(--al-ink); --pvx-text-muted: var(--al-muted); --pvx-text-subtle: var(--al-muted);
  --pvx-border: var(--al-line); --pvx-rad: var(--al-r);
  background: transparent;
}

/* Phone: sticky inquiry bar */
.al-pbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--al-gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 239, 230, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  transition: transform .25s var(--al-ease);
}
.al-pbar.is-hidden { transform: translateY(110%); }
.al-pbar__price { display: grid; min-width: 0; line-height: 1.15; }
.al-pbar__price strong { font: 800 18px/1.1 var(--al-display); color: var(--al-ink); letter-spacing: -.01em; }
.al-pbar__price span { font: 400 12px/1.3 var(--al-sans); color: var(--al-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-pbar .al-pill { flex: none; }
.al-pbar .al-pill:not([href]) .al-ico { display: none; } /* inquiry: text only at 208px; Book keeps its arrow */
.al-pg--profile.has-pbar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
.al-pg--profile.has-pbar:has(.al-pbar .al-book__via) { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
@media (min-width: 921px) {
  .al-pbar { display: none; }
  .al-pg--profile.has-pbar { padding-bottom: 0; }
}

/* ---------- Fixes: fieldset reset, print bar, active-filter pills ---------- */
.al-checks { border: 0; padding: 0; margin: 0; min-width: 0; }
.al-checks legend { padding: 0; }
.al-printbar { display: flex; justify-content: flex-end; margin-top: 6px; }
.al-results .ocd-fpills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 4px; }
.al-results .ocd-fpills > span { font: 600 12px/1 var(--al-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--al-muted); margin-right: 2px; }
.al-results .ocd-fpills > a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--al-line); background: var(--al-sand, var(--al-paper)); color: var(--al-ink); font: 500 13.5px/1 var(--al-sans); text-decoration: none; }
.al-results .ocd-fpills > a[title="Remove all filters"] { background: none; border-color: transparent; padding: 0 6px; color: var(--al-muted); font-weight: 600; }
@media (hover: hover) { .al-results .ocd-fpills > a:hover { border-color: var(--al-ink); } }
@media (pointer: coarse) { .al-results .ocd-fpills > a { min-height: 44px; } }

.al-phero__flags .al-tag { margin-left: 0; vertical-align: 0; }
.al-phero .al-callout { margin: 16px 0 0; }

/* ---------- Circle photos (rows, hero, body avatars, billboards) ---------- */
.al-res { grid-template-columns: 72px minmax(0, 1fr); }
.al-res__photo, .sk-av {
  width: 72px; aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--al-line);
}
.al-res__photo img, .al-phero__photo img { object-fit: cover; object-position: center 30%; }
.al-res__ini { font-size: 22px; }
@media (min-width: 921px) {
  .al-res { grid-template-columns: 96px minmax(0, 1fr) 236px; }
  .al-res__photo, .sk-av { width: 96px; }
  .al-res__ini { font-size: 28px; }
  .sk-card { grid-template-columns: 96px minmax(0, 1fr) 236px; }
}
.sk-card { grid-template-columns: 72px minmax(0, 1fr); }
.al-phero__photo { width: 144px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px var(--al-line); }
/* No aspect-ratio (Safari 14.0): a padding strut holds the circle under the
   absolutely positioned photo (see css/alder.css .al-phone). */
@supports not (aspect-ratio: 1) {
  .al-res__photo::before, .al-phero__photo::before { content: ""; display: block; padding-top: 100%; }
}
.al-phero__ini { font-size: 40px; }
@media (min-width: 921px) {
  .al-phero__grid { grid-template-columns: 160px minmax(0, 1fr); }
  .al-phero__photo { width: 160px; }
}
.al-ava {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  object-fit: cover; object-position: center 30%;
  box-shadow: 0 0 0 1px var(--al-line);
}
.al-ava--ini { display: flex; align-items: center; justify-content: center; color: #fff; font: 700 14px/1 var(--al-sans); }
.al-results .ocd-provider-billboard .ocd-billboard-stack-front,
.al-results .ocd-provider-billboard .ocd-billboard-stack-back { border-radius: 50% !important; }
.al-results .ocd-provider-billboard .ocd-billboard-stack-front { box-shadow: 0 0 0 1px var(--al-line) !important; }
/* Featured billboards come from the base templates with inline styles: flat sand panel,
   one raise shadow, plain photo, no halo, no gradient, no hover lift. */
.al-results .ocd-provider-billboard, .al-results .ocd-clinic-billboard,
.al-results .ocd-provider-billboard:hover, .al-results .ocd-clinic-billboard:hover {
  background: var(--al-sand) !important; border: 0 !important; border-radius: var(--al-r) !important;
  box-shadow: var(--al-raise) !important; transform: none !important;
}
.al-results .ocd-provider-billboard > div[aria-hidden="true"][style*="blur"],
.al-results .ocd-clinic-billboard > div[aria-hidden="true"][style*="blur"],
.al-results .ocd-provider-billboard .ocd-billboard-stack-back,
.al-results .ocd-clinic-billboard .ocd-billboard-stack-back { display: none !important; }
.al-results .ocd-provider-billboard .ocd-billboard-stack-front, .al-results .ocd-clinic-billboard .ocd-billboard-stack-front,
.al-results .ocd-provider-billboard:hover .ocd-billboard-stack-front, .al-results .ocd-clinic-billboard:hover .ocd-billboard-stack-front {
  box-shadow: 0 0 0 1px var(--al-line) !important; transform: none !important;
}
.al-results .ocd-clinic-billboard .ocd-billboard-stack-front { border-radius: var(--al-r) !important; }
.al-results .ocd-billboard-cta, .al-results .ocd-provider-billboard:hover .ocd-billboard-cta, .al-results .ocd-clinic-billboard:hover .ocd-billboard-cta {
  background: var(--al-pill) !important; box-shadow: none !important; transform: none !important;
}
.al-results .ocd-provider-billboard .ocd-billboard-stack-front img { object-position: center 30%; }

/* ---------- One Book button: "Book" + arrow, platform in small text under it ---------- */
.al-book { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.al-book__btn { width: 100%; }
.al-book__btn .al-ico { width: 17px; height: 17px; }
.al-book__via { font: 400 11.5px/1.2 var(--al-sans); color: var(--al-muted); text-align: center; white-space: nowrap; }
/* Rows: the button fills the rail, so every row's button is the same width. */
.al-res__cta { display: block; }
.al-res__cta .al-book { display: flex; width: 100%; }
.al-res__cta > .al-book__btn { display: flex; }
/* Website and save icons: their own row under the flags, left-aligned with
   them (Eric, 10-15: not pushed to the right edge). */
.al-res__tools { display: inline-flex; align-items: center; gap: 6px; width: 100%; }
.al-res__tools .ocd-ed-heart {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--al-line); border-radius: 50%; background: transparent; color: var(--al-ink);
}
.al-res__tools .ocd-ed-heart svg { width: 18px; height: 18px; }
.al-res__tools .ocd-ed-heart.is-on { color: #B4475A; border-color: rgba(180, 71, 90, .4); }
.al-res__tools .ocd-ed-heart.is-on svg { fill: currentColor; }
@media (min-width: 921px) and (pointer: fine) {
  .al-res__tools .al-round, .al-res__tools .ocd-ed-heart { width: 36px; height: 36px; }
}
/* Practice cards rendered by the base theme inside the list */
.al-book--base { flex: 1; display: flex; }
@media (min-width: 921px) { .al-book--base { flex: none; width: 208px; margin-left: auto; } } /* same width as the provider-row Book, right-aligned like their rail */
/* Profile hero and phone bar: one fixed width for Book and the inquiry fallback */
.al-phero__actions { align-items: flex-start; }
.al-book--hero { flex: 1 1 100%; }
@media (min-width: 921px) { .al-book--hero { flex: none; width: 232px; } }
.al-pbar .al-book--bar { flex: none; width: 208px; }
.al-pbar .al-book--bar .al-book__via { font-size: 11px; }

/* ---------- Filter sidebar: wider, padded, quiet surface ---------- */
.al-filters__body { gap: 20px; }
.al-filters .al-field { gap: 8px; }
.al-filters .al-field__label { font: 500 13px/1.3 var(--al-sans); color: var(--al-muted); }
.al-scope .al-filters .al-select,
.al-scope .al-filters .al-select:focus {
  min-height: 44px; padding: 0 38px 0 16px;
  background-position: right 14px center; background-size: 16px;
}
.al-scope .al-filters .al-input, .al-scope .al-filters .al-input:focus { padding-right: 16px; }
.al-for { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.al-for__btn { min-width: 0; padding: 8px 2px; white-space: nowrap; }
@media (min-width: 921px) {
  .al-browse { grid-template-columns: clamp(272px, 13.6vw + 147px, 320px) minmax(0, 1fr); column-gap: 44px; }
  .al-filters {
    border: 1px solid var(--al-line); border-radius: var(--al-r);
    background: #fff; overflow: hidden;
  }
  .al-filters__top { padding: 20px 22px 6px; }
  .al-filters__body {
    gap: 20px; padding: 12px 22px 8px;
    scrollbar-width: thin; scrollbar-color: transparent transparent;
  }
  .al-filters:hover .al-filters__body, .al-filters__body:focus-within { scrollbar-color: rgba(14, 42, 27, .22) transparent; }
  .al-filters__body::-webkit-scrollbar { width: 6px; }
  .al-filters__body::-webkit-scrollbar-thumb { background: transparent; border-radius: 3px; }
  .al-filters:hover .al-filters__body::-webkit-scrollbar-thumb { background: rgba(14, 42, 27, .22); }
  .al-filters__foot { padding: 12px 22px 20px; background: #fff; }
}
