/* Yudhi Property — lembar peta kadaster. Peta kecamatan (geser/zoom) di atas, kartu spesifikasi di atas peta saat titik diklik, daftar rumah di bawah. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8f8;
  --ink: #15232a;
  --ink-soft: #2c3f45;
  --muted: #5f6f74;
  --line: #e4e8ea;
  --line-strong: #cfd6d9;
  --land: #eef1f2;
  --brand: #17262b;
  --brand-2: #1f3b40;
  --accent: #d4521a;
  --accent-hover: #b8440f;
  --accent-soft: #fdeee6;
  --accent-ink: #ffffff;
  --gold: #9a6b00;
  --gold-bg: #fdf5e0;
  --gold-line: #ead9a6;
  --wa: #128c4a;
  --wa-hover: #0e7340;
  --shadow-sm: 0 1px 2px rgb(21 35 42 / .06), 0 1px 3px rgb(21 35 42 / .04);
  --shadow-md: 0 6px 18px rgb(21 35 42 / .08), 0 1px 3px rgb(21 35 42 / .05);
  --shadow-lg: 0 18px 44px rgb(21 35 42 / .18);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --gut: max(16px, env(safe-area-inset-left, 0px), calc((100% - 1140px) / 2));
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; padding: 0 0 56px; margin: 0;
}
.wrap { max-width: 1140px; margin: 28px auto 0; display: grid; gap: 30px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.015em; }

/* Topbar */
.topnav { position: sticky; top: 0; z-index: 1200; background: var(--brand); border-bottom: 1px solid rgb(255 255 255 / .08); }
.navin { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgb(255 255 255 / .12); }
.brand b { display: block; font: 700 18px/1.1 var(--font-display); }
.brand small { display: block; font: 500 11px/1.3 var(--font-mono); color: #ff9a6b; letter-spacing: .08em; text-transform: uppercase; }
.agent { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; background: var(--wa); color: #fff;
  padding: 9px 15px; border-radius: 999px; font: 600 14px var(--font-body); white-space: nowrap; }
.agent:hover { background: var(--wa-hover); }
.agent:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.agent span { font-family: var(--font-mono); font-weight: 500; }
@media (max-width: 520px) { .agent span { display: none; } .brand small { display: none; } }

/* Hero (pita berwarna) */
.band { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 380px at 88% -10%, rgb(255 122 61 / .28), transparent 60%),
              linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%); }
