/* TitleClue ("Recorder"): ink on paper, oxblood for the one thing to press. Libre Franklin for the interface,
   Libre Caslon only in the wordmark. Square-ish corners and ruled rows: a records office, not a SaaS template. */
:root {
  --ink: #1c1917;
  --ink-2: #3f3a36;
  --muted: #5f5853;
  --faint: #8a827b;
  --line: #e2ddd6;
  --line-2: #eeeae4;
  --soft: #f4f1ec;
  --paper: #faf8f5;
  --bg: #ffffff;
  --brand: #8b2c1d;
  --brand-dark: #6f2216;
  --brand-tint: #f8eeeb;
  --brand-line: #e3c3bc;
  --fc: #0f7a6b;
  --warn: #9a4a06;
  --warn-tint: #fdf3e6;
  --error: #b42318;
  --radius: 6px;
  --max: 1200px;
  --head: 64px;
  --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 8px 24px rgba(28, 25, 23, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Libre Franklin", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 14px; }
button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; padding: 10px 14px; border: 2px solid var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-full { max-width: none; padding-left: 26px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.kick { display: block; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

/* ── header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--head); }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); flex: 0 0 auto; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo span { font-family: "Libre Caslon Text", Georgia, serif; font-weight: 700; font-size: 23px; letter-spacing: -0.3px; }
.nav { display: flex; gap: 2px; flex: 1 1 auto; font-size: 15px; align-self: stretch; }
.nav a { display: inline-flex; align-items: center; color: var(--ink-2); padding: 0 11px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nav a:hover { color: var(--ink); text-decoration: none; background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--brand); }
.top-r { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.acct { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; background: #fff; }
.acct:hover { border-color: var(--ink); text-decoration: none; color: var(--ink); }
.acct .dot { min-width: 19px; height: 19px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.top .cta { min-height: 40px; font-size: 15px; padding: 0 16px; white-space: nowrap; }
@media (max-width: 1080px) { .top .cta { display: none; } }
@media (max-width: 860px) {
  .top .wrap { flex-wrap: wrap; gap: 0 16px; padding-top: 8px; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; min-height: 44px; margin: 0 -24px; padding: 0 14px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .acct-admin { display: none; }
}

/* ── buttons, inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: var(--radius); border: 1px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-weight: 600; font-size: 16px;
  cursor: pointer; text-decoration: none; text-align: center; line-height: 1.25; transition: background-color .15s ease-out, border-color .15s ease-out; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-line { background: #fff; color: var(--ink); border-color: #cfc8bf; }
.btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: #000; border-color: #000; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.input { width: 100%; min-height: 48px; border: 1px solid #c9c2b9; border-radius: var(--radius); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.input::placeholder { color: var(--faint); }
.input:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
label.f { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.err { color: var(--error); font-size: 14px; margin-top: 6px; }
textarea.input { padding: 10px 14px; min-height: 120px; resize: vertical; }
.select { min-height: 40px; border: 1px solid #cfc8bf; border-radius: var(--radius); padding: 0 10px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.lnk { border: 0; background: none; padding: 6px 0; font: inherit; color: var(--brand); cursor: pointer; }
.lnk:hover { text-decoration: underline; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { min-height: 36px; padding: 0 13px; border-radius: 18px; border: 1px solid #d6cfc6; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-b[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.pill .n { opacity: .65; margin-left: 2px; }

/* the Watch star: on every sale row and card; signed out it leads to sign-in and back */
.star { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 40px; height: 40px; flex: 0 0 auto;
  border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--faint); cursor: pointer; padding: 0; font: inherit; }
.star svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.star:hover { color: var(--brand); border-color: var(--line); background: #fff; }
.star[aria-pressed="true"] { color: var(--brand); }
.star[aria-pressed="true"] svg { fill: currentColor; }
.star-wide { width: 100%; height: 46px; border: 1px solid #cfc8bf; color: var(--ink); font-weight: 600; font-size: 15px; }
.star-wide:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.star-wide[aria-pressed="true"] { color: var(--brand); border-color: var(--brand-line); background: var(--brand-tint); }

/* status chips (text first, color second) */
.chip { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 2px 8px; border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1.35; max-width: 100%;
  background: var(--soft); color: var(--ink-2); }
.chip-b { background: var(--brand-tint); color: var(--brand-dark); }
.chip-w { background: var(--warn-tint); color: var(--warn); }
.chip-ink { background: var(--ink); color: #fff; }
.chip-line { background: #fff; border: 1px solid var(--line); font-weight: 500; }
.chip-x { text-decoration: line-through; color: var(--muted); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; max-width: min(460px, calc(100vw - 32px));
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 12px 16px; font-size: 15px; box-shadow: var(--shadow); }
.toast a { color: #fff; text-decoration: underline; font-weight: 600; margin-left: 8px; }

/* ── account area: sidebar on a desktop, a tab strip on a phone */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 0; min-height: calc(100vh - var(--head)); }
.app-nav { border-right: 1px solid var(--line); background: var(--paper); padding: 22px 14px; }
.app-nav .in { position: sticky; top: calc(var(--head) + 22px); display: flex; flex-direction: column; gap: 2px; }
.app-nav a { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 12px; border-radius: var(--radius); color: var(--ink-2); font-size: 15px; }
.app-nav a svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--faint); }
.app-nav a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.app-nav a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.app-nav a[aria-current="page"] svg { color: var(--brand); }
.app-nav .cnt { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 500; }
.app-nav .cnt.hot { background: var(--brand); color: #fff; border-radius: 10px; padding: 0 7px; font-weight: 700; }
.app-nav .sep { height: 1px; background: var(--line); margin: 12px 8px; }
.app-nav .lbl { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); padding: 6px 12px 4px; }
.app-main { padding: 28px 36px 80px; min-width: 0; }
.app-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.app-h h1 { font-size: 30px; }
.app-h p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 1023px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-nav { border-right: 0; border-bottom: 1px solid var(--line); padding: 0; position: sticky; top: var(--head); z-index: 30; }
  .app-nav .in { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 0 12px; gap: 0; }
  .app-nav .in::-webkit-scrollbar { display: none; }
  .app-nav a { white-space: nowrap; border-radius: 0; min-height: 48px; padding: 0 12px; }
  .app-nav a[aria-current="page"] { background: none; box-shadow: inset 0 -2px 0 var(--brand); }
  .app-nav a svg { display: none; }
  .app-nav .sep, .app-nav .lbl, .app-nav .only-wide { display: none; }
  .app-nav .cnt { margin-left: 6px; }
  .app-main { padding: 22px 20px 72px; }
}
@media (max-width: 860px) { .app-nav { top: 108px; } }
/* legacy account sub-navigation (kept for pages not yet on the sidebar) */
.subnav { border-bottom: 1px solid var(--line); background: var(--paper); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 12px 12px 10px; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; font-size: 15px; }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--brand); }
.empty { padding: 34px 20px; text-align: center; color: var(--muted); }
.kpi { display: flex; gap: 0; flex-wrap: wrap; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.kpi > * { flex: 1 1 150px; padding: 14px 18px; border-left: 1px solid var(--line-2); }
.kpi > *:first-child { border-left: 0; }
.kpi b { display: block; font-size: 24px; color: var(--ink); line-height: 1.2; }
.kpi a { color: inherit; }
.kpi a:hover { text-decoration: none; background: var(--paper); }

/* sales grouped by date: Overview and Watchlist */
.tl-g { margin-top: 22px; }
.tl-g > h3 { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.tl { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tl-r { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 40px; gap: 4px 16px; align-items: center; padding: 12px 14px 12px 12px; border-bottom: 1px solid var(--line-2); }
.tl-r:last-child { border-bottom: 0; }
.tl-d { text-align: center; line-height: 1.1; border-right: 1px solid var(--line-2); padding-right: 12px; }
.tl-d b { display: block; font-size: 24px; }
.tl-d span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tl-p a.addr { color: var(--ink); font-weight: 600; }
.tl-p .meta { font-size: 14px; color: var(--muted); }
.tl-p .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tl-a { text-align: right; font-size: 14px; }
.tl-a b { font-size: 15px; }
.tl-x { grid-column: 2 / -1; display: flex; gap: 6px 8px; flex-wrap: wrap; align-items: center; padding-top: 6px; }
.tl-x .pill { min-height: 32px; font-size: 13px; padding: 0 11px 0 9px; color: var(--muted); }
.tl-x .pill::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border: 1.5px solid currentColor; border-radius: 3px; }
.tl-x .pill[aria-pressed="true"] { background: var(--brand-tint); border-color: var(--brand-line); color: var(--brand-dark); }
.tl-x .pill[aria-pressed="true"]::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand-tint); }
@media (max-width: 640px) {
  .tl-r { grid-template-columns: 52px minmax(0, 1fr) 40px; }
  .tl-a { grid-column: 2; grid-row: 2; text-align: left; }
  .tl-d b { font-size: 20px; }
}

/* ── property and auction pages: the action card follows the facts on a phone, gets its own column on a desktop */
.pgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 0 44px; align-items: start; margin-top: 14px; }
.pgrid > .p-side { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: calc(var(--head) + 16px); }
.pgrid > :not(.p-side) { grid-column: 1; min-width: 0; }
@media (max-width: 900px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .pgrid > .p-side { grid-column: 1; grid-row: auto; position: static; margin: 20px 0 4px; }
}
.lot-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 14px 0 0; }
.lot-link .btn { min-height: 42px; font-size: 15px; }
.lot-embed { margin-top: 16px; overflow: hidden; padding: 0; }
.lot-embed iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (max-width: 760px) { .lot-embed iframe { height: 300px; } }

