/* /find-your-plan — Verde tokens from site.css */
.plans .pl-hero { padding: 120px 0 48px; background: var(--marble-light), var(--bg); }
.plans .pl-hero .lede { max-width: 640px; }
.pf { margin-top: 28px; display: grid; gap: 18px; max-width: 760px; }
.pf fieldset { border: 0; margin: 0; padding: 0; }
.pf legend { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); font-weight: 600; margin-bottom: 10px; padding: 0; }
.pf-hint { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted-fg); margin-inline-start: 6px; }
.pf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip { position: relative; cursor: pointer; }
.pf-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pf-chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); background: var(--card); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg); transition: background .15s, border-color .15s, color .15s; }
.pf-chip input:checked + span { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.pf-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pf-pillar { font-family: "Didot", "Bodoni 72", Georgia, serif; font-style: italic; font-weight: 400; font-size: 17px; color: var(--gold); }
.pf-chip input:checked + span .pf-pillar { color: var(--gold-soft); color: #e2c98f; }
.pf .btn { justify-self: start; }

.pl-plan { padding: 56px 0 24px; }
.pl-plan:has(.pl-empty) { padding: 32px 0 0; }
.pl-for { font-size: clamp(26px, 4vw, 36px); margin: 6px 0 24px; }
.pl-empty { color: var(--muted-fg); }

.pc-grid { display: grid; gap: 16px; max-width: 900px; }
.pc { background: var(--card); border: 1px solid var(--border); padding: 22px 22px 18px; box-shadow: var(--shadow); }
.pc-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.pc h3 { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0 0 6px; color: var(--green-deep); }
.pc-sum { margin: 0; color: var(--muted-fg); font-size: 14px; }
.pc-match { flex: none; text-align: end; min-width: 110px; }
.pc-match b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--green); margin-top: 6px; }
.fit-dots { display: inline-flex; gap: 4px; }
.fit-dots i { width: 22px; height: 4px; background: var(--green-soft); }
.fit-1 .fit-dots i:nth-child(-n+1), .fit-2 .fit-dots i:nth-child(-n+2), .fit-3 .fit-dots i { background: var(--gold); }
.fit-1 b { color: var(--muted-fg); }
.pc-why { font-size: 14px; margin: 14px 0 10px; }
.pc-facts { margin: 0; display: grid; gap: 6px; font-size: 14px; }
.pc-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.pc-facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-fg); padding-top: 2px; }
.pc-facts dd { margin: 0; }
.pc-actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.pc-actions .btn { min-height: 40px; padding: 0 16px; font-size: 13px; }
.pc-save { min-height: 40px; border: 0; background: none; color: var(--green); font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; padding: 0 8px; }
.pc-save[aria-pressed="true"] { color: var(--gold); }
.pc-save:focus-visible, .pc-toggle:focus-visible, .pv-more:focus-visible, .pf-pill:focus-visible, .br-seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.pv-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--border); }
.pv { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.pv-ega { background: linear-gradient(90deg, var(--green-soft), transparent 75%); padding-inline: 10px; margin-inline: -10px; }
.pv .badge { display: inline-block; background: var(--green-deep); color: #fff; font-size: 10px; letter-spacing: .12em; padding: 3px 7px; font-weight: 600; vertical-align: 1px; }
.pv-inc { margin: 3px 0 0; color: var(--muted-fg); font-size: 13px; }
.pv-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--muted-fg); }
.pv-meta a { color: var(--green); }
.tag { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 500; }
.tag-home { border-color: var(--gold-soft); color: #8a6a2e; }
.tag-online { border-color: var(--green-soft); color: var(--green); }
.tag-offer { border-color: hsl(10 60% 75%); color: hsl(10 55% 40%); }
.pos { font-size: 11px; }
.pos-lo { color: var(--green); }
.pos-hi { color: hsl(25 55% 38%); }
.pr { text-align: end; white-space: nowrap; }
.pr b { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 20px; color: var(--green-deep); }
.pr small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-fg); }
.pr small.was { text-transform: none; letter-spacing: 0; text-decoration: line-through; }
.pr-word { white-space: normal; max-width: 180px; font-size: 12px; color: var(--muted-fg); }
.pv-more { margin-top: 10px; min-height: 40px; border: 1px solid var(--green); background: none; color: var(--green); font: 600 13px/1 inherit; font-family: inherit; padding: 0 16px; cursor: pointer; }

