/* ListingLint: calm, professional, paper-and-ink real-estate look. Tokens first; dark mode below. */
:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --ink: #14213d;
  --ink-2: #364260;
  --muted: #5f6a7d;
  --line: #e2ded4;
  --line-2: #d3cec2;
  --brand: #0c6b5e;
  --brand-hover: #095448;
  --brand-ink: #ffffff;
  --brand-soft: #e2f0ec;
  --gold: #a87a22;
  --navy: #14213d;
  --navy-ink: #f6f4ef;

  --high: #b42d24;      --high-bg: rgba(214, 60, 48, .17);
  --medium: #a8540a;    --medium-bg: rgba(236, 142, 30, .22);
  --context: #6440c0;   --context-bg: rgba(118, 82, 214, .15);
  --low: #1f5fa3;       --low-bg: rgba(46, 116, 196, .13);
  --fact: #9b2f73;      --fact-bg: rgba(170, 52, 128, .12);
  --ok: #1d7a4f;        --ok-bg: rgba(40, 150, 96, .12);
  --over-bg: rgba(214, 60, 48, .10);

  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 6px 24px rgba(20, 33, 61, .06);
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1522; --surface: #151f30; --surface-2: #121b2a; --ink: #edf0f5; --ink-2: #c9d0dc; --muted: #95a1b5;
    --line: #243149; --line-2: #2e3d58; --brand: #3cbca3; --brand-hover: #5cd3bb; --brand-ink: #06231d; --brand-soft: #143a35;
    --gold: #d9ab52; --navy: #0a101b; --navy-ink: #edf0f5;
    --high: #ff8a7e; --high-bg: rgba(255, 110, 96, .26); --medium: #ffb563; --medium-bg: rgba(255, 168, 64, .26);
    --context: #b9a1ff; --context-bg: rgba(160, 128, 255, .24); --low: #8cc0ff; --low-bg: rgba(110, 170, 255, .2);
    --fact: #f39ad3; --fact-bg: rgba(240, 120, 200, .2); --ok: #6fd6a2; --ok-bg: rgba(80, 200, 140, .16); --over-bg: rgba(255, 110, 96, .16);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1522; --surface: #151f30; --surface-2: #121b2a; --ink: #edf0f5; --ink-2: #c9d0dc; --muted: #95a1b5;
  --line: #243149; --line-2: #2e3d58; --brand: #3cbca3; --brand-hover: #5cd3bb; --brand-ink: #06231d; --brand-soft: #143a35;
  --gold: #d9ab52; --navy: #0a101b; --navy-ink: #edf0f5;
  --high: #ff8a7e; --high-bg: rgba(255, 110, 96, .26); --medium: #ffb563; --medium-bg: rgba(255, 168, 64, .26);
  --context: #b9a1ff; --context-bg: rgba(160, 128, 255, .24); --low: #8cc0ff; --low-bg: rgba(110, 170, 255, .2);
  --fact: #f39ad3; --fact-bg: rgba(240, 120, 200, .2); --ok: #6fd6a2; --ok-bg: rgba(80, 200, 140, .16); --over-bg: rgba(255, 110, 96, .16);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* ---------- header / footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand small { font-family: var(--font-body); font-size: .72rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 99px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a.btn { color: var(--brand-ink); }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 56px; padding: 32px 0 40px; font-size: .9rem; color: var(--muted); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--ink-2); }
