/* fonts-selfhost */ /* Self-hosted subsets (latin, latin-ext) of the site's Google Fonts — no third-party requests. */
/* latin-ext */
@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/rokkitt-qFdE35qfgYFjGy5hkEiCdubL.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/rokkitt-qFdE35qfgYFjGy5hkEaCdg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/rokkitt-qFdE35qfgYFjGy5hkEiCdubL.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/rokkitt-qFdE35qfgYFjGy5hkEaCdg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/rokkitt-qFdE35qfgYFjGy5hkEiCdubL.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/rokkitt-qFdE35qfgYFjGy5hkEaCdg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/saira-memjYa2wxmKQyPMrZX79wwYZQMhsyuSLhovSZSk.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/saira-memjYa2wxmKQyPMrZX79wwYZQMhsyuSLiIvS.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/saira-memjYa2wxmKQyPMrZX79wwYZQMhsyuSLhovSZSk.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/saira-memjYa2wxmKQyPMrZX79wwYZQMhsyuSLiIvS.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   MANILA — Bay Sunset & Capiz.
   Capiz-shell pearl white ground, narra-wood red-brown accent, bay-sunset
   amber, jeepney chrome grey. Capiz window-grid dividers (thin mullion
   ticks, not checkerboard). Rokkitt slab-serif display headings, Saira
   sans body. Calm, airy, high-contrast — kept clear of philippines-dental's
   sea-blue + sun-yellow "Jeepney fiesta" palette.
   ========================================================================== */

:root {
  /* Ink & ground — capiz-shell pearl */
  --ink: #221a15;            /* near-black warm charcoal */
  --ink-soft: #6b5a4c;       /* warm brown-grey */
  --line: #ddd3c5;           /* capiz pearl hairline */
  --bg: #fbf8f4;             /* capiz-shell pearl white */
  --bg-soft: #f2ece1;        /* deeper pearl / sand */
  --card: #fffdfa;           /* card ground, a touch lighter than bg */

  /* Narra-wood red-brown accent */
  --accent: #8c3b1e;
  --accent-soft: #f2ded2;    /* pale terracotta wash */

  /* Bay-sunset amber — decorative + mid-tier semantic */
  --amber: #b9791a;          /* bright sunset amber (decorative) */
  --amber-soft: #f6e6c3;

  /* Jeepney chrome grey — decorative neutral */
  --chrome: #5f5d58;
  --chrome-soft: #e7e4de;

  /* Semantic scoring */
  --good: #2f5d3a;           /* palm-patina green */
  --good-bg: #e1ead9;
  --mid: #8a5a0c;             /* sunset amber, darkened for text */
  --mid-bg: #f6e6c3;
  --bad: #a1291f;             /* deep red, distinct from narra accent */
  --bad-bg: #f8dcd6;
  --unknown: #7a7166;

  --head-font: 'Rokkitt', Georgia, 'Times New Roman', serif;
  --body-font: 'Saira', system-ui, -apple-system, Arial, sans-serif;

  --radius: 10px;
  --grid: 34px;               /* capiz window-grid pitch */
  --max-width: 74rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--bg);
  /* capiz window-grid: faint crossing mullion lines, not a checkerboard */
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.4rem; }
main.container { padding-top: 1.75rem; padding-bottom: 3.5rem; }

a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { font-family: var(--head-font); font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
h1 { font-size: 2.2rem; line-height: 1.1; margin: 0.55rem 0 0.9rem; }
h2 {
  font-size: 1.32rem; line-height: 1.18; margin: 2.25rem 0 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--line);
  /* capiz-grid tick border: short accent mullions at a steady pitch */
  border-image: repeating-linear-gradient(
    90deg,
    var(--accent) 0px, var(--accent) 3px,
    transparent 3px, transparent calc(var(--grid) / 2)
  ) 1;
}
h3 { font-size: 1.1rem; line-height: 1.25; margin: 1.3rem 0 0.45rem; }
p { margin: 0.5rem 0 1rem; }

.lead { font-size: 1.12rem; line-height: 1.55; color: var(--ink-soft); max-width: 50rem; }
.muted { color: var(--ink-soft); font-size: 0.9rem; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 3px solid var(--accent);
  border-top: 3px solid transparent;
  background:
    repeating-linear-gradient(
      90deg,
      var(--chrome) 0px, var(--chrome) 2px,
      transparent 2px, transparent calc(var(--grid) / 2)
    ) top / 100% 3px no-repeat,
    var(--bg-soft);
}
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem;
  padding-top: 1rem; padding-bottom: 0.9rem;
}
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--head-font); font-weight: 700; font-size: 1.42rem;
  letter-spacing: -0.01em; line-height: 1; color: var(--ink);
  border-bottom: 3px solid var(--accent); padding-bottom: 0.2rem;
}
.brand-tagline {
  font-size: 0.72rem; color: var(--chrome); text-transform: uppercase;
  letter-spacing: 0.16em; margin-top: 0.3rem;
}