.pl-short { padding: 8px 0 32px; }
.pl-short h2 { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 26px; color: var(--green-deep); margin: 0 0 10px; }
.pl-short h2 span { color: var(--muted-fg); font-size: 18px; }
.sl { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--border); }
.sl li { display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sl li a { color: var(--fg); font-weight: 600; text-decoration: none; }
.sl li button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; color: var(--muted-fg); cursor: pointer; }
.sl-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sl-clear { border: 0; background: none; color: var(--muted-fg); text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; min-height: 44px; }

.pl-browse { padding: 64px 0 48px; border-top: 1px solid var(--hairline); }
.br-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; }
.br-q, .br-sort { height: 44px; border: 1px solid var(--border); background: var(--card); padding: 0 14px; font: 15px/1 inherit; font-family: inherit; color: var(--fg); }
.br-q { flex: 1 1 260px; min-width: 0; }
.br-seg { display: flex; border: 1px solid var(--border); background: var(--card); }
.br-seg button { border: 0; background: none; font: 500 13px/1 inherit; font-family: inherit; padding: 0 14px; min-height: 42px; color: var(--muted-fg); cursor: pointer; }
.br-seg button[aria-pressed="true"] { background: var(--green-soft); color: var(--green-deep); }
.br-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.br-cats::-webkit-scrollbar { display: none; }
.pf-pill { flex: none; min-height: 40px; border: 1px solid var(--border); background: var(--card); color: var(--fg); font: 500 13px/1 inherit; font-family: inherit; padding: 0 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.pf-pill[aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.br-sum { font-size: 13px; color: var(--muted-fg); margin: 14px 0; }
.br-other { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 22px; color: var(--green-deep); margin: 36px 0 0; }

.pl-notes { padding: 40px 0 72px; }
.pl-notes h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 10px; }
.pl-notes ul { margin: 0; padding-inline-start: 18px; color: var(--muted-fg); font-size: 13px; max-width: 760px; }
.pl-notes li { margin-bottom: 6px; }

@media (max-width: 640px) {
  .plans .pl-hero { padding: 96px 0 36px; }
  .pc { padding: 18px 16px 14px; }
  .pc h3 { font-size: 21px; }
  .pc-facts div { grid-template-columns: 1fr; gap: 2px; }
  .br-seg { width: 100%; }
  .br-seg button { flex: 1; padding: 0 6px; }
  .br-sort { width: 100%; }
  .pr b { font-size: 18px; }
  /* room for the floating Ask EGA button */
  .pl-notes { padding-bottom: 110px; }
}
:root:is(:lang(zh), :lang(ja), :lang(ko), :lang(ar)) :is(.pc h3, .pr b, .pl-short h2, .br-other, .pf-pillar) { font-family: "Didot", "Bodoni 72", Georgia, var(--intl), serif; }
.pc a, .pv a, .sl a { color: var(--green); text-underline-offset: 3px; }
.pc a:hover, .pv a:hover { color: var(--green-deep); }
.pf-pill[data-dim] { opacity: .55; }
.br-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; padding: 16px 18px; border: 1px dashed var(--gold-soft); background: var(--card); }
.br-ask p { margin: 0; flex: 1 1 260px; font-size: 14px; color: var(--muted-fg); }
.br-ask .btn { min-height: 40px; padding: 0 16px; font-size: 13px; }

