
/* Keyboard focus across the landing shell. */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--pp-text); outline-offset: 2px; }
.pp-footer :focus-visible { outline-color: var(--pp-primary); }

html, body {
    margin: 0;
    padding: 0;
    background: var(--pp-bg);
    font-family: var(--pp-font-ui);
    color: var(--pp-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
}
* { box-sizing: border-box; }
a { color: inherit; }
button, a.btn { font-family: inherit; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border-radius: 8px;
    z-index: 100;
    font-weight: 600;
}

.pp-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px) {
    .pp-wrap { padding: 0 40px; }
}

/* Nav */
.pp-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 249, 247, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--pp-border);
}
.pp-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.pp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.pp-brand-mark {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--pp-primary);
    overflow: hidden;
    display: flex;
}
.pp-brand-mark img, .pp-brand-mark picture { width: 32px; height: 32px; object-fit: cover; }
.pp-brand-name {
    font-family: var(--pp-font-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--pp-text);
    letter-spacing: -0.4px;
}
.pp-nav-links {
    display: none;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
/* r31: below 880px three of the header's links sit in one quiet row under it. */
.pp-subnav { display: flex; padding: 0 10px; border-bottom: 1px solid var(--pp-border); }
.pp-subnav .pp-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
@media (min-width: 880px) {
    .pp-nav-links { display: flex; }
    .pp-subnav { display: none; }
}
.pp-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--pp-neutral-ink);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.pp-nav-link:hover { color: var(--pp-text); }
.pp-nav-cta {
    min-height: 44px;
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Identity card (r21): avatar, name, rating, facts and trust; About and Good to know under a hairline. */
.pp-hero {
    margin-top: 16px;
    padding: 18px 16px;
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: 18px;
    box-shadow: var(--pp-shadow-card);
}
.pp-hero-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px 16px;
}
.pp-hero-id, .pp-hero-meta { min-width: 0; }
.pp-hero-meta { grid-column: 1 / -1; }
.pp-avatar {
    width: 72px; height: 72px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--pp-grad-orange);
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 30px;
    flex-shrink: 0;
}
.pp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-name {
    font-family: var(--pp-font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 36px);
    color: var(--pp-text);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.pp-handle {
    margin-top: 3px;
    color: var(--pp-neutral-ink);
    font-size: 14px;
    font-weight: 500;
}
.pp-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pp-neutral-ink);
    text-decoration: none;
}
.pp-hero-rating strong { color: var(--pp-text); font-weight: 700; }
.pp-hero-rating svg { color: var(--pp-orange); }
.pp-hero-rating:hover span { text-decoration: underline; }
.pp-hero-facts {
    margin: 2px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
}
.pp-hero-facts span { white-space: nowrap; }
.pp-hero-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
@media (min-width: 600px) {
    .pp-hero { padding: 24px; }
    .pp-hero-row { align-items: start; gap: 8px 22px; }
    .pp-avatar { grid-row: span 2; width: 88px; height: 88px; font-size: 34px; }
    .pp-hero-id { align-self: end; }
    .pp-hero-meta { grid-column: 2; }
}
/* About + Good to know: its own card, first in the content column. */
.pp-section.pp-about { margin-top: 16px; padding: 18px 16px; border-radius: 18px; }
@media (min-width: 600px) { .pp-section.pp-about { padding: 20px 24px; } }
.pp-hero-label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--pp-neutral-ink);
}
/* Verification: one line, one mark, one colour. The shield and the verified
 * green belong to a Pawprint ID check; the soft variant (phone/email only) is
 * neutral, so it can never read as vetting. --pp-verified-green is a FILL
 * (~2.2:1 as text); the -ink token is the text colour (5.6:1). */
.pp-verified-line {
    display: inline-flex;
    /* flex-start: a wrapped statement keeps its mark on the first line. */
    align-items: flex-start;
    gap: 6px;
    font-family: var(--pp-font-ui);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pp-verified-green-ink);
}
.pp-verified-line svg { flex-shrink: 0; margin-top: 1px; }
.pp-verified-line-soft { color: var(--pp-neutral-ink); font-weight: 500; }

