
/* Layout: one calm column — search bar, filter row, then a list of practice rows that expand to show the full price list */
:root {
  --bg: #f8f6fb;
  --surface: #ffffff;
  --fg: #221d2b;
  --muted: #655e72;
  --line: #e6e1ee;
  --accent: #6b4aa0;
  --accent-soft: #efe8f8;
  --low: #1f7a4a;
  --high: #a4532a;
  --chip: #f1edf6;
  --star: #c98a10;
  --open-bg: #e2f3e8;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141218; --surface: #1c1922; --fg: #ebe7f0; --muted: #a59eb2; --line: #302a3a;
    --accent: #bba2e8; --accent-soft: #2b2340; --low: #6fcf97; --high: #e59a6f; --chip: #24202c; --star: #f0b84a; --open-bg: #173326;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141218; --surface: #1c1922; --fg: #ebe7f0; --muted: #a59eb2; --line: #302a3a;
  --accent: #bba2e8; --accent-soft: #2b2340; --low: #6fcf97; --high: #e59a6f; --chip: #24202c; --star: #f0b84a; --open-bg: #173326;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 15px; line-height: 1.5;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 32px 64px;
}
.wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
header h1 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 5vw, 38px);
  line-height: 1.1; margin: 0; letter-spacing: -0.01em; text-wrap: balance;
}
header p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }

.search { position: relative; }
.search input {
  width: 100%; font: inherit; font-size: 17px; padding: 14px 16px 14px 44px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--fg);
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
select {
  font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg); max-width: 100%;
}
select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.seg button {
  font: inherit; font-size: 14px; padding: 8px 14px; border: 0; background: transparent; color: var(--fg); cursor: pointer;
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--surface); font-weight: 600; }

.summary {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  padding: 12px 16px; background: var(--accent-soft); border-radius: 10px; font-size: 14px;
}
.summary b { font-variant-numeric: tabular-nums; }
.summary .count { color: var(--muted); margin-left: auto; }