.band::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, #ff7a3d, #ffb35c); }
header { padding: 34px var(--gut) 34px; display: grid; gap: 22px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase; color: #ff9a6b; margin: 0 0 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: #ff7a3d; border-radius: 2px; }
h1 { font-size: clamp(30px, 6vw, 50px); line-height: 1.04; margin: 0; text-wrap: balance; }
.band h1 { color: #fff; }
.sub { color: #c4d3d5; margin: 12px 0 0; max-width: 54ch; font-size: 16px; }
.stats { display: flex; gap: 12px; }
.stats > div { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); border-radius: var(--r-md); padding: 10px 16px; min-width: 92px; }
.stats b { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1.05; font-variant-numeric: tabular-nums; color: #fff; }
.stats i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: #a9bcbf; letter-spacing: .05em; text-transform: uppercase; }
.trustrow { display: flex; flex-wrap: wrap; gap: 8px; }
.trust { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: #e8f0f1;
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); border-radius: 999px; padding: 7px 14px 7px 11px; }
.trust svg { width: 15px; height: 15px; flex: none; color: #ff9a6b; }
.trust.gold { background: #ffb35c; border-color: #ffb35c; color: #2a1a05; font-weight: 600; }
.trust.gold svg { color: #2a1a05; }

/* Peta */
.mapsec { display: grid; gap: 10px; }
.seclabel { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.seclabel h2 { font-size: clamp(20px, 3vw, 26px); margin: 0; }
.seclabel span, .seclabel p { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 0; }
.map { position: relative; height: clamp(420px, 70vh, 700px); background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); isolation: isolate; }
#lmap { position: absolute; inset: 0; z-index: 0; background: #ffffff; font-family: var(--font-body); }
.leaflet-container a { color: var(--accent); }
.klabel span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font: 600 10.5px var(--font-mono); color: #33454a;
  letter-spacing: .05em; text-transform: uppercase; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }
.hpin { cursor: pointer; }
.hpin .ptag { position: absolute; left: 0; right: 0; top: 0; height: 28px; display: grid; place-items: center; background: #fff; color: var(--ink);
  border: 2px solid var(--accent); border-radius: 14px; font: 700 12.5px var(--font-body); white-space: nowrap; box-shadow: 0 3px 10px rgb(0 0 0 / .18); }
.hpin .pstem { position: absolute; left: 50%; top: 27px; width: 0; height: 0; margin-left: -6px; border: 6px solid transparent; border-top: 9px solid var(--accent); }
.hpin .pdot { position: absolute; left: 50%; bottom: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-sizing: border-box; }
.hpin:hover .ptag, .hpin.on .ptag { background: var(--accent); color: #fff; }
.hpin.on .ptag { box-shadow: 0 0 0 5px rgb(212 82 26 / .22), 0 3px 10px rgb(0 0 0 / .2); }
.clu { display: grid !important; place-content: center; text-align: center; border-radius: 50%; background: var(--accent); color: #fff;
  border: 3px solid #fff; box-shadow: 0 0 0 6px rgb(212 82 26 / .25), 0 4px 12px rgb(0 0 0 / .25); line-height: 1; cursor: pointer; }
.clu b { font: 700 18px var(--font-display); }
.clu span { font: 600 9px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.ctrl { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 3; }
.ctrl button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); font: 600 18px/1 var(--font-body); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.ctrl button:hover { border-color: var(--accent); color: var(--accent); }
.ctrl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ctrl button svg { width: 18px; height: 18px; }
.legend { position: absolute; left: 12px; bottom: 38px; z-index: 2; display: grid; gap: 4px; padding: 8px 10px; border-radius: var(--r-sm);
  background: rgb(255 255 255 / .92); border: 1px solid var(--line); font: 500 11.5px var(--font-body); color: var(--ink-soft); pointer-events: none; box-shadow: var(--shadow-sm); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.leaflet-bottom.leaflet-left .leaflet-control-scale { margin-left: 12px; margin-bottom: 10px; }
.leaflet-control-scale-line { border-color: var(--ink); color: var(--ink); background: rgb(255 255 255 / .85); font: 500 10.5px var(--font-mono); }
.hintbar { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 2; font-size: 12px; color: var(--ink-soft); white-space: nowrap;
  background: rgb(255 255 255 / .94); padding: 5px 12px; border-radius: 999px; pointer-events: none; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .legend { display: none; } .hintbar { top: auto; bottom: 34px; } }

/* Kartu detail di atas peta */
.pop { position: absolute; z-index: 4; left: 12px; top: 12px; bottom: 12px; width: min(368px, calc(100% - 24px));
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  overflow: auto; overscroll-behavior: contain; touch-action: pan-y; }
.sheetbg { display: none; }
@media (max-width: 560px) {
  .map.sheet-open { z-index: 1300; }
  .map.sheet-open .sheetbg { display: block; position: fixed; inset: 0; z-index: 3; background: rgb(10 20 24 / .45); animation: fadein .2s; }
  .pop { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 86vh; max-height: 86dvh; border-radius: 18px 18px 0 0;
    border: 0; padding-bottom: env(safe-area-inset-bottom, 0px); animation: sheetup .25s ease-out; }
  .pop::before { content: ""; position: sticky; top: 0; display: block; height: 0; }
  .pop .hero { aspect-ratio: 16 / 10; border-radius: 18px 18px 0 0; }
  .pop .nophoto { border-radius: 18px 18px 0 0; aspect-ratio: 16 / 7; }
  .pop .row .btn { flex: 1 1 100%; padding: 13px 16px; }
  .pbody { padding: 16px 16px 22px; }
}
@keyframes sheetup { from { transform: translateY(40%); opacity: .4; } }
@keyframes fadein { from { opacity: 0; } }
.twohint { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 20px; text-align: center; pointer-events: none;
  background: rgb(10 20 24 / .45); color: #fff; font: 600 15px var(--font-body); opacity: 0; transition: opacity .2s; }
.twohint.on { opacity: 1; }
.pop .x { position: absolute; right: 10px; top: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgb(0 0 0 / .58); color: #fff; font: 600 18px/1 var(--font-body); cursor: pointer; backdrop-filter: blur(4px); }
.pop .x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--land); }
.nophoto { display: grid; place-items: center; aspect-ratio: 16 / 10; color: var(--muted); font-family: var(--font-mono); font-size: 12.5px;
  background: repeating-linear-gradient(135deg, var(--land) 0 10px, var(--surface-2) 10px 20px); }
.thumbs { display: flex; gap: 6px; padding: 10px 14px 0; overflow-x: auto; }
.thumb { all: unset; box-sizing: border-box; flex: 0 0 60px; cursor: pointer; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; line-height: 0; }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.thumb[aria-pressed="true"] { border-color: var(--accent); }
.thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pbody { padding: 16px 18px 20px; display: grid; gap: 14px; }
.pname { font-size: 22px; line-height: 1.15; margin: 0; }
.place { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-family: var(--font-display); font-size: 27px; line-height: 1; color: var(--accent); }
.price span { color: var(--muted); font-size: 13px; font-family: var(--font-mono); }
.price.ask b { font-size: 17px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 0; }
.specs div { background: var(--surface); padding: 9px 11px; }
.specs dt { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); }
.specs dd { margin: 2px 0 0; font-family: var(--font-mono); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.specs dd.na { color: var(--muted); font-family: var(--font-body); font-size: 13px; }
.coord { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; padding: 10px 17px; border-radius: var(--r-sm); border: 0; cursor: pointer; font: 600 14px var(--font-body); }
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: var(--wa-hover); }
.btn.fb { background: #1877f2; color: #fff; }
.btn.th { background: var(--ink); color: var(--surface); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Panel posting internal (hanya muncul di dalam Claude) */
.post { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.post h3 { font-size: 16px; margin: 0; }
.post label { font-size: 12px; color: var(--muted); display: grid; gap: 4px; }
.post input, .post textarea { font: 14px/1.45 var(--font-body); color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 11px; width: 100%; }
.post textarea { min-height: 170px; resize: vertical; }
.post input:focus-visible, .post textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.post .msg { font-size: 12px; color: var(--accent); min-height: 1em; margin: 0; }
.note { font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 11px; margin: 0; }

/* Daftar listing */
.list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 296px), 1fr)); }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow-sm); transition: box-shadow .18s, border-color .18s, transform .18s; }
.item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.item.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-md); }
.ifig { position: relative; line-height: 0; }
.item .img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; background: var(--land); }
.item .nophoto { aspect-ratio: 16 / 11; }
.pricetag { position: absolute; left: 10px; bottom: 10px; background: color-mix(in srgb, var(--ink) 92%, transparent); color: #fff;
  font: 700 15px var(--font-display); padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(6px); letter-spacing: .01em; }