/* Breadcrumb */
.pp-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 22px;
    font-size: 13px;
    color: var(--pp-neutral-ink);
    font-weight: 500;
}
.pp-crumbs a { text-decoration: none; color: inherit; display: inline-block; padding: 4px 0; margin: -4px 0; } /* 24px tap, line unmoved */
.pp-crumbs a:hover { text-decoration: underline; }
.pp-crumbs span[aria-current] {
    color: var(--pp-text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

/* Section */
.pp-section { margin-top: 32px; }
.pp-section-title {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 22px;
    color: var(--pp-text);
    margin: 0 0 12px;
    letter-spacing: -0.2px;
}
/* Rail and hero links land here: clear the sticky nav. */
.pp-services, #reviews, #credentials { scroll-margin-top: 84px; }
.pp-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.pp-section-head .pp-section-title { margin: 0; }
.pp-reviews-score { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--pp-neutral-ink); }
.pp-reviews-score strong { font-size: 15px; color: var(--pp-text); }
.pp-reviews-score svg { color: var(--pp-orange); align-self: center; }
.pp-section-lede {
    font-size: 13px;
    color: var(--pp-neutral-ink);
    margin: -6px 0 14px;
    line-height: 1.45;
}

/* Card */
.pp-card {
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    box-shadow: var(--pp-shadow-card);
}
.pp-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Bio and Good to know (inside the identity card) */
.pp-bio {
    margin: 0;
    max-width: 68ch;
    font-size: 15px;
    line-height: 1.55;
    color: var(--pp-text);
    white-space: pre-wrap;
}
.pp-gtk { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pp-gtk .pp-hero-label { flex-basis: 100%; margin: 0; }
.pp-bio + .pp-gtk { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--pp-border); }
.pp-gtk-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pp-gtk-icon { width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--pp-bg); color: var(--pp-text-secondary); flex-shrink: 0; }
.pp-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Service row */
.pp-service {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.pp-service-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--pp-text);
}
.pp-service-body { flex: 1; min-width: 0; }
.pp-service-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--pp-text);
    margin: 0 0 6px;
    line-height: 1.25;
}
.pp-service-sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}
.pp-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(72, 178, 186, 0.18);
    /* #2a767c was 4.43:1 on this tint at 10px bold (axe: 12 failures on a
       six-service profile); #236a70 is 5.23:1. */
    color: #236a70;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.pp-service-rating, .pp-service-loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--pp-neutral-ink);
}
.pp-service-loc { color: var(--pp-neutral-ink); }
.pp-service-rating svg { color: var(--pp-orange); }
.pp-service-rating strong { color: var(--pp-text); font-weight: 700; }
.pp-pill-muted { color: var(--pp-neutral-ink); font-weight: 500; }
.pp-service-loc svg { color: var(--pp-text-tertiary); }
.pp-service-price {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 18px;
    color: var(--pp-text);
    white-space: nowrap;
}
.pp-service-card {
    overflow: hidden;
    transition: box-shadow 140ms var(--pp-ease-out);
}
.pp-service-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07); }
a.pp-service {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.pp-service:hover { background: rgba(56, 35, 18, 0.03); }
.pp-service-chev {
    color: var(--pp-text-tertiary);
    flex-shrink: 0;
    margin-left: 2px;
}
.pp-service-pkgs {
    border-top: 1px solid var(--pp-border);
    padding: 6px 16px 8px;
}
.pp-service-pkg {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 0;
    text-decoration: none;
    color: inherit;
}
.pp-service-pkg-info { min-width: 0; overflow-wrap: anywhere; }
/* r21: one line on the right, "$25 ›"; "Book" stays in the link for screen readers. */
.pp-service-pkg-action { display: inline-flex; align-items: center; gap: 4px; }
.pp-service-pkg-book {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--pp-neutral-ink);
}
.pp-service-pkg + .pp-service-pkg { border-top: 1px solid var(--pp-border); }
.pp-service-pkg-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--pp-text);
}
.pp-service-pkg:hover .pp-service-pkg-name { text-decoration: underline; }
.pp-service-pkg-dur {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--pp-neutral-ink);
}
.pp-service-pkg-price {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 15px;
    color: var(--pp-text);
    white-space: nowrap;
}
.pp-service-pkg-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--pp-neutral-ink);
}
.pp-reviews-empty {
    padding: 16px 18px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
}
@media (max-width: 600px) {
    .pp-section { margin-top: 28px; }
    .pp-service { display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 8px 10px; }
    .pp-service-icon { width: 36px; height: 36px; grid-row: 1 / span 2; }
    .pp-service-body { grid-column: 2; }
    .pp-service-title { overflow-wrap: anywhere; }
    .pp-service-price { grid-column: 2; grid-row: 2; font-size: 16px; }
    .pp-service > .pp-service-chev { grid-column: 3; grid-row: 1 / span 2; }
}

