/* ── Funguo ─────────────────────────────────────────────
   Palette borrowed from a Nairobi street in October:
   jacaranda purple, bougainvillea pink, hedge green.
   The arch is the recurring shape: the doorway the keys open.
   ──────────────────────────────────────────────────────*/

:root{
  /* One scale for the brand, one for the surfaces it sits on. Everything
     below is expressed in these; the older names are kept as aliases so no
     rule has to be rewritten to use them. */
  --brand-950:#171033;
  --brand-900:#241A4D;
  --brand-700:#6247BE;
  --brand-500:#8B74E8;
  --brand-100:#EDE9FA;
  --surface:#FFFFFF;
  /* The ground is warm. The photography this page is built on is warm, and a
     lilac-white behind a sand-coloured photograph made both look dirty; the
     home stylesheet had already patched its own body to a cream, which left
     two grounds disagreeing depending on which sheet loaded. One decision,
     here, so every surface below inherits it. */
  --page-bg:#F6F2EA;
  --sand-100:#F0EBE1;
  --sand-200:#E3DCCF;
  --text-primary:#1B1633;
  --text-secondary:#6A6389;
  --border:#E7E1D9;
  --border-strong:#D8D0C4;
  --success:#2C6B4F;
  --warning:#C9860E;
  --accent:#D22C6E;
  --ring:0 0 0 3px rgba(98,71,190,.32);
  --t:170ms cubic-bezier(.2,.6,.3,1);

  /* Text links get their own colour, one step deeper and less electric than
     the brand. #6247BE is right on a button, where it is a filled shape with
     white on it; set as 13px underlined text on a warm cream ground it
     vibrates against the background instead of sitting on it. */
  --link:#4C3A93;
  --jac:var(--brand-700);
  --jac-deep:var(--brand-900);
  --jac-soft:var(--brand-100);
  --bougain:var(--accent);
  --leaf:var(--success);
  --sun:var(--warning);
  --ink:var(--text-primary);
  --ink-2:#463F6B;
  --muted:var(--text-secondary);
  --paper:var(--page-bg);
  --card:var(--surface);
  --line:var(--border);
  --line-2:var(--border-strong);
  --shadow:0 1px 2px rgba(36,26,77,.05), 0 8px 20px -14px rgba(36,26,77,.28);
  --shadow-lift:0 2px 4px rgba(36,26,77,.06), 0 18px 32px -18px rgba(36,26,77,.4);
  --shadow-deep:0 2px 3px rgba(15,10,35,.35), 0 18px 40px -16px rgba(15,10,35,.55);
  --r:12px;
  --arch:52px 52px 10px 10px;
  --serif:Georgia,"Iowan Old Style","Times New Roman",serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --pad:24px;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --deep-grad:linear-gradient(160deg,#2c2159 0%,var(--jac-deep) 48%,#180f38 100%);
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body.tray-on{padding-bottom:78px}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font:16px/1.55 var(--sans);
  padding-bottom:env(safe-area-inset-bottom);
  position:relative;
}
body::before{
  content:"";position:fixed;inset:0;z-index:1;pointer-events:none;
  background-image:var(--grain);opacity:.035;mix-blend-mode:multiply;
}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
button,.chip,.tab,.card,.heart,.lay,.seg-b,.bn,select,input,textarea,.cmp-btn,.own-actions button,.thumb-bar button,a{
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s cubic-bezier(.2,.8,.3,1),box-shadow .2s ease,opacity .16s ease;
}
h1,h2,h3{margin:0;font-family:var(--serif);font-weight:400;letter-spacing:-.01em;line-height:1.18}
p{margin:0}
.wrap{max-width:1280px;margin:0 auto;padding:0 var(--pad);position:relative;z-index:2}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;z-index:99;background:var(--card);padding:10px 16px;border-radius:8px}
.skip:focus{left:8px}
:focus-visible{outline:2.5px solid var(--bougain);outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){body::before{display:none}}

/* ── Top bar ───────────────────────────────────────── */
.topbar{background:var(--brand-950);color:#fff;position:sticky;top:0;z-index:40;
  border-bottom:1px solid rgba(255,255,255,.09)}
.topbar-in{display:flex;align-items:center;gap:32px;min-height:58px}
.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;flex-shrink:0}
/* The logo is one file with its own aspect ratio: give it a width and let the
   height follow, so it can never stretch and never grows the 58px bar. At 150
   it stands 35 tall, at 118 it stands 28. */
.brand-logo{display:block;width:150px;height:auto}
.brand-note{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#BBAEE6;
  align-self:center;padding-left:2px}
/* The stacked lockup, where there is room to introduce the brand properly. */
.gate-logo{display:block;width:172px;height:auto;margin:0 auto 22px}
.foot-logo{width:196px;height:auto;margin-bottom:16px}
.topnav{display:flex;gap:4px;margin-left:auto}
.topnav{gap:2px}
.tab{background:none;border:0;color:#BDB2E4;padding:8px 13px;border-radius:9px;font-size:14px;
  transition:background var(--t),color var(--t)}
.tab:hover{color:#fff;background:rgba(255,255,255,.08)}
.tab:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}
/* Understated active state: a soft surface, not a white slab. */
.tab.is-on{color:#fff;background:rgba(255,255,255,.13)}
a.tab{text-decoration:none;display:inline-block;font:inherit;font-size:14px;line-height:1.55}
/* Listing a place is the one thing the header is selling. */
.tab-cta{border:1px solid rgba(255,255,255,.28);color:#fff;margin-left:6px}
.tab-cta:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.45)}
.pill{display:inline-block;min-width:16px;padding:0 4px;border-radius:999px;background:rgba(255,255,255,.18);
  color:#fff;font-size:10.5px;line-height:16px;text-align:center;margin-left:5px;font-weight:600}
.tab.is-on .pill{background:var(--brand-700)}
.net{margin-left:12px;background:var(--sun);color:#2B1D00;border:0;border-radius:999px;padding:6px 12px;font-size:12.5px}
.acct-btn{margin-left:12px;background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:6px 14px;font-size:12.5px}
.acct-btn:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.4)}

/* ── Hero ──────────────────────────────────────────── */
/* Short enough that listings are on screen without scrolling, dark enough
   to still be the brand. One faint radial keeps the fill from reading flat;
   the old arcade of semicircles between hero and results is gone. */
