/* Scruffsy directory: base. Fonts, colours, sizes and buttons are the home page's own (public/index.html), so both read as one
   site. Concatenated with its sibling files by scripts/build-directory.mjs into one hashed /dir/directory.<hash>.css. */

/* Self-hosted (OFL, see /licences): no third-party font requests, so no visitor IPs go to Google. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-wght.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/urbanist-latin-wght.woff2') format('woff2'); }
/* Size-matched stand-ins while the web fonts load (same numbers as the home page), so lines don't jump when they arrive. */
@font-face { font-family: 'Urbanist fallback'; font-weight: 600 900; src: local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 93%; ascent-override: 102.15%; descent-override: 26.88%; line-gap-override: 0%; }
@font-face { font-family: 'Urbanist fallback'; font-weight: 100 599; src: local('Arial'), local('ArialMT'); size-adjust: 93%; ascent-override: 102.15%; descent-override: 26.88%; line-gap-override: 0%; }
@font-face { font-family: 'Inter fallback'; font-weight: 100 599; src: local('Arial'), local('ArialMT'); size-adjust: 106.9%; ascent-override: 90.62%; descent-override: 22.56%; line-gap-override: 0%; }
@font-face { font-family: 'Inter fallback'; font-weight: 600 900; src: local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 101.1%; ascent-override: 95.82%; descent-override: 23.86%; line-gap-override: 0%; }

:root {
  --font-ui: 'Inter', 'Inter fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-urbanist: 'Urbanist', 'Urbanist fallback', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .06), 0 1px 1px rgb(0 0 0 / .04);
  --shadow-md: 0 6px 16px rgb(0 0 0 / .12);
  --shadow-card: 0 1.9px 5.8px rgb(42 74 47 / .06);
  --ease-out: cubic-bezier(.23, 1, .32, 1);

  /* Palette A, with the names the home page gives each colour */
  --p-plum: #2A4A2F;    /* Forest */      --p-plum-2: #242321;  /* Black Lab */  --p-salmon: #D2F785;  /* Tennis Ball */
  --p-blush: #EEFBC8;   /* Catnip */      --p-cream: #FCFAF7;   /* Samoyed */
  --p-night: #042D14;   /* Den */         --p-grey: #706F6C;    /* Husky */      --p-line: #DAD8D5;    /* Fluff */
  --p-green: #519C3A;   /* Scruffsy Green */
  --p-biscuit: #F5F2E8; /* Biscuit */     --p-meadow: #3B7D31;  /* Meadow */     --p-golden: #FFD25F;  /* Golden */
  --p-pad: #FFEFF0;     /* Paw Pad Tint */ --p-pad-deep: #811440; /* Paw Pad Deep */

  --page: var(--p-cream); --surface: #FFFFFF;
  --text: var(--p-plum); --heading: var(--p-plum); --muted: var(--p-grey); --border: var(--p-line);
  --focus: var(--p-plum); --focus-on-dark: var(--p-salmon);
  --error: #AE1B00; --error-on-dark: #FBCCD5;
  --hero-bg: var(--p-plum); --hero-fg: var(--p-cream); --hero-sub: var(--p-blush); --hero-accent: var(--p-salmon); --hero-link: var(--p-blush);
  --hero-line: rgb(255 255 255 / .12);
  --primary: var(--p-night); --on-primary: var(--p-salmon);
  --foot-bg: var(--p-night); --foot-fg: var(--p-cream); --foot-muted: var(--p-blush);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: #042D14; } /* Den: Safari colours its toolbar and the overscroll from the canvas, so it matches the announcement bar and the footer */
body {
  margin: 0;
  font: 400 16px/1.55 var(--font-ui);
  color: var(--text);
  background: #042D14;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { display: block; background: var(--page); }
svg { display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
main p { text-wrap: pretty; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 12px 18px; border-radius: var(--r-pill); background: var(--p-salmon); color: var(--p-night); font: 600 15px/1 var(--font-ui); text-decoration: none; transition: top .15s ease; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark { --focus: var(--focus-on-dark); --error: var(--error-on-dark); }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill);
  font: 600 15px/1 var(--font-ui); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, transform .15s var(--ease-out), box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.96); }
.btn .icon { width: 18px; height: 18px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
@media (hover: hover) and (pointer: fine) {
.btn--primary:hover { background: color-mix(in oklab, var(--primary) 84%, white); } }
.btn--light { background: var(--p-salmon); color: var(--p-plum); }
@media (hover: hover) and (pointer: fine) {
.btn--light:hover { background: color-mix(in oklab, var(--p-salmon) 86%, white); } }
.btn--outline { background: transparent; color: var(--p-plum); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) and (pointer: fine) {
.btn--outline:hover { background: rgb(42 74 47 / .07); } }
.btn--outline-light { background: transparent; color: var(--hero-fg); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); }
@media (hover: hover) and (pointer: fine) {
.btn--outline-light:hover { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .8); } }
.btn--ghost { background: transparent; color: var(--hero-link); padding: 0 14px; }
@media (hover: hover) and (pointer: fine) {
.btn--ghost:hover { background: rgb(255 255 255 / .08); color: var(--hero-fg); } }
.btn--ghost-dark { background: transparent; color: var(--p-plum); padding: 0 14px; }
@media (hover: hover) and (pointer: fine) {
.btn--ghost-dark:hover { background: rgb(42 74 47 / .07); } }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Touch: no grey flash on tap, no double-tap-zoom delay on controls. */
a, button, [role=button], summary, label, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* bonnebuy colours over Scruffsy's directory CSS (00-30 are copies of ~/scruffsy/password/scripts/directory/assets/css).
   Each Scruffsy token keeps its name and takes bonnebuy's value, from site/shared.css: blue #0059FF, navy #001E60, pale #EBF7FF,
   sky #BED5FF, bg-1 #F2F5F9, hair #E8E8E8. Fonts are Scruffsy's: Urbanist for headings, Inter for the rest (both OFL, in /fonts with
   their licences in /licences). The Aeonik files in site/assets are a trial licence and stay off public pages. */
:root {
  --p-plum: #001E60;    --p-plum-2: #000000;  --p-salmon: #BED5FF;
  --p-blush: #EBF7FF;   --p-cream: #FAFAFA;
  --p-night: #001E60;   --p-grey: #5B6573;    --p-line: #E3E6EC;
  --p-green: #0059FF;   --p-biscuit: #F2F5F9; --p-meadow: #0050E0; --p-golden: #FFD25F;
  --shadow-card: 0 1.9px 5.8px rgb(0 30 96 / .06);
  --focus: #0059FF; --focus-on-dark: #BED5FF;
}
html, body { background: #001E60; }

/* Directory chrome: announcement bar, header, footer. Same look as the home page (public/index.html), same breakpoints
   (769px, 1000px; phone rules under 768.98px). The wordmark is an <img> here (one cached file) instead of the home page's
   inline symbol; its viewBox is 8% taller so the y's tail is inside the image, and the margin puts the letters where they sit there. */

.announce { background: var(--p-night); color: #FFFFFF; font: 700 13.33px/20px var(--font-ui); }
.announce__in { display: flex; align-items: center; justify-content: center; gap: 12.5px; min-height: 45.7px; padding: 6px var(--gutter); text-align: center; flex-wrap: wrap; }
.announce__in p { margin: 0; text-wrap: balance; }
.announce__icon { width: 19.5px; height: 19.5px; flex: none; }
.announce__link { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
.announce__link:hover { text-decoration-thickness: 2px; } }

.nav { position: sticky; top: 0; z-index: 50; background: var(--hero-bg); color: var(--hero-fg); transition: box-shadow .25s ease; }
.nav.is-stuck { box-shadow: 0 8px 24px rgb(0 0 0 / .18); }
.nav__in { display: flex; align-items: center; gap: 16px; min-height: 66.3px; padding: 0 50px 0 28px; }
.brand { --wm-h: 27px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--hero-fg); margin-right: auto; }
.brand__paw { display: block; width: 30px; height: 30px; object-fit: contain; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.brand:hover .brand__paw { transform: rotate(-12deg) scale(1.06); } }
@keyframes paw-wiggle {
  0%, 100% { transform: none; }
  14% { transform: rotate(-16deg) scale(1.1); }
  30% { transform: rotate(12deg) scale(1.1); }
  46% { transform: rotate(-8deg) scale(1.05); }
  62% { transform: rotate(5deg); }
  78% { transform: rotate(-2deg); }
}
.nav .brand__paw.is-wiggling { transform-origin: 50% 80%; animation: paw-wiggle .9s .1s ease-in-out; }
.brand__word { display: block; height: calc(var(--wm-h) * 1.141); width: auto; margin-top: calc(var(--wm-h) * .08); }
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links a { color: var(--p-blush); font: 400 13.33px/20px var(--font-ui); text-decoration: none; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
.nav__links a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; } }
.nav__links a[aria-current="page"] { color: #FFFFFF; font-weight: 600; }

.foot { position: relative; margin-top: -58.5px; padding: 122px 0 32px; border-radius: 61px 61px 0 0; background: var(--foot-bg); color: var(--foot-fg); box-shadow: 0 1px 0 0 var(--foot-bg); }
.foot .brand { color: var(--foot-fg); }
.foot__top { display: grid; gap: 40px; }
.foot__tag { margin-top: 12px; color: var(--foot-muted); font-size: 15px; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot h3 { font: 700 14px/1.2 var(--font-ui); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--foot-muted); }
.foot ul a { display: inline-block; padding: 6px 0; margin: -6px 0; text-decoration: none; } /* 34px tap targets on the same 31px pitch */
@media (hover: hover) and (pointer: fine) {
.foot ul a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.foot ul a.foot__ico { display: inline-flex; align-items: center; gap: 8px; }
.foot__ico img { display: block; width: 24px; height: 24px; }
/* "Coming soon" under Marketplace and Prescriptions (under, not beside: the footer columns are narrow on phones and desktop): the lime of the header's "New" badges, and never hidden (the header hides its badges on phones) */
.foot ul a.foot__ico:has(.foot__soon) { display: inline-grid; grid-template-columns: 24px auto; column-gap: 8px; row-gap: 5px; align-items: center; }
.foot__soon { grid-column: 2; justify-self: start; padding: 3px 7px; border-radius: 999px; background: #D2F785; color: #042D14; font: 700 11px/1 var(--font-ui); white-space: nowrap; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hero-line); font-size: 13px; color: var(--foot-muted); }
.foot__legal { flex-basis: 100%; margin: 0 0 4px; max-width: 64em; text-wrap: pretty; }
.foot__by { margin-left: auto; }
.foot__bottom a { color: inherit; text-decoration: none; }   /* no underline on the email or the Anima Group link (owner, 2026-11-17) */

@media (min-width: 769px) {
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__links a { position: relative; }
  .nav__links a::after { content: ''; position: absolute; inset: -10px -8px; }   /* the text is 20px tall: this makes each link a 40px-tall target without moving anything */
}
@media (min-width: 1000px) {
  .foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
@media (min-width: 1180px) {   /* five columns once each has room for "Pet boarding and kennels" on two lines at most */
  .foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 3.4fr); }
  .foot__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 768.98px) {
  .foot { margin-top: -40px; padding-top: 88px; border-radius: 32px 32px 0 0; }
  .nav__in { min-height: 60px; gap: 8px; padding: 0 var(--gutter); }
  .nav__links a:not([data-join]) { display: none; }
  .nav__links a[data-join] { padding: 9px 14px; border-radius: 999px; background: var(--hero-accent); color: var(--p-night); font-weight: 600; text-decoration: none; }
  .brand { --wm-h: 22px; }
  .brand__paw { width: 24px; height: 24px; }
  .announce__in { font-size: 12.5px; gap: 4px 10px; }
  .announce__icon { display: none; }
}
@media (max-width: 479.98px) {
  .announce__link { display: none; }
}
@media (max-width: 379.98px) {
  .nav .brand { --wm-h: 17px; } /* with the paw at 22px and the pill at 12px sides, the header fits 320px (the pill wrapped to two lines); the footer logo keeps 22px */
  .nav .brand__paw { width: 22px; height: 22px; }
  .nav__links a[data-join] { padding: 9px 12px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .nav .brand__paw.is-wiggling { animation: none; }
}

/* Copy of ~/scruffsy/password/scripts/directory/assets/css/15-search.css, without its service and pet pickers (vets only). Header search: a compact "Find a shop" pill in the middle of the header, white on the navy bar.
   Used on every directory page except the hub, which has the big version. Typing opens a suggestion panel (js/20-search.js).
   Wide screens: brand, pill, links on one row with the pill truly centred. Under 1000px: the pill gets its own row below. */

.nav--search .nav__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "brand search links"; align-items: center; column-gap: 16px; }
.nav--search .brand { grid-area: brand; justify-self: start; margin-right: 0; }
.nav--search .psearch { grid-area: search; }
.nav--search .nav__links { grid-area: links; justify-self: end; gap: 28px; }

.psearch {
  --focus: var(--p-plum); /* inside the white pill the focus ring is Forest; the pill's own ring (below) is Tennis Ball on the bar */
  position: relative; display: flex; align-items: center;
  width: clamp(300px, 30vw, 400px); height: 46px; padding: 0 6px 0 7px;
  border-radius: var(--r-pill); background: #fff; color: var(--p-plum);
  box-shadow: 0 2px 8px rgb(0 0 0 / .22);
  transition: box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) {
.psearch:hover { box-shadow: 0 4px 14px rgb(0 0 0 / .3); } }
.psearch:focus-within { outline: 3px solid var(--p-salmon); outline-offset: 2px; box-shadow: 0 6px 20px rgb(0 0 0 / .32); }

.psearch__ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--p-blush); color: var(--p-plum); }
.psearch__ico .icon { width: 17px; height: 17px; }
.psearch__lead { flex: none; padding: 0 14px 0 9px; font: 600 14px/1 var(--font-ui); letter-spacing: -.005em; white-space: nowrap; }
.psearch__sep { flex: none; width: 1px; height: 24px; background: var(--p-line); }
.psearch__input {
  flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 10px 0 14px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--p-plum); font: 500 14px/1 var(--font-ui); text-overflow: ellipsis;
  -webkit-appearance: none; appearance: none;
}
.psearch__input::placeholder { color: var(--p-grey); opacity: 1; }
.psearch__input:focus, .psearch__input:focus-visible { outline: none; }
.psearch__input::-webkit-search-decoration, .psearch__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.psearch__go {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
  background: var(--primary); color: var(--on-primary); cursor: pointer;
  transition: transform .15s var(--ease-out), background-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
.psearch__go:hover { background: color-mix(in oklab, var(--primary) 84%, white); } }
.psearch__go:active { transform: scale(.92); }
.psearch__go .icon { width: 17px; height: 17px; }