/* Pet row */
.pp-pet-avatar {
    width: 48px; height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}
.pp-pet-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-pet-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--pp-text);
    margin: 0;
}
.pp-pet-meta {
    font-size: 12px;
    color: var(--pp-neutral-ink);
    margin-top: 2px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Reviews (r21): one card, hairlines between */
.pp-review-list { padding: 0 18px; }
.pp-review { padding: 16px 0; }
.pp-review + .pp-review { border-top: 1px solid var(--pp-border); }
.pp-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pp-review-avatar {
    width: 40px; height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    overflow: hidden;
}
.pp-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-review-head-meta { flex: 1; min-width: 0; }
.pp-review-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--pp-text);
}
.pp-review-stars {
    margin-top: 2px;
    font-size: 13px;
    color: var(--pp-orange);
    letter-spacing: 1px;
    line-height: 1;
}
.pp-review-stars-empty { color: var(--pp-text-tertiary); }

/* Photo lightbox */
.pp-photo-btn {
    padding: 0;
    border: 0;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: zoom-in;
}
.pp-photo-btn img { transition: transform 160ms var(--pp-ease-out); }
@media (hover: hover) {
    .pp-photo-btn:hover img { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
    .pp-photo-btn img { transition: none; }
    .pp-photo-btn:hover img { transform: none; }
}
.pp-lightbox {
    overflow-y: auto;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(31, 20, 10, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.pp-lightbox[hidden] { display: none; }
.pp-lightbox figure {
    margin: auto;
    max-width: min(92vw, 560px);
    text-align: center;
}
.pp-lightbox img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 22px;
    background: var(--pp-card);
    box-shadow: var(--pp-shadow-pop);
}
.pp-lightbox figcaption {
    margin-top: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--pp-font-ui);
}
.pp-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--pp-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.pp-review-text {
    margin: 12px 0 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--pp-text);
}
.pp-review-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--pp-neutral-ink);
    font-weight: 500;
}
.pp-review-dot { color: var(--pp-text-tertiary); }

/* Closing card (r21, the listing's r20 card): booking line, links, then the share row. */
.pp-cta {
    margin-top: 40px;
    padding: 22px 20px;
    border-radius: 18px;
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-top: 4px solid var(--pp-primary);
    box-shadow: var(--pp-shadow-card);
}
.pp-cta h2 {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 22px;
    color: var(--pp-text);
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}
.pp-cta p {
    font-size: 15px;
    color: var(--pp-neutral-ink);
    margin: 0 0 16px;
    line-height: 1.5;
    max-width: 520px;
}
.pp-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-btn-primary {
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border: none;
    border-radius: 14px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform 180ms var(--pp-ease-out);
}
.pp-btn-secondary {
    background: var(--pp-card);
    color: var(--pp-text);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform 180ms var(--pp-ease-out);
}
.pp-btn-primary:active, .pp-btn-secondary:active, .pp-nav-cta:active { transform: scale(0.97); }

/* Credentials & experience ------------------------------------ *
 * Two visual registers, and the split is load-bearing: the green "Verified by
 * Pawprint" card is the only place a Pawprint guarantee may appear, and the
 * neutral cards carry everything self-reported or lapsed. */
.pp-verified {
    padding: 0;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--pp-verified-green) 40%, var(--pp-border));
}
.pp-verified-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--pp-verified-green) 12%, var(--pp-card));
    border-bottom: 1px solid color-mix(in srgb, var(--pp-verified-green) 26%, transparent);
}
.pp-verified-mark {
    display: flex;
    color: var(--pp-verified-green-ink);
    flex-shrink: 0;
}
.pp-verified-head-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pp-verified-head-text strong { font-size: 15px; font-weight: 700; }
.pp-verified-summary { font-size: 12.5px; color: var(--pp-neutral-ink); }