.hero{background:var(--brand-900);color:#fff;padding:36px 0 30px;position:relative;overflow:hidden}
.hero::before{
  content:"";position:absolute;top:-220px;right:-140px;width:620px;height:620px;border-radius:50%;
  background:radial-gradient(circle,rgba(139,116,232,.22) 0%,rgba(139,116,232,0) 68%);
  pointer-events:none;
}
.hero-in{position:relative;z-index:1;max-width:880px}
.hero h1{font-size:clamp(30px,4.1vw,48px);max-width:640px;line-height:1.08;letter-spacing:-.015em}
.hero-sub{color:#CFC5EC;margin-top:12px;max-width:56ch;font-size:16px;line-height:1.6}
/* Rent/buy, the query and the button read as one control on a light
   surface, rather than three things floating on the purple. */
.searchband{display:flex;gap:6px;margin-top:22px;align-items:center;background:var(--surface);
  border-radius:14px;padding:6px;box-shadow:0 10px 30px -18px rgba(0,0,0,.7);max-width:760px}
.search-field{position:relative;flex:1 1 260px;min-width:0;display:flex;align-items:center}
.search-field svg{position:absolute;left:13px;width:17px;height:17px;fill:none;
  stroke:var(--text-secondary);stroke-width:2;pointer-events:none}
.searchband input[type=search]{
  width:100%;padding:13px 14px 13px 38px;border-radius:10px;border:1px solid transparent;
  background:transparent;color:var(--ink);font-size:15.5px;
}
.searchband input[type=search]:focus{border-color:var(--brand-500);box-shadow:var(--ring);outline:none}
.searchband .btn{border-radius:10px;padding:13px 22px}
.seg{display:inline-flex;background:var(--page-bg);border-radius:10px;padding:3px;border:1px solid var(--border)}
.seg.wide{margin:20px 0 22px;background:var(--jac-soft);box-shadow:inset 0 1px 2px rgba(36,26,77,.08)}
.seg-b{background:none;border:0;color:var(--text-secondary);padding:11px 17px;border-radius:8px;
  font-size:14.5px;transition:background var(--t),color var(--t)}
.seg.wide .seg-b{color:var(--ink-2)}
.seg-b.is-on{background:var(--brand-700);color:#fff;font-weight:600}
.seg-b:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}

/* A quiet status row, not four headlines. */
.hero-stats{display:flex;gap:30px;margin-top:18px;flex-wrap:wrap;color:#B7ABDF;font-size:12.5px}
.hero-stats div{display:flex;align-items:baseline;gap:7px}
.hero-stats b{font-family:var(--sans);font-size:17px;color:#fff;font-weight:700;letter-spacing:-.01em}

/* ── Buttons ───────────────────────────────────────── */
.btn{border:0;border-radius:9px;padding:12px 18px;font-size:15px;font-weight:600;white-space:nowrap}
.btn-jac{background:linear-gradient(180deg,#6E5AC9,var(--jac) 60%,#54409E);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 1px 2px rgba(36,26,77,.15),0 6px 14px -6px rgba(98,71,190,.65)}
.btn-jac:hover{background:linear-gradient(180deg,#7A66D6,#6b53c9 60%,#5A459E);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 2px 4px rgba(36,26,77,.18),0 10px 20px -8px rgba(98,71,190,.7);transform:translateY(-1px)}
.btn-jac:active{transform:translateY(0);box-shadow:inset 0 1px 3px rgba(15,10,35,.35)}
.btn-ghost{background:var(--card);color:var(--ink-2);border:1px solid var(--line-2);box-shadow:0 1px 2px rgba(36,26,77,.04)}
.btn-ghost:hover{border-color:var(--jac);color:var(--jac);transform:translateY(-1px);box-shadow:0 4px 10px -4px rgba(98,71,190,.35)}
.btn-ghost:active{transform:translateY(0)}
.btn-ghost.danger:hover{border-color:var(--bougain);color:var(--bougain);box-shadow:0 4px 10px -4px rgba(210,44,110,.35)}
.btn-sm{padding:8px 13px;font-size:13.5px}
.lnk{background:none;border:0;color:var(--link);font-size:13.5px;padding:0;
  text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:color-mix(in srgb,var(--link) 38%,transparent);
  text-decoration-thickness:1px}
.lnk:hover,.lnk:focus-visible{text-decoration-color:currentColor}
.lnk:hover{color:var(--bougain)}

/* ── Layout ────────────────────────────────────────── */
.layout{display:grid;grid-template-columns:268px minmax(0,1fr);gap:44px;padding-top:38px;padding-bottom:76px;align-items:start}

/* ── Filters ───────────────────────────────────────── */
.filters{position:sticky;top:74px;background:var(--surface);border:1px solid var(--border);
  border-radius:14px;padding:4px 18px 20px;box-shadow:0 1px 2px rgba(36,26,77,.04)}
.filters-head{display:flex;align-items:baseline;gap:10px;padding:16px 0 10px}
.filters-head h2{font-size:16px;font-family:var(--sans);font-weight:700;margin-right:auto;letter-spacing:-.01em}
.filters-head .lnk{font-size:12.5px;text-decoration:none;color:var(--text-secondary)}
.filters-head .lnk:hover{color:var(--brand-700);text-decoration:underline}
.sheet-close{display:none}
.fset{border:0;padding:0 0 4px;margin:0}
.fset legend{width:100%;padding:22px 0 0;border-top:1px solid var(--border);font-size:11px;font-weight:700;
  color:var(--text-secondary);letter-spacing:.08em;text-transform:uppercase}
.fset:first-of-type legend,.fset.flat legend{border-top:0;padding-top:0}
.unit{font-weight:400;color:var(--muted)}
select,input:not([type]),input[type=number],input[type=text],input[type=tel],input[type=date],input[type=search],input[type=password],input[type=email],textarea{
  width:100%;padding:10px 11px;border:1px solid var(--line-2);border-radius:8px;background:#fff;font-size:14.5px;
}
select:focus,input:focus,textarea:focus{border-color:var(--jac);box-shadow:0 0 0 3px rgba(98,71,190,.14)}
textarea{font-family:inherit;resize:vertical}
.fset select{margin-top:9px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.chips.tight{gap:5px;margin-top:7px}
.chips.stack{flex-direction:column;align-items:stretch}
.chip{background:var(--page-bg);border:1px solid transparent;color:var(--ink-2);border-radius:9px;
  padding:7px 12px;font-size:13px;text-align:left;transition:background var(--t),color var(--t),border-color var(--t)}
.chip:hover{background:var(--brand-100);color:var(--brand-700)}
.chip:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}
/* Selected state carries a tick as well as the fill, so colour is not the
   only thing saying "on". */
.chip.is-on{background:var(--brand-700);border-color:var(--brand-700);color:#fff;font-weight:600}
.chip.is-on::before{content:"✓ ";font-size:11px}
.chip.wide{border-radius:9px}
.commute-box{margin-top:12px;padding:12px;background:var(--jac-soft);border-radius:9px}
.commute-box label{display:block;font-size:13px;color:var(--ink-2);margin-bottom:5px;font-weight:600}
.commute-box select{background:#fff}
.commute-box input[type=range]{margin-top:2px}
input[type=range]{width:100%;accent-color:var(--jac)}
output{color:var(--jac);font-weight:700}

/* ── Results ───────────────────────────────────────── */
.results-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.count{font-size:14.5px;color:var(--muted)}
.count b{color:var(--ink);font-weight:700;font-size:16px}
.results-tools{display:flex;gap:8px;align-items:center;margin-left:auto}
.results-tools select{width:auto;padding:0 30px 0 12px;height:38px;font-size:13.5px;border-color:var(--border)}
.layout-toggle{display:inline-flex;border:1px solid var(--border);border-radius:9px;overflow:hidden;
  background:var(--surface);height:38px}
.lay{background:none;border:0;padding:0 11px;line-height:0;display:grid;place-items:center;transition:background var(--t)}
.lay:hover{background:var(--brand-100)}
.lay:focus-visible{outline:2px solid var(--brand-500);outline-offset:-2px}
.lay svg{width:16px;height:16px;fill:var(--text-secondary)}
.lay.is-on{background:var(--brand-700)}
.lay.is-on svg{fill:#fff}
/* Saving a search sits with the count, not in a row of its own. */
.search-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}
.search-tools .btn-sm{height:38px;padding:0 14px;display:inline-flex;align-items:center}
.only-narrow{display:none}

/* Three across on a wide screen, two on a tablet, one on a phone. */
.cards.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(278px,1fr));gap:22px}
.cards.list{display:flex;flex-direction:column;gap:16px}

.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;
  box-shadow:0 1px 2px rgba(36,26,77,.04);display:flex;flex-direction:column;position:relative;
  transition:transform var(--t),box-shadow var(--t),border-color var(--t)}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--border-strong)}
.card:focus-within{border-color:var(--brand-500)}
.card-shot{position:relative;background:var(--brand-100);line-height:0}
.card-shot img{width:100%;aspect-ratio:16/11;object-fit:cover;display:block}

/* Compact, quiet badges — at most two, and only one of them coloured. */
.badges{position:absolute;left:12px;top:12px;display:flex;column-gap:6px;row-gap:6px;
  align-items:flex-start;flex-wrap:wrap;max-width:calc(100% - 62px)}
.badge{font-size:11px;font-weight:600;padding:4px 9px;border-radius:7px;background:rgba(255,255,255,.94);
  color:var(--brand-900);backdrop-filter:saturate(140%)}
.badge.new{background:var(--success);color:#fff}
.badge.view{background:rgba(255,255,255,.94);color:var(--brand-900)}
.badge.own{background:var(--accent);color:#fff}
.badge.featured{background:var(--warning);color:#2B1D00}
.agent-tag{color:var(--brand-700);font-weight:700}
.heart{position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:50%;border:0;
  background:rgba(255,255,255,.94);display:grid;place-items:center;box-shadow:0 1px 4px rgba(36,26,77,.18);
  transition:transform var(--t),background var(--t)}
.heart:hover{transform:scale(1.08);background:#fff}
.heart:active{transform:scale(.92)}
.heart:focus-visible{outline:2px solid var(--brand-700);outline-offset:2px}
.heart svg{width:18px;height:18px;fill:none;stroke:var(--ink-2);stroke-width:2}
.heart.is-on svg{fill:var(--accent);stroke:var(--accent)}

.card-body{padding:15px 16px 14px;display:flex;flex-direction:column;flex:1}
.price{font-family:var(--serif);font-size:22px;line-height:1.15;letter-spacing:-.01em;color:var(--ink)}
.price span{font-family:var(--sans);font-size:12.5px;color:var(--muted);font-weight:500}
.card h3{font-size:15.5px;font-family:var(--sans);font-weight:650;margin:6px 0 4px;line-height:1.35;
  color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.where{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:5px}
.where svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.facts{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px;font-size:13px;color:var(--ink-2)}
.facts span{display:inline-flex;align-items:center;gap:4px}
.facts span + span::before{content:"·";margin-right:7px;color:var(--border-strong)}
.ptype{font-size:11.5px;color:var(--muted);background:var(--page-bg);border-radius:6px;padding:3px 8px;margin-top:11px;align-self:flex-start}
.excerpt{display:none}
.list .excerpt{display:block;margin-top:10px;font-size:13.5px;color:var(--muted);max-width:72ch}
.why{margin-top:10px;font-size:12.5px;color:var(--leaf);background:#EAF4EF;padding:6px 9px;border-radius:7px}
.card-foot{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:12px;
  border-top:1px solid var(--border)}
.owner-line{font-size:12.5px;color:var(--muted);margin-right:auto;display:flex;align-items:center;gap:6px;
  min-width:0;flex-wrap:wrap}
.verified{color:var(--success);font-weight:600;font-size:11.5px;display:inline-flex;align-items:center;gap:3px}
/* Comparing is a secondary action: text and an icon, not a boxed button. */
.cmp-btn{background:none;border:0;border-radius:7px;padding:5px 7px;font-size:12.5px;color:var(--text-secondary);
  display:inline-flex;align-items:center;gap:5px;transition:background var(--t),color var(--t)}
.cmp-btn:hover{background:var(--brand-100);color:var(--brand-700)}
.cmp-btn:focus-visible{outline:2px solid var(--brand-500);outline-offset:1px}
.cmp-btn.is-on{background:var(--brand-100);color:var(--brand-700);font-weight:600}
.note-flag{font-size:12px;color:var(--sun);font-weight:600}

.list .card{flex-direction:row;align-items:stretch}
.list .card-shot{flex:0 0 268px}
.list .card-shot img{height:100%;aspect-ratio:auto}
.list .card-body{padding:18px 20px}
.list .heart{right:auto;left:222px}

.empty{background:var(--card);border:1px dashed var(--line-2);border-radius:var(--r);padding:48px 26px;text-align:center}
.empty h3{font-size:21px;margin-bottom:8px}
.empty p{color:var(--muted);max-width:44ch;margin:0 auto 18px}

/* ── Pages ─────────────────────────────────────────── */
/* padding-block, not a shorthand: .wrap supplies the side gutter and a
   shorthand here silently sets it to zero, which is how every page on
   the site came to run from one edge of the window to the other. */
.page{padding-block:34px 80px;max-width:960px}
.page-h{font-size:clamp(26px,4vw,38px)}
.page-sub{color:var(--muted);margin-top:10px;max-width:62ch}
/* A row of buttons is a row until it cannot be one: unwrapped, these ran
   past the right edge on the narrowest phones. */
.saved-tools{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 18px}

/* ── Compare table ─────────────────────────────────── */
.cmp-scroll{overflow-x:auto;margin-top:24px;border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
.cmp{border-collapse:collapse;width:100%;min-width:640px}
.cmp th,.cmp td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}
.cmp tr:last-child td,.cmp tr:last-child th{border-bottom:0}
.cmp th[scope=row]{width:170px;color:var(--muted);font-weight:600;background:#FAF9FD}
.cmp thead th{background:var(--jac-soft);vertical-align:bottom}
.cmp .cmp-shot{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:30px 30px 8px 8px;margin-bottom:9px}
.cmp .best{color:var(--leaf);font-weight:700}
.cmp .drop{display:block;background:none;border:0;color:var(--bougain);font-size:12.5px;text-decoration:underline;padding:0;margin-top:6px}
.cmp .cmp-note{white-space:pre-wrap;color:var(--ink-2)}

/* ── Calculator ────────────────────────────────────── */
.calc{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.calc-in,.calc-out{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--shadow)}
.calc-in label{display:block;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:15px}
.calc-in input:not([type=checkbox]){margin-top:6px;display:block}
.calc-in label.check{display:flex;gap:9px;align-items:flex-start;font-weight:400;color:var(--muted);line-height:1.4}
.calc-in input[type=checkbox]{width:auto;margin-top:2px;accent-color:var(--jac)}
.big{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:16px}
.big-label{font-size:13px;color:var(--muted)}
.big strong{display:block;font-family:var(--serif);font-size:clamp(30px,5vw,42px);font-weight:400;color:var(--jac-deep);line-height:1.1;margin-top:2px}
.big-note{font-size:13px;color:var(--muted)}
.bars{display:flex;height:11px;border-radius:999px;overflow:hidden;margin-bottom:12px;background:var(--jac-soft)}
.bars i{display:block;height:100%}
.figs{margin:0;font-size:14px}
.figs div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dotted var(--line-2)}
.figs div:last-child{border-bottom:0}
.figs dt{color:var(--muted);display:flex;align-items:center;gap:7px}
.figs dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.key{width:9px;height:9px;border-radius:2px;flex:0 0 auto}
.note{margin-top:14px;font-size:13.5px;background:var(--jac-soft);padding:11px 13px;border-radius:8px;color:var(--ink-2)}
.fineprint{margin-top:22px;font-size:12.5px;color:var(--muted);max-width:70ch}

/* ── Owner ─────────────────────────────────────────── */
.owner-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:26px;margin-top:26px;align-items:start}
.ownform{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:22px;box-shadow:var(--shadow)}
.ownform label{display:block;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:14px}
.ownform label input,.ownform label select,.ownform label textarea{margin-top:6px;display:block}
.ownform .two,.ownform .three{margin-bottom:0}
.photo-zone{border:1px dashed var(--line-2);border-radius:10px;padding:16px;margin:6px 0 18px;background:#FBFAFE}
.photo-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:11px}
.photo-head h3{font-size:16px;font-family:var(--sans);font-weight:700}
.hint{font-size:12.5px;color:var(--muted)}
.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;margin-top:13px}
.thumb{position:relative;border-radius:9px;overflow:hidden;border:1px solid var(--line)}
.thumb img{aspect-ratio:1;object-fit:cover;width:100%}
.thumb-bar{display:flex;gap:1px;background:var(--line)}
.thumb-bar button{flex:1;background:#fff;border:0;padding:6px 2px;font-size:11px;color:var(--ink-2)}
.thumb-bar button:hover{background:var(--jac-soft);color:var(--jac)}
.cover-tag{position:absolute;left:6px;top:6px;background:var(--jac);color:#fff;font-size:10.5px;font-weight:700;padding:3px 7px;border-radius:999px}
.formrow{display:flex;gap:10px;flex-wrap:wrap}
.own-side{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--shadow)}
.own-side h3{font-size:17px;margin-bottom:12px}
.own-list{display:flex;flex-direction:column;gap:10px}
.own-item{border:1px solid var(--line);border-radius:9px;padding:11px 12px}
.own-item:hover{border-color:var(--line-2);box-shadow:0 4px 10px -6px rgba(36,26,77,.25)}
.own-item h4{margin:0 0 2px;font-size:14.5px;font-weight:600}
.own-item p{font-size:12.5px;color:var(--muted)}
.own-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.own-actions button{background:none;border:1px solid var(--line-2);border-radius:6px;padding:5px 9px;font-size:12px;color:var(--ink-2)}
.own-actions button:hover{border-color:var(--jac);color:var(--jac)}
.storage{margin-top:18px;font-size:12.5px;color:var(--muted)}
.storage-bar{height:6px;background:var(--jac-soft);border-radius:999px;overflow:hidden;margin-bottom:6px}
.storage-bar span{display:block;height:100%;background:var(--jac);width:0}

/* ── Site sign-in gate ─────────────────────────────── */
body.gate-on{overflow:hidden}
.gate-bg{position:fixed;inset:0;z-index:80;backdrop-filter:blur(4px);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(98,71,190,.16), transparent 62%),
    rgba(11,7,24,.86)}
/* Scrolls rather than clips on a short screen; the card is not centred when
   it cannot fit, because a clipped sign-in button is worse than a scroll. */
.gate{position:fixed;inset:0;z-index:81;display:flex;align-items:center;justify-content:center;
  overflow-y:auto;
  padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right))
          max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
@media (max-height:640px){.gate{align-items:flex-start}}
.gate-card{max-width:420px;width:100%;margin:auto;box-shadow:var(--shadow-deep)}
/* The sign-in card brings its own, tuned for a dark surface. Both .gate-card
   and .auth-gate carry a max-width, so the modal states its own rather than
   letting source order decide which of the two wins. */
.gate-card.auth-gate{max-width:420px;
  box-shadow:0 1px 2px rgba(8,5,18,.5),0 24px 60px -24px rgba(8,5,18,.75)}

/* ── Detail sheet ──────────────────────────────────── */
.sheet-bg{position:fixed;inset:0;background:rgba(27,22,51,.55);z-index:60;backdrop-filter:blur(2px)}
/* ── Property detail ───────────────────────────────────────────────────
   A panel, not a page: full-bleed photographs at the top, then one column
   of sections separated by hairlines, and the owner's number pinned where
   the eye lands after the price. */
.detail{position:fixed;z-index:61;background:var(--surface);overflow-y:auto;
  right:0;top:0;bottom:0;width:min(620px,100%);box-shadow:-16px 0 48px -24px rgba(27,22,51,.55)}
/* Sticky rather than fixed: it stays reachable the whole way down without
   floating over the text at the right margin, and it never lands on top of
   the compare button. */
.detail-x{position:sticky;float:right;margin:14px 16px 0 0;top:14px;z-index:3;width:36px;height:36px;border-radius:50%;border:0;
  background:rgba(255,255,255,.94);font-size:21px;line-height:1;color:var(--ink-2);
  box-shadow:0 2px 8px rgba(36,26,77,.22);transition:transform var(--t),background var(--t)}
.detail-x:hover{transform:scale(1.08);background:#fff}
.detail-x:focus-visible{outline:2px solid var(--brand-700);outline-offset:2px}
.detail-in{padding-bottom:44px}

.d-gallery{display:flex;gap:2px;overflow-x:auto;scroll-snap-type:x mandatory;background:var(--brand-100);
  scrollbar-width:none}
.d-gallery::-webkit-scrollbar{display:none}
.d-gallery img{flex:0 0 100%;scroll-snap-align:center;aspect-ratio:16/11;object-fit:cover;display:block}
.d-shots{position:relative;clear:both}
.d-count{position:absolute;right:16px;bottom:14px;z-index:2;background:rgba(23,16,51,.72);
  color:#fff;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px}

.d-body{padding:22px 24px}
.d-head{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}
.d-price{font-family:var(--serif);font-size:31px;line-height:1.1;letter-spacing:-.015em;color:var(--ink)}
.d-price span{font-family:var(--sans);font-size:13.5px;color:var(--muted);font-weight:500}
.d-body h2{font-size:19px;font-family:var(--sans);font-weight:650;margin:9px 0 6px;line-height:1.35}
.d-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13.5px;color:var(--muted)}
.d-meta svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.d-since{background:var(--page-bg);border-radius:6px;padding:3px 9px;font-size:12px}

/* Specs read as a row of facts, not a bordered table. */
/* Three across, two rows — an auto-fit track left a ragged empty cell and
   split "Maisonette" across two lines. */
.d-spec{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--border);
  border:1px solid var(--border);border-radius:12px;overflow:hidden;margin:20px 0 0}
.d-spec div{background:var(--surface);padding:12px 13px}
.d-spec dt{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.d-spec dd{margin:4px 0 0;font-weight:650;font-size:15px;overflow-wrap:break-word;hyphens:none}

.d-sec{margin-top:26px;padding-top:26px;border-top:1px solid var(--border)}
.d-sec h3{font-size:13px;font-family:var(--sans);font-weight:700;margin-bottom:12px;
  text-transform:uppercase;letter-spacing:.07em;color:var(--text-secondary)}
.d-sec p{color:var(--ink-2);font-size:15px;line-height:1.65}
.tagrow{display:flex;flex-wrap:wrap;gap:7px}
.tag{background:var(--page-bg);border:0;border-radius:8px;padding:6px 11px;font-size:12.5px;color:var(--ink-2)}

.owner-card{background:var(--page-bg);border:1px solid var(--border);border-radius:14px;padding:18px;
  display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.avatar{width:46px;height:46px;border-radius:50%;background:var(--brand-700);color:#fff;display:grid;
  place-items:center;font-family:var(--serif);font-size:20px;flex:none}
.owner-meta{margin-right:auto;min-width:0}
.owner-meta strong{display:block;font-size:15.5px;font-weight:650}
.owner-meta small{color:var(--muted);font-size:12.5px;display:flex;align-items:center;gap:5px;margin-top:2px}
.owner-meta .verified{font-size:12px}
.contact-row{display:flex;gap:9px;margin-top:14px;width:100%;flex-wrap:wrap}
.contact-row .btn{flex:1 1 100%}
.contact-row a{flex:1 1 140px;text-align:center;text-decoration:none;border-radius:10px;padding:12px;
  font-size:14.5px;font-weight:600;transition:filter var(--t),transform var(--t)}
.contact-row a:hover{filter:brightness(1.06);transform:translateY(-1px)}
.a-call{background:var(--brand-700);color:#fff}
.a-wa{background:var(--success);color:#fff}

.d-note textarea{min-height:100px;background:var(--surface);border-color:var(--border)}
.note-status{font-size:12.5px;color:var(--muted);margin-top:6px;min-height:17px}
.d-actions{display:flex;gap:9px;margin-top:18px;flex-wrap:wrap}
.d-actions .btn{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.d-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}
.d-actions .btn-ghost.is-on svg{fill:var(--accent);stroke:var(--accent)}
.mini-calc{background:var(--page-bg);border:1px solid var(--border);border-radius:12px;padding:16px}
.mini-calc .figs{font-size:14px}

/* ── Compare tray ──────────────────────────────────── */
.tray{position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--deep-grad);color:#fff;padding:10px 0;box-shadow:0 -6px 22px rgba(27,22,51,.25),inset 0 1px 0 rgba(255,255,255,.08)}
.tray-in{max-width:1220px;margin:0 auto;padding:0 var(--pad);display:flex;align-items:center;gap:12px}
.tray-slots{display:flex;gap:8px;flex:1;overflow-x:auto}
.tray-slot{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.11);border-radius:8px;padding:6px 9px 6px 6px;font-size:12.5px;white-space:nowrap;box-shadow:inset 0 1px 1px rgba(0,0,0,.15)}
.tray-slot img{width:38px;height:32px;object-fit:cover;border-radius:12px 12px 3px 3px}
.tray-slot button{background:none;border:0;color:#C4B8EA;font-size:17px;line-height:1;padding:0 2px}
.tray-empty{border:1px dashed rgba(255,255,255,.3);border-radius:8px;padding:12px 14px;font-size:12.5px;color:#A99BD8}

/* ── Bottom nav ────────────────────────────────────── */
.botnav{display:none;position:fixed;left:0;right:0;bottom:0;z-index:55;background:var(--card);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
.bn{flex:1;background:none;border:0;padding:8px 2px 7px;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--muted);font-size:11px;position:relative}
.bn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bn.is-on{color:var(--jac)}
.bn.is-on svg{transform:translateY(-1px)}
.bn:active{transform:scale(.94)}
.bn .dot{position:absolute;top:6px;right:calc(50% - 16px);width:7px;height:7px;border-radius:50%;background:var(--bougain);box-shadow:0 0 0 2px var(--card)}

/* ── Footer / toast ────────────────────────────────── */
.foot{background:var(--deep-grad);color:#A99BD8;padding:30px 0 40px;font-size:13px}
.foot p{max-width:76ch;margin-bottom:7px}
.foot strong{color:#fff}
/* Without these the three footer links fell back to the browser's own blue on
   a near-black purple, which is both off-brand and barely readable. */
.foot a{color:#E7E1F7;text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:rgba(231,225,247,.45)}
.foot a:hover,.foot a:focus-visible{color:#fff;text-decoration-color:#fff}
/* Off the map, but still on the page: Mapbox's terms and OpenStreetMap's
   ODbL both require the credit to be shown, and once in the footer beats
   a box in the corner of every map on the site. */
.foot-credit{margin-top:10px;font-size:11.5px;opacity:.62;line-height:1.6}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:96px;z-index:90;background:var(--ink);color:#fff;padding:11px 18px;border-radius:999px;font-size:14px;box-shadow:0 6px 24px rgba(27,22,51,.35)}

/* ── Responsive ────────────────────────────────────── */
@media (max-width:1000px){
  .layout{grid-template-columns:minmax(0,1fr)}
  .filters{position:fixed;inset:auto 0 0 0;top:58px;z-index:70;border-radius:0;overflow-y:auto;padding:6px 20px 90px;transform:translateY(100%);transition:transform .22s ease;box-shadow:none}
  .filters.is-open{transform:none}
  @media (prefers-reduced-motion:reduce){.filters{transition:none}}
  .filters-head{position:sticky;top:0;background:var(--card);padding-top:16px;z-index:1}
  .sheet-close{display:inline-block;background:var(--jac);color:#fff;border:0;border-radius:8px;padding:8px 15px;font-size:14px;font-weight:600}
  .only-narrow{display:inline-flex;align-items:center}
  .calc{grid-template-columns:1fr}
  .owner-grid{grid-template-columns:1fr}
}
@media (max-width:820px){
  :root{--pad:16px}
  .brand-logo{width:118px}
  .gate-logo{width:158px}
  /* The purpose tabs are the only control for which marketplace you are in,
     and hiding them left a phone with no way to get from Rent to Buy at all
     -- the in-hero segmented control that used to cover for this was removed
     as a duplicate of a navigation that a phone never sees. They move to
     their own line instead of disappearing: still one control over one piece
     of state, still the same buttons, scrolled sideways where four of them
     will not fit across a narrow screen. */
  .topbar-in{flex-wrap:wrap;gap:10px;padding-bottom:8px}
  .topnav{order:3;flex:1 0 100%;margin-left:0;gap:4px;overflow-x:auto;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
    /* The gutter is on .wrap, so the strip is bled back out to the screen
       edge and re-padded: a row that scrolls should look like it runs off
       the side, not stop short of it. */
    margin-inline:calc(var(--pad) * -1);padding-inline:var(--pad);
    scroll-padding-inline:var(--pad)}
  .topnav::-webkit-scrollbar{display:none}
  .topnav .tab{flex:0 0 auto;padding:7px 12px;font-size:13.5px}
  .botnav{display:flex}
  body{padding-bottom:64px}
  body.tray-on{padding-bottom:136px}
  .tray{bottom:60px}
  .hero{padding:26px 0 66px}
  .foot{padding-bottom:80px}
  .detail{top:auto;height:92vh;width:100%;border-radius:18px 18px 0 0}
  .d-spec{grid-template-columns:repeat(2,minmax(0,1fr))}
  .d-body{padding:20px 18px}
  .list .card{flex-direction:column}
  .list .card-shot{flex:auto;padding:8px 8px 0}
  .list .card-shot img{height:auto}
  .list .heart{left:auto;right:16px;top:16px}
  .cmp th[scope=row]{width:120px}
}
@media (max-width:700px){
  .searchband{flex-wrap:wrap;padding:8px;gap:8px;max-width:none}
  .searchband .seg{width:100%}
  .seg-b{flex:1;text-align:center;padding:11px 10px;white-space:nowrap}
  .search-field{flex:1 1 100%}
  .searchband .btn{width:100%}
  .results-head{gap:10px}
  .count{flex:1 1 100%}
  .search-tools{order:3;flex:1 1 100%}
  .search-tools .btn-sm{flex:1}
  /* min-width:0 as well as the basis — a flex item defaults to min-width
     auto, so without it the row refuses to shrink below its contents and
     drags the page sideways. */
  .results-tools{margin-left:0;flex:1 1 100%;min-width:0;flex-wrap:wrap;justify-content:space-between}
  .results-tools select{flex:1 1 120px;min-width:0}
  .layout-toggle{flex:none}
  .hero-stats{gap:18px 22px}
}
@media (max-width:560px){
  #doSearch{display:none}          /* results filter as you type */
  .hero{padding:22px 0 46px}
  .hero h1{font-size:26px;max-width:none}
  .hero-sub{font-size:15px;margin-top:11px}
  .hero-stats{gap:14px 22px;margin-top:18px;font-size:12.5px}
  .hero-stats b{font-size:20px}
  .searchband{margin-top:18px;gap:10px}
  .d-spec{grid-template-columns:repeat(3,1fr)}
  .d-spec dd{font-size:13.5px}
}
@media (max-width:430px){
  .cards.grid{grid-template-columns:1fr}
  .three{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}


/* ── Owner sign-in and listing status ──────────────────────────────── */
.ownform-col{min-width:0}
/* Signing in is the one dark surface in a light product. That is deliberate:
   it separates the moment you hand over a credential from the browsing either
   side of it. The scale below is derived from the brand ramp -- --brand-950 is
   #171033 -- rather than invented, and it is scoped to this card so nothing
   else in the app has to know about it. */
.auth-gate{
  --g-surface:#1B1430;
  --g-field:#231A3D;
  --g-field-on:#2A1F49;
  --g-line:#332A52;
  --g-line-lift:#453A6B;
  --g-text:#F0EDF8;
  --g-dim:#A79FC0;
  --g-brand:#7458E0;
  --g-brand-lift:#8168EA;
  --g-danger:#FF9AA6;
  background:var(--g-surface);border:1px solid var(--g-line);border-radius:16px;
  padding:30px 28px 26px;max-width:440px;color:var(--g-text);
  box-shadow:0 1px 2px rgba(8,5,18,.5),0 24px 60px -24px rgba(8,5,18,.75)}
.auth-gate h2{font-size:21px;margin-bottom:8px;color:var(--g-text);letter-spacing:-.01em}
.auth-gate p{color:var(--g-dim);font-size:14.5px;margin-bottom:18px}
.auth-gate .hint{color:var(--g-dim)}
.auth-gate label{display:block;font-size:12.5px;font-weight:600;color:var(--g-dim);
  margin-bottom:7px;letter-spacing:.02em}
.auth-gate input{margin-bottom:16px;font-size:16px;letter-spacing:.02em;min-height:50px;
  background:var(--g-field);border:1px solid var(--g-line);color:var(--g-text);
  border-radius:10px;padding:12px 14px;transition:border-color var(--t),background var(--t)}
.auth-gate input::placeholder{color:#7A7295}
.auth-gate input:hover{border-color:var(--g-line-lift)}
.auth-gate input:focus{background:var(--g-field-on);border-color:var(--g-brand);
  box-shadow:0 0 0 3px rgba(116,88,224,.3);outline:none}
/* Chrome paints its own autofill background; the inset shadow is the only way
   to keep a filled field dark, and -webkit-text-fill-color the only way to
   keep the text legible on it. */
.auth-gate input:-webkit-autofill,
.auth-gate input:-webkit-autofill:hover,
.auth-gate input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--g-text);
  -webkit-box-shadow:0 0 0 60px var(--g-field-on) inset;
  caret-color:var(--g-text)}
#authCode{letter-spacing:.35em;text-align:center;font-size:22px}
.auth-gate .lnk{display:block;margin-top:12px}
.auth-msg{margin-top:14px;font-size:13.5px;color:var(--g-dim,var(--jac));min-height:19px;text-align:center}
.auth-msg.is-busy{color:var(--g-dim)}
/* A refusal has to read as one. Contrast checked against #1B1430. */
.auth-msg.is-error{color:var(--g-danger);font-weight:500}
.auth-gate .lnk,.auth-gate .btn-jac{margin-top:0}
.auth-gate .lnk{display:inline-block}
.signed-in{display:flex;gap:10px;align-items:baseline;font-size:13.5px;color:var(--muted);margin-bottom:14px}

.verify-box{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:18px 20px;
  box-shadow:0 1px 2px rgba(36,26,77,.04);max-width:440px;margin-bottom:18px}
.verify-box h3{font-size:15px;font-family:var(--sans);font-weight:700;margin-bottom:6px}
.verify-box .hint{display:block;margin-bottom:11px}
#planBox{max-width:none}
.plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:12px}
.plan-card{border:1px solid var(--line);border-radius:10px;padding:14px;text-align:center}
.plan-card.is-on{border-color:var(--jac);background:var(--jac-soft)}
.plan-card h4{font-size:14.5px;font-family:var(--sans);font-weight:700;margin-bottom:6px}
.plan-price{font-family:var(--serif);font-size:20px;margin-bottom:6px}
.plan-price span{font-family:var(--sans);font-size:12px;color:var(--muted)}
.plan-card p{color:var(--muted);font-size:12.5px;margin-bottom:10px}

.badge.wait{background:var(--sun);color:#2B1D00}
.badge.bad{background:#8C2036;color:#fff}
.st{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;margin-right:6px;vertical-align:1px;box-shadow:inset 0 1px 1px rgba(0,0,0,.06)}
.st-pending{background:#FBF2DF;color:#7A5406}
.st-approved{background:#E9F4EE;color:var(--success)}
.st-rejected{background:#FBE7EE;color:var(--accent)}
.st-taken,.st-archived{background:var(--brand-100);color:var(--brand-700)}
.reject{font-size:13px;color:var(--accent);background:#FBE7EE;padding:9px 12px;border-radius:8px;
  margin-top:9px;border-left:3px solid var(--accent);max-width:64ch}

/* ── Moderation screen ───────────────────────────────────────────────
   A queue is read down the left edge, fast, so the item is quiet and the
   only loud things are the state stripe and the two decisions. */
.mod-item{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:20px 22px;
  margin-bottom:16px;box-shadow:0 1px 2px rgba(36,26,77,.04);position:relative;overflow:hidden;
  transition:box-shadow var(--t),border-color var(--t)}
.mod-item::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--warning)}
.mod-item:hover{box-shadow:var(--shadow);border-color:var(--border-strong)}
.mod-head{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin-bottom:6px}
.mod-head h3{font-size:17px;font-family:var(--sans);font-weight:650;margin-right:auto;letter-spacing:-.01em}
.mod-shots{display:flex;gap:8px;overflow-x:auto;margin:14px 0;scrollbar-width:thin}
.mod-shots img{height:132px;aspect-ratio:16/11;object-fit:cover;border-radius:10px;flex:0 0 auto;
  background:var(--brand-100)}
.mod-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px 20px;
  font-size:14px;margin:14px 0}
.mod-grid b{display:block;color:var(--text-secondary);font-weight:700;font-size:11px;
  letter-spacing:.07em;text-transform:uppercase;margin-bottom:3px}
.mod-actions{display:flex;gap:9px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--border)}
.mod-flag{background:#FBE7EE;color:var(--accent);font-size:11px;font-weight:700;padding:4px 9px;
  border-radius:7px;letter-spacing:.04em;text-transform:uppercase}

/* ── Map view, saved searches, contact safety note ──────────────────────
   Added with the map layout: a diagram drawn from the listings themselves,
   so there are no third-party tiles and nothing to load. */
:root{ --map-bg:#EFECF8; --map-ring:#CFC7E4; }
.cards.map{display:block;background:none;padding:0}
.map-wrap{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--shadow);padding:14px 16px 8px;overflow:hidden}
.map-svg{display:block;width:100%;height:auto;border-radius:10px;cursor:crosshair;touch-action:manipulation}
.map-svg .pin{cursor:pointer}
.map-svg .pin:hover rect{filter:brightness(1.15)}
.map-note{font-size:13.5px;color:var(--ink-2);margin:12px 2px 6px}
.map-note.quiet{color:var(--muted);font-size:12.5px}

.search-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.search-tools .hint{font-size:13px;color:var(--muted)}
.search-tools .fresh{color:var(--bougain);cursor:pointer}
.page-h2{font-family:var(--serif);font-size:22px;margin:34px 0 4px}
.srch{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;margin-bottom:10px}
.srch.has-new{border-color:var(--bougain)}
.srch h3{font-size:15px;margin:0 0 3px;font-weight:650}
.srch-meta{font-size:13px;color:var(--muted);margin:0}
.srch-meta b{color:var(--bougain)}
.srch-acts{display:flex;gap:12px;align-items:center}

.scam-note{grid-column:1/-1;font-size:13px;line-height:1.55;color:var(--ink-2);margin:12px 0 0;
  background:#FBF0DC;border-left:3px solid var(--sun);border-radius:0 8px 8px 0;padding:12px 14px}
.scam-note b{color:var(--ink)}

/* Demonstration photography: a real picture of somebody else's home, which
   is exactly what this app tells seekers to be wary of — so it says so on
   its face, on the card and again in the detail panel with the credit the
   licence requires. */
.demo-tag{position:absolute;left:12px;bottom:12px;background:rgba(23,16,51,.78);color:#fff;
  font-size:10.5px;font-weight:600;letter-spacing:.02em;padding:3px 8px;border-radius:6px}
.list .demo-tag{left:12px;bottom:12px}
.demo-credit{font-size:12.5px;color:var(--text-secondary);background:var(--page-bg);
  padding:10px 24px;margin:0;line-height:1.5}
.demo-credit b{color:var(--ink)}
.demo-credit code{font-size:11.5px}

.more-row{grid-column:1/-1;display:flex;justify-content:center;padding:12px 0 4px}
.more-row .btn{min-width:240px}

/* ── An empty marketplace ───────────────────────────────────────────────
   The state Funguo launches in, and the one worth designing rather than
   apologising for. It says what is true, then gives somewhere to go. */
.hero-trust{margin-top:16px;color:#B7ABDF;font-size:13px;letter-spacing:.02em}
.mkt-empty{max-width:56ch}
.mkt-empty-q{font-family:var(--serif);font-size:26px;color:var(--ink);margin-bottom:6px;
  letter-spacing:-.01em}
.mkt-empty h3{font-size:23px;margin-bottom:10px;text-wrap:balance}
.mkt-empty p{color:var(--ink-2);font-size:15px;line-height:1.65;margin-bottom:10px}
.mkt-empty-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;justify-content:center}
.mkt-own{margin-top:22px;padding-top:18px;border-top:1px solid var(--border);
  display:flex;gap:10px;align-items:baseline;justify-content:center;flex-wrap:wrap;font-size:14.5px}
.mkt-own strong{font-weight:650}

/* ── Area discovery ─────────────────────────────────────────────────────
   Photo-forward, and deliberately carrying no price, no address and no
   availability: a card is an invitation to look at an area, not a claim
   about anything inside it. */
.discover{margin-top:44px;padding-top:38px;border-top:1px solid var(--border)}
.discover h2{font-size:clamp(23px,3vw,30px);letter-spacing:-.015em}
.discover-sub{color:var(--muted);font-size:15px;margin:8px 0 24px;max-width:60ch}
/* site.html puts a bare <p> here rather than .discover-sub, and it ran the
   full 1036px of the column -- about 130 characters a line, which is
   roughly twice the width an eye finds its way back across. */
.discover > p{max-width:60ch}
.discover-note{margin-top:18px;font-size:12.5px;color:var(--muted);max-width:70ch;line-height:1.6}

/* Three across on a desktop, two on a tablet, one on a phone. The results
   column is about 918px once the filter rail is out, so with a 22px gap the
   widest minimum that still fits three is (918-44)/3 -- 288 clears it, 300
   did not and quietly dropped the row to two. */
.area-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(288px,1fr));gap:22px}
.area-card{position:relative;display:block;padding:0;border:0;border-radius:16px;overflow:hidden;
  background:var(--brand-100);text-align:left;cursor:pointer;
  transition:transform var(--t),box-shadow var(--t)}
.area-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift)}
.area-card:focus-visible{outline:2.5px solid var(--bougain);outline-offset:3px}
.area-shot{display:block;line-height:0}
.area-shot img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;
  transition:transform 400ms cubic-bezier(.2,.6,.3,1)}
.area-card:hover .area-shot img{transform:scale(1.04)}
/* The wash exists to make the text readable and for no other reason, so it
   covers only the band the text sits in. */
.area-body{position:absolute;left:0;right:0;bottom:0;padding:52px 16px 15px;color:#fff;
  background:linear-gradient(to top,rgba(15,10,35,.82) 0%,rgba(15,10,35,.55) 42%,rgba(15,10,35,0) 100%)}
.area-name{display:block;font-family:var(--serif);font-size:22px;line-height:1.15;letter-spacing:-.01em}
.area-city{display:block;font-size:12.5px;color:#D6CEEE;margin-top:2px}
.area-note{display:block;font-size:12.5px;color:#BDB2E4;margin-top:9px}
.area-note.has{color:#fff;font-weight:600}

/* ── Owner acquisition and demand capture ───────────────────────────────*/
.own-cta,.demand-cta{margin-top:26px;background:var(--surface);border:1px solid var(--border);
  border-radius:16px;padding:24px;box-shadow:0 1px 2px rgba(36,26,77,.04)}
.own-cta h3,.demand-cta h3{font-size:20px;margin-bottom:7px}
.own-cta p,.demand-cta p{color:var(--ink-2);font-size:14.5px;line-height:1.6;max-width:58ch}
.own-benefits{list-style:none;padding:0;margin:16px 0 20px;display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px 20px;font-size:14px;color:var(--ink-2)}
.own-benefits li{display:flex;align-items:baseline;gap:8px}
.own-benefits li::before{content:"✓";color:var(--success);font-weight:700;flex:none}
.demand-cta .btn{margin-top:16px}

/* ── The demand sheet ───────────────────────────────────────────────────*/
.demand-sheet .gate-card{max-width:480px;max-height:88vh;overflow-y:auto;position:relative}
.demand-sheet h2{font-size:22px;margin-bottom:6px}
.demand-sheet .hint{color:var(--muted);font-size:13px;line-height:1.55;margin-bottom:18px}
.demand-sheet label{display:block;font-size:13px;font-weight:600;color:var(--ink-2);
  margin:14px 0 6px}
.demand-sheet .unit{font-weight:400;color:var(--muted)}
.demand-sheet .btn{margin-top:20px;width:100%}
.sheet-x{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:50%;
  background:var(--page-bg);font-size:21px;line-height:1;color:var(--ink-2);
  transition:background var(--t),transform var(--t)}
.sheet-x:hover{background:var(--brand-100);transform:scale(1.06)}

@media (max-width:560px){
  .area-grid{grid-template-columns:1fr}
  .mkt-empty-acts .btn{flex:1 1 100%}
}

/* ── Admin: platform totals and the demand board ────────────────────────*/
.plat-stats{display:flex;gap:14px;flex-wrap:wrap;margin:4px 0 22px}
.plat-stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;
  padding:14px 18px;min-width:132px}
.plat-stat b{display:block;font-family:var(--serif);font-size:28px;line-height:1.1;color:var(--ink)}
.plat-stat span{display:block;font-size:12px;color:var(--muted);margin-top:3px;
  letter-spacing:.05em;text-transform:uppercase}
.plat-note{flex:1 1 100%;font-size:13px;color:var(--ink-2);line-height:1.6;margin-top:4px;max-width:70ch}

.demand-table{border-collapse:collapse;width:100%;background:var(--surface);
  border:1px solid var(--border);border-radius:12px;overflow:hidden}
.demand-table th,.demand-table td{padding:11px 14px;text-align:left;font-size:14px;
  border-bottom:1px solid var(--border)}
.demand-table th{font-size:11px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--text-secondary);font-weight:700;background:var(--page-bg)}
.demand-table tbody tr:last-child td{border-bottom:0}
.demand-table td:nth-child(2),.demand-table td:nth-child(3),.demand-table td:nth-child(4){width:96px}
.demand-bar{width:34%}
.demand-bar i{display:block;height:7px;border-radius:4px;background:var(--brand-700);min-width:3px}
.own-welcome{text-align:left;border-style:solid;background:var(--surface)}
.own-welcome h3{margin-bottom:8px}
.own-welcome p{margin:0 0 18px;max-width:52ch}

/* ── Management portal ──────────────────────────────────────────────────
   A sidebar and a working column. The sidebar is the whole information
   architecture, always visible, so the shape of the job is legible even on
   the days when most of it reads zero. */
.portal-page{padding:26px 0 80px;max-width:none}
.portal{display:grid;grid-template-columns:236px minmax(0,1fr);gap:34px;align-items:start}
.portal-head{margin-bottom:20px}
.portal-main{min-width:0}
/* The top bar is sticky, so a heading scrolled to sits under it without this. */
#portalView{scroll-margin-top:76px}

.portal-nav{position:sticky;top:74px;background:var(--surface);border:1px solid var(--border);
  border-radius:14px;padding:12px 10px;box-shadow:0 1px 2px rgba(36,26,77,.04)}
.pn-group{font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--text-secondary);padding:14px 10px 6px;margin:0}
.pn-group:first-child{padding-top:4px}
.pn-item{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;
  border-radius:9px;padding:8px 10px;font-size:13.5px;color:var(--ink-2);text-align:left;
  transition:background var(--t),color var(--t)}
.pn-item:hover{background:var(--brand-100);color:var(--brand-700)}
.pn-item:focus-visible{outline:2px solid var(--brand-500);outline-offset:-2px}
.pn-item.is-on{background:var(--brand-700);color:#fff;font-weight:600}
.pn-ico{width:16px;text-align:center;flex:none;opacity:.75;font-size:12px}
.pn-item.is-on .pn-ico{opacity:1}
.pn-n{margin-left:auto;font-size:11px;font-weight:700;background:var(--page-bg);color:var(--ink-2);
  border-radius:999px;padding:1px 7px;min-width:20px;text-align:center}
.pn-item.is-on .pn-n{background:rgba(255,255,255,.22);color:#fff}

.portal-role{margin-left:12px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;
  color:#BBAEE6;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:3px 10px}
.portal-main .page-h{font-size:clamp(22px,3vw,30px)}
.portal-main .page-sub{margin-bottom:22px}
.portal-main .page-h2{margin-top:30px}
.portal-main .empty{text-align:left;max-width:none}
.portal-main .empty p{margin:0;max-width:72ch}
.portal-main .plat-stats{margin-bottom:24px}
.demand-bar{display:block;width:100%;min-width:70px}

@media (max-width:1000px){
  .portal{grid-template-columns:1fr;gap:20px}
  .portal-nav{position:static;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:2px 8px}
  .pn-group{grid-column:1/-1;padding-top:10px}
}
.row-acts{display:inline-flex;gap:12px;white-space:nowrap}
.row-acts .lnk{font-size:13px}
/* Owner-direct discovery: shared tokens and existing components. */
.wrap{max-width:1280px}
.hero{padding:40px 0 28px}
.hero::before{display:none}
.hero-in{max-width:1280px}
.hero h1{max-width:760px;font-size:clamp(34px,4.2vw,56px);font-weight:400;line-height:1.08}
.hero-sub{font-size:18px;color:#e5dcf7}
.searchband{display:grid;grid-template-columns:minmax(0,1fr) auto;max-width:920px;background:none;box-shadow:none;padding:0;gap:12px}
.searchband .seg{grid-column:1/-1;justify-self:start;background:transparent;border:0;padding:0;border-radius:0;gap:8px}
.searchband .seg-b{border-radius:6px;color:#dfd4f4;padding:11px 24px;min-height:44px;letter-spacing:.06em;font-weight:650}
.searchband .seg-b.is-on{background:white;color:var(--brand-900)}
.search-field{background:white;border-radius:8px}
.searchband .btn{border-radius:8px;min-height:48px}
.search-explainer{max-width:850px;color:#d0c3e5;font-size:13px;margin:12px 0 0}
.hero-stats{margin-top:12px;font-size:13px;color:#d0c3e5}
.hero-stats p{margin:0}.hero-stats b{font-size:13px;margin-right:8px}
.layout{gap:24px;padding-top:28px}
.cards.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.card{border-radius:16px;min-width:0}.card:hover{transform:translateY(-2px)}
.card .excerpt{display:none}.card .price{font-size:22px}.card h3{font-size:17px}
.card-shot{overflow:hidden}.card-shot img{height:auto;aspect-ratio:16/11}
.card-gallery{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:5px;background:rgba(25,15,40,.82);border-radius:6px;color:white;line-height:1.4;font-size:12px}
.card-gallery button{width:36px;height:36px;background:none;color:white;border:0;font-size:25px}
.demo-tag{max-width:60%;font-size:10px;bottom:14px}
.availability{font-size:13px;color:var(--text-secondary);margin:12px 0}
.owner-line{flex-wrap:wrap}.owner-line small{display:block;flex-basis:100%;font-size:12px;color:var(--text-secondary)}
.viewing-btn{width:100%;margin-top:14px;min-height:44px}
#commercialFilters label{display:block;font-size:13px;margin:10px 0 5px}
#commercialFilters input,#commercialFilters select{width:100%}
.trust-section{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:28px;padding-top:28px;padding-bottom:44px;border-top:1px solid var(--border)}
.trust-section h2{font-family:var(--serif);font-size:28px;font-weight:400}.trust-section h3{font-size:15px}.trust-section p{font-size:14px;color:var(--text-secondary)}
@media(min-width:1380px){.cards.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.filters:not(.is-open){visibility:hidden}.filters.is-open{visibility:visible}.trust-section{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.hero{padding:26px 0}.hero h1{font-size:38px}.searchband{grid-template-columns:1fr}.searchband .seg{width:100%;gap:4px}.searchband .seg-b{padding:10px 12px;font-size:13px}.searchband .btn{width:100%}#doSearch{display:block}.hero-sub{font-size:16px}.cards.grid{grid-template-columns:1fr}.trust-section{grid-template-columns:1fr}.card-shot img{aspect-ratio:16/11}.list .card-shot{padding:0}.list .card-shot img{height:auto;aspect-ratio:16/11}.d-spec{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ── Signing in ─────────────────────────────────────────────────────────
   Google first, an emailed code underneath. Both hidden until the button is
   actually mounted, so a site with no client ID configured shows the code as
   the only route rather than a divider with nothing above it. */
.signin-google{display:flex;justify-content:center;margin-bottom:4px;min-height:44px}
.signin-or{display:flex;align-items:center;gap:12px;margin:14px 0 4px;
  font-size:12px;color:var(--g-dim,var(--muted));text-transform:uppercase;letter-spacing:.08em}
.signin-or::before,.signin-or::after{content:"";flex:1;height:1px;background:var(--g-line,var(--border))}

/* ── Sign in or create an account ───────────────────────────────────────*/
.auth-tabs{display:flex;gap:4px;background:var(--g-field);border:1px solid var(--g-line);
  border-radius:11px;padding:4px;margin-bottom:20px}
.auth-tab{flex:1;background:none;border:0;border-radius:8px;padding:9px 12px;font:inherit;
  font-size:14px;font-weight:600;color:var(--g-dim);cursor:pointer;
  transition:background var(--t),color var(--t)}
.auth-tab:hover{color:var(--g-text)}
.auth-tab.is-on{background:var(--g-field-on);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.auth-tab:focus-visible{outline:2px solid var(--g-brand-lift);outline-offset:1px}

/* ── The gate's own controls ────────────────────────────────────────────
   The button keeps its id and its textContent -- setMode still writes
   "Sign in" or "Create account" into it -- so the arrow is drawn by CSS
   rather than baked into the string the script owns. */
.auth-gate .btn-jac{display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:50px;border-radius:10px;font-size:15.5px;
  background:linear-gradient(180deg,var(--g-brand-lift),var(--g-brand) 62%,#5B44BE);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 1px 2px rgba(8,5,18,.4)}
.auth-gate .btn-jac::after{content:"\2192";font-size:17px;line-height:1;transition:transform var(--t)}
.auth-gate .btn-jac:hover{background:linear-gradient(180deg,#8E76F0,#7B60E4 62%,#6449C8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(8,5,18,.45);transform:none}
.auth-gate .btn-jac:hover::after{transform:translateX(2px)}
.auth-gate .btn-jac:active{background:linear-gradient(180deg,#6E52D8,#6247BE 62%,#54409E);
  box-shadow:inset 0 1px 3px rgba(8,5,18,.45)}
.auth-gate .btn-jac:focus-visible{outline:2px solid var(--g-brand-lift);outline-offset:2px}
/* Submitting: the button is already disabled by the script, so the busy state
   costs no extra wiring. The arrow becomes the spinner. */
.auth-gate .btn-jac:disabled{opacity:.72;cursor:default;transform:none}
.auth-gate .btn-jac:disabled::after{content:"";width:15px;height:15px;border-radius:50%;
  border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:gate-spin .7s linear infinite}
@keyframes gate-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
  .auth-gate .btn-jac:disabled::after{animation-duration:2.4s}
  .auth-gate .btn-jac:hover::after{transform:none}
}

/* Password field and its reveal, sharing one box so the toggle sits inside. */
.pw-wrap{position:relative;display:block}
.pw-wrap input{width:100%;padding-right:74px}
.pw-toggle{position:absolute;top:25px;right:8px;transform:translateY(-50%);
  background:none;border:0;border-radius:7px;padding:6px 9px;cursor:pointer;
  font:inherit;font-size:11.5px;font-weight:700;letter-spacing:.07em;
  color:var(--g-dim);text-transform:uppercase;transition:color var(--t),background var(--t)}
.pw-toggle:hover{color:var(--g-text);background:rgba(255,255,255,.06)}
.pw-toggle:focus-visible{outline:2px solid var(--g-brand-lift);outline-offset:1px;color:var(--g-text)}

/* The secondary route out, centred and quiet. */
.auth-gate .lnk{color:var(--g-dim);text-decoration:none;border-bottom:1px solid transparent;
  font-size:13px;padding-bottom:1px}
.auth-gate .lnk:hover{color:var(--g-text);border-bottom-color:var(--g-line-lift)}
.auth-gate .lnk:focus-visible{outline:2px solid var(--g-brand-lift);outline-offset:3px;border-radius:3px}
.gate-actions{display:flex;justify-content:center;margin-top:16px}
/* Creating an account hides the code route, and an empty row should not go on
   reserving the space its margin claimed. */
.gate-actions:has(> .lnk[hidden]){display:none}

/* Neighbourhood media stays separate from property listing photography. */
.area-tile{min-width:0}
.area-card{text-decoration:none;min-height:220px;height:100%}
.area-tile .area-card{height:auto}
.area-shot img{height:auto}
.area-card .area-shot img{aspect-ratio:4/3}
.area-credit{display:block;font-size:11px;line-height:1.5;color:var(--muted);padding:6px 2px}
.area-credit a{color:inherit;text-decoration:underline}
.area-text .area-body{position:relative;background:none;color:var(--brand-950)}
/* Two lines of saturated violet on a warm ground vibrated against it. The
   waiting-for-a-photograph line is an aside and reads as one; only the
   count and its link stay in the brand colour, one step deeper. */
.area-text .area-city{color:var(--text-secondary)}
.area-text .area-note{color:#4E3E8C}
.area-landing{position:relative;border-radius:16px;overflow:hidden;margin-top:16px}
.area-landing .area-shot img{aspect-ratio:3/1;max-height:300px}
#areaLanding{margin-bottom:22px}
.saved-area{width:150px;flex-shrink:0}
.saved-area img{border-radius:8px;aspect-ratio:3/2}
.area-shot[hidden]{display:none}
@media(max-width:600px){.area-landing .area-shot img{aspect-ratio:2/1}.saved-area{width:100px}}
@media(prefers-reduced-motion:reduce){.area-card,.area-shot img{transition:none}.area-card:hover,.area-card:hover .area-shot img{transform:none}}

/* ── Enquiry, under a revealed number ─────────────────────────────────
   Calling is still the point; this is for the owner who does not answer. */
.enq{flex:1 1 100%;display:grid;gap:8px;margin-top:2px}
.enq textarea{width:100%;padding:10px 11px;border:1px solid var(--line-2);border-radius:10px;
  font:inherit;font-size:14px;line-height:1.55;resize:vertical;min-height:62px;background:#fff}
.enq textarea:focus{outline:none;border-color:var(--jac);box-shadow:var(--ring)}
.enq .btn{width:100%}
.enq-msg{margin:0;font-size:13px;color:var(--muted);min-height:18px}
.enq-msg.is-bad{color:var(--bougain)}
.enq-msg.is-ok{color:var(--leaf);font-weight:600}

/* ── Pricing guidance, and the outcome it comes from ──────────────────*/
.guide{margin:-4px 0 14px;padding:10px 12px;border-radius:10px;background:var(--brand-100);
  color:var(--ink-2);font-size:13px;line-height:1.6}
.guide.is-thin{background:var(--paper);color:var(--muted)}
.taken-card{max-width:440px;text-align:left}
.taken-card h2{font-size:21px;margin-bottom:8px}
.taken-card > p{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:18px}
.taken-card label{display:block;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:7px}
.taken-in{display:flex;align-items:center;gap:0;border:1px solid var(--line-2);border-radius:10px;
  overflow:hidden;background:#fff}
.taken-in span{padding:0 12px;font-size:13px;font-weight:600;color:var(--muted);
  background:var(--paper);align-self:stretch;display:flex;align-items:center}
.taken-in input{border:0;border-radius:0;flex:1;min-height:48px;font-size:17px}
.taken-in input:focus{outline:none;box-shadow:none}
.taken-in:focus-within{border-color:var(--jac);box-shadow:var(--ring)}
.taken-promise{margin:12px 0 0;font-size:12.5px;line-height:1.6;color:var(--muted)}
.taken-acts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}
.taken-acts .btn{width:100%}
/* "Rather not say" is a button, the same size as the other one, because an
   owner declining should not have to hunt for the way to do it. */
.btn-ghost{background:var(--paper);color:var(--ink-2);border:1px solid var(--line-2)}
.btn-ghost:hover{background:#fff;border-color:var(--brand-500);color:var(--ink)}
@media(max-width:460px){.taken-acts{grid-template-columns:1fr}}

/* ── Photographs, full screen ─────────────────────────────────────────
   The picture, the arrows, the count. Nothing else competes with it. */
.light{position:fixed;inset:0;z-index:120;display:grid;place-items:center;
  background:rgba(9,6,20,.96);padding:56px 16px;animation:light-in 160ms ease}
.light-fig{margin:0;max-width:min(1400px,100%);max-height:100%;display:grid;
  grid-template-rows:1fr auto;gap:12px;justify-items:center}
.light-fig img{max-width:100%;max-height:calc(100vh - 150px);width:auto;height:auto;
  object-fit:contain;border-radius:8px;background:#150F29}
.light-fig figcaption{color:rgba(255,255,255,.72);font-size:13.5px;text-align:center;
  max-width:60ch;line-height:1.5}
.light-x{position:absolute;top:14px;right:16px;width:42px;height:42px;border:0;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.light-x:hover{background:rgba(255,255,255,.22)}
.light-nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border:0;
  border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:34px;line-height:1;
  cursor:pointer;transition:background 160ms ease}
.light-nav:hover{background:rgba(255,255,255,.24)}
.light-nav.prev{left:14px}
.light-nav.next{right:14px}
.light-x:focus-visible,.light-nav:focus-visible{outline:2px solid #fff;outline-offset:2px}
.light-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);
  color:rgba(255,255,255,.8);font-size:12.5px;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.d-all{position:absolute;right:12px;bottom:12px;background:rgba(25,15,40,.86);color:#fff;border:0;
  border-radius:8px;padding:8px 13px;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.d-all:hover{background:rgba(25,15,40,.96)}
@keyframes light-in{from{opacity:0}}
@media(max-width:600px){
  .light{padding:52px 8px}
  .light-nav{width:44px;height:44px;font-size:28px}
  .light-nav.prev{left:6px}.light-nav.next{right:6px}
}
@media(prefers-reduced-motion:reduce){.light{animation:none}.light-nav{transition:none}}

/* Interior-led discovery and property editorial. */
.area-card,.card{border-radius:16px;overflow:hidden}
.inside-placeholder{display:block;padding:38px 24px;color:#807583;font-size:11px;letter-spacing:2px}
.inside-price{display:block;margin-top:10px;font-size:16px}

/* An area with no photograph yet should not be shaped like a photograph. It
   was holding 220px of empty lavender under a watermark, eleven times over,
   which on a phone put more than two thousand pixels of nothing between the
   map and the rest of the page. Photo cards below are untouched; this is only
   the placeholder. */
.area-text{background:var(--sand-100);min-height:0}
.area-text .inside-placeholder{display:none}
.area-text .area-body{padding:15px 18px;display:grid;gap:1px}
.area-text .area-name{font-size:18px}
.area-text .area-note{margin-top:5px}
@media(max-width:700px){
  .area-grid:has(.area-text){gap:9px}
  .area-text{border-radius:12px}
  .area-text .area-body{padding:13px 15px}
  .area-text .area-name{font-size:16.5px}
  .area-text .area-city,.area-text .area-note{font-size:12px}
}
.area-name{font-size:21px;line-height:1.25}
.card-shot{position:relative;padding:0}
.card-shot img{width:100%;aspect-ratio:4/3;object-fit:cover}
.card-editorial{position:absolute;inset:auto 0 0;padding:65px 20px 20px;background:linear-gradient(transparent,rgba(15,12,20,.8));color:white;pointer-events:none}
.card-editorial h3{font-size:20px;line-height:1.25;margin:0 0 6px}.card-editorial p{margin:0;color:#ddd5df;font-size:13px}
.card-body>h3,.card-body>.where,.card-body>.excerpt,.card-body>.ptype,.card-body>.why{display:none}
.card-body{padding:16px 20px}.card-body .viewing-btn{display:none}
.card-gallery{bottom:auto;top:50%;right:10px;z-index:2}
.d-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:6px;overflow:hidden;border-radius:16px;aspect-ratio:16/9}
.gallery-tile{padding:0;border:0;overflow:hidden;cursor:pointer;background:var(--brand-100);min-width:0;min-height:0}
.gallery-tile:first-child{grid-row:span 2}.gallery-tile:only-child{grid-column:1/-1}
.d-gallery .gallery-tile img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
.d-count{display:none}
@media(max-width:700px){.d-gallery{grid-template-columns:2fr 1fr;aspect-ratio:4/3}.gallery-tile:nth-child(n+4){display:none}.card-editorial h3{font-size:19px}}

/* A feature on a listing is also a question about the market: tap it and
   the results become every place that has it. */
.tag-go{border:1px solid var(--line,#e4dfe7);cursor:pointer;font:inherit;font-size:inherit;color:inherit}
.tag-go:hover{background:var(--jac,#71448b);border-color:var(--jac,#71448b);color:#fff}
.tag-go:focus-visible{outline:3px solid #b179cb;outline-offset:2px}