.list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.row { border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row-main {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px;
  padding: 16px 18px; cursor: pointer; width: 100%; text-align: left;
  background: none; border: 0; color: inherit; font: inherit;
}
.row-main:hover { background: var(--bg); }
.name { font-weight: 600; font-size: 16px; }
.rate { grid-column: 1; font-size: 13.5px; color: var(--muted); }
.rate .stars { white-space: nowrap; }
.meta { color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.chip { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--chip); color: var(--fg); white-space: nowrap; }
.chip.ind { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.price { text-align: right; grid-row: 1 / span 4; grid-column: 2; align-self: center; }
.price .v { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price .d { font-size: 12.5px; font-weight: 600; }
.price .d.low { color: var(--low); }
.price .d.high { color: var(--high); }
.price .d.mid { color: var(--muted); font-weight: 500; }
.price .na { font-size: 13px; color: var(--muted); }
.has-tip { position: relative; cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }
@media (hover: hover) {
  .has-tip:hover::after { content: attr(data-tip); position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: 240px; padding: 8px 10px;
    border-radius: 8px; background: var(--fg); color: var(--bg); font-size: 12.5px; line-height: 1.4; text-align: left; white-space: normal; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
}
.stars { font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 5px; }
.stars b { color: var(--fg); }
.starbar { position: relative; display: inline-block; color: var(--line); letter-spacing: 1px; font-size: 13px; line-height: 1; }
.starbar span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--star); }
.gr { display: flex; align-items: center; gap: 12px; }
.gr-n { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }

.detail { padding: 4px 18px 20px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
.detail h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: right; }
th:first-child, td:first-child { text-align: left; font-weight: 400; }
thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
td.blank { color: var(--muted); }
.contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.contact .k { font-size: 12px; color: var(--muted); }
.contact a { color: var(--accent); word-break: break-word; }
a.pl { color: var(--accent); font-weight: 600; }
.copy { font: inherit; font-size: 12px; margin-left: 8px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.note { font-size: 12.5px; color: var(--muted); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
footer { font-size: 12.5px; color: var(--muted); max-width: 70ch; display: flex; flex-direction: column; gap: 6px; }
footer a { color: var(--accent); }

.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--accent); margin-bottom: 10px; }
.brand .bname { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand .bstars { width: 58px; height: 10px; margin-top: 4px; margin-right: 12px; }
.brand .mark { width: 40px; height: 40px; flex: none; --mk-collar: #bba2e8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .mark { --mk-collar: #6b4aa0; } }
:root[data-theme="dark"] .brand .mark { --mk-collar: #6b4aa0; }
.trust { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; font-weight: 600; color: var(--fg); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--low); }
.searchrow { display: grid; grid-template-columns: minmax(0, 150px) auto minmax(0, 1fr); gap: 12px; align-items: end; }
.pcbox, .search { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pcbox > span, .search .lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.pcbox input {
  width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--fg); font-weight: 600;
}
.pcbox input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.search input { padding-top: 12px; padding-bottom: 12px; }
.search svg { top: auto; bottom: 14px; transform: none; }
.searchrow select { padding: 13px 10px; font-size: 15px; }
.pcmsg { font-size: 13.5px; color: var(--muted); margin-top: -8px; min-height: 1.2em; }
.pcmsg.err { color: var(--high); }
.pcmsg:empty { display: none; }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; padding: 8px 0; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.dist { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.badge { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.badge.open { background: var(--open-bg); color: var(--low); }
.badge.closed { background: var(--chip); color: var(--muted); }
.hours td, .hours th { padding: 4px 0; }
.hours tr.today td { font-weight: 700; color: var(--fg); }
@media (max-width: 620px) {
  .searchrow { grid-template-columns: minmax(0, 1fr) auto; }
  .searchrow .search { grid-column: 1 / -1; }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .summary .count { margin-left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .row-main { transition: background .12s; }
}
.loading { font-size: 12.5px; color: var(--muted); font-style: italic; }
.gattr { font-size: 11.5px; color: var(--muted); font-family: Roboto, Arial, sans-serif; }
.keynote { padding: 12px 16px; border: 1px dashed var(--line); border-radius: 10px; font-size: 13.5px; color: var(--muted); }
#more { align-self: center; font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); cursor: pointer; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }

[hidden] { display: none !important; }
.testbar { position: sticky; top: 0; z-index: 50; background: #a4532a; color: #fff; text-align: center; font-size: 13.5px; font-weight: 600; padding: 7px 12px; }
img { max-width: 100%; }
.searchcard .searchrow { grid-template-columns: minmax(0, 190px) minmax(0, 250px) auto; justify-content: start; align-items: end; }
.petbox select { height: 51.5px; font-size: 16px; font-weight: 600; padding: 0 10px; }
.searchcard .searchrow .emerg-btn { height: 51.5px; }
@media (max-width: 620px) { .searchcard .searchrow { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .searchcard .searchrow .emerg-btn { grid-column: 1 / -1; height: 46px; } .searchcard .petbox select { font-size: 14.5px; padding: 0 6px; } }
.emerg-btn { font: inherit; font-size: 15px; font-weight: 700; height: 46px; padding: 0 16px; border-radius: 10px; border: 2px solid #c0392b; background: transparent; color: #c0392b; cursor: pointer; white-space: nowrap; }
.emerg-btn:hover, .emerg-btn[aria-pressed="true"] { background: #c0392b; color: #fff; }
.cmp[hidden] { display: none; }
.callbtn { position: absolute; left: 18px; bottom: 10px; font-size: 14px; font-weight: 700; color: #c0392b; text-decoration: none; }
.callbtn::before { content: "☎ "; }
.emerg-panel { margin-top: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid #e3a59d; background: #fdf1ef; color: #4a1712; font-size: 14px; }
.emerg-panel p { margin: 0 0 8px; }
.emerg-panel .note { color: #6b2a22; }
.emerg-panel .linkbtn { font: inherit; font-size: 14px; font-weight: 600; background: none; border: 0; padding: 0; color: #c0392b; text-decoration: underline; cursor: pointer; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .emerg-btn { border-color: #ef8b7f; color: #ef8b7f; } :root:not([data-theme="light"]) .emerg-btn[aria-pressed="true"], :root:not([data-theme="light"]) .emerg-btn:hover { background: #ef8b7f; color: #141218; } :root:not([data-theme="light"]) .emerg-panel { background: #2a1714; border-color: #6b2a22; color: #f6d9d4; } :root:not([data-theme="light"]) .emerg-panel .note { color: #f0b8af; } :root:not([data-theme="light"]) .emerg-panel .linkbtn { color: #ef8b7f; } }
/* site navigation and new sections */
.topnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topnav .brand { margin: 0; text-decoration: none; }
.topnav nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; }
.topnav nav a { color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.topnav nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }
.topnav nav a:hover { color: var(--fg); }
.hero { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.hero p { margin: 0; color: var(--muted); font-size: 16px; }
.hero .trust { margin-top: 4px; }
.hero p.tagline { max-width: none; }
.sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sortbar button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.sortbar button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.sortbar button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 480px) { .sortbar > span { display: none; } .sortbar { gap: 6px; } .sortbar button { padding: 7px 10px; font-size: 13px; } }
.searchcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.searchcard .row2 { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; }
.moreopts > summary { font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.moreopts > summary::-webkit-details-marker { display: none; }
.moreopts > summary::after { content: "▾"; font-size: 12px; }
.moreopts[open] > summary::after { content: "▴"; }
h2[id], section[id] { scroll-margin-top: 16px; }
.moreopts .filters { margin-top: 12px; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; }
.moreopts .frow > * { min-width: 0; }
.moreopts .frow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end; }
.moreopts .frow .wide2 { grid-column: span 2; }
.moreopts .frow select, .moreopts .frow input { width: 100%; box-sizing: border-box; height: 46px; }
@media (max-width: 640px) { .moreopts .frow { grid-template-columns: minmax(0, 1fr); } .moreopts .frow .wide2 { grid-column: auto; } }
.welcome { padding: 28px 20px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.welcome b { color: var(--fg); font-size: 16px; }
.linkbtn { font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.choose { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.choose h2, .guide h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; margin: 0; text-wrap: balance; }
.choose > p { margin: 0; color: var(--muted); max-width: 62ch; }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.tip .stat { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.tip h3 { margin: 0; font-size: 15.5px; }
.tip p { margin: 0; font-size: 14px; color: var(--muted); }
.tip.tip-price { border-color: var(--accent); background: var(--accent-soft); }

/* ---- phones ---- */
@media (max-width: 640px) {
  .tips { grid-template-columns: minmax(0, 1fr); }
  /* 16px stops iPhones zooming in when a box is tapped */
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
  /* bigger tap targets */
  .moreopts > summary { padding: 12px 0; }
  .seo summary, details > summary { padding: 10px 0; }
  .topnav nav a { padding: 10px 0; }
  .brand { padding: 6px 0; }
  a.pl { display: inline-block; padding: 8px 0; }
  .medtable td a { display: inline-block; padding: 6px 0; }
  .addbtn { padding: 10px 14px; }
  .jump a { padding: 10px 14px; }
  footer .footlinks a { display: inline-block; padding: 10px 0; }
  .summary a.pl { display: inline-block; padding: 6px 0; }
}
/* labels a touch larger everywhere */
.pcbox > span, .search .lbl, .field > span, .f > span, .f > legend, .medrow label > span { font-size: 12px; }
.tip.tip-price p { color: var(--fg); }
.src { font-size: 12.5px; color: var(--muted); }
.src a, .guide a { color: var(--accent); }
.guide { display: flex; flex-direction: column; gap: 28px; }
.guide section { display: flex; flex-direction: column; gap: 10px; }
.guide p, .guide li { max-width: 68ch; }
.guide p { margin: 0; }
.guide ul, .guide ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.guide h3 { margin: 6px 0 0; font-size: 17px; }
.factors { width: 100%; max-width: 560px; }
.factors td:first-child { text-align: left; }
.factors .bar { display: inline-block; height: 8px; border-radius: 4px; background: var(--accent); vertical-align: middle; margin-right: 8px; }
.callout { background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.decide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.decide > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.decide h3 { margin: 0; }
.decide p, .decide li { font-size: 14.5px; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { padding-left: 26px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--low); font-weight: 700; }
.pricetbl { max-width: 560px; }
.chip.special { background: var(--open-bg); color: var(--low); font-weight: 600; }
.chg { font-size: 11.5px; font-weight: 600; margin-top: 2px; white-space: nowrap; }
.chg.up { color: var(--high); }
.chg.down { color: var(--low); }
.detail td .chg { display: inline; margin-left: 6px; }
.footnote { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.kindnote { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); font-size: 14px; }
.seo details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.seo summary { font-weight: 600; cursor: pointer; }
.seo details p { margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.note.err { color: var(--high); font-weight: 600; min-height: 1em; }
#reg-form h2 { margin-top: 4px; }
#reg-form .form + h2 { margin-top: 22px; }
.moreopts .frow.basket { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.moreopts .frow.basket[hidden] { display: none; }
.moreopts .basket .blbl { width: 100%; font-size: 13px; font-weight: 600; color: var(--muted); }
.moreopts .basket label.bk { display: inline-flex; align-items: center; gap: 8px; width: auto; font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--fg); padding: 6px 0; cursor: pointer; }
.moreopts .basket label.bk input[type=checkbox] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--accent); }
.moreopts .basket label.bk select { width: auto; min-height: 0; font: inherit; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a2hs { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14px; }
.a2hs[hidden] { display: none; }
.a2hs img { border-radius: 9px; flex: none; }
.a2hs span { flex: 1; }
.a2hs button { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 99px; border: 0; background: var(--accent); color: var(--bg); cursor: pointer; white-space: nowrap; }
.a2hs button.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.viewsw { margin-left: auto; display: inline-flex; gap: 6px; }
.mapbox { height: 480px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--chip); }
.mapbox .empty { padding: 60px 20px; }
.mapinfo { font: 14px/1.4 Inter, system-ui, sans-serif; color: #222; max-width: 240px; }
.mapinfo b { display: block; font-size: 15px; margin-bottom: 2px; }
.mapinfo .p { font-weight: 700; margin: 4px 0; }
.mapinfo button { margin-top: 6px; font: inherit; font-weight: 600; color: #6b4aa0; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.rank { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; margin-right: 6px; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.row-top { position: relative; }
.row-main { padding-bottom: 40px; }
.cmp { position: absolute; right: 18px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; }
.cmp input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.cmp input:disabled + span { opacity: .45; }
.cmpbar { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: var(--fg); color: var(--bg); box-shadow: 0 6px 20px rgba(0,0,0,.2); font-size: 14px; }
.cmpbar[hidden] { display: none; }
.cmpbar span { margin-right: auto; }
.cmpbar button { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 99px; border: 0; background: var(--accent); color: var(--bg); cursor: pointer; }
.cmpbar button:disabled { opacity: .5; cursor: default; }
.cmpbar button.ghost { background: transparent; color: var(--bg); border: 1px solid currentColor; }
.cmpdlg { width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--fg); }
.cmpdlg::backdrop { background: rgba(0,0,0,.45); }
.cmphead { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); z-index: 1; }
.cmphead h2 { margin: 0; font-size: 20px; }
.cmphead button { font-size: 18px; background: none; border: 0; color: var(--fg); cursor: pointer; padding: 4px 8px; }
#cmpbody { padding: 6px 18px 18px; overflow-x: auto; }
.cmptbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmptbl th, .cmptbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmptbl thead th { font-size: 15px; min-width: 150px; }
.cmptbl tbody th { font-weight: 500; color: var(--muted); white-space: nowrap; }
.cmptbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmptbl .best { color: var(--low); font-weight: 700; }
.cmptbl tr.sec th { padding-top: 16px; color: var(--fg); font-weight: 700; border-bottom: 0; }
.cmpnote { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 480px) { .viewsw { margin-left: 0; } .mapbox { height: 380px; } }
.planbox { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.planbox h3 { margin: 0 0 6px; }
.plantbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.plantbl td { padding: 4px 0; border-bottom: 1px solid var(--line); }
.plantbl td + td { text-align: right; font-variant-numeric: tabular-nums; }
.plantbl tr.sub td { color: var(--muted); border-bottom: 0; padding-top: 8px; }
.plantbl tr.tot td { border-bottom: 0; }
.planbox .spend input { width: 80px; font: inherit; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--fg); }
.planbox .planv { color: var(--fg); }
.planbox .good { color: var(--low); }
.price .yr { font-size: 12px; font-weight: 500; color: var(--muted); }
.price .plan { font-size: 12px; color: var(--muted); margin-top: 2px; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.jump a { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; padding: 7px 12px; border-radius: 99px; background: var(--accent-soft); }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 16px; }
.tool h3 { margin: 8px 0 0; }
.cls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cl legend { font-weight: 700; margin-bottom: 6px; }
.clitem { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; cursor: pointer; border-top: 1px solid var(--line); }
.clitem input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--accent); }
.clitem input:checked + span { color: var(--muted); text-decoration: line-through; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f > span, .f > legend { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.f input:not([type=checkbox]), .f textarea, .medrow input {
  width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--fg); }
.f textarea { font-size: 14.5px; line-height: 1.5; resize: vertical; }
.f select { width: 100%; }
.f input:focus, .f textarea:focus, .medrow input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn, .guide a.btn { font: inherit; font-size: 14.5px; font-weight: 600; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: var(--bg); cursor: pointer; text-decoration: none; display: inline-block; }
.btn.ghost, .guide a.btn.ghost { background: transparent; color: var(--accent); }
.medrows { display: flex; flex-direction: column; gap: 10px; }
.medrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; padding-top: 12px; border-top: 1px solid var(--line); }
.medrow .mr-med { grid-column: 1 / -1; }
.medrow select { width: 100%; }
.medrow .mr-info { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.medrow .mr-info b { color: var(--fg); }
.medrow .mr-info a { color: var(--accent); }
.medrow input.auto { background: var(--accent-soft); }
.medrow label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.medrow label > span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.mr-med { display: flex; flex-direction: column; gap: 5px; position: relative; }
.mr-med > label > span, .mr-lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.mr-chosen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 16px; }
.mr-chosen small { color: var(--muted); font-size: 13px; }
.mr-var { max-width: 260px; margin-top: 6px; }
#m-ordnote { font-size: 12.5px; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
#m-ordnote .linkbtn { font-size: 12.5px; padding: 0; }
.linkbtn { font: inherit; font-size: 13.5px; font-weight: 600; background: none; border: 0; padding: 4px 0; color: var(--accent); text-decoration: underline; cursor: pointer; }
.pracfind { display: flex; flex-direction: column; gap: 5px; }
.pracfind label > span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.sugs, .pracs { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; margin-top: 4px; }
.sug { font: inherit; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 12px; color: var(--fg); cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sug:first-child { border-top: 0; }
.sug:hover, .sug:focus-visible { background: var(--accent-soft); }
.sug small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.sug.other { color: var(--accent); font-weight: 600; font-size: 14px; }
.sugs .nomatch { padding: 10px 12px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .sug { flex-direction: column; gap: 2px; } }
.medrow .rm { font: inherit; font-size: 13px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
@media (max-width: 560px) { .medrow { grid-template-columns: 1fr 1fr; } .medrow .mr-qty, .medrow .mr-name { grid-column: 1 / -1; } }
.result { background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.result .big { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--fg); }
.result table { width: 100%; font-size: 14px; }
.result td:last-child, .result th:last-child { text-align: right; }
.note.small { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
@media print {
  .topnav, .hero, footer, .tool:not(#prepare), .seo, section[aria-labelledby=t6], .actions, .tool > p { display: none !important; }
  .tool { border: 0; padding: 0; }
  .clitem input { -webkit-print-color-adjust: exact; }
}

.medtable td .lo { color: var(--low); font-weight: 600; }
.medtable td .hi { color: var(--high); font-weight: 600; }
#flea-out { margin-top: 4px; }
.medtable-wrap { overflow-x: auto; margin: 0 -4px; }
.medtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.medtable th, .medtable td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.medtable thead th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.medtable tbody th { font-weight: 600; min-width: 150px; }
.medtable small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.medtable td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.medtable td a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--muted); }
.medtable td.cheap a { color: var(--low); font-weight: 700; }
.medtable td.na { color: var(--muted); }
.addbtn { font: inherit; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer; }
.filters-med { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 560px) { .filters-med { grid-template-columns: 1fr 1fr; } .filters-med .f:first-child { grid-column: 1 / -1; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.medtable thead th { position: relative; }
@media (max-width: 560px) {
  .medtable .tm { display: none; }
  .medtable tbody th { min-width: 0; }
  .medtable th, .medtable td { padding: 9px 5px; }
  .addbtn { padding: 11px 14px; }
  .medrow .mr-info a { display: inline-block; padding: 6px 2px; }
}
.medtable td.pc a.best { font-size: 16px; font-weight: 700; color: var(--low); }
.medtable td.pc .nw { white-space: nowrap; }
.medtable td.pc .unit { color: var(--muted); font-size: 12px; }
.medtable td.pc small a { color: var(--muted); font-weight: 400; border-bottom-color: var(--line); }
.medtable td.pc { white-space: normal; }
.medvar { display: block; margin: 6px 0 2px; }
.medvar select { font: inherit; font-size: 13px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); max-width: 100%; }
#mmore-wrap { justify-content: center; margin-top: 10px; }
#mcount:empty { display: none; }
.steps { display: flex; flex-direction: column; gap: 8px; }

.privtbl { max-width: none; }
.privtbl td:first-child { font-weight: 600; width: 38%; }
.privtbl td, .privtbl th { vertical-align: top; white-space: normal; text-align: left !important; }
mark { background: var(--accent-soft); color: var(--fg); padding: 0 3px; border-radius: 4px; }
footer .footlinks a { color: var(--accent); font-weight: 600; }

.trk-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 8px 0 18px; }
.trk-big div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.trk-big b { display: block; font-size: 28px; line-height: 1.1; }
.trk-big span { font-size: 13.5px; color: var(--muted); }
.trk-bar { display: inline-block; vertical-align: middle; width: 90px; height: 8px; border-radius: 99px; background: var(--chip); margin-right: 8px; overflow: hidden; }
.trk-bar i { display: block; height: 100%; background: var(--accent); }
.trk-chart svg { width: 100%; height: auto; max-width: 680px; }
.trk-chart text { font-size: 11px; fill: var(--muted); }
.trk-chart .g { stroke: var(--line); stroke-width: 1; }
.trk-chart .l { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.trk-chart figcaption { font-size: 13px; color: var(--muted); }
.trk-pct { display: inline-block; min-width: 3.4em; text-align: right; }
.trk-tbl td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.lp-lead { font-size: 17px; max-width: 68ch; }
.lp-cta { display: inline-block; align-self: flex-start; font-weight: 700; text-decoration: none; padding: 11px 18px; border-radius: 99px; background: var(--accent); color: var(--bg); }
.lp-cta:hover { filter: brightness(1.08); }
.lp-tbl th, .lp-tbl td { padding-left: 12px; } .lp-tbl th:first-child, .lp-tbl td:first-child { padding-left: 0; }
.lp-tbl td:first-child a { color: var(--accent); }
.lp-tbl td { white-space: nowrap; } .lp-tbl td:first-child { white-space: normal; min-width: 150px; }
.lp-tbl td.own { text-align: left; color: var(--muted); font-size: 13px; padding-left: 10px; }
.lp-tbl th.own { text-align: left; padding-left: 10px; }
.lp-links { list-style: none; padding: 0 !important; margin: 0; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 6px 16px !important; }
.lp-links a { color: var(--accent); font-weight: 600; }
.lp-links span { color: var(--muted); font-size: 13px; }
.lp-chg .up { color: var(--high); } .lp-chg .down { color: var(--low); }
.crumbs { font-size: 13px; color: var(--muted); margin: 0; }
.crumbs a { color: var(--accent); }
@media (max-width: 640px) { .lp-tbl td.own, .lp-tbl th.own { display: none; } }
.lp-chart { width: 100%; max-width: 640px; height: auto; display: block; }
.lp-chart .ln { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.lp-chart .gd { stroke: var(--line); stroke-width: 1; }
.lp-chart text { fill: var(--muted); font-size: 12px; font-family: inherit; }
.lp-chart .pt { fill: var(--accent); }
.lp-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.lp-charts figure { margin: 0; }
.lp-charts figcaption { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.lp-facts { list-style: none; padding: 0 !important; margin: 0; }
.lp-facts li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.lp-facts b { display: inline-block; min-width: 9em; }
.lp-tbl td.cmpx { color: var(--muted); }
