/* HUNIKITA — gaya bersama prototipe & aplikasi. Warna dan font sesuai spesifikasi bagian 5. */
/* Layout: navy top nav + prototype strip → routed views (beranda, daftar + filter rail, detail 2 kolom, peta, dashboard dengan tab) → footer; bottom nav di mobile */
:root {
  --navy: #17324D; --emerald: #179B76; --emerald-strong: #12805F; --amber: #F5B942; --bg: #F4F7F8;
  --surface: #FFFFFF; --surface-2: #EAF0F2; --ink: #14263A; --heading: #17324D; --muted: #55677A; --line: #D8E2E7;
  --on-strong: #FFFFFF; --on-amber: #1A2B3C;
  --emerald-soft: #E1F3EC; --navy-soft: #E3EAF1; --amber-soft: #FDF0D3; --amber-ink: #6B4A00;
  --danger: #B5371F; --danger-soft: #FBE6E1; --warn: #8A5700; --warn-soft: #FCEFD5; --info: #1D5D8A; --info-soft: #E1EEF7;
  --nav-bg: #17324D; --nav-ink: #FFFFFF; --nav-muted: #BCCAD7; --nav-hover: rgba(255,255,255,.08);
  --map-bg: #E8F0F2; --map-grid: #D3E0E4;
  --shadow: 0 1px 2px rgba(23,50,77,.06), 0 6px 20px rgba(23,50,77,.07);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 12px; --r-sm: 8px; --top: calc(env(safe-area-inset-top, 0px) + 76px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --emerald: #34C495; --emerald-strong: #3CCB9C; --bg: #0C1823; --surface: #12212E; --surface-2: #1A2C3B;
    --ink: #E3EBF0; --heading: #F0F5F8; --muted: #98AABA; --line: #253949; --on-strong: #06261C;
    --emerald-soft: #123A2F; --navy-soft: #1B3045; --amber-soft: #3A2D10; --amber-ink: #F5CE72;
    --danger: #F08470; --danger-soft: #3E1D18; --warn: #F2B654; --warn-soft: #3A2B10; --info: #7DB9E4; --info-soft: #15304A;
    --nav-bg: #0A1520; --nav-ink: #F0F5F8; --nav-muted: #93A6B6; --map-bg: #132532; --map-grid: #1F3647;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --emerald: #34C495; --emerald-strong: #3CCB9C; --bg: #0C1823; --surface: #12212E; --surface-2: #1A2C3B;
  --ink: #E3EBF0; --heading: #F0F5F8; --muted: #98AABA; --line: #253949; --on-strong: #06261C;
  --emerald-soft: #123A2F; --navy-soft: #1B3045; --amber-soft: #3A2D10; --amber-ink: #F5CE72;
  --danger: #F08470; --danger-soft: #3E1D18; --warn: #F2B654; --warn-soft: #3A2B10; --info: #7DB9E4; --info-soft: #15304A;
  --nav-bg: #0A1520; --nav-ink: #F0F5F8; --nav-muted: #93A6B6; --map-bg: #132532; --map-grid: #1F3647;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.3); color-scheme: dark;
}
* { box-sizing: border-box; }
html.lock { overflow: hidden; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--nav-bg); }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(25px, 3.2vw, 34px); } h2 { font-size: 21px; } h3 { font-size: 16.5px; font-weight: 700; } h4 { font-size: 15px; font-weight: 700; }
p { margin: 0; }
a { color: var(--emerald-strong); }
code { font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.page { padding-block: 22px 48px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-strong); }
.label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ic { flex: none; }

