:root {
  --ink: #161E26; --body: #374151; --muted: #6B7280; --faint: #9CA3AF; --line: #E5E7EB; --bg: #F5F5F5; --card: #FFFFFF;
  --subtle: #F9FAFB; --brand: #0075EB; --brand-hover: #005FBF; --brand-soft: #E8F2FE; --good: #00B373; --good-hover: #009960;
  --good-soft: #ECFDF5; --warn: #D97706; --warn-soft: #FEF3C7; --bad: #DC2626; --bad-soft: #FEF2F2;
}
* { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; font: 15px/1.5 Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.02em; color: var(--body); background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
header.top { background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0,0,0,0.04); position: sticky; top: 0; z-index: 50; }
header.top .inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo svg { height: 26px; fill: var(--brand); display: block; }
.logo span { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 4px; }
nav.main { display: flex; gap: 16px; flex: 1; flex-wrap: wrap; }
nav.main a { color: var(--muted); font-weight: 500; font-size: 14px; padding: 6px 10px; border-radius: 8px; transition: background .15s ease, color .15s ease; }
nav.main a:hover { background: var(--subtle); color: var(--ink); text-decoration: none; }
nav.main a.on { color: var(--brand); }
.who { color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.muted { background: #f1f5f9; color: var(--muted); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.bell { position: relative; border: 0; background: none; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--muted); display: inline-flex; transition: background .15s ease, color .15s ease; }
.bell:hover, .bell[aria-expanded=true] { background: var(--subtle); color: var(--ink); }
.bell svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--warn); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; border: 2px solid var(--card); }
.badge.urgent { background: var(--bad); }
.badge.empty { display: none; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(22,30,38,0.35); z-index: 600; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--card); z-index: 700; box-shadow: -8px 0 32px rgba(0,0,0,0.12); transform: translateX(100%); transition: transform .2s ease; display: flex; flex-direction: column; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.drawer-close { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--faint); cursor: pointer; }
.drawer-body { overflow-y: auto; padding: 8px 20px 24px; }
.drawer-body h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); margin: 18px 0 6px; }
.work-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--body); font-size: 14px; }
.work-item:last-child { border-bottom: 0; }
.work-item:hover { text-decoration: none; color: var(--ink); }
.work-item .pill { flex-shrink: 0; }
main { max-width: 1120px; margin: 0 auto; padding: 24px 20px 64px; }
h1 { font-size: 28px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
h2 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.sub { color: var(--muted); margin: 0 0 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { font-size: 30px; font-weight: 700; color: var(--ink); }
.stat-label { color: var(--muted); font-size: 13px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); background: var(--subtle); }
tr { transition: background .12s ease; }
tbody tr:hover, table tr:hover td { background: var(--subtle); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.btn { display: inline-block; border: 0; border-radius: 8px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--brand); color: #fff; transition: background .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--brand-hover); text-decoration: none; }
.btn.green { background: var(--good); }
.btn.green:hover { background: var(--good-hover); }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { background: var(--subtle); }
.btn.danger { background: var(--bad); }
.btn.danger:hover { background: #B91C1C; }
.btn.small { padding: 4px 10px; font-size: 13px; }
form.inline { display: inline; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
input, select, textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 2px 8px rgba(0,117,235,0.12); }
input[type=checkbox] { width: auto; }
textarea { min-height: 70px; }
.help { color: var(--muted); font-size: 13px; }
.errorlist { color: var(--bad); margin: 4px 0 0; padding-left: 18px; font-size: 13px; }
.toasts { position: fixed; top: 72px; right: 20px; z-index: 800; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--good); border-radius: 12px; padding: 12px 14px; box-shadow: 0 4px 24px rgba(0,0,0,0.10); color: var(--ink); font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; transform: none; }
.toast.error { border-left-color: var(--bad); }
.toast button { margin-left: auto; border: 0; background: none; color: var(--faint); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; }
.modal-overlay { position: fixed; inset: 0; z-index: 700; background: rgba(0,0,0,0.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s; }
.modal-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-card { background: #fff; border-radius: 16px; padding: 32px; max-width: 480px; width: calc(100% - 48px); box-shadow: 0 20px 60px rgba(0,0,0,0.25); transform: scale(0.96) translateY(8px); transition: transform .2s ease; }
.modal-overlay.show .modal-card { transform: none; }
.modal-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: var(--ink); }
.modal-lines { list-style: none; padding: 0; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
.modal-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.modal-lines li:last-child { border-bottom: 0; }
.modal-lines strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--good); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.reasons { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 8px 0 8px 18px; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); position: absolute; left: -6px; top: 14px; }
.timeline .when { color: var(--muted); font-size: 13px; }
.alert-row { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.alert-row:last-child { border-bottom: 0; }
.money-lines { margin: 0; padding-left: 18px; }
.callout { background: var(--brand-soft); border: 1px solid #93C5FD; border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; }
.split { display: grid; gap: 16px; grid-template-columns: 2fr 1fr; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.hero { padding: 40px 0 28px; max-width: 760px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.1; margin-bottom: 14px; }
.hero .sub { font-size: 16px; margin: 0; }
.section-title { margin-top: 8px; }
.role-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-bottom: 40px; }
.role-grid form { display: contents; }
.role-card { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 18px; font: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.role-card:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(0,117,235,0.14); transform: translateY(-2px); }
.role-card:hover .role-go { color: var(--brand-hover); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #fff; background: var(--brand); margin-bottom: 4px; }
.avatar.investor { background: var(--good); }
.avatar.ops { background: #1E293B; }
.role-name { font-size: 16px; font-weight: 600; }
.pill.agent { background: var(--brand-soft); color: var(--brand); }
.pill.investor { background: var(--good-soft); color: var(--good); }
.pill.ops { background: #E2E8F0; color: #1E293B; }
.role-detail { color: var(--muted); font-size: 13px; flex: 1; }
.role-go { font-size: 13px; font-weight: 600; color: var(--brand); margin-top: 6px; }
.how { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 28px; }
.how-step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.how-num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.how-step strong { display: block; color: var(--ink); margin-bottom: 4px; }
.how-step p { margin: 0; font-size: 14px; color: var(--muted); }
.walkthrough { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; }
.walkthrough summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.walkthrough[open] summary { margin-bottom: 8px; }
ol.steps li { margin-bottom: 8px; }
.page-head { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.page-head > div { flex: 1 1 520px; }
.page-head .sub { margin-bottom: 8px; }
.page-head .btn { margin-top: 6px; }
.summary { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.summary strong { color: var(--ink); }
.buybox { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 12px 18px; margin-bottom: 16px; font-size: 14px; }
.buybox-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.buybox-line strong { color: var(--ink); margin-right: 4px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 16px; }
.filter-group { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chip.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.filter-count { margin-left: auto; font-size: 13px; color: var(--muted); }
.home-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.home-tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.home-tile:hover { box-shadow: 0 8px 24px rgba(22,30,38,0.10); transform: translateY(-2px); }
.home-tile[hidden] { display: none; }
.tile-media { position: relative; display: block; }
.tile-media:hover { text-decoration: none; }
.photo.tile { width: 100%; height: 170px; }
.tile-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tile-badges .pill { box-shadow: 0 1px 4px rgba(0,0,0,0.18); }
.tile-body { padding: 14px 16px 6px; flex: 1; }
.tile-title { display: block; font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.tile-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.tile-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.tile-nums dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); margin-bottom: 2px; }
.tile-nums dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile-nums .pill { display: block; width: fit-content; margin-top: 4px; }
.best { font-weight: 500; color: var(--good); font-size: 13px; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 14px; }
.tile-foot .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) { .hero { padding-top: 20px; } .hero h1 { font-size: 30px; } }
.card.empty { color: var(--muted); text-align: center; grid-column: 1 / -1; }
.demo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--subtle); }
.demo-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.demo-strip .help { margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 9999px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.chip:hover { border-color: var(--brand); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.chip.down { background: var(--bad-soft); border-color: #FECACA; color: var(--bad); }
.chip.down .dot { background: var(--bad); }
.metric { border-top: 4px solid var(--line); }
.metric.good { border-top-color: var(--good); }
.metric.warn { border-top-color: var(--warn); }
.metric.bad { border-top-color: var(--bad); }
.metric.good .stat { color: var(--good); }
.metric.warn .stat { color: var(--warn); }
.metric.bad .stat { color: var(--bad); }
.metric-detail { font-size: 13px; color: var(--body); margin-top: 2px; }
.metric-target { font-size: 12px; color: var(--faint); margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.chart-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--ink); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12px; color: var(--muted); }
.key { display: inline-block; width: 12px; height: 8px; border-radius: 2px; margin-right: -8px; }
.key.live { background: var(--brand); }
.key.decided { background: var(--good); }
.key.target { width: 0; height: 12px; border-left: 2px dashed var(--ink); border-radius: 0; margin-right: -10px; }
.bars { display: grid; grid-template-columns: minmax(120px, 210px) 1fr 28px; gap: 10px 14px; align-items: center; }
.bar-label { font-size: 13px; color: var(--ink); line-height: 1.2; }
.bar-label span { display: block; font-size: 11px; color: var(--faint); }
.bar-track { position: relative; height: 14px; background: var(--subtle); border-radius: 9999px; }
.bar-fill { height: 100%; background: var(--brand); border-radius: 9999px; min-width: 4px; transition: width .2s ease; }
.bar-fill.decided { background: var(--good); }
.bar-target { position: absolute; top: -4px; bottom: -4px; border-left: 2px dashed var(--ink); opacity: .55; }
.bar-value { font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.photo { display: block; object-fit: cover; background: var(--subtle); }
.photo.thumb { width: 72px; height: 50px; border-radius: 8px; }
.home-media { display: grid; grid-template-columns: 1fr; width: calc(100% + 48px); margin: -20px -24px 18px; border-radius: 12px 12px 0 0; overflow: hidden; }
.home-media.with-map { grid-template-columns: 2fr 1fr; }
.photo.cover { width: 100%; height: 300px; }
.map { height: 300px; background: var(--subtle); border-left: 1px solid var(--line); position: relative; z-index: 0; }
.map .leaflet-control-attribution { font-size: 9px; }
.photo.placeholder { display: flex; align-items: center; justify-content: center; color: var(--faint); }
.photo.placeholder svg { width: 40%; max-width: 64px; fill: var(--line); }
.thumb-cell { width: 88px; padding-right: 0; }
.home-card { overflow: hidden; }
@media (max-width: 640px) { .photo.cover { height: 200px; } .home-media.with-map { grid-template-columns: 1fr; } .map { height: 180px; border-left: 0; border-top: 1px solid var(--line); } }
td.actions { white-space: nowrap; text-align: right; }
td.actions .btn { vertical-align: middle; margin-left: 6px; }
tr.counter-row[hidden] { display: none; }
tr.counter-row td { background: var(--subtle); padding: 12px 16px; }
.counter-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.counter-title { font-weight: 600; color: var(--ink); align-self: center; margin-right: 6px; }
.counter-form label { font-size: 12px; margin: 0; }
.counter-form label input { display: block; margin-top: 4px; width: 150px; padding: 7px 10px; font-size: 14px; }
.counter-form label.grow { flex: 1; min-width: 180px; }
.counter-form label.grow input { width: 100%; }
.counter-form label { font-size: 12px; }

.tour { position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.tour.show { opacity: 1; visibility: visible; pointer-events: auto; }
.tour-spot { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(22,30,38,0.6), 0 0 0 3px var(--brand); transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.tour-card { position: fixed; width: min(360px, calc(100vw - 24px)); background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); transition: top .25s ease, left .25s ease; }
.tour-count { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.tour-card h3 { margin: 4px 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.tour-card p { margin: 0 0 14px; font-size: 14px; color: var(--body); }
.tour-actions { display: flex; gap: 8px; align-items: center; }
.tour-spacer { flex: 1; }
.tour-actions button:disabled { opacity: .4; cursor: default; }
body.tour-open { overflow: hidden; }
#tour-restart[hidden] { display: none; }

.wizard fieldset { border: 0; padding: 0; margin: 0; }
.wizard fieldset[hidden] { display: none; }
.stepper { list-style: none; display: flex; gap: 24px; padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--faint); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.stepper li span { width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.stepper li.on { color: var(--ink); border-bottom-color: var(--brand); }
.stepper li.on span { background: var(--brand); color: #fff; }
.stepper li.done span { background: var(--good); color: #fff; }
.wizard-actions { display: flex; gap: 10px; margin-top: 20px; }

.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.caret { font-size: 10px; opacity: .7; }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); width: 400px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.14); padding: 6px; z-index: 60; }
.menu-item { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; transition: background .12s ease; }
.menu-item:hover { background: var(--subtle); }
.menu-item.on { background: var(--brand-soft); }
.menu-item strong { display: block; font-weight: 600; line-height: 1.2; }
.menu-item small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.menu-item.signout { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; padding-top: 10px; }
.avatar.small { width: 30px; height: 30px; font-size: 12px; margin: 0; flex-shrink: 0; }
.split-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; max-width: none; padding: 36px 0 28px; }
.split-hero h1 { font-size: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.hero-actions form { display: inline; }
.hero-more { font-size: 14px; font-weight: 600; margin-left: 6px; }
.spotlight { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(22,30,38,0.12); }
.spotlight-media { position: relative; }
.photo.spot { width: 100%; height: 190px; }
.spotlight-body { padding: 14px 18px 16px; }
.spotlight-offers { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.spotlight-offers li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spotlight-offers li:last-child { border-bottom: 0; }
.spot-who { flex: 1; min-width: 0; }
.spot-who strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.2; }
.spot-who small { color: var(--muted); font-size: 12px; }
.spot-amount { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.spot-amount .pill { display: block; margin-top: 3px; font-size: 11px; }
.spotlight-foot { font-size: 12px; color: var(--muted); margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 36px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.stats strong { display: block; font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.stats span { font-size: 13px; color: var(--muted); }
section { margin-bottom: 36px; }
.who-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.who-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.who-card .pill { margin-bottom: 10px; }
.who-card strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.who-card p { margin: 0; font-size: 14px; color: var(--body); }
.core { background: #1E293B; color: #E2E8F0; border-radius: 16px; padding: 26px 30px; }
.core .section-title { color: #fff; margin-top: 0; }
.core-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.core-list li { color: #CBD5E1; }
@media (max-width: 820px) { .split-hero { grid-template-columns: 1fr; gap: 24px; } .stats { grid-template-columns: repeat(2, 1fr); } }

.avatar.seller { background: var(--warn); }
.pill.seller { background: var(--warn-soft); color: var(--warn); }
.leads { margin-bottom: 20px; }
.leads h2 { margin-top: 0; }
.lead-list { display: grid; gap: 10px; }
.lead { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: 12px; padding: 12px 16px; }
.lead-who { flex: 1; min-width: 0; }
.lead-who strong { display: block; color: var(--ink); }
.lead-who small { color: var(--muted); font-size: 13px; }
.lead-form { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 16px; box-shadow: 0 8px 30px rgba(22,30,38,0.08); }
.lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lead-grid .span2 { grid-column: 1 / -1; }
.lead-form .hero-actions { margin-top: 14px; }
.cta-band { text-align: center; }
.cta-band p { color: #CBD5E1; margin: 0 0 16px; }
.demo-divider { display: flex; align-items: center; gap: 14px; margin: 44px 0 28px; color: var(--faint); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.demo-divider::before, .demo-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
a.role-card { display: flex; }
a.role-card:hover { text-decoration: none; }
.thanks { max-width: 680px; padding: 30px 0; }
.thanks h1 { font-size: 32px; margin: 12px 0 10px; }
.thanks-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
.demo-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 640px) { .lead-grid { grid-template-columns: 1fr; } }

.menu-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); padding: 8px 10px 6px; }
.menu-item strong .pill { font-size: 10px; padding: 1px 7px; margin-left: 4px; vertical-align: middle; }
.menu-item small { line-height: 1.35; }
.menu-foot { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.site-foot { margin-top: 48px; padding: 28px 0 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.foot-brand svg { height: 22px; fill: var(--brand); }
.foot-brand span { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 4px; }
.site-foot p { margin: 0 0 6px; }

.hero-band { background: var(--brand); color: #fff; margin: -24px calc(50% - 50vw) 0; padding: 44px calc(50vw - 50%) 84px; }
.hero-band .hero { padding: 0; }
.hero-band h1 { color: #fff; }
.hero-band .sub { color: rgba(255,255,255,0.88); }
.hero-band .eyebrow { background: rgba(255,255,255,0.18); color: #fff; }
.hero-band .lead-form { color: var(--body); box-shadow: 0 18px 50px rgba(0,40,90,0.28); border: 0; }
.hero-band .lead-form label { color: var(--ink); }
.hero-band .lead-form .help { color: var(--muted); }
.hero-band .spotlight { border: 0; box-shadow: 0 24px 60px rgba(0,40,90,0.35); }
.stats { position: relative; margin: -44px 0 36px; }
.stats div { box-shadow: 0 8px 24px rgba(22,30,38,0.08); }
.stats strong { color: var(--brand); }
.how-num { background: var(--brand); color: #fff; }
.how-step { border-top: 4px solid var(--brand); }
.why-card { position: relative; padding-top: 22px; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.blue { background: var(--brand-soft); fill: var(--brand); }
.icon-tile.green { background: var(--good-soft); fill: var(--good); }
.icon-tile.amber { background: var(--warn-soft); fill: var(--warn); }
.why-card .pill { position: absolute; top: 18px; right: 18px; margin: 0; }
.cta-band { background: linear-gradient(135deg, #1E293B, #0B3D7A); }
@media (max-width: 820px) { .hero-band { padding-top: 28px; padding-bottom: 72px; } }
.listing { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.listing-main > .card { margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: 1fr; border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: var(--card); border: 1px solid var(--line); }
.gallery.with-map { grid-template-columns: 3fr 2fr; }
.photo.wide { width: 100%; height: 340px; }
.gallery .map { height: 340px; }
.listing-head { margin-bottom: 14px; }
.listing-head h1 { font-size: 32px; margin: 8px 0 2px; }
.listing-head .sub { margin: 0; font-size: 16px; }
.pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.facts div, .snapshot div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.facts strong, .snapshot strong { display: block; font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.facts span, .snapshot span { font-size: 12px; color: var(--muted); }
.card-title { margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips .chip { cursor: default; background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.snapshot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.snapshot div { background: var(--subtle); border: 0; }
.snapshot strong { font-size: 20px; }
.snapshot div:nth-child(1) strong { color: var(--brand); }
.snapshot div:nth-child(3) strong { color: var(--good); }
.offer-well { position: sticky; top: 76px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 12px 32px rgba(22,30,38,0.08); }
.due { font-size: 13px; font-weight: 600; color: var(--warn); }
.well-label { margin-top: 14px; font-size: 14px; color: var(--muted); }
.well-price { font-size: 38px; font-weight: 800; color: var(--brand); line-height: 1.1; letter-spacing: -0.03em; }
.well-agent { font-size: 14px; color: var(--body); margin: 6px 0 16px; }
.well-form { display: grid; gap: 12px; }
.well-field label { font-size: 13px; }
.well-field.big label { font-size: 15px; color: var(--ink); }
.well-field.big input { font-size: 20px; font-weight: 600; padding: 12px 14px; }
.well-field.check label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.well-form textarea { min-height: 0; height: 72px; resize: vertical; }
.btn.block { display: block; width: 100%; text-align: center; padding: 12px 16px; font-size: 15px; }
.offer-well .inline { display: block; margin-top: 10px; }
.counter-note { margin: 14px 0 0; display: grid; gap: 8px; }
.well-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .listing { grid-template-columns: 1fr; } .offer-well { position: static; } .gallery.with-map { grid-template-columns: 1fr; } .gallery .map { height: 200px; } .facts, .snapshot { grid-template-columns: repeat(2, 1fr); } }

.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.metrics4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 16px; }
.metrics4 .metric { background: var(--subtle); border-radius: 12px; padding: 14px 12px; text-align: center; border-top: 4px solid var(--line); }
.metrics4 .metric.brand { border-top-color: var(--brand); }
.metrics4 .metric.brand strong { color: var(--brand); }
.metrics4 strong { display: block; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.metrics4 span { font-size: 12px; color: var(--muted); }
.repairs { border-top: 1px solid var(--line); padding-top: 12px; }
.repairs-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; color: var(--ink); }
.repair-line { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 14px; }
.repair-line .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.repair-line .num { font-variant-numeric: tabular-nums; color: var(--ink); }
.repair-line.total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; font-weight: 600; }
.prepared { margin: 12px 0 0; }
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0 0 12px; }
.numbers div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.numbers dt { color: var(--muted); font-size: 14px; }
.numbers dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
table.comps td, table.comps th { padding: 10px 12px; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--subtle); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.doc:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 2px 8px rgba(0,117,235,0.12); }
.doc-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-icon svg { width: 20px; height: 20px; fill: var(--brand); }
.doc-body { flex: 1; min-width: 0; }
.doc-body strong { display: block; font-size: 14px; }
.doc-body small { color: var(--muted); font-size: 12px; }
.doc-open { font-size: 13px; font-weight: 600; color: var(--brand); }
@media (max-width: 640px) { .metrics4, .numbers { grid-template-columns: 1fr 1fr; } }

.lead-who a { color: inherit; text-decoration: none; }
.lead-who a:hover strong { color: var(--brand); }
.lead-who small.lead-national { display: block; color: var(--good-ink, #047857); font-weight: 600; }
.card.national h2 { margin-top: 0; }
.national-floor { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; background: var(--brand-soft); border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; }
.national-floor span { color: var(--muted); font-size: 14px; }
.national-floor strong { color: var(--brand); font-size: 26px; font-weight: 700; }
@media (max-width: 640px) { .lead { flex-wrap: wrap; } .lead-who { flex-basis: calc(100% - 50px); } }
