/* Brooklyn Hive — design system. Vanilla CSS.
   Tokens + chrome ported from docs/bh_ui/ designer reference (teal/gold,
   Satoshi). Legacy functional blocks (admin/dashboard/booking) reskin via
   the remapped tokens below. */
:root {
  --ink: #020202;
  --muted: #52516B;
  --teal: #184B58;
  --teal-dark: #0F3B46;
  --gold: #F0C756;
  --yellow: #ECDF68;
  --bg: #F4F4F5;
  --card: #FFFFFF;
  --line: #E6E9EF;
  --line2: rgba(51, 77, 85, 0.2);
  /* aliases so legacy blocks recolor for free */
  --accent: var(--teal);
  --accent-soft: #e8eef0;
  --rule: var(--line);
  --ok: #2e7d32;
  --warn: #ed6c02;
  --bad: #c62828;
  --maxw: 1080px;
  /* admin + renter dashboard reskin tokens (docs/bh_ui/new-screens) */
  --navy: #30334E;
  --ok-bg: rgba(46, 125, 50, 0.12);
  --warn-soft: #9A6A00;
  --warn-bg: rgba(240, 199, 86, 0.30);
  --bad-soft: #C0392B;
  --bad-bg: rgba(192, 57, 43, 0.10);
  --neutral: #52516B;
  --neutral-bg: #E9E9EF;
  --info: #184B58;
  --info-bg: rgba(24, 75, 88, 0.09);
}
* { box-sizing: border-box; }
body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink); margin: 0; background: var(--bg);
  font-size: 16px; line-height: 1.5;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 24px 16px 64px; }
.container { max-width: 1200px; margin: 0 auto; padding: 16px 40px 64px; }
/* full-bleed main: funnel pages opt out of the 1080 .wrap cap. NOTE: the
   override body must be non-empty — html/template ignores a {{define}} with
   an empty body, which silently falls back to .wrap. */
.bleed { width: 100%; }
.detailwrap { max-width: 1480px; margin: 0 auto; padding: 0 40px 40px; }
@media (max-width: 1100px) { .detailwrap { padding: 0 18px 32px; } }

/* ===== Typography ===== */
h1 { font-size: 45px; font-weight: 500; line-height: 1.2; letter-spacing: -0.5px; margin: 10px 0; }
h1 b { font-weight: 700; }
h2 { font-size: 26px; font-weight: 700; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 18px; font-weight: 700; }
.eyebrow { font-size: 14px; color: var(--muted); }
.sub { font-size: 16px; color: var(--muted); max-width: 640px; margin-top: 14px; }
.crumbs, .breadcrumb { padding: 8px 0 4px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumbs b { color: var(--ink); font-weight: 700; }
.crumbs .sep { font-size: 11px; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ===== Header (full width) ===== */
.site-header { max-width: 1480px; margin: 0 auto; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 100; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--ink); }
.logo b { font-weight: 700; } .logo span { font-weight: 400; }
.logo img { width: 30px; height: 30px; }
.navpill { background: var(--card); border-radius: 999px; padding: 8px 14px; display: flex; align-items: center; gap: 6px; box-shadow: 0 1px 2px rgba(2,2,2,.04); }
.navpill a, .navitem > a { font-size: 15px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; display: inline-block; color: var(--ink); }
.navpill a:hover, .navitem > a:hover, .navitem.open > a { background: var(--bg); }
.navitem { display: inline-block; }
.navpill .caret, .caret { font-size: 11px; color: var(--muted); margin-left: 4px; }
.navitem.open > a .caret { display: inline-block; transform: rotate(180deg); }
.navpill form.inline { display: inline; }
.navpill .cta { background: var(--teal); color: #fff; }
.navpill .cta:hover { background: var(--teal-dark); }

.mega { position: absolute; top: calc(100% - 4px); left: 50%; transform: translate(-50%,12px); width: min(980px,94vw); background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(2,2,2,.18); padding: 24px; display: grid; gap: 22px; opacity: 0; visibility: hidden; pointer-events: none; transition: .25s ease; z-index: 99; }
.mega.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%,0); }
.mega h6 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0 10px; }
.mlink { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 10px; font-size: 15px; }
.mlink:hover { background: var(--bg); }
.mlink .ar { color: var(--muted); font-size: 12px; }
.mtile { position: relative; border-radius: 14px; overflow: hidden; display: block; height: 100%; min-height: 215px; }
.mtile img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.mtile:hover img { transform: scale(1.06); }
.mtile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 13px; background: linear-gradient(transparent,rgba(2,2,2,.68)); color: #fff; font-size: 14px; font-weight: 700; }
.mtile .chip { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 4px 10px; }
#mega-apts { grid-template-columns: 1fr 1fr 230px 230px; }
#mega-about { grid-template-columns: 1fr 230px 230px; }

.burgerwrap { position: relative; }
.burger { width: 38px; display: flex; flex-direction: column; gap: 5px; padding: 0 12px; cursor: pointer; }
.burger i { height: 2px; background: var(--ink); border-radius: 2px; display: block; }
.minimenu { position: absolute; top: calc(100% + 14px); right: 0; width: 240px; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(2,2,2,.16); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; z-index: 120; }
.minimenu.open { opacity: 1; visibility: visible; transform: none; }
.minimenu a { display: block; font-size: 14px; padding: 10px 12px; border-radius: 9px; color: var(--ink); }
.minimenu a:hover { background: var(--bg); }
/* mobile-nav lives in the burger menu, shown only on small screens (see @720) */
.mobile-nav { display: none; }
.mm-sep { height: 1px; background: var(--line); margin: 6px 4px; }
/* Collapse the inline nav into the burger on mobile so the pill can't overflow. */
@media (max-width: 720px) {
  .navpill > a, .navpill > .navitem, .navpill > form { display: none; }
  .navpill .mobile-nav { display: block; }
  .mega { display: none; }
}