/* prototype strip + header */
.proto { background: var(--amber-soft); color: var(--amber-ink); font-size: 12.5px; }
.proto-in { display: flex; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; padding-block: 6px; }
.proto a, .proto button { color: inherit; font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-size: inherit; }
.proto-links { display: flex; gap: 14px; }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--nav-bg); color: var(--nav-ink); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--nav-ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: .03em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--emerald); display: grid; place-items: center; color: #fff; }
.prov { font-size: 9.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--amber); border: 1px solid currentColor; border-radius: 4px; padding: 1px 5px; }
.nav-desk { display: flex; gap: 2px; margin-left: 6px; }
.nav-desk a { white-space: nowrap; color: var(--nav-muted); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.nav-desk a:hover { color: var(--nav-ink); background: var(--nav-hover); }
.nav-desk a.on { color: var(--nav-ink); background: var(--nav-hover); box-shadow: inset 0 -2px 0 var(--amber); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-login { color: var(--nav-ink); font-weight: 700; text-decoration: none; font-size: 14px; padding: 8px 6px; }
.acct { display: flex; align-items: center; gap: 8px; color: var(--nav-ink); text-decoration: none; }
.acct-t { display: flex; flex-direction: column; line-height: 1.15; font-size: 13px; }
.acct-t small { color: var(--nav-muted); font-size: 11.5px; }
.bell { position: relative; color: var(--nav-ink); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.bell:hover { background: var(--nav-hover); }
.bell-n { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--amber); color: var(--on-amber); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.show-xs { display: none; }
@media (max-width: 900px) { .nav-desk { display: none; } body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 600px) { .acct-t, .prov { display: none; } .hide-xs { display: none; } .show-xs { display: inline; } }

/* buttons, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: filter .15s, background .15s; }
.btn-primary { background: var(--emerald-strong); color: var(--on-strong); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-amber { background: var(--amber); color: var(--on-amber); }
.btn-amber:hover { filter: brightness(1.05); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn-lg { min-height: 48px; padding: 12px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-link { background: none; border: 0; padding: 0; color: var(--emerald-strong); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.p-ok { background: var(--emerald-soft); color: var(--emerald-strong); }
.p-warn { background: var(--warn-soft); color: var(--warn); }
.p-bad { background: var(--danger-soft); color: var(--danger); }
.p-info { background: var(--info-soft); color: var(--info); }
.p-muted { background: var(--surface-2); color: var(--muted); }
.p-navy { background: var(--navy-soft); color: var(--heading); }
.sim { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; border: 1px dashed var(--warn); color: var(--warn); background: var(--warn-soft); vertical-align: middle; line-height: 1.5; }
.count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--amber); color: var(--on-amber); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.note { font-size: 13.5px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); }
.note.warn { background: var(--warn-soft); color: var(--warn); }
.note.info { background: var(--info-soft); color: var(--info); }
.note.ok { background: var(--emerald-soft); color: var(--emerald-strong); }
.note.bad { background: var(--danger-soft); color: var(--danger); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .flabel, legend { font-size: 13px; font-weight: 700; color: var(--ink); padding: 0; }
.req { color: var(--danger); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
select:disabled, input:disabled { opacity: .6; }
textarea { min-height: 96px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 1px var(--danger); }
.err { color: var(--danger); font-size: 13px; font-weight: 600; }
.hint { color: var(--muted); font-size: 12.5px; }
.fs { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 7px; }
.check { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; background: var(--surface); }
.check:has(input:checked) { border-color: var(--emerald-strong); background: var(--emerald-soft); color: var(--emerald-strong); font-weight: 700; }
.check input { accent-color: var(--emerald-strong); margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rcard { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 14px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; background: var(--surface); }
.rcard > span { display: flex; flex-direction: column; gap: 2px; }
.rcard:has(input:checked) { border-color: var(--emerald-strong); background: var(--emerald-soft); }
.rcard input { margin-top: 3px; accent-color: var(--emerald-strong); }
@media (max-width: 480px) { .radio-cards { grid-template-columns: 1fr; } }

/* hero & home */
.hero { background: var(--nav-bg); color: var(--nav-ink); padding-block: 40px 46px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--nav-ink); font-size: clamp(28px, 4vw, 42px); }
.hero .hero-lead { color: var(--nav-muted); font-size: 16.5px; max-width: 50ch; margin-top: 14px; }
.eyebrow.on-dark { color: var(--amber); margin-bottom: 12px; }
.hero-search { background: var(--surface); color: var(--ink); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 480px) { .hs-grid { grid-template-columns: 1fr; } }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 4px; gap: 4px; }
.seg button, .seg-opt span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; padding: 7px 12px; border-radius: 7px; font-weight: 700; font-size: 13.5px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"], .seg-opt input:checked + span { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
.seg .seg-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 7px; font-weight: 700; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.seg .seg-link:hover { color: var(--ink); }
.seg .seg-link[aria-current="page"] { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--emerald); }
.seg-lg { display: grid; grid-template-columns: 1fr 1fr; }
.seg-lg span { padding: 10px; width: 100%; }
.section { padding-block: 26px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }
.city-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.city { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.city:hover { border-color: var(--emerald); }
.city span { font-size: 12.5px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald-strong); font-weight: 800; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.cta { background: var(--navy-soft); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; }
.cta .row-acts { justify-content: flex-end; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 22px; } .cta .row-acts { justify-content: flex-start; } }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ic { color: var(--emerald-strong); margin-top: 3px; }