/* budget plan */
.pf-amount { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); background: var(--card); border-radius: 999px; }
.pf-amount input { width: 84px; border: 0; background: none; font: 14px/1 inherit; font-family: inherit; color: var(--fg); }
.pf-amount input:focus { outline: none; }
.pf-amount:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.pf-note { display: grid; gap: 10px; }
.pf-legend { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); font-weight: 600; }
.pf-note input { height: 46px; border: 1px solid var(--border); background: var(--card); padding: 0 14px; font: 15px/1 inherit; font-family: inherit; color: var(--fg); max-width: 640px; }
.bp { background: var(--green-deep); color: #e8efe9; padding: 24px 24px 20px; margin: 0 0 24px; max-width: 900px; }
.bp h3 { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 26px; margin: 0; color: #fff; }
.bp-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.bp-total { text-align: end; }
.bp-total span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #b9c8bd; }
.bp-total b { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 32px; color: #e2c98f; }
.bp-total small { display: block; font-size: 12px; color: #b9c8bd; }
.bp-pref { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 14px 0 6px; font-size: 12px; color: #b9c8bd; }
.bp-pref button { min-height: 34px; padding: 0 12px; border: 1px solid hsl(150 20% 35%); background: none; color: #e8efe9; border-radius: 999px; font: 500 12px/1 inherit; font-family: inherit; cursor: pointer; }
.bp-pref button[aria-pressed="true"] { background: #e8efe9; color: var(--green-deep); }
.bp-list { list-style: none; margin: 10px 0 0; padding: 0; }
.bp-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid hsl(150 20% 28%); }
.bp-n { font-family: "Didot", "Bodoni 72", Georgia, serif; color: #e2c98f; font-size: 16px; }
.bp-main a { color: #fff; text-decoration: none; }
.bp-main small { display: block; margin-top: 3px; font-size: 12px; color: #b9c8bd; }
.bp-main small a { color: #cfe3d6; text-decoration: underline; text-underline-offset: 3px; }
.bp .badge { display: inline-block; background: #e2c98f; color: var(--green-deep); font-size: 10px; letter-spacing: .12em; padding: 2px 6px; font-weight: 600; }
.bp-price { font-family: "Didot", "Bodoni 72", Georgia, serif; font-size: 20px; color: #fff; white-space: nowrap; }
.bp-next { margin: 12px 0 0; font-size: 13px; color: #e2c98f; }
.bp-note { margin: 8px 0 0; font-size: 12px; color: #b9c8bd; }
.bp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.bp-actions .btn { background: #e2c98f; color: var(--green-deep); border-color: #e2c98f; }
.bp-actions .pc-save { color: #e8efe9; }
.bp .pl-empty { color: #b9c8bd; margin-top: 8px; }
@media (max-width: 640px) { .bp { padding: 20px 16px 16px; margin-inline: -4px; } .bp-total { text-align: start; } .bp-list li { grid-template-columns: 26px 1fr auto; gap: 8px; } .bp-price { font-size: 17px; } }
:root:is(:lang(zh), :lang(ja), :lang(ko), :lang(ar)) :is(.bp h3, .bp-total b, .bp-price) { font-family: "Didot", "Bodoni 72", Georgia, var(--intl), serif; }

.pl-ctas { margin-top: 28px; }
.pf-manual { margin-top: 28px; max-width: 900px; }
.pf-manual > summary { cursor: pointer; font-size: 14px; color: var(--green); font-weight: 600; list-style: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.pf-manual > summary::-webkit-details-marker { display: none; }
.pf-manual > summary::after { content: "+"; font-weight: 400; font-size: 18px; color: var(--gold); }
.pf-manual[open] > summary::after { content: "–"; }
.pf-manual .pf { margin-top: 12px; }
.pl-change { margin: -14px 0 20px; }
.pl-change-btn { border: 0; background: none; padding: 0; min-height: 36px; color: var(--green); font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Headline at homepage-hero size */
.pl-hero h1.display { font-size: clamp(38px, 6.2vw, 72px); max-width: 18ch; margin: 10px 0 26px; color: var(--green-deep); }
.pl-hero h1.display em { font-style: italic; color: var(--green); }
@media (max-width: 640px) { .pl-hero h1.display { font-size: clamp(31px, 9.4vw, 40px); } }

/* price chart + map inside "Compare prices" */
.pv-viz { display: grid; gap: 16px; margin: 16px 0 4px; }
@media (min-width: 900px) { .pv-viz:has(.pv-mapbox) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.pv-chart { margin: 0; }
.pv-chart figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted-fg); margin-bottom: 8px; }
.pv-chart figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.lg-ega { background: #1c6b47; }
.lg-other { background: #7f8f85; }
.lg-mid { width: 14px; height: 0; border-top: 2px dashed var(--gold); border-radius: 0; }
.cb-wrap { position: relative; }
.pv-chart svg { display: block; width: 100%; height: 150px; overflow: visible; }
.cb-hit { fill: transparent; }
.cb-bar { fill: #7f8f85; transition: fill .12s; }
.cb-ega .cb-bar { fill: #1c6b47; }
.cb { cursor: pointer; outline: none; }
.cb:hover .cb-bar, .cb:focus-visible .cb-bar, .cb.is-hot .cb-bar { fill: var(--gold); }
.cb-ega:hover .cb-bar { fill: #12362a; }
.cb-tag { font: 600 10px/1 "Montserrat", "Avenir Next", system-ui, sans-serif; letter-spacing: .1em; fill: #1c6b47; }
.cb-mid { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.cb-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); background: var(--green-deep); color: #fff; font-size: 12px; line-height: 1.35; padding: 6px 9px; max-width: 240px; pointer-events: none; z-index: 3; box-shadow: var(--shadow); }
.cb-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-fg); margin-top: 4px; }
.pv-mapbox { display: grid; gap: 6px; }
.pv-map { height: 240px; border: 1px solid var(--border); background: var(--green-soft); z-index: 0; }
@media (min-width: 900px) { .pv-map { height: 210px; } }
/* Map in the EGA palette, CSS only (same OSM tiles, no extra requests): tiles
   washed to a warm parchment tone, a light vignette, brand controls. */
.pv-map .leaflet-tile-pane { filter: grayscale(1) sepia(.55) hue-rotate(5deg) saturate(.55) contrast(.7) brightness(1.12); }
.pv-map::after { content: ""; position: absolute; inset: 0; z-index: 250; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, hsl(43 40% 86% / .5) 100%); box-shadow: inset 0 0 0 1px hsl(43 45% 60% / .25); }
.pv-map .leaflet-overlay-pane path { filter: drop-shadow(0 1px 2px hsl(160 40% 12% / .35)); }
.pv-map .leaflet-bar { border: 1px solid hsl(43 45% 60% / .55); border-radius: 0; box-shadow: none; }
.pv-map .leaflet-bar a { width: 28px; height: 28px; line-height: 27px; border-radius: 0 !important; background: hsl(48 30% 97% / .92); color: var(--green-deep); font: 300 18px/27px Georgia, serif; border-bottom-color: hsl(43 45% 60% / .4); }
.pv-map .leaflet-bar a:hover { background: var(--green-deep); color: #e2c98f; }
.pv-map .leaflet-control-attribution { background: hsl(48 30% 97% / .7); font-size: 9px; color: var(--muted-fg); padding: 0 5px; }
.pv-map .leaflet-control-attribution a { color: var(--muted-fg); }
.pv-map .leaflet-popup-content-wrapper { border-radius: 0; border-top: 2px solid var(--gold); box-shadow: var(--shadow); color: var(--green-deep); }
.pv-map .leaflet-popup-content { margin: 10px 14px; font: 13px/1.45 inherit; font-family: inherit; }
.pv-map .leaflet-popup-content b { color: var(--fg); }
.pv-map-btn { justify-self: start; min-height: 40px; padding: 0 14px; border: 1px solid var(--green); background: var(--card); color: var(--green); font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; }
.pv-map-note { margin: 0; font-size: 11px; color: var(--muted-fg); }
.pv.is-hot { background: hsl(43 45% 60% / .18); }
.pv { transition: background .2s; }
.pv-map-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 11px; color: var(--muted-fg); }
.pv-map-key span { display: inline-flex; align-items: center; gap: 5px; }
.pin { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.pin-lo { background: #1c6b47; } .pin-mid { background: #7f8f85; } .pin-hi { background: #8a6a2e; }
.pv-mapbox:has(.pv-map[hidden]) .pv-map-key { display: none; }

/* Chart + map stay in view while the list under them scrolls (wide screens). */
@media (min-width: 900px) {
  .pv-viz { position: sticky; top: 72px; z-index: 2; background: var(--card); padding: 12px 0 14px; margin-top: 4px; box-shadow: 0 10px 14px -12px hsl(160 25% 12% / .25); border-bottom: 1px solid var(--border); }
  html.ac-full .pv-viz { top: 0; }
}
.pv-list > .pv { cursor: default; }
.pv-list > .pv[data-row] { cursor: pointer; }

/* Sort select: own chevron with breathing room on the right */
.br-sort {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-inline: 16px 44px; min-width: 168px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"%3E%3Cpath d="M2.5 4.5 6 8l3.5-3.5" fill="none" stroke="%231c6b47" stroke-width="1.4" stroke-linecap="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.br-sort:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[dir="rtl"] .br-sort { padding-inline: 16px 44px; background-position: left 16px center; }

/* Search bar stays under the site header while the results scroll */
.br-bar { position: sticky; top: 72px; z-index: 4; background: var(--bg); margin: 14px -12px 0; padding: 10px 12px 8px; }
.br-bar .br-tools { margin-top: 0; }
.br-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hairline); }
html.ac-full .br-bar { top: 0; background: hsl(48 22% 96%); }
@media (min-width: 900px) {
  #browse .pv-viz { top: calc(72px + var(--brbar, 0px)); }
  html.ac-full #browse .pv-viz { top: var(--brbar, 0px); }
}
/* Phones: the bar sticks too, compact. Once it is stuck (plans.js toggles
   .is-stuck from a sentinel above it) only the search box and the category
   row stay; place and sort come back when you scroll up to the top. */
@media (max-width: 640px) {
  .br-bar { top: 66px; margin-inline: -20px; padding: 8px 20px 6px; }
  .br-bar .br-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .br-bar .br-q { grid-column: 1 / -1; height: 44px; }
  .br-bar .br-seg { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .br-bar .br-seg button { padding: 0 10px; min-height: 36px; font-size: 13px; white-space: nowrap; }
  .br-bar .br-sort { height: 38px; min-width: 0; width: 112px; padding-inline: 10px 28px; background-position: right 10px center; font-size: 14px; }
  [dir="rtl"] .br-bar .br-sort { padding-inline: 10px 28px; background-position: left 10px center; }
  .br-bar .br-cats { margin-top: 8px; }
  .br-bar .pf-pill { min-height: 34px; padding: 0 12px; font-size: 13px; white-space: nowrap; flex: none; }
  .br-bar.is-stuck .br-seg, .br-bar.is-stuck .br-sort { display: none; }
  .br-bar.is-stuck { box-shadow: 0 8px 14px -12px hsl(160 25% 12% / .35); }
  html.ac-full .br-bar { top: 0; }
}
/* Touch screens: 16px text in every field, so iOS does not zoom in on focus. */
@media (pointer: coarse) {
  input, select, textarea { font-size: 16px !important; }
}
/* icon after a button's text */
.btn-ico { display: inline-flex; align-items: center; gap: 10px; }
.btn-ico .ico-search { flex: none; }
.pl-ctas .btn.btn-ico { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pl-ctas .btn-ico .ico-search { position: relative; top: -1px; }

/* cheapest three on each card */
.pc-top { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--border); }
.pc-top li { display: grid; grid-template-columns: minmax(120px, 210px) 1fr auto; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.pc-top .pt-who { font-weight: 600; color: var(--fg); }
.pc-top .pt-what { color: var(--muted-fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-top .pt-price { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 17px; color: var(--green-deep); white-space: nowrap; }
.pc-top li.is-ega { background: linear-gradient(90deg, var(--green-soft), transparent 70%); padding-inline: 8px; margin-inline: -8px; }
.pc-top .badge { display: inline-block; background: var(--green-deep); color: #fff; font-size: 10px; letter-spacing: .12em; padding: 2px 6px; }
@media (max-width: 640px) { .pc-top li { grid-template-columns: 1fr auto; } .pc-top .pt-what { grid-column: 1; grid-row: 2; white-space: normal; } .pc-top .pt-price { grid-row: 1 / 3; grid-column: 2; } }
#br-sum { scroll-margin-top: calc(80px + var(--brbar, 0px)); }
html.ac-full #br-sum { scroll-margin-top: calc(8px + var(--brbar, 0px)); }
/* results area keeps its height while a search narrows it, so the page doesn't jump */
.br-list { min-height: 70vh; }

/* flat "all matching prices" list in search results */
.pv-flat { margin-top: 10px; }
.pv-proc { display: inline-block; margin-inline-start: 8px; font-size: 11px; letter-spacing: .04em; color: var(--green); border: 1px solid var(--green-soft); border-radius: 999px; padding: 1px 8px; vertical-align: 1px; }

/* ── EGA membership: member-price tags, waitlist ── */
.tag-member { border-color: var(--gold); background: hsl(43 60% 94%); color: #7a5a1e; font-weight: 600; }
.tag-premier { background: var(--green-deep); border-color: var(--green-deep); color: #e2c98f; }
.pt-member { display: block; font-size: 11px; font-weight: 600; color: #8a6a2e; letter-spacing: .02em; }
.bp .pt-member { color: #e2c98f; }
.bp-member { margin: 12px 0 0; font-size: 14px; color: #e2c98f; }
.bp-member a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mb-demo { margin: 0 0 18px; padding: 10px 14px; border: 1px dashed var(--gold); background: hsl(43 60% 95%); color: #6b4f1a; font-size: 13px; }

.flat-box .pv-viz { background: var(--bg); }

/* Map pins as price tags (plans.js drawMap): cream pill with a small pointer;
   merged tags in deep green with the count; the one in focus in gold. */
.pv-map .pp { background: none; border: 0; }
.pp-tag { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 6px)); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 3px 8px; border-radius: 999px; background: #fffdf7; color: var(--green-deep); border: 1px solid hsl(43 45% 60% / .6); font: 600 12px/1.25 "Montserrat", "Avenir Next", system-ui, sans-serif; box-shadow: 0 1px 3px hsl(160 30% 12% / .25); cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.pp-tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: inherit; border-right: inherit; border-bottom: inherit; transform: translateX(-50%) rotate(45deg); }
.pp-tag b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: hsl(43 45% 60% / .3); font-size: 11px; }
.pp-group .pp-tag { background: var(--green-deep); color: #f3ead2; border-color: var(--green-deep); }
.pp-group .pp-tag b { background: hsl(43 45% 60% / .35); color: #fff; }
.pp:hover .pp-tag, .pp.is-hot .pp-tag { background: var(--gold); color: #fff; border-color: var(--gold); transform: translate(-50%, calc(-100% - 8px)) scale(1.06); }
.pp:focus-visible .pp-tag { outline: 2px solid var(--gold); outline-offset: 2px; }
.pp:focus-visible { outline: none; }

/* Search by clinic name: a header card for the clinic; its own rows marked in comparisons. */
.prov-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px; padding: 18px 22px; background: var(--card); border: 1px solid var(--border); border-inline-start: 3px solid var(--gold); }
.prov-head h3 { margin: 0 0 4px; font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 24px; color: var(--green-deep); }
.prov-head p { margin: 0; font-size: 14px; color: var(--muted-fg); }
.prov-un { border-inline-start-color: var(--border); background: var(--bg); }
.prov-un h3 { font-size: 19px; }
.pv-mine { background: hsl(43 60% 96%); box-shadow: inset 3px 0 var(--gold); }

/* Google ratings: gold stars filled to the rating, the number, the review count.
   Small form (★ 4.8 (312)) next to provider names; source line under each list. */
.rv { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 8px; vertical-align: 1px; font-size: 12px; font-weight: 500; color: var(--fg); text-decoration: none; white-space: nowrap; }
.rv b { font-weight: 700; }
.rv-n { color: var(--muted-fg); font-weight: 400; }
.rv:hover .rv-n, .rv:hover b { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.rv-star { color: var(--gold); font-size: 12px; line-height: 1; }
.rv-stars { font-size: 13px; letter-spacing: 1px; line-height: 1; background: linear-gradient(90deg, var(--gold) calc(var(--r) / 5 * 100%), hsl(43 20% 82%) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prov-head .rv { font-size: 14px; margin-inline-start: 10px; }
.prov-head .rv-stars { font-size: 15px; }
.pc-top .rv { margin-inline-start: 6px; font-size: 11px; }
.rv-src { margin: 8px 0 0; font-size: 11px; color: var(--muted-fg); text-align: end; }
.rv-src::before { content: "★ "; color: var(--gold); }
.br-compare { margin: 40px 0 16px; }
.flat-box + .br-compare { border-top: 1px solid var(--border); padding-top: 28px; }

/* EGA rows: doctor-led (what the price includes), in the brand green. */
.tag-doc { border-color: var(--green); background: var(--green-soft); color: var(--green-deep); font-weight: 600; }
.pt-doc { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }

/* Google tiles carry their own (parchment) style: no CSS wash. Logo bottom-left (Google's terms). */
.pv-map.is-google .leaflet-tile-pane { filter: none; }
.pv-map.is-google::after { background: radial-gradient(ellipse at center, transparent 62%, hsl(43 40% 86% / .35) 100%); }
.pv-map .gm-logo { margin: 0 0 4px 6px !important; line-height: 0; pointer-events: none; }
.pv-map .gm-logo img { width: 56px; height: auto; opacity: .9; }



/* "Member price ›" under clinic prices → membership section. */
.pr-mem { display: block; margin-top: 3px; font-family: "Montserrat", "Avenir Next", system-ui, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--gold); text-decoration: none; white-space: nowrap; }
.pr-mem:hover { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.pc-top .pr-mem { display: inline; margin: 0 0 0 8px; font-size: 10px; }
.pc-facts .pr-mem { display: inline; margin: 0; font-size: 12px; }