/* ===== Footer (full width, dark) ===== */
.site-footer { background: #0c2d35; color: #fff; padding: 50px 0 30px; border: 0; text-align: left; }
.site-footer .fwrap { max-width: 1480px; margin: 0 auto; padding: 0 40px; }
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.fgrid h5 { font-size: 19px; font-weight: 500; margin-bottom: 14px; color: #fff; }
.fgrid a { display: block; font-size: 14px; color: rgba(255,255,255,.75); padding: 5px 0; }
.fgrid a:hover { color: #fff; }
.flogo { display: flex; align-items: center; gap: 10px; font-size: 27px; margin-bottom: 12px; color: #fff; }
.flogo img { width: 30px; height: 30px; }
.flogo b { font-weight: 700; } .flogo span { font-weight: 400; }
.fdesc { font-size: 14px; color: rgba(255,255,255,.65); max-width: 300px; line-height: 1.6; }
.fbottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ===== Buttons / pills ===== */
.cta { background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; display: inline-block; }
.cta:hover { background: var(--teal-dark); }
button.link { background: none; border: 0; color: var(--teal); cursor: pointer; padding: 0; font: inherit; }
form.inline { display: inline; }

/* ===== Browse: split layout + map ===== */
.page { display: grid; grid-template-columns: 1fr 43.5%; align-items: start; }
.left { padding: 0 36px 40px 40px; min-width: 0; }
.mapcol { position: sticky; top: 0; height: 100vh; }
.map { width: 100%; height: 100%; position: relative; overflow: hidden; background: #F6F6F6; }
.map > img { width: 100%; height: 100%; object-fit: cover; }
.pin { position: absolute; width: 58px; height: 58px; border-radius: 50%; background: rgb(236 223 104 / 20%); display: flex; align-items: center; justify-content: center; cursor: pointer; transform: translate(-50%,-50%); transition: .2s; }
.pin:hover { background: rgb(236 223 104 / 45%); }
.pin i { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); font-style: normal; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.zoomctl { position: absolute; right: 18px; bottom: 18px; background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 10px rgba(2,2,2,.12); display: flex; gap: 14px; align-items: center; }
.zoomctl span { cursor: pointer; color: var(--muted); }

/* ===== Filters ===== */
.filters { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.fbadge { background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; width: 21px; height: 21px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.results { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 14px; font-size: 15px; }
.results b { font-weight: 700; }
/* Home hero search form (P1-02) — reuses the .filters flex row. */
.filters .fsel { display: flex; flex-direction: column; gap: 4px; }
.filters .flabel { font-size: 12px; font-weight: 500; color: var(--muted); padding-left: 2px; }
.filters .fsel select, .filters .fsel input[type="date"] { background: var(--card); border: 1px solid var(--line); border-radius: 13px; height: 48px; padding: 0 16px; font-size: 15px; font-family: inherit; color: var(--ink); min-width: 200px; box-shadow: 0 1px 2px rgba(2,2,2,.03); }
.filters .fsel select:focus, .filters .fsel input[type="date"]:focus { outline: none; border-color: var(--accent); }
.filters .fsearch { align-self: flex-end; height: 48px; padding: 0 26px; border: none; border-radius: 13px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; font-family: inherit; cursor: pointer; }
.filters .fsearch:hover { box-shadow: 0 2px 8px rgba(2,2,2,.18); }
.filters .fclear { align-self: flex-end; height: 48px; display: flex; align-items: center; font-size: 14px; font-weight: 500; text-decoration: underline; color: var(--muted); }

/* ===== Listing cards (browse) ===== */
.card { background: var(--card); border-radius: 18px; display: grid; grid-template-columns: 300px 1fr 264px; gap: 22px; margin-bottom: 16px; transition: box-shadow .2s; overflow: hidden; color: var(--ink); }
.card:hover { box-shadow: 0 6px 24px rgba(2,2,2,.08); }
.cimg { position: relative; display: block; height: 100%; min-height: 300px; }
.cimg img { width: 100%; height: 100%; object-fit: cover; }
.coverlay { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 10px; }
.cbtn { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #30334E; font-size: 11px; font-weight: 700; box-shadow: 0 2px 8px rgba(2,2,2,.15); }
.cbody { padding: 24px 0; display: flex; flex-direction: column; }
.cbody h3 { font-size: 26px; font-weight: 700; line-height: 1.2; margin: 10px 0 18px; max-width: 330px; }
.cbody h3 a:hover { text-decoration: underline; }
.ams { display: grid; grid-template-columns: repeat(2,max-content); gap: 12px 36px; }
.am { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.am svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 1.5; flex: none; }
.moreinfo { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.moreinfo .arr { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.cprice { background: var(--bg); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; margin: 14px 14px 14px 0; }
.prow { display: flex; align-items: baseline; gap: 7px; }
.prow .p { font-size: 22px; font-weight: 700; }
.prow .pm { font-size: 15px; font-weight: 500; }
.ptable { margin: 14px 0 16px; flex: 1; }
.ptr { display: flex; justify-content: space-between; font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ptr:last-child { border-bottom: none; }
.ptr .v { font-weight: 700; }
.book { display: block; text-align: center; background: var(--teal); color: #fff; border-radius: 999px; padding: 13px; font-size: 15px; font-weight: 700; }
.book:hover { background: var(--teal-dark); }
.empty-state { background: var(--card); border-radius: 18px; padding: 40px; color: var(--muted); }

/* ===== Detail page (property / room) ===== */
.property header { margin-bottom: 16px; }
.property .neighborhood { color: var(--muted); margin: 0 0 4px; }
.property .specs { color: var(--muted); font-size: 0.95rem; }
.property .scope-media[hidden] { display: none; }
.hero-photo { width: 100%; aspect-ratio: 3 / 2; max-height: 480px; object-fit: cover; border-radius: 14px; background: var(--line); }
.tiers, .rooms { padding-left: 20px; }
.layout-cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
@media (min-width: 800px) { .layout-cols { grid-template-columns: 2fr 1fr; } }

/* gallery (hero + tiles) */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 12px; border-radius: 20px; overflow: hidden; margin: 16px 0; }
.gallery .g { position: relative; overflow: hidden; cursor: pointer; background: var(--line); }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g:first-child { grid-row: span 2; }
.gallery .g::after { content: ''; position: absolute; inset: 0; background: rgba(2,2,2,0); transition: .2s; }
.gallery .g:hover::after { background: rgba(2,2,2,.12); }
.gchips { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 8px; z-index: 2; flex-wrap: wrap; }
.gchip { background: rgba(2,2,2,.55); backdrop-filter: blur(4px); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 7px 14px; display: flex; align-items: center; gap: 6px; }
.gchip svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 1.8; }
.gmore { position: absolute; right: 16px; bottom: 14px; background: var(--card); color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 8px 16px; z-index: 2; box-shadow: 0 2px 8px rgba(2,2,2,.18); }

/* Crawlable-but-not-displayed gallery photos beyond the visible hero+4; the
   lightbox reads them from the DOM. display:none + loading=lazy → no fetch until
   the lightbox sets .lbimg.src. */
.ghidden { display: none; }

/* Gallery lightbox (bh-lightbox.js) — full-screen carousel over a dark backdrop. */
.lbback { position: fixed; inset: 0; background: rgba(2,2,2,.88); z-index: 300; }
.lbback[hidden] { display: none; }
.lbox { position: fixed; inset: 0; z-index: 305; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lbox[hidden] { display: none; }
.lbimg { max-width: min(1280px, calc(100vw - 120px)); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 12px; background: #111; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lbnav, .lbclose { position: fixed; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; color: #fff; background: rgba(2,2,2,.55); backdrop-filter: blur(4px); border-radius: 999px; }
.lbnav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; line-height: 1; }
.lbnav[hidden] { display: none; }
.lbprev { left: 18px; }
.lbnext { right: 18px; }
.lbclose { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.lbnav:hover, .lbclose:hover { background: rgba(2,2,2,.78); }
.lbbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: calc(100vw - 140px); display: flex; gap: 10px; align-items: baseline; color: #fff; background: rgba(2,2,2,.55); backdrop-filter: blur(4px); border-radius: 999px; padding: 8px 16px; font-size: 13px; }
.lbcount { font-weight: 700; white-space: nowrap; }
.lbcap { opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* key facts */
.facts { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.fact { background: var(--bg); border-radius: 14px; padding: 14px 12px; text-align: center; }
.fact svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.6; margin: 0 auto 8px; }
.fact .fv { font-size: 16px; font-weight: 700; }
.fact .fl { font-size: 12px; color: var(--muted); }

/* amenity sub-tabs (room / apartment / building) */
.amtabs { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 5px; margin-bottom: 22px; }
.amtabs button { border: none; background: transparent; font-family: inherit; font-size: 14px; font-weight: 500; padding: 8px 22px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.amtabs button.on { background: var(--teal); color: #fff; font-weight: 700; }
.amgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px 24px; }
.amgrid[hidden] { display: none; }
.am { display: flex; align-items: center; gap: 11px; font-size: 15px; }
.am svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 1.5; flex: none; }
.showall { margin-top: 22px; display: inline-block; border: 1px solid var(--line2); border-radius: 999px; padding: 10px 22px; font-size: 14px; font-weight: 700; cursor: pointer; background: var(--card); }
.showall:hover { background: var(--bg); }

/* ===== Booking card (sticky form) ===== */
.booking-card { background: var(--card); border-radius: 18px; padding: 20px; position: sticky; top: 74px; height: max-content; }
.booking-card h3 { margin: 0 0 12px; }
.booking-card label { display: block; margin: 8px 0; font-size: 0.9rem; color: var(--muted); }
.booking-card input, .booking-card select, .booking-card textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 12px; font: inherit; margin-top: 4px; color: var(--ink); }
.booking-card button[type=submit] { width: 100%; background: var(--teal); color: #fff; border: 0; padding: 13px; border-radius: 999px; font-weight: 700; cursor: pointer; margin-top: 12px; }
.booking-card button[type=submit]:hover { background: var(--teal-dark); }
.booking-card .fineprint { font-size: 0.75rem; color: var(--muted); margin-top: 12px; }
.booking-card .booking-date-error { color: var(--bad); font-size: 0.85rem; margin: 8px 0 0; }
.booking-length-hint { font-size: 0.8rem; color: var(--teal); margin: 6px 0 0; font-weight: 600; }
.availability-block { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.availability-block summary { font-weight: 600; cursor: pointer; font-size: 0.9rem; }
.availability-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: 0.85rem; color: var(--muted); }
.availability-list li { padding: 4px 0; }
.availability-list .availability-state { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 999px; font-size: 0.7rem; background: var(--bg); color: var(--ink); }
.availability-list .state-approved { background: #e8f5e9; color: var(--ok); }

/* ===== Detail page — full room-page.html system ===== */
.titleblock { padding: 14px 0 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.titleblock .eyebrow { margin-bottom: 8px; }
.metarow { display: flex; gap: 18px; margin-top: 12px; font-size: 15px; color: var(--muted); flex-wrap: wrap; align-items: center; }
.metarow .mi { display: flex; gap: 7px; align-items: center; }
.metarow svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 1.6; }
.tag { background: var(--card); border: 1px solid var(--line2); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 700; }
.tag.gold { background: rgba(236,223,104,.4); border-color: transparent; }

/* sticky anchor tabs */
.anchors { position: sticky; top: 0; z-index: 50; background: var(--bg); padding: 14px 0 10px; margin-top: 10px; }
.anchors-in { background: var(--card); border-radius: 999px; display: inline-flex; padding: 6px; gap: 2px; box-shadow: 0 1px 2px rgba(2,2,2,.04); flex-wrap: wrap; }
.anchors-in a { font-size: 14px; padding: 9px 20px; border-radius: 999px; color: var(--muted); font-weight: 500; }
.anchors-in a.on, .anchors-in a:hover { background: var(--teal); color: #fff; }

/* two-column detail layout */
.cols { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; margin-top: 18px; }
.maincol { min-width: 0; }
section.block { background: var(--card); border-radius: 20px; padding: 30px; margin-bottom: 22px; }
.h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.h2sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.prose { font-size: 15px; color: var(--ink); line-height: 1.65; }
.prose + .prose { margin-top: 12px; }
.prose.muted { color: var(--muted); }
.morelink { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: underline; margin-top: 14px; cursor: pointer; }
.morelink .arr { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; text-decoration: none; }

/* bedrooms in apartment */
.bedcard { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.bedcard .bimg { height: 100px; border-radius: 12px; overflow: hidden; position: relative; background: var(--line); }
.bedcard .bimg img { width: 100%; height: 100%; object-fit: cover; }
.bedcard h4 { font-size: 18px; font-weight: 700; }
.bedcard .bspec { font-size: 14px; color: var(--muted); margin-top: 4px; }
.bedcard .bright { text-align: right; }
.bedcard .bprice { font-size: 22px; font-weight: 700; }
.bedcard .bprice span { font-size: 13px; font-weight: 400; color: var(--muted); }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 12px; margin-top: 6px; }
.avail.ok { background: rgba(236,223,104,.35); color: var(--ink); }
.avail.no { background: var(--bg); color: var(--muted); }
.avail i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; }
.avail.no i { background: var(--muted); }
.btn-sm { display: inline-block; border: 1px solid var(--teal); color: var(--teal); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 8px 18px; margin-top: 8px; cursor: pointer; background: var(--card); }
.btn-sm:hover { background: var(--teal); color: #fff; }
.thisroom { outline: 2px solid var(--teal); position: relative; }
.thisroom .youare { position: absolute; top: -10px; left: 18px; background: var(--gold); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }

/* community */
.commstats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.cstat { background: var(--bg); border-radius: 14px; padding: 18px; }
.cstat .cl { font-size: 13px; color: var(--muted); }
.cstat .cv { font-size: 24px; font-weight: 700; margin-top: 4px; }
.cstat .cv span { font-size: 13px; font-weight: 400; color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: var(--line); margin-top: 12px; overflow: hidden; display: flex; }
.bar i { background: var(--teal); height: 100%; }
.bar em { background: var(--gold); height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line2); border-radius: 999px; padding: 8px 16px; font-size: 14px; display: flex; gap: 8px; align-items: center; background: var(--card); }
.chip svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 1.7; }

/* location */
.addr { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.addr svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 1.7; }
.addrnote { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.locmap { height: 300px; border-radius: 16px; position: relative; overflow: hidden; margin-bottom: 22px;
  background: #EFEFEF;
  background-image:
   linear-gradient(rgba(255,255,255,.85) 1.5px, transparent 1.5px),
   linear-gradient(90deg, rgba(255,255,255,.85) 1.5px, transparent 1.5px),
   linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
   linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 120px 120px,120px 120px,30px 30px,30px 30px; }
.locmap .roads { position: absolute; inset: 0; }
.locmap .lbl { position: absolute; font-size: 11px; letter-spacing: 3px; color: #9A9A9A; font-weight: 700; }
.locmap .locpin { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: rgba(236,223,104,.45); display: flex; align-items: center; justify-content: center; }
.locmap .locpin i { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(2,2,2,.25); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 700; }
.locmap .zoom { position: absolute; right: 14px; bottom: 14px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(2,2,2,.12); }
.locmap-empty { display: flex; align-items: center; justify-content: center; }
/* Leaflet draws its own tiles/controls; keep the grid background only as the
   pre-load / empty state, and ensure panes sit above it. */
.locmap .leaflet-pane, .locmap .leaflet-control-container { z-index: 1; }
.transit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.trains .trow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.trains .trow:last-child { border-bottom: none; }
.tbadge { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex: none; }
.trains .twalk { margin-left: auto; color: var(--muted); font-size: 14px; }
.scores { display: flex; gap: 14px; }
.score { flex: 1; background: var(--bg); border-radius: 14px; padding: 16px; text-align: center; }
.ring { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; background: conic-gradient(var(--teal) calc(var(--p)*1%), var(--line) 0); }
.ring i { width: 58px; height: 58px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-style: normal; }
.score .sl { font-size: 13px; font-weight: 700; }
.score .sd { font-size: 12px; color: var(--muted); }

/* before you move in / good to know */
.know { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.kcard { background: var(--bg); border-radius: 16px; padding: 22px; }
.kcard h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.kcard h4 svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 1.7; }
.kcard ul { margin: 0; padding: 0; }
.kcard li { list-style: none; font-size: 14px; color: var(--muted); padding: 6px 0 6px 16px; position: relative; }
.kcard li::before { content: ''; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.step { background: var(--bg); border-radius: 16px; padding: 22px; }
.stepnum { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; transition: .2s; }
.faq details[open] .pm { background: var(--teal); color: #fff; transform: rotate(45deg); }
.faq .fa { font-size: 14px; color: var(--muted); padding: 0 40px 18px 4px; line-height: 1.6; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.tr { display: flex; gap: 12px; align-items: flex-start; }
.tr svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.6; flex: none; margin-top: 2px; }
.tr h5 { font-size: 15px; font-weight: 700; margin: 0; }
.tr p { font-size: 13px; color: var(--muted); margin: 3px 0 0; }

/* similar */
.simgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.simcard { background: var(--card); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: block; color: var(--ink); }
.simcard .simg { height: 170px; position: relative; background: var(--line); }
.simcard .simg img { width: 100%; height: 100%; object-fit: cover; }
.simcard .sbody { padding: 18px; }
.simcard .eyebrow { font-size: 12px; margin-bottom: 4px; }
.simcard h4 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.simcard .sspec { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin: 10px 0 14px; flex-wrap: wrap; }
.simcard .sfoot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.simcard .sprice { font-size: 20px; font-weight: 700; }
.simcard .sprice span { font-size: 12px; font-weight: 400; color: var(--muted); }

/* booking sidebar (designer bookcard) */
.bookcol { position: sticky; top: 74px; }
.bookcard { background: var(--card); border-radius: 20px; padding: 10px; height: max-content; }
.bookin { background: var(--bg); border-radius: 14px; padding: 24px; position: relative; }
.bookin .matchbar { display: flex; align-items: center; gap: 8px; background: rgba(236,223,104,.35); border-radius: 10px; padding: 9px 12px; margin-bottom: 14px; font-size: 13px; }
.bookin .matchbar svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 2; flex: none; }
.bprice-row { display: flex; align-items: baseline; gap: 8px; }
.bprice-row .p { font-size: 26px; font-weight: 700; }
.bprice-row .pm { font-size: 15px; font-weight: 500; }
.bprice-row .info { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line2); color: var(--muted); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.bills { font-size: 12px; color: var(--muted); margin-top: 2px; }
.btable { margin: 18px 0; }
.btable .brow { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.btable .brow:last-child { border-bottom: none; }
.btable .bl { color: var(--muted); }
.btable .bv { font-weight: 700; }
.bookin label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 4px; }
.bookin input, .bookin textarea { width: 100%; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 14px; font: inherit; color: var(--ink); margin-bottom: 14px; }
.dates-native label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 4px; }

/* date pills (designer .datef) — calendar triggers, revealed by bh-calendar.js */
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.datef { text-align: left; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 14px; cursor: pointer; font: inherit; }
.datef.is-active { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.datef .dl { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.datef .dv { font-size: 14px; font-weight: 500; margin-top: 2px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.datef .dv svg { width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 1.6; flex: none; }

/* calendar popover */
/* calendar modal: centered dialog + backdrop (appended to <body>) */
.calback { position: fixed; inset: 0; background: rgba(2,2,2,.45); z-index: 255; }
.calback[hidden] { display: none; }
.calpop { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 260; width: min(680px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 90px rgba(2,2,2,.28); padding: 22px; }
.calpop[hidden] { display: none; }
.calhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.caltitle { font-size: 18px; font-weight: 700; }
.calhead-r { display: flex; align-items: center; gap: 8px; }
.calclose { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: none; font-size: 14px; cursor: pointer; font-family: inherit; color: var(--ink); }
.calclose:hover { background: var(--line); }
/* in-modal Move-in / Move-out selector — prominent, shows which is active */
.caltabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.caltab { text-align: left; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; cursor: pointer; font: inherit; }
.caltab .ct-l { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.caltab .ct-v { display: block; font-size: 16px; font-weight: 700; margin-top: 3px; color: var(--ink); }
.caltab.is-active { border-color: var(--teal); background: rgba(24,75,88,.06); box-shadow: 0 0 0 1px var(--teal); }
.caltab.is-active .ct-l { color: var(--teal); }
.calnav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink); }
.calnav:hover { background: var(--bg); }
.calmonths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calmlabel { text-align: center; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.caldow { text-align: center; font-size: 11px; color: var(--muted); font-weight: 700; padding-bottom: 4px; }
.calday { aspect-ratio: 1; border: none; background: none; font: inherit; font-size: 13px; border-radius: 9px; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.calday.is-empty { visibility: hidden; cursor: default; }
.calday:not(.is-disabled):not(.is-empty):hover { background: var(--bg); }
.calday.is-disabled { color: var(--line2); cursor: not-allowed; }
.calday.is-blocked { color: #b9999b; text-decoration: line-through; cursor: not-allowed; background: repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(198,40,40,.08) 3px, rgba(198,40,40,.08) 6px); }
.calday.is-today { font-weight: 700; box-shadow: inset 0 0 0 1px var(--line2); }
.calday.is-inrange { background: rgba(24,75,88,.10); border-radius: 0; }
.calday.is-start, .calday.is-end { background: var(--teal); color: #fff; font-weight: 700; }
.calday.is-start { border-radius: 9px 0 0 9px; }
.calday.is-end { border-radius: 0 9px 9px 0; }
.calfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.calwarn { color: var(--bad); font-weight: 700; }
.calfoot-actions { display: flex; align-items: center; gap: 14px; }
.calclear { background: none; border: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; text-decoration: underline; }
.calclear:hover { color: var(--ink); }
.caldone { background: var(--teal); color: #fff; border: none; border-radius: 999px; padding: 9px 22px; font: inherit; font-weight: 700; cursor: pointer; }
.caldone:hover { background: var(--teal-dark); }
@media (max-width: 640px) {
  .calpop { width: calc(100vw - 24px); padding: 18px; }
  .calmonths { grid-template-columns: 1fr; gap: 14px; }
}
.btn { display: block; width: 100%; text-align: center; border-radius: 999px; padding: 15px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; }
.btn.primary { background: var(--teal); color: #fff; border: none; }
.btn.primary:hover { background: var(--teal-dark); }
.btn.primary:disabled { background: #bcbcc4; cursor: not-allowed; }
.btn.ghost { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); margin-top: 10px; }
.btn.ghost:hover { background: rgba(24,75,88,.06); }
.nocharge { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }
.prebar, .hostbar { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 14px; padding: 14px 16px; margin-top: 10px; }
.prebar .pico { width: 38px; height: 38px; border-radius: 50%; background: rgba(240,199,86,.25); display: flex; align-items: center; justify-content: center; flex: none; }
.prebar .pico svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.prebar h6, .hostbar h6 { font-size: 14px; font-weight: 700; }
.prebar p, .hostbar p { font-size: 12px; color: var(--muted); }
.hostbar .hava { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; background: var(--line); }
.hostbar .hava img { width: 100%; height: 100%; object-fit: cover; }
.hostbar .msg { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--teal); text-decoration: underline; cursor: pointer; white-space: nowrap; }

/* ===== Header chrome — icons + cart + notifications drawer ===== */
.hdr-icons { display: flex; gap: 10px; position: relative; }
.icbtn { width: 46px; height: 46px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; box-shadow: 0 1px 2px rgba(2,2,2,.04); border: none; }
.icbtn svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--card); }
.cartpanel { position: absolute; top: calc(100% + 10px); right: 0; width: 280px; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(2,2,2,.16); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; z-index: 120; }
.cartpanel.open { opacity: 1; visibility: visible; transform: none; }
.cartpanel .cl { font-size: 12px; color: var(--muted); }
.cartpanel .cv { font-size: 22px; font-weight: 700; margin: 2px 0 4px; }
.cartpanel .cd { font-size: 13px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.cartpanel .paybtn { display: block; text-align: center; background: var(--teal); color: #fff; border-radius: 999px; padding: 11px; font-size: 14px; font-weight: 700; }
.cartpanel .paybtn:hover { background: var(--teal-dark); }
.drawer { position: fixed; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100vh; background: #fff; z-index: 300; box-shadow: -20px 0 60px rgba(2,2,2,.18); transition: right .3s ease; display: flex; flex-direction: column; }
.drawer.open { right: 0; }
.dhead { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dhead h3 { font-size: 18px; font-weight: 700; }
.dclose { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: none; font-size: 14px; cursor: pointer; font-family: inherit; }
.dlist { overflow-y: auto; flex: 1; padding: 8px 14px; }
.dnote { display: flex; gap: 12px; padding: 14px 10px; border-bottom: 1px solid var(--line); }
.dnote:last-child { border-bottom: none; }
.dnote .di { width: 38px; height: 38px; border-radius: 50%; background: rgba(236,223,104,.35); display: flex; align-items: center; justify-content: center; flex: none; }
.dnote .di svg { width: 17px; height: 17px; stroke: var(--teal); fill: none; stroke-width: 1.7; }
.dnote h4 { font-size: 14px; font-weight: 700; line-height: 1.35; }
.dnote p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.dnote .dt { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.dfoot { padding: 16px 24px; border-top: 1px solid var(--line); }
.dfoot a { display: block; text-align: center; background: var(--teal); color: #fff; border-radius: 999px; padding: 12px; font-size: 14px; font-weight: 700; }
.overlay { position: fixed; inset: 0; background: rgba(2,2,2,.35); opacity: 0; visibility: hidden; transition: .25s; z-index: 250; }
.overlay.open { opacity: 1; visibility: visible; }

/* detail responsive */
@media (max-width: 1100px) {
  .cols { grid-template-columns: 1fr; }
  .bookcol { position: static; }
  .facts { grid-template-columns: repeat(3,1fr); }
  .amgrid { grid-template-columns: repeat(2,1fr); }
  .steps, .trust, .know, .simgrid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .gallery .g:first-child { grid-column: span 2; grid-row: auto; }
  .transit { grid-template-columns: 1fr; }
  .commstats { grid-template-columns: 1fr; }
}
/* .bedcard stays a compact 3-col row (150px | info | price) like the mockup —
   only stack it on true mobile so the thumbnail row doesn't overflow. */
@media (max-width: 600px) {
  .bedcard { grid-template-columns: 1fr; }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Flash / alerts ===== */
.flash { padding: 12px 16px; margin: 16px 0; border-radius: 12px; font-size: 0.95rem; }
.flash-error { background: #fde2e2; color: #6b0000; border: 1px solid #f5b5b5; }
.flash-warn  { background: #fff4cf; color: #5a4500; border: 1px solid #f0d97a; }
.flash-ok    { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }

/* ===== Review / forms / tables (legacy, reskinned via tokens) ===== */
.review { max-width: 720px; }
.review dl { display: grid; grid-template-columns: 200px 1fr; gap: 4px 16px; }
.review dt { color: var(--muted); }
.review .cta { margin: 24px 0 8px; display: flex; gap: 16px; align-items: center; }
.review .btn { background: var(--teal); color: white; padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.review .btn:hover { background: var(--teal-dark); }
.fineprint { color: var(--muted); font-size: 0.85rem; }

table.price, table.bookings, table.admin-queue { width: 100%; border-collapse: collapse; margin: 16px 0; }
table.price th, table.bookings th, table.admin-queue th { text-align: left; padding: 6px 8px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }
table.price td, table.bookings td, table.admin-queue td { padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.price tr.total th, table.price tr.total td { font-weight: 700; color: var(--ink); }

.auth { max-width: 420px; margin: 16px auto; background: white; padding: 24px; border-radius: 18px; border: 1px solid var(--line); }
.auth label { display: block; margin: 12px 0 4px; color: var(--muted); font-size: 0.9rem; }
.auth input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.auth button { background: var(--teal); color: white; border: 0; padding: 12px; border-radius: 999px; font-weight: 700; cursor: pointer; width: 100%; margin-top: 12px; }
.error { background: #fdecea; color: var(--bad); padding: 10px; border-radius: 12px; }

.admin-disclosure { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fafafa; }
.admin-disclosure > summary { cursor: pointer; padding: 10px 14px; font-weight: 600; color: var(--muted); list-style: none; }
.admin-disclosure > summary::-webkit-details-marker { display: none; }
.admin-disclosure > summary::after { content: " ▾"; }
.admin-disclosure[open] > summary::after { content: " ▴"; }
.admin-disclosure > form { padding: 0 14px 14px; }
.admin-disclosure .btn-secondary { background: white; color: var(--teal); border: 1px solid var(--teal); padding: 8px 14px; border-radius: 999px; font-weight: 600; cursor: pointer; width: auto; margin-top: 8px; }

.state { padding: 2px 8px; border-radius: 999px; font-size: 0.8rem; background: var(--accent-soft); color: var(--teal); }
.state-pending_screening { background: #fff3e0; color: #b35a00; }
.state-pending_review { background: #e3f2fd; color: #1565c0; }
.state-approved { background: #e8f5e9; color: var(--ok); }
.state-declined { background: #fdecea; color: var(--bad); }
.state-expired, .state-withdrawn { background: #f5f5f5; color: var(--muted); }
.state-cleared, .state-cleared_with_notes { background: #e8f5e9; color: var(--ok); }
.state-failed { background: #fdecea; color: var(--bad); }
.state-pending { background: #fff3e0; color: #b35a00; }
.state-unstarted { background: #f5f5f5; color: var(--muted); }

.timeline { list-style: none; padding: 0; display: flex; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.timeline li { flex: 1 1 200px; padding: 12px 16px; border-radius: 12px; background: #f0f0f0; color: var(--muted); border-left: 4px solid #ccc; }
.timeline li.active { background: #e3f2fd; color: #1565c0; border-left-color: #1565c0; }
.timeline li.done { background: #e8f5e9; color: var(--ok); border-left-color: var(--ok); }
.timeline li.declined { background: #fdecea; color: var(--bad); border-left-color: var(--bad); }
.timeline li .mark { display: inline-block; width: 1.2em; font-weight: 700; }
.timeline li.done .mark { color: var(--ok); }
.timeline li.declined .mark { color: var(--bad); }
.timeline li.active .mark { color: #1565c0; }

.admin-detail dl { display: grid; grid-template-columns: 200px 1fr; gap: 4px 16px; }
.admin-detail dt { color: var(--muted); }
.admin-detail form.inline { margin-right: 12px; }
.admin-detail input[type=text] { padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
button.danger { background: var(--bad); color: white; border: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
/* Legacy default for bare admin/dashboard/auth buttons. SCOPED to .wrap so it
   does not clobber design-system buttons (.btn, .datef, .calday, .icbtn, …) on
   the full-bleed funnel pages or in the header/footer. */
.wrap button:not(.danger):not(.link) { background: var(--teal); color: white; border: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; }

.mail-list { padding-left: 20px; }
.mail-list li { margin: 4px 0; }
code { background: #f0f0f0; padding: 1px 4px; border-radius: 3px; font-size: 0.85em; }

/* Admin properties — master apartment + linked rooms tree */
.property-group { background: white; border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; overflow: hidden; }
.property-group-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #fafafa; border-bottom: 1px solid var(--line); }
.property-group-header h2 { margin: 0 0 4px; font-size: 1.15rem; }
.property-group-header .fineprint { margin: 0; }
.property-group-meta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.property-group-meta .rate { font-weight: 600; }
.rooms-table { width: 100%; border-collapse: collapse; }
.rooms-table th, .rooms-table td { padding: 8px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.rooms-table th { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.rooms-table tr:last-child td { border-bottom: 0; }
.rooms-table tbody tr:hover { background: #fafafa; }
.room-empty { padding: 12px 20px; color: var(--muted); margin: 0; }
.orphans { margin-top: 32px; }
.orphans h2 { margin-bottom: 4px; }
.orphans .rooms-table { background: white; border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; }
.rooms-table td.actions { display: flex; gap: 12px; align-items: center; }
.link-form { display: flex; gap: 8px; align-items: center; }
.link-form select { padding: 6px; border: 1px solid var(--line); border-radius: 8px; font: inherit; min-width: 180px; }
.link-form button { background: var(--teal); color: white; border: 0; padding: 6px 12px; border-radius: 999px; cursor: pointer; }

/* Property detail — scope tabs (Whole apt / Room 1 / Room 2 …) */
.scope-tabs { margin-top: 24px; }
.scope-tabs .tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.scope-tabs .tablist button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border-radius: 0; min-width: 0; }
.scope-tabs .tablist button:hover:not([disabled]) { background: #fafafa; }
.scope-tabs .tablist button[aria-selected=true] { border-bottom-color: var(--teal); color: var(--teal); }
.scope-tabs .tablist button[aria-selected=true] .tab-label { font-weight: 600; }
.scope-tabs .tablist button[disabled] { color: var(--muted); cursor: not-allowed; opacity: 0.7; }
.scope-tabs .tab-label { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14ch; }
.scope-tabs .tab-price { font-size: 0.8rem; color: var(--muted); }
.scope-tabs .tablist button[aria-selected=true] .tab-price { color: var(--teal); }
.scope-panel { padding-top: 24px; }
.scope-panel[hidden] { display: none; }

/* Property detail — sub-unit room cards */
.rooms-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.rooms-section h2 { margin: 0 0 4px; }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.room-card { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.room-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.room-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.room-card h3 { margin: 0; font-size: 1.05rem; }
.room-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.room-card .cta { margin-top: auto; text-align: center; }
.cta-disabled { background: #ebebeb !important; color: var(--muted) !important; cursor: not-allowed; pointer-events: none; padding: 6px 12px; border-radius: 999px; text-align: center; }

/* Admin dashboard KPI cards */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 16px 0 32px; }
.kpi { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: block; color: var(--ink); }
a.kpi:hover { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.kpi h3 { margin: 0 0 8px; color: var(--muted); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.kpi .num { font-size: 2.2rem; font-weight: 700; line-height: 1.1; }
.kpi .num.pending { color: #1565c0; }
.kpi .num.approved { color: var(--ok); }
.kpi .num.declined { color: var(--bad); }
.kpi .fineprint { margin-top: 4px; }

/* Renter withdraw action */
.withdraw-form { margin-top: 24px; }
.btn-danger { background: var(--bad); color: white; border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; font-size: 0.95rem; }
.btn-danger:hover { filter: brightness(0.92); }

/* Monthly payment schedule */
.payment-schedule { margin-top: 24px; }
.payment-schedule h2 { margin-bottom: 8px; }
.payment-schedule-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.payment-schedule-table th, .payment-schedule-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.payment-schedule-table th { background: #f6f6f6; font-weight: 600; color: var(--muted); }
.payment-schedule-table tr:last-child td { border-bottom: 0; }
.payment-schedule-table td:nth-child(3), .payment-schedule-table td:nth-child(4), .payment-schedule-table td:nth-child(5), .payment-schedule-table td:nth-child(6) { text-align: right; font-variant-numeric: tabular-nums; }
.payment-schedule-table th:nth-child(3), .payment-schedule-table th:nth-child(4), .payment-schedule-table th:nth-child(5), .payment-schedule-table th:nth-child(6) { text-align: right; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .site-header { padding: 14px 18px; gap: 12px; flex-wrap: wrap; }
  .container { padding: 16px 18px 48px; }
  .page { grid-template-columns: 1fr; }
  .mapcol { display: none; }
  .card { grid-template-columns: 1fr; }
  .cimg { min-height: 200px; }
  .cbody { padding: 18px; }
  .cprice { margin: 0 14px 14px; }
  .left { padding: 0 18px 32px; }
  h1 { font-size: 34px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   Public content pages (about / contact / news / team)
   Ported from docs/bh_ui/ mockups. Every rule is scoped under a page-root
   class (.page-about etc.) so the mockups' generic selectors (.hero, .cta,
   .stats, .panel, .grid, .btn …) cannot clobber the home/property/admin
   styles above. Shared utilities — .reveal/.is-visible, .eyebrow, .sub,
   .detailwrap, base h1/h2/h3 — are reused from the design system, not
   redefined here. Reveal animation rides the global .reveal + .is-visible
   pair (bh-reveal.js); the mockups' own `.reveal.in` is intentionally dropped.
   ========================================================================= */

/* ----- About ----- */
.page-about .hero { padding: 50px 0 60px; position: relative; }
.page-about .display { max-width: 850px; font-size: 45px; font-weight: 500; line-height: 1.2; letter-spacing: -.5px; margin-top: 14px; }
.page-about .display b { font-weight: 700; }
.page-about .display .gold { font-weight: 700; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.page-about .hero p { max-width: 560px; font-size: 16px; color: var(--muted); margin-top: 16px; }
.page-about .hex { position: absolute; right: -60px; top: 0; width: 380px; opacity: .5; pointer-events: none; }
.page-about .marquee { border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); overflow: hidden; padding: 18px 0; white-space: nowrap; margin: 0 0 0; }
.page-about .mq { display: inline-block; animation: bh-mq 28s linear infinite; font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.page-about .mq span { margin: 0 24px; }
.page-about .mq .o { color: var(--muted); font-weight: 400; }
.page-about .mq .star { color: var(--gold); }
@keyframes bh-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.page-about .agenda { padding: 60px 0; max-width: 1060px; }
.page-about .agenda h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.page-about .agenda .h2sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.page-about .agenda p { font-size: 26px; font-weight: 500; line-height: 1.5; }
.page-about .agenda em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.page-about .values { display: flex; flex-direction: column; gap: 16px; padding-bottom: 30px; }
.page-about .val { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--card); border-radius: 20px; overflow: hidden; min-height: 340px; }
.page-about .val:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.page-about .val:nth-child(even) .vtxt { order: 2; }
.page-about .vtxt { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.page-about .vnum { font-size: 14px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.page-about .vnum::after { content: ''; height: 1px; width: 54px; background: var(--line2); }
.page-about .vtxt h3 { font-size: 26px; font-weight: 700; margin: 14px 0 12px; }
.page-about .vtxt p { font-size: 15px; color: var(--muted); max-width: 430px; line-height: 1.65; }
.page-about .vtag { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-about .vtag span { border: 1px solid var(--line2); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.page-about .vimg { position: relative; overflow: hidden; }
.page-about .vimg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: 1.2s; }
.page-about .val:hover .vimg img { transform: scale(1.05); }
.page-about .stats { background: var(--teal); border-radius: 20px; color: #fff; padding: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 16px 0 0; }
.page-about .stat .n { font-size: 45px; font-weight: 700; letter-spacing: -.5px; }
.page-about .stat .n em { font-style: normal; color: var(--gold); }
.page-about .stat .l { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; }
.page-about .quote { padding: 60px 0; max-width: 980px; margin: 0 auto; text-align: center; }
.page-about .quote blockquote { font-size: 26px; font-weight: 500; line-height: 1.5; }
.page-about .quote blockquote b { background: linear-gradient(transparent 62%, var(--yellow) 62%); font-weight: 500; }
.page-about .quote .who { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.page-about .quote .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.page-about .quote .who .nm { font-size: 15px; font-weight: 700; text-align: left; }
.page-about .quote .who .rl { font-size: 13px; color: var(--muted); }
.page-about .cta { background: var(--card); border-radius: 20px; padding: 40px; text-align: center; margin-bottom: 50px; position: relative; overflow: hidden; }
.page-about .cta h2 { font-size: 26px; font-weight: 700; }
.page-about .cta p { color: var(--muted); font-size: 15px; margin: 10px 0 24px; }
.page-about .btn { display: inline-block; border-radius: 999px; padding: 14px 32px; font-size: 15px; font-weight: 700; }
.page-about .btn.primary { background: var(--teal); color: #fff; }
.page-about .btn.primary:hover { background: var(--teal-dark); }
.page-about .btn.ghost { border: 1.5px solid var(--teal); color: var(--teal); margin-left: 12px; }
.page-about .btn.ghost:hover { background: rgba(24,75,88,.06); }
.page-about .cta .hexbg { position: absolute; left: -70px; bottom: -90px; width: 300px; opacity: .45; pointer-events: none; }
@media (max-width: 1100px) {
  .page-about .val, .page-about .val:nth-child(even) { grid-template-columns: 1fr; }
  .page-about .vtxt { order: 2; padding: 30px; }
  .page-about .vimg { min-height: 240px; }
  .page-about .stats { grid-template-columns: 1fr 1fr; padding: 40px; }
  .page-about .hex { display: none; }
}

/* ----- News ----- */
.page-news .hero { padding: 50px 0 10px; }
.page-news .filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 26px; }
.page-news .fbtn { border: 1px solid var(--line2); background: var(--card); border-radius: 999px; padding: 9px 20px; font-size: 14px; font-family: inherit; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.page-news .fbtn i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.page-news .fbtn.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.page-news .fbtn.on i { background: var(--gold) !important; }
.page-news .featured { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--card); border-radius: 20px; overflow: hidden; margin-bottom: 16px; min-height: 340px; }
.page-news .featured .fimg { position: relative; overflow: hidden; }
.page-news .featured .fimg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.page-news .featured .fbody { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.page-news .badge { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; width: max-content; }
.page-news .badge i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.page-news .b-events { background: rgba(240,199,86,.25); }
.page-news .b-events i { background: var(--gold); }
.page-news .b-transit { background: rgba(24,75,88,.1); }
.page-news .b-transit i { background: var(--teal); }
.page-news .b-open { background: rgba(236,223,104,.35); }
.page-news .b-open i { background: #B7A832; }
.page-news .b-hive { background: rgba(12,45,53,.1); }
.page-news .b-hive i { background: #0c2d35; }
.page-news .b-alert { background: rgba(214,69,69,.12); }
.page-news .b-alert i { background: #D64545; }
.page-news .fdate { font-size: 13px; color: var(--muted); margin: 14px 0 8px; }
.page-news .featured h2 { font-size: 26px; font-weight: 700; line-height: 1.25; }
.page-news .featured p { font-size: 15px; color: var(--muted); margin-top: 12px; max-width: 460px; }
.page-news .readmore { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: underline; margin-top: 22px; }
.page-news .readmore .arr { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; text-decoration: none; }
.page-news .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 50px; }
.page-news .ncard { background: var(--card); border-radius: 20px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.page-news .ncard:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(2,2,2,.1); }
.page-news .nimg { height: 185px; overflow: hidden; }
.page-news .nimg img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.page-news .ncard:hover .nimg img { transform: scale(1.05); }
.page-news .nbody { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.page-news .ndate { font-size: 12.5px; color: var(--muted); margin: 10px 0 6px; }
.page-news .ncard h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.page-news .ncard p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.6; flex: 1; }
.page-news .ncard .nlink { margin-top: 14px; font-size: 13px; font-weight: 700; text-decoration: underline; }
.page-news .hidden { display: none; }
@media (max-width: 1100px) {
  .page-news .grid { grid-template-columns: 1fr 1fr; }
  .page-news .featured { grid-template-columns: 1fr; }
  .page-news .featured .fimg { min-height: 220px; }
}
@media (max-width: 700px) { .page-news .grid { grid-template-columns: 1fr; } }

/* ----- Contact ----- */
.page-contact .hero { padding: 50px 0 14px; }
.page-contact .routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 16px; }
.page-contact .route { background: var(--card); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.page-contact .ric { width: 52px; height: 52px; border-radius: 50%; background: rgba(236,223,104,.35); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.page-contact .ric svg { width: 23px; height: 23px; stroke: var(--teal); fill: none; stroke-width: 1.7; }
.page-contact .route h2 { font-size: 18px; font-weight: 700; }
.page-contact .route .for { font-size: 13.5px; color: var(--muted); margin: 8px 0 18px; line-height: 1.6; }
.page-contact .chan { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.page-contact .chan:last-of-type { border-bottom: none; }
.page-contact .chan svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.6; flex: none; }
.page-contact .chan b { font-weight: 700; }
.page-contact .chan span { color: var(--muted); }
.page-contact .sla { margin-top: auto; padding-top: 18px; }
.page-contact .sla .pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(236,223,104,.4); border-radius: 999px; padding: 7px 15px; font-size: 12.5px; font-weight: 700; }
.page-contact .sla .pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; }
.page-contact .rbtn { display: block; text-align: center; margin-top: 14px; background: var(--teal); color: #fff; border-radius: 999px; padding: 13px; font-size: 15px; font-weight: 700; }
.page-contact .rbtn:hover { background: var(--teal-dark); }
.page-contact .rbtn.ghost { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); }
.page-contact .rbtn.ghost:hover { background: rgba(24,75,88,.06); }
.page-contact .emergency { display: flex; align-items: center; gap: 16px; background: rgba(214,69,69,.1); border: 1px solid rgba(214,69,69,.25); border-radius: 14px; padding: 18px 24px; margin-bottom: 30px; flex-wrap: wrap; }
.page-contact .emergency .ei { width: 40px; height: 40px; border-radius: 50%; background: #D64545; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.page-contact .emergency p { font-size: 14.5px; flex: 1; min-width: 260px; }
.page-contact .emergency b { font-weight: 700; }
.page-contact .emergency .ephone { font-size: 18px; font-weight: 700; white-space: nowrap; }
.page-contact .duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; margin-bottom: 50px; }
.page-contact .panel { background: var(--card); border-radius: 20px; padding: 30px; }
.page-contact .panel h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.page-contact .panel .psub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.page-contact .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.page-contact .field { margin-bottom: 12px; }
.page-contact .field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.page-contact .field input, .page-contact .field select, .page-contact .field textarea { width: 100%; background: var(--bg); border: 1px solid transparent; border-radius: 12px; padding: 13px 16px; font-family: inherit; font-size: 15px; color: var(--ink); outline: none; transition: .2s; }
.page-contact .field input:focus, .page-contact .field select:focus, .page-contact .field textarea:focus { border-color: var(--teal); background: #fff; }
.page-contact .field textarea { min-height: 120px; resize: vertical; }
.page-contact .send { width: 100%; border: none; background: var(--teal); color: #fff; border-radius: 999px; padding: 15px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; margin-top: 8px; }
.page-contact .send:hover { background: var(--teal-dark); }
.page-contact .formnote { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.page-contact .office .omap { height: 190px; border-radius: 14px; overflow: hidden; margin-bottom: 22px; position: relative; }
.page-contact .office .omap img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.page-contact .office .opin { position: absolute; top: 46%; left: 54%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgb(236 223 104 / 30%); display: flex; align-items: center; justify-content: center; }
.page-contact .office .opin i { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); }
.page-contact .oline { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.page-contact .oline:last-child { border-bottom: none; }
.page-contact .oline svg { width: 17px; height: 17px; stroke: var(--teal); fill: none; stroke-width: 1.7; flex: none; margin-top: 3px; }
.page-contact .oline b { display: block; }
.page-contact .oline span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 1100px) {
  .page-contact .routes { grid-template-columns: 1fr; }
  .page-contact .duo { grid-template-columns: 1fr; }
}

/* ===== Legal / info content pages (admin-editable Markdown) ===== */
.legalwrap { max-width: 760px; margin: 0 auto; padding: 28px 20px 64px; }
.legalwrap .crumbs { margin-bottom: 18px; }
.legalwrap .prose { color: var(--ink); font-size: 16px; line-height: 1.7; }
.legalwrap .prose h1 { font-size: 34px; line-height: 1.2; margin: 0 0 24px; }
.legalwrap .prose h2 { font-size: 22px; margin: 34px 0 12px; }
.legalwrap .prose h3 { font-size: 18px; margin: 26px 0 8px; }
.legalwrap .prose p { margin: 0 0 16px; }
.legalwrap .prose ul, .legalwrap .prose ol { margin: 0 0 16px; padding-left: 22px; }
.legalwrap .prose li { margin: 6px 0; }
.legalwrap .prose a { color: var(--accent); text-decoration: underline; }
.legalwrap .prose blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 3px solid var(--line); background: var(--card); border-radius: 0 10px 10px 0; color: var(--muted); }
.legalwrap .prose strong { font-weight: 700; }
.legalwrap .legal-updated { margin-top: 32px; color: var(--muted); font-size: 14px; }
textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.5; }

/* ===== Neighborhoods browse page ===== */
.nbhd-regions { max-width: 760px; margin: 0 auto; padding: 0 20px 64px; }
.nbhd-region { margin-top: 30px; }
.nbhd-region h2 { font-size: 18px; margin: 0 0 12px; color: var(--ink); }
.nbhd-list { display: flex; flex-wrap: wrap; gap: 10px; }
.nbhd-list a { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.nbhd-list a:hover { box-shadow: 0 2px 8px rgba(2,2,2,.08); border-color: var(--accent); }

/* =========================================================================
   Admin + renter dashboard reskin (docs/bh_ui/new-screens).
   Every rule scoped under .admin-shell / .renter-shell — same convention as
   the .page-* blocks above — so the mockups' generic class names cannot
   clobber the home/property/public styles. Chrome (header/footer/drawer) is
   already in site.css and intentionally not duplicated here.
   ========================================================================= */

/* ----- Shell containers (the mockups' .wrap; .wrap--wide ignored) ----- */
.admin-shell, .renter-shell { max-width: 1480px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) {
  .admin-shell, .renter-shell { padding: 0 20px; }
}

/* ----- Shared across admin + renter screens ----- */
.admin-shell .eyebrow, .renter-shell .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.admin-shell .lead, .renter-shell .lead { font-size: 15px; color: var(--muted); max-width: 680px; margin-top: 14px; line-height: 1.65; }
.admin-shell .backlink, .renter-shell .backlink { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--teal); font-weight: 600; margin: 6px 0 14px; }
.admin-shell .backlink:hover, .renter-shell .backlink:hover { text-decoration: underline; }
.admin-shell .page-head, .renter-shell .page-head { padding: 8px 0 20px; }
.admin-shell .page-head h1, .renter-shell .page-head h1 { font-size: 45px; font-weight: 500; line-height: 1.15; letter-spacing: -.5px; }
.admin-shell .page-head h1 b, .renter-shell .page-head h1 b { font-weight: 700; }
.admin-shell .uid, .renter-shell .uid { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--muted); font-weight: 400; word-break: break-all; }
.admin-shell .note, .renter-shell .note { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 12px; }
.admin-shell .strong, .renter-shell .strong { font-weight: 700; }
.admin-shell .fine, .renter-shell .fine { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
.admin-shell .input, .renter-shell .input { width: 100%; background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: 15px; color: var(--ink); }
.admin-shell .input::placeholder, .renter-shell .input::placeholder { color: #9A98AB; }
.admin-shell .input:focus, .renter-shell .input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(24, 75, 88, .12); }
.admin-shell textarea.input, .renter-shell textarea.input { min-height: 90px; resize: vertical; }

/* Chip (shared — ::before dot, colour variants) */
.admin-shell .chip, .renter-shell .chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 12px; line-height: 1.1; }
.admin-shell .chip::before, .renter-shell .chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.admin-shell .chip.ok, .renter-shell .chip.ok { color: var(--ok); background: var(--ok-bg); }
.admin-shell .chip.warn, .renter-shell .chip.warn { color: var(--warn-soft); background: var(--warn-bg); }
.admin-shell .chip.bad, .renter-shell .chip.bad { color: var(--bad-soft); background: var(--bad-bg); }
.admin-shell .chip.muted, .renter-shell .chip.muted { color: var(--neutral); background: var(--neutral-bg); }
.admin-shell .chip.info, .renter-shell .chip.info { color: var(--info); background: var(--info-bg); }

/* Message thread (shared admin + renter) */
.admin-shell .thread, .renter-shell .thread { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.admin-shell .msg-row, .renter-shell .msg-row { display: flex; flex-direction: column; max-width: 74%; }
.admin-shell .msg-row.me, .renter-shell .msg-row.me { align-self: flex-end; align-items: flex-end; }
.admin-shell .msg-row.them, .renter-shell .msg-row.them { align-self: flex-start; align-items: flex-start; }
.admin-shell .bubble, .renter-shell .bubble { padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.admin-shell .msg-row.me .bubble, .renter-shell .msg-row.me .bubble { background: var(--teal); color: #fff; border-bottom-right-radius: 5px; }
.admin-shell .msg-row.them .bubble, .renter-shell .msg-row.them .bubble { background: var(--bg); border-bottom-left-radius: 5px; }
.admin-shell .msg-meta, .renter-shell .msg-meta { font-size: 11.5px; color: var(--muted); margin: 3px 4px 12px; }
.admin-shell .composer, .renter-shell .composer { display: flex; gap: 10px; margin-top: 14px; }
.admin-shell .composer textarea, .renter-shell .composer textarea { flex: 1; min-height: 48px; background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: 15px; resize: vertical; }
.admin-shell .composer textarea:focus, .renter-shell .composer textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(24, 75, 88, .12); }
/* Send sits compact at the bottom of the row — never stretch to the textarea height. */
.renter-shell .composer .btn { align-self: flex-end; width: auto; padding: 12px 24px; }

/* Stay card (shared admin booking-detail + renter) */
.admin-shell .staycard, .renter-shell .staycard { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); margin-bottom: 22px; }
.admin-shell .stayimg, .renter-shell .stayimg { position: relative; height: 230px; background: var(--teal); }
.admin-shell .stayimg img, .renter-shell .stayimg img { width: 100%; height: 100%; object-fit: cover; }
.admin-shell .stayimg .stayover, .renter-shell .stayimg .stayover { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 28px 20px; background: linear-gradient(transparent, rgba(2, 2, 2, .76)); color: #fff; }
.admin-shell .stayname, .renter-shell .stayname { font-size: 22px; font-weight: 700; line-height: 1.25; }
.admin-shell .staysub, .renter-shell .staysub { font-size: 14px; opacity: .92; margin-top: 5px; }
.admin-shell .stayfacts, .renter-shell .stayfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.admin-shell .stayfacts .fact, .renter-shell .stayfacts .fact { background: #fff; padding: 18px 22px; border-radius: 0; text-align: left; }
.admin-shell .stayfacts .fl, .renter-shell .stayfacts .fl { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.admin-shell .stayfacts .fv, .renter-shell .stayfacts .fv { font-size: 16px; font-weight: 700; margin-top: 6px; }

/* Summary rows (shared) */
.admin-shell .sumrow, .renter-shell .sumrow { display: flex; justify-content: space-between; gap: 24px; padding: 12px 16px; font-size: 14.5px; border-radius: 10px; }
.admin-shell .sumrow:nth-child(odd), .renter-shell .sumrow:nth-child(odd) { background: var(--bg); }
.admin-shell .sumrow .sk, .renter-shell .sumrow .sk { color: var(--muted); }
.admin-shell .sumrow .sv, .renter-shell .sumrow .sv { font-weight: 700; }
.admin-shell .sumrow .sv .fine, .renter-shell .sumrow .sv .fine { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
.admin-shell .sumrow.total, .renter-shell .sumrow.total { font-weight: 700; border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; padding-top: 15px; }
.admin-shell .sumrow.total .sk, .renter-shell .sumrow.total .sk { color: var(--ink); font-size: 16px; }
.admin-shell .sumrow.total .sv, .renter-shell .sumrow.total .sv { font-size: 19px; }

/* Light data table (shared) */
.admin-shell .tbl, .renter-shell .tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-shell .tbl th, .renter-shell .tbl th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; color: var(--muted); text-transform: uppercase; padding: 18px 12px 12px; border-bottom: 1px solid var(--line); }
.admin-shell .tbl td, .renter-shell .tbl td { padding: 15px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-shell .tbl tbody tr:last-child td, .renter-shell .tbl tbody tr:last-child td { border-bottom: none; }
.admin-shell .tbl .num, .renter-shell .tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-shell .tbl .strong, .renter-shell .tbl .strong { font-weight: 700; }
.admin-shell .tbl .sub, .renter-shell .tbl .sub { color: var(--muted); font-size: 13px; }
.admin-shell .tbl .prop, .renter-shell .tbl .prop { font-weight: 500; }

/* ===================== Admin-only components ===================== */
.admin-shell .hero { padding: 10px 0 24px; }
.admin-shell .herorow { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.admin-shell .herorow h1 { font-size: 46px; font-weight: 600; letter-spacing: -.5px; line-height: 1.05; }
.admin-shell .herorow h1 b { font-weight: 700; }

/* primary button + ghost */
.admin-shell .btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: 14px 24px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; border: none; transition: .18s; background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(24, 75, 88, .22); white-space: nowrap; text-decoration: none; }
.admin-shell .btn:hover { background: var(--teal-dark); transform: translateY(-1px); }
.admin-shell .btn svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 2.2; }
.admin-shell .btn.danger { background: var(--bad); color: #fff; box-shadow: none; }
.admin-shell .btn.danger:hover { filter: brightness(.93); transform: none; }
.admin-shell .btn.ghost { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); box-shadow: none; }
.admin-shell .btn.ghost:hover { background: rgba(24, 75, 88, .06); transform: none; }
.admin-shell .btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line2); color: var(--teal); border-radius: 999px; padding: 10px 18px; font-size: 13.5px; font-weight: 700; font-family: inherit; cursor: pointer; transition: .15s; white-space: nowrap; }
.admin-shell .btn-ghost:hover { border-color: var(--teal); background: rgba(24, 75, 88, .04); }
.admin-shell .btn-ghost svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 2; }
.admin-shell .btn-sm { display: inline-block; border: none; background: var(--teal); color: #fff; font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 11px 20px; cursor: pointer; font-family: inherit; transition: .15s; text-decoration: none; }
.admin-shell .btn-sm:hover { background: var(--teal-dark); }

/* crumbs */
.admin-shell .crumbs { padding: 10px 0 12px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-shell .crumbs a:hover { color: var(--ink); }
.admin-shell .crumbs b { color: var(--ink); font-weight: 700; }
.admin-shell .crumbs .sep { font-size: 11px; }

/* KPIs */
.admin-shell .kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 28px; }
.admin-shell .kpi { display: block; background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); transition: .22s; text-decoration: none; color: inherit; }
.admin-shell .kpi:hover { box-shadow: 0 14px 38px rgba(2, 2, 2, .10); transform: translateY(-3px); }
.admin-shell .kpi .kicon { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.admin-shell .kpi .kicon svg { width: 21px; height: 21px; fill: none; stroke-width: 1.9; }
.admin-shell .kpi .kv { font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -1.5px; }
.admin-shell .kpi .kl { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 10px; }
.admin-shell .kpi .kd { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.admin-shell .kpi.teal .kicon { background: rgba(24, 75, 88, .12); }
.admin-shell .kpi.teal .kicon svg { stroke: var(--teal); }
.admin-shell .kpi.teal .kv { color: var(--teal); }
.admin-shell .kpi.ok .kicon { background: var(--ok-bg); }
.admin-shell .kpi.ok .kicon svg { stroke: var(--ok); }
.admin-shell .kpi.ok .kv { color: var(--ok); }
.admin-shell .kpi.bad .kicon { background: var(--bad-bg); }
.admin-shell .kpi.bad .kicon svg { stroke: var(--bad); }
.admin-shell .kpi.bad .kv { color: var(--bad); }

/* panel + admin table (.atbl) */
.admin-shell .panel { background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); padding: 6px 10px 6px; margin-bottom: 28px; }
.admin-shell .panel-h { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px 14px; }
.admin-shell .panel-h h2 { font-size: 20px; font-weight: 700; }
.admin-shell .seeall { font-size: 14px; font-weight: 700; color: var(--teal); text-decoration: none; }
.admin-shell .seeall:hover { text-decoration: underline; }
.admin-shell .atbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-shell .atbl th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); padding: 18px 16px 12px; border-bottom: 1px solid var(--line); }
.admin-shell .atbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-shell .atbl tbody tr:last-child td { border-bottom: none; }
.admin-shell .atbl tbody tr { cursor: pointer; transition: .12s; }
.admin-shell .atbl tbody tr:hover { background: var(--bg); }
.admin-shell .atbl .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.admin-shell .atbl .sub { color: var(--muted); }
.admin-shell .atbl .open { color: var(--teal); font-weight: 700; white-space: nowrap; }

/* renter cell / avatar in tables */
.admin-shell .renter { display: flex; align-items: center; gap: 11px; }
.admin-shell .av { width: 34px; height: 34px; border-radius: 50%; background: rgba(24, 75, 88, .12); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.admin-shell .rcell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-shell .rcell img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; flex: none; }
.admin-shell .rcell .pn { font-weight: 600; line-height: 1.3; }

/* jump chips */
.admin-shell .jump { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.admin-shell .jlabel { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-right: 6px; }
.admin-shell .jchip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 600; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); transition: .15s; text-decoration: none; color: var(--ink); }
.admin-shell .jchip:hover { background: var(--bg); transform: translateY(-1px); }
.admin-shell .jchip .ar { color: var(--teal); font-weight: 700; }

/* toolbar / filter / search / counts */
.admin-shell .toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-shell .toolright { display: flex; align-items: center; gap: 16px; }
.admin-shell .toolhelp { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 18px; max-width: 820px; }
.admin-shell .toolrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-shell .filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.admin-shell .fpill { background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); border: none; font-family: inherit; transition: .15s; }
.admin-shell .fpill:hover { color: var(--ink); transform: translateY(-1px); }
.admin-shell .fpill.on { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(24, 75, 88, .22); }
.admin-shell .count { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.admin-shell .count b { color: var(--ink); font-weight: 700; }
.admin-shell .lcount { font-size: 14px; color: var(--muted); white-space: nowrap; }
.admin-shell .lcount b { color: var(--ink); font-weight: 700; }
.admin-shell .search { position: relative; flex: 1; max-width: 400px; min-width: 240px; }
.admin-shell .search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.admin-shell .search input { width: 100%; background: #fff; border: 1px solid transparent; border-radius: 999px; padding: 13px 18px 13px 44px; font-family: inherit; font-size: 14.5px; color: var(--ink); box-shadow: 0 1px 2px rgba(2, 2, 2, .05); }
.admin-shell .search input::placeholder { color: #9A98AB; }
.admin-shell .search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(24, 75, 88, .12); }

/* alert */
.admin-shell .alert { display: flex; gap: 12px; border-radius: 16px; padding: 16px 18px; font-size: 14px; line-height: 1.55; margin-bottom: 22px; }
.admin-shell .alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke-width: 1.8; fill: none; }
.admin-shell .alert.warn { background: var(--warn-bg); color: #5C4708; }
.admin-shell .alert.warn svg { stroke: var(--warn-soft); }
.admin-shell .alert.ok { background: var(--ok-bg); color: var(--ok); }
.admin-shell .alert.ok svg { stroke: var(--ok); }
.admin-shell .alert.bad { background: var(--bad-bg); color: var(--bad-soft); }
.admin-shell .alert.bad svg { stroke: var(--bad-soft); }
.admin-shell .alert b { font-weight: 700; }

/* badge (refunds / reconcile tables) */
.admin-shell .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 11px; line-height: 1.2; white-space: nowrap; }
.admin-shell .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.admin-shell .badge.ok { color: var(--ok); background: var(--ok-bg); }
.admin-shell .badge.warn { color: var(--warn-soft); background: var(--warn-bg); }
.admin-shell .badge.bad { color: var(--bad-soft); background: var(--bad-bg); }
.admin-shell .badge.muted { color: var(--neutral); background: var(--neutral-bg); }
.admin-shell .actionlink { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--teal); white-space: nowrap; }
.admin-shell .actionlink:hover { text-decoration: underline; }

/* tablecard wrapper */
.admin-shell .tablecard { background: var(--card); border-radius: 20px; padding: 6px 18px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); }
.admin-shell .sectiontitle { font-size: 22px; font-weight: 700; margin: 8px 0 16px; }
.admin-shell .titlerow { display: flex; align-items: center; gap: 18px; padding: 8px 0 24px; }
.admin-shell .titlerow .tmeta { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* fields / two-column layout shared inside admin detail pages */
.admin-shell .cols { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.admin-shell .maincol { min-width: 0; }
.admin-shell .bookcol { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 22px; }
.admin-shell .bookcol .block { margin-bottom: 0; }
.admin-shell .block { background: #fff; border-radius: 22px; padding: 28px; margin-bottom: 22px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); }
.admin-shell .h2 { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.admin-shell .h2.tight { margin-bottom: 10px; }
.admin-shell .h2sub { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.admin-shell .field { margin-bottom: 14px; }
.admin-shell .field > label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }

/* ----- Admin booking detail ----- */
.admin-shell .bhead { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); margin-bottom: 22px; }
.admin-shell .bhead-top { display: grid; grid-template-columns: 240px 1fr; gap: 0; }
.admin-shell .bhead-img { position: relative; min-height: 170px; }
.admin-shell .bhead-img img { width: 100%; height: 100%; object-fit: cover; }
.admin-shell .bhead-body { padding: 26px 30px; display: flex; flex-direction: column; }
.admin-shell .bhead-body .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 0; }
.admin-shell .bhead-body h1 { font-size: 24px; font-weight: 700; line-height: 1.25; margin-top: 10px; word-break: break-word; }
.admin-shell .bhead-body .bsub { font-size: 14px; color: var(--muted); margin-top: 8px; }
.admin-shell .bhead-body .brenter { font-size: 14px; margin-top: 6px; }
.admin-shell .bhead-body .brenter b { font-weight: 700; }
.admin-shell .bhead-body .btop-right { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-shell .facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.admin-shell .facts .fact { background: #fff; padding: 16px 20px; }
.admin-shell .facts .fl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.admin-shell .facts .fv { font-size: 15px; font-weight: 700; margin-top: 6px; }
.admin-shell .facts .fv.sm { font-size: 13px; }
.admin-shell .deflist .defrow { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: start; }
.admin-shell .deflist .defrow:first-child { padding-top: 0; }
.admin-shell .deflist .defrow:last-child { border-bottom: none; padding-bottom: 0; }
.admin-shell .defrow .dk { color: var(--muted); }
.admin-shell .defrow .dv { font-weight: 600; word-break: break-word; line-height: 1.55; }
.admin-shell .defrow .dv .soft { color: var(--muted); font-weight: 400; }
.admin-shell .docs a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.admin-shell .empty { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.admin-shell .empty::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--neutral-bg); flex: none; }
.admin-shell .sendhelp { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.admin-shell .composer .btn { width: auto; align-self: flex-end; padding: 12px 24px; }

/* ----- Admin properties list ----- */
.admin-shell .pcard { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); margin-bottom: 22px; transition: box-shadow .25s, transform .25s; }
.admin-shell .pcard:hover { box-shadow: 0 16px 44px rgba(2, 2, 2, .10); transform: translateY(-2px); }
.admin-shell .ptop { display: grid; grid-template-columns: 280px 1fr; }
.admin-shell .pimg { position: relative; min-height: 210px; background: var(--bg); }
.admin-shell .pimg img { width: 100%; height: 100%; object-fit: cover; }
.admin-shell .pimg .onimg { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }
.admin-shell .pimg .onimg .chip { background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(2, 2, 2, .12); }
.admin-shell .psummary { padding: 26px 30px; display: flex; flex-direction: column; min-width: 0; }
.admin-shell .psummary .ptitle { font-size: 23px; font-weight: 700; line-height: 1.25; max-width: 600px; }
.admin-shell .psummary .pmeta { font-size: 13.5px; color: var(--muted); margin-top: 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-shell .pstatus { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.admin-shell .pfoot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding-top: 22px; flex-wrap: wrap; }
.admin-shell .pprice { display: flex; align-items: baseline; gap: 7px; }
.admin-shell .pprice .amt { font-size: 27px; font-weight: 700; letter-spacing: -.5px; }
.admin-shell .pprice .per { font-size: 14px; color: var(--muted); }
.admin-shell .pprice.none .amt { font-size: 15px; font-weight: 600; color: var(--muted); }
.admin-shell .pacts { display: flex; align-items: center; gap: 10px; }
.admin-shell .pcard .btn-sm { border: 1.5px solid var(--teal); color: var(--teal); font-size: 13px; padding: 9px 18px; background: #fff; }
.admin-shell .pcard .btn-sm:hover { background: var(--teal); color: #fff; }
.admin-shell .lnk { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 8px 4px; text-decoration: none; }
.admin-shell .lnk:hover { color: var(--ink); }
.admin-shell .rooms { border-top: 1px solid var(--line); background: var(--bg); }
.admin-shell .rlabel { padding: 15px 30px 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.admin-shell .rroom { display: flex; align-items: center; gap: 16px; padding: 14px 30px; border-top: 1px solid var(--line); transition: .12s; }
.admin-shell .rroom:hover { background: #fff; }
.admin-shell .rthumb { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; }
.admin-shell .rinfo { flex: 1; min-width: 0; }
.admin-shell .rinfo .rn { font-weight: 600; }
.admin-shell .rinfo .ru { font-size: 11.5px; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; margin-top: 3px; }
.admin-shell .rrate { width: 150px; font-weight: 700; font-size: 14px; flex: none; }
.admin-shell .rrate.none { color: var(--muted); font-weight: 400; }
.admin-shell .rstatus { width: 170px; display: flex; gap: 6px; flex-wrap: wrap; flex: none; }
.admin-shell .racts { display: flex; gap: 13px; margin-left: auto; }
.admin-shell .racts a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.admin-shell .racts a.edit { color: var(--teal); }
.admin-shell .racts a:hover { color: var(--ink); }
.admin-shell .norooms { padding: 18px 30px; border-top: 1px solid var(--line); background: var(--bg); font-size: 13.5px; color: var(--muted); }
.admin-shell .none { color: var(--muted); font-weight: 400; }

/* ----- Admin property pricing detail ----- */
.admin-shell .phead { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.admin-shell .phead img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; flex: none; }
.admin-shell .phead h1 { font-size: 30px; font-weight: 700; letter-spacing: -.5px; line-height: 1.1; margin-top: 6px; }
.admin-shell .phead .psub { font-size: 13.5px; color: var(--muted); margin-top: 9px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-shell .formcol { min-width: 0; }
.admin-shell .sidecol { position: sticky; top: 24px; }
.admin-shell .formcard { background: #fff; border-radius: 22px; padding: 30px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); }
.admin-shell .fgroup { margin-bottom: 28px; }
.admin-shell .fgroup:last-of-type { margin-bottom: 18px; }
.admin-shell .fglabel { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 16px; }
.admin-shell .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.admin-shell .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.admin-shell .adorn { display: flex; align-items: center; background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 0 14px; transition: .15s; }
.admin-shell .adorn:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(24, 75, 88, .12); }
.admin-shell .adorn .sym { color: var(--muted); font-weight: 700; font-size: 15px; }
.admin-shell .adorn input { border: none; background: none; padding: 12px 8px; font-family: inherit; font-size: 15px; width: 100%; outline: none; color: var(--ink); }
.admin-shell .help { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: -4px; margin-bottom: 14px; }
.admin-shell .check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.admin-shell .check input { width: 18px; height: 18px; accent-color: var(--teal); margin-top: 1px; flex: none; }
.admin-shell .advanced { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.admin-shell .advanced summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--teal); display: flex; align-items: center; gap: 8px; }
.admin-shell .advanced summary::-webkit-details-marker { display: none; }
.admin-shell .advanced summary .tw { transition: .2s; }
.admin-shell .advanced[open] summary .tw { transform: rotate(180deg); }
.admin-shell .advanced .abody { font-size: 13.5px; color: var(--muted); line-height: 1.6; padding: 14px 0 4px; }
.admin-shell .preview { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 10px 34px rgba(2, 2, 2, .09); }
.admin-shell .preview h3 { font-size: 16px; font-weight: 700; }
.admin-shell .preview .psmall { font-size: 12.5px; color: var(--muted); margin-top: 4px; margin-bottom: 16px; line-height: 1.5; }
.admin-shell .tierrow { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-shell .tierrow .tk { color: var(--muted); }
.admin-shell .tierrow .tk .up { display: inline-block; font-size: 11px; font-weight: 700; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 1px 7px; margin-left: 6px; }
.admin-shell .tierrow .tv { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.admin-shell .feehead { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin: 18px 0 8px; }
.admin-shell .feerow { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13.5px; color: var(--muted); }
.admin-shell .feerow b { color: var(--ink); font-weight: 700; }

/* ----- Admin refunds ----- */
.admin-shell .refcard { background: var(--card); border-radius: 20px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); }
.admin-shell .refhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding: 30px 32px 24px; }
.admin-shell .refhead .rtitle { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.admin-shell .refhead .rprop { font-size: 24px; font-weight: 700; margin-top: 12px; line-height: 1.25; max-width: 640px; }
.admin-shell .refmeta { display: flex; flex-wrap: wrap; gap: 6px 32px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.admin-shell .refmeta b { color: var(--ink); font-weight: 600; }
.admin-shell .eligible { text-align: right; flex: none; }
.admin-shell .eligible .el { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.admin-shell .eligible .ev { font-size: 38px; font-weight: 700; line-height: 1; margin-top: 8px; color: var(--teal); }
.admin-shell .refsection { padding: 24px 32px; border-top: 1px solid var(--line); }
.admin-shell .refsection .h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.admin-shell .refsection .h3sub { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.admin-shell .totalline { font-size: 15px; font-weight: 500; margin: 18px 0 2px; }
.admin-shell .totalline b { font-weight: 700; }
.admin-shell .decisionbar { padding: 26px 32px 30px; border-top: 1px solid var(--line); background: var(--bg); }
.admin-shell .decisionbar .h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.admin-shell .decrow { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.admin-shell .decrow + .decrow { margin-top: 14px; }
.admin-shell .field.grow { flex: 1; min-width: 220px; }
.admin-shell .field.amtf { width: 190px; }
.admin-shell .amt { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line2); border-radius: 12px; padding: 0 14px; }
.admin-shell .amt > span { font-weight: 700; color: var(--muted); }
.admin-shell .amt .input { border: none; padding: 12px 0; }
.admin-shell .amt .input:focus { box-shadow: none; }

/* ----- Admin users list ----- */
.admin-shell .person { display: flex; align-items: center; gap: 12px; }
.admin-shell .avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: none; letter-spacing: .3px; }
.admin-shell .avatar.a1 { background: rgba(24, 75, 88, .12); color: var(--teal); }
.admin-shell .avatar.a2 { background: rgba(240, 199, 86, .32); color: #8a6a12; }
.admin-shell .avatar.a3 { background: rgba(48, 51, 78, .14); color: var(--navy); }
.admin-shell .avatar.a4 { background: var(--neutral-bg); color: var(--neutral); }
.admin-shell .avatar.lg { width: 62px; height: 62px; font-size: 21px; background: var(--neutral-bg); color: var(--neutral); }
.admin-shell .email { color: var(--muted); }
.admin-shell .emptyrow { padding: 34px 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ----- Admin user detail ----- */
.admin-shell .pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.admin-shell .pitem .pl { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.admin-shell .pitem .pv { font-weight: 600; word-break: break-word; }
.admin-shell .pitem .pv.uid { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; font-weight: 400; color: var(--muted); }
.admin-shell .vrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; font-weight: 600; }
.admin-shell .vsub { font-size: 12.5px; color: var(--muted); margin: -2px 0 6px; text-align: right; }
.admin-shell .vsep { height: 1px; background: var(--line); margin: 14px 0; }

/* ----- Admin settings ----- */
.admin-shell .scols { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.admin-shell .settingnav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; }
.admin-shell .settingnav a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 10px 14px; border-radius: 10px; transition: .15s; }
.admin-shell .settingnav a:hover { background: var(--card); color: var(--ink); }
.admin-shell .settingnav a.on { background: var(--card); color: var(--teal); box-shadow: 0 1px 2px rgba(2, 2, 2, .04); }
.admin-shell .sh { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.admin-shell .sdesc { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 700px; margin-bottom: 22px; }
.admin-shell .toggle-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.admin-shell .switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.admin-shell .switch input { opacity: 0; width: 0; height: 0; }
.admin-shell .slider { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .2s; cursor: pointer; }
.admin-shell .slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.admin-shell .switch input:checked + .slider { background: var(--teal); }
.admin-shell .switch input:checked + .slider::before { transform: translateX(20px); }
.admin-shell .tlabel { font-size: 15px; font-weight: 600; }
.admin-shell .tstatus { font-size: 13px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 7px; }

/* ----- Admin responsive ----- */
@media (max-width: 1100px) {
  .admin-shell .kpis { grid-template-columns: repeat(2, 1fr); }
  .admin-shell .herorow h1 { font-size: 34px; }
  .admin-shell .page-head h1 { font-size: 34px; }
}
@media (max-width: 720px) {
  .admin-shell .kpis { grid-template-columns: 1fr; }
  .admin-shell .panel, .admin-shell .tablecard { overflow-x: auto; }
  .admin-shell .atbl, .admin-shell .tbl { min-width: 760px; }
  .admin-shell .cols, .admin-shell .scols { grid-template-columns: 1fr; }
  .admin-shell .bookcol, .admin-shell .sidecol, .admin-shell .settingnav { position: static; }
  .admin-shell .bhead-top { grid-template-columns: 1fr; }
  .admin-shell .facts { grid-template-columns: repeat(2, 1fr); }
  .admin-shell .deflist .defrow { grid-template-columns: 1fr; gap: 4px; }
  .admin-shell .pgrid, .admin-shell .grid2, .admin-shell .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .admin-shell .ptop { grid-template-columns: 1fr; }
  .admin-shell .pimg { min-height: 170px; }
  .admin-shell .rroom { flex-wrap: wrap; }
  .admin-shell .rrate, .admin-shell .rstatus { width: auto; }
}

/* ===================== Renter-only components ===================== */
/* primary button + ghost + block modifier */
.renter-shell .btn { display: inline-flex; width: auto; align-items: center; justify-content: center; gap: 8px; text-align: center; border-radius: 999px; padding: 14px 26px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; border: none; background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(24, 75, 88, .22); transition: .18s; text-decoration: none; }
.renter-shell .btn:hover { background: var(--teal-dark); transform: translateY(-1px); }
.renter-shell .btn.ghost { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); box-shadow: none; margin-top: 0; }
.renter-shell .btn.ghost:hover { background: rgba(24, 75, 88, .06); }
.renter-shell .btn.full { display: flex; width: 100%; }

/* two-column booking layout (shared by renter detail screens) */
.renter-shell .cols { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.renter-shell .maincol { min-width: 0; }
.renter-shell .bookcol { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 22px; }
.renter-shell .bookcol .block { margin-bottom: 0; }
.renter-shell .block { background: #fff; border-radius: 22px; padding: 28px; margin-bottom: 22px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); }
.renter-shell .h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.renter-shell .h2sub { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; line-height: 1.6; }
.renter-shell .sectiontitle { font-size: 22px; font-weight: 700; margin: 8px 0 16px; }

/* fields */
.renter-shell .field { margin-bottom: 20px; }
.renter-shell .field > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.renter-shell select.input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2352516B' stroke-width='1.7' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.renter-shell textarea.input { min-height: 92px; resize: vertical; }

/* ----- Booking review ----- */
.renter-shell .req { font-size: 12px; font-weight: 700; color: var(--teal); margin-left: 6px; }
.renter-shell .opt { font-size: 12px; color: var(--muted); margin-left: 6px; }
.renter-shell .radio-row { display: flex; gap: 22px; font-size: 15px; }
.renter-shell .radio-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.renter-shell .radio-row input { accent-color: var(--teal); width: 18px; height: 18px; }
.renter-shell .ordercard { background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 10px 34px rgba(2, 2, 2, .09); }
.renter-shell .orderhead { display: flex; gap: 13px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.renter-shell .orderhead img { width: 54px; height: 54px; border-radius: 13px; object-fit: cover; flex: none; }
.renter-shell .orderhead .on { font-weight: 700; line-height: 1.25; }
.renter-shell .orderhead .os { font-size: 13px; color: var(--muted); margin-top: 3px; }
.renter-shell .orderrows { padding: 14px 0; border-bottom: 1px solid var(--line); }
.renter-shell .orow { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; color: var(--muted); }
.renter-shell .orow b { color: var(--ink); font-weight: 700; }
.renter-shell .ototal { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 20px; }
.renter-shell .ototal .otl { font-size: 14px; color: var(--muted); }
.renter-shell .ototal .amt { font-size: 28px; font-weight: 700; letter-spacing: -.5px; }
.renter-shell .onote { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.55; text-align: center; }
.renter-shell .otrust { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 14px; font-size: 12.5px; color: var(--ink); font-weight: 600; }
.renter-shell .otrust svg { width: 15px; height: 15px; stroke: var(--ok); fill: none; stroke-width: 2.4; }

/* ----- Renter bookings list ----- */
.renter-shell .statuscard { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #fff; border-radius: 22px; padding: 24px 28px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); margin-bottom: 26px; flex-wrap: wrap; }
.renter-shell .statuscard .sc-h { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.renter-shell .statuscard .sc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.renter-shell .statuscard .sc-msg { font-size: 13.5px; color: var(--muted); }
.renter-shell .panel { background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); padding: 6px 10px; }
.renter-shell .atbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.renter-shell .atbl th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); padding: 18px 16px 12px; border-bottom: 1px solid var(--line); }
.renter-shell .atbl td { padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.renter-shell .atbl tbody tr:last-child td { border-bottom: none; }
.renter-shell .atbl tbody tr { cursor: pointer; transition: .12s; }
.renter-shell .atbl tbody tr:hover { background: var(--bg); }
.renter-shell .atbl .prop { font-weight: 600; }
.renter-shell .atbl .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.renter-shell .atbl .open { color: var(--teal); font-weight: 700; white-space: nowrap; }

/* ----- Renter booking detail ----- */
.renter-shell .vsteps { display: flex; gap: 10px; flex-wrap: wrap; }
.renter-shell .vstep { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid rgba(46, 125, 50, .4); color: var(--ok); border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 600; }
.renter-shell .vstep .vc { width: 19px; height: 19px; border-radius: 50%; background: var(--ok); display: flex; align-items: center; justify-content: center; flex: none; }
.renter-shell .vstep .vc svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 2.6; }
/* state variants for the booking-progress pills (mockup only drew the done state) */
.renter-shell .vstep.active { border-color: var(--teal); color: var(--teal); }
.renter-shell .vstep.active .vc { background: var(--teal); }
.renter-shell .vstep.pending { border-color: var(--line); color: var(--muted); }
.renter-shell .vstep.pending .vc { background: var(--neutral-bg); }
.renter-shell .vstep.declined { border-color: rgba(192, 57, 43, .4); color: var(--bad-soft); }
.renter-shell .vstep.declined .vc { background: var(--bad); }
.renter-shell .leaduid { font-size: 13px; color: var(--muted); margin-top: 16px; }
.renter-shell .tbl .pay { color: var(--teal); font-weight: 700; white-space: nowrap; text-decoration: none; }
.renter-shell .tbl .pay:hover { text-decoration: underline; }
.renter-shell .docrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.renter-shell .docrow:last-of-type { border-bottom: none; }
.renter-shell .docrow svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.7; flex: none; }
.renter-shell .docrow a { font-weight: 700; color: var(--teal); text-decoration: none; }
.renter-shell .docrow a:hover { text-decoration: underline; }

/* ----- Renter profile ----- */
.renter-shell .formwrap { max-width: 920px; margin: 0 auto; }
.renter-shell .formcard { background: #fff; border-radius: 22px; padding: 32px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); }
.renter-shell .fgroup { margin-bottom: 28px; }
.renter-shell .fgroup:last-of-type { margin-bottom: 20px; }
.renter-shell .fglabel { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 16px; }
.renter-shell .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.renter-shell .grid .field { display: flex; flex-direction: column; }
.renter-shell .field.span2 { grid-column: span 2; }
.renter-shell .input[readonly] { background: var(--bg); color: var(--muted); }
.renter-shell .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ----- Renter verification ----- */
.renter-shell .vwrap { max-width: 820px; }
.renter-shell .stepcard { background: #fff; border-radius: 22px; padding: 30px; box-shadow: 0 1px 2px rgba(2, 2, 2, .05); margin-bottom: 20px; display: flex; gap: 22px; }
.renter-shell .stepnum { width: 40px; height: 40px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; background: var(--ok); color: #fff; }
.renter-shell .stepnum.pending { background: var(--warn-bg); color: var(--warn-soft); }
.renter-shell .stepbody { flex: 1; min-width: 0; }
.renter-shell .stephead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.renter-shell .stephead h2 { font-size: 19px; font-weight: 700; }
.renter-shell .stepbody .stxt { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 12px; }
.renter-shell .cleared { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ok); margin-top: 14px; }
.renter-shell .cleared svg { width: 18px; height: 18px; stroke: var(--ok); fill: none; stroke-width: 2.4; }
.renter-shell .drop { margin-top: 18px; border: 1.5px dashed var(--line2); border-radius: 16px; padding: 28px; text-align: center; background: var(--bg); cursor: pointer; transition: .15s; }
.renter-shell .drop:hover { border-color: var(--teal); background: #fff; }
.renter-shell .drop svg { width: 28px; height: 28px; stroke: var(--teal); fill: none; stroke-width: 1.7; margin-bottom: 10px; }
.renter-shell .drop .dt { font-size: 14px; font-weight: 700; }
.renter-shell .drop .ds { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

/* ----- Renter responsive ----- */
@media (max-width: 1100px) {
  .renter-shell .page-head h1 { font-size: 34px; }
}
@media (max-width: 1000px) {
  .renter-shell .cols { grid-template-columns: 1fr; }
  .renter-shell .bookcol { position: static; }
}
@media (max-width: 760px) {
  .renter-shell .panel { overflow-x: auto; }
  .renter-shell .atbl { min-width: 680px; }
  .renter-shell .grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .renter-shell .stayfacts { grid-template-columns: 1fr 1fr; }
  .renter-shell .stepcard { flex-direction: column; gap: 16px; }
}

/* =========================================================================
   Splash homepage (/) — designer index.html mockup. Full-viewport split:
   video left, search right. Bare chrome (base.html skips header/footer when
   BareChrome). Every rule scoped under .page-splash so the mockup's generic
   class names (.left/.right/.hero/.logo/.split…) don't clobber the browse
   grid + detail layouts above.
   ========================================================================= */
body.splash { padding: 10px; height: 100vh; overflow: hidden; }
.page-splash .split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: calc(100vh - 20px); }
.page-splash .left { position: relative; border-radius: 22px; overflow: hidden; background: #0c2d35; }
.page-splash .left video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-splash .grad { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(2,2,2,.20) 60%, rgba(2,2,2,.72)); }
.page-splash .vidcap { position: absolute; left: 34px; bottom: 32px; max-width: 450px; color: #fff; z-index: 2; }
.page-splash .vidcap .ve { font-size: 12px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.page-splash .vidcap p { font-size: 20px; line-height: 1.5; font-weight: 400; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.page-splash .right { background: #fff; border-radius: 22px; display: flex; flex-direction: column; padding: 28px 40px 26px; min-width: 0; }
.page-splash .rhead { display: flex; justify-content: space-between; align-items: center; }
.page-splash .logo { display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--ink); }
.page-splash .logo b { font-weight: 700; } .page-splash .logo span { font-weight: 400; }
.page-splash .logo img { width: 30px; height: 30px; }
.page-splash .login { font-size: 14px; font-weight: 700; color: var(--teal); border: 1.5px solid var(--line2); border-radius: 999px; padding: 9px 20px; transition: .15s; }
.page-splash .login:hover { border-color: var(--teal); background: rgba(24,75,88,.05); }
.page-splash .hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; max-width: 620px; margin: 0 auto; padding: 16px 0 20vh; }
.page-splash .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.page-splash .hero h1 { font-size: clamp(34px, 3.4vw, 50px); font-weight: 600; line-height: 1.04; letter-spacing: -.5px; }
.page-splash .hero h1 b { font-weight: 700; }
.page-splash .hero .sub { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 18px auto 0; }
.page-splash .searchbar { display: inline-flex; gap: 10px; margin-top: 30px; flex-wrap: nowrap; align-items: center; justify-content: center; padding: 3px; border-radius: 20px 60px 60px 20px; background: #fff; box-shadow: 0 5px 5px rgba(2, 2, 2, .1); }
.page-splash .fpill { background: var(--bg); border-radius: 13px; height: 52px; display: flex; align-items: center; gap: 9px; padding: 0 16px; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: .15s; border: 1px solid transparent; }
.page-splash .fpill:hover { border-color: var(--line2); }
.page-splash .fpill svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 1.6; flex: none; }
.page-splash .fpill select, .page-splash .fpill input { background: none; border: none; font: inherit; color: var(--ink); cursor: pointer; outline: none; max-width: 180px; }
.page-splash .cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--teal); color: #fff; border-radius: 999px; height: 52px; padding: 0 26px; font-size: 15.5px; font-weight: 700; box-shadow: 0 10px 26px rgba(24, 75, 88, .26); transition: .18s; border: none; font-family: inherit; cursor: pointer; white-space: nowrap; flex: none; }
.page-splash .cta:hover { background: var(--teal-dark); transform: translateY(-2px); }
.page-splash .cta svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.4; }
.page-splash .rfoot { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.page-splash .rfoot a:hover { color: var(--ink); }
.page-splash .rfoot .copy { margin-left: auto; color: #9A98AB; }
@media (max-width: 1180px) { .page-splash .searchbar { flex-wrap: wrap; border-radius: 20px; } }
@media (max-width: 900px) {
  body.splash { height: auto; overflow: auto; }
  .page-splash .split { grid-template-columns: 1fr; height: auto; }
  .page-splash .left { height: 42vh; min-height: 300px; }
  .page-splash .right { padding: 26px 24px; }
  .page-splash .searchbar { display: flex; width: 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .page-splash .searchbar .fpill, .page-splash .searchbar .cta { width: 100%; }
  .page-splash .fpill select, .page-splash .fpill input { max-width: none; flex: 1; }
  .page-splash .rfoot .copy { margin-left: 0; width: 100%; margin-top: 6px; }
}