.pp-cred-list { list-style: none; margin: 0; padding: 0; }
.pp-cred {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--pp-border);
    flex-wrap: wrap;
}
.pp-cred:last-child { border-bottom: 0; }
.pp-cred-mark { display: flex; padding-top: 1px; color: var(--pp-verified-green-ink); flex-shrink: 0; }
.pp-cred-muted .pp-cred-mark { color: var(--pp-text-tertiary); }
.pp-cred-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 200px; }
.pp-cred-label { font-size: 14.5px; font-weight: 600; }
.pp-cred-muted .pp-cred-label { color: var(--pp-neutral-ink); font-weight: 500; }
.pp-cred-evidence { font-size: 12.5px; color: var(--pp-neutral-ink); line-height: 1.45; }
/* The only sub-label that survived the V3 tier collapse — board-confirmed is
 * the strongest signal and the one worth naming apart from the green check. */
.pp-cred-tag {
    flex-shrink: 0;
    align-self: center;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--pp-verified-green-ink);
    background: color-mix(in srgb, var(--pp-verified-green) 15%, transparent);
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
    margin-left: 26px;
}
.pp-cred-group { padding: 0; overflow: hidden; }
.pp-cred-group-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--pp-neutral-ink);
    padding: 13px 16px 9px;
}
.pp-cred-group .pp-cred-list { border-top: 1px solid var(--pp-border); }
.pp-cred-years { margin: 0 16px 10px; font-size: 14.5px; font-weight: 600; }
.pp-cred-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.pp-cred-tags .pp-chip {
    text-transform: none;
    letter-spacing: 0;
    font-size: 12.5px;
    font-weight: 500;
}
.pp-cred-note {
    margin: 0;
    padding: 10px 16px;
    border-top: 1px solid var(--pp-border);
    font-size: 12px;
    color: var(--pp-neutral-ink);
}

/* Rating breakdown */
.pp-ratings {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    padding: 18px;
}
.pp-ratings-score { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.pp-ratings-avg { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.pp-ratings-of { font-size: 12px; color: var(--pp-neutral-ink); }
.pp-ratings-count { font-size: 12.5px; color: var(--pp-neutral-ink); margin-top: 4px; }
.pp-ratings-bars { flex: 1; min-width: 190px; display: flex; flex-direction: column; gap: 5px; }
.pp-ratings-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.pp-ratings-star {
    display: inline-flex; align-items: center; gap: 3px;
    color: var(--pp-text-secondary);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.pp-ratings-star svg { color: var(--pp-orange); }
.pp-ratings-track {
    flex: 1;
    height: 7px;
    border-radius: 999px;
    background: var(--pp-bg);
    overflow: hidden;
}
.pp-ratings-fill { display: block; height: 100%; border-radius: 999px; background: var(--pp-orange); }
.pp-ratings-n {
    min-width: 20px;
    text-align: right;
    color: var(--pp-neutral-ink);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* Booking rail: narrow = hero, card, content; wide = 1180px, content + sticky 360px rail (the listing's numbers). */
.pp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 56px;
}
.pp-head, .pp-col, .pp-rail, .pp-cta-wrap { min-width: 0; }
.pp-rail { margin-top: 16px; }

@media (min-width: 1100px) {
    .pp-wrap.pp-layout { max-width: 1180px; }
    .pp-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        align-items: start;
    }
    .pp-head { grid-column: 1; grid-row: 1; }
    /* Spans rows 1-2 and stretches so the sticky card can travel; it hands off at the closing card. */
    .pp-rail {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: stretch;
        margin-top: 55px;
    }
    .pp-col { grid-column: 1; grid-row: 2; }
    .pp-cta-wrap { grid-column: 1; grid-row: 3; }
    .pp-book { position: sticky; top: 89px; }
}

.pp-book { padding: 20px; }
.pp-book-price {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.pp-book-sub { font-size: 13px; color: var(--pp-neutral-ink); margin-top: 5px; line-height: 1.5; }
.pp-book-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--pp-border);
}
.pp-book-fact {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: var(--pp-text);
}
.pp-book-fact svg { color: var(--pp-text-secondary); flex-shrink: 0; }
.pp-book-fact .pp-star, .pp-book-fact svg.pp-star { color: var(--pp-orange); }
.pp-book-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}
.pp-book-trust {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    color: var(--pp-neutral-ink);
}
.pp-book-alt {
    display: block;
    text-align: center;
    margin: -4px 0 -14px;
    padding: 14px 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pp-neutral-ink);
    text-decoration: none;
}
.pp-book-alt:hover { color: var(--pp-text); text-decoration: underline; }
.pp-book-note {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
    text-align: center;
}