.site-nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; font-size: 0.83rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--chrome); padding: 0.2rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--amber); }
.site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.lang-switcher { margin-left: auto; font-size: 0.82rem; white-space: nowrap; }
.lang-switcher a { text-decoration: none; color: var(--chrome); }
.lang-switcher a:hover { color: var(--accent); text-decoration: underline; }
.lang-current { font-weight: 700; color: var(--accent); }
.lang-sep { color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.5rem 1.6rem;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; top: 1.4rem; right: 1.4rem;
  width: 1.4rem; height: 1.4rem;
  background-image:
    linear-gradient(90deg, var(--amber) 1.5px, transparent 1.5px),
    linear-gradient(var(--amber) 1.5px, transparent 1.5px);
  background-size: 0.7rem 0.7rem;
  opacity: 0.55;
}
.hero h1 { max-width: 46rem; }
.hero-links { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Profile controls ---------- */
.ranking-controls {
  margin: 1.75rem 0 1rem; padding: 0.9rem 1.1rem;
  background: var(--bg-soft); border: 1px solid var(--line); border-top: 3px solid var(--amber);
  border-radius: var(--radius);
}
.profile-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-btn {
  font: inherit; font-weight: 600; font-size: 0.84rem;
  text-transform: uppercase; letter-spacing: 0.03em;
  padding: 0.38rem 0.9rem;
  border: 1.5px solid var(--chrome); border-radius: 999px;
  background: var(--bg); color: var(--ink);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.profile-btn:hover { border-color: var(--accent); color: var(--accent); }
.profile-btn:active { background: var(--accent-soft); }
.profile-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.profile-desc { min-height: 1.4em; margin: 0.65rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }

.table-filter { margin-top: 0.8rem; }
.table-filter input {
  font: inherit; font-size: 0.95rem; width: 100%; max-width: 21rem;
  padding: 0.48rem 0.75rem; border: 1.5px solid var(--chrome); border-radius: 7px;
  background: var(--bg);
}
.table-filter input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
}
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.58rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
  color: var(--bg); background: var(--ink); border-bottom: 3px solid var(--accent);
}
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.ranking-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg-soft) 60%, transparent); }
.ranking-table tbody tr:hover { background: var(--accent-soft); }
.ranking-table tbody tr:nth-child(even):hover { background: var(--accent-soft); }
.rank-cell { font-family: var(--head-font); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent); width: 2.4rem; font-size: 1.02rem; }
.name-cell a { font-family: var(--head-font); font-weight: 700; text-decoration: none; color: var(--ink); }
.name-cell a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.score-cell { white-space: nowrap; }
.th-sub { font-size: 0.7em; color: var(--bg); opacity: 0.8; margin-left: 0.15em; text-transform: none; letter-spacing: 0; font-weight: 400; }
.cat-cell { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cat-max { color: var(--ink-soft); font-size: 0.8em; }
.flags-cell .flag-count { color: var(--bad); font-weight: 700; }
.flags-cell .flag-none { color: var(--ink-soft); }
.table-note { margin-top: 0.8rem; max-width: 52rem; font-size: 0.88rem; color: var(--ink-soft); }

.excluded-note { margin-top: 1rem; font-size: 0.9rem; }
.excluded-note summary { cursor: pointer; color: var(--accent); font-weight: 600; }

/* ---------- Score badges ---------- */
.score-badge {
  display: inline-block; min-width: 2.6em; text-align: center;
  padding: 0.15em 0.5em; border-radius: 6px; border: 1.5px solid transparent;
  font-family: var(--head-font); font-weight: 700; font-variant-numeric: tabular-nums;
}
.score-high { background: var(--good-bg); color: var(--good); border-color: var(--good); }
.score-mid { background: var(--mid-bg); color: var(--mid); border-color: var(--mid); }
.score-low { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); }
.score-na { background: var(--bg-soft); color: var(--unknown); border-color: var(--line); }

/* ---------- Bars ---------- */
.bar { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; height: 0.7rem; overflow: hidden; min-width: 6rem; flex: 1; }
.bar-fill { background: linear-gradient(90deg, var(--amber), var(--accent)); height: 100%; }

