/* Cedar & Stone Realty — light, editorial, map-first layout */
:root {
  --bg: #f6f4ef;
  --paper: #ffffff;
  --ink: #142019;
  --text: #414c46;
  --muted: #7d8681;
  --line: #e4e0d6;
  --brand: #1f4d3f;
  --brand-dark: #163a2f;
  --brand-soft: #e4eee9;
  --gold: #b7843a;
  --gold-soft: #f6ecdc;
  --red: #b91c1c;
  --green: #15803d;
  --shadow: 0 18px 40px -20px rgba(20, 32, 25, .3);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid rgba(31, 77, 63, .4); outline-offset: 2px; border-radius: 6px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 6px; font-weight: 600; font-size: .94rem; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }
.link { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Header — solid, white, centered nav */
header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Playfair Display", serif; font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.brand i { width: 32px; height: 32px; border: 1.5px solid var(--brand); border-radius: 50%; color: var(--brand); display: grid; place-items: center; }
.nav-links { display: flex; gap: 34px; font-weight: 500; font-size: .93rem; }
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: var(--gold); }
.nav-right { display: flex; justify-content: flex-end; }
.saved-btn { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.saved-btn:hover { background: var(--bg); }
.saved-btn .count { background: var(--gold); color: #fff; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; font-size: .72rem; padding: 0 6px; }
.saved-btn[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand); }

/* Hero — light split */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero p { font-size: 1.1rem; margin-top: 18px; max-width: 480px; color: var(--muted); }
.search { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.search-tabs { display: flex; border-bottom: 1px solid var(--line); }
.search-tabs button { flex: 1; padding: 13px; font-weight: 600; font-size: .9rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.search-tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--brand); }
.search-row { display: grid; grid-template-columns: 1fr 1fr; }
.search-row label { display: grid; gap: 2px; padding: 12px 18px; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
.search-row label:nth-child(odd) { border-right: 1px solid var(--line); }
.search-row select { border: 0; background: transparent; font: inherit; font-size: .98rem; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; padding: 2px 0; cursor: pointer; }
.search-row select:focus { outline: none; }
.search .btn { width: 100%; border-radius: 0; padding: 16px; }
.hero-art { position: relative; }
.feature-card { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 70px -35px rgba(20,32,25,.45); cursor: pointer; display: block; width: 100%; text-align: left; }
.feature-card .art { aspect-ratio: 4 / 3.3; }
.feature-tag { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feature-tag small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.feature-tag b { color: var(--ink); font-size: 1.05rem; }
.feature-tag .price { font-size: 1.2rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.float-chip { position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.float-chip.one { top: 22px; left: -22px; }
.float-chip.two { top: 90px; right: -18px; }
.float-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Browse — list + map */
.browse { border-top: 1px solid var(--line); background: #fff; }
.browse-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid var(--line); }
.browse-head h2 { font-size: 1.6rem; }
.browse-head p { font-size: .9rem; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { padding: 8px 14px; font-weight: 600; font-size: .85rem; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filters select { width: auto; font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.view-toggle { display: none; }
.browse-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; }
.list { padding: 24px 24px 60px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.map-wrap { position: sticky; top: 68px; height: calc(100vh - 68px); border-left: 1px solid var(--line); }
.map { position: relative; width: 100%; height: 100%; overflow: hidden; background: #e9efe8; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%, -100%); background: #fff; color: var(--ink); font-size: .76rem; font-weight: 700; padding: 5px 9px; border-radius: 6px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); white-space: nowrap; transition: transform .15s, background .15s; z-index: 1; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #fff; border-bottom: 0; }
.pin:hover, .pin.hot { background: var(--brand); color: #fff; transform: translate(-50%, -100%) scale(1.12); z-index: 3; }
.pin:hover::after, .pin.hot::after { border-top-color: var(--brand); }
.pin.saved { box-shadow: 0 0 0 2px var(--gold), 0 6px 14px -6px rgba(0,0,0,.4); }
.spin { cursor: pointer; }
.spin rect { fill: #fff; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); transition: fill .15s; }
.spin path { fill: #fff; transition: fill .15s; }
.spin text { fill: var(--ink); font: 700 10px "Inter", sans-serif; }
.spin:hover rect, .spin:hover path, .spin.hot rect, .spin.hot path, .spin:focus-visible rect, .spin:focus-visible path { fill: var(--brand); }
.spin:hover text, .spin.hot text, .spin:focus-visible text { fill: #fff; }
.spin.saved rect { stroke: var(--gold); stroke-width: 1.5; }
.spin:focus { outline: none; }
.map-legend { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); border-radius: 8px; padding: 8px 12px; font-size: .76rem; color: var(--muted); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; transition: box-shadow .2s, border-color .2s; text-align: left; width: 100%; display: block; }
.card:hover, .card.hot { box-shadow: var(--shadow); border-color: #d3cdc0; }
.art { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #dfe7e2; }
.art svg, .art > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card .art > img { transition: transform .5s ease; }
.card:hover .art > img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; left: 10px; font-size: .7rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; background: #fff; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.badge.new { background: var(--brand); color: #fff; }
.badge.drop { background: var(--gold); color: #fff; }
.heart { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--ink); }
.heart[aria-pressed="true"] { color: #e11d48; }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.card-body { padding: 14px 16px 16px; }
.card-price { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.card-price small { font-size: .82rem; font-weight: 500; color: var(--muted); }
.specs { display: flex; gap: 12px; font-size: .85rem; margin: 4px 0 6px; }
.specs b { color: var(--ink); }
.addr { font-size: .86rem; color: var(--muted); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 10px; }
.empty-state p { color: var(--muted); margin: 6px 0 16px; }

/* Sell — editorial split */
.sell { padding: 96px 0; }
.sell-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sell-grid p.lead { color: var(--muted); font-size: 1.05rem; margin: 16px 0 28px; max-width: 460px; }
.sell-steps { list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
.sell-steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sell-steps li::before { content: "0" counter(s); font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.sell-steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sell-steps p { font-size: .93rem; color: var(--muted); }
.about-strip { background: var(--brand); color: #cfe0d8; padding: 72px 0; }
.about-strip h2 { color: #fff; max-width: 560px; }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.about-cols h3 { color: #fff; font-size: 1.05rem; margin: 12px 0 6px; }
.about-cols p { font-size: .93rem; }
.about-cols .ic { color: #e3c08a; }

/* Forms */
.field { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stack { display: grid; gap: 14px; }
input, select, textarea { font: inherit; font-size: .94rem; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
input, .stack select { height: 46px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,77,63,.14); }
input[aria-invalid="true"] { border-color: var(--red); background: #fff5f5; }
.err { color: var(--red); font-size: .78rem; font-weight: 500; }
.err:empty { display: none; }

/* Detail — slide-in panel from the right */
dialog { border: 0; padding: 0; color: var(--text); background: #fff; }
dialog::backdrop { background: rgba(10, 20, 16, .5); }
.panel-dialog { margin: 0 0 0 auto; width: min(680px, 100%); height: 100%; max-height: 100%; max-width: 100%; display: none; flex-direction: column; }
.panel-dialog[open] { display: flex; animation: slideIn .28s ease-out; }
@keyframes slideIn { from { transform: translateX(100%); } }
.panel-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); gap: 10px; }
.panel-top .crumb { font-size: .84rem; color: var(--muted); }
.panel-actions { display: flex; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); font-size: 1.2rem; line-height: 1; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn[aria-pressed="true"] { color: #e11d48; border-color: #fecdd3; }
.icon-btn[aria-pressed="true"] svg { fill: currentColor; }
.panel-scroll { overflow-y: auto; flex: 1; }
.panel-scroll .art { aspect-ratio: 16 / 9; }
.d-sec { padding: 24px 28px; border-bottom: 1px solid var(--line); }
.d-price { font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.d-price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.d-addr { font-family: "Playfair Display", serif; font-size: 1.35rem; color: var(--ink); margin-top: 6px; }
.d-hood { color: var(--muted); font-size: .92rem; }
.facts { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.facts div small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.facts div b { font-size: 1.1rem; color: var(--ink); }
.d-sec h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: .93rem; margin-top: 14px; }
.feature-list li { display: flex; gap: 8px; }
.feature-list li::before { content: "—"; color: var(--gold); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.calc label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.calc label span { color: var(--muted); font-weight: 500; }
input[type="range"] { height: auto; padding: 0; accent-color: var(--brand); border: 0; }
.calc-out { margin-top: 18px; background: var(--brand-soft); border-radius: 10px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-out b { font-size: 1.6rem; color: var(--brand); }
.calc-out small { display: block; font-size: .78rem; color: var(--muted); }
.note { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.blabel { font-size: .8rem; font-weight: 700; color: var(--ink); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: .06em; }
.blabel:first-child { margin-top: 0; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.date-chip { padding: 9px 2px; border-radius: 6px; border: 1px solid var(--line); background: #fff; text-align: center; }
.date-chip small { display: block; font-size: .64rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.date-chip b { display: block; font-size: 1.05rem; color: var(--ink); }
.date-chip:hover:not(:disabled) { border-color: var(--brand); }
.date-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.date-chip[aria-pressed="true"] small, .date-chip[aria-pressed="true"] b { color: #fff; }
.date-chip:disabled { opacity: .35; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.chip { padding: 9px 4px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .85rem; }
.chip:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip:disabled { text-decoration: line-through; color: #c6c1b6; background: #faf8f4; cursor: not-allowed; }
.tour-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tour-type button { padding: 12px; border: 1px solid var(--line); border-radius: 8px; text-align: left; font-size: .86rem; }
.tour-type button b { display: block; color: var(--ink); font-size: .92rem; }
.tour-type button span { color: var(--muted); }
.tour-type button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: .9rem; margin-bottom: 14px; }
.summary b { color: var(--ink); }
.summary button { color: var(--brand); text-decoration: underline; font-weight: 600; font-size: .84rem; }
.done { text-align: center; padding: 8px 0; }
.done .check { width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: var(--green); display: grid; place-items: center; font-size: 26px; margin: 0 auto 12px; }
.done h3 { font-size: 1.15rem; margin-bottom: 4px; }
.done p { font-size: .92rem; color: var(--muted); }
.ref { display: inline-block; margin-top: 12px; background: var(--gold-soft); color: #8a5d1f; font-weight: 700; padding: 6px 14px; border-radius: 6px; letter-spacing: .04em; }

/* Valuation dialog — centered sheet */
.sheet { width: min(620px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; border-radius: 14px; }
.sheet[open] { animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; padding: 24px 26px 0; }
.sheet-head h2 { font-size: 1.6rem; }
.sheet-head p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.sheet-body { padding: 20px 26px 26px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 6px; font-size: .9rem; font-weight: 500; opacity: 0; pointer-events: none; transition: all .25s; z-index: 90; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Footer — light and simple */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 26px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-top .brand { font-size: 1.6rem; }
.foot-top p { color: var(--muted); font-size: .93rem; margin-top: 10px; max-width: 340px; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-links h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.foot-links ul { list-style: none; display: grid; gap: 8px; font-size: .93rem; color: var(--ink); }
.foot-links a:hover, .foot-links button:hover { color: var(--brand); text-decoration: underline; }
.foot-links button { font-size: .93rem; color: var(--ink); text-align: left; }
.legal { font-size: .76rem; color: var(--muted); margin-top: 20px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: .84rem; color: var(--muted); }
.foot-bottom a { color: var(--brand); font-weight: 600; }

/* Agent area — kanban */
#dashboard { display: none; padding: 36px 0 80px; min-height: 80vh; }
body.admin #site { display: none !important; }
body.admin #dashboard { display: block; }
.login { max-width: 380px; margin: 60px auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px; text-align: center; }
.login h2 { font-size: 1.8rem; margin-bottom: 6px; }
.login p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.login input { text-align: center; letter-spacing: .5em; font-size: 1.2rem; font-weight: 700; }
.login .btn { margin-top: 12px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 26px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.dash-stats div small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.dash-stats div b { font-size: 1.5rem; color: var(--ink); }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.col { background: #ece9e1; border-radius: 12px; padding: 12px; min-height: 200px; }
.col-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; font-weight: 700; color: var(--ink); font-size: .9rem; }
.col-head span { background: #fff; border-radius: 10px; padding: 1px 9px; font-size: .78rem; color: var(--muted); }
.lead-card { background: #fff; border-radius: 8px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.06); font-size: .88rem; }
.lead-card .type { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 2px 7px; border-radius: 4px; }
.type.view { background: var(--brand-soft); color: var(--brand); }
.type.val { background: var(--gold-soft); color: #8a5d1f; }
.lead-card b { display: block; color: var(--ink); margin: 8px 0 2px; font-size: .95rem; }
.lead-card p { color: var(--muted); font-size: .84rem; }
.lead-card .move { margin-top: 10px; display: flex; gap: 6px; }
.lead-card .move button { font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: #fff; }
.lead-card .move button.back { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.col-empty { text-align: center; color: var(--muted); font-size: .84rem; padding: 24px 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-grid, .sell-grid { grid-template-columns: 1fr; gap: 40px; }
  .float-chip.one { left: 12px; } .float-chip.two { right: 12px; }
  .browse-body { grid-template-columns: 1fr; }
  .list { padding: 20px 0 60px; grid-template-columns: 1fr 1fr; }
  .map-wrap { display: none; position: relative; top: 0; height: auto; aspect-ratio: 400 / 520; max-height: 80vh; border-left: 0; margin: 16px 0 40px; border-radius: 10px; overflow: hidden; }
  .browse.show-map .map-wrap { display: block; }
  .browse.show-map .list { display: none; }
  .view-toggle { display: inline-flex; }
  .about-cols, .kanban { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .list { grid-template-columns: 1fr; }
  .grid-2, .calc, .feature-list { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .sell { padding: 64px 0; }
  .d-sec { padding: 20px 18px; }
  .sheet { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .sheet-head { padding: 20px 18px 0; } .sheet-body { padding: 18px 18px 28px; }
  .saved-btn .label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