/* ── sections */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 60px; padding-bottom: 52px; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; max-width: 820px; margin-bottom: 16px; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 720px; margin-bottom: 28px; }
.sec { padding: 64px 0; }
.sec h2 { font-size: clamp(26px, 3.2vw, 32px); margin-bottom: 10px; }
.sec .sub { color: var(--muted); margin-bottom: 26px; max-width: 700px; font-size: 17px; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.cols > .main { flex: 999 1 560px; min-width: 0; }
.cols > .side { flex: 1 1 300px; min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 22px; }
.box-strong { border: 1px solid var(--ink); border-radius: var(--radius); padding: 24px; background: #fff; box-shadow: 4px 4px 0 var(--soft); }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-h h2 { margin: 0; }
.sec-h p { margin: 8px 0 0; color: var(--muted); max-width: 640px; }
.more { font-weight: 600; white-space: nowrap; }

/* ── home: hero with a real report on the right */
.h-hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.h-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.h-hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 18px; }
.h-hero h1 em { font-style: normal; color: var(--brand); }
.h-hero .lead { font-size: 19px; color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.h-quick { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 15px; }
.h-quick a { color: var(--ink-2); display: inline-flex; gap: 6px; align-items: baseline; }
.h-quick a b { color: var(--ink); }
.h-quick a:hover { color: var(--brand); }
@media (max-width: 960px) { .h-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 40px; padding-bottom: 44px; } }

/* the specimen: one real report, drawn like the first page of a recorded document */
.spec { position: relative; background: #fff; border: 1px solid #d9d2c9; border-radius: 3px; box-shadow: 0 1px 0 #fff inset, 0 18px 40px -18px rgba(28, 25, 23, .28); }
.spec::before { content: ""; position: absolute; inset: 7px -7px -7px 7px; z-index: -1; background: #fff; border: 1px solid var(--line); border-radius: 3px; }
.spec-top { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 3px double var(--line); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spec-top b { color: var(--brand); }
.spec-h { padding: 18px 20px 14px; }
.spec-h .a { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.spec-h .m { font-size: 14px; color: var(--muted); margin-top: 4px; }
.spec-n { display: flex; align-items: baseline; gap: 10px; padding: 0 20px 12px; }
.spec-n b { font-size: 44px; line-height: 1; color: var(--brand); letter-spacing: -0.03em; }
.spec-n span { font-size: 15px; color: var(--ink-2); }
.spec ol { list-style: none; margin: 0; padding: 0 20px; counter-reset: s; }
.spec li { counter-increment: s; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dotted #d6cfc6; font-size: 15px; }
.spec li::before { content: counter(s, decimal-leading-zero); color: var(--faint); font-size: 13px; width: 26px; flex: 0 0 auto; padding-top: 1px; }
.spec li span:first-of-type { flex: 1 1 auto; }
.spec li .x { color: var(--muted); }
.spec-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; margin-top: 8px; border-top: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.spec-f .muted { font-size: 13px; }
.spec-tag { position: absolute; top: -12px; right: 18px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; }

/* ── home: two ways to start a title search */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.path { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 26px; display: flex; flex-direction: column; }
.path h3 { font-size: 22px; margin-bottom: 6px; }
.path > p { color: var(--muted); }
.path .steps { list-style: none; margin: 4px 0 22px; padding: 0; counter-reset: st; }
.path .steps li { counter-increment: st; display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.path .steps li::before { content: counter(st); flex: 0 0 24px; height: 24px; border-radius: 12px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.path .acts { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.path-form { border-color: var(--ink); box-shadow: 4px 4px 0 var(--soft); }
.path-form .row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.path-form .btn { width: 100%; margin-top: 4px; }
@media (max-width: 860px) { .paths { grid-template-columns: minmax(0, 1fr); } .path { padding: 22px 20px; } }

/* ── home: sales with a report ready, a ledger */
.ledger { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.lg-h, .lg-r { display: grid; grid-template-columns: 92px minmax(0, 1.4fr) minmax(0, 1.5fr) 112px 44px; gap: 16px; align-items: center; padding: 0 12px 0 18px; }
.lg-h { min-height: 40px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; }
.lg-r { min-height: 68px; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); position: relative; }
.lg-r:last-child { border-bottom: 0; }
.lg-r:hover { background: var(--paper); }
.lg-r .d { font-size: 15px; }
.lg-r .d span { display: block; font-size: 13px; color: var(--muted); }
.lg-r .p a { color: var(--ink); font-weight: 600; }
.lg-r .p a::after { content: ""; position: absolute; inset: 0; }   /* the whole row opens the sale */
.lg-r .p span { display: block; font-size: 14px; color: var(--muted); }
.lg-r .f { display: flex; flex-wrap: wrap; gap: 5px; }
.lg-r .v { text-align: right; font-weight: 700; }
.lg-r .v span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.lg-r .star { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .lg-h { display: none; }
  .lg-r { grid-template-columns: minmax(0, 1fr) auto 40px; gap: 4px 12px; padding: 14px 10px 14px 16px; }
  .lg-r .d { grid-column: 1; grid-row: 1; font-size: 13px; color: var(--muted); }
  .lg-r .d span { display: inline; }
  .lg-r .p { grid-column: 1; grid-row: 2; }
  .lg-r .f { grid-column: 1 / 3; grid-row: 3; margin-top: 4px; }
  .lg-r .v { grid-column: 2; grid-row: 1 / 3; }
  .lg-r .star { grid-column: 3; grid-row: 1 / 3; }
}

/* ── home: what we found, as bars */
.found { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.found-big b { display: block; font-size: clamp(56px, 8vw, 88px); line-height: .95; letter-spacing: -0.04em; color: var(--brand); }
.found-big p { font-size: 18px; color: var(--ink-2); margin-top: 12px; max-width: 380px; }
.bars { list-style: none; margin: 0; padding: 0; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.bars li:first-child { padding-top: 0; }
.bars .l { font-size: 15px; }
.bars .n { text-align: right; font-weight: 700; }
.bars .t { grid-column: 1 / -1; height: 8px; background: var(--soft); border-radius: 1px; overflow: hidden; }
.bars .t i { display: block; height: 100%; background: var(--ink); }
.bars li:first-child .t i { background: var(--brand); }
@media (max-width: 860px) { .found { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ── home: the report's sections as a table of contents */
.toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.toc li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.toc .no { font-size: 14px; font-weight: 700; color: var(--brand); padding-top: 2px; }
.toc b { display: block; font-size: 17px; }
.toc span { color: var(--muted); font-size: 15px; }
.toc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
@media (max-width: 760px) { .toc-grid { grid-template-columns: minmax(0, 1fr); } .toc-grid .toc + .toc { border-top: 0; } }

/* ── home: the free account, shown */
.acct-sec { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.feat { list-style: none; margin: 18px 0 24px; padding: 0; }
.feat li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.feat svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.feat b { display: block; }
.feat span { color: var(--muted); font-size: 15px; }
.join { display: flex; gap: 8px; flex-wrap: wrap; max-width: 480px; }
.join .input { flex: 1 1 220px; }
.mock { border: 1px solid #d9d2c9; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.mock-bar { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 13px; color: var(--muted); }
.mock-bar span { padding: 11px 0 9px; }
.mock-bar .on { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--brand); }
.mock .tl { border: 0; border-radius: 0; }
.mock .tl-r { grid-template-columns: 54px minmax(0, 1fr) auto; }
.mock-mail { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--brand-tint); display: flex; gap: 10px; align-items: flex-start; }
.mock-mail svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--brand); stroke-width: 1.8; margin-top: 2px; }
@media (max-width: 960px) { .acct-sec { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ── home: sources */
.srcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.srcs > div { padding: 18px 22px 20px 0; border-bottom: 1px solid var(--line); }
.srcs b { display: block; margin-bottom: 4px; }
.srcs span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .srcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .srcs { grid-template-columns: minmax(0, 1fr); } }
.learn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.learn a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--ink); background: #fff; }
.learn a:hover { border-color: var(--ink); text-decoration: none; }
.learn b { display: block; margin-bottom: 4px; }
.learn span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .learn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .learn { grid-template-columns: minmax(0, 1fr); } }

/* ── search */
.search { position: relative; max-width: 640px; }
.search form { display: flex; gap: 8px; flex-wrap: wrap; }
.search .input { flex: 1 1 320px; min-height: 58px; font-size: 18px; border-color: #a8a097; box-shadow: 0 1px 2px rgba(28, 25, 23, .06); }
.search .btn { min-height: 58px; padding: 0 28px; font-size: 17px; }
.search-help { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.sugg { position: absolute; left: 0; right: 0; top: 64px; z-index: 30; background: #fff; border: 1px solid #d6cfc6; border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 25, 23, .14); overflow: hidden; }
.sugg a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.sugg a:hover, .sugg a[aria-selected="true"] { background: var(--paper); text-decoration: none; }
.sugg .t { font-size: 14px; font-weight: 600; white-space: nowrap; align-self: center; }
.sugg .free { color: var(--brand); font-weight: 600; }
.examples { margin-top: 14px; font-size: 15px; color: var(--muted); }
@media (max-width: 600px) { .search .btn { flex: 1 1 100%; } .sugg a { flex-direction: column; gap: 2px; } .sugg .t { white-space: normal; } }

/* ── tables, lists */
table { border-collapse: collapse; width: 100%; }
th { font-weight: 700; text-align: left; color: var(--muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--paper); }
td { padding: 12px; border-bottom: 1px solid var(--line-2); font-size: 15px; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.num { text-align: right; white-space: nowrap; }
.rows a.row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 15px 18px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.rows a.row > span:first-child { flex: 1 1 auto; min-width: 0; }
.rows a.row > span.num { flex: 0 0 auto; }
.rows a.row:last-child { border-bottom: 0; }
.rows a.row:hover { background: var(--paper); text-decoration: none; }
.rows .addr { font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 20px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-size: 34px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { border-left: 0; padding-left: 0; }
  .side-first { order: -1; }
  .rows a.row { padding: 14px 16px; gap: 12px; }
  .facts > div { padding: 11px 14px; }
}
.facts > div { display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr); gap: 14px; padding: 12px 18px;
  border-bottom: 1px solid var(--line-2); font-size: 15px; }
.facts > div:last-child { border-bottom: 0; }
.facts > div > * { min-width: 0; overflow-wrap: anywhere; }
.facts dt, .facts .k { color: var(--muted); }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.list-plain li:last-child { border-bottom: 0; }
.note { background: var(--warn-tint); border-left: 3px solid #d69a4d; border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 14px; font-size: 15px; }

/* ── prose */
.prose { font-size: 18px; line-height: 1.7; color: #292524; max-width: 720px; }
.prose h2 { font-size: 26px; margin: 42px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* ── embedded fclosure map */
.embed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 24px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); background: var(--paper); }
.embed { display: block; width: 100%; height: calc(100vh - var(--head) - 46px); min-height: 560px; border: 0; }

/* ── faq */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; transition: transform .15s ease-out; }
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 0 18px; color: var(--ink-2); max-width: 680px; }

/* ── footer */
.foot { border-top: 1px solid var(--line); background: var(--paper); font-size: 14px; color: var(--muted); }
.foot .wrap { padding-top: 40px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.foot .cols3 { display: flex; gap: 48px; flex-wrap: wrap; }
.foot .cols3 div { display: flex; flex-direction: column; gap: 8px; }
.foot .cols3 b { color: var(--ink); }
.foot a { color: var(--ink-2); }
.foot .legal { border-top: 1px solid var(--line); padding-top: 14px; padding-bottom: 30px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