.pricetag.ask { font-size: 13px; font-weight: 600; font-family: var(--font-body); }
.photocount { position: absolute; right: 10px; bottom: 10px; background: color-mix(in srgb, var(--ink) 80%, transparent); color: #fff;
  font: 500 11.5px var(--font-mono); padding: 5px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.perkflag { position: absolute; left: 10px; top: 10px; background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold-line);
  font: 600 11px var(--font-body); padding: 5px 10px; border-radius: 999px; letter-spacing: .01em; }
.ibody { padding: 14px 16px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ibody h3 { font-size: 18.5px; margin: 0; line-height: 1.22; }
.ibody .place { margin: 0; display: flex; align-items: flex-start; gap: 6px; }
.ibody .place svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--font-mono); font-size: 11.5px; padding: 4px 9px; border-radius: 6px; background: var(--surface-2);
  border: 1px solid var(--line); color: var(--ink-soft); }
.chip.perk { background: var(--gold-bg); border-color: var(--gold-line); color: var(--gold); font-weight: 600; font-family: var(--font-body); }
.chip.acc { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; font-family: var(--font-body); font-size: 12.5px; }
.ibody .row { margin-top: 2px; }
.ibody .btn { padding: 9px 14px; font-size: 13.5px; }

/* Cara kerja */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.steps div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-sm); counter-increment: s; }
.steps div::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent); font: 700 15px var(--font-display); margin-bottom: 10px; }
.steps b { display: block; font-family: var(--font-display); font-size: 16.5px; }
.steps p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

/* Keunggulan */
.whygrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.whygrid div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-sm); }
.whygrid div:first-child { background: var(--gold-bg); border-color: var(--gold-line); }
.whygrid div:first-child b { color: var(--gold); }
.whygrid b { display: block; font-family: var(--font-display); font-size: 16.5px; }
.whygrid p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.whygrid div:first-child p { color: color-mix(in srgb, var(--gold) 75%, var(--ink)); }