/* Pinned bar: narrow screens only, and only once the card has scrolled away.
 * Ships hidden and stays hidden without JS — see js/sticky-cta.js. */
.pp-bookbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(253, 252, 250, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--pp-border);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%);
    transition: transform var(--pp-dur-base) var(--pp-ease-out);
}
.pp-bookbar[hidden] { display: none; }
.pp-bookbar.is-up { transform: translateY(0); }
.pp-bookbar-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 11px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.pp-bookbar-price { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.pp-bookbar .pp-btn-primary { padding: 11px 18px; font-size: 14.5px; }
@media (min-width: 1100px) { .pp-bookbar { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .pp-bookbar { transition: none; }
}

/* Pets: the detail the payload was already carrying */
.pp-pet { display: block; padding: 14px 16px; }
@media (min-width: 900px) { .pp-pets .pp-stack { display: grid; grid-template-columns: 1fr 1fr; } }
.pp-pet-head { display: flex; align-items: center; gap: 12px; }
.pp-pet-head-body { min-width: 0; }
.pp-pet-detail {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--pp-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pp-pet-bio {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
    white-space: pre-line;
}
.pp-pet-traits { display: flex; flex-wrap: wrap; gap: 6px; }
/* Neutral by default. A trait is free text and its valence is unknowable from
 * the string — only cautionTraits marks one, and only that gets emphasis. */
.pp-pet-trait {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border);
    font-size: 12.5px;
    color: var(--pp-text);
}
.pp-pet-trait-caution {
    background: color-mix(in srgb, var(--pp-orange) 16%, var(--pp-card));
    border-color: color-mix(in srgb, var(--pp-orange) 42%, transparent);
    color: #8a5a10;
    font-weight: 600;
}
.pp-pet-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pp-pet-fact {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--pp-neutral-ink);
}
.pp-pet-fact svg { color: var(--pp-verified-green-ink); flex-shrink: 0; }
.pp-pet-fact-no svg { color: var(--pp-text-tertiary); }
.pp-pet-photos, .pp-review-photos { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-pet-photo, .pp-review-photo {
    width: 56px; height: 56px;
    padding: 0;
    border: 1px solid var(--pp-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--pp-bg);
    cursor: pointer;
    transition: transform var(--pp-dur-fast) var(--pp-ease-out);
}
.pp-review-photo { width: 64px; height: 64px; }
.pp-pet-photo img, .pp-review-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-pet-photo:hover, .pp-review-photo:hover { transform: translateY(-1px); }

/* A provider's reply, clearly theirs and clearly not the review. */
.pp-review-photos { margin-top: 10px; }
.pp-review-reply {
    margin-top: 12px;
    padding: 11px 13px;
    background: var(--pp-bg);
    border-radius: 10px;
    border-left: 3px solid var(--pp-teal);
}
.pp-review-reply-head {
    font-size: 12px;
    font-weight: 700;
    color: var(--pp-text);
    margin-bottom: 3px;
}
.pp-review-reply p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
    white-space: pre-line;
}

@media (prefers-reduced-motion: reduce) {
    .pp-pet-photo, .pp-review-photo { transition: none; }
    .pp-pet-photo:hover, .pp-review-photo:hover { transform: none; }
}

/* Approximate-location map */
.pp-pmap-lede {
    margin: -4px 0 12px;
    font-size: 14px;
    color: var(--pp-neutral-ink);
}
.pp-map-shell {
    position: relative;
    /* Own stacking context, so nothing MapKit puts inside can out-paint the
     * sticky nav — the directory map learned this the hard way. */
    isolation: isolate;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 340px;
    border: 1px solid var(--pp-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--pp-bg);
}
.pp-map-canvas { position: absolute; inset: 0; }
.pp-map-note {
    margin: 9px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
}
/* The mark: the same face treatment the directory map uses, so a provider
 * looks like themselves on both surfaces. */
.pp-pmap-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--pp-card);
    border: 3px solid var(--pp-card);
    box-shadow: var(--pp-shadow-pop);
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 18px;
    color: var(--pp-text);
}
.pp-pmap-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Footer */
.pp-footer {
    margin-top: 80px;
    background: var(--pp-text);
    color: rgba(253,252,250,0.72);
}
.pp-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-start;
}
.pp-footer-brand {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.pp-footer p { font-size: 13px; line-height: 1.55; margin: 0; max-width: 280px; }
.pp-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.pp-footer-links a { font-size: 14px; color: inherit; text-decoration: none; }
.pp-footer-links a:hover { color: rgba(253,252,250,0.95); }
.pp-footer-contact { font-size: 13px; line-height: 1.7; }
.pp-footer-contact a { display: inline-block; min-height: 24px; color: inherit; text-decoration: none; }
.pp-footer-contact a:hover { color: rgba(253,252,250,0.95); }
.pp-footer-bottom {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(253,252,250,0.12);
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 8px;
    font-size: 12px;
}

/* Avatar gradient helpers */
.grad-orange { background: var(--pp-grad-orange); }
.grad-cream  { background: var(--pp-grad-cream); color: var(--pp-text); }
.grad-amber  { background: var(--pp-grad-amber); }
.grad-pink   { background: var(--pp-grad-pink); }
.grad-teal   { background: var(--pp-grad-teal); }
.grad-green  { background: var(--pp-grad-green); }

/* Error page */
.pp-error {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
.pp-error-card {
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: 22px;
    box-shadow: var(--pp-shadow-card);
    padding: 36px 28px;
    text-align: center;
    max-width: 440px;
    width: 100%;
}
.pp-error-card img { display: inline-block; border-radius: 16px; }
.pp-error-card h1 {
    font-family: var(--pp-font-display);
    font-weight: 700;
    font-size: 24px;
    color: var(--pp-text);
    margin: 18px 0 8px;
    letter-spacing: -0.3px;
}
.pp-error-card p {
    font-size: 15px;
    color: var(--pp-neutral-ink);
    margin: 0 0 22px;
    line-height: 1.5;
}
/* Dark buttons answer the pointer, as the marketing pages' buttons do. */
@media (hover: hover) {
    .pp-btn-primary:hover, .pp-nav-cta:hover, .pp-service-cta:hover { background: #503521; box-shadow: var(--pp-shadow-hover); }
    .pp-btn-secondary:hover { border-color: var(--pp-text-tertiary); box-shadow: var(--pp-shadow-hover); }
}
.pp-error-card .pp-btn-primary { background: var(--pp-primary); color: var(--pp-text); }

/* --- Share row -------------------------------------------------------------
   js/share-row.js fills the empty [data-pp-share] host; nothing here renders
   until it does, so a no-JS visitor sees no card rather than dead controls.
   🔴 The form's own [hidden] rule is spelled out because an author-level
   display outranks the UA sheet's [hidden] — the same trap .pp-cards and
   .pp-dir-grid hit in api/directory.js. */
.pp-share { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--pp-border); }
.pp-share:empty { display: none; }
.pp-share-title {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 16px;
    color: var(--pp-text);
    margin: 0 0 4px;
    letter-spacing: -0.2px;
}
.pp-share-sub {
    font-size: 14px;
    color: var(--pp-neutral-ink);
    margin: 0 0 14px;
    line-height: 1.45;
}
.pp-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--pp-r-pill);
    border: 1px solid var(--pp-border);
    background: var(--pp-bg);
    color: var(--pp-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    /* 44px floor: this row is a phone-first surface. */
    min-height: 44px;
}
@media (hover: hover) {
    .pp-share-btn:hover { border-color: var(--pp-text-tertiary); }
}
.pp-share-fb { color: #1763c0; }
.pp-share-sms {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.pp-share-sms[hidden] { display: none; }
.pp-share-input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 11px 14px;
    border-radius: var(--pp-r-md);
    border: 1px solid var(--pp-border);
    background: var(--pp-bg);
    color: var(--pp-text);
    font-family: inherit;
    font-size: 16px;
}
.pp-share-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.pp-share-submit {
    padding: 11px 20px;
    border-radius: var(--pp-r-md);
    border: 0;
    background: var(--pp-primary);
    color: var(--pp-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
}
.pp-share-submit:disabled { opacity: 0.6; cursor: default; }
.pp-share-note {
    font-size: 13px;
    color: var(--pp-neutral-ink);
    margin: 10px 0 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.pp-share-note:empty { margin: 0; }
.pp-share-note.is-error { color: #b3261e; }


/* Headings wrap evenly instead of leaving one word alone on the last line. */
h1, h2, h3 { text-wrap: balance; }


/* Copy-link fallback: the address wraps instead of running off a phone screen. */
.pp-share-manual-url { display: block; overflow-wrap: anywhere; }

/* Background-check proof ------------------------------------- *
 * lib/background-check-proof.js; the same block lives in the service and
 * profile stylesheets. A native <details>: the summary is the 44px row, the
 * panel carries the dates, Searched / Not included and the server disclaimer. */
.pp-bgc { min-width: 0; }
.pp-bgc-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 11px; min-height: 44px; padding: 10px 16px; cursor: pointer; list-style: none; }
.pp-bgc-summary::-webkit-details-marker { display: none; }
div.pp-bgc .pp-bgc-summary { cursor: default; }
.pp-bgc-mark { display: flex; flex-shrink: 0; color: var(--pp-verified-green-ink); }
.pp-bgc-muted .pp-bgc-mark, .pp-bgc-unavailable .pp-bgc-mark { color: var(--pp-text-tertiary); }
/* Large text: the toggle drops to its own line before the label gets narrower than 120px. */
.pp-bgc-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 120px; }
.pp-bgc-label { font-size: 14.5px; font-weight: 600; color: var(--pp-text); }
.pp-bgc-muted .pp-bgc-label, .pp-bgc-unavailable .pp-bgc-label { color: var(--pp-neutral-ink); font-weight: 500; }
.pp-bgc-sub { font-size: 12.5px; line-height: 1.45; color: var(--pp-neutral-ink); }
.pp-bgc-toggle { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; margin-left: auto; font-size: 13px; font-weight: 600; color: var(--pp-text); }
.pp-bgc-hide, .pp-bgc[open] .pp-bgc-show { display: none; }
.pp-bgc[open] .pp-bgc-hide { display: inline; }
.pp-bgc-chev { transition: transform var(--pp-dur-fast) var(--pp-ease-out); }
.pp-bgc[open] .pp-bgc-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .pp-bgc-chev { transition: none; } }
.pp-bgc-panel { padding: 2px 16px 16px 42px; }
.pp-bgc-facts { margin: 0 0 14px; border: 1px solid var(--pp-border); border-radius: 12px; background: var(--pp-card); }
.pp-bgc-fact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 9px 12px; border-top: 1px solid var(--pp-border); font-size: 13.5px; line-height: 1.4; }
.pp-bgc-fact:first-child { border-top: 0; }
.pp-bgc-fact dt { color: var(--pp-neutral-ink); }
.pp-bgc-fact dd { margin: 0; font-weight: 600; color: var(--pp-text); }
.pp-bgc-head { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--pp-neutral-ink); }
.pp-bgc-scope { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.pp-bgc-scope li { position: relative; padding-left: 16px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--pp-text); }
.pp-bgc-scope li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--pp-verified-green-ink); }
.pp-bgc-muted .pp-bgc-scope li::before { background: var(--pp-neutral-ink); }
.pp-bgc-scope-out li { font-weight: 500; color: var(--pp-neutral-ink); }
.pp-bgc .pp-bgc-scope-out li::before { top: 0.64em; left: 1px; width: 8px; height: 2px; border-radius: 1px; background: var(--pp-text-tertiary); }
.pp-bgc-note { padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--pp-verified-green) 24%, transparent); background: color-mix(in srgb, var(--pp-verified-green) 9%, var(--pp-card)); }
.pp-bgc-muted .pp-bgc-note { border-color: var(--pp-border); background: var(--pp-bg); }
.pp-bgc-note strong { display: block; margin-bottom: 3px; font-size: 13.5px; color: var(--pp-text); }
.pp-bgc-note p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--pp-neutral-ink); }
.pp-bgc-retry { display: inline-flex; align-items: center; flex-shrink: 0; margin-left: auto; min-height: 44px; padding: 0 4px; font-size: 13px; font-weight: 600; color: var(--pp-text); }
@media (max-width: 480px) { .pp-bgc-panel { padding-left: 16px; } }
/* On the profile it is a row of the credential card. */
.pp-cred-bgc { display: block; padding: 0; }
.pp-cred-bgc .pp-bgc-summary { padding: 13px 16px; }