.fineprint { font-size: .85rem; color: var(--muted); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 10px; border: 1px solid transparent; background: var(--brand); color: var(--brand-ink);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { background: var(--brand-hover); color: var(--brand-ink); }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--ink-2); color: var(--ink); }
.btn.quiet { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.btn.quiet:hover { border-color: var(--line-2); background: var(--surface); }
.btn[disabled], .btn.is-disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 4px 2px; color: var(--muted); font: 500 .88rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-btn:hover { color: var(--ink); }

/* ---------- marketing sections */
.hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; } .hero { padding: 72px 0 64px; } }
.eyebrow { display: inline-block; font: 600 .8rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: 1.14rem; color: var(--ink-2); max-width: 38em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.cta-meta { font-size: .9rem; color: var(--muted); }
.section { padding: 56px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 28px; }
.section-head p { color: var(--ink-2); }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; margin-bottom: 10px; }
.fact-card { border-left: 4px solid var(--gold); }
.fact-card .big { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; line-height: 1; color: var(--ink); display: block; margin-bottom: 6px; }
.cite { font-size: .82rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin: 0 0 10px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.classes { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0; }
.classes li { background: var(--surface-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px; font-size: .92rem; }
.callout { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.callout.warn { background: var(--surface-2); border-color: var(--line-2); }
.price-tag { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border: 2px solid var(--brand); }
.plan .btn { margin-top: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* hero mock */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: .8rem; color: var(--muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.mock-body { padding: 18px; font-size: .98rem; line-height: 1.75; }
.mock-flags { border-top: 1px solid var(--line); padding: 12px 18px 16px; display: grid; gap: 8px; font-size: .88rem; }
.mock-flag { display: flex; gap: 8px; align-items: baseline; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
table.compare th, table.compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--surface-2); font-size: .88rem; }
table.compare th[scope="row"] { font-weight: 600; width: 26%; }
table.compare td.us { background: color-mix(in srgb, var(--brand-soft) 55%, transparent); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }

/* prose pages */
.prose > * { max-width: 46em; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose li { margin-bottom: .4em; }

/* forms */
.field { display: grid; gap: 4px; }
.field label, .lbl { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="number"], select, textarea.input {
  width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--font-body);
}
textarea.input { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.kit-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.kit-form input[type="email"] { flex: 1 1 220px; }

/* ---------- severity badges (shared) */
.badge { display: inline-flex; align-items: center; gap: 5px; font: 700 .72rem/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sev-high .badge, .badge.sev-high { color: var(--high); background: var(--high-bg); }
.sev-medium .badge, .badge.sev-medium { color: var(--medium); background: var(--medium-bg); }
.sev-context .badge, .badge.sev-context { color: var(--context); background: var(--context-bg); }
.sev-low .badge, .badge.sev-low { color: var(--low); background: var(--low-bg); }
.sev-fact .badge, .badge.sev-fact { color: var(--fact); background: var(--fact-bg); }
.badge.sev-ok { color: var(--ok); background: var(--ok-bg); }
.hl-high { background: var(--high-bg); box-shadow: inset 0 -2px 0 var(--high); border-radius: 3px; }
.hl-medium { background: var(--medium-bg); box-shadow: inset 0 -2px 0 var(--medium); border-radius: 3px; }
.hl-context { background: var(--context-bg); box-shadow: inset 0 -2px 0 var(--context); border-radius: 3px; }
.hl-low { background: var(--low-bg); box-shadow: inset 0 -2px 0 var(--low); border-radius: 3px; }
.hl-fact { background: var(--fact-bg); box-shadow: inset 0 -2px 0 var(--fact); border-radius: 3px; }

/* ---------- checker app */
.app-head { padding-top: 28px; padding-bottom: 6px; }
.app-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .25em; }
.app-head p { color: var(--ink-2); margin-bottom: 0; }
.privacy-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .86rem; color: var(--ok); background: var(--ok-bg); padding: 5px 12px; border-radius: 99px; font-weight: 600; }
.privacy-pill svg { width: 15px; height: 15px; }
.app-grid { display: grid; gap: 18px; padding-top: 18px; padding-bottom: 8px; align-items: start; }
@media (min-width: 980px) { .app-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; } .panel { position: sticky; top: 78px; max-height: calc(100vh - 92px); overflow-y: auto; padding-right: 4px; } }
.panel { display: grid; gap: 16px; min-width: 0; }
.panel .card { padding: 16px; }
.panel h2 { font-size: 1.2rem; margin-bottom: .4em; }
.editor-card { padding: 0; overflow: visible; min-width: 0; }
.ed-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ed-toolbar .spacer { flex: 1 1 auto; }
.limit-ctl { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.limit-ctl select { width: auto; min-height: 36px; padding: 4px 8px; font-size: .92rem; }
.limit-ctl input { width: 90px; min-height: 36px; padding: 4px 8px; }

.ed { position: relative; margin: 0; background: var(--surface); }
.ed-backdrop, .ed textarea {
  margin: 0; padding: 18px 18px 22px; border: 0; width: 100%;
  font: 400 17px/1.7 var(--font-body); letter-spacing: normal; word-spacing: normal; tab-size: 4;
  white-space: pre-wrap; overflow-wrap: break-word; word-break: normal;
}
.ed-backdrop { position: absolute; inset: 0; color: transparent; pointer-events: none; overflow: hidden; }
.ed-backdrop mark { color: transparent; }
.ed-backdrop mark.active { outline: 2px solid currentColor; outline-offset: 1px; }
.ed-backdrop mark.hl-high.active { outline-color: var(--high); }
.ed-backdrop mark.hl-medium.active { outline-color: var(--medium); }
.ed-backdrop mark.hl-context.active { outline-color: var(--context); }
.ed-backdrop mark.hl-low.active { outline-color: var(--low); }
.ed-backdrop mark.hl-fact.active { outline-color: var(--fact); }
.ed-backdrop .over { background: var(--over-bg); text-decoration: line-through; text-decoration-color: var(--high); }
.ed textarea {
  position: relative; display: block; min-height: 300px; resize: none; overflow: hidden; background: transparent; color: var(--ink);
  caret-color: var(--ink); border-radius: 0; outline: none; box-shadow: none;
}
.ed textarea::placeholder { color: var(--muted); }
.ed:focus-within { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand) 45%, transparent); }
.ed-foot { border-top: 1px solid var(--line); padding: 12px 14px 14px; display: grid; gap: 10px; }
.meter { height: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .15s, background .15s; }
.meter.warn span { background: var(--medium); }
.meter.over span { background: var(--high); }
.count-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .9rem; color: var(--ink-2); }
.count-row strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.count-row .over-msg { color: var(--high); font-weight: 600; }
.foot-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.tip {
  position: absolute; z-index: 5; width: min(340px, calc(100% - 16px)); background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 10px 30px rgba(10, 20, 40, .22); padding: 12px 14px; font-size: .9rem;
}
.tip p { margin: 6px 0 10px; color: var(--ink-2); }
.tip .tip-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.tip-close { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; background: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; border-radius: 6px; }
.tip-close:hover { background: var(--surface-2); color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 11px; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: 600 .85rem var(--font-body); cursor: pointer;
}
.chip .n { font-variant-numeric: tabular-nums; min-width: 1.4em; text-align: center; padding: 1px 6px; border-radius: 99px; background: var(--surface-2); color: var(--ink); }
.chip[aria-pressed="false"] { opacity: .5; text-decoration: line-through; }
.chip.sev-high .n { background: var(--high-bg); color: var(--high); }
.chip.sev-medium .n { background: var(--medium-bg); color: var(--medium); }
.chip.sev-context .n { background: var(--context-bg); color: var(--context); }
.chip.sev-low .n { background: var(--low-bg); color: var(--low); }
.chip.sev-fact .n { background: var(--fact-bg); color: var(--fact); }
.status { font-size: .92rem; color: var(--ink-2); margin: 0; }
.status.clean { color: var(--ok); font-weight: 600; }
.legend { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }

.issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.issue { border: 1px solid var(--line); border-left-width: 4px; border-radius: 10px; padding: 12px 12px 10px; background: var(--surface); transition: box-shadow .15s, border-color .15s; }
.issue.sev-high { border-left-color: var(--high); }
.issue.sev-medium { border-left-color: var(--medium); }
.issue.sev-context { border-left-color: var(--context); }
.issue.sev-low { border-left-color: var(--low); }
.issue.sev-fact { border-left-color: var(--fact); }
.issue.active { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
.issue-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.issue-cls { font-size: .82rem; color: var(--muted); font-weight: 600; }
.issue-quote { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 2px 0; cursor: pointer; font: 600 1rem/1.4 var(--font-display); color: var(--ink); }
.issue-quote:hover { text-decoration: underline; }
.issue .why { font-size: .9rem; color: var(--ink-2); margin: 4px 0 8px; }
.fixes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.fix-btn { min-height: 36px; padding: 6px 11px; font-size: .88rem; text-align: left; }
.fix-btn .arrow { opacity: .75; }
.issue-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.srcs { font-size: .82rem; color: var(--muted); }
.srcs summary { cursor: pointer; }
.srcs ul { margin: 6px 0 0; padding-left: 18px; }
.srcs li { margin-bottom: 3px; }
.empty { text-align: center; padding: 18px 10px; color: var(--muted); font-size: .95rem; }
.empty svg { width: 42px; height: 42px; color: var(--ok); display: block; margin: 0 auto 6px; }

.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
@media (min-width: 520px) { .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts-help { font-size: .88rem; color: var(--ink-2); }
details.card > summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: 1.08rem; }
.notes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.notes li { border-left: 3px solid var(--ok); padding: 2px 0 2px 10px; color: var(--ink-2); }
.notes strong { color: var(--ink); }
.upsell { border: 2px solid var(--brand); }
.upsell ul { margin: 8px 0 12px; padding-left: 20px; font-size: .92rem; }
.disclaimer { margin-top: 18px; }
.disclaimer p { font-size: .88rem; color: var(--muted); max-width: 60em; }
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; font-size: .92rem; z-index: 60; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ---------- Pro bits (used by listinglint-pro.html) */
.custom-form { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.custom-form .full { grid-column: 1 / -1; }
.custom-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.custom-list li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.custom-list li span.ph { flex: 1; font-weight: 600; overflow-wrap: anywhere; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#report { display: none; }

@media print {
  body.printing > *:not(#report) { display: none !important; }
  body.printing #report { display: block !important; }
  body.printing { background: #fff; color: #000; font-size: 11pt; }
  #report h1 { font-size: 20pt; }
  #report table { width: 100%; border-collapse: collapse; margin: 6pt 0 12pt; }
  #report th, #report td { border: 1px solid #999; padding: 4pt 6pt; text-align: left; vertical-align: top; font-size: 9.5pt; }
  #report .final { white-space: pre-wrap; border: 1px solid #999; padding: 8pt; font-size: 10pt; }
  #report .sig { margin-top: 24pt; display: flex; gap: 30pt; }
  #report .sig div { flex: 1; border-top: 1px solid #000; padding-top: 4pt; font-size: 9pt; }
  #report section { break-inside: avoid-page; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-18 { margin-top: 18px; } .mt-22 { margin-top: 22px; }
.mark-demo mark, .mock-body mark { color: inherit; padding: 0 1px; }
.facts-grid .full-sm { grid-column: 1 / -1; }
[id] { scroll-margin-top: 76px; }