/* ---------- Cards ---------- */
.cards-section { margin-top: 2.75rem; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.1rem; }
.clinic-card {
  border: 1px solid var(--line); border-top: 3px solid var(--amber);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
  background: var(--card);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.clinic-card:hover { border-top-color: var(--accent); background: var(--bg-soft); }
.clinic-card:nth-child(3n+2) { border-top-color: var(--good); }
.clinic-card:nth-child(3n) { border-top-color: var(--accent); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.card-head h3 { margin: 0; font-size: 1.04rem; }
.card-head a { text-decoration: none; color: var(--ink); }
.card-head a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.card-summary { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.3rem; }
.card-bars { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.7rem 0; }
.card-bar-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; }
.card-bar-label { flex: 0 0 9.5rem; color: var(--ink-soft); }
.card-bar-pts { flex: 0 0 3.2rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.card-meta { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Clinic page ---------- */
.breadcrumbs { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.clinic-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap;
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius);
  background: var(--card); padding: 1.2rem 1.3rem; margin-top: 0.5rem;
}
.clinic-headline { font-size: 1.02rem; max-width: 46rem; color: var(--ink-soft); }
.clinic-score-big { font-family: var(--head-font); font-size: 2.15rem; display: flex; align-items: baseline; gap: 0.3rem; }
.clinic-score-big .score-badge { padding: 0.15em 0.55em; }
.score-of { color: var(--ink-soft); font-size: 1rem; }

.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  display: inline-flex; align-items: baseline; gap: 0.5em;
  border: 1px solid var(--chrome); border-radius: 999px; padding: 0.3rem 0.8rem;
  font-size: 0.85rem; background: var(--bg);
}
.chip-ranked { background: var(--accent-soft); border-color: var(--accent); }
.chip-rank { font-family: var(--head-font); font-weight: 700; color: var(--accent); }
.chip-excluded { color: var(--ink-soft); background: var(--bg-soft); }
.chip-excluded .chip-rank { color: var(--unknown); font-weight: 400; }
.chip-score { color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
@media (max-width: 44rem) { .two-col { grid-template-columns: 1fr; } }
.plus-list li::marker { color: var(--good); }
.minus-list li::marker { color: var(--bad); }

.cat-section { margin-top: 1.75rem; }
.cat-section-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 0.4rem;
}
.cat-section-head h3 { margin: 0; }
.cat-section-score { display: flex; align-items: center; gap: 0.6rem; min-width: 14rem; font-variant-numeric: tabular-nums; font-size: 0.9rem; }

.crit-table { font-size: 0.9rem; }
.crit-table td { padding: 0.4rem 0.55rem; }
.crit-status { width: 1.6rem; }
.crit-pts { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; width: 4rem; }
.crit-note { color: var(--ink-soft); font-size: 0.85em; }
.crit-unknown .crit-label { color: var(--unknown); }

.status { font-weight: 700; }
.st-earned { color: var(--good); }
.st-partial { color: var(--mid); }
.st-missed { color: var(--bad); }
.st-unknown { color: var(--unknown); }

.flag-list { list-style: none; padding: 0; }
.flag {
  padding: 0.6rem 0.85rem; border: 1px solid var(--line); border-left-width: 5px;
  border-left-color: var(--bad); background: var(--bad-bg); border-radius: 7px;
  margin-bottom: 0.55rem; font-size: 0.92rem;
}
.flag-low { border-left-color: var(--mid); background: var(--mid-bg); }
.flag-sev {
  text-transform: uppercase; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  margin-right: 0.35rem; color: var(--bad);
}
.flag-low .flag-sev { color: var(--mid); }

.unknown-list { columns: 2; column-gap: 2rem; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 44rem) { .unknown-list { columns: 1; } }

.kv-table th { width: 9rem; font-weight: 600; color: var(--ink); background: var(--bg-soft); }
.src-id { font-variant-numeric: tabular-nums; color: var(--ink-soft); width: 3rem; }
.src-ref { font-size: 0.82em; text-decoration: none; color: var(--accent); }
.src-manual { color: var(--ink-soft); font-style: italic; }
.sources-table td { word-break: break-word; }
:target { background: var(--mid-bg); box-shadow: inset 0 0 0 2px var(--amber); transition: background 0.6s; }

.report-cta {
  margin-top: 2.75rem; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; background: var(--bg-soft);
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-block; background: var(--accent); color: var(--bg);
  border: 1.5px solid var(--accent); border-radius: 999px; padding: 0.55rem 1.3rem;
  font: inherit; font-weight: 600; font-size: 0.94rem;
  text-decoration: none; cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:active { background: var(--accent); border-color: var(--ink); }
.btn-secondary { background: var(--bg); color: var(--ink); border: 1.5px solid var(--chrome); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.report-form { max-width: 36rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.3rem; }
.form-row .check-label { font-weight: 400; }
.form-row input[type="url"], .form-row input[type="email"], .form-row select, .form-row textarea {
  width: 100%; font: inherit; font-size: 0.95rem;
  padding: 0.5rem 0.7rem; border: 1.5px solid var(--chrome); border-radius: 7px; background: var(--bg);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Methodology ---------- */
.formula {
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: 8px; padding: 0.85rem 1.1rem; font-size: 0.9rem; overflow-x: auto;
}
.method-table td, .method-table th { font-size: 0.9rem; }
.profile-matrix td, .profile-matrix th { white-space: nowrap; }
.profile-matrix td:last-child, .profile-matrix th:last-child { white-space: normal; min-width: 14rem; }

/* ---------- Home audit block ---------- */
.home-audit { margin-top: 2.75rem; border-top: 2px solid var(--accent); padding-top: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 3px solid var(--accent);
  background:
    repeating-linear-gradient(
      90deg,
      var(--chrome) 0px, var(--chrome) 2px,
      transparent 2px, transparent calc(var(--grid) / 2)
    ) top / 100% 3px no-repeat,
    var(--bg-soft);
  margin-top: 2.5rem; font-size: 0.85rem; color: var(--ink-soft);
}
.site-footer .container { padding-top: 1.4rem; padding-bottom: 1.75rem; }
.site-footer p { max-width: 60rem; }
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Licensing & Credentials ---------- */
#licensing .lic-missing { color: var(--bad); font-weight: 600; }
.doctors-table { margin-top: 0.6rem; font-size: 0.92rem; }
.doctors-table th {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bg); background: var(--ink);
}
.doctors-table td .lic-missing { color: var(--bad); font-size: 0.9em; font-weight: 600; }

/* ---------- Feedback form (unified) ---------- */
.req { color: var(--bad); font-weight: 700; }
.contact-fieldset {
  border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: var(--radius);
  padding: 0.6rem 1.1rem 1.1rem; margin: 1.35rem 0; background: var(--card);
}
.contact-fieldset legend {
  font-family: var(--head-font); font-weight: 700; padding: 0.1rem 0.5rem; color: var(--accent);
}
.contacts-hint { margin: 0.35rem 0 0.85rem; }
.hp-field { position: absolute !important; inset-inline-start: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--bad); font-size: 0.9rem; margin-top: 0.4rem; font-weight: 600; }
.form-status { min-height: 1.2em; font-size: 0.95rem; margin-top: 0.5rem; }
.form-ok { color: var(--good); font-weight: 700; }
.form-err { color: var(--bad); font-weight: 700; }
.cf-turnstile { margin: 1rem 0; }

/* ---------- Data banner (if present) ---------- */
.data-banner {
  border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius);
  background: var(--bg-soft); padding: 0.75rem 1rem; margin: 1rem 0; font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  h1 { font-size: 1.78rem; }
  h2 { font-size: 1.2rem; }
  .hero { padding: 1.15rem 1.15rem; }
  .clinic-score-big { font-size: 1.7rem; }
  .site-header .container { gap: 0.4rem 1rem; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #000; }
  body, .hero, .clinic-card, .clinic-head, .table-wrap, .contact-fieldset,
  .flag, .report-cta, .data-banner, .score-badge, .profile-btn, .btn, .chip {
    box-shadow: none !important;
  }
  .site-header, .site-footer { background: #fff; color: #000; border-color: #000; }
  a { color: #000; }
  h1, h2 { text-shadow: none; color: #000; }
  .formula { background: #fff; color: #000; }
}

/* us-cta (zartrace funnel) */
.us-cta { margin: 1.1rem 0 0; padding: 1rem 1.25rem; border: 1px solid rgba(127,127,127,0.28); border-left: 3px solid var(--accent,#888); border-radius: 10px; background: rgba(127,127,127,0.06); }
.us-cta h4 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.us-cta > p { margin: 0 0 0.75rem; }
.us-cta .btn { margin: 0.15rem 0; }
.us-cta .us-disclosure { font-size: 0.8rem; opacity: 0.7; margin: 0.65rem 0 0; }
.us-cta-lg { margin: 1.5rem 0; padding: 1.4rem 1.6rem; }
.us-cta-lg h2 { margin-top: 0; }

/* sedation */
#sedation{margin:1.25rem 0;padding:1rem 1.15rem;border:1px solid var(--line,#e5e0d8);border-radius:10px;background:var(--card,#fff)}
#sedation h2{margin-top:0}
.sedation-list{list-style:none;padding:0;margin:.5rem 0}
.sedation-list li{padding:.35rem 0}
.info-pill{display:inline-block;font-size:.72em;padding:.05em .55em;border:1px solid var(--accent,#1b5c8a);border-radius:1em;color:var(--accent,#1b5c8a);vertical-align:middle;white-space:nowrap}

/* fleet-a11y-v1 */
/* fleet-a11y-v1.1 rtl-safe */
.skip-link { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 100; padding: 0.5rem 1rem; background: var(--bg, #fff); color: var(--ink, #111); border: 2px solid var(--accent, currentColor); border-radius: 4px; }
.skip-link:focus { inset-inline-start: 0.5rem; top: 0.5rem; }
:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
/* cities-table-scroll */
.cities-table { min-width: 34rem; }
.cities-table td, .cities-table th { white-space: nowrap; }