/* Titip jual */
.titip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(135deg, #14262a 0%, #1d3a36 100%); color: #fff; border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-md); }
.titip h2 { font-size: clamp(21px, 3vw, 27px); margin: 0 0 8px; color: #fff; }
.titip p { margin: 0; color: #bdd0ce; max-width: 54ch; }
.titip .btn.wa { padding: 13px 22px; font-size: 15px; }

footer { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; }
.fcontact { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.fcontact b { font-family: var(--font-display); font-size: 16px; }
.fcontact a { font-family: var(--font-mono); font-size: 13.5px; color: var(--accent); text-decoration: none; font-weight: 500; }
.fcontact a:hover { text-decoration: underline; }
.credit { color: var(--muted); font-size: 11.5px; font-family: var(--font-mono); line-height: 1.6; margin: 0; }

@media (max-width: 620px) {
  .wrap { gap: 22px; margin-top: 20px; }
  header { padding-top: 24px; padding-bottom: 26px; }
  .trustrow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
  .trustrow::-webkit-scrollbar { display: none; }
  .trust { flex: none; font-size: 13px; padding: 7px 13px 7px 10px; }
  .seclabel { align-items: center; }
  .seclabel p { display: none; }
  .stats > div { padding: 9px 14px; min-width: 84px; }
  .stats b { font-size: 24px; }
  .titip { padding: 22px 20px; }
  .steps div, .whygrid div { padding: 16px; }
}

/* ===== Halaman Titip Jual ===== */
.agent.ghostnav { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); }
.agent.ghostnav:hover { background: rgb(255 255 255 / .18); }
.tform { display: grid; gap: 16px; max-width: 820px; width: 100%; margin: 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px 22px; box-shadow: var(--shadow-sm); margin: 0; min-width: 0; }
fieldset.card { display: grid; gap: 16px; }
.card legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font: 700 18px var(--font-display); padding: 0; margin: 0 0 2px; }
.card legend + * { clear: both; }
.num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font: 700 14px var(--font-display); flex: none; }
.grid2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); align-content: start; min-width: 0; }
.fld b { color: var(--accent); }
.fld em { font-style: normal; font-weight: 400; color: var(--muted); }
.fld small, .tform small { font-weight: 400; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.fld input:not([type=radio]):not([type=checkbox]):not([type=file]), .fld select, .fld textarea {
  font: 400 15px/1.4 var(--font-body); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); padding: 11px 12px; width: 100%; min-width: 0; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; background: #fff; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 14px var(--font-body); background: #fff; transition: background .15s, border-color .15s; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn.gps { width: 100%; justify-content: flex-start; text-align: left; padding: 14px 16px; font-size: 15px; background: var(--brand); color: #fff; border-radius: var(--r-md); }
.btn.gps:hover { background: var(--brand-2); }
.btn.gps svg { width: 22px; height: 22px; }
.btn.gps.live { background: var(--accent); }
.btn.gps.live svg { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.75); opacity: .6; } }
.pick { position: relative; height: 340px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-strong); isolation: isolate; }
#pmap { position: absolute; inset: 0; z-index: 0; font-family: var(--font-body); }
.pickpin svg { width: 30px; height: 40px; display: block; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .3)); }
.pinfo { margin: 0; font-weight: 400; font-size: 13px; color: var(--muted); background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); padding: 9px 12px; }
.pinfo.ok { color: var(--ink); border-style: solid; border-color: #b7dfc8; background: #effaf3; }
.pinfo a { color: var(--accent); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.chk.small { font-size: 13px; color: var(--muted); font-weight: 400; }
.drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 16px; border: 2px dashed var(--line-strong);
  border-radius: var(--r-md); background: var(--surface-2); color: var(--muted); cursor: pointer; font-weight: 400; text-align: center; position: relative; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 26px; height: 26px; flex: none; }
.drop b { color: var(--accent); }
.thumbsel { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.thumbsel:empty { display: none; }
.tp { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--land); }
.tp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp.busy { background: repeating-linear-gradient(135deg, var(--land) 0 8px, var(--surface-2) 8px 16px); }
.tp button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .6); color: #fff; font: 600 15px/1 var(--font-body); cursor: pointer; }
.agree { padding: 16px 20px; }
.ferr { margin: 0; padding: 11px 14px; border-radius: var(--r-sm); background: #fdecea; color: #a12a1b; font-size: 14px; border: 1px solid #f5c6c0; }
.ferr a { color: inherit; font-weight: 600; }
.submitrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn.big { padding: 15px 28px; font-size: 16px; border-radius: var(--r-md); }
.btn:disabled { opacity: .65; cursor: progress; }
.prog { font-size: 13px; color: var(--muted); }
.done { max-width: 820px; width: 100%; margin: 0 auto; display: grid; gap: 12px; justify-items: start; }
.done h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.done p { margin: 0; color: var(--muted); }
.okicon { width: 48px; height: 48px; border-radius: 50%; background: #e3f5ea; color: var(--wa); display: grid; place-items: center; }
.okicon svg { width: 26px; height: 26px; }
@media (max-width: 620px) { .card { padding: 16px 16px 18px; } .pick { height: 300px; } .btn.big { width: 100%; } }
.lb { display: block; }
.lb b, .lb em { margin-left: 2px; }
