/* Paid traffic coverage. SellHouseFast default system: Kumbh Sans, #0070ff, bg #f5f8fd, ink #17202e. */
:root {
  --blue: #0070ff; --blue-hover: #005fe6; --blue-soft: #e8f1ff;
  --bg: #f5f8fd; --panel: #fff; --panel-alt: #f6f9fe;
  --ink: #17202e; --muted: #5b6b7c; --line: #e6ecf3;
  --green: #15803d; --amber: #b45309; --red: #b42318;
  --green-soft: #e9f7ee; --amber-soft: #fff7e6;
  --radius: 14px; --radius-sm: 10px; --shadow: 0 10px 30px rgba(2, 32, 71, .06);
  --font: 'Kumbh Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -120px; z-index: 100; background: #fff; color: var(--blue); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- header + nav ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.logo { width: 150px; height: auto; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--panel-alt); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.page-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.page-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.page-nav ul::-webkit-scrollbar { display: none; }
.page-nav a { display: block; white-space: nowrap; padding: 13px 12px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.page-nav a:hover { color: var(--ink); }
.page-nav a.is-current { color: var(--blue); border-bottom-color: var(--blue); }
.page-nav a:focus-visible { outline-offset: -3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 18px; border-radius: 8px; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.btn--sm { min-height: 40px; padding: 9px 14px; font-size: 14px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--secondary { background: #fff; color: var(--ink); border-color: #d5dfeb; }
.btn--secondary:hover { background: var(--panel-alt); color: var(--ink); border-color: #bcd0ea; }
.btn--ghost { background: var(--blue-soft); color: #0b4fb3; }
.btn--ghost:hover { background: #d9e8ff; }
.btn.is-done { background: var(--green-soft); color: var(--green); border-color: #bfe5cc; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 40px 0 38px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
h1, h2, h3 { text-wrap: balance; }
.hero h1 { font-size: clamp(28px, 5.2vw, 46px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; max-width: 820px; margin-top: 10px; }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 760px; margin-top: 14px; }
.snap-note { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow); font-size: 15px; color: var(--muted); }
.snap-note strong { color: var(--ink); }
.snap-icon { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.snap-icon svg { width: 18px; height: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- sections ---------- */
.section { padding: 44px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; font-weight: 800; }
.section-lead { color: var(--muted); max-width: 760px; margin-top: 8px; }
.small { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 820px; }

/* ---------- group pills ---------- */
.pill { display: inline-flex; align-items: center; gap: .3em; font-size: 13px; font-weight: 800; letter-spacing: .02em; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.g-A { background: var(--green-soft); color: var(--green); }
.g-B { background: var(--blue-soft); color: var(--blue-hover); }
.g-C { background: var(--amber-soft); color: var(--amber); }
.g-all { background: #eef2f7; color: var(--ink); }

/* ---------- group cards ---------- */
.group-cards { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 820px) { .group-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcard { position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px 20px; text-decoration: none; color: inherit; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.gcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.gcard--A::before { background: var(--green); } .gcard--B::before { background: var(--blue); } .gcard--C::before { background: var(--amber); }
.gcard:hover { transform: translateY(-2px); border-color: #bcd4f7; box-shadow: 0 16px 36px rgba(2, 32, 71, .1); color: inherit; }
.gcard .pill { align-self: flex-start; }
.gcard h3 { font-size: 19px; line-height: 1.25; font-weight: 800; margin-top: 2px; }
.gcard p { color: var(--muted); font-size: 15px; }
.gstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.gstats div { background: var(--panel-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.gstats dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gstats dd { font-size: 26px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.gcard-link { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue); }
.totals { margin-top: 16px; font-size: 15px; color: var(--muted); }
.totals strong { color: var(--ink); }

/* ---------- steps ---------- */
.steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 18px 64px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 17px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; }
@media (min-width: 1040px) { .steps li { padding: 64px 18px 20px; } .steps li::before { top: 18px; } }
.steps h3 { font-size: 17px; font-weight: 800; line-height: 1.3; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.steps li:last-child { border-color: #f3d7a8; background: linear-gradient(180deg, #fff 0%, #fffaf0 100%); }
.steps li:last-child::before { background: var(--amber); }

/* ---------- browse ---------- */
.toolbar { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--panel-alt); border: 1px solid var(--line); border-radius: 12px; align-self: flex-start; max-width: 100%; }
.tabs [role="tab"] { font-family: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: transparent; border: 0; border-radius: 9px; padding: 9px 14px; min-height: 40px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tabs [role="tab"]:hover { color: var(--ink); background: #fff; }
.tabs [role="tab"][aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(0, 112, 255, .22); }
.tab-n { font-size: 12px; font-weight: 700; opacity: .8; font-variant-numeric: tabular-nums; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .filters { grid-template-columns: 220px minmax(0, 1fr); max-width: 680px; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field select, .field input { font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfdae7; border-radius: var(--radius-sm); min-height: 46px; padding: 10px 12px; width: 100%; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b7c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field select:focus-visible, .field input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

.view-bar { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.status { font-size: 15px; color: var(--muted); }
.status strong { color: var(--ink); }
.view-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.table-panel { position: relative; margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: auto; max-height: min(72vh, 760px); overscroll-behavior: contain; }
.table-panel:focus-visible { outline-offset: 3px; }
.cov-table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cov-table thead th { position: sticky; top: 0; z-index: 2; background: var(--panel-alt); border-bottom: 1px solid var(--line); text-align: left; padding: 0; }
.cov-table thead th button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 6px; width: 100%; padding: 12px 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.cov-table thead th button:hover { color: var(--ink); }
.cov-table thead th button:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 6px; }
.cov-table thead th button::after { content: ""; width: 9px; height: 9px; flex: none; opacity: .35; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 0l4 5H1zM5 12L1 7h8z' fill='%235b6b7c'/%3E%3C/svg%3E"); }
.cov-table thead th[aria-sort="ascending"] button, .cov-table thead th[aria-sort="descending"] button { color: var(--blue); }
.cov-table thead th[aria-sort="ascending"] button::after { opacity: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 1l4 6H1z' fill='%230070ff'/%3E%3C/svg%3E"); }
.cov-table thead th[aria-sort="descending"] button::after { opacity: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 11L1 5h8z' fill='%230070ff'/%3E%3C/svg%3E"); }
.cov-table th.num button { justify-content: flex-end; }
.cov-table td { padding: 0 14px; height: 50px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cov-table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.cov-table td.st { font-weight: 700; color: var(--muted); width: 84px; }
.cov-table abbr { text-decoration: none; }
.cov-table td.grp { width: 110px; }
.cov-table td.num { width: 130px; }
.cov-table tbody tr.row:hover td { background: #fafcff; }
.cov-table tbody tr.row.is-open td { background: var(--panel-alt); border-bottom-color: transparent; }
.expand { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 6px 4px 0; cursor: pointer; font-weight: 700; color: var(--ink); }
.expand:hover { color: var(--blue); }
.expand:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.chev { width: 24px; height: 24px; flex: none; border-radius: 7px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; transition: transform .15s ease; }
.chev svg { width: 14px; height: 14px; }
.expand[aria-expanded="true"] .chev { transform: rotate(90deg); }
.cov-table tr.detail td { height: auto; padding: 4px 14px 16px 48px; background: var(--panel-alt); }
.zip-box { display: flex; flex-direction: column; gap: 10px; }
.zip-list { font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #24364d; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; overflow-wrap: anywhere; max-width: 820px; }
.zip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.empty { padding: 28px 16px !important; height: auto !important; text-align: center; color: var(--muted); }
.empty .btn { margin-top: 10px; }
.note-line { margin-top: 14px; }

/* ---------- downloads ---------- */
.dl-grid { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 720px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .dl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.dcard--all { background: linear-gradient(180deg, #fff 0%, var(--panel-alt) 100%); }
.dcard h3 { font-size: 16px; }
.dcount { font-size: 15px; color: var(--muted); }
.dcount strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.dactions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.dactions .btn { width: 100%; }

/* ---------- changes ---------- */
.first-snap { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; background: var(--panel-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; max-width: 760px; }
.first-snap .snap-icon { background: #fff; border: 1px solid var(--line); }
.first-snap p { color: var(--muted); }
.first-snap strong { color: var(--ink); display: block; }
.chg-summary { margin-top: 10px; color: var(--muted); max-width: 760px; }
.chg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; }
.chip--add { color: var(--green); border-color: #bfe5cc; background: var(--green-soft); }
.chip--drop { color: var(--red); border-color: #f2c4bf; background: #fdf0ef; }
.chip--move { color: var(--blue-hover); border-color: #c9defd; background: var(--blue-soft); }
.chg-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 720px) { .chg-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .chg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.chg-state { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.chg-state h3 { font-size: 15px; font-weight: 800; }
.chg-state ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.chg-state li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; }
.tag--add { background: var(--green-soft); color: var(--green); }
.tag--drop { background: #fdf0ef; color: var(--red); }
.tag--move { background: var(--blue-soft); color: var(--blue-hover); }

/* ---------- footer, toast ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 22px 0 30px; font-size: 14px; color: var(--muted); }
.site-footer p + p { margin-top: 4px; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); z-index: 50; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 16px; border-radius: var(--radius-sm); box-shadow: 0 12px 30px rgba(2, 32, 71, .25); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.noscript { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; background: var(--amber-soft); color: var(--amber); font-weight: 700; padding: 12px 20px; text-align: center; border-top: 1px solid #f3d7a8; }

@media (max-width: 560px) {
  .page-nav a { padding: 12px 8px; font-size: 13px; }
  .page-nav .wrap { padding: 0 10px; }
  .page-nav ul { gap: 0; justify-content: space-between; }
  .page-nav li:first-child { display: none; }
  .tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-self: stretch; }
  .tabs [role="tab"] { justify-content: center; padding: 9px 6px; }
  .tab-word, .pill-word, .hide-sm { display: none; }
  .cov-table { min-width: 300px; font-size: 14.5px; }
  .cov-table thead th button { padding: 12px 8px; letter-spacing: .04em; }
  .cov-table td { padding: 8px 8px; height: 50px; }
  .cov-table td.st { width: 44px; }
  .cov-table td.grp { width: 46px; }
  .cov-table td.num { width: 62px; }
  .cov-table .pill { padding: 3px 9px; }
  .expand { gap: 8px; }
}
@media (max-width: 520px) {
  .view-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .view-actions #dl-view { grid-column: 1 / -1; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cov-table tr.detail td { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
.small-muted { color: var(--muted); font-size: 13px; }