/* property cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pcard-media { display: block; aspect-ratio: 16 / 10; max-width: 100%; background: var(--surface-2); overflow: hidden; }
.pcard-media svg, .pcard-media img, .media-fill svg, .media-fill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-cat { position: absolute; top: 10px; left: 10px; background: var(--nav-bg); color: var(--nav-ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.fav-btn { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.fav-btn[aria-pressed="true"] { color: var(--danger); }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pcard h3 a { color: var(--heading); text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; }
.loc { display: flex; gap: 4px; align-items: center; color: var(--muted); font-size: 13px; }
.price { font-weight: 800; font-size: 19px; color: var(--heading); font-variant-numeric: tabular-nums; }
.price small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.per-month { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.feats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feats li { font-size: 12px; background: var(--surface-2); padding: 3px 8px; border-radius: 6px; }
.pcard .btn-block { margin-top: auto; }

/* listing */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 8px 0 14px; }
.list-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.field-inline { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.field-inline select { width: auto; min-height: 38px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--emerald); }
.list-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); position: sticky; top: var(--top); max-height: calc(100vh - 96px); display: flex; flex-direction: column; }
.filters > form { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.filters-head h2 { font-size: 17px; }
.filters-body { padding: 16px; display: flex; flex-direction: column; gap: 18px; overflow: auto; flex: 1 1 auto; min-height: 0; overscroll-behavior: contain; }
.filters-foot { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.filters-foot .btn { flex: 1; }
.only-m { display: none !important; }
.drawer-back { display: none; }
@media (max-width: 900px) {
  .list-layout { grid-template-columns: minmax(0, 1fr); }
  .only-m { display: inline-flex !important; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); max-height: none; height: 100%; border-radius: 0; z-index: 70; transform: translateX(105%); visibility: hidden; transition: transform .2s, visibility .2s; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .filters.open { transform: none; visibility: visible; }
  .drawer-back { display: block; position: fixed; inset: 0; background: rgba(8,20,32,.5); z-index: 69; }
}
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; font-weight: 700; cursor: pointer; display: inline-grid; place-items: center; }
.pager button[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { text-align: center; padding: 44px 20px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty p { max-width: 46ch; color: var(--muted); }

/* map */
.map-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--map-bg); }
.map-wrap > svg { display: block; width: 100%; height: auto; }
.map-note { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 8px 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.dot.kos { background: var(--emerald-strong); } .dot.kontrakan { background: var(--amber); } .dot.area { border: 1.5px dashed var(--muted); }
.m-grid { stroke: var(--map-grid); stroke-width: 1; }
.m-kec { fill: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.m-road { stroke: var(--surface); stroke-width: 7; fill: none; stroke-linecap: round; opacity: .8; }
.pin { cursor: pointer; }
.pin-shape { stroke: var(--surface); stroke-width: 2; }
.pin.kos .pin-shape { fill: var(--emerald-strong); } .pin.kontrakan .pin-shape { fill: var(--amber); }
.pin-dot { fill: var(--surface); }
.pin-area { fill: var(--emerald); fill-opacity: .13; stroke: var(--emerald-strong); stroke-dasharray: 4 3; stroke-width: 1.2; }
.pin.kontrakan .pin-area { fill: var(--amber); stroke: var(--warn); }
.pin.sel .pin-shape, .pin:focus-visible .pin-shape { stroke: var(--ink); stroke-width: 3; }
.pin:focus { outline: none; }
.cluster { cursor: pointer; }
.cluster:focus { outline: none; }
.cl-c { fill: var(--emerald-strong); fill-opacity: .92; stroke: var(--surface); stroke-width: 4; }
.cluster:hover .cl-c, .cluster:focus-visible .cl-c { stroke: var(--ink); }
.cl-n { fill: var(--on-strong); font-weight: 800; font-size: 19px; text-anchor: middle; }
.cl-l { fill: var(--ink); font-weight: 700; font-size: 14px; text-anchor: middle; }
.map-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .map-split { grid-template-columns: minmax(0, 1fr); } }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 600px; overflow: auto; }
.mini { width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; cursor: pointer; }
.mini.on { border-color: var(--emerald-strong); box-shadow: 0 0 0 2px var(--emerald-soft); }
.mini-t { font-weight: 700; } .mini-s { font-size: 12.5px; color: var(--muted); }
.minicard { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 12px; }
.minicard .media-fill { aspect-ratio: 4 / 3; max-width: 100%; }
.mc-b { padding: 12px 14px 12px 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; align-items: flex-start; }
@media (max-width: 480px) { .minicard { grid-template-columns: 1fr; } .mc-b { padding: 0 14px 14px; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.toolbar .field { width: 180px; }
@media (max-width: 560px) { .toolbar .field { width: calc(50% - 5px); } }

/* detail */
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "gal side" "head side" "body side"; gap: 20px 28px; align-items: start; }
.d-gal { grid-area: gal; } .d-headx { grid-area: head; display: flex; flex-direction: column; gap: 8px; }
.d-side { grid-area: side; position: sticky; top: var(--top); }
.d-body { grid-area: body; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "head" "side" "body"; } .d-side { position: static; } }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.gallery { display: flex; flex-direction: column; gap: 8px; }
.g-main { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.g-main svg, .g-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.g-nav.prev { left: 10px; } .g-nav.next { right: 10px; }
.g-cap { position: absolute; bottom: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.g-cap span { background: rgba(10,22,32,.74); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.g-thumb { flex: none; width: 96px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.g-thumb.on { border-color: var(--emerald-strong); }
.g-thumb svg, .g-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ph-empty { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 12.5px; text-align: center; padding: 10px; background: var(--surface-2); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.box > h2 { font-size: 18px; }
.price-box .price { font-size: 26px; }
.av-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 0; }
.spec-grid div { background: var(--surface); padding: 10px 12px; }
.spec-grid dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.spec-grid dd { margin: 2px 0 0; font-weight: 700; }
.fac-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.fac-list li { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.fac-list .ic { color: var(--emerald-strong); }
.rules { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.owner-card { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-soft); color: var(--heading); display: grid; place-items: center; font-weight: 800; flex: none; }
.acct .avatar { width: 34px; height: 34px; background: var(--emerald); color: #fff; font-size: 13px; }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .nowrap { white-space: nowrap; }

/* dashboards */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.dash-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: var(--top); }
.dash-tab { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 700; color: var(--muted); cursor: pointer; font-size: 14px; }
.dash-tab:hover { color: var(--ink); }
.dash-tab[aria-current="true"] { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
@media (max-width: 900px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } .dash-tabs { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 4px; } .dash-tab { white-space: nowrap; } }
.dash-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.stat dt { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat dd { margin: 4px 0 0; font-size: 26px; font-weight: 800; color: var(--heading); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat dd small { font-size: 12px; color: var(--muted); font-weight: 600; display: block; margin-top: 4px; }
.todo { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.todo li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.todo li:last-child { border-bottom: 0; }
.todo li > span { min-width: 0; flex: 1 1 260px; }
.orow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 250px; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.orow .media-fill { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; display: block; max-width: 100%; }
.orow-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.orow-side { display: flex; flex-direction: column; gap: 8px; }
.orow-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.ostats { display: flex; gap: 20px; margin: 4px 0 0; flex-wrap: wrap; }
.ostats dt { font-size: 12px; color: var(--muted); }
.ostats dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.quick { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.quick-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.quick-row > span { min-width: 160px; font-weight: 600; }
@media (max-width: 900px) { .orow { grid-template-columns: 110px minmax(0, 1fr); } .orow-side { grid-column: 1 / -1; } }
.warnline { font-size: 13px; color: var(--warn); background: var(--warn-soft); padding: 6px 10px; border-radius: 6px; }
.badline { font-size: 13px; color: var(--danger); background: var(--danger-soft); padding: 6px 10px; border-radius: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: var(--surface-2); cursor: pointer; font-weight: 800; font-size: 16px; }
.stepper output { min-width: 70px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; }
.lead { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.lead-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.lead-top > div { min-width: 0; }
.lead h3 a { color: var(--heading); }
.conf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--surface-2); border-radius: var(--r-sm); padding: 10px 12px; }
.conf-grid > div { display: flex; flex-direction: column; gap: 2px; }
.conf { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.conf.deal { color: var(--emerald-strong); } .conf.nodeal { color: var(--danger); }
@media (max-width: 520px) { .conf-grid { grid-template-columns: 1fr; } }
.contrib { border-radius: var(--r-sm); padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--amber-soft); }
.contrib-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.contrib-row .field { width: 170px; }
.contrib-row .chips { margin: 0; }
.contrib.done { flex-direction: row; align-items: center; gap: 8px; background: var(--emerald-soft); color: var(--emerald-strong); font-weight: 600; font-size: 14px; }
.hist { font-size: 13px; }
.hist summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.hist ol { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.inline-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; background: var(--surface-2); padding: 12px; border-radius: var(--r-sm); }
.inline-form .field { width: 170px; }
.msgs { display: grid; grid-template-columns: 270px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; min-height: 440px; }
.convs { border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: auto; }
.conv { text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.conv.on { background: var(--surface-2); }
.conv-top { display: flex; justify-content: space-between; gap: 6px; align-items: center; font-weight: 700; }
.unread { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); flex: none; }
.conv-last { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.thread { display: flex; flex-direction: column; min-width: 0; }
.thread-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.bubbles { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: auto; max-height: 420px; }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; overflow-wrap: anywhere; }
.bubble.me { align-self: flex-end; background: var(--emerald-soft); }
.bubble time { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.send { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.send textarea { min-height: 44px; height: 44px; }
@media (max-width: 760px) { .msgs { grid-template-columns: minmax(0, 1fr); } .convs { border-right: 0; border-bottom: 1px solid var(--line); max-height: 220px; } }
.chart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.chart-y { height: 180px; display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; margin-top: 16px; }
.chart-y span { transform: translateY(-50%); } .chart-y span:last-child { transform: translateY(50%); }
.chart-plot { height: 180px; margin-top: 16px; display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; border-bottom: 1px solid var(--muted); background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 50%; }
.bar { position: relative; background: var(--emerald); opacity: .55; border-radius: 4px 4px 0 0; height: var(--h); min-height: 2px; }
.bar.last { opacity: 1; background: var(--emerald-strong); }
.bar span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; padding-bottom: 2px; white-space: nowrap; }
.bar.last span { color: var(--ink); font-weight: 800; }
.chart-x { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 6px; white-space: nowrap; }
@media (max-width: 640px) { .bar:not(.last) span { display: none; } .chart-x span:nth-child(odd) { visibility: hidden; } }
.tree details { margin-left: 14px; } .tree summary { cursor: pointer; padding: 4px 0; }
.tree > details { margin-left: 0; }

/* wizard */
.wiz { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.wsteps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; counter-reset: w; position: sticky; top: var(--top); }
.wsteps li { counter-increment: w; }
.wstep { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; font-weight: 700; color: var(--muted); cursor: pointer; font-size: 14px; }
.wstep::before { content: counter(w); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); font-size: 12.5px; flex: none; }
.wstep.done::before { content: "✓"; background: var(--emerald-soft); border-color: var(--emerald-strong); color: var(--emerald-strong); }
.wstep.bad::before { content: "!"; background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
.wstep[aria-current="step"] { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
.wstep[aria-current="step"]::before { background: var(--emerald-strong); border-color: var(--emerald-strong); color: var(--on-strong); content: counter(w); }
.wiz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.wiz-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 900px) { .wiz { grid-template-columns: minmax(0, 1fr); } .wsteps { flex-direction: row; overflow-x: auto; position: static; } .wstep { white-space: nowrap; } .wiz-card { padding: 16px; } }
.cls-card { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.cls-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.upload-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px; border: 2px dashed var(--line); border-radius: var(--r); cursor: pointer; text-align: center; color: var(--muted); }
.upload-drop b { color: var(--ink); }
.upload-drop:hover { border-color: var(--emerald); }
#w-upload:focus-visible + .upload-drop { outline: 2px solid var(--emerald); }
.ph-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ph-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; }
.ph-item .media-fill { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.ph-item > div:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.ph-acts { display: flex; gap: 4px; flex-wrap: wrap; }
@media (max-width: 560px) { .ph-item { grid-template-columns: 80px minmax(0, 1fr); } .ph-acts { grid-column: 1 / -1; } }
.err-sum { background: var(--danger-soft); color: var(--danger); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; }
.preview-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 760px) { .preview-grid { grid-template-columns: minmax(0, 1fr); } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; }
.checklist .ok { color: var(--emerald-strong); } .checklist .no { color: var(--danger); }

/* auth, misc pages */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; max-width: 980px; margin: 0 auto; }
@media (max-width: 860px) { .auth { grid-template-columns: minmax(0, 1fr); } }
.demo-btn { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; display: flex; gap: 12px; align-items: center; }
.demo-btn:hover { border-color: var(--emerald); }
.demo-btn span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.demo-btn b { color: var(--ink); font-size: 14px; }
.gate { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq p { margin-top: 8px; color: var(--muted); }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 12px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
pre.msg { white-space: pre-wrap; word-break: break-word; margin: 0; background: var(--surface-2); padding: 12px; border-radius: 8px; font-family: inherit; font-size: 14px; }

/* modal, toast, footer, bottom nav */
.modal-back { position: fixed; inset: 0; background: rgba(8,20,32,.55); z-index: 80; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal { background: var(--surface); color: var(--ink); border-radius: 16px; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal.wide { width: min(680px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-head h2 { font-size: 18px; }
.modal-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; z-index: 100; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
@media (min-width: 1181px) { .toast { bottom: 24px; } }
.foot { background: var(--surface); border-top: 1px solid var(--line); margin-top: 24px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding-block: 28px; }
.foot h4 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--ink); text-decoration: none; font-size: 14px; }
.foot a:hover { text-decoration: underline; }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.bnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-decoration: none; }
.bnav a.on { color: var(--emerald-strong); }
@media (min-width: 1181px) { .bnav { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* tambahan aplikasi */
html, body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.flash { margin-top: 16px; }
.inline { display: inline; }
.nav-right form { margin: 0; }
.linklike { background: none; border: 0; padding: 0; color: var(--nav-ink); font-weight: 700; cursor: pointer; font-size: 14px; }

/* Formulir ringkas: subjudul bagian dan isian opsional yang bisa dilipat */
.sub-h { font-size: 15px; margin: 6px 0 -4px; color: var(--heading); }
details.opt { border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 10px 14px; }
details.opt > summary { cursor: pointer; font-weight: 700; color: var(--muted); font-size: 14px; }
details.opt[open] > summary { margin-bottom: 10px; }
.role-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -6px 0 10px; }
.role-switch a { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--muted); }
.role-switch a[aria-current="page"] { background: var(--heading); border-color: var(--heading); color: var(--surface); }
.copy-box { margin-top: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); user-select: all; }
.act-detail summary { cursor: pointer; color: var(--emerald-strong); font-weight: 700; margin-top: 4px; }
.act-detail ul { margin: 6px 0 0; padding-left: 16px; display: grid; gap: 2px; min-width: 260px; }

/* Saran kampus/sekolah */
.campus-picker { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); max-height: 320px; overflow: auto; }
.ac-list li { padding: 8px 10px; border-radius: 6px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.ac-list li span { font-size: 12px; color: var(--muted); }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--surface-2); }
.ac-list li.ac-none { cursor: default; color: var(--muted); font-size: 13px; }
.dist { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--emerald-strong); }
.hs-wide { grid-column: 1 / -1; }

/* Alat ukur jarak di peta */
.hk-measure { background: #fff; }
.hk-measure .hk-measure-btn { display: grid; place-items: center; width: 30px; height: 30px; color: #17324D; }
.hk-measure .hk-measure-btn.on { background: #17324D; color: #fff; }
.hk-measure-panel { padding: 8px 10px; width: 220px; font: 13px/1.4 var(--font, sans-serif); color: #14263A; border-top: 1px solid #ccc; }
.hk-measure-total { margin: 0 0 2px; font-weight: 800; }
.hk-measure-hint { margin: 0 0 6px; color: #55677A; font-size: 12px; }
.hk-measure-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.hk-measure-acts button { border: 1px solid #D8E2E7; background: #F4F7F8; border-radius: 6px; padding: 4px 8px; font: inherit; font-size: 12px; cursor: pointer; color: #14263A; }
.hk-measuring { cursor: crosshair; }
.hk-measuring .leaflet-interactive { cursor: crosshair; }
.hk-measure-tip { font-weight: 800; color: #17324D; }
.consent-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.legal h2 { margin-top: 10px; }
.legal h3 { font-size: 16px; margin-top: 4px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; }

/* Kartu ringkas di HP: foto kecil di kiri, info di kanan, seluruh kartu bisa diketuk (4–5 properti per layar) */
@media (max-width: 640px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pcard { flex-direction: row; min-height: 132px; }
  .pcard-media { flex: 0 0 116px; aspect-ratio: auto; }
  .pcard-media .ph-empty span { font-size: 11px; }
  .pcard-cat { top: 6px; left: 6px; font-size: 9.5px; padding: 3px 6px; }
  .pcard-body { padding: 10px 12px; gap: 4px; min-width: 0; }
  .pcard-top { flex-wrap: wrap; gap: 4px 8px; }
  .pcard-top .pill { font-size: 11px; padding: 2px 8px; }
  .pcard-top .muted { display: none; }
  .pcard h3 { font-size: 15px; line-height: 1.3; }
  .pcard h3 a::after { content: ""; position: absolute; inset: 0; }
  .pcard .loc { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .pcard .price { font-size: 16px; }
  .pcard .feats li { font-size: 11px; padding: 2px 6px; }
  .pcard .feats li:nth-child(n+3) { display: none; }
  .pcard .btn-block { display: none; }
  .pcard .dist { font-size: 12px; }
}

/* Detail properti di HP: bilah harga + WhatsApp yang selalu terlihat (di atas navigasi bawah) */
.m-cta { display: none; }
@media (max-width: 960px) {
  .m-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; z-index: 45;
    bottom: calc(57px + env(safe-area-inset-bottom, 0px)); padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
  .m-cta-price { display: flex; flex-direction: column; line-height: 1.2; }
  .m-cta-price span { font-size: 11.5px; color: var(--muted); }
  .m-cta-price b { font-size: 18px; color: var(--heading); }
  .m-cta-price b small { font-size: 12px; font-weight: 600; color: var(--muted); }
  .m-cta .btn { white-space: nowrap; }
  .d-body { padding-bottom: 72px; }
}
@media (min-width: 901px) and (max-width: 960px) { .m-cta { bottom: 0; } }

/* Tabel kamar bersusun di HP: setiap kelas kamar menjadi kotak dengan label */
@media (max-width: 640px) {
  .tbl-stack thead { display: none; }
  .tbl-stack, .tbl-stack tbody, .tbl-stack tr, .tbl-stack td { display: block; width: 100%; }
  .tbl-stack tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .tbl-stack tr:last-child { border-bottom: 0; }
  .tbl-stack td { border: 0; padding: 3px 12px; text-align: left; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; }
  .tbl-stack td::before { content: attr(data-label); font-size: 12px; font-weight: 700; color: var(--muted); }
  .tbl-stack td.r { text-align: left; }
  .tbl-stack td:first-child { font-size: 15px; }
}

/* Beranda: kotak pencarian ringkas dan langsung terlihat di HP */
.hs-or { display: flex; align-items: center; gap: 10px; margin: -4px 0; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.hs-or::before, .hs-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hs-two { grid-template-columns: 1fr 1fr; }
.hs-hint { margin-top: -6px; }
@media (max-width: 900px) {
  .hero { padding-block: 18px 22px; }
  .hero-in { gap: 14px; }
  .hero h1 { font-size: 23px; line-height: 1.25; }
  .hero .eyebrow { margin-bottom: 6px; }
  .hero .hero-lead { display: none; }
  .hero-search { padding: 14px; gap: 12px; }
}
@media (max-width: 480px) { .hs-two { grid-template-columns: 1fr 1fr; gap: 8px; } }
/* Akun di bilah atas: di komputer "Keluar" di samping nama; di HP tulisan kecil di bawah lingkaran inisial */
.acct-wrap { display: flex; align-items: center; gap: 10px; }
.acct-wrap form { margin: 0; }
@media (max-width: 600px) {
  .acct-wrap { flex-direction: column; gap: 1px; }
  .acct-wrap .avatar { width: 30px; height: 30px; font-size: 12px; }
  .nav-logout .linklike { font-size: 11px; font-weight: 700; color: var(--nav-muted); padding: 0; line-height: 1.1; }
}
@media (max-width: 380px) { .topbar-in { gap: 8px; } .nav-right { gap: 8px; } .brand { font-size: 17px; gap: 6px; } .topbar .btn-sm { padding-inline: 10px; } }
.dot.me { background: #D93025; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #D93025; }
.hk-locate { background: #fff; position: relative; }
.hk-locate .hk-locate-btn { display: grid; place-items: center; width: 30px; height: 30px; color: #17324D; }
.hk-locate .hk-locate-btn.on { color: #D93025; }
.hk-locate-note { position: absolute; left: 38px; top: 0; width: 230px; background: #fff; color: #14263A; border-radius: 6px; padding: 6px 9px; font: 12.5px/1.4 var(--font, sans-serif); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
/* Tombol "Pasang iklan" dua baris di HP */
@media (max-width: 600px) {
  .show-xs.btn-2l { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; }
  .btn-2l b { font-weight: 800; }
  .btn-2l small { font-size: 10.5px; font-weight: 600; opacity: .85; }
  .topbar .btn-amber:has(.btn-2l) { padding-block: 4px; }
}
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }

/* Verifikasi lewat WhatsApp */
.wa-otp { border: 1px solid var(--line); background: var(--emerald-soft); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; }
.wa-otp-title { font-weight: 800; margin: 0 0 6px; color: var(--heading); }
.wa-otp ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 4px; }
.wa-otp-code { font-size: 1.15em; letter-spacing: .12em; }
.wa-otp-status { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; font-weight: 600; }
.wa-otp.is-ok { border-color: var(--emerald-strong); }
.wa-otp .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--emerald-strong); animation: wa-spin .8s linear infinite; flex: none; }
.wa-otp.is-ok .spin { display: none; }
@keyframes wa-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wa-otp .spin { animation: none; } }

/* Kontribusi QRIS */
.contrib-qris { display: grid; gap: 10px; justify-items: start; }
.contrib-qris img { width: 100%; max-width: 280px; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.contrib-qris .amount { font-size: 1.4em; font-weight: 800; color: var(--heading); }
.contrib-review { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.qris-admin { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.qris-admin img { border-radius: 10px; border: 1px solid var(--line); background: #fff; height: auto; }