/* the suggestion panel, opened from script */
.psearch__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 5; width: max(100%, 440px); max-height: min(70vh, 520px); overflow: auto;
  padding: 8px; border-radius: 24px; background: #fff; color: var(--p-plum); box-shadow: 0 18px 50px rgb(0 0 0 / .3);
  transform: translateX(-50%);
}
@media (prefers-reduced-motion: no-preference) {
  .psearch__panel:not([hidden]) { animation: psearch-in .16s var(--ease-out); }
}
@keyframes psearch-in { from { opacity: 0; translate: 0 -6px; } }
.sgroup { margin: 0; padding: 0; list-style: none; }
.sgroup + .sgroup { margin-top: 4px; }
.shead { padding: 10px 12px 6px; font: 700 12px/1 var(--font-ui); letter-spacing: .05em; color: var(--p-grey); }
.sopt a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 16px; color: inherit; text-decoration: none; }
.sopt.is-active a { background: var(--p-blush); }
@media (hover: hover) and (pointer: fine) {
.sopt a:hover { background: var(--p-blush); } }
.sopt__ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--p-biscuit); }
.sopt.is-active .sopt__ico { background: #fff; }
.sopt__ico--3d { width: 44px; height: 44px; border-radius: 14px; }
.sopt__ico--3d img { display: block; width: 32px; height: 32px; object-fit: contain; }
@media (hover: hover) and (pointer: fine) {
.sopt a:hover .sopt__ico { background: #fff; } }
.sopt__txt { min-width: 0; }
.sopt__main { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/1.25 var(--font-ui); }
.sopt__sub { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 13px/1.35 var(--font-ui); color: var(--p-grey); }
.sopt.is-active .sopt__sub { color: var(--p-plum); }
@media (hover: hover) and (pointer: fine) {
.sopt a:hover .sopt__sub { color: var(--p-plum); } } /* Husky on Catnip is under 4.5:1 */
.sopt mark { background: transparent; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--p-green); text-underline-offset: 3px; }
.snote { padding: 14px 12px; font-size: 14px; color: var(--p-grey); }

@media (min-width: 1000px) and (max-width: 1239.98px) {
  .nav--search .nav__links a:not([data-join]) { display: none; } /* the pill takes their room; the footer still has them */
}
@media (max-width: 999.98px) {
  .nav--search .nav__in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand links" "search search"; grid-template-rows: minmax(56px, auto) auto; align-items: center; padding-bottom: 12px; min-height: 0; }
  .nav--search .psearch { width: min(100%, 560px); justify-self: center; }
  .nav--search .psearch__panel { left: 0; right: 0; width: auto; transform: none; }
  .nav--search .nav__links a:not([data-join]) { display: none; }
  .nav--search .nav__links a[data-join] { padding: 9px 14px; border-radius: 999px; background: var(--hero-accent); color: var(--p-night); font-weight: 600; text-decoration: none; }
}
@media (max-width: 768.98px) {
  .nav--search .nav__in { grid-template-rows: minmax(52px, auto) auto; padding-bottom: 10px; }
  .nav--search .psearch { width: 100%; height: 44px; }
  .psearch__lead, .psearch__sep { display: none; }
  .psearch__input { padding-left: 10px; font-size: 16px; } /* 16px stops iOS zooming the page when the box is focused */
}
@media (max-width: 379.98px) {
  .nav--search .nav__links a[data-join] { padding: 9px 12px; white-space: nowrap; }
}

/* the big hub box itself is in 50-hub.css (Scruffsy's); bonnebuy's icon is an SVG, not a picture, so it gets a size there */
.psearch--hero .psearch__ico .icon { width: 22px; height: 22px; }
.psearch__golbl { display: none; }
/* a shop's own logo in a suggestion row: white tile, hairline, the logo contained */
.sopt__ico--logo { background: #fff; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.sopt__ico--logo img { width: 100%; height: 100%; padding: 4px; box-sizing: border-box; }

/* Practice page (/vet/<slug>): a listing page. Breadcrumbs and a title row, a mosaic of brand tiles where photos would go, then
   two columns (details on the left, a sticky contact card on the right) and full-width sections underneath. 1120px column,
   653/372 split, 1px rules and 48px section padding. Everything is scoped to .is-listing or starts with pl-. */

.is-listing { --pl-line: color-mix(in srgb, var(--p-grey) 55%, #fff); }
.is-listing main { background: #fff; }
.pl-wrap { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.pl-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pl-main, .pl-side { min-width: 0; }
.pl-side { padding-bottom: 48px; }

/* ------------------------------------------------------------------------------------------- crumbs and title row */
.pl-crumbs { padding-top: 8px; }
.pl-crumbs .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0; padding: 0; list-style: none; font: 400 13.33px/20px var(--font-ui); color: var(--p-grey); }
.pl-crumbs .crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pl-crumbs .crumbs li + li::before { content: ''; flex: none; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; margin-right: 2px; }
.pl-crumbs .crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--p-grey); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
.pl-crumbs .crumbs a:hover { color: var(--p-plum); text-decoration: underline; text-underline-offset: 3px; } }
.pl-crumbs .crumbs [aria-current] { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--p-plum); font-weight: 600; }

.pl-titlerow { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 24px; padding-top: 8px; }
.pl-titlerow h1 { flex: 1 1 320px; min-width: 0; font: 700 26px/30px var(--font-urbanist); letter-spacing: -.01em; color: var(--p-plum); text-wrap: wrap; overflow-wrap: anywhere; }   /* plain wrapping: the first line fills up beside the logo ("All Creatures Veterinary / Surgery"); balance split names into even halves and left a half-empty first line (owner, 2026-11-15) */
.pl-h1logo { display: inline-block; vertical-align: middle; width: 40px; height: 40px; margin: -4px 12px 0 0; border-radius: 10px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgb(42 74 47 / .14); }
.pl-actions { display: flex; flex-wrap: wrap; flex: none; margin: 2px -8px -6px 0; }
.pl-act { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 8px; border: 0; border-radius: 8px; background: none; color: var(--p-plum); font: 600 14px/18px var(--font-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
.pl-act:hover { background: var(--p-biscuit); } }
.pl-act .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------------------------------------- the tile mosaic */
.pl-gal { padding-top: 24px; }
.pl-mosaic { display: grid; grid-auto-flow: column; grid-template-columns: 560fr 272fr 272fr; grid-template-rows: 238fr 230fr; gap: 8px; height: clamp(400px, 42.5vw, 476px); margin: 0; padding: 0; list-style: none; border-radius: 12px; overflow: hidden; }
.pl-tile { position: relative; display: flex; min-width: 0; min-height: 0; }
.pl-tile--map { grid-row: 1 / span 2; background: var(--p-biscuit); }
.pl-tile__in { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; padding: 20px; overflow: hidden; color: inherit; text-decoration: none; }
.pl-tile__in:focus-visible { outline-offset: -4px; border-radius: 0; }
a.pl-tile__in::before { content: ''; position: absolute; inset: 0; z-index: 1; background: #000; opacity: 0; transition: opacity .2s var(--ease-out); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
a.pl-tile__in:hover::before { opacity: .1; } }
.pl-tile--call a.pl-tile__in::before { background: #fff; }
@media (hover: hover) and (pointer: fine) {
.pl-tile--call a.pl-tile__in:hover::before { opacity: .12; } }
.pl-tile__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: inherit; }
.pl-tile__ico .icon { width: 22px; height: 22px; }
.pl-tile__txt { display: block; min-width: 0; }
.pl-tile__lbl { display: block; font: 600 12px/16px var(--font-ui); letter-spacing: .06em; }
.pl-tile__val { display: block; margin-top: 4px; font: 700 clamp(18px, 2vw, 24px)/1.15 var(--font-urbanist); letter-spacing: -.01em; overflow-wrap: anywhere; }
.pl-tile__hint { display: block; margin-top: 8px; font: 500 14px/18px var(--font-ui); text-decoration: underline; text-underline-offset: 3px; }
.pl-tile--call { background: var(--p-night); color: #fff; }
.pl-tile--call .pl-tile__ico { background: rgb(255 255 255 / .12); color: var(--p-salmon); }
.pl-tile--call .pl-tile__lbl, .pl-tile--call .pl-tile__hint { color: var(--p-blush); }
.pl-tile--call .pl-tile__in:focus-visible { outline-color: var(--p-salmon); }
.pl-tile--hours { background: var(--p-blush); color: var(--p-plum); }
.pl-tile--hours .pl-tile__val { font-size: clamp(16px, 1.6vw, 20px); }
.pl-tile--web { background: var(--p-biscuit); color: var(--p-plum); }
.pl-tile--web .pl-tile__val { font-size: clamp(16px, 1.5vw, 18px); }
.pl-tile--dir { background: var(--p-salmon); color: var(--p-night); }
.pl-tile--dir .pl-tile__ico { background: rgb(255 255 255 / .55); }
.pl-tile--off { background: var(--p-biscuit); color: var(--p-plum); box-shadow: inset 0 0 0 1px var(--p-line); }
.pl-tile--off .pl-tile__val { font-size: clamp(16px, 1.6vw, 20px); }
.pl-tile--off .pl-tile__hint { font-weight: 600; }
.pl-stretch::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.pl-stretch:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@supports selector(:has(a)) {
  .pl-stretch:focus-visible { outline: none; }
  .pl-tile--off:has(.pl-stretch:focus-visible) { outline: 3px solid var(--focus); outline-offset: -4px; }
}

/* the drawing: used by the location tile and the "Where it is" panel */
.pl-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-m-base { fill: var(--p-biscuit); }
.pl-m-green { fill: var(--p-blush); }
.pl-m-block { fill: var(--p-line); opacity: .5; }
.pl-m-casing path { fill: none; stroke: var(--p-line); stroke-linecap: round; }
.pl-m-road path { fill: none; stroke: #fff; stroke-linecap: round; }
.pl-pinwrap { position: absolute; z-index: 1; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.pl-pin { position: absolute; left: -24px; top: -24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--p-night); color: #fff; box-shadow: 0 0 0 12px rgb(210 247 133 / .6), 0 2px 2px rgb(0 0 0 / .18); }
.pl-pin .icon { width: 22px; height: 22px; }
.pl-pill { position: absolute; left: 0; top: 44px; width: max-content; max-width: min(340px, calc(100vw - 72px)); padding: 6px 12px; border-radius: 28px; background: #fff; color: var(--p-plum); font: 600 15px/18px var(--font-ui); text-align: center; transform: translateX(-50%); box-shadow: 0 2px 4px rgb(0 0 0 / .18), 0 0 0 1px rgb(0 0 0 / .08); overflow-wrap: anywhere; }
.pl-tile--map .pl-tile__in { padding: 0; }

/* ------------------------------------------------------------------------------------------- two columns */
.pl-cols { padding-top: 32px; }
.pl-head h2 { font: 700 22px/26px var(--font-urbanist); letter-spacing: -.01em; color: var(--p-plum); text-wrap: balance; }
.pl-facts { margin-top: 4px; font: 400 16px/20px var(--font-ui); overflow-wrap: anywhere; }
.pl-aka { margin-top: 4px; font: 400 14px/18px var(--font-ui); color: var(--p-grey); overflow-wrap: anywhere; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pl-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--p-biscuit); color: var(--p-plum); font: 600 13px/1 var(--font-ui); }
.pl-chip .icon { width: 14px; height: 14px; }
.pl-chip.chip--open { background: var(--p-salmon); color: var(--p-night); }
.pl-chip.chip--warn, .pl-chip--emerg { background: var(--p-golden); color: var(--p-night); }
.pl-chip--status { margin: 0 0 16px; }
.chip__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; }
.chip--open .chip__dot { animation: dot-pulse 2.4s ease-out infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgb(4 45 20 / .45); } 70%, 100% { box-shadow: 0 0 0 7px rgb(4 45 20 / 0); } }

.pl-host { display: flex; align-items: flex-start; gap: 24px; margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--p-line); }
.pl-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--p-salmon); color: var(--p-night); font: 800 14px/1 var(--font-urbanist); letter-spacing: .01em; user-select: none; }
.pl-host__txt { min-width: 0; }
.pl-host h3 { font: 600 16px/20px var(--font-ui); }
.pl-host p { margin-top: 4px; font: 400 14px/18px var(--font-ui); color: var(--p-grey); }

.pl-features { padding: 32px 0; border-top: 1px solid var(--p-line); }
.pl-features ul { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.pl-features li { display: flex; align-items: flex-start; gap: 24px; }
.pl-features li > div { min-width: 0; }
.pl-fico { display: grid; place-items: start center; flex: none; width: 40px; color: var(--p-plum); }
.pl-fico .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.pl-features h3 { font: 600 16px/20px var(--font-ui); overflow-wrap: anywhere; }
.pl-features p { margin-top: 4px; font: 400 14px/20px var(--font-ui); color: var(--p-grey); }
.pl-features p a, .pl-sub a, .pl-empty a, .pl-v--mute a { color: var(--p-plum); font-weight: 600; text-underline-offset: 3px; }

.pl-desc { padding: 32px 0 48px; border-top: 1px solid var(--p-line); }
.pl-desc__text { font: 400 16px/24px var(--font-ui); color: var(--p-plum); }
html.js .pl-desc__text:not(.is-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.pl-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; padding: 0; border: 0; background: none; color: var(--p-plum); font: 600 16px/20px var(--font-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pl-more .icon { width: 12px; height: 12px; stroke-width: 2.5; transition: transform .2s var(--ease-out); }
.pl-more[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* sections: a 1px rule, then 48px above and below */
.pl-sec { padding: 48px 0; border-top: 1px solid var(--p-line); }
.pl-sec h2, .pl-about h2 { font: 700 22px/26px var(--font-urbanist); letter-spacing: -.01em; color: var(--p-plum); text-wrap: balance; }
.pl-sec > h2 { margin-bottom: 24px; }
.pl-sec--bare { padding: 0; border-top: 0; }
.pl-sec--good { padding-top: 48px; border-top: 0; }
.pl-sec--end { padding-bottom: 107px; } /* the footer rides 58.5px up over the end of the page */
.pl-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; min-height: 32px; }
.pl-sec__head h2 { margin-bottom: 4px; }
.pl-sub { margin: -8px 0 16px; font: 400 15px/22px var(--font-ui); color: var(--p-grey); }
.pl-subhead { margin: -8px 0 24px; font: 400 16px/20px var(--font-ui); overflow-wrap: anywhere; }

/* vets nearby: a scroll-snap row, two cards a page on desktop */
.pl-car { display: flex; margin: 0 -8px; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
html.js .pl-car { scrollbar-width: none; }
html.js .pl-car::-webkit-scrollbar { display: none; }
.pl-car:focus-visible { outline-offset: -3px; border-radius: 12px; }
.pl-car__item { flex: 0 0 50%; min-width: 0; padding: 8px; scroll-snap-align: start; }
.pl-car__ctl { display: flex; align-items: center; gap: 12px; }
.pl-car__count { margin-right: 4px; font: 400 14px/18px var(--font-ui); font-variant-numeric: tabular-nums; }
.pl-arrow { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid rgb(0 0 0 / .08); border-radius: 50%; background: #fff; color: var(--p-plum); box-shadow: 0 2px 4px rgb(0 0 0 / .18); cursor: pointer; transition: background-color .2s ease, transform .15s var(--ease-out); }
.pl-arrow .icon { width: 14px; height: 14px; stroke-width: 2.5; }
@media (hover: hover) and (pointer: fine) {
.pl-arrow:not(:disabled):hover { background: var(--p-biscuit); } }
.pl-arrow:not(:disabled):active { transform: scale(.94); }
.pl-arrow:disabled { border-color: var(--p-line); box-shadow: none; opacity: .5; cursor: default; }
.pl-ncard { display: block; color: inherit; text-decoration: none; }
.pl-ncard:focus-visible { outline-offset: 2px; border-radius: 10px; }
.pl-ncard__art { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; color: var(--p-plum); }
.pl-ncard__art--catnip { background: var(--p-blush); }
.pl-ncard__art--biscuit { background: var(--p-biscuit); }
.pl-ncard__art--ball { background: var(--p-salmon); color: var(--p-night); }
.pl-ncard__ini { font: 800 clamp(36px, 5vw, 52px)/1 var(--font-urbanist); letter-spacing: -.01em; }
.pl-ncard__dist { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); background: #fff; color: var(--p-plum); font: 600 13px/18px var(--font-ui); }
.pl-ncard__dist .icon { width: 14px; height: 14px; }
.pl-ncard__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 16px; font: 600 16px/20px var(--font-ui); overflow-wrap: anywhere; }
.pl-ncard__sub { display: block; margin-top: 4px; font: 400 14px/18px var(--font-ui); color: var(--p-grey); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
.pl-ncard:hover .pl-ncard__name { text-decoration: underline; text-underline-offset: 3px; } }

/* what this listing includes */
.pl-amen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; margin: 0; padding: 0; list-style: none; }
.pl-amen__it { display: flex; align-items: center; gap: 16px; min-height: 24px; font: 400 16px/20px var(--font-ui); }
.pl-amen__ico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; }
.pl-amen__ico .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.pl-amen__txt { min-width: 0; overflow-wrap: anywhere; }
.pl-amen__it.is-off { color: var(--p-grey); }
.pl-amen__it.is-off .pl-amen__lbl { text-decoration: line-through; }
.pl-amen__note { font: 600 13px/16px var(--font-ui); color: var(--p-grey); white-space: nowrap; }

/* opening hours */
.pl-hours { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--p-line); border-radius: 12px; font: 400 16px/20px var(--font-ui); }
.pl-hours th, .pl-hours td { padding: 12px 16px; border-top: 1px solid var(--p-line); }
.pl-hours tr:first-child > * { border-top: 0; }
.pl-hours th { text-align: left; font-weight: 500; }
.pl-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.pl-hours tr:first-child > :first-child { border-top-left-radius: 11px; }
.pl-hours tr:first-child > :last-child { border-top-right-radius: 11px; }
.pl-hours tr:last-child > :first-child { border-bottom-left-radius: 11px; }
.pl-hours tr:last-child > :last-child { border-bottom-right-radius: 11px; }
.pl-hours tr.is-today > * { background: var(--p-blush); font-weight: 700; }
.pl-hours tr.is-today th::after { content: 'Today'; margin-left: 10px; padding: 3px 8px; border-radius: var(--r-pill); background: var(--p-plum); color: #fff; font: 600 12px/16px var(--font-ui); vertical-align: 2px; }
.pl-empty { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 12px; background: var(--p-biscuit); color: var(--p-plum); }
.pl-empty .icon { margin-top: 2px; }

/* ------------------------------------------------------------------------------------------- the contact card */
.pl-card { padding: 24px; border: 1px solid var(--p-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgb(0 0 0 / .12); }
.pl-numblock { display: flex; flex-direction: column; padding-bottom: 24px; }
.pl-num { font: 700 22px/26px var(--font-urbanist); letter-spacing: -.01em; color: var(--p-plum); overflow-wrap: anywhere; }
.pl-unit { font: 400 16px/20px var(--font-ui); color: var(--p-grey); }
.pl-unit a { color: var(--p-plum); font-weight: 600; text-underline-offset: 3px; }
.pl-fields { margin-bottom: 16px; overflow: hidden; border: 1px solid var(--pl-line); border-radius: 8px; }
.pl-fields__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--pl-line); }
.pl-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; min-height: 55px; padding: 12px; color: inherit; text-decoration: none; }
.pl-fields__row .pl-cell + .pl-cell { border-left: 1px solid var(--pl-line); }
.pl-fields > .pl-cell { border: 0; }
@media (hover: hover) and (pointer: fine) {
a.pl-cell:hover { background: var(--p-biscuit); } }
.pl-cell:focus-visible { outline-offset: -3px; border-radius: 0; }
.pl-lbl { font: 600 10px/12px var(--font-ui); letter-spacing: .02em; }
.pl-val { font: 400 14px/18px var(--font-ui); overflow-wrap: anywhere; }
.pl-cell[target] .pl-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-v--mute, .pl-v--mute a { font-size: 14px; }
.pl-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 14px 24px; border-radius: 8px; font: 600 16px/20px var(--font-ui); text-align: center; text-decoration: none; transition: background-color .2s ease, transform .15s var(--ease-out); }
.pl-btn:active { transform: scale(.98); }
.pl-btn .icon { width: 18px; height: 18px; }
.pl-btn--den { background: var(--p-night); color: #fff; }
@media (hover: hover) and (pointer: fine) {
.pl-btn--den:hover { background: color-mix(in oklab, var(--p-night) 86%, white); } }
.pl-btn--line { background: #fff; color: var(--p-plum); box-shadow: inset 0 0 0 1px var(--p-plum); }
@media (hover: hover) and (pointer: fine) {
.pl-btn--line:hover { background: rgb(42 74 47 / .07); } }
.pl-btn--auto { display: inline-flex; width: auto; }
.pl-btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.pl-btns.is-one { grid-template-columns: minmax(0, 1fr); }
.pl-btns .pl-btn { padding: 12px 8px; font-size: 15px; line-height: 18px; }
.pl-cap { margin-top: 8px; text-align: center; font: 400 14px/18px var(--font-ui); }
.pl-contact { margin: 24px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--p-line); }
.pl-contact li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 36px; align-items: center; column-gap: 8px; min-height: 44px; padding: 4px 0; }
.pl-k { font: 600 14px/18px var(--font-ui); color: var(--p-grey); }
.pl-v { grid-column: 2; min-width: 0; font: 500 16px/20px var(--font-ui); color: var(--p-plum); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
a.pl-v:hover { text-decoration: underline; text-underline-offset: 3px; } }
.pl-copy { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--p-plum); cursor: pointer; transition: background-color .2s ease, transform .15s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.pl-copy:hover { background: var(--p-biscuit); } }
.pl-copy:active { transform: scale(.92); }
.pl-copy .icon { width: 18px; height: 18px; }

