@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-latin-wght-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/geist-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --paper: #fafaf9;
  --surface: #ffffff;
  --ink: #1c1c1e;
  --muted: #5f5e5a;
  --line: #eae8e4;
  --line-strong: #dad7d1;
  --black: #141414;
  --tint: #f2f1ee;
  --tint-2: #f5f4f1;
  --blue: #2952cc;
  --star: #e3a008;
  --ok: #0e6b45;
  --ok-soft: #e6f4ec;
  --warn: #b4471f;
  --warn-soft: #fbece5;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 12px 32px -24px rgba(20, 20, 20, .28);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid #a9bff5; outline-offset: 2px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 14px 28px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 800; }
.top nav.main { display: flex; gap: 4px 22px; flex: 1 1 auto; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.top nav.main a { text-decoration: none; padding: 10px 0; }
.top .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.top .acts a, .top .acts .linkbtn { text-decoration: none; font-weight: 600; padding: 10px 12px; color: var(--ink); }
.top .acts .pill { background: var(--black); color: #fff; border-radius: 999px; padding: 11px 18px; }
.top .acts .pill:hover { color: #fff; background: #2a2d35; }

.flash { background: var(--ok-soft); color: var(--ok); padding: 12px 0; font-weight: 600; }
.notice { background: var(--warn-soft); color: var(--warn); padding: 10px 14px; border-radius: var(--radius-sm); margin: 0 0 16px; }

main { padding: 32px 0 72px; min-height: 60vh; }
main.flush { padding-top: 0; }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--black); color: #fff; border: 0; border-radius: 12px; padding: 0 20px; min-height: 48px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { background: #2a2d35; color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.soft { background: var(--tint); color: var(--blue); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.danger { background: var(--warn); color: #fff; }
.btn.block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; text-decoration: underline; cursor: pointer; }
form.stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 650; }
.field small { color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--black); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }

/* star picker */
.stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 2.2rem; line-height: 1; color: var(--line-strong); cursor: pointer; padding: 0 2px; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--star); }
.stars-input input:focus-visible + label { outline: 3px solid #a9bff5; border-radius: 4px; }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 20px; }

/* home hero */
.hero-band { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero-band .wrap { padding-top: 64px; padding-bottom: 44px; }
.badge-ok { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 8px 14px; border-radius: 999px; margin: 0 0 18px; }
.hero-band h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; letter-spacing: -0.035em; max-width: 16ch; margin: 0; }
.hero-band h1 span { color: var(--blue); }
.hero-band .lead { margin: 20px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40rem; }
.finder { margin-top: 34px; max-width: 980px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; background: #e9eef7; padding: 6px; border-radius: 16px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 700; border: 0; padding: 0 18px; min-height: 46px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(20,33,61,.35); }
.searchbox { margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: 0 20px 44px -26px rgba(20,33,61,.35); display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.searchbox label { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; padding: 10px 16px; border-radius: 14px; background: var(--paper); margin: 0; }
.searchbox label > span:first-child { font-size: 13px; font-weight: 700; color: var(--muted); }
.searchbox input { border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); padding: 4px 0; min-height: 30px; min-width: 0; width: 100%; }
.searchbox input:focus { outline: none; }
.searchbox label:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.searchbox .where { display: flex; align-items: center; gap: 8px; }
.locbtn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--tint); color: var(--blue); font: inherit; font-size: 14px; font-weight: 700; padding: 0 12px; border-radius: 10px; cursor: pointer; white-space: nowrap; min-height: 44px; }
.searchbox .go { flex: 0 1 auto; min-height: 64px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.searchbox [hidden] { display: none; }
.status { margin: 14px 0 0; font-size: 15px; color: var(--muted); min-height: 1em; }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips > span { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.chip { font-size: 15px; font-weight: 600; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); text-decoration: none; }
.chip.on { background: var(--black); color: #fff; border-color: var(--black); }
@media (hover: hover) { .chip:hover { background: var(--black); color: #fff; border-color: var(--black); } }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }

/* section helpers */
.sec { padding: 72px 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 8px 0 0; color: var(--muted); }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }
.white-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--paper); border-radius: 20px; padding: 26px; }
.step .num { width: 44px; height: 44px; border-radius: 12px; background: var(--black); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.tiles a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; font-weight: 700; min-height: 64px; }
.tiles a:hover { border-color: var(--ink); color: var(--ink); }
.tiles .ico { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--tint); display: grid; place-items: center; color: var(--blue); }
.dark-band { background: var(--ink); color: #f5f7fb; border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; }
.dark-band h2 { color: #fff; }
.dark-band > div:first-child { flex: 1 1 320px; }
.dark-band > div:first-child p { color: #c5cde0; font-size: 17px; }
.dark-band .rules { flex: 1 1 460px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dark-band .rules div { background: #1f2e52; border-radius: 18px; padding: 22px; }
.dark-band .rules h3 { color: #fff; font-size: 17px; margin: 0 0 8px; }
.dark-band .rules p { color: #c5cde0; font-size: 15px; margin: 0; }
.dark-band .btn { background: #fff; color: var(--ink); }
.light-band { background: var(--tint); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.light-band > div:first-child { flex: 1 1 420px; }
.light-band p { color: #35405a; font-size: 17px; margin: 14px 0 0; }

/* firm cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.fcard .in { padding: 22px 22px 0; display: flex; flex-direction: column; gap: 16px; }
.fcard .hd { display: flex; gap: 14px; align-items: flex-start; }
.fcard .av { width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--tint); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; overflow: hidden; }
.fcard .av img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.fcard h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 6px; }
.fcard h3 a { text-decoration: none; }
.fcard .where { margin: 4px 0 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.fcard .rt { text-align: right; flex: none; }
.fcard .rt b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.fcard .rt span { font-size: 13px; color: var(--muted); }
.fcard .rt .src { display: block; font-size: 12px; }
.fcard .tags { margin: 0; }
.fcard blockquote { margin: 0; background: #f7f9fc; border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.5; color: #2c3549; }
.fcard .slots-lbl { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.fcard .dot { width: 8px; height: 8px; border-radius: 50%; background: #1fa36b; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { font: inherit; cursor: pointer; border-radius: 12px; min-height: 52px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); text-decoration: none; }
.slot small { font-size: 12px; font-weight: 600; opacity: .8; }
.slot b { font-size: 15px; }
.slot:hover, .slot.on { background: var(--black); color: #fff; border-color: var(--black); }
.fcard .ft { margin-top: auto; padding: 16px 20px 20px; border-top: 1px solid #eef1f7; display: flex; align-items: center; gap: 8px; }
.fcard .in { padding-bottom: 18px; }
.fcard .ft .price { font-size: 13px; color: var(--muted); flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.fcard .ft .btn { min-height: 46px; padding: 0 14px; font-size: 14px; border-radius: 12px; white-space: nowrap; flex: none; }
.fcard .ft .price strong { color: var(--ink); font-size: 15px; display: block; }
.empty { background: #fff; border: 1px dashed var(--line-strong); border-radius: 20px; padding: 28px; text-align: center; color: var(--muted); }

/* tags, stars, results */
.stars { color: var(--star); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--line-strong); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--tint-2); color: #35405a; text-decoration: none; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.results { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.result { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.result h3 { margin: 0 0 4px; font-size: 1.2rem; }
.result h3 a { color: var(--ink); text-decoration: none; }
.result .score { text-align: right; min-width: 120px; }
.score-num { font-size: 1.6rem; font-weight: 800; line-height: 1; }

/* search page */
.search-top { background: #fff; border-bottom: 1px solid var(--line); }
.search-top .wrap { padding-top: 28px; padding-bottom: 28px; }
.search-top h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 6px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 22px 0; }
.search { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 10px; background: var(--surface); padding: 10px; border-radius: var(--radius-lg); border: 1px solid var(--line); margin-top: 22px; }
.search label { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); padding: 4px 10px; gap: 2px; }
.search select, .search input { border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--ink); padding: 4px 0; min-width: 0; }
@media (max-width: 700px) { .search { grid-template-columns: 1fr; } }
.pager { display: flex; gap: 12px; margin-top: 28px; }

/* firm page */
.firm-head { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
@media (max-width: 860px) { .firm-head { grid-template-columns: 1fr; } }
.firm-logo { width: 76px; height: 76px; border-radius: 22px; background: var(--tint); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; margin-bottom: 16px; object-fit: contain; }
.rating-big { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.bars { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.bar { display: grid; grid-template-columns: 2.2em 1fr 2.4em; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.bar .track { height: 8px; background: var(--tint-2); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--star); border-radius: 99px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.cols { display: grid; grid-template-columns: 1fr 320px; gap: 32px; margin-top: 32px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.other-src { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.src-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; font-size: 14px; text-decoration: none; }
.src-pill b { font-weight: 800; }

.review { padding: 22px 0; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 4px; }
.review h3 { margin: 6px 0 6px; }
.review .meta { font-size: .88rem; color: var(--muted); }
.review .body { white-space: pre-line; }
.review .from { display: inline-flex; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--tint-2); color: #35405a; margin-left: 6px; }
.reply { margin-top: 12px; padding: 12px 16px; background: var(--tint-2); border-radius: 12px; }
.review-actions { display: flex; gap: 16px; font-size: .88rem; margin-top: 8px; align-items: center; }
.removed { color: var(--muted); font-style: italic; }

/* dashboard */
.dash-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; background: #e9eef7; padding: 6px; border-radius: 14px; width: fit-content; max-width: 100%; }
.dash-nav a { padding: 10px 14px; text-decoration: none; color: var(--muted); border-radius: 10px; font-weight: 600; font-size: 15px; }
.dash-nav a.on { color: var(--ink); background: #fff; box-shadow: 0 4px 14px -6px rgba(20,33,61,.35); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none; }
.stat b { display: block; font-size: 1.7rem; }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.list th, table.list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list th { color: var(--muted); font-weight: 600; }
.tablewrap { overflow-x: auto; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
pre { background: var(--tint-2); padding: 12px; border-radius: 10px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

/* footer */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; gap: 24px 48px; flex-wrap: wrap; justify-content: space-between; }
.foot .brand { font-weight: 800; font-size: 17px; color: var(--ink); margin: 0 0 8px; }
.foot nav { display: flex; gap: 10px 26px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 20px; padding: 0; list-style: none; }
.areas-grid a { display: block; padding: 7px 0; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 16px; }
section + section { margin-top: 48px; }
.sec + .sec, .white-band + .sec, .sec + .white-band { margin-top: 0; }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top nav.main { display: none; }
  .top .wrap { justify-content: space-between; min-height: 60px; }
  .top .acts { gap: 2px; }
  .top .acts .pill { padding: 10px 14px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .tabs button { font-size: 13px; padding: 0 6px; justify-content: center; text-align: center; }
  .tabs button svg { display: none; }
  .hero-band .wrap { padding-top: 40px; }
  .searchbox .go { width: 100%; min-height: 56px; }
  .sec { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- v5: logo, area tags, clickable cards, areas dropdown, popular row ---------- */
.logo { gap: 8px; }
.logo-pin { flex: none; display: block; }
.logo-word { font-weight: 600; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.logo-word b { font-weight: 800; }

.atag { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; padding: 6px 12px 6px 10px; border-radius: 999px; text-decoration: none; line-height: 1.2; }
.atag svg { flex: none; }
.atag.more { background: var(--tint-2); color: var(--muted); padding: 6px 11px; }
a.atag:hover { filter: brightness(.96); }

.fcard { position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.fcard:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 22px 44px -28px rgba(20, 33, 61, .55); }
.fcard a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
.fcard a.stretch:focus-visible { outline: none; }
.fcard a.stretch:focus-visible::after { outline: 3px solid #a9bff5; outline-offset: -3px; }
.fcard .slot, .fcard .ft .btn, .fcard .rt a { position: relative; z-index: 2; }
.fcard h3 a.stretch { color: var(--ink); }
.fcard:hover h3 a.stretch { color: var(--blue); }

.searchbox .what-wrap { flex: 1 1 300px; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px 8px 10px 16px; border-radius: 14px; background: var(--paper); }
.searchbox .what-wrap:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.searchbox .what-wrap label { padding: 0; background: none; flex: none; font-size: 13px; font-weight: 700; color: var(--muted); }
.searchbox .what-wrap label:focus-within { box-shadow: none; }
.what-row { display: flex; align-items: center; gap: 4px; }
.area-toggle { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.area-toggle:hover { background: #e9eef7; color: var(--ink); }
.area-list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(20, 33, 61, .35); max-height: 340px; overflow-y: auto; }
.area-list li[role=option] { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); }
.area-list li[role=option]:hover, .area-list li.act { background: var(--tint-2); }
.area-list .ico { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.area-list li[hidden] { display: none; }
.area-list li.none { display: none; padding: 12px; font-size: 14px; color: var(--muted); }
.area-list.empty li.none { display: block; }

.pop { margin-top: 22px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
.pop::-webkit-scrollbar { display: none; }
.pop a { flex: 1 0 112px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 8px 12px; font-size: 13.5px; font-weight: 700; line-height: 1.25; color: var(--ink); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.pop a:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 14px 28px -20px rgba(20, 33, 61, .5); color: var(--ink); }
.pop .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
@media (max-width: 640px) {
  .pop { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .pop a { flex: 0 0 104px; }
  .logo-word { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .fcard:hover, .pop a:hover { transform: none; } }

/* ---------- v6: monochrome, serif headings, app-style phone layout ---------- */
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
h1, h2 { font-family: var(--serif); font-weight: 450; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-weight: 600; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; }

.logo-word { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); display: inline-flex; align-items: baseline; white-space: nowrap; }
.logo-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-left: 2px; }
.top { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--line); }
.top nav.main { font-size: 14.5px; font-weight: 450; color: var(--muted); }
.top nav.main a { color: var(--muted); }
.top nav.main a:hover { color: var(--ink); }
.top .acts { font-size: 14.5px; }
.top .acts a, .top .acts .linkbtn { font-weight: 500; }
.top .acts .pill { padding: 10px 18px; }
.top .me { display: none; }
.btn { font-weight: 550; font-size: 15px; letter-spacing: -0.005em; }
.btn.ghost { border: 1px solid var(--line-strong); }
.btn.soft { background: var(--tint); color: var(--ink); }

.hero-band { background: var(--paper); }
.hero-band .wrap { padding-top: 72px; padding-bottom: 24px; }
.hero-band h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 420; line-height: 1.06; letter-spacing: -0.02em; max-width: 18ch; }
.hero-band h1 em { color: var(--ink); }
.hero-band .lead { font-size: 18px; line-height: 1.6; max-width: 34rem; margin-top: 18px; }
.badge-ok { background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 13.5px; padding: 6px 14px 6px 8px; }
.okdot { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.okdot svg { stroke-width: 3; }
.tabs { background: var(--tint); }
.tabs button { font-weight: 550; font-size: 14.5px; }
.tabs button[aria-selected="true"] { box-shadow: 0 1px 3px rgba(20,20,20,.12); }
.searchbox { border-color: var(--line); box-shadow: 0 1px 2px rgba(20,20,20,.04), 0 18px 40px -28px rgba(20,20,20,.3); }
.searchbox label, .searchbox .what-wrap { background: var(--tint-2); }
.searchbox label > span:first-child, .searchbox .what-wrap label { font-weight: 550; font-size: 12.5px; letter-spacing: .01em; }
.searchbox input { font-size: 16px; }
.locbtn { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); font-weight: 550; font-size: 13.5px; min-height: 40px; }
.locbtn:hover { border-color: var(--ink); }
.area-toggle:hover { background: var(--tint); }
.ticks { color: var(--muted); font-size: 14px; }
.ticks svg { color: var(--ink); }

.ico, .pop .ico, .area-list .ico, .tiles .ico { background: var(--tint); color: var(--black); }
.pop a { font-weight: 550; font-size: 13.5px; border-color: var(--line); }
.pop a:hover { border-color: var(--black); box-shadow: none; }
.area-list li[role=option] { font-weight: 500; }
.atag { background: var(--tint); color: var(--ink); font-weight: 500; font-size: 13px; padding: 5px 11px 5px 9px; }
.atag.more { background: var(--tint); }
a.atag:hover { filter: none; background: #e9e7e3; }
.tag { background: var(--tint); color: var(--ink); font-weight: 500; }
.tiles a { font-weight: 550; border-color: var(--line); }
.tiles a:hover { border-color: var(--black); }

.fcard { border-color: var(--line); border-radius: 20px; }
.fcard:hover { border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(20,20,20,.04), 0 20px 40px -28px rgba(20,20,20,.35); }
.fcard a.stretch::after { border-radius: 20px; }
.fcard:hover h3 a.stretch { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fcard h3 { font-size: 17px; font-weight: 600; }
.fcard .av { background: var(--tint); border-radius: 14px; width: 52px; height: 52px; font-family: var(--serif); font-weight: 500; font-size: 20px; }
.fcard .rt b { font-weight: 650; }
.fcard blockquote { background: var(--tint-2); color: var(--ink); font-family: var(--serif); font-size: 16px; }
.fcard .ft { border-top-color: var(--line); }
.slot { border: 1px solid var(--line-strong); }
.slot b { font-weight: 600; }
.step .num { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.eyebrow { color: var(--muted); }
.dark-band { background: var(--black); }
.dark-band .rules div { background: #232323; }
.dark-band > div:first-child p, .dark-band .rules p { color: #bdbbb6; }
.light-band { background: var(--tint); }
.light-band p { color: var(--muted); }
.firm-logo { background: var(--tint); font-family: var(--serif); font-weight: 500; }
.rating-big { font-family: var(--serif); font-weight: 450; }
.score-num { font-weight: 650; }
.dash-nav { background: var(--tint); }
.foot .brand .logo-word { font-size: 21px; }

/* phone only bits, hidden on desktop */
.mpill, .sheet-hd, .tabbar, .mbar { display: none; }

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  html.noscroll, html.noscroll body { overflow: hidden; }
  .top .wrap { min-height: 56px; flex-wrap: nowrap; }
  .top .acts { display: none; }
  .top .me { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--tint); color: var(--ink); }
  .logo-word { font-size: 22px; }

  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 4px; text-decoration: none; color: #8d8b86; font-size: 11px; font-weight: 550; letter-spacing: .01em; }
  .tabbar a[aria-current="page"] { color: var(--black); }
  .tabbar a[aria-current="page"] svg { stroke-width: 2.2; }

  .hero-band .wrap { padding-top: 26px; padding-bottom: 8px; }
  .hero-band + .sec { padding-top: 20px !important; margin-top: 0; }
  .firm-logo { width: 56px; height: 56px; border-radius: 16px; font-size: 1.25rem; margin-bottom: 12px; }
  .firm-head .btn { min-height: 44px; font-size: 14.5px; padding: 0 16px; }
  .firm-head .hide-m { display: none; }
  .badge-ok { font-size: 12.5px; margin-bottom: 14px; }
  .hero-band h1 { font-size: 2.05rem; line-height: 1.1; max-width: none; }
  .hero-band .lead { font-size: 15.5px; margin-top: 10px; }
  .finder { margin-top: 20px; }
  .ticks { display: none; }

  .mpill { display: flex; width: 100%; align-items: center; gap: 12px; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 18px; box-shadow: 0 1px 2px rgba(20,20,20,.05), 0 10px 24px -18px rgba(20,20,20,.35); cursor: pointer; }
  .mpill span { display: flex; flex-direction: column; min-width: 0; }
  .mpill b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mpill small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .finder > .tabs, .finder > .searchbox, .finder > .status { display: none; }

  /* full-screen search sheet */
  .finder.open { position: fixed; inset: 0; z-index: 60; background: #fff; margin: 0; padding: 0 16px 24px; overflow-y: auto; animation: sheetin .18s ease-out; }
  @keyframes sheetin { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
  .finder.open .mpill { display: none; }
  .finder.open .sheet-hd { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 14px 0 10px; z-index: 2; }
  .sheet-hd b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
  .sheet-x { font: inherit; font-size: 15px; font-weight: 550; border: 0; background: var(--tint); color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
  .finder.open > .searchbox { display: flex; flex-direction: column; margin: 0; padding: 0; border: 0; box-shadow: none; gap: 10px; background: none; }
  .finder.open > .status { display: block; }
  .finder.open .what-wrap { display: contents; }
  .finder.open .what-wrap > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .finder.open .what-row { order: 1; background: var(--tint-2); border-radius: 14px; padding: 6px 6px 6px 16px; }
  .finder.open .what-row:focus-within { box-shadow: inset 0 0 0 1.5px var(--black); }
  .finder.open #where { order: 2; flex: none; }
  .finder.open .go { order: 3; flex: none; width: 100%; min-height: 52px; }
  .finder.open .area-list { order: 4; position: static; box-shadow: none; border: 0; padding: 4px 0 0; max-height: none; border-radius: 0; }
  .finder.open .area-list li[role=option] { padding: 10px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .finder.open #where { padding: 6px 6px 6px 16px; }
  .finder.open #where > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .finder.open #where:focus-within { box-shadow: inset 0 0 0 1.5px var(--black); }
  .finder.open .what-row:focus-within { box-shadow: inset 0 0 0 1.5px var(--black); }
  .finder.open .area-list li[role=option]:last-of-type { border-bottom: 0; }
  .finder.open .area-toggle { display: none; }
  .finder.open .searchbox input { font-size: 17px; min-height: 40px; }

  .pop { margin-top: 18px; gap: 8px; }
  .pop a { flex: 0 0 auto; flex-direction: row; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
  .pop .ico { width: 30px; height: 30px; border-radius: 50%; }
  .pop .ico svg { width: 16px; height: 16px; }

  .sec { padding: 40px 0; }
  .sec-head { margin-bottom: 16px; }
  .sec-head .btn { display: none; }
  .cards { gap: 12px; }
  .fcard { border-radius: 18px; box-shadow: 0 1px 2px rgba(20,20,20,.04); }
  .fcard a.stretch::after { border-radius: 18px; }
  .fcard:hover { transform: none; }
  .fcard .in { padding: 16px 16px 14px; gap: 12px; }
  .fcard .av { width: 44px; height: 44px; border-radius: 12px; font-size: 17px; }
  .fcard h3 { font-size: 16px; }
  .fcard .where { font-size: 13px; }
  .fcard .rt b { font-size: 18px; }
  .slot { min-height: 46px; }
  .fcard .ft { padding: 12px 14px 14px; }
  .fcard .ft .btn { min-height: 42px; padding: 0 12px; font-size: 14px; }
  .steps { gap: 10px; margin-top: 20px; }
  .step { padding: 20px; }
  .dark-band, .light-band { border-radius: 22px; }
  .search-top .wrap { padding-top: 18px; padding-bottom: 18px; }
  .search-top h1 { font-size: 1.6rem; }
  .filters { margin: 14px 0; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .filters .chip { white-space: nowrap; min-height: 38px; font-size: 14px; }
  .foot { padding-bottom: 32px; }
  .firm-head h1 { font-size: 1.9rem; }

  .has-mbar { padding-bottom: 76px; }
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 39; padding: 10px 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; min-height: 48px; }
  .mbar .btn.ghost { flex: 0 0 52px; padding: 0; }
}

/* ---------- v7: bookings, opening hours, dashboard ---------- */
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }
.panel .plain li { flex-wrap: wrap; }
.inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.inline-form input { font: inherit; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.hours { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hrow { display: grid; grid-template-columns: 150px 1fr auto 1fr; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.hrow:last-child { border-bottom: 0; }
.hrow input[type=time] { font: inherit; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; min-width: 0; }
.hrow:has(input[type=checkbox]:not(:checked)) input[type=time] { opacity: .4; }
.field select { font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); }
.blist { display: flex; flex-direction: column; gap: 10px; }
.brow { display: grid; grid-template-columns: 220px 1fr auto; gap: 8px 20px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.bwhen, .bwho { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bwho a { overflow-wrap: anywhere; }
.bnote { margin: 6px 0 0; padding: 8px 12px; background: var(--tint-2); border-radius: 10px; white-space: pre-line; }
.bact { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.why { position: relative; }
.why summary { list-style: none; cursor: pointer; }
.why summary::-webkit-details-marker { display: none; }
.why[open] form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: 0 18px 40px -20px rgba(20,20,20,.35); }
.bstat { font-size: 13px; font-weight: 550; }
.bstat.s-requested { color: #8a5a00; }
.bstat.s-confirmed { color: var(--ok); }
.bstat.s-cancelled, .bstat.s-no_show { color: var(--muted); }
.slotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slotgrid .slot { min-height: 48px; }
.daytabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; margin-bottom: 8px; }
.daytabs::-webkit-scrollbar { display: none; }
.daytabs a { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 72px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 14px; text-decoration: none; background: #fff; color: var(--ink); }
.daytabs a small { font-size: 12px; color: var(--muted); }
.daytabs a b { font-weight: 600; font-size: 15px; }
.daytabs a[aria-selected=true] { background: var(--black); border-color: var(--black); color: #fff; }
.daytabs a[aria-selected=true] small { color: #cfcfcf; }
.bookhead { margin-bottom: 16px; }
.bsum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 20px; }
.bsum div { display: flex; flex-direction: column; gap: 2px; }
.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--tint-2); }
#book .slot small { font-size: 11.5px; }
@media (max-width: 640px) {
  .dash-nav { flex-wrap: nowrap; overflow-x: auto; width: auto; margin-left: -16px; margin-right: -16px; border-radius: 0; scrollbar-width: none; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav a { white-space: nowrap; }
  .hrow { grid-template-columns: 1fr 1fr auto 1fr; padding: 10px; gap: 6px; }
  .hrow .check { grid-column: 1 / -1; }
  .hrow .muted { display: none; }
  .hrow { grid-template-columns: 1fr 1fr; }
  .brow { grid-template-columns: 1fr; padding: 14px; }
  .why[open] form { left: 0; right: auto; width: min(300px, calc(100vw - 48px)); }
  .bsum { grid-template-columns: 1fr; gap: 10px; }
}
.dash-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.dash-nav::-webkit-scrollbar { display: none; }
.dash-nav a { white-space: nowrap; flex: none; }
.stats { margin-bottom: 8px; }
.stats + * { margin-top: 40px; }
.claimbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line-strong); border-radius: 16px; padding: 14px 18px; margin-bottom: 24px; }
.claimbar p { margin: 0; font-size: 15px; }
.claimbar .btn { flex: none; }
.fcard .claim-link { position: relative; z-index: 2; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .claimbar { padding: 14px; margin-bottom: 18px; } .claimbar .btn { width: 100%; } }

/* ---------- Solicitors Point Apply ---------- */
.apply-word { font-family: var(--sans, inherit); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-left: 10px; padding: 3px 8px; border-radius: 6px; background: var(--black, #111); color: #fff; align-self: center; }
.testband { background: #fff7e0; color: #6b4e00; padding: 8px 0; font-size: 14px; font-weight: 600; }
.h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.lede { font-size: 1.15rem; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 14px; }
.steps-mini ol, ol.steps-mini { margin: 0; padding-left: 1.2em; }
.steps-mini li { margin: 4px 0; }
.genout { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 15px; word-break: break-all; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; user-select: all; }
body.apply { padding-bottom: 0; }
@media (max-width: 640px) {
  body.apply .top .wrap { flex-wrap: wrap; gap: 4px 16px; }
  body.apply .top nav.main { display: flex; order: 3; flex-basis: 100%; gap: 0 18px; font-size: 15px; }
  body.apply .top nav.main a { padding: 4px 0 8px; }
  body.apply .top .acts { display: flex; margin-left: auto; }
  body.apply .top .acts a[href$="/dashboard"] { display: none; }
  body.apply .top .acts .linkbtn, body.apply .top .acts .pill { padding: 8px 4px; }
  body.apply .top .acts .pill { padding: 8px 14px; }
  body.apply .logo-word { font-size: 20px; }
}
/* Apply: matters and client portal */
.checklist { margin: 0; padding-left: 1.2em; }
.checklist li { margin: 4px 0; }
.checklist li.expired { color: var(--warn); font-weight: 600; }
.stepslist { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; }
.stepslist li { counter-increment: s; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.stepslist li a { font-weight: 600; text-decoration: none; }
.stepslist li a::before { content: counter(s) ". "; color: var(--muted); font-weight: 500; }
.stepslist li.done a::before { content: "✓ "; color: var(--ok); }
.answers dl { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 6px 16px; margin: 12px 0 0; }
.answers dt { color: var(--muted); }
.answers dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 640px) { .answers dl { grid-template-columns: 1fr; } .answers dd { margin-bottom: 8px; } }
details.answers summary { cursor: pointer; }
details.answers + details.answers { margin-top: 10px; }
.err { color: #b42318; font-weight: 600; font-size: 14px; display: block; margin: 2px 0; }
.inline-choices { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.doclist li { align-items: flex-start; }
.doclist form.upload { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.doclist label.btn { cursor: pointer; }
[hidden] { display: none !important; }
body.client .top .wrap { min-height: 60px; }
/* Apply: review */
.review-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.review-split .panel { margin: 0; }
.docpane { position: sticky; top: 84px; }
.docframe { width: 100%; height: 72vh; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
@media (max-width: 900px) { .review-split { grid-template-columns: 1fr; } .docpane { position: static; } .docframe { height: 60vh; } }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p { max-width: 68ch; }

/* ---------- video consultation icon ---------- */
.vcam { display: inline-flex; flex: none; vertical-align: middle; margin-left: 6px; color: #2563eb; }

/* ---------- account page ---------- */
.acct { max-width: 980px; }
.acct-head { display: flex; align-items: center; gap: 16px; margin: 8px 0 20px; }
.acct-head h1 { margin: 0; }
.acct-head p { margin: 2px 0 0; }
.acct-av { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: #fff; font-size: 24px; font-weight: 650; }
.acct-alert { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); margin: 0 0 28px; border: 1px solid; }
.acct-alert p { margin: 0; flex: 1; font-weight: 550; }
.acct-alert .ic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.acct-alert.wait { background: #fff7e6; border-color: #f3d38a; color: #7a4b00; }
.acct-alert.wait .ic { background: #fde7b0; color: #9a5b00; animation: acct-pulse 2s ease-in-out infinite; }
.acct-alert.ok { background: var(--ok-soft); border-color: #b9dfc9; color: var(--ok); }
.acct-alert.ok .ic { background: #cbebd8; }
@keyframes acct-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 160, 20, .45); } 50% { box-shadow: 0 0 0 8px rgba(233, 160, 20, 0); } }
@media (prefers-reduced-motion: reduce) { .acct-alert.wait .ic { animation: none; } }
.acct-sec { margin: 0 0 32px; }
.acct-sec h2 { font-size: 20px; margin: 0 0 12px; }
.acct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; align-items: start; }
.acard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border-left: 5px solid var(--line-strong); }
.acard.wait { border-left-color: #e9a014; }
.acard.ok { border-left-color: #16a34a; }
.acard.bad { border-left-color: #dc2626; }
.acard.empty { border-left-width: 1px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-left-color: var(--line); }
.acard.empty p { margin: 0; color: var(--muted); }
.acard.link { border-left-width: 1px; text-decoration: none; color: var(--ink); border-left-color: var(--line); transition: border-color .15s, transform .15s; }
.acard.link:hover { border-color: var(--ink); transform: translateY(-1px); color: var(--ink); }
.acard.link .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); margin-bottom: 10px; }
.acard.link h3 { margin: 0 0 4px; font-size: 17px; }
.acard.link p { margin: 0; }
.acard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acard-top h3 { margin: 2px 0 0; font-size: 18px; line-height: 1.3; }
.acard-top h3 a { text-decoration: none; }
.kicker { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.acard-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }
.acard-ft { margin: 12px 0 0; font-size: 14px; }
.sbadge { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.sbadge.wait { background: #fff4d6; color: #8a5300; }
.sbadge.ok { background: #e3f6ea; color: #116b3a; }
.sbadge.bad { background: #fde8e8; color: #b42318; }
.sbadge.plain { background: var(--tint); color: var(--ink); }
.steps { list-style: none; margin: 16px 0 0; padding: 0; position: relative; }
.steps li { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
.steps li.done:not(:last-child)::before { background: #16a34a; }
.steps .dotn { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 650; background: var(--tint); color: var(--muted); position: relative; z-index: 1; }
.steps li.done .dotn { background: #16a34a; color: #fff; }
.steps li.now .dotn { background: #e9a014; color: #fff; box-shadow: 0 0 0 4px #fdecc0; }
.steps .lbl { display: flex; flex-direction: column; padding-top: 4px; font-size: 15px; }
.steps li.next .lbl { color: var(--muted); }
.steps li.now .lbl { font-weight: 650; }
.steps .lbl small { font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.rlist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.rrow { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.rrow + .rrow { border-top: 1px solid var(--line); }
.rrow:hover { background: var(--tint-2); color: var(--ink); }
.rmain { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rmain .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .acct-alert { flex-wrap: wrap; }
  .acct-alert .btn { width: 100%; }
  .acard-top { flex-direction: column-reverse; }
  .rrow { flex-wrap: wrap; }
  .rmain { flex-basis: 100%; }
}

/* ---------- people: avatars, team, profiles ---------- */
.avatar { flex: none; border-radius: 50%; object-fit: cover; background: var(--tint); color: var(--ink); display: inline-grid; place-items: center; font-family: var(--serif); font-weight: 500; box-shadow: 0 0 0 1px var(--line); }
img.firm-logo { background: #fff; border: 1px solid var(--line); padding: 8px; width: auto; min-width: 76px; max-width: 240px; height: 76px; }
.firm-mini img.firm-logo { max-width: 120px; height: 48px; padding: 4px; }
.imgup-body .linkbtn { font-size: 14px; font-weight: 500; }
.imgup.logo .imgup-prev { width: 200px; height: 112px; background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.tcard { position: relative; display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: border-color .15s, box-shadow .15s; }
.tcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.tcard-body { min-width: 0; flex: 1; }
.tcard h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 2px; }
.tcard h3 a { text-decoration: none; color: var(--ink); }
.tcard h3 a.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tcard .vcam { margin-left: 4px; }
.tcard p { margin: 2px 0 0; }
.tcard-meta { display: flex; align-items: center; gap: 5px; font-size: 13px; margin-top: 6px !important; }
.tcard-book { position: relative; z-index: 1; flex: none; }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--muted); }
.person-head { display: flex; gap: 28px; align-items: center; margin: 12px 0 8px; }
.person-head .avatar { box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line), var(--shadow); }
.person-id { min-width: 0; }
.person-id h1 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; }
.person-role { margin: 6px 0 0; font-size: 17px; color: var(--muted); }
.person-role a { color: var(--ink); }
.person-rating { margin: 8px 0 0; display: flex; align-items: center; gap: 6px; }
.person-rating a { font-size: 14px; }
.person-id .tags { margin-top: 12px; }
.person-acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }
.person-acts .btn svg { flex: none; }
a.tag { text-decoration: none; }
.firm-mini { display: flex; align-items: center; gap: 12px; }
.firm-mini .firm-logo { width: 48px; height: 48px; border-radius: 14px; margin: 0; font-size: 1.1rem; }
.firm-mini div { display: flex; flex-direction: column; min-width: 0; }
.bookwho { display: flex; align-items: center; gap: 14px; }
.bookwho h1 { margin: 0; }
.imgup { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.imgup-prev { width: 112px; height: 112px; flex: none; border-radius: 18px; border: 1px dashed var(--line-strong); background: var(--tint-2); display: grid; place-items: center; overflow: hidden; text-align: center; padding: 6px; }
.imgup.photo .imgup-prev { border-radius: 50%; padding: 0; }
.imgup-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.imgup.photo .imgup-prev img { width: 100%; height: 100%; object-fit: cover; }
.imgup-body { flex: 1; min-width: 200px; }
.imgup-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.imgup-pick { cursor: pointer; }
.imgup-body > form + form { margin-top: 6px; }
.team-admin { display: grid; gap: 10px; max-width: 760px; }
.tadm { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.tadm-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tadm-name { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; }
.tadm-flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tadm-acts { display: flex; align-items: center; gap: 10px; }
@media (max-width: 640px) {
  .person-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .person-head .avatar { width: 96px !important; height: 96px !important; }
  .tadm { flex-wrap: wrap; }
  .tadm-acts { width: 100%; justify-content: flex-end; }
}

/* ---------- firm page upgrades ---------- */
.nextfree { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; padding: 8px 14px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 14px; }
.nextfree b { color: var(--ink); font-weight: 650; }
.nextfree a { color: var(--ok); font-weight: 600; }
.nextfree .dot { width: 8px; height: 8px; border-radius: 50%; background: #1fa36b; box-shadow: 0 0 0 4px rgba(31, 163, 107, .18); }
.firm-head .btn svg { flex: none; }
.subrates { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; align-items: center; }
.subrates dt { color: var(--muted); }
.subrates dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.subrates .track { flex: 1; height: 6px; background: var(--tint-2); border-radius: 99px; overflow: hidden; }
.subrates .fill { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.ranks { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rank { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: baseline; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: 14px; }
.rank + .rank { border-top: 1px dashed var(--line); }
.rank b { font-size: 15px; }
.fgallery { display: grid; gap: 8px; margin: 24px 0 0; border-radius: var(--radius-lg); overflow: hidden; height: 300px; }
.fgallery a { position: relative; display: block; overflow: hidden; background: var(--tint); }
.fgallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.fgallery a:hover img { transform: scale(1.03); }
.fgallery.g1 { grid-template-columns: 1fr; }
.fgallery.g2 { grid-template-columns: 2fr 1fr; }
.fgallery.g3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.fgallery.g3 a:first-child { grid-row: span 2; }
.fgallery .more { position: absolute; right: 10px; bottom: 10px; background: rgba(20, 20, 20, .72); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pinned { margin-bottom: 8px; }
.pin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.review.compact { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 18px; box-shadow: var(--shadow); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.atag-mini { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.handled { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.handled:hover { border-color: var(--line-strong); color: var(--ink); }
.handled > span { display: flex; flex-direction: column; line-height: 1.2; }
.handled b { font-size: 14px; font-weight: 600; }
.handled .small { font-size: 11px; }
.rev-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rev-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.rev-filters select { min-height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 14px; }
.subrate-in { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.subrate-in summary { cursor: pointer; font-weight: 600; }
.subrow { border: 0; padding: 0; margin: 10px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.subrow legend { float: left; font-size: 15px; }
.stars-input.small label { font-size: 1.5rem; }
.accred { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.accred li { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.accred svg { color: var(--ok); flex: none; }
.photo-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.photo-admin figure { margin: 0; }
.photo-admin img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.photo-admin figcaption { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; }
.imgup.gallery .imgup-prev { width: 160px; height: 120px; }
@media (max-width: 640px) {
  .fgallery { height: 220px; }
  .fgallery.g3 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .fgallery.g3 a:not(:first-child), .fgallery.g2 a:not(:first-child) { display: none; }
  .fgallery.g2 { grid-template-columns: 1fr; }
  .subrow { flex-wrap: wrap; }
}

/* ---------- featured listings ---------- */
.feat-row { margin: 0 0 28px; padding: 16px; border-radius: var(--radius-lg); background: linear-gradient(180deg, #f3f6ff, transparent); border: 1px solid #dfe6fb; }
.feat-note { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.fcard.featured { position: relative; border-color: #c9d6f8; }
.feat-tag { display: inline-block; align-self: flex-start; margin: 14px 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #2952cc; color: #fff; padding: 3px 9px; border-radius: 999px; }
.fcard.featured .in { padding-top: 10px; }
.inline-form select { min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 14px; }
.plain-list { margin: 0; padding-left: 18px; }
.plain-list li { margin: 2px 0; }

/* ---------- question board ---------- */
.qa-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 12px 0 20px; }
.qa-hero h1 { margin: 0 0 6px; }
.qa-hero p { margin: 0; max-width: 40rem; color: var(--muted); }
.qlist { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.qrow { display: flex; align-items: center; gap: 16px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.qrow + .qrow { border-top: 1px solid var(--line); }
.qrow:hover { background: var(--tint-2); color: var(--ink); }
.qrow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qrow-main b { font-weight: 600; font-size: 16px; }
.qrow-ans { flex: none; display: flex; align-items: center; gap: 8px; }
.qpage .question h1 { font-size: 1.9rem; margin: 12px 0 10px; line-height: 1.25; }
.question-body { white-space: pre-line; font-size: 17px; }
.answers { margin-top: 28px; }
.answers h2 { font-size: 1.3rem; }
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 14px; box-shadow: var(--shadow); }
.answer-who { display: flex; gap: 12px; align-items: center; }
.answer-who .firm-logo { width: 48px; height: 48px; border-radius: 14px; margin: 0; font-size: 1.1rem; }
.answer-who > div { display: flex; flex-direction: column; min-width: 0; }
.answer-name { font-weight: 650; text-decoration: none; color: var(--ink); }
.answer-sra { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ok); font-weight: 600; margin-top: 2px; }
.answer-body { white-space: pre-line; margin: 14px 0 6px; font-size: 16px; }
.answer-note { margin: 0 0 12px; }
.answer-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.answer-acts .btn svg { flex: none; }
.answer-form { margin-top: 20px; }
.qa-cta { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .qrow { flex-wrap: wrap; } .qpage .question h1 { font-size: 1.5rem; } }

/* Header sign out: same box and weight as the links beside it */
.top .acts form.signout { display: flex; margin: 0; }
.top .acts form.signout .linkbtn { text-decoration: none; line-height: inherit; }

/* Firm dashboard: grouped sidebar menu */
.dlay { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 8px; }
.dside { position: sticky; top: 16px; }
.dside > summary { display: none; }
.dside nav { display: flex; flex-direction: column; gap: 18px; }
.dgroup { display: flex; flex-direction: column; gap: 2px; }
.dgroup-h { margin: 0 0 4px; padding: 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.dgroup a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #1f2329; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.25; }
.dgroup a svg { flex: none; color: #111; }
.dgroup a:hover { background: #f2f3f5; }
.dgroup a.on { background: #eceef1; font-weight: 650; color: #000; }
.dbadge { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: #111; color: #fff; font-size: 12px; font-weight: 600; text-align: center; line-height: 18px; }
.dmain > :first-child { margin-top: 0; }

@media (max-width: 899px) {
  .dlay { grid-template-columns: 1fr; gap: 16px; }
  .dside { position: static; border: 1px solid #e3e5e8; border-radius: 12px; background: #fff; }
  .dside > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 600; cursor: pointer; list-style: none; }
  .dside > summary::-webkit-details-marker { display: none; }
  .dside > summary svg { color: #111; }
  .dside-more { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 6px; }
  .dside-more::after { content: ""; width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
  .dside[open] .dside-more::after { transform: rotate(-135deg) translate(-2px, 0); }
  .dside nav { padding: 4px 6px 12px; border-top: 1px solid #eef0f2; gap: 14px; padding-top: 12px; }
}

/* Admin: outreach on/off */
.ostate { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: 16px; border: 1px solid #e3e5e8; background: #fff; }
.ostate-label { margin: 0; font-size: 1.4rem; font-weight: 650; display: flex; align-items: center; gap: 10px; }
.ostate-label::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #9aa0a6; }
.ostate-on .ostate-label::before { background: #16a34a; box-shadow: 0 0 0 4px #dcfce7; }
.ostate-stopped { border-color: #f5c2c0; background: #fff7f7; }
.ostate-stopped .ostate-label::before { background: #dc2626; }
.ostate-sub { margin: 6px 0 0; color: var(--muted); max-width: 40rem; }
.obtn { border: 0; border-radius: 999px; padding: 14px 26px; font: inherit; font-weight: 650; font-size: 16px; cursor: pointer; }
.obtn-go { background: #16a34a; color: #fff; }
.obtn-go:disabled { background: #d4d7dc; color: #6b7280; cursor: not-allowed; }
.obtn-stop { background: #111; color: #fff; }
.ocheck { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ocheck li { display: flex; gap: 10px; align-items: baseline; }
.ocheck li span { flex: none; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #fff1d6; color: #7a4b00; }
.ocheck li.ok span { background: #dcfce7; color: #166534; }
.ostats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 20px; }
.ostats div { background: #fff; border: 1px solid #e3e5e8; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.ostats b { font-size: 1.5rem; }
.ostats span { font-size: 13px; color: var(--muted); }
.ostats .bad { border-color: #f5c2c0; background: #fff7f7; }
.opreview { border: 1px solid #e3e5e8; border-radius: 10px; background: #fff; margin-top: 8px; }
.opreview summary { padding: 12px 14px; cursor: pointer; font-weight: 600; }
.opreview pre { margin: 0; padding: 0 14px 14px; white-space: pre-wrap; font: inherit; font-size: 14.5px; line-height: 1.55; color: #333; }

/* Header stays on one line on desktop, even with the extra Admin link */
@media (min-width: 900px) {
  .top .wrap { flex-wrap: nowrap; gap: 20px; }
  .top nav.main { flex-wrap: nowrap; min-width: 0; gap: 18px; white-space: nowrap; }
  .top .acts { flex-wrap: nowrap; white-space: nowrap; gap: 0; flex: none; }
  .top .acts a, .top .acts .linkbtn { padding: 10px 10px; }
  .top .acts .pill { margin-left: 6px; }
}
@media (min-width: 900px) and (max-width: 1320px) { .top nav.main a[href="/#how"] { display: none; } }
@media (min-width: 900px) {
  .top nav.main { overflow: hidden; }
}
@media (min-width: 900px) and (max-width: 1180px) { .top nav.main a[href="/how-reviews-work"] { display: none; } }
@media (min-width: 900px) and (max-width: 1000px) { .top nav.main a[href="/for-firms"] { display: none; } }

/* Available now */
.nowdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px #dcfce7; flex: none; animation: nowpulse 2s ease-in-out infinite; }
@keyframes nowpulse { 50% { box-shadow: 0 0 0 5px #dcfce7; } }
@media (prefers-reduced-motion: reduce) { .nowdot { animation: none; } }
.nowbadge { display: inline-flex; align-items: center; gap: 7px; margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #166534; }
.nowbadge.big { font-size: 15px; margin: 10px 0 4px; }
.btn.btn-now { background: #16a34a; border-color: #16a34a; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.btn.btn-now:hover { background: #15803d; color: #fff; }
.nowpanel { border: 1px solid #e3e5e8; border-radius: 14px; background: #fff; padding: 18px 20px; margin-bottom: 28px; max-width: 760px; }
.nowpanel-hd h2 { font-size: 1.15rem; margin: 0 0 4px; }
.nowpanel-hd p { margin: 0 0 14px; font-size: 14.5px; }
.nowlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nowlist li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #f7f8f9; flex-wrap: wrap; }
.nowlist li.on { background: #f0fdf4; }
.nowwho { display: flex; flex-direction: column; flex: 1; min-width: 160px; }
.nowwho span { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.nowlist li.on .nowwho span { color: #166534; font-weight: 600; }
.nowbtns { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.now-alert { background: #f0fdf4 !important; border: 1px solid #bbf7d0; }
.now-alert a { color: #166534; font-weight: 650; }
.nowstrip { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; max-width: 560px; }
.nowperson { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 12px; text-decoration: none; color: inherit; }
.nowperson > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.nowperson small { display: flex; align-items: center; gap: 7px; color: #166534; font-weight: 600; font-size: 13px; }
.nowperson .btn { flex: none; }
@media (max-width: 520px) { .nowperson { flex-wrap: wrap; } .nowperson .btn { width: 100%; justify-content: center; } }

/* Review collector */
.collect { margin-top: 0; }
.collect-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; padding: 16px; max-width: 640px; }
.collect-qr { width: 132px; height: 132px; flex: none; background: #fff; }
.collect-main { flex: 1; min-width: 220px; }
.collect-main input { width: 100%; }
.collect-sols { margin-top: 14px; max-width: 640px; }
.collect-sols summary { cursor: pointer; font-weight: 600; }

/* Free tools */
.tool .lead { font-size: 1.08rem; color: var(--muted); margin-top: -4px; }
.tool-form { margin-top: 20px; }
.opts { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.opts legend { font-weight: 650; margin-bottom: 8px; padding: 0; }
.opts.row { flex-direction: row; flex-wrap: wrap; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid #e3e5e8; border-radius: 12px; background: #fff; cursor: pointer; }
.opts.row .opt { flex: 1 1 200px; }
.opt:has(input:checked) { border-color: #111; background: #fafafa; }
.opt input { margin-top: 3px; flex: none; accent-color: #111; }
.opt span { display: flex; flex-direction: column; gap: 2px; }
.opt small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.tool-note { margin-top: 14px; }
.deadline { margin: 18px 0 8px; padding: 22px 24px; border-radius: 16px; background: #f0fdf4; border: 1px solid #bbf7d0; }
.deadline.soon { background: #fff8eb; border-color: #fde4b0; }
.deadline.past { background: #fff1f1; border-color: #f5c2c0; }
.deadline-lbl { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.deadline-date { margin: 4px 0 2px; font-family: var(--serif, inherit); font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; font-weight: 600; }
.deadline-left { margin: 0 0 12px; font-weight: 600; }
.deadline-why { margin: 0 0 12px; padding-left: 18px; font-size: 14.5px; }
.deadline-why li { margin: 3px 0; }
.deadline-late { font-size: 14.5px; margin: 0 0 14px; }
.deadline-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.deadline-acts .btn { display: inline-flex; align-items: center; gap: 8px; }
.laverdict { margin: 18px 0 8px; padding: 22px 24px; border-radius: 16px; border: 1px solid #e3e5e8; background: #fff; }
.laverdict.likely { background: #f0fdf4; border-color: #bbf7d0; }
.laverdict.maybe { background: #fff8eb; border-color: #fde4b0; }
.laverdict.unlikely { background: #f7f8f9; }
.laverdict-h { font-size: 1.35rem; font-weight: 650; margin: 0 0 8px; }
.laverdict ul { margin: 0 0 12px; padding-left: 18px; }
.laverdict li { margin: 4px 0; }
.tool-more { margin-top: 28px; }
.tool-more ul { padding-left: 18px; }
.toolgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 20px; }
.toolcard { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid #e3e5e8; border-radius: 14px; background: #fff; text-decoration: none; color: inherit; }
.toolcard:hover { border-color: #111; }
.toolcard span { color: var(--muted); font-size: 14.5px; }

/* Fixed-fee packages and SRA price page */
.sracheck { max-width: 760px; margin-bottom: 8px; }
.sralist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sralist li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 14.5px; }
.sralist li > span { flex: none; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #fde2e1; color: #9b1c1c; }
.sralist li.part > span { background: #fff1d6; color: #7a4b00; }
.sralist li.ok > span { background: #dcfce7; color: #166534; }
.sralist small { color: var(--muted); flex-basis: 100%; padding-left: 0; }
.pkglist { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.pkgrow { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid #e3e5e8; border-radius: 12px; flex-wrap: wrap; }
.pkgrow > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pkgmiss { color: #7a4b00; }
.pkgform { max-width: 760px; }
.pkgform textarea { min-height: 84px; }
.pkgsteps { padding-left: 20px; max-width: 760px; }
.pkgsteps li { margin-bottom: 16px; }
.pkgsteps .copyrow, .pkgsteps .snip { margin-top: 8px; }
.snip { width: 100%; font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; background: #f6f7f8; border: 1px solid #e3e5e8; border-radius: 8px; padding: 10px; white-space: pre-wrap; word-break: break-all; }
.pkgmini { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pkgmini li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.pkgmini b { white-space: nowrap; }
.pricepage .pricetoc { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.pricepage .pricetoc a { padding: 6px 12px; border: 1px solid #e3e5e8; border-radius: 999px; background: #fff; text-decoration: none; font-size: 14px; }
.pkgcard { background: #fff; border: 1px solid #e3e5e8; border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.pkgcard h2 { font-size: 1.2rem; margin: 0 0 8px; }
.pkgcard-hd { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.pkgcard-hd b { font-size: 1.05rem; }
.pkgdl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 16px; margin: 0; }
.pkgdl dt { font-weight: 600; font-size: 14.5px; }
.pkgdl dd { margin: 0; font-size: 14.5px; }
.pkgdl dd p { margin: 0 0 4px; }
@media (max-width: 640px) { .pkgdl { grid-template-columns: 1fr; gap: 2px; } .pkgdl dd { margin-bottom: 10px; } }
body.embed { background: #fff; }

/* ---------- admin dashboard charts ---------- */
:root { --chart: #2952cc; --chart-hover: #1b3a99; }
.itop { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin: 8px 0 22px; }
.itabs, .irange { display: flex; flex-wrap: wrap; gap: 6px; }
.itabs a, .irange a { text-decoration: none; color: var(--ink); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .93rem; }
.irange a { padding: 6px 12px; font-size: .85rem; color: var(--muted); }
.itabs a.on, .irange a.on { background: var(--black); color: #fff; border-color: var(--black); }
.todo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 18px; }
.todo h2 { font-size: 1.05rem; margin: 0 0 8px; }
.todo ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.todo li a, .todo li span { display: inline-block; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--warn); text-decoration: none; font-size: .93rem; }
.todo li b { font-size: 1.05rem; margin-right: 2px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); }
a.kpi:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.kpi .klab { font-size: .85rem; color: var(--muted); }
.kpi b { font-size: 1.8rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi .ksub { font-size: .8rem; color: var(--muted); }
.spark { width: 100%; height: 32px; margin: 6px 0 2px; }
.spark polyline { fill: none; stroke: var(--chart); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.delta { font-size: .8rem; }
.delta.up { color: var(--ok); } .delta.down { color: var(--warn); } .delta.flat { color: var(--muted); }
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; }
@media (max-width: 600px) { .cgrid { grid-template-columns: 1fr; } }
.ccard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 14px; min-width: 0; }
.ccard header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.ccard h2 { font-size: 1.05rem; margin: 0; }
.ctotal { font-size: .9rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cexplain { font-size: .88rem; color: var(--muted); margin: 10px 0 4px; line-height: 1.5; }
.chart { width: 100%; height: 170px; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .axis { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .tick { font-size: 11px; fill: var(--muted); font-family: var(--sans); }
.chart .bar { fill: var(--chart); }
.chart .hit { fill: transparent; }
.chart .col:hover .bar { fill: var(--chart-hover); }
.chart .col:hover .hit { fill: rgba(41, 82, 204, .06); }
.hb { display: flex; flex-direction: column; gap: 8px; }
.hbrow { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.hblab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbtrack { height: 10px; background: var(--tint); border-radius: 4px; overflow: hidden; }
.hbfill { display: block; height: 100%; background: var(--chart); border-radius: 0 4px 4px 0; }
.hbrow:hover .hbfill { background: var(--chart-hover); }
.hbval { font-variant-numeric: tabular-nums; text-align: right; min-width: 64px; }
.hbval small { color: var(--muted); margin-left: 6px; font-size: .78rem; }
.numbers summary { font-size: .82rem; color: var(--muted); cursor: pointer; }
.numbers table { margin-top: 8px; font-size: .85rem; border-collapse: collapse; width: 100%; max-width: 280px; }
.numbers td, .numbers th { padding: 3px 8px 3px 0; text-align: left; border-bottom: 1px solid var(--line); }
.ctip { position: fixed; z-index: 50; pointer-events: none; opacity: 0; background: var(--black); color: #fff; font-size: .82rem; padding: 6px 10px; border-radius: 8px; transition: opacity .1s; white-space: nowrap; }

/* ---------- overflow desk ---------- */
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.handoff-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.handoff { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; }
.handoff h2 { font-size: 1.1rem; margin: 0; }
.handoff-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.handoff-act form { margin: 0; }
.tag-passed { display: inline-block; margin-top: 4px; font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }

/* ---------- locum board ---------- */
.lcta { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 18px 0 24px; }
.lcta h2 { font-size: 1.1rem; margin: 0 0 6px; }
.lcta > .panel { margin: 0; }
.lfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lfilter select { max-width: 260px; }
.ljobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ljob { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); padding: 16px 18px; }
a.ljob:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.ljob h2 { font-size: 1.08rem; margin: 2px 0 0; line-height: 1.3; }
.ljob-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ljob-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; font-size: .9rem; }
.ltag { font-size: .75rem; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--ink); margin: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; margin-top: 6px; font-size: .93rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { font-size: .9rem; font-weight: 600; padding: 0; }
.lapps { display: flex; flex-direction: column; gap: 12px; }
.lapp header { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.lapp h3 { font-size: 1.05rem; margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font: inherit; }
.feestate { font-size: .8rem; padding: 3px 10px; border-radius: 999px; vertical-align: middle; background: var(--tint); color: var(--muted); }
.feestate.on { background: var(--ok-soft); color: var(--ok); }

/* ---------- jobs board: search, pills, split view ---------- */
.jhero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0 18px; margin-bottom: 18px; }
.jsearch { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 6px 24px -14px rgba(20,20,20,.35); overflow: hidden; max-width: 900px; }
.jfield { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 58px; }
.jfield + .jfield { border-left: 1px solid var(--line); }
.jfield input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; width: 100%; padding: 14px 0; box-shadow: none; }
.jicon { color: var(--muted); display: flex; }
.jsearch .btn { margin: 7px; border-radius: 10px; padding: 0 26px; }
.jpills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.jpill { position: relative; }
.jpill summary { list-style: none; cursor: pointer; padding: 7px 14px; border-radius: 999px; background: var(--tint); font-size: .9rem; user-select: none; white-space: nowrap; }
.jpill summary::-webkit-details-marker { display: none; }
.jpill summary::after { content: "▾"; margin-left: 6px; font-size: .75rem; color: var(--muted); }
.jpill.set summary { background: var(--black); color: #fff; }
.jpill.set summary::after { color: #ccc; }
.jpill-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 210px; max-height: 320px; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; }
.jpill-menu a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.jpill-menu a:hover, .jpill-menu a.on { background: var(--tint); }
.jclear { font-size: .9rem; color: var(--blue); }
.jbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.jbar .itabs { margin-bottom: 0 !important; }
.jbar-right { display: flex; gap: 16px; align-items: center; }
.jbar-right a { color: var(--muted); }
.jbar-right a.on { color: var(--ink); font-weight: 600; text-decoration: none; }
.jsplit { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 20px; margin-top: 16px; align-items: start; }
.jlist { display: flex; flex-direction: column; gap: 12px; }
.jcard { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); transition: border-color .12s, box-shadow .12s; }
.jcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.jcard.on { border-color: var(--black); box-shadow: inset 4px 0 0 var(--black); }
.jcard-head { display: flex; gap: 12px; align-items: flex-start; }
.jlogo { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); display: flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 650; font-size: .85rem; color: var(--muted); }
.jlogo img { width: 100%; height: 100%; object-fit: contain; }
.jcard-title { min-width: 0; }
.jcard h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 650; margin: 0 0 2px; line-height: 1.3; }
.jcard:hover h2 { text-decoration: underline; }
.jnew { display: inline-block; font-size: .7rem; font-weight: 600; color: #0e6b45; background: var(--ok-soft); border-radius: 4px; padding: 1px 6px; margin-bottom: 4px; }
.jfirm { margin: 0; font-size: .92rem; }
.jrate { white-space: nowrap; font-size: .85rem; }
.jstar { color: var(--star); }
.jplace { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.jchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.jchip { font-size: .8rem; padding: 3px 9px; border-radius: 6px; background: var(--tint); color: var(--ink); }
.jchip.strong { font-weight: 650; }
.jeasy { margin: 10px 0 0; font-size: .85rem; color: var(--blue); }
.jsnip { margin: 8px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.jago { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.jpane { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: opacity .12s; }
.jpane.loading { opacity: .45; }
.jpane-top { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.jpane-top h2 { font-size: 1.45rem; margin: 0 0 6px; line-height: 1.25; }
.jpane-body { padding: 18px 24px 24px; line-height: 1.6; }
.jpane-body h3 { font-family: var(--sans); font-size: 1rem; margin: 0 0 8px; }
.jpages { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.jpages a { min-width: 36px; text-align: center; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--surface); }
.jpages a.on { background: var(--black); color: #fff; border-color: var(--black); }
.jempty { text-align: center; padding: 40px 20px; margin-top: 16px; }
.jempty h2 { margin: 0 0 6px; }
.jempty .row-btns { justify-content: center; margin-top: 14px; }
@media (max-width: 899px) {
  .jsplit { grid-template-columns: 1fr; }
  .jpane { display: none; }
  .jcard.on { box-shadow: none; border-color: var(--line); }
}
@media (max-width: 640px) {
  .jhero { padding: 16px 0 12px; }
  .jsearch { grid-template-columns: 1fr; }
  .jfield + .jfield { border-left: 0; border-top: 1px solid var(--line); }
  .jsearch .btn { margin: 8px; min-height: 46px; }
  .jpills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-right: -16px; }
  .jpill-menu { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; max-height: 60vh; }
}

/* ---------- privacy notice and cookie banner ---------- */
.legal h2 { margin-top: 36px; }
.legal h3 { font-family: var(--sans); font-size: 1.02rem; margin: 22px 0 6px; }
.legal li { margin-bottom: 6px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 18px 0 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.cookiebar { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 12px 40px -12px rgba(20,20,20,.35); padding: 16px 18px; display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; }
.cookiebar[hidden] { display: none; }
.cookiebar p { margin: 0; flex: 1 1 320px; font-size: .92rem; }
.cookiebar-btns { display: flex; gap: 8px; }
.cookiebar-btns .btn { min-width: 130px; justify-content: center; }
@media (max-width: 899px) { .cookiebar { bottom: 76px; } }

/* ---------- solicitor's own page ---------- */
.mykpis { max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.mykpis .panel { padding: 14px 16px; min-width: 0; }
.mykpis .small { margin: 0; }
.mykpi-n { font-size: 1.6rem; margin: 2px 0 0; font-weight: 650; }
@media (max-width: 560px) { .mykpis { gap: 8px; } .mykpis .panel { padding: 10px 12px; } .mykpi-n { font-size: 1.2rem; } }

/* ---------- Case Builder: picking the application ---------- */
.routegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.routecard { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: inherit; }
.routecard:hover { border-color: var(--line-strong); box-shadow: 0 4px 16px -8px rgba(20,20,20,.25); }
.routecard b { font-size: 1rem; }
.fromdoc { color: var(--muted); font-size: .82rem; display: block; margin-top: 2px; }
dd .fromdoc { display: inline; }
.readnote { margin-top: 3px; color: var(--muted); }
.readnote.failed { color: #a33; }
.notice.ok-note { background: var(--ok-soft, #e7f3ea); color: var(--ok, #1d6b3a); }

/* ---------- get quotes ---------- */
.qsteps { max-width: 46rem; }
.qsteps ol { padding-left: 1.2em; margin: 0 0 16px; }
.qsteps li { margin: 0 0 10px; }
.qfacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 4px 0 14px; font-size: 15px; }
.qfacts > span { display: inline-flex; align-items: center; gap: 6px; }
.qreq .tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qcard .answer-who { align-items: flex-start; }
.qcard .answer-who > div:nth-child(2) { flex: 1; }
.qprice { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; }
.qprice b { font-size: 1.45rem; font-family: var(--serif); line-height: 1.1; }
.qcard.lost, .qcard.dropped { opacity: .7; }
.qcard.accepted { border-color: var(--ok); }
.qterms { margin: 14px 0 6px; display: grid; gap: 8px; }
.qterms > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; }
.qterms dt { font-size: 14px; color: var(--muted); font-weight: 600; }
.qterms dd { margin: 0; white-space: pre-line; }
.qproposal { margin: 6px 0 14px; }
.qproposal summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.qproposal p { white-space: pre-line; margin: 10px 0 0; }
.qthread-h { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 8px 0 6px; }
.qthread { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.qmsg { max-width: 85%; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.qmsg.me { align-self: flex-end; background: var(--black); color: #fff; border-color: var(--black); }
.qmsg.me .qmsg-who { color: #cfcfcf; }
.qmsg-who { margin: 0 0 2px; color: var(--muted); }
.qmsg-body { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.qcompose { margin-bottom: 24px; }
.qcontact { margin: 16px 0; border-color: var(--ok); }
.qcontact h2 { font-size: 1.15rem; margin: 0 0 8px; }
.qaccept h2 { font-size: 1.2rem; margin: 0 0 6px; }
.panel.soft { background: var(--tint-2); box-shadow: none; padding: 16px; }
.qdialog { border: 0; border-radius: var(--radius-lg); padding: 24px; max-width: 30rem; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); }
.qdialog::backdrop { background: rgba(20, 20, 20, .45); }
.qdialog h2 { font-size: 1.3rem; margin: 0 0 8px; }
@media (max-width: 600px) {
  .qterms > div { grid-template-columns: 1fr; gap: 0; }
  .qcard .answer-who { flex-wrap: wrap; }
  .qprice { align-items: flex-start; text-align: left; width: 100%; flex-direction: row; gap: 8px; align-items: baseline; }
  .qmsg { max-width: 100%; }
}

/* ---------- legal pages and footer disclosure ---------- */
.foot-legal { font-size: 13px; color: var(--muted); margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); max-width: 60rem; }
.legal-foot { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); }
.legal code { font-size: .92em; background: var(--tint); padding: 1px 6px; border-radius: 6px; }

/* ---------- growth dashboard ---------- */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 0 0 24px; }
.gcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.gcard-h { margin: 0 0 4px; font-size: 14px; font-weight: 650; color: var(--muted); }
.gcard-n { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.gcard-n b { font-size: 1.9rem; font-family: var(--serif); line-height: 1.1; }
.gcard-n span { font-size: 13px; color: var(--muted); }
.gbars rect { fill: var(--line-strong); }
.gbars rect.now { fill: var(--blue); }
.ggrid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-bottom: 24px; align-items: start; }
.ggrid > div > .panel + .panel { margin-top: 20px; }
.ggrid .panel + .panel { margin-top: 0; }
.gfunnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gfunnel-row { display: flex; align-items: baseline; gap: 10px; }
.gfunnel-row span:first-child { flex: 1; font-weight: 600; }
.gfunnel-row b { font-family: var(--serif); font-size: 1.15rem; }
.gfunnel-bar { height: 8px; background: var(--tint); border-radius: 99px; margin-top: 4px; overflow: hidden; }
.gfunnel-bar span { display: block; height: 100%; background: var(--black); border-radius: 99px; }
.ghealth { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ghealth > div { background: var(--tint-2); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; }
.ghealth b { font-size: 1.5rem; font-family: var(--serif); }
.ghealth b.warn, .gwarn { color: var(--warn); font-weight: 700; }
@media (max-width: 900px) { .ggrid { grid-template-columns: 1fr; } }

/* ---------- guides ---------- */
.guide { display: grid; grid-template-columns: minmax(0, 46rem) 15rem; gap: 48px; align-items: start; }
.guide-main h1 { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 2.8rem); font-weight: 700; margin: 8px 0 10px; }
.guide-meta { color: var(--muted); margin: 0 0 24px; }
.guide-body { font-size: 17.5px; line-height: 1.7; }
.guide-body h2 { font-family: var(--serif); font-size: 1.6rem; margin: 1.8em 0 .5em; scroll-margin-top: 90px; }
.guide-body h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; scroll-margin-top: 90px; }
.guide-body p, .guide-body ul, .guide-body ol { margin: 0 0 1em; }
.guide-body li { margin: 0 0 .4em; }
.guide-body blockquote { margin: 0 0 1em; padding: 4px 0 4px 16px; border-left: 3px solid var(--black); color: var(--ink); }
.guide-body table { font-size: 15.5px; }
.guide-body a { color: var(--blue); }
.guide-side { position: sticky; top: 90px; }
.guide-side .toc ol { padding-left: 18px; margin: 0; font-size: 14.5px; }
.guide-side .toc li { margin: 0 0 6px; }
.guide-cta { margin: 32px 0 16px; }
.guide-cta h2 { font-size: 1.3rem; margin: 0 0 6px; }
.guide-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
.guide-firms ol li, .ccal tr.today td { }
.ccal tr.today td { background: var(--tint-2); }
.guide-firms .plain li { display: flex; justify-content: space-between; gap: 12px; }
.rdc { margin: 0 0 28px; }
.rdc-out:not(:empty) { margin-top: 16px; padding: 16px 18px; background: var(--tint-2); border-radius: var(--radius); }
.rdc-out p { margin: 0 0 6px; }
.rdc-big { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; margin: 0 0 4px !important; }
.cedit { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 28px; align-items: start; }
.cedit aside .panel + .panel { margin-top: 16px; }
.cedit-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 960px) { .guide, .cedit { grid-template-columns: 1fr; } .guide-side { position: static; } }

/* ---------- admin sidebar ---------- */
/* Any page whose wrapper holds the admin sidebar becomes two columns: menu on the left, the page's own
   content (heading included) on the right. */
.wrap:has(> .adside) { display: grid; grid-template-columns: 232px minmax(0, 1fr); column-gap: 36px; align-items: start; }
.wrap:has(> .adside) > :not(.adside):not(script) { grid-column: 2; }
.wrap:has(> .adside) > .adside { grid-column: 1; grid-row: 1 / span 60; margin-top: 8px; }
.wrap.wide:has(> .adside) { max-width: 1440px; }
@media (max-width: 899px) {
  .wrap:has(> .adside) { grid-template-columns: minmax(0, 1fr); }
  .wrap:has(> .adside) > .adside { grid-row: auto; grid-column: 1; margin: 0 0 16px; order: -1; }
  .wrap:has(> .adside) > :not(.adside):not(script) { grid-column: 1; }
}

/* ---------- Lupin button in the firm dashboard sidebar ---------- */
@property --lpa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.lupin-btn { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px 14px; margin-bottom: 4px; border-radius: 16px; background: #070a09; color: #f1f5f3 !important; text-decoration: none !important; isolation: isolate; overflow: hidden; }
.lupin-btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--lpa), rgba(62,229,143,0) 0deg, rgba(62,229,143,.95) 70deg, rgba(62,229,143,0) 140deg, rgba(62,229,143,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: lupinSpin 3.6s linear infinite; }
.lupin-btn .lupin-glow { position: absolute; inset: -40% -20%; z-index: -2; background: radial-gradient(60% 60% at 20% 50%, rgba(62,229,143,.28), transparent 70%); animation: lupinGlow 4s ease-in-out infinite; }
.lupin-btn .lupin-mark { color: #3ee58f; flex: none; overflow: visible; }
.lupin-btn .lupin-mark circle { fill: #3ee58f; transform-box: fill-box; transform-origin: center; animation: lupinDrift 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.34s); transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.lupin-btn .lupin-label { display: flex; flex-direction: column; line-height: 1.15; }
.lupin-btn .lupin-label b { font-size: 15.5px; letter-spacing: -.01em; }
.lupin-btn .lupin-label small { font-size: 12px; color: #8d9c95; }
.lupin-btn .lupin-spark { position: absolute; top: 50%; right: 14px; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #3ee58f; box-shadow: 0 0 0 0 rgba(62,229,143,.6); animation: lupinPing 2.2s infinite; }
.lupin-btn:hover .lupin-mark circle { transform: translate(calc(var(--dx) * 1.6), calc(var(--dy) * 1.6)) scale(.8); opacity: .75; }
.lupin-btn:hover::before { animation-duration: 1.4s; }
.lupin-btn.on::before { background: conic-gradient(from var(--lpa), #3ee58f, #1fb468, #3ee58f); }
.lupin-btn.go { animation: lupinGo .46s cubic-bezier(.4,0,.2,1) forwards; }
.lupin-btn.go .lupin-mark circle { transform: translate(calc(var(--dx) * 5), calc(var(--dy) * 5)) scale(.2); opacity: 0; }
@keyframes lupinSpin { to { --lpa: 360deg; } }
@keyframes lupinGlow { 50% { transform: translateX(25%); opacity: .7; } }
@keyframes lupinDrift { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(calc(var(--dx) * .35), calc(var(--dy) * .35)); } 60% { transform: translate(calc(var(--dx) * -.2), calc(var(--dy) * -.2)); } }
@keyframes lupinPing { 0% { box-shadow: 0 0 0 0 rgba(62,229,143,.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(62,229,143,0); } }
@keyframes lupinGo { 0% { filter: none; transform: scale(1); } 40% { filter: brightness(1.8) blur(.5px); transform: scale(1.03); box-shadow: 0 0 30px 6px rgba(62,229,143,.55); } 100% { filter: brightness(2.4) blur(6px); transform: scale(1.08); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lupin-btn::before, .lupin-btn .lupin-glow, .lupin-btn .lupin-mark circle, .lupin-btn .lupin-spark { animation: none; } .lupin-btn::before { background: linear-gradient(90deg, #3ee58f, #1fb468); } }
.lupin-mob { display: none; }
@media (max-width: 899px) { .lupin-mob { display: block; margin: 0 0 10px; } .dside .lupin-btn { display: none; } }

/* Home page: corner pill that opens the tour */
.tourpill { position: fixed; left: 20px; bottom: 20px; z-index: 35; display: flex; align-items: center; background: var(--black); color: #fff; border-radius: 40px; box-shadow: 0 14px 34px -14px rgba(20, 20, 20, .6); animation: tpin .6s cubic-bezier(.2, .7, .2, 1) 1.2s both; }
.tourpill[hidden] { display: none; }
.tourpill a { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 8px; color: #fff; text-decoration: none; min-height: 44px; }
.tourpill .tp-play { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--black); display: grid; place-items: center; flex: none; position: relative; }
.tourpill .tp-play::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: tpring 2.4s ease-out 2s infinite; }
.tourpill .tp-txt { display: grid; line-height: 1.2; }
.tourpill b { font-size: 14px; }
.tourpill small { font-size: 12px; color: #c9c7c2; }
.tourpill .tp-x { background: none; border: 0; color: #c9c7c2; font-size: 20px; width: 40px; height: 44px; cursor: pointer; border-radius: 0 40px 40px 0; }
.tourpill .tp-x:hover, .tourpill a:hover b { color: #fff; }
.tourpill a:focus-visible, .tourpill .tp-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 40px; }
@keyframes tpin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes tpring { 0% { transform: scale(.9); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 640px) { .tourpill { left: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .tourpill, .tourpill .tp-play::after { animation: none; } }

/* /reviews: the review front door. Same black and white, with a light green touch. */
.rh-hero { background: linear-gradient(180deg, #eef6f1 0%, var(--paper) 100%); border-bottom: 1px solid #dcebe2; }
.rh-hero .wrap { padding-top: 56px; padding-bottom: 40px; }
.rh-kick { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 600; color: var(--ok); font-size: 15px; }
.rh-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0; }
.rh-hero .lead { margin: 16px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 38rem; }
.rh-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow); max-width: 760px; }
.rh-field { flex: 1 1 260px; display: grid; gap: 4px; padding: 4px 8px; }
.rh-field span { font-size: 13px; font-weight: 600; color: var(--muted); }
.rh-field input { border: 0; font: inherit; font-size: 18px; padding: 6px 0; outline: none; background: transparent; min-width: 0; }
.rh-search:focus-within { border-color: var(--ok); }
.rh-go { background: var(--ok); border-color: var(--ok); }
.rh-go:hover { background: #0b5a3a; }
.rh-trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink); font-size: 15px; }
.rh-trust li { display: flex; align-items: center; gap: 8px; }
.rh-tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.rh-stars { display: inline-flex; gap: 2px; }
.rh-stars i { font-style: normal; width: var(--s); height: var(--s); font-size: calc(var(--s) * .72); line-height: var(--s); text-align: center; border-radius: 3px; background: var(--line); color: #fff; }
.rh-stars i.on { background: var(--ok); }
.rh-body { padding-top: 28px; padding-bottom: 56px; }
.rh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rh-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 2px; }
.rh-stats b { font-size: 28px; letter-spacing: -0.02em; }
.rh-stats span { color: var(--muted); font-size: 14px; }
.rh-sec { margin-top: 44px; }
.rh-sec h2 { font-size: 1.5rem; margin: 0 0 14px; }
.rh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.rh-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.rh-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rh-area { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--tint); border-radius: 20px; padding: 3px 10px; }
.rh-card h3 { margin: 0; font-size: 1.05rem; }
.rh-card p { margin: 0; color: var(--ink); line-height: 1.5; }
.rh-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.rh-foot a { text-decoration: none; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
.rh-foot a span { color: var(--muted); font-size: 14px; }
.rh-foot small { color: var(--muted); }
.rh-ok { color: var(--ok); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.rh-empty { background: var(--surface); border: 1px dashed #bcd9c7; border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; justify-items: start; max-width: 640px; }
.rh-empty p { margin: 0; }
.rh-top-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 760px; counter-reset: rh; }
.rh-top-list li { counter-increment: rh; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.rh-top-list li::before { content: counter(rh); font-weight: 700; color: var(--ok); width: 18px; }
.rh-top-list a { text-decoration: none; display: grid; flex: 1; min-width: 0; }
.rh-top-list a span { color: var(--muted); font-size: 14px; }
.rh-score { white-space: nowrap; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.rh-score small { color: var(--muted); font-weight: 400; }
.rh-how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; counter-reset: hw; }
.rh-how li { counter-increment: hw; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); line-height: 1.5; }
.rh-how li::before { content: counter(hw); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-weight: 700; margin-bottom: 10px; }
.rh-how li b { color: var(--ink); display: block; }
.rh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rh-chips a { text-decoration: none; padding: 10px 16px; border-radius: 30px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 550; min-height: 44px; display: inline-flex; align-items: center; }
.rh-chips a:hover { border-color: var(--ok); color: var(--ok); }
.rh-firms { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--black); color: #fff; border-radius: var(--radius-lg); padding: 26px 28px; }
.rh-firms h2 { margin: 0 0 6px; color: #fff; font-size: 1.4rem; }
.rh-firms p { margin: 0; color: #c9c7c2; max-width: 34rem; }
.rh-firms .btn { background: #fff; color: var(--black); border-color: #fff; }
@media (max-width: 640px) {
  .rh-hero .wrap { padding-top: 36px; }
  .rh-search { flex-direction: column; align-items: stretch; }
  .rh-field { flex: none; }
  .rh-search .btn { width: 100%; justify-content: center; }
  .rh-stats { grid-template-columns: 1fr; }
  .rh-stats div { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; }
  .rh-stats b { font-size: 22px; }
}
.rh-logo { gap: 10px; }
.rh-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 17px; line-height: 1; flex: none; }
.rh-name { display: grid; line-height: 1.05; font-size: 19px; letter-spacing: -0.02em; }
.rh-name small { font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Enquiries */
.enq-tabs { display: flex; gap: 6px; margin: 4px 0 18px; }
.enq-tabs a { text-decoration: none; padding: 9px 16px; border-radius: 30px; border: 1px solid var(--line-strong); font-weight: 600; background: var(--surface); }
.enq-tabs a span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.enq-tabs a[aria-current="page"] { background: var(--black); color: #fff; border-color: var(--black); }
.enq-tabs a[aria-current="page"] span { color: #c9c7c2; }
.tag-spam { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-soft); border-radius: 20px; padding: 2px 10px; }
.enq-spam { background: var(--warn-soft); color: #6b2a12; max-width: 720px; }
.enq-spam ul { margin: 6px 0 0; padding-left: 20px; }
.enq-card { max-width: 720px; }
.enq-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 0 0 16px; }
.enq-who dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.enq-who dd { margin: 2px 0 0; word-break: break-word; }
.enq-msg { white-space: pre-line; word-break: break-word; background: var(--tint-2); border-radius: 12px; padding: 14px 16px; line-height: 1.55; }
.enq-err { background: var(--warn-soft); color: #6b2a12; margin: 0; }

/* ---------- claim page from the claim email (/claim/link/:token) ---------- */
.cl { padding-bottom: 24px; }
.cl-hero { padding-top: 8px; }
.cl-hero h1 { font-size: clamp(1.95rem, 4.6vw, 2.75rem); margin: 0 0 16px; max-width: 18em; }
.cl-lede { font-size: 1.12rem; line-height: 1.6; margin: 0 0 24px; max-width: 34em; }
.cl-acts { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.cl-label { margin: 44px 0 12px; font-size: 14px; color: var(--muted); }
.cl-preview { pointer-events: none; user-select: none; }
.cl-preview .fcard { box-shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 22px 44px -30px rgba(20, 20, 20, .38); }
.cl h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 48px 0 14px; }
.cl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cl-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cl-list li svg { margin-top: 3px; }
.cl-list li.cl-hot { background: var(--ok-soft); color: var(--ok); border-radius: 14px; border-bottom: 0; padding: 16px; margin: 12px 0; grid-template-columns: 22px 1fr; }
.cl-form { margin-top: 48px; scroll-margin-top: 16px; }
.cl-form h2 { margin-top: 0; }
.cl-qs details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.cl-qs details:first-child { border-top: 1px solid var(--line); }
.cl-qs summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cl-qs summary::-webkit-details-marker { display: none; }
.cl-qs summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.cl-qs details[open] summary::after { content: "\2212"; }
.cl-qs p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 640px) {
  .cl-acts .btn { flex: 1 1 100%; }
  .cl-label { margin-top: 36px; }
  .cl h2 { margin-top: 40px; }
  .cl-form { padding: 20px; }
}
.firm-head h1 > svg[role="img"] { margin-left: 10px; vertical-align: -3px; }
.fcard .unclaimed { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