.pl-quiet { display: flex; align-items: flex-start; gap: 16px; margin-top: 24px; padding: 24px; border: 1px solid var(--p-line); border-radius: 12px; background: #fff; }
.pl-quiet__chip { display: grid; place-items: center; flex: none; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: var(--p-blush); }
.pl-quiet__chip img { width: 22px; height: 22px; object-fit: contain; }
.pl-quiet h2 { font: 600 16px/20px var(--font-ui); }
.pl-quiet p { margin-top: 4px; font: 400 14px/18px var(--font-ui); color: var(--p-grey); }
.pl-quiet p a { color: var(--p-plum); font-weight: 600; text-underline-offset: 3px; }
.pl-report { margin-top: 24px; text-align: center; }
.pl-report a { display: inline-flex; align-items: center; gap: 8px; padding: 2px 8px; border-radius: 4px; color: var(--p-grey); font: 600 14px/18px var(--font-ui); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
.pl-report a:hover { color: var(--p-plum); } }
.pl-report .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------------------------------------- full-width sections */
.pl-map { --map-h: clamp(300px, 43.5vw, 488px); position: relative; height: var(--map-h); overflow: hidden; border-radius: 8px; background: var(--p-biscuit); }
.pl-map .pl-art { bottom: auto; height: var(--map-h); }
.pl-map .pl-pinwrap { top: calc(var(--map-h) / 2); }
.pl-map__btns { position: absolute; z-index: 2; top: 24px; right: 24px; display: flex; gap: 8px; }
.pl-map__btns a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 8px; background: #fff; color: var(--p-plum); font: 600 14px/18px var(--font-ui); text-decoration: none; box-shadow: 0 6px 16px rgb(0 0 0 / .12); }
@media (hover: hover) and (pointer: fine) {
.pl-map__btns a:hover { background: var(--p-biscuit); } }
.pl-map__btns .icon { width: 16px; height: 16px; }
.pl-note { margin-top: 24px; font: 400 16px/20px var(--font-ui); }
.pl-about { margin-top: 24px; padding-top: 40px; border-top: 1px solid var(--p-line); }
.pl-about p { margin-top: 16px; font: 400 16px/24px var(--font-ui); }
.pl-about .pl-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.pl-link { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; color: var(--p-plum); font: 600 16px/20px var(--font-ui); text-decoration: underline; text-underline-offset: 3px; }
.pl-link .icon { width: 12px; height: 12px; stroke-width: 2.5; }

.pl-panel { padding: 40px 48px 24px; border-radius: 16px; background: var(--p-biscuit); }
.pl-panel__row { display: grid; grid-template-columns: minmax(0, 395fr) minmax(0, 565fr); gap: 64px; align-items: start; }
.pl-panel__left { display: grid; gap: 32px; min-width: 0; }
.pl-panel__right { display: grid; gap: 32px; min-width: 0; }
.pl-panel h3 { font: 600 18px/24px var(--font-ui); }
.pl-panel__right p { margin-top: 16px; font: 400 16px/24px var(--font-ui); }
.pl-profile { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; padding: 32px 24px; border: 1px solid rgb(0 0 0 / .04); border-radius: 24px; background: #fff; box-shadow: 0 6px 10px rgb(0 0 0 / .2); }
.pl-profile__id { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; gap: 8px; min-width: min(150px, 100%); max-width: 100%; text-align: center; }
.pl-profile__av { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--p-salmon); color: var(--p-night); font: 800 36px/1 var(--font-urbanist); user-select: none; }
.pl-profile__id h3 { font: 700 22px/26px var(--font-urbanist); letter-spacing: -.01em; overflow-wrap: anywhere; text-wrap: balance; }
.pl-profile__kind { display: inline-flex; align-items: center; gap: 4px; font: 600 14px/18px var(--font-ui); }
.pl-profile__kind .icon { width: 14px; height: 14px; }
.pl-stats { display: grid; width: 96px; }
.pl-stat { padding: 12px 0; border-top: 1px solid var(--p-line); }
.pl-stat:first-child { padding-top: 0; border-top: 0; }
.pl-stat:last-child { padding-bottom: 0; }
.pl-stat__v { display: block; font: 700 18px/22px var(--font-urbanist); letter-spacing: -.01em; }
.pl-stat__k { display: block; margin-top: 2px; font: 600 12px/16px var(--font-ui); }
.pl-facts2 { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pl-facts2 li { display: flex; align-items: flex-start; gap: 12px; font: 400 16px/20px var(--font-ui); }
.pl-facts2 .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.pl-facts2 span { padding-top: 2px; min-width: 0; overflow-wrap: anywhere; }
.pl-panel__note { display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--pl-line); font: 400 13px/18px var(--font-ui); }
.pl-panel__right > .pl-panel__note { margin-top: 0; }
.pl-panel__note .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.pl-panel__note a { color: var(--p-plum); font-weight: 600; text-underline-offset: 3px; }
.pl-panel__note span { min-width: 0; }

.pl-good { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
.pl-good h3 { font: 600 16px/20px var(--font-ui); }
.pl-good ul { display: grid; gap: 16px; margin: 12px 0 0; padding: 0; list-style: none; font: 400 16px/20px var(--font-ui); }
.pl-good a { font-weight: 600; text-underline-offset: 3px; }

/* ------------------------------------------------------------------------------------------- phone call bar and toast */
.mbar { position: fixed; inset: auto 0 0 0; z-index: 40; display: none; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(252 250 247 / .96); border-top: 1px solid var(--p-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mbar .btn { flex: 1; min-width: 0; }
.mbar .btn--share { flex: none; width: 48px; padding: 0; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--r-pill); background: var(--p-night); color: #fff; font: 600 14.5px/1.2 var(--font-ui); box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------------------------------- widths */
@media (min-width: 1000px) {
  .pl-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .pl-sticky { width: min(372px, 100%); margin-left: auto; }
}
@media (min-width: 1000px) and (min-height: 820px) {
  .pl-sticky { position: sticky; top: 91px; }
}
@media (max-width: 999.98px) {
  .mbar { display: flex; }
  body.has-mbar .foot { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .pl-side { padding-top: 48px; border-top: 1px solid var(--p-line); }
  .pl-sticky { max-width: 560px; margin-inline: auto; }
  .pl-panel__row { gap: 40px; }
}
@media (max-width: 899.98px) {
  .pl-mosaic { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; height: auto; }
  .pl-tile--map { grid-column: 1 / -1; grid-row: auto; min-height: clamp(200px, 38vw, 300px); }
  .pl-tile:not(.pl-tile--map) { min-height: 150px; }
  .pl-panel__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768.98px) {
  .pl-crumbs .crumbs a { min-height: 44px; }
  .pl-titlerow { flex-direction: column; gap: 4px; padding-top: 4px; }
  .pl-titlerow h1 { flex: none; width: 100%; font-size: 24px; line-height: 28px; }
  .pl-actions { margin: 0 0 0 -8px; }
  .pl-act { min-height: 44px; }
  .pl-gal { padding-top: 12px; }
  .pl-cols { padding-top: 24px; }
  .pl-sec { padding: 40px 0; }
  .pl-sec--end { padding-bottom: 99px; }
  .pl-sec--good { padding-top: 40px; }
  .pl-sec > h2 { margin-bottom: 20px; }
  .pl-car__ctl { display: none !important; }
  .pl-car__item { flex-basis: min(296px, 82%); }
  .pl-more { min-height: 44px; margin-top: 4px; }
  .pl-copy { width: 44px; height: 44px; }
  .pl-contact li { grid-template-columns: 72px minmax(0, 1fr) 44px; }
  .pl-report a { min-height: 44px; }
  .pl-link { min-height: 44px; }
  .pl-panel { padding: 24px 20px; }
  .pl-good { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pl-about { padding-top: 32px; }
}
@media (max-width: 639.98px) {
  .pl-map { height: auto; padding-top: var(--map-h); --map-h: clamp(260px, 72vw, 340px); }
  .pl-map__btns { position: static; flex-direction: column; padding: 12px; background: var(--p-biscuit); }
  .pl-map__btns a { min-height: 44px; justify-content: center; }
}
@media (max-width: 559.98px) {
  .pl-tile__in { gap: 12px; padding: 16px; }
  .pl-tile__ico { width: 36px; height: 36px; }
  .pl-tile__ico .icon { width: 18px; height: 18px; }
  .pl-tile__val { font-size: 17px; }
  .pl-tile--hours .pl-tile__val, .pl-tile--web .pl-tile__val, .pl-tile--off .pl-tile__val { font-size: 15px; }
  .pl-tile:not(.pl-tile--off) .pl-tile__hint { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pl-tile--off .pl-tile__hint { font-size: 13px; }
  .pl-pill { font-size: 13px; }
}
@media (max-width: 479.98px) {
  .pl-amen { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pl-profile { padding: 24px 16px; }
  .pl-hours th, .pl-hours td { padding-inline: 12px; }
  .pl-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .chip--open .chip__dot { animation: none; }
  .pl-more .icon, a.pl-tile__in::before { transition: none; }
}
@media (max-width: 639.98px) {
  a.pl-v { display: inline-flex; align-items: center; min-height: 44px; }
  .pl-copy { width: 44px; height: 44px; margin-right: -12px; }
  .pl-contact li { grid-template-columns: 72px minmax(0, 1fr) 44px; }
}
/* audit: no-JS state, hover contrast on Biscuit, tap targets and motion */
html.no-js [data-share] { display: none; }
@media (hover: hover) and (pointer: fine) {
a.pl-cell:hover .pl-k, a.pl-cell:hover .pl-aka { color: var(--p-plum); } }
@media (max-width: 639.98px) { .pl-arrow { width: 44px; height: 44px; } .pl-more { min-height: 44px; } .pl-report a { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .pl-arrow, .pl-arrow:not(:disabled):active { transition: none; transform: none; } }
.pl-map__btns--row { position: static; flex-wrap: wrap; margin: 12px 0 0; }
.pl-map__btns--row a { border: 1px solid var(--p-line, #ddd); box-shadow: none; }

.pl-avatar.has-logo, .pl-profile__av.has-logo { background: #fff; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); overflow: hidden; }
.pl-avatar img, .pl-profile__av img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pl-ncard__logo { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }

/* a shop's own logo on its tiles: a white tile with a hairline, the logo contained so a wide wordmark is never cropped */
.pl-av__img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; }
.pl-ncard__logo { grid-area: 1 / 1; width: 64%; height: 64%; padding: 0; box-shadow: none; background: transparent; mix-blend-mode: multiply; }
.lcard__logo { display: block; width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; }

/* Listing cards and shared bits that practice, town, county and hub pages all use. */

.lcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.lcard { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 18px 16px; border: 1px solid var(--p-line); border-radius: 18px; background: var(--p-cream); color: var(--p-plum); text-decoration: none; transition: transform .2s var(--ease-out), box-shadow .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.lcard:hover { transform: translateY(-2px); border-color: var(--p-plum); box-shadow: 0 8px 20px rgb(42 74 47 / .12); } }
/* the logo (or, with none, the service icon) in front of the name */
.lcard__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lcard__head .lcard__name { min-width: 0; }
.lcard__av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; }
.lcard__av--logo { background: #fff; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.lcard__av--logo img { width: 100%; height: 100%; object-fit: contain; }
.lcard__av--ico { background: linear-gradient(180deg, var(--p-blush), var(--p-salmon)); }
.lcard__av--ico img { width: 30px; height: 30px; mix-blend-mode: multiply; }
.lcard__name { font: 700 18px/1.2 var(--font-urbanist); overflow-wrap: anywhere; }
.lcard__addr { font-size: 14px; color: var(--p-grey); }
.lcard__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--p-blush); color: var(--p-plum); font: 600 12.5px/1 var(--font-ui); }
.tag .icon { width: 13px; height: 13px; }
.tag--soft { background: var(--p-biscuit); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pill { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--p-cream); border: 1px solid var(--p-line); color: var(--p-plum); font: 600 14.5px/1 var(--font-ui); text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.pill:hover { background: var(--p-blush); border-color: var(--p-plum); } }
.pill small { margin-left: 8px; color: var(--p-grey); font: 500 12.5px/1 var(--font-ui); }

/* Copy of ~/scruffsy/password/scripts/directory/assets/css/40-town.css (town pages: Forest band, white panel, filters, listing cards). bonnebuy's category and list pages use it as-is. */
/* Town pages (/vets/<town>, /vets/<town>/page/<n>): a Forest header band with a short intro, then the white panel (the same rounded
   top as the practice page) holding the practice cards, filters, pages, nearby towns and two notes. Every class here starts tw-;
   the cards, tags and pills are the shared ones in 30-lists.css. Breadcrumb rules are repeated under .tw-hero so this page does
   not depend on how the practice page styles them. */

.tw-hero { background: var(--hero-bg); color: var(--hero-fg); padding: 20px 0 clamp(92px, 10vw, 112px); }
.tw-hero .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; padding: 0; list-style: none; font: 400 13.33px/20px var(--font-ui); color: var(--p-blush); }
.tw-hero .crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.tw-hero .crumbs li + li::before { content: ''; flex: none; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; margin-right: 2px; }
/* 12px above and below and 6px each side make every link at least 44px square to tap (the word "Home" alone is only 34px wide); the negative margins cancel it out so the trail looks the same */
.tw-hero .crumbs a { display: inline-block; padding: 12px 6px; margin: -6px; color: var(--p-blush); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
.tw-hero .crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
.tw-hero .crumbs [aria-current] { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-weight: 600; }

.tw-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: clamp(20px, 3vw, 36px); }
.tw-eyebrow { font: 700 14px/1.2 var(--font-ui); color: var(--p-salmon); }
.tw-hero h1 { margin-top: 10px; font: 800 clamp(32px, 4.8vw, 60px)/1.05 var(--font-urbanist); color: var(--p-blush); text-wrap: balance; overflow-wrap: anywhere; }
.tw-pageno { margin-top: 10px; font: 700 14px/1.2 var(--font-ui); color: var(--p-salmon); }
.tw-intro { display: grid; gap: 10px; max-width: 64ch; margin-top: 16px; }
.tw-intro p { font: 400 clamp(16px, 1.35vw, 18px)/1.55 var(--font-ui); color: var(--p-blush); }
.tw-intro a { color: #fff; text-underline-offset: 3px; }
/* names come from the data, so prose, labels and chips break an unbroken string rather than push the page wider than a 320px phone */
.tw-eyebrow, .tw-intro p, .tw-head__meta, .tw-sub, .tw-note p, .tw-soon p, .tw-empty, .tw-filters__note, .tw-card .lcard__addr { overflow-wrap: anywhere; }

.tw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tw-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 32px; padding: 5px 13px; border-radius: var(--r-pill); background: rgb(255 255 255 / .12); color: #fff; font: 600 13.33px/1.2 var(--font-ui); overflow-wrap: anywhere; }
.tw-chip .icon { flex: none; width: 15px; height: 15px; }
.tw-chip--emerg { background: var(--p-golden); color: var(--p-night); }

.tw-tile { position: relative; display: none; place-items: center; align-content: center; gap: 2px; width: clamp(132px, 15vw, 176px); aspect-ratio: 1; border-radius: 30%; background: var(--p-salmon); color: var(--p-plum); text-align: center; user-select: none; }
.tw-tile strong { font: 800 clamp(44px, 5.6vw, 68px)/1 var(--font-urbanist); letter-spacing: -.02em; }
.tw-tile span { font: 700 14px/1.2 var(--font-ui); }
.tw-tile img { position: absolute; right: -14%; bottom: -14%; width: 46%; height: auto; transform: rotate(14deg); filter: drop-shadow(0 6px 10px rgb(0 0 0 / .28)); }

/* the panel */
.tw-panel { position: relative; margin-top: -61px; padding: clamp(28px, 3.4vw, 44px) 0 clamp(96px, 10vw, 128px); background: #fff; border-radius: 61px 61px 0 0; }
.tw-panel .wrap > * + * { margin-top: clamp(36px, 4.4vw, 56px); }
.tw-panel h2 { font: 800 clamp(24px, 2.4vw, 30px)/1.15 var(--font-urbanist); letter-spacing: -.01em; color: var(--p-plum); text-wrap: balance; overflow-wrap: anywhere; }
.tw-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.tw-head__meta { font: 500 14.5px/1.3 var(--font-ui); color: var(--p-grey); }
.tw-sub { margin-top: 6px; color: var(--p-grey); font-size: 15px; }

/* filters (shown by 30-town.js; hidden without it) */
.tw-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.tw-filters__label { font: 600 14px/1.2 var(--font-ui); color: var(--p-plum); }
.tw-filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-fbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--p-line); border-radius: var(--r-pill); background: #fff; color: var(--p-plum); font: 600 14.5px/1 var(--font-ui); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.tw-fbtn:hover { border-color: var(--p-plum); background: var(--p-blush); } }
.tw-fbtn:active { transform: scale(.96); }
.tw-fbtn[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.tw-fbtn .icon { display: none; width: 16px; height: 16px; }
.tw-fbtn[aria-pressed="true"] .icon { display: block; }
.tw-filters__count { flex-basis: 100%; min-height: 1.4em; font: 600 14.5px/1.4 var(--font-ui); color: var(--p-plum); }
.tw-filters__count:empty { display: none; }
.tw-filters__note { flex-basis: 100%; margin-top: -4px; font-size: 13.5px; color: var(--p-grey); }
.tw-filters__note:empty { display: none; }
.tw-empty { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--p-biscuit); color: var(--p-plum); }
.tw-linkbtn { padding: 12px 4px; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* cards: the whole card is the link (stretched), so one tap target per practice */
.tw-cards { margin-top: 20px; }
.tw-card__link { color: inherit; text-decoration: none; }
.tw-card__link::after { content: ''; position: absolute; inset: 0; }
@media (hover: hover) and (pointer: fine) {
.tw-card:hover .tw-card__link { text-decoration: underline; text-underline-offset: 3px; } }
@supports selector(:has(*)) {
  .tw-card__link:focus-visible { outline: none; }
  .tw-card:has(.tw-card__link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
}
.tw-tags { list-style: none; padding-left: 0; }   /* the tags stay pinned to the bottom of the card: .lcard__meta sets margin-top: auto */
.tw-tag--open { background: var(--p-salmon); color: var(--p-night); }
.tw-tag--soon, .tw-tag--emerg { background: var(--p-golden); color: var(--p-night); }

/* pages */
.tw-pager { margin-top: 28px; }
.tw-pager__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tw-pg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--p-line); border-radius: var(--r-pill); background: #fff; color: var(--p-plum); font: 600 15px/1 var(--font-ui); text-decoration: none; font-variant-numeric: tabular-nums; transition: background-color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.tw-pg:hover { border-color: var(--p-plum); background: var(--p-blush); } }
.tw-pg.is-current { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.tw-pg--step { padding: 0 18px; }
.tw-pg--step .icon { width: 16px; height: 16px; }
.tw-pg--prev .icon { transform: scaleX(-1); }
.tw-gap { min-width: 24px; text-align: center; color: var(--p-grey); font-weight: 700; }

/* nearby towns */
.tw-near .pills { margin-top: 16px; }
.tw-near .pills + .pills { margin-top: 10px; }
.tw-near .pill { min-height: 44px; max-width: 100%; padding-block: 8px; line-height: 1.25; overflow-wrap: anywhere; }   /* a very long town name wraps inside its pill */
@media (hover: hover) and (pointer: fine) {
.tw-near .pill:hover small { color: var(--p-plum); } }

/* notes */
.tw-split { display: grid; gap: 20px; }
.tw-note { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--p-line); border-radius: 23px; background: #fff; }
.tw-note h2 { font-size: clamp(21px, 2vw, 25px); }
.tw-note p { margin-top: 10px; font-size: 15.5px; }
.tw-note a:not(.btn) { color: var(--p-plum); text-underline-offset: 3px; }
.tw-fine { font-size: 13.5px !important; color: var(--p-grey); }
.tw-note__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px !important; }
.tw-note__link { display: inline-block; padding: 12px 0; font-size: 14.5px; }

/* the quiet "opening soon" card */
.tw-soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px clamp(18px, 2.4vw, 28px); border-radius: 23px; background: var(--p-biscuit); color: var(--p-plum); }
.tw-panel .tw-soon h2 { font-size: 18px; line-height: 1.25; }
.tw-soon p { margin-top: 4px; max-width: 56ch; font-size: 14.5px; }

@media (min-width: 769px) {
  .tw-tile { display: grid; }
}
@media (min-width: 900px) {
  .tw-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
  /* two equal columns, with a last odd button across both: a button gains a tick when it is pressed, and in a wrapping row that
     pushed its neighbour onto another line, so the list jumped. A fixed grid never reflows. */
  .tw-filters__group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .tw-fbtn { padding: 0 10px; }
  .tw-fbtn:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 768.98px) {
  .tw-hero { padding-bottom: 60px; }
  .tw-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .tw-panel { margin-top: -32px; border-radius: 32px 32px 0 0; }
  .tw-filters__group { flex: 1 1 100%; }         /* its own row under the label, so pressing every filter (each gains a tick) never wraps it onto another line */
  .tw-filters__group .tw-fbtn { flex: 1 1 auto; }
  .tw-soon .btn { width: 100%; }
}

.tw-petnote { margin: 16px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--p-blush); color: var(--p-plum); font: 500 15px/1.4 var(--font-ui); }
.tw-petnote[hidden] { display: none; }

.tw-em { margin: 40px 0 8px; }
.tw-em__l { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.tw-em__i { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.tw-em__n { font-weight: 600; font-size: 1.05rem; color: inherit; text-decoration: none; }
.tw-em__m { font-size: .92rem; color: #5b6168; }
.tw-em__t { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: inherit; text-decoration: none; }
.tw-em__t .icon { width: 16px; height: 16px; }
/* the phone number on a practice card: a call link above the card's stretched link, with a 44px tap area */
.tw-tag--tel { padding: 0; }
.tw-tag--tel a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px; color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
.tw-tag--tel a::before { content: ''; position: absolute; inset: -9px -2px; }
@media (hover: hover) and (pointer: fine) {
.tw-tag--tel a:hover { text-decoration: underline; text-underline-offset: 2px; } }

/* questions and answers on a town page (the same block is used on the service town pages) */
.tw-faq { margin: 40px 0 8px; }
.tw-faq__l { display: grid; gap: 14px; margin-top: 14px; }
.tw-faq__i { padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.tw-faq__i h3 { margin: 0 0 6px; font: 700 1.05rem/1.35 var(--font-urbanist); }
.tw-faq__i p { margin: 0; max-width: 68ch; overflow-wrap: anywhere; }

/* Practice cards, from the Fareline phone listing card: a white card on a hairline border, the facts, a rule, then one full-width pill in Scruffsy green.
   The pill is a picture of a button: the stretched name link above is the one real tap target. */
.tw-card { gap: 6px; padding: 20px 18px 18px; border: 1.5px solid var(--p-line); border-radius: 20px; background: #fff; box-shadow: 0 2px 3px rgb(42 74 47 / .06); }
.tw-card .lcard__name { font: 600 17px/1.25 var(--font-urbanist); letter-spacing: -.01em; }
.tw-card .lcard__addr { font-size: 14px; line-height: 1.4; color: var(--p-grey); }
.tw-card .lcard__meta { padding-top: 12px; padding-bottom: 14px; }
.tw-card .lcard__meta + .tw-pricesrc { margin-top: -6px; margin-bottom: 14px; }
.lcard__cta { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; margin-top: auto; border: 1.5px solid #7fbd68; border-radius: 999px; background: linear-gradient(180deg, var(--p-green), var(--p-meadow)); box-shadow: 0 3px 3px rgb(59 125 49 / .3), inset 0 1px 2px rgb(255 255 255 / .3); color: #fff; font: 600 15px/1 var(--font-ui); transition: transform .16s var(--ease-out), filter .16s ease; }
.tw-card > .lcard__meta, .tw-card > .tw-pricesrc { position: relative; }
.tw-card > .lcard__cta { position: relative; z-index: 1; text-decoration: none; }   /* a real link, above the card's stretched one, so the button and the whole card both open the practice (owner, 2026-11-16) */
.tw-card .lcard__meta { border-bottom: 1px solid #ebe9e6; margin-bottom: 14px; padding-bottom: 14px; }
.tw-card:active .lcard__cta { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
.tw-card:hover { border-color: var(--p-green); box-shadow: 0 8px 20px rgb(42 74 47 / .12); }
.tw-card:hover .lcard__cta { filter: brightness(1.06); } }

/* Copy of ~/scruffsy/password/scripts/directory/assets/css/50-hub.css (hub hero, panel, A to Z, trust block, big search box). */
/* The hub (/vets/, classes hb-) and the for-practices page (/vets/for-practices, classes fp-), plus the big search box (.psearch--hero).
   Both pages follow the practice page's shape: a Forest hero, then a white panel with a rounded top. The hub ends with a Forest band
   before the footer. The base search pill (15-search.css) is overridden here, not edited. Colours come from the tokens in 00-base.css. */

/* ------------------------------------------------------------------ hero */
.hb-hero, .fp-hero { position: relative; background: var(--hero-bg); color: var(--hero-fg); padding: 20px 0 clamp(96px, 10vw, 124px); } /* no z-index here: the suggestion panel must stay above the white panel that follows */
.hb-hero { background: radial-gradient(ellipse 70% 60% at 50% 32%, rgb(255 255 255 / .07), transparent 72%), var(--hero-bg); text-align: center; }

/* breadcrumbs: same look as the practice page, kept here so this page doesn't depend on where that rule lives */
:is(.hb-hero, .fp-hero) .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; padding: 0; list-style: none; font: 400 13.33px/20px var(--font-ui); color: var(--p-blush); text-align: left; }
:is(.hb-hero, .fp-hero) .crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
:is(.hb-hero, .fp-hero) .crumbs li + li::before { content: ''; flex: none; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; margin-right: 2px; }
:is(.hb-hero, .fp-hero) .crumbs a { padding: 6px 0; color: var(--p-blush); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
:is(.hb-hero, .fp-hero) .crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
:is(.hb-hero, .fp-hero) .crumbs [aria-current] { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-weight: 600; }

.hb-hero h1 { margin: clamp(10px, 2.4vw, 26px) auto 0; font: 800 clamp(38px, 6vw, 72px)/1.02 var(--font-urbanist); letter-spacing: -.02em; color: var(--p-blush); text-wrap: balance; }
.hb-hero__lead { margin: 14px auto 0; font: 500 clamp(17px, 1.7vw, 21px)/1.4 var(--font-ui); color: var(--p-cream); }
.hb-hero__form { margin-top: clamp(24px, 3vw, 36px); }
.hb-nojs { display: none; margin: 14px auto 0; max-width: 34em; font-size: 14.5px; color: var(--p-blush); }
.no-js .hb-nojs { display: block; }

/* decoration: only where there is room beside the box; it clips itself, never the suggestion panel */
.hb-hero__deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: none; }
.hb-hero__deco img { position: absolute; height: auto; filter: drop-shadow(0 14px 18px rgb(0 0 0 / .28)); }
.hb-hero__steth { top: 150px; right: max(2vw, calc(50% - 640px)); width: 168px; transform: rotate(10deg); }
.hb-hero__paw { top: 262px; left: max(2vw, calc(50% - 640px)); width: 120px; transform: rotate(-16deg); }
@media (min-width: 1240px) { .hb-hero__deco { display: block; } }

/* popular towns */
.hb-pop { max-width: 600px; margin: clamp(26px, 3vw, 36px) auto 0; } /* narrow enough that ten pills wrap into two even rows */
.hb-pop__label { font: 700 14px/1 var(--font-ui); letter-spacing: 0; color: var(--p-salmon); }
.hb-pop__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.hb-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); color: #fff; font: 600 15px/1 var(--font-ui); text-decoration: none; transition: background-color .2s ease, transform .15s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.hb-pill:hover { background: rgb(255 255 255 / .22); } }
.hb-pill:active { transform: scale(.97); }

/* ----------------------------------------------- the big search box (hub only) */
.psearch--hero { width: min(100%, 720px); height: 68px; margin-inline: auto; padding: 0 8px 0 10px; box-shadow: 0 10px 30px rgb(0 0 0 / .28); text-align: left; }
@media (hover: hover) and (pointer: fine) {
.psearch--hero:hover { box-shadow: 0 14px 38px rgb(0 0 0 / .34); } }
.psearch--hero:focus-within { outline-offset: 3px; box-shadow: 0 14px 38px rgb(0 0 0 / .36); }
.psearch--hero .psearch__ico { width: 48px; height: 48px; }
.psearch--hero .psearch__lead { padding: 0 20px 0 14px; font-size: 18px; letter-spacing: -.01em; }
.psearch--hero .psearch__sep { height: 32px; }
.psearch--hero .psearch__go { width: 52px; height: 52px; }
.psearch--hero .psearch__go .icon { width: 22px; height: 22px; }
.psearch--hero .psearch__panel { top: calc(100% + 12px); left: 0; width: 100%; max-height: min(62vh, 560px); border-radius: 28px; transform: none; }
.psearch--hero .sopt a { padding: 10px 14px; }
@media (max-width: 768.98px) {
  .psearch--hero { height: 60px; padding: 0 7px 0 8px; }
  .psearch--hero .psearch__ico { width: 40px; height: 40px; }
  .psearch--hero .psearch__go { width: 46px; height: 46px; }
  .psearch--hero .psearch__panel { border-radius: 24px; max-height: min(60vh, 460px); }
}

/* ----------------------------------------------------------------- panel */
.hb-panel, .fp-panel { position: relative; margin-top: -61px; padding: clamp(32px, 4vw, 56px) 0 clamp(100px, 10vw, 132px); background: #fff; border-radius: 61px 61px 0 0; }
.hb-sec + .hb-sec, .fp-sec + .fp-sec { margin-top: clamp(52px, 6.5vw, 84px); }
:is(.hb-sec, .fp-sec) h2 { font: 800 clamp(26px, 3.2vw, 38px)/1.1 var(--font-urbanist); letter-spacing: -.015em; color: var(--p-plum); text-wrap: balance; }
:is(.hb-sec__sub, .fp-sec__sub) { margin-top: 8px; max-width: 62ch; font-size: 16px; color: var(--p-grey); } /* Husky: on white only */

/* search results (built by 50-hub.js; an empty live region until then) */
.hb-results { scroll-margin-top: 0; } /* the page already keeps 88px clear for the sticky header (00-base.css) */
.hb-results:not(:empty) { margin-bottom: clamp(48px, 6vw, 72px); }
.hb-results__box { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--p-line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-card); }
.hb-results__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.hb-results__title { font: 800 clamp(22px, 2.6vw, 30px)/1.15 var(--font-urbanist); letter-spacing: -.01em; color: var(--p-plum); overflow-wrap: anywhere; }
.hb-results__clear { display: inline-flex; align-items: center; min-height: 44px; color: var(--p-plum); font-size: 15px; text-underline-offset: 3px; }
.hb-results__note { margin-top: 2px; color: var(--p-grey); font-size: 15px; overflow-wrap: anywhere; }
.hb-group { margin-top: 22px; }
.hb-group .hb-results__note { margin-top: 12px; }
.hb-group__h { font: 700 18px/1.2 var(--font-urbanist); color: var(--p-plum); }
.hb-rlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.hb-ritem { display: flex; align-items: center; gap: 12px; min-height: 64px; height: 100%; padding: 10px 14px; border: 1px solid var(--p-line); border-radius: 16px; background: #fff; color: var(--p-plum); text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.hb-ritem:hover { background: var(--p-blush); border-color: var(--p-plum); } }
.hb-ritem__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--p-biscuit); }
@media (hover: hover) and (pointer: fine) {
.hb-ritem:hover .hb-ritem__ico { background: #fff; } }
.hb-ritem__txt { min-width: 0; }
.hb-ritem__main { display: block; font: 700 16px/1.25 var(--font-ui); overflow-wrap: anywhere; }
.hb-ritem__sub { display: block; margin-top: 2px; font: 400 13.5px/1.35 var(--font-ui); color: var(--p-grey); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
.hb-ritem:hover .hb-ritem__sub { color: var(--p-plum); } } /* Husky on Catnip is under 4.5:1 */
.hb-ritem mark { background: transparent; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--p-green); text-underline-offset: 3px; }
.hb-empty { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: var(--r-md); background: var(--p-biscuit); color: var(--p-plum); }
.hb-empty .icon { flex: none; margin-top: 2px; }
.hb-empty__txt { min-width: 0; overflow-wrap: anywhere; } /* a long unbroken search can't push the box wider than the screen */
.hb-empty p + p { margin-top: 8px; }
.hb-empty__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* counties and nations: one column on phones (the longest name, Northamptonshire, needs about 155px), then 2, 3 and 4 columns */
.hb-counties { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.hb-county { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; height: 100%; padding: 10px 14px 10px 16px; border: 1px solid var(--p-line); border-radius: 16px; background: #fff; color: var(--p-plum); text-decoration: none; transition: transform .2s var(--ease-out), box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.hb-county:hover { transform: translateY(-1px); border-color: var(--p-plum); background: var(--p-blush); box-shadow: 0 8px 20px rgb(42 74 47 / .1); } }
.hb-county__txt { display: grid; gap: 2px; min-width: 0; }
.hb-county__name { font: 700 17px/1.2 var(--font-urbanist); overflow-wrap: anywhere; }
.hb-county__n { font-size: 13.5px; color: var(--p-grey); }
@media (hover: hover) and (pointer: fine) {
.hb-county:hover .hb-county__n { color: var(--p-plum); } } /* Husky on Catnip is under 4.5:1 */
.hb-county .icon { width: 18px; height: 18px; opacity: .65; }
.hb-county--nation { border-color: transparent; background: var(--p-blush); }
.hb-county--nation .hb-county__n { color: var(--p-plum); } /* Husky never on Catnip */
@media (hover: hover) and (pointer: fine) {
.hb-county--nation:hover { border-color: var(--p-plum); } }

/* towns A to Z */
.hb-jump { margin-top: 22px; }
.hb-jump ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hb-jump a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border: 1px solid var(--p-line); border-radius: 14px; background: var(--p-cream); color: var(--p-plum); font: 700 16px/1 var(--font-urbanist); text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.hb-jump a:hover { background: var(--p-blush); border-color: var(--p-plum); } }
.hb-az { margin-top: 26px; border-top: 1px solid var(--p-line); }
.hb-letter { display: grid; gap: 2px 28px; padding: 18px 0 20px; border-bottom: 1px solid var(--p-line); }
.hb-letter__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hb-letter__h { font: 800 clamp(32px, 4vw, 44px)/1 var(--font-urbanist); color: var(--p-plum); scroll-margin-top: 0; }
.hb-letter__top { display: inline-flex; align-items: center; min-height: 44px; color: var(--p-plum); font-size: 14px; text-underline-offset: 3px; }
.hb-towns { columns: 2; column-gap: 12px; margin: 0; padding: 0; list-style: none; }
.hb-towns li { break-inside: avoid; }
.hb-town { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 10px; color: var(--p-plum); font: 500 16px/1.3 var(--font-ui); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
.hb-town:hover { background: var(--p-blush); } }
.hb-town__name { min-width: 0; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
.hb-town:hover .hb-town__name { text-decoration: underline; text-underline-offset: 3px; } }
.hb-town__n { flex: none; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--p-grey); }
@media (hover: hover) and (pointer: fine) {
.hb-town:hover .hb-town__n { color: var(--p-plum); } } /* Husky on Catnip is under 4.5:1 */

/* how this directory works */
.hb-trust { padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--p-biscuit); }
.hb-trust__grid { display: grid; gap: 26px; margin-top: 26px; }
.hb-fact { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-content: start; }
.hb-fact__ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--p-plum); }
.hb-fact h3 { align-self: center; font: 800 19px/1.2 var(--font-urbanist); color: var(--p-plum); }
.hb-fact p { grid-column: 2; font-size: 15.5px; color: var(--p-plum); }
.hb-fact a, .fp-note a, .fp-qa a, .fp-step a, .hb-sec__sub a { color: var(--p-plum); text-underline-offset: 3px; }

/* the Opening soon band */
.hb-band { position: relative; margin-top: -61px; padding: clamp(56px, 6vw, 80px) 0 calc(58.5px + clamp(44px, 5vw, 60px)); border-radius: 61px 61px 0 0; background: var(--p-plum); color: var(--p-cream); }
.hb-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.hb-band__txt { max-width: 40em; }
.hb-band h2 { font: 800 clamp(24px, 3vw, 34px)/1.15 var(--font-urbanist); letter-spacing: -.01em; color: var(--p-blush); text-wrap: balance; }
.hb-band p { margin-top: 10px; color: var(--p-blush); }

/* -------------------------------------------------------- for practices */
.fp-kicker { margin-top: clamp(20px, 3vw, 36px); font: 700 14px/1.2 var(--font-ui); color: var(--p-salmon); }
.fp-hero h1 { max-width: 20em; margin-top: 10px; font: 800 clamp(32px, 4.8vw, 58px)/1.06 var(--font-urbanist); letter-spacing: -.015em; color: var(--p-blush); text-wrap: balance; }
.fp-hero__lead { max-width: 44em; margin-top: 16px; font: 400 clamp(17px, 1.6vw, 20px)/1.5 var(--font-ui); color: var(--p-blush); }
.fp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.fp-steps { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: fp; }
.fp-step { padding: 22px; border: 1px solid var(--p-line); border-radius: 23px; background: #fff; box-shadow: 0 1px 2px rgb(42 74 47 / .04); }
.fp-step::before { counter-increment: fp; content: counter(fp); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--p-salmon); color: var(--p-night); font: 800 18px/1 var(--font-urbanist); }
.fp-step h3, .fp-askcard h3, .fp-do h3 { font: 800 20px/1.2 var(--font-urbanist); color: var(--p-plum); }
.fp-step p, .fp-askcard p, .fp-do p { margin-top: 6px; font-size: 15.5px; }

.fp-fields { display: grid; margin: 22px 0 0; border-top: 1px solid var(--p-line); }
.fp-fields > div { display: grid; grid-template-columns: minmax(120px, 170px) minmax(0, 1fr) minmax(0, 15em); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--p-line); }
.fp-fields dt { font: 800 18px/1.3 var(--font-urbanist); color: var(--p-plum); }
.fp-fields dd { margin: 0; font-size: 15.5px; }
.fp-fields__n { color: var(--p-grey); font-size: 14.5px; } /* Husky: on white only */
.fp-note { max-width: 62ch; margin-top: 18px; font-size: 14.5px; color: var(--p-grey); }

.fp-ask { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.fp-askcard { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid var(--p-line); border-radius: 23px; background: #fff; box-shadow: 0 1px 2px rgb(42 74 47 / .04); }
.fp-askcard .btn { margin-top: auto; }
.fp-askcard p { margin-bottom: 18px; }

.fp-do { display: grid; gap: 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.fp-do li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; align-content: start; }
.fp-do__ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--p-blush); color: var(--p-plum); }
.fp-do h3 { align-self: center; font-size: 19px; }
.fp-do p { grid-column: 2; margin-top: 0; }

.fp-faq { display: grid; margin-top: 22px; border-top: 1px solid var(--p-line); }
.fp-qa { padding: 20px 0; border-bottom: 1px solid var(--p-line); }
.fp-qa h3 { font: 800 19px/1.25 var(--font-urbanist); color: var(--p-plum); }
.fp-qa p { max-width: 62ch; margin-top: 6px; font-size: 16px; }

.fp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(52px, 6.5vw, 84px); padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--p-night); color: var(--p-cream); }
.fp-cta h2 { font: 800 clamp(22px, 2.6vw, 30px)/1.15 var(--font-urbanist); color: var(--p-blush); }
.fp-cta p { margin-top: 6px; color: var(--p-blush); }

/* ------------------------------------------------------------ wider screens */
@media (min-width: 480px) {
  .hb-counties { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (min-width: 640px) {
  .hb-towns { columns: 3; }
  /* each way to ask is a row: words on the left, the email button on the right */
  .fp-askcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 28px; padding: 22px 26px; }
  .fp-askcard h3, .fp-askcard p { grid-column: 1; }
  .fp-askcard p { margin: 0; }
  .fp-askcard .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
@media (min-width: 760px) {
  .hb-counties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .fp-do, .fp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-do { gap: 28px; }
}
@media (min-width: 769px) {
  .hb-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 52px; }
  .hb-letter { grid-template-columns: 120px minmax(0, 1fr); align-items: start; padding: 22px 0 26px; }
  .hb-letter__head { position: sticky; top: 96px; flex-direction: column; align-items: flex-start; gap: 0; }
  .hb-letter__top { font-size: 13.5px; }
  .hb-town { min-height: 38px; padding: 6px 10px; }
  .hb-jump a { height: 42px; min-width: 42px; }
}
@media (min-width: 1000px) {
  .hb-counties { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .hb-towns { columns: 4; }
}

/* reduced motion: 00-base.css already ends every transition at once; this also removes the small lift and press */
@media (prefers-reduced-motion: reduce) {
  .hb-pill:active { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .hb-county:hover { transform: none; } }
}

/* ------------------------------------------------------------------ phones */
@media (max-width: 768.98px) {
  .hb-panel, .fp-panel { margin-top: -32px; border-radius: 32px 32px 0 0; }
  .hb-hero, .fp-hero { padding-bottom: 72px; }
  :is(.hb-hero, .fp-hero) .crumbs a { padding: 12px 8px; min-width: 44px; display: inline-block; text-align: center; box-sizing: border-box; }
  .hb-band { margin-top: -32px; border-radius: 32px 32px 0 0; padding-bottom: calc(40px + 44px); }
  .hb-band .btn { width: 100%; }
  .fp-fields > div { grid-template-columns: minmax(0, 1fr); }
  .fp-hero__actions .btn { flex: 1 1 200px; }
  .fp-cta .btn { width: 100%; }
  .hb-trust { border-radius: 24px; }
}
@media (max-width: 379.98px) {
  .hb-pill { padding: 0 14px; }
}

/* The hub's hero is Scruffsy's home search card: a port of ~/scruffsy/password/scripts/directory/assets/css/55-home.css and
   66-home-mobile.css (the hero, the headline, the chips, the rows, the phone search sheet and the desktop bar). Scruffsy's lime ground
   and green Search become bonnebuy's pale blue and blue; its near-black ink becomes bonnebuy navy. Its camera, Ask Milo, locate,
   popular-town and header-tab rules are left out (bonnebuy has none of them). Behaviour is in js/55-home.js. */

/* ---- the hero: fills the screen under the header, with the white panel peeking from the bottom ---- */
:root { --hm-nav: 60px; --hm-ov: 32px; --hm-peek: clamp(44px, 8svh, 90px); }
@media (min-width: 769px) { :root { --hm-nav: 66px; --hm-ov: 61px; } }
.hm-hero { min-height: calc(100svh - var(--hm-nav) - var(--hm-peek) + var(--hm-ov)); display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, #fff 0%, #f6faff 22%, #e4efff 55%, #cadcff 100%); color: var(--p-night); }
.hm-hero .hb-hero__deco { display: none; }

/* Hero entrance (choreograph): the headline arrives with the page; the card follows in one short cascade. `translate`, not `transform`,
   and fill-mode backwards, so the :active scale still works once they have landed. Off for reduced motion. */
@keyframes hm-rise { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: no-preference) {
  .hm-hero .hb-hero__form { animation: hm-rise .42s var(--ease-out) 110ms backwards; }
  .hm-hero .hb-pop { animation: hm-rise .42s var(--ease-out) 190ms backwards; }
}

/* ---- the headline changes by itself: the old line blurs up and out, the next blurs in from below (js/55-home.js) ---- */
.hm-greet { display: flex; align-items: center; justify-content: center; min-height: 2.3em; text-align: center; text-wrap: balance; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.hm-greet:active { opacity: .7; }
.hm-greet__t { display: inline-block; }
.hm-ico { display: inline-block; margin: 0 .04em; line-height: 1; vertical-align: -.2em; }
.hm-ico img { display: block; width: 1.05em; height: 1.05em; }
.hm-greet__t.is-out { animation: hmGreetOut .35s cubic-bezier(.16, 1, .3, 1) both; }
.hm-greet__t.is-in { animation: hmGreetIn .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hmGreetOut { from { opacity: 1; transform: translateY(0); filter: blur(0); } to { opacity: 0; transform: translateY(-9px); filter: blur(12px); } }
@keyframes hmGreetIn { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .hm-greet__t.is-out, .hm-greet__t.is-in { animation: none; } }

/* the pictures on the chips, the rows and the choices (colour emoji, so they keep their own colours) */
.hm-emo { flex: none; display: grid; place-items: center; width: 28px; height: 28px; font-size: 22px; line-height: 1; }
.hm-emo img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* parts that only exist in one layout */
.hm-x, .hm-bar, .hm-svc, .hm-who, .hm-row, .hm-rx { display: none; }
.hm-card { display: contents; }
.hm-hero [data-cat][hidden], .hm-hero [data-has][hidden] { display: none !important; }   /* a choice that would leave no shops (js/55-home.js) */

/* ================= phones (up to 768px): the card ================= */
@media (max-width: 768.98px) {
  .hm-hero { padding: 48px 0 64px; }   /* the white panel rises 32px into the hero: 64px leaves the card 32px clear of its rounded corner */
  .hm-hero h1 { margin: 0 auto; color: var(--p-night); font: 600 clamp(30px, 9.4vw, 40px)/1.1 var(--font-ui); letter-spacing: -.025em; text-align: center; }
  .hm-hero .hb-hero__form { position: relative; margin-top: 40px; padding: 8px; border-radius: 34px; background: rgb(255 255 255 / .5); box-shadow: 0 0 0 1px rgb(255 255 255 / .7), 0 14px 40px rgb(0 60 160 / .16); text-align: left; }
  .hm-hero .psearch--hero { display: flex; flex-direction: column; align-items: stretch; width: 100%; height: auto; margin: 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .hm-hero .psearch--hero:focus-within { box-shadow: none; outline: 0; }
@media (hover: hover) and (pointer: fine) {
  .hm-hero .psearch--hero:hover { box-shadow: none; outline: 0; } }
  .hm-hero .psearch__go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; margin-top: 12px; border-radius: 999px; background: linear-gradient(180deg, #2f78ff 0%, #0059ff 100%); color: #fff; box-shadow: 0 4px 12px rgb(0 89 255 / .35), inset 0 1px 0 rgb(255 255 255 / .35); font: 600 17px/1 var(--font-ui); }
@media (hover: hover) and (pointer: fine) {
  .hm-hero .psearch__go:hover { background: linear-gradient(180deg, #4287ff 0%, #0b60ff 100%); } }
  .hm-hero .psearch__go:active { transform: scale(.97); }
  .hm-hero .psearch__go .icon { width: 20px; height: 20px; }
  .hm-hero .psearch__golbl { display: inline; }
  .hm-hero .psearch__panel { left: 0; right: 0; width: auto; transform: none; }
  .hm-hero .hb-pop { display: none; }   /* phones: the sheet lists the shops; the Compare pills are under the card on desktop */

  /* the rows on the first screen: Must have, Category, (Country is the first row, js/57-country.js), the same order as the desktop bar (owner, 2026-11-18) */
  .hm-hero:not(.hm-open) .psearch--hero { position: relative; }
  .hm-hero:not(.hm-open) .psearch__go { order: 4; }
  .hm-hero:not(.hm-open) .hm-row.hm-row--cat { order: 2; border-radius: 0 0 26px 26px; }
  .hm-hero:not(.hm-open) .hm-row { display: flex; order: 1; align-items: center; gap: 16px; width: 100%; height: 72px; margin-bottom: 2px; padding: 0 20px 0 22px; border: 0; border-radius: 0; background: #fff; color: var(--p-night); font: 500 19px/1.1 var(--font-ui); letter-spacing: -.01em; text-align: left; cursor: pointer; }
  .hm-hero:not(.hm-open) .hm-rx { display: none; --fl: 0px; --fr: 0px; order: 0; gap: 6px; margin: -10px -4px -6px; padding: 10px 4px 16px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }   /* the top and bottom padding is room for the chip shadow; chips fade out at an edge with more to scroll instead of being cut */
  .hm-hero:not(.hm-open) .hm-rx[data-more-l] { --fl: 28px; }
  .hm-hero:not(.hm-open) .hm-rx[data-more-r] { --fr: 28px; }
  .hm-rx::-webkit-scrollbar { display: none; }
  .hm-rx button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px 0 8px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .55); color: var(--p-night); font: 600 15px/1 var(--font-ui); white-space: nowrap; cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease; }
  .hm-rx button:active { transform: scale(.97); }
  .hm-rx button[aria-checked="true"] { background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 4px 10px rgb(0 60 160 / .16); }
  .hm-row .hm-emo { width: 34px; height: 34px; }
  .hm-row__t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .hm-row__t small { font: 500 13px/1 var(--font-ui); letter-spacing: 0; color: #6b7380; }
  .hm-row:active { background: #f7f9fc; }
}

/* ================= phones: the search sheet (a tap on the shop box or the Must have row), after the Airbnb search sheet ================= */
@media (max-width: 768.98px) {
  html.hm-lock, html.hm-lock body { overflow: hidden; }
  .hm-hero.hm-open .hb-hero__form { position: fixed; z-index: 101; inset: 0; margin: 0; padding: 76px 14px 130px; border-radius: 0; background: var(--p-biscuit); box-shadow: none; overflow-y: auto; animation: none; }
  .hm-hero.hm-open .hm-x { display: grid; place-items: center; position: fixed; z-index: 103; top: 12px; right: 12px; width: 48px; height: 48px; border: 2px solid var(--p-night); border-radius: 50%; background: #fff; color: var(--p-night); font-size: 20px; line-height: 1; cursor: pointer; }
  .hm-hero.hm-open .hm-x:active { transform: scale(.96); }
  /* the sheet's steps in the bar's order: Country (js/57-country.js), Must have, Category, then the shops that fit */
  .hm-hero.hm-open .hb-hero__form { display: flex; flex-direction: column; }
  .hm-hero.hm-open .hm-who { order: 1; margin-top: 0; }
  .hm-hero.hm-open .hm-svc { order: 2; }
  /* no typing box: the card and the form step aside, so Country, Must have, Category and the list of shops are the sheet's own rows */
  .hm-hero.hm-open .hm-card, .hm-hero.hm-open .psearch--hero { display: contents; }
  .hm-hero.hm-open .hb-hero__form::before { content: 'Find shops'; order: -1; margin: 0 0 16px 8px; font: 700 34px/1 var(--font-ui); letter-spacing: -.03em; color: var(--p-night); }
  .hm-hero.hm-open .psearch__panel { order: 3; position: static; transform: none; width: auto; max-height: none; margin-top: 12px; padding: 14px 18px 10px; box-shadow: 0 2px 10px rgb(0 30 96 / .07); border-radius: 28px; background: #fff; }
  .hm-hero.hm-open .psearch__panel.hm-short:not(.hm-all) .sopt:nth-child(n+5) { display: none; }   /* the heading is the first child: four rows, then the chevron */
  .hm-more { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; margin-top: 6px; padding: 0; border: 0; border-top: 1px solid #e3e5e8; background: transparent; color: var(--p-grey); cursor: pointer; }
  .hm-more svg { transition: transform .2s var(--ease-out); }
  .hm-short.hm-all .hm-more svg { transform: rotate(180deg); }
  .hm-hero.hm-open .hm-bar { display: flex; align-items: center; position: fixed; z-index: 103; left: 0; right: 0; bottom: 0; height: 108px; padding: 0 20px 14px; background: #fff; box-shadow: 0 -1px 0 rgb(0 0 0 / .08); }
  .hm-clear { border: 0; background: none; padding: 10px 0; font: 600 20px/1 var(--font-ui); color: var(--p-night); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
  .hm-hero.hm-open .psearch__go { position: fixed; z-index: 104; right: 20px; bottom: 28px; width: 176px; height: 62px; margin: 0; border-radius: 16px; font-size: 21px; }
  .hm-hero.hm-open .psearch__go .icon { width: 24px; height: 24px; }

  /* the Category and Must have steps: open, a card of choices; folded, one line with the choice on the right */
  .hm-hero.hm-open .hm-who, .hm-hero.hm-open .hm-svc { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 18px 22px; border-radius: 28px; background: #fff; box-shadow: 0 2px 10px rgb(0 30 96 / .07); }
  .hm-when__l { flex: 1 0 100%; margin-bottom: 4px; font: 400 17px/1 var(--font-ui); color: var(--p-grey); }
  /* compact pills so two or three share a line on a phone instead of one per line (owner, 2026-11-18) */
  .hm-who button, .hm-svc button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 8px; border: 1.5px solid #c9ccd1; border-radius: 999px; background: #fff; color: var(--p-night); font: 600 15px/1 var(--font-ui); white-space: nowrap; cursor: pointer; transition: transform .16s var(--ease-out); }
  .hm-who button:active, .hm-svc button:active { transform: scale(.97); }
  .hm-who button[aria-checked="true"], .hm-svc button[aria-checked="true"] { border-color: var(--p-meadow); background: var(--p-blush); box-shadow: inset 0 0 0 1px var(--p-meadow); }
  .hm-hero.hm-open .hm-who .hm-emo, .hm-hero.hm-open .hm-svc .hm-emo { width: 28px; height: 28px; }
  .hm-v { display: none; }
  .hm-hero.hm-open:not([data-step="has"]) .hm-who button, .hm-hero.hm-open:not([data-step="cat"]) .hm-svc button { display: none; }
  .hm-hero.hm-open:not([data-step="has"]) .hm-who, .hm-hero.hm-open:not([data-step="cat"]) .hm-svc { padding: 0 22px; min-height: 64px; cursor: pointer; }
  .hm-hero.hm-open:not([data-step="has"]) .hm-who .hm-when__l, .hm-hero.hm-open:not([data-step="cat"]) .hm-svc .hm-when__l { display: flex; justify-content: space-between; align-items: center; margin: 0; }
  .hm-hero.hm-open:not([data-step="has"]) .hm-who .hm-v, .hm-hero.hm-open:not([data-step="cat"]) .hm-svc .hm-v { display: inline; font-weight: 600; color: var(--p-night); }

}

/* ================= desktop (769px and up): the chips in a white pill above one white bar (Country | Must have | Category | Search), after rift.co.
   The form, card and search box are flattened (display: contents) so each part is a grid cell; the white bar is the form's ::before. ================= */
@media (min-width: 769px) {
  body:has(.hm-hero) .nav.on-dark { background: #fff; color: var(--p-night); box-shadow: 0 1px 0 rgb(0 30 96 / .08); }
  body:has(.hm-hero) .nav.on-dark .brand { color: var(--p-night); }
  body:has(.hm-hero) .nav.on-dark .nav__links a { color: var(--p-night); }
@media (hover: hover) and (pointer: fine) {
  body:has(.hm-hero) .nav.on-dark .nav__links a:hover { color: var(--p-green); } }

  .hm-hero { padding: 8px 0 clamp(96px, 10vw, 124px); }
  .hm-hero .hb-hero__in { display: flex; flex-direction: column; margin-bottom: clamp(20px, 5svh, 60px); }
  .hm-hero h1.hm-greet { margin: 0 auto; box-sizing: border-box; height: calc(40px + 2.3em); padding-top: 40px; max-width: 15em; color: var(--p-night); font: 600 clamp(44px, 4.6vw, 70px)/1.15 var(--font-ui); letter-spacing: -.025em; }
  .hm-hero .hb-hero__form { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; width: min(100%, 1040px); margin: 40px auto 0; padding: 0; background: none; box-shadow: none; text-align: left; }
  .hm-hero .hb-hero__form::before { content: ''; grid-area: 2 / 1 / 3 / -1; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .8), 0 14px 40px rgb(0 60 160 / .2); }
  .hm-hero .hb-hero__form > :where(:not(.sr-only)), .hm-hero .psearch--hero > :where(:not(.sr-only)) { grid-column: 1 / -1; grid-row: 5; position: relative; z-index: 1; }
  .hm-hero .hm-card, .hm-hero .psearch--hero { display: contents; }

  /* the department chips: on desktop they live in the bar's Category segment (.hm-svc below), so the pill above the bar is not shown */
  .hm-hero .hm-rx { display: none; grid-row: 1; justify-self: center; width: max-content; max-width: calc(100vw - 48px);   /* wider than the bar when the chips need it, centred over it */ gap: 2px; margin: 0 0 16px; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px rgb(0 60 160 / .14); }
  .hm-hero .hm-rx::-webkit-scrollbar { display: none; }
  /* more chips than fit: the chips fade under a white edge on the side with more to scroll, as on phones; the pill's own edge and shadow stay.
     Two sticky strips inside the scroller (js/55-home.js sets data-more-l and data-more-r). */
  .hm-hero .hm-rx::before, .hm-hero .hm-rx::after { content: ''; position: sticky; z-index: 1; flex: none; width: 40px; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
  .hm-hero .hm-rx::before { left: 0; order: -1; margin-right: -40px; background: linear-gradient(90deg, #fff 30%, rgb(255 255 255 / 0)); }
  .hm-hero .hm-rx::after { right: 0; order: 99; margin-left: -40px; background: linear-gradient(270deg, #fff 30%, rgb(255 255 255 / 0)); }
  .hm-hero .hm-rx[data-more-l]::before, .hm-hero .hm-rx[data-more-r]::after { opacity: 1; }
  .hm-hero .hm-rx button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--p-night); font: 600 16px/1 var(--font-ui); white-space: nowrap; cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .hm-hero .hm-rx button:hover { background: var(--p-biscuit); } }
  .hm-hero .hm-rx button:active { transform: scale(.97); }
  .hm-hero .hm-rx button[aria-checked="true"] { background: var(--p-blush); box-shadow: inset 0 0 0 1.5px var(--p-meadow); }

  /* the bar */
  .hm-hero .hm-row { grid-area: 2 / 2; display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 20px 0 22px; border: 0; border-radius: 0; background: transparent; color: var(--p-night); font: 500 18px/1.1 var(--font-ui); letter-spacing: -.01em; text-align: left; cursor: pointer; transition: background-color .2s ease; }
  .hm-hero .hm-row::after { content: ''; position: absolute; right: 0; top: 18px; bottom: 18px; width: 1px; background: #e3e5e8; }
@media (hover: hover) and (pointer: fine) {
  .hm-hero .hm-row:hover { background: #f4f6f8; } }
  .hm-hero .hm-row .hm-emo { width: 34px; height: 34px; }
  .hm-hero .hm-row__t { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
  .hm-hero .hm-row__t [data-val] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .hm-hero .hm-row__t small { font: 500 13px/1 var(--font-ui); letter-spacing: 0; color: #6b7380; }
  .hm-hero .hm-row:focus-visible { outline: 3px solid var(--p-green); outline-offset: -3px; }
  .hm-hero .hm-row--cat { grid-area: 2 / 3; }
  .hm-hero .hm-row--cat::after { display: none; }   /* the last segment: the Search button follows */
  .hm-hero .psearch--hero:focus-within { outline: 0; box-shadow: none; }
  .hm-hero .psearch__go { grid-area: 2 / 4; align-self: center; display: flex; align-items: center; justify-content: center; gap: 8px; width: auto; height: 56px; margin: 0 8px; padding: 0 24px; border-radius: 999px; background: linear-gradient(180deg, #2f78ff 0%, #0059ff 100%); color: #fff; box-shadow: 0 4px 12px rgb(0 89 255 / .4), inset 0 1px 0 rgb(255 255 255 / .35); font: 600 18px/1 var(--font-ui); }
@media (hover: hover) and (pointer: fine) {
  .hm-hero .psearch__go:hover { background: linear-gradient(180deg, #4287ff 0%, #0b60ff 100%); } }
  .hm-hero .psearch__go:active { transform: scale(.97); }
  .hm-hero .psearch__go .icon { width: 20px; height: 20px; }
  .hm-hero .psearch__golbl { display: inline; }
  .hm-hero .psearch__panel { position: absolute; grid-area: 2 / 1 / 3 / -1; top: calc(100% + 10px); left: 0; right: 0; width: auto; transform: none; z-index: 6; }   /* drops from the bar itself */

  /* Must have opens in place, under the bar, and folds again when a choice is picked */
  /* the Must have and Category choices float under the bar, like the suggestions panel, so opening one never moves the bar or the headline */
  .hm-hero .hm-who, .hm-hero .hm-svc { position: absolute; grid-area: 2 / 1 / 3 / -1; top: calc(100% + 10px); left: 0; right: 0; z-index: 6; transform-origin: top center; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out); padding: 16px 24px; border-radius: 28px; background: #fff; box-shadow: 0 10px 30px rgb(0 60 160 / .18); }
  .hm-hero:not(.hm-who-on) .hm-who, .hm-hero:not(.hm-svc-on) .hm-svc { display: none; }
  .hm-hero.hm-who-on .hm-who, .hm-hero.hm-svc-on .hm-svc { display: flex; flex-wrap: wrap; gap: 8px; }
  @starting-style { .hm-hero.hm-who-on .hm-who, .hm-hero.hm-svc-on .hm-svc { opacity: 0; transform: translateY(-4px) scale(.98); } }
  .hm-hero .hm-who .hm-when__l, .hm-hero .hm-svc .hm-when__l { display: none; }
  .hm-hero .hm-who button, .hm-hero .hm-svc button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px 0 10px; border: 1.5px solid #c9ccd1; border-radius: 999px; background: #fff; color: var(--p-night); font: 600 16px/1 var(--font-ui); cursor: pointer; transition: transform .16s var(--ease-out), border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .hm-hero .hm-who button:hover, .hm-hero .hm-svc button:hover { border-color: var(--p-night); } }
  .hm-hero .hm-who button:active, .hm-hero .hm-svc button:active { transform: scale(.97); }
  .hm-hero .hm-who button[aria-checked="true"], .hm-hero .hm-svc button[aria-checked="true"] { border-color: var(--p-meadow); background: var(--p-blush); box-shadow: inset 0 0 0 1px var(--p-meadow); }
  .hm-hero .hm-who .hm-emo, .hm-hero .hm-svc .hm-emo { width: 32px; height: 32px; }

  /* the Compare pills under the card */
  .hm-hero .hb-pop { order: 4; margin-top: 28px; }
  .hm-hero .hb-pop__label { color: #3a4a66; }
  .hm-hero .hb-pill { background: #fff; color: var(--p-night); box-shadow: 0 2px 8px rgb(0 60 160 / .12); }
@media (hover: hover) and (pointer: fine) {
  .hm-hero .hb-pill:hover { background: var(--p-biscuit); } }
  .hm-hero .hb-nojs { color: var(--p-grey); }
}

@media (prefers-reduced-motion: reduce) { .hm-hero .hm-who, .hm-hero .hm-svc { transition: opacity .18s ease; } @starting-style { .hm-hero.hm-who-on .hm-who, .hm-hero.hm-svc-on .hm-svc { transform: none; } } }

/* The header's search on every page but the hub: the hub card's three parts (Must have | Category | Sub-category) and Search, made small, in one
   white pill on the navy bar (owner, 2026-11-18). The markup is the hub's own (build-shops.mjs pickers()), driven by the same script (js/55-home.js);
   Must have and Category open their choices in a card under the bar, like the hub's desktop bar, at every width. */

.nav--search .psearch--nav3 { display: flex; align-items: stretch; width: min(100%, 620px); height: 56px; padding: 0 6px 0 0; }
.psearch--nav3 .hm-row { position: relative; display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; height: 100%; margin: 0; padding: 0 12px 0 16px; border: 0; border-radius: 0; background: transparent; color: var(--p-night); font: 500 14px/1.1 var(--font-ui); text-align: left; cursor: pointer; transition: background-color .2s ease; }
.psearch--nav3 .hm-row:first-child { border-radius: 999px 0 0 999px; }
.psearch--nav3 .hm-row--cat { border-radius: 0 999px 999px 0; }
.psearch--nav3 .hm-row + .hm-row::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: #e3e5e8; }
@media (hover: hover) and (pointer: fine) {
.psearch--nav3 .hm-row:hover { background: #f4f6fa; } }
.psearch--nav3 .hm-emo { width: 28px; height: 28px; }
.psearch--nav3 .hm-row__t { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.psearch--nav3 .hm-row__t small { font: 500 11px/1 var(--font-ui); letter-spacing: 0; color: #6b7380; }
.psearch--nav3 .hm-row__t [data-val] { overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.psearch--nav3 .psearch__go { align-self: center; flex: none; width: 44px; height: 44px; margin-left: 6px; background: linear-gradient(180deg, #2f78ff 0%, #0059ff 100%); color: #fff; box-shadow: 0 3px 10px rgb(0 89 255 / .4), inset 0 1px 0 rgb(255 255 255 / .35); }
.psearch--nav3 .psearch__go .icon { width: 19px; height: 19px; }
.nav--search .psearch--nav3 .psearch__panel { top: calc(100% + 10px); left: 0; right: 0; width: auto; transform: none; }

/* the choices: a card under the bar, shown while its row is open (js/55-home.js sets hm-who-on or hm-svc-on on the header) */
.psearch--nav3 .hm-who, .psearch--nav3 .hm-svc { position: absolute; z-index: 6; top: calc(100% + 10px); left: 0; right: 0; flex-wrap: wrap; gap: 8px; padding: 16px 18px; border-radius: 26px; background: #fff; box-shadow: 0 10px 30px rgb(0 20 80 / .28); transform-origin: top center; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out); }
.nav--search.hm-who-on .psearch--nav3 .hm-who, .nav--search.hm-svc-on .psearch--nav3 .hm-svc { display: flex; }
@starting-style { .nav--search.hm-who-on .psearch--nav3 .hm-who, .nav--search.hm-svc-on .psearch--nav3 .hm-svc { opacity: 0; transform: translateY(-4px) scale(.98); } }
.psearch--nav3 .hm-when__l { display: none; }
.psearch--nav3 .hm-who button, .psearch--nav3 .hm-svc button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 8px; border: 1.5px solid #c9ccd1; border-radius: 999px; background: #fff; color: var(--p-night); font: 600 15px/1 var(--font-ui); white-space: nowrap; cursor: pointer; transition: transform .16s var(--ease-out), border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.psearch--nav3 .hm-who button:hover, .psearch--nav3 .hm-svc button:hover { border-color: var(--p-night); } }
.psearch--nav3 .hm-who button:active, .psearch--nav3 .hm-svc button:active { transform: scale(.97); }
.psearch--nav3 .hm-who button[aria-checked="true"], .psearch--nav3 .hm-svc button[aria-checked="true"] { border-color: var(--p-meadow); background: var(--p-blush); box-shadow: inset 0 0 0 1px var(--p-meadow); }
.psearch--nav3 .hm-who .hm-emo, .psearch--nav3 .hm-svc .hm-emo { width: 30px; height: 30px; }
.psearch--nav3 [data-cat][hidden], .psearch--nav3 [data-has][hidden] { display: none !important; }

/* the bar is wider than the old pill, so the page links step aside sooner (the footer still has them) */
@media (min-width: 1000px) and (max-width: 1499.98px) { .nav--search .nav__links a:not([data-join]) { display: none; } }
@media (max-width: 999.98px) { .nav--search .psearch--nav3 { width: min(100%, 640px); } }
@media (max-width: 768.98px) {
  .nav--search .psearch--nav3 { width: 100%; height: 54px; padding-right: 5px; }
  .psearch--nav3 .hm-row { gap: 0; padding: 0 8px 0 12px; }
  .psearch--nav3 .hm-row > .hm-emo { display: none; }   /* no room for the pictures; the label and choice carry it */
  .psearch--nav3 .hm-row__t small { font-size: 10.5px; }
  .psearch--nav3 .hm-row__t [data-val] { font-size: 14px; }
  .psearch--nav3 .psearch__go { width: 42px; height: 42px; margin-left: 2px; }
  .psearch--nav3 .hm-who, .psearch--nav3 .hm-svc { padding: 14px; }
}

/* the bar's first segment, Country, and its list (js/57-country.js): the list hangs under the segment like Must have's and Category's choices */
.cflag { flex: none; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgb(0 30 96 / .12); }
.hm-ctry { --ease-out: cubic-bezier(.23, 1, .32, 1); position: relative; z-index: 7; display: flex; }
.hm-ctry__btn { display: flex; align-items: center; gap: 12px; width: 100%; height: 72px; padding: 0 14px 0 22px; border: 0; border-radius: 999px 0 0 999px;
  background: transparent; color: var(--p-night); font: 500 18px/1.1 var(--font-ui); letter-spacing: -.01em; text-align: left; cursor: pointer;
  transition: background-color .2s ease; }
.hm-ctry__btn .cflag { width: 30px; height: 30px; }
.hm-ctry__t { flex: 1; }
.hm-ctry__val { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hm-ctry__btn .hm-row__t small { font: 500 13px/1 var(--font-ui); letter-spacing: 0; color: #6b7380; }
.hm-ctry__btn::after { content: ''; position: absolute; right: 0; top: 18px; bottom: 18px; width: 1px; background: #e3e5e8; }
.hm-ctry__flag { display: inline-flex; }
.hm-ctry__chev { width: 16px; height: 16px; color: var(--p-grey); transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hm-ctry__btn:hover { background: #f4f6f8; } }
.hm-ctry__btn:focus-visible { outline: 3px solid var(--p-green); outline-offset: -3px; }
.hm-ctry[data-open] .hm-ctry__chev { transform: rotate(180deg); }

/* the list hangs from the segment's left edge and scales in from its top; opened from the keyboard it is there at once (data-instant) */
.hm-ctry__pop { position: absolute; top: calc(100% + 10px); left: 0; width: 300px; max-width: calc(100vw - 32px); max-height: min(380px, 60vh); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgb(0 30 96 / .08), 0 16px 40px rgb(0 30 96 / .16);
  transform-origin: top left; opacity: 0; transform: translateY(-4px) scale(.96); visibility: hidden; pointer-events: none;
  transition: opacity 120ms ease, transform 120ms var(--ease-out), visibility 0s linear 120ms; }
.hm-ctry[data-open] .hm-ctry__pop { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s; }
.hm-ctry[data-instant] .hm-ctry__pop { transition: none; }
.hm-ctry__pop:focus { outline: none; }
.hm-ctry__pop:focus-visible .is-active { box-shadow: inset 0 0 0 2px var(--focus); }
.hm-ctry__pop [role="option"] { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 12px; color: var(--p-night); font: 500 15px/1.2 var(--font-ui); cursor: pointer; }
.hm-ctry__pop .cflag { width: 22px; height: 22px; }
.hm-ctry__pop .is-active { background: var(--p-biscuit); }
.hm-ctry__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-ctry__n { color: var(--p-grey); font-size: 13px; font-variant-numeric: tabular-nums; }
.hm-ctry__tick { width: 16px; height: 16px; color: var(--p-green); visibility: hidden; }
.hm-ctry__pop [aria-selected="true"] .hm-ctry__tick { visibility: visible; }
.hm-ctry__pop [aria-selected="true"] .hm-ctry__name { font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .hm-ctry__pop, .hm-ctry[data-open] .hm-ctry__pop { transform: none; }
  .hm-ctry__chev { transition: none; }
}

/* the A to Z and the categories, narrowed by the pill */
.hb-az li[hidden], .hb-letter[hidden], .hb-jump li[hidden], .hb-ccats[hidden] { display: none !important; }
.hb-town__n { display: inline-flex; align-items: center; gap: 6px; }
.hb-town__n .cflag { width: 14px; height: 14px; }
.hb-ccats + .hb-ccats { margin-top: 28px; }
.hb-ccats__h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--p-night); font: 600 18px/1.2 var(--font-ui); }
.hb-ccats__h a { margin-left: auto; font: 500 14px/1 var(--font-ui); }

/* desktop: the segment is the bar's first cell (the bar is a grid, js/55-home.js's css); the others move one cell right */
@media (min-width: 769px) { .hm-hero .hm-ctry { grid-area: 2 / 1; } }
/* phones: the first row of the card, and the first row of the open sheet */
@media (max-width: 768.98px) {
  .hm-hero:not(.hm-open) .hm-ctry { order: 1; margin-bottom: 2px; }
  .hm-hero:not(.hm-open) .hm-ctry__btn { height: 72px; padding: 0 20px 0 22px; gap: 16px; border-radius: 26px 26px 0 0; background: #fff; font-size: 19px; }
  .hm-hero:not(.hm-open) .hm-ctry__btn::after { display: none; }
  .hm-hero:not(.hm-open) .hm-ctry__t { display: flex; flex-direction: column; gap: 6px; }
  .hm-hero.hm-open .hm-ctry { order: 0; margin: 0 0 12px; }
  .hm-hero.hm-open .hm-ctry__btn { height: 62px; padding: 0 16px; border: 1.5px solid #9a9fa6; border-radius: 16px; background: #fff; }
  .hm-hero.hm-open .hm-ctry__btn::after { display: none; }
  .hm-ctry__pop { width: 100%; }
}

/* After ~/scruffsy/password/scripts/directory/assets/css/70-mobile-nav.css: the phone header on every page is a white bar with the
   logo on the left and a burger on the right; the burger opens a small menu with the directory's links (js/15-menu.js). Scruffsy's
   Marketplace, Prescriptions and Join rules are left out (bonnebuy has none of them); its #0b0b12 ink becomes bonnebuy navy. Tablet and
   desktop keep the dark bar with the links in a row. */
@media (min-width: 769px) {
  .nav .nav__burger { display: none; }
}
@media (max-width: 768.98px) {
  body .nav.on-dark { background: #fff; color: var(--p-night); box-shadow: 0 1px 0 rgb(0 30 96 / .08); }
  body .nav.on-dark .brand { color: var(--p-night); }
  body .nav.on-dark .nav__burger { grid-area: links; justify-self: end; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--p-night); cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  body .nav.on-dark .nav__burger:hover { background: var(--p-biscuit); } }
  body .nav.on-dark .nav__burger:focus-visible { outline: 3px solid var(--p-plum); outline-offset: -3px; }
  body .nav.on-dark .nav__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s var(--ease-out), opacity .2s var(--ease-out); }
  body .nav.on-dark[data-menu-open] .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body .nav.on-dark[data-menu-open] .nav__burger span:nth-child(2) { opacity: 0; }
  body .nav.on-dark[data-menu-open] .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body .nav.on-dark .nav__links { position: absolute; top: 56px; right: 12px; left: auto; z-index: 60; display: none; flex-direction: column; align-items: stretch; gap: 2px; min-width: 232px; max-width: calc(100vw - 24px); padding: 4px; border: 1px solid rgb(0 30 96 / .1); border-radius: 12px; background: #fff; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); }
  body .nav.on-dark[data-menu-open] .nav__links { display: flex; }
  body .nav.on-dark .nav__links a, body .nav.on-dark .nav__links a:not([data-join]) { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 8px; background: transparent; color: var(--p-night); font: 500 15px/1.2 var(--font-ui); text-decoration: none; }
  body .nav.on-dark .nav__links a[aria-current="page"] { font-weight: 600; }
  body .nav.on-dark .nav__links a:focus-visible { background: var(--p-biscuit); color: var(--p-night); outline: 0; }
@media (hover: hover) and (pointer: fine) {
  body .nav.on-dark .nav__links a:hover { background: var(--p-biscuit); color: var(--p-night); outline: 0; } }
  body .nav.nav--search.on-dark .psearch { box-shadow: 0 0 0 1px rgb(0 30 96 / .18); }   /* the pill was white on navy; on the white bar it needs an edge */
}

/* Shop directory parts with no Scruffsy counterpart. Same tokens, same radii, same press and hover rules. */
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--p-night); font-weight: 600; }
.skip:focus { top: 8px; }
.bb-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--p-green); color: #fff; font: 700 21px/1 var(--font-ui); letter-spacing: -1px; padding-bottom: 2px; }
.bb-word { font: 700 21px/1 var(--font-ui); letter-spacing: -.03em; }
@media (max-width: 768.98px) { .bb-mark { width: 26px; height: 26px; font-size: 18px; } .bb-word { font-size: 19px; } }

/* the big tile: the shop's name and a one-line summary on navy, in place of Scruffsy's map */
.pl-btn { transition: transform 160ms var(--ease-out), background-color 150ms ease; }
.pl-btn:active, a.pl-tile__in:active, .pl-ncard:active { transform: scale(.97); }
a.pl-tile__in { transition: transform 160ms var(--ease-out); }

/* each fact: the line in our words, then the shop's own sentence and where it is */
.sh-facts h3 { text-wrap: balance; }
.sh-quote { margin: 10px 0 0; padding: 12px 14px; border-left: 3px solid var(--p-salmon); border-radius: 0 10px 10px 0; background: var(--p-biscuit); }
.sh-quote p { color: var(--p-plum); font: 400 15px/1.5 var(--font-ui); }
.sh-quote footer { margin-top: 6px; color: var(--p-grey); font: 400 13px/1.45 var(--font-ui); overflow-wrap: anywhere; }
.sh-quote footer a { color: inherit; text-underline-offset: 2px; }
.sh-season { align-items: flex-start; margin-top: 24px; }
.sh-season > div { min-width: 0; }

.sh-prose { max-width: 46em; padding-bottom: 96px; }
.sh-prose h2 { margin-top: 32px; font: 700 22px/26px var(--font-ui); letter-spacing: -.01em; }
.sh-prose p { margin-top: 12px; font: 400 17px/1.6 var(--font-ui); }
main > .pl-wrap:last-child { padding-bottom: 96px; }

.sh-fact { flex: 1; min-width: 0; }
.sh-k { color: var(--p-grey); font: 600 12px/16px var(--font-ui); letter-spacing: .06em; text-transform: none; }
.sh-fact h3 { margin-top: 2px; }
.sh-quote { display: block; }
.pl-side .pl-num + .pl-sub { margin-top: 4px; }
/* Scruffsy hides tile hints on phones ("Opens in a new tab"); here a hint carries a fact ("Free to send back"), so it stays */
@media (max-width: 768.98px) {
  .pl-mosaic .pl-tile:not(.pl-tile--off) .pl-tile__hint { position: static; width: auto; height: auto; margin: 6px 0 0; overflow: visible; clip: auto; white-space: normal; font-size: 13px; line-height: 17px; }
}

/* the shop list on the mini cards: kept from before (the "More shops" block on a shop page) */

/* Scruffsy's listing card, in bonnebuy blue: a shop has no logo we may show, so its initial sits on the avatar tile, and the green
   button edge and green-tinted shadows (#7fbd68, rgb 42 74 47 and 59 125 49) become bonnebuy's blue */
.sh-av { background: linear-gradient(180deg, var(--p-blush), var(--p-salmon)); color: var(--p-night); font: 800 20px/1 var(--font-urbanist); }
.sh-cardlead { font: 500 14px/1.4 var(--font-ui); color: var(--p-plum); overflow-wrap: anywhere; }
.tw-card { box-shadow: 0 2px 3px rgb(0 30 96 / .06); }
.lcard__cta { border-color: #5C93FF; box-shadow: 0 3px 3px rgb(0 89 255 / .25), inset 0 1px 2px rgb(255 255 255 / .3); }
@media (hover: hover) and (pointer: fine) {
  .tw-card:hover { box-shadow: 0 8px 20px rgb(0 30 96 / .12); }
  .hb-county:hover { box-shadow: 0 8px 20px rgb(0 30 96 / .1); } }
.btn--outline:hover { background: rgb(0 30 96 / .07); }

/* the A to Z on the hub: a shop's kind sits under its name (a town's count fits beside it; "Plumbing and heating supplies" does not) */
.sh-towns .hb-town { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; }
.sh-towns .hb-town__n { font-variant-numeric: normal; }
@media (max-width: 479.98px) { .sh-towns { columns: 1; } }

/* The shop-window drawing behind the first tile and "Where to find it" (in place of Scruffsy's street drawing), and the pin's halo in
   bonnebuy blue instead of Scruffsy's lime. */
.sh-a-win { fill: #fff; }
.sh-a-bar { fill: var(--p-line); opacity: .45; }
.sh-a-dot { fill: var(--p-line); }
.sh-a-url { fill: var(--p-biscuit); }
.sh-a-img { fill: var(--p-blush); }
.sh-a-txt { fill: var(--p-line); opacity: .7; }
.pl-pin { box-shadow: 0 0 0 12px rgb(190 213 255 / .6), 0 2px 2px rgb(0 0 0 / .18); }

/* France (/fr/, scripts/build-shops-fr.mjs): the shop page's head, the facts with their quotes, the category pills */
.fr-head { background: var(--hero-bg); color: var(--hero-fg); padding: 20px 0 36px; }
.fr-head .crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 14px; padding: 0; list-style: none; font: 400 13.33px/20px var(--font-ui); color: var(--p-blush); }
.fr-head .crumbs a { color: inherit; }
.fr-head h1 { font: 700 clamp(24px, 4vw, 34px)/1.15 var(--font-urbanist); letter-spacing: -.01em; margin: 0 0 8px; overflow-wrap: anywhere; }
.fr-head .pl-h1logo { background: #fff; }
.fr-lead { margin: 0; font: 500 15px/1.4 var(--font-ui); color: var(--p-blush); } .fr-lead a { color: inherit; }
.fr-facts { padding-block: 28px 8px; } .fr-facts h2 { font: 700 22px/1.2 var(--font-urbanist); margin: 0 0 16px; }
.fr-list { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.fr-fact { padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 2px 3px rgb(0 30 96 / .06), inset 0 0 0 1px rgb(0 30 96 / .1); }
.fr-fact__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fr-fact h3 { font: 600 14px/1.3 var(--font-ui); color: var(--p-grey); margin: 0 0 4px; } .fr-fact__v { font: 800 20px/1.2 var(--font-urbanist); margin: 0; text-align: right; }
.fr-fact__q { margin: 8px 0; padding: 0 0 0 12px; border-left: 3px solid #5C93FF; font: 400 14px/1.5 var(--font-ui); overflow-wrap: anywhere; }
.fr-fact__src { margin: 0; font: 400 12.5px/1.4 var(--font-ui); color: var(--p-grey); overflow-wrap: anywhere; }
.fr-cats { padding-block: 18px 0; } .fr-cats .tw-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fr-cats .tw-pill { display: inline-flex; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgb(0 30 96 / .15); font: 600 14px/1 var(--font-ui); text-decoration: none; color: inherit; }
.fr-cats .tw-pill span { color: var(--p-grey); }
