/* WebApp V3 - Claude Design handoff "design_handoff_booking_flow" (2026-10-15).
   Pixel values are the handoff's; the accent is a token so the demo menu can recolour it. */
:root {
  color-scheme: only light;
  --acc: #116AF8; --acc-dark: #0D54C8; --acc-soft: #EBF2FF; --acc-line: #ADC9FF;
  --ok: #15803D; --ok-soft: #E9F7EE; --warn: #C2410C; --err: #FF6647; --err-soft: #FFF0EC;
  --ink: #1A1A1A; --ink2: #2E2E2E; --ink3: #525252; --ink4: #7A7A7A; --ink5: #A8A8A8; --ink6: #C4C4C4;
  --card-line: #E6E8EC; --div: #E6E6E6; --in-line: #D1D1D1; --row-line: #EDEDED; --mist: #F2F2F2;
  --sh: 0 1px 2px rgba(16,20,28,.05), 0 4px 12px rgba(16,20,28,.09);
  --sh-up: 0 12px 32px rgba(16,24,40,.14);
  --sh-modal: 0 20px 50px rgba(16,24,40,.25);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { background: #EEF0F3; }
body { font-family: var(--font); color: var(--ink); font-size: 15px; line-height: 1.35; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: default; }
input { font: inherit; color: var(--ink); }
a { color: inherit; text-decoration: none; }
#app { max-width: 480px; min-height: 100vh; margin: 0 auto; background: #fff; position: relative; padding-bottom: 100px; overflow-x: hidden; }
html.sheet-open, html.sheet-open body { overflow: hidden; }

/* ---------- step header ---------- */
.hd { display: flex; justify-content: space-between; padding: 22px 16px 0; }
.hbtn { width: 28px; height: 28px; margin: -4px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.prog { display: flex; gap: 4px; padding: 10px 18px 0; }
.prog i { flex: 1; height: 4px; border-radius: 2px; background: var(--div); }
.prog i.on { background: var(--acc); }
.ttl { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 14px 18px; line-height: 1.2; }
.body { padding: 0 18px; }
.body.center { display: flex; flex-direction: column; align-items: center; }
.body.center > .btn, .body.center > .trow2 { align-self: stretch; }

/* ---------- bottom CTA ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; }
.bar-in { max-width: 480px; margin: 0 auto; background: #fff; border-top: 1px solid var(--div); padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); }
.cta { width: 100%; height: 50px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 14.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 20px; gap: 12px; white-space: nowrap; }
.cta.two { justify-content: space-between; }
.cta .val { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cta:not(:disabled):active { background: var(--acc-dark); }
.cta:disabled { background: var(--div); color: var(--ink4); }

/* ---------- buttons ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 999px; margin-top: 10px;
  border: 1px solid var(--div); background: #fff; font-size: 14.5px; font-weight: 700; }
.btn.pri { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn.line { border: 1.5px solid var(--acc); color: var(--acc); }
.btn.red { background: var(--warn); border-color: var(--warn); color: #fff; }
.btn.redt { border: 0; height: 40px; color: var(--warn); }
.lnk { color: var(--acc); font-weight: 700; font-size: 13.5px; }
.tiny { display: block; margin: 12px auto 0; font-size: 12px; color: var(--ink4); text-decoration: underline; }

/* ================= HOME ================= */
.cover { height: 96px; background: #C9B9A8 center/cover no-repeat; position: relative; }
.cacts { position: absolute; top: 10px; right: 10px; display: flex; gap: 7px; }
.cic { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(16,24,40,.15); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.shop { position: relative; margin: -28px 12px 0; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(16,24,40,.10); padding: 10px; display: flex; align-items: center; gap: 10px; }
.logo { width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--acc-soft) center/cover no-repeat; color: var(--acc); font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.shtx { min-width: 0; }
.shtx b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shtx span { display: block; font-size: 13px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.locs { display: flex; gap: 6px; padding: 12px 14px 0; overflow-x: auto; scrollbar-width: none; }
.locs::-webkit-scrollbar, .best::-webkit-scrollbar, .chips::-webkit-scrollbar, .days::-webkit-scrollbar, .adds::-webkit-scrollbar,
.circles::-webkit-scrollbar, .pills::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
.lp { flex: none; padding: 9px 11px; border-radius: 14px; border: 1px solid var(--card-line); font-size: 13px; font-weight: 700; white-space: nowrap; }
.lp.on { border: 2px solid var(--acc); background: var(--acc-soft); padding: 8px 10px; }
/* demo links only: a quiet line with the staff POS and a WhatsApp to Sultan AI */
.dq { display: flex; align-items: center; gap: 6px; margin: 10px 16px 0; font-size: 12.5px; color: var(--ink4); }
.dq i { flex: 1; }
.dq button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: var(--mist); color: var(--ink3); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.dq button:active { background: var(--div); }
.dq svg { flex: none; }
.dqpos { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); height: 48px; margin: 12px 16px 0; padding: 0 14px; border-radius: 14px; background: var(--acc); color: #fff; font-size: 15px; font-weight: 800; box-shadow: var(--sh); }
.dqpos i { flex: 1; }
.dqpos svg { flex: none; }
.dqpos:active { transform: scale(.98); }
/* slim bar: slides in once the outlet pills scroll away; chips + search, or the search box */
.stk { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transform: translateY(-100%); transition: transform .16s ease-out; pointer-events: none; }
.stk.on { transform: none; pointer-events: auto; }
.stk-in { max-width: 480px; height: 44px; margin: 0 auto; background: #fff; border-bottom: 1px solid var(--div); display: flex; align-items: center; gap: 6px; padding: 0 6px 0 14px; }
.stk .chips.inbar { flex: 1; min-width: 0; padding: 0; gap: 5px; }
.stk .chip { padding: 0 11px; height: 30px; display: flex; align-items: center; font-size: 12.5px; }
.stk-n { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sq { width: 32px; height: 32px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.stk .qi { display: flex; color: var(--ink4); flex: none; }
.qin { flex: 1; min-width: 0; height: 32px; border: 0; outline: 0; background: none; font-size: 15px; }
.ctitle { font-size: 13px; font-weight: 800; color: var(--ink4); letter-spacing: .02em; padding: 16px 0 0; }
.msec:first-child .ctitle { padding-top: 8px; }

.bkc { display: flex; align-items: center; gap: 12px; margin: 12px 14px 0; width: calc(100% - 28px); background: var(--acc-soft); border-radius: 14px; padding: 10px 12px; }
.dbox { width: 42px; flex: none; background: #fff; border-radius: 9px; text-align: center; padding: 4px 0; display: flex; flex-direction: column; }
.dbox small { font-size: 10px; font-weight: 700; color: var(--ink3); line-height: 1.2; }
.dbox b { font-size: 17px; font-weight: 800; color: var(--acc); line-height: 1.1; }
.bkt { flex: 1; min-width: 0; }
.bkt em { display: block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--acc); }
.bkt b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chv { color: var(--acc); display: flex; flex: none; }
.again { display: flex; align-items: center; gap: 10px; margin: 12px 14px 0; width: calc(100% - 28px); border: 1px solid var(--acc-line); background: var(--acc-soft); border-radius: 14px; padding: 8px 12px 8px 8px; }
.ath { width: 38px; height: 38px; flex: none; border-radius: 9px; background: var(--mist) center/cover no-repeat; }
.atx { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atx b { color: var(--ink); font-weight: 800; }
.again i { font-style: normal; color: var(--acc); font-weight: 800; font-size: 13px; flex: none; }

.sect { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); padding: 20px 16px 0; }
.best { display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px 6px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; }
.bcard { flex: none; width: 132px; border-radius: 14px; border: 1px solid var(--card-line); background: #fff; box-shadow: var(--sh); overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; }
.bimg { height: 76px; width: 100%; background: var(--mist) center/cover no-repeat; display: block; }
.bb { padding: 8px 10px 10px; display: block; }
.bn { display: block; width: 100%; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: 12px; }
.badd { width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; display: flex; align-items: center; justify-content: center; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px 2px; }
.chip { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--card-line); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.list { padding: 2px 16px 0; }
.row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--row-line); width: 100%; position: relative; align-items: flex-start; }
.rimg { width: 100px; height: 100px; flex: none; border-radius: 12px; background: var(--mist) center/cover no-repeat; position: relative; overflow: hidden; }
.rimg .off { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: var(--warn); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.rtx { flex: 1; min-width: 0; min-height: 100px; padding-right: 30px; display: flex; flex-direction: column; align-self: stretch; }
.rn { font-size: 15px; font-weight: 400; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp { font-size: 15px; font-weight: 800; margin-top: 6px; }
.rp.promo { color: var(--warn); }
.rp s { font-size: 13px; font-weight: 400; color: var(--ink4); margin-left: 4px; }
.rd { font-size: 12px; color: var(--ink4); margin-top: 1px; }
.radd { position: absolute; right: 0; bottom: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--acc); color: #fff; display: flex; align-items: center; justify-content: center; }
.empty { margin: 16px; padding: 18px; text-align: center; color: var(--ink3); border: 1px solid var(--card-line); border-radius: 14px; }
.pwr { text-align: center; font-size: 12px; color: var(--ink5); padding: 26px 0 8px; }
.pwr a { color: var(--ink4); font-weight: 700; }

/* ================= LAYANAN ================= */
.orang { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 0; }
.orang > b { font-size: 15px; font-weight: 700; }
.step { display: flex; align-items: center; gap: 10px; }
.step span { font-size: 13px; font-weight: 700; min-width: 54px; text-align: center; }
.sb { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--div); display: flex; align-items: center; justify-content: center; }
.sb:disabled { color: var(--ink6); }
.grp { display: block; width: 100%; margin-top: 8px; background: var(--mist); border-radius: 13px; padding: 14px 12px; font-size: 13.5px; color: var(--ink2); }
.grp b { color: var(--acc); font-weight: 700; }
.same { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 8px; background: var(--mist); border-radius: 13px; padding: 10px 12px; }
.same b { display: block; font-size: 13.5px; font-weight: 700; }
.same small { display: block; font-size: 12px; color: var(--ink3); margin-top: 1px; }
.sw { flex: none; width: 42px; height: 24px; border-radius: 12px; background: var(--ink6); position: relative; transition: background .15s; }
.sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.sw.on { background: var(--acc); }
.sw.on i { transform: translateX(18px); }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-top: 12px; }
.tab { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--card-line); font-size: 12.5px; font-weight: 700; }
.tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lbl { padding: 12px 0 8px; }
.lbl b { display: block; font-size: 15px; font-weight: 700; }
.lbl small { display: block; font-size: 12px; color: var(--ink4); }
.dur { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 1px solid var(--card-line); border-radius: 14px;
  padding: 9px 14px; margin-bottom: 10px; background: #fff; box-shadow: var(--sh); line-height: 1.25; }
.dur b { display: block; font-size: 15px; font-weight: 600; }
.dur small { display: block; font-size: 12px; color: var(--ink4); }
.dur em { display: block; font-style: normal; font-size: 15px; font-weight: 800; margin-top: 2px; }
.dur.on { border: 2px solid var(--acc); padding: 8px 13px; }
.dur.pm { padding: 13px 14px; }
.dur.pm.on { padding: 12px 13px; }
.dur.sm { box-shadow: none; padding: 11px 14px; }
.dur.sm.on { padding: 10px 13px; }
.rad { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink6); position: relative; }
.on > .rad { border: 0; background: var(--acc); }
.on > .rad::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.adds { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px; }
.add { flex: none; width: 108px; border: 1px solid var(--card-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--sh); text-align: left; padding-bottom: 8px; }
.add.on { border: 2px solid var(--acc); }
.aimg { display: block; height: 58px; background: var(--mist) center/cover no-repeat; position: relative; }
.ab { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--acc); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.add.on .ab { background: var(--acc); color: #fff; }
.add b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; padding: 6px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add small { display: block; font-size: 11.5px; color: var(--ink3); padding: 0 8px; }

/* ================= PROFESIONAL ================= */
.plist { display: flex; flex-direction: column; gap: 12px; }
.prow { display: flex; align-items: center; gap: 12px; border: 1px solid var(--card-line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--sh); background: #fff; }
.prow.off { opacity: .45; box-shadow: none; }
.av { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--acc-soft) center/cover no-repeat; color: var(--acc); display: flex; align-items: center; justify-content: center; }
.av.big { width: 72px; height: 72px; }
.pn { flex: 1; min-width: 0; }
.pn b { display: block; font-size: 14px; font-weight: 700; }
.na { display: block; font-size: 12px; color: var(--warn); }
.pill { flex: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--div); font-size: 13px; font-weight: 700; background: #fff; }
.pill.dash { color: var(--ink5); }
.who { font-size: 15px; font-weight: 700; padding: 6px 0 0; }
.circles { display: flex; gap: 18px; overflow-x: auto; margin: 0 -18px; padding: 6px 18px 14px; }
.circ { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.circ .av { margin: 2px; }
.circ.on .av { outline: 3px solid var(--acc); outline-offset: 2px; }
.circ b { font-size: 13px; font-weight: 700; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.circ small { font-size: 11px; color: var(--ink5); }
.circ.off { opacity: .45; }

/* ================= TANGGAL & JAM ================= */
.trow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prochip { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--card-line); font-size: 13.5px; font-weight: 700; min-width: 0; }
.pci { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--acc-soft) center/cover no-repeat; color: var(--acc); display: flex; align-items: center; justify-content: center; }
.calb { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--card-line); display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; }
.calb input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; border: 0; cursor: pointer; }
.days { display: flex; gap: 9px; overflow-x: auto; margin: 0 -18px; padding: 14px 18px 2px; }
.day { flex: none; width: 54px; padding: 7px 0; border-radius: 12px; border: 1px solid var(--card-line); display: flex; flex-direction: column; align-items: center; }
.day small { font-size: 12px; color: var(--ink2); line-height: 1.25; }
.day b { font-size: 19px; font-weight: 800; line-height: 1.2; }
.day.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.day.on small { color: #fff; }
.day.full b, .day.full small { color: var(--ink5); text-decoration: line-through; }
.day.full small { text-decoration: none; }
.day.on.full b { color: rgba(255,255,255,.6); }
.day.on.full small { color: rgba(255,255,255,.75); }
.times { display: flex; flex-direction: column; gap: 10px; }
.tm { display: flex; align-items: center; justify-content: space-between; height: 46px; border-radius: 13px; border: 1px solid var(--card-line); padding: 0 14px; font-size: 15px; background: #fff; }
.tm.on { border: 2px solid var(--acc); background: var(--acc-soft); font-weight: 800; padding: 0 13px; }
.tm.old small { font-size: 12px; color: var(--ink4); }
.tm.old { color: var(--ink2); }
.fullc { margin-top: 20px; height: 56px; border-radius: 14px; background: var(--mist); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.fullc.sm { margin: 0; height: 42px; padding: 0 18px; font-size: 13px; color: var(--ink4); }
.nojoin { margin-top: 20px; background: var(--mist); border-radius: 14px; padding: 16px; position: relative; }
.nojoin > b { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 12px; }
.splitb { display: flex; align-items: center; gap: 8px; width: 100%; height: 50px; border: 2px solid var(--acc); border-radius: 13px; background: #fff; padding: 0 12px; font-weight: 700; font-size: 14px; }
.splitb > span:first-child { flex: none; }
.ii { display: flex; color: var(--ink3); padding: 4px; }
.splitb .chv { margin-left: auto; }
.tip { position: absolute; right: 16px; top: 38px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; border-radius: 8px; padding: 6px 10px; z-index: 2; }
.nojoin .btn.line { margin-top: 10px; }
.pills { display: flex; gap: 8px; overflow-x: auto; margin-right: -18px; padding-right: 18px; }
.tp { flex: none; width: 74px; height: 42px; border-radius: 999px; border: 1px solid var(--card-line); font-size: 15px; background: #fff; text-align: center; }
.tp.on { background: var(--acc); border-color: var(--acc); color: #fff; font-weight: 800; }

/* ================= CEK & PESAN ================= */
.sum { border: 1px solid var(--card-line); border-radius: 16px; box-shadow: var(--sh); padding: 12px 14px; }
.sm1 { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--div); }
.sth { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--mist) center/cover no-repeat; }
.sm1 b { display: block; font-size: 13.5px; font-weight: 700; }
.sm1 small, .sm2 small, .rch small, .rci small, .rct small { display: block; font-size: 12px; color: var(--ink3); }
.sm2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }
.sm2 b { display: block; font-size: 14.5px; font-weight: 800; }
.rc { padding: 14px; }
.rch { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--ink6); }
.rch b { display: block; font-size: 15px; font-weight: 800; }
.rcl { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--ink4); padding: 10px 0 4px; }
.rci, .rct { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 6px 0; }
.rci b, .rct b { font-size: 14px; font-weight: 800; }
.rct { border-top: 1px dashed var(--ink6); margin-top: 6px; padding-top: 12px; }
.rct > span b { display: block; }
.flbl { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink2); margin: 18px 0 7px; }
.fld { display: flex; align-items: center; gap: 10px; height: 50px; border: 1px solid var(--in-line); border-radius: 13px; padding: 0 14px; background: #fff; width: 100%; }
.fld:focus-within { border-color: var(--acc); }
.fld input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; height: 100%; }
.fld input::placeholder { color: var(--ink5); }
.fld.err { border: 2px solid var(--err); background: var(--err-soft); padding: 0 13px; }
.fic { display: flex; flex: none; color: var(--ink4); }
.fic.acc { color: var(--acc); }
.ferr { font-size: 12px; font-weight: 700; color: var(--warn); margin-top: 6px; min-height: 0; }
.ferr:empty { display: none; }
.addr { margin-top: 18px; text-align: left; }
.av2 { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Pilih lokasi (Gojek style): screen 1 search ---------- */
.srch { margin-top: 2px; border-radius: 999px; }
.mclr[hidden] { display: none; }
.mclr { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink5); color: #fff; display: flex; align-items: center; justify-content: center; }
.mchips { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.mchips button { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--card-line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink2); box-shadow: var(--sh); background: #fff; }
.mchips button svg { color: var(--acc); }
#mapres { margin: 12px -18px 0; border-top: 1px solid var(--row-line); }
.mrow { display: flex; gap: 12px; width: 100%; padding: 14px 18px; border-bottom: 1px solid var(--row-line); text-align: left; background: #fff; }
.mrow:active { background: var(--mist); }
.mic { flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink5); }
.mic small { font-size: 11px; color: var(--ink4); white-space: nowrap; }
.mtx { flex: 1; min-width: 0; }
.mtx b { display: block; font-size: 14.5px; font-weight: 800; }
.mtx small { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 3px; line-height: 1.35; }
.mrow.free b { color: var(--acc); }
.mhint { padding: 16px 18px; font-size: 13px; color: var(--ink4); }

/* ---------- screen 2: full map, the pin stays in the centre ---------- */
#app.v-mappin { padding-bottom: 0; }
.pinv { position: fixed; inset: 0; z-index: 30; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; background: #fff; }
.pmapw { flex: 1; position: relative; background: #EEF0F3; }
#pmap { position: absolute; inset: 0; z-index: 0; }
.pinmk { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 500; pointer-events: none; display: flex;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.pbtn { position: absolute; z-index: 500; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(16,24,40,.2);
  display: flex; align-items: center; justify-content: center; color: var(--ink); }
.pback { left: 14px; top: calc(14px + env(safe-area-inset-top)); }
.pgps { right: 14px; bottom: 30px; }
.pcard { position: relative; z-index: 600; margin-top: -18px; background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -6px 20px rgba(16,24,40,.10);
  padding: 18px 18px calc(16px + env(safe-area-inset-bottom)); }
.pch { display: flex; justify-content: space-between; align-items: center; }
.pch b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.pchg { height: 34px; padding: 0 16px; border: 1.5px solid var(--acc); border-radius: 999px; color: var(--acc); font-size: 13.5px; font-weight: 700; }
.paddr { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 6px; min-height: 52px; }
.pdot { flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: radial-gradient(circle, #fff 0 4px, var(--acc) 5px); }
#paddr b { display: block; font-size: 15px; font-weight: 800; }
#paddr small { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 3px; line-height: 1.35; }
.pcard .cta { margin-top: 10px; }
.leaflet-control-attribution { font-size: 9px; }
.pmapw .leaflet-bottom { bottom: 18px; }   /* the card overlaps the map by 18px; the OSM credit must stay visible */

/* ================= PEMBAYARAN ================= */
.qr { background: var(--mist); border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; background: #fff; }
.qr span { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--ink5); }
.qr.dead span { color: var(--ink6); }
.holder { font-size: 13px; color: var(--ink3); margin-top: 8px; }
.qrrow { display: flex; gap: 14px; align-items: flex-start; }
.qrrow > span { padding-top: 34px; }
.qrrow b { display: block; font-size: 13.5px; font-weight: 800; }
.qrrow small { display: block; font-size: 12.5px; color: var(--ink3); margin: 2px 0 4px; }
.trow2 { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.trow2 span { font-size: 14px; color: var(--ink2); }
.trow2 b { font-size: 20px; font-weight: 800; }
.exp { font-size: 13px; color: var(--ink4); margin-top: 12px; }
.dead-t { color: var(--warn); font-weight: 800; font-size: 15px; margin: 14px 0 0; }
.acct { border: 1px solid var(--card-line); border-radius: 16px; box-shadow: var(--sh); padding: 12px 14px; }
.acct small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--ink4); }
.acct > b { display: block; font-size: 14px; font-weight: 800; padding-bottom: 10px; border-bottom: 1px solid var(--div); }
.acn { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; }
.acn b { font-size: 15px; font-weight: 800; }
.up { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 86px; margin-top: 18px;
  border: 1.5px dashed var(--acc-line); background: var(--acc-soft); border-radius: 14px; color: var(--acc); }
.up b { font-size: 14px; font-weight: 800; }
.up.bad { border-color: var(--err); background: var(--err-soft); color: var(--warn); }
.up.bad small { font-size: 12px; color: var(--warn); }
.upd { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 18px; border: 2px solid var(--acc); border-radius: 14px; padding: 10px 14px 10px 10px; }
.uth { width: 48px; height: 60px; flex: none; border-radius: 8px; background: var(--mist) center/cover no-repeat; }
.upd b { display: block; font-size: 14px; font-weight: 800; }
.upd small { display: block; font-size: 12.5px; color: var(--ink3); }
.upd span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; }
.uck { color: var(--acc); display: flex; }
.hint { font-size: 12.5px; color: var(--ink3); margin-top: 14px; }

/* ================= SELESAI ================= */
.v-done #app, #app.v-done { padding-bottom: 100px; }
.dhead { height: 236px; background: var(--ok); color: #fff; text-align: center; position: relative; overflow: hidden; padding-top: 44px; }
.dtick, .dhead h1, .dcode { z-index: 1; }
.dhead i { position: absolute; top: -14px; width: 7px; height: 10px; border-radius: 2px; opacity: 0; transform: translateY(0) rotate(var(--r));
  animation: drop 2s cubic-bezier(.25,.55,.5,1) forwards; }
@keyframes drop {
  0% { opacity: 1; transform: translateY(0) rotate(var(--r)); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(250px) rotate(calc(var(--r) + 300deg)); }
}
.dtick { width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--ok); margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative; }
.dhead h1 { font-size: 22px; font-weight: 800; margin-top: 14px; position: relative; letter-spacing: -.01em; }
.dcode { font-size: 12.5px; font-weight: 700; margin-top: 4px; position: relative; }
.dcard { position: relative; margin: -24px 14px 0; background: #fff; border-radius: 18px; box-shadow: var(--sh-up); padding: 14px; }
.dw { display: block; font-size: 17px; font-weight: 800; }
.ds { display: block; font-size: 13px; color: var(--ink3); margin-top: 1px; }
.dcard hr { border: 0; border-top: 1px dashed var(--ink6); margin: 12px 0; }
.dpl { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dpl b { display: block; font-size: 14px; font-weight: 800; }
.dpl small { display: block; font-size: 12px; color: var(--ink3); }
.gm { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--card-line); background: #fff; box-shadow: 0 2px 6px rgba(16,24,40,.10); display: flex; align-items: center; justify-content: center; }
.dacts { padding: 14px 14px 0; }
.dlb { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; border-radius: 14px; border: 1.5px solid var(--acc-line); background: var(--acc-soft);
  color: var(--acc); font-size: 14.5px; font-weight: 800; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }
.bento button { height: 64px; border-radius: 14px; border: 1px solid var(--card-line); box-shadow: var(--sh); background: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 700; }
/* demo only: after a test booking, the owner can reach Sultan AI in one tap */
.sultan { margin-top: 14px; padding: 14px; border-radius: 16px; background: #F1FBF4; border: 1px solid #CBEED6; display: flex; flex-direction: column; gap: 10px; }
.sultan b { display: block; font-size: 14.5px; font-weight: 800; }
.sultan small { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 2px; }
.sultan button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; border: 0; background: #1FA855; color: #fff; font-size: 14.5px; font-weight: 800; }
.sultan button svg path:first-child { fill: #fff; }
.sultan button svg path:last-child { fill: #1FA855; }

/* ================= SHEETS / MODAL ================= */
#sheet { position: fixed; inset: 0; z-index: 50; background: rgba(12,14,17,.45); display: flex; align-items: flex-end; justify-content: center; overscroll-behavior: contain; }
#sheet[hidden] { display: none; }
#sheet.mid { align-items: center; padding: 0 16px; }
.sh { width: 100%; max-width: 480px; max-height: calc(100% - 48px); overflow: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); }
.shx { float: right; width: 34px; height: 34px; margin: 4px -6px 8px 12px; border-radius: 50%; background: var(--mist); color: var(--ink);
  display: flex; align-items: center; justify-content: center; }
.dt { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.dsub { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.ask { font-size: 14.5px; font-weight: 700; margin-top: 16px; }
.warn { margin-top: 14px; background: var(--err-soft); color: var(--warn); font-size: 13px; font-weight: 600; border-radius: 12px; padding: 12px; }
.paidp { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 800; border-radius: 999px; padding: 6px 12px; }
.modal { width: 100%; max-width: 448px; background: #fff; border-radius: 22px; box-shadow: var(--sh-modal); padding: 22px 18px 18px; }
.modal h3 { font-size: 18px; font-weight: 800; }
.modal p { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.mp { display: flex; gap: 8px; margin-top: 10px; }
.mp .tp { flex: 1; width: auto; height: 46px; }
.demo .lbl:first-of-type { padding-top: 10px; }
.sws { display: flex; gap: 10px; flex-wrap: wrap; }
.swc { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--card-line); position: relative; }
.swc.on { box-shadow: 0 0 0 2px var(--ink); }
.swc.pick { display: flex; align-items: center; justify-content: center; background: conic-gradient(#f43f5e, #f59e0b, #22c55e, #06b6d4, #6366f1, #f43f5e); color: #fff; font-weight: 800; cursor: pointer; overflow: hidden; }
.swc.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

#toast { pointer-events: none; position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 80; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px;
  font-size: 13.5px; font-weight: 700; width: max-content; max-width: min(448px, calc(100vw - 32px)); box-shadow: var(--sh-up); }
#toast[hidden] { display: none; }

/* service sheet (tap a photo or name) */
.sh.info { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.iimg { height: 200px; flex: none; background: var(--mist) center/cover no-repeat; position: relative; }
.iclose { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(16,24,40,.15);
  display: flex; align-items: center; justify-content: center; }
.ibody { padding: 16px 18px 8px; overflow: auto; }
.itag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); background: var(--acc-soft);
  border-radius: 999px; padding: 4px 10px; }
.ibody h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.idesc { font-size: 14px; line-height: 1.5; color: var(--ink3); margin-top: 6px; }
.irow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--row-line); }
.irow span { font-size: 14px; font-weight: 600; }
.irow small { display: block; font-size: 12px; font-weight: 400; color: var(--ink4); }
.irow b { font-size: 14.5px; font-weight: 800; text-align: right; }
.irow.where { border-bottom: 0; }
.irow.where span { color: var(--ink3); font-weight: 400; }
.irow.where b { font-size: 13.5px; font-weight: 700; }
.ifoot { flex: none; border-top: 1px solid var(--div); padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); }
.ifoot .btn { margin-top: 0; }

/* cart: "Lanjutkan booking" bar on Home (× discards the order) */
.cartbar .bar-in { display: flex; gap: 8px; align-items: center; }
.cartbar .cx { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--div); display: flex; align-items: center; justify-content: center; color: var(--ink3); }
.cartbar .cta { flex: 1; min-width: 0; }
.cartbar .cl { min-width: 0; text-align: left; line-height: 1.2; }
.cartbar .cl small { display: block; font-size: 11.5px; font-weight: 600; opacity: .85; }
.cartbar .cl b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cartbar .val { flex: none; }
/* Layanan: whose treatment, with Ganti */
.chg { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; border: 1px solid var(--card-line); border-radius: 14px; padding: 8px 12px 8px 8px; }
.cgi { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--mist) center/cover no-repeat; }
.cgt { flex: 1; min-width: 0; }
.cgt small { display: block; font-size: 11.5px; color: var(--ink4); }
.cgt b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--row-line); }
.gpick.on .gpt b { color: var(--acc); }
.gpi { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--mist) center/cover no-repeat; }
.gpt { flex: 1; min-width: 0; }
.gpt b { display: block; font-size: 15px; font-weight: 700; }
.gpt small { display: block; font-size: 12px; color: var(--ink4); }
.gpp { font-size: 14px; font-weight: 800; }
/* Tanggal & Jam: the switch sits above the days */
.same.tsw { margin-top: 12px; }
/* Booking kamu: the rest behind a link */
.bkmore { display: block; margin: 6px 14px 0; font-size: 12.5px; font-weight: 700; color: var(--acc); padding: 4px 2px; }
.bkc + .bkc { margin-top: 8px; }
/* Informasi */
.info { margin: 10px 16px 0; border: 1px solid var(--card-line); border-radius: 14px; padding: 2px 14px; }
.irow2 { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--row-line); }
.irow2:last-child { border-bottom: 0; }
.iic { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--acc-soft); color: var(--acc); display: flex; align-items: center; justify-content: center; }
.itx { flex: 1; min-width: 0; }
.itx b { display: block; font-size: 13.5px; font-weight: 700; }
.itx small { display: block; font-size: 12px; color: var(--ink4); }
.imap { flex: none; font-size: 12.5px; font-weight: 700; color: var(--acc); }
.irow2 em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 3px 9px; }
.irow2 em.open { background: var(--ok-soft); color: var(--ok); }
.irow2 em.shut { background: var(--err-soft); color: var(--warn); }

/* Cabang label above the outlet pills */
.loclbl { font-size: 12px; font-weight: 700; color: var(--ink4); padding: 12px 16px 0; }
.loclbl + .locs { padding-top: 6px; }
/* therapist gender ring: pink = wanita, blue = pria */
.av.gen-f, .pci.gen-f { box-shadow: 0 0 0 2.5px #F472B6; }
.av.gen-m, .pci.gen-m { box-shadow: 0 0 0 2.5px #60A5FA; }
.circ.on .av { outline-offset: 5px; }
/* promo prices on Layanan and the service sheet */
.dur em.promo, .irow b.promo { color: var(--warn); }
.dur em s, .irow b s { font-size: 12.5px; font-weight: 400; color: var(--ink4); margin-left: 4px; }
/* Catatan */
.flbl .opt { font-weight: 400; color: var(--ink4); }
.fld.ta { height: auto; padding: 10px 14px; align-items: flex-start; }
.fld.ta textarea { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; background: none; font: inherit; font-size: 15px; line-height: 1.4; color: var(--ink); }
.fld.ta textarea::placeholder { color: var(--ink5); }
.dnote { margin-top: 8px; font-size: 13px; color: var(--ink3); background: var(--mist); border-radius: 10px; padding: 8px 10px; }
.dnote b { color: var(--ink2); margin-right: 4px; }

/* 2. light only: the browser must not darken the page */
html { color-scheme: only light; }
/* 6. money lines: Cek & pesan (1 person), the booking sheet, the Selesai card */
.sm3 { border-top: 1px solid var(--div); margin-top: 10px; padding-top: 6px; }
.rci.fee span { font-size: 13.5px; color: var(--ink2); }
.rci.fee b { font-weight: 700; }
/* an add-on sits under its service, a little lighter */
.rci.addl { padding-top: 2px; }
.rci.addl span b, .dmoney .rci.addl span b, .sm3 .rci.addl span b { font-weight: 500; font-size: 13px; color: var(--ink3); }
.rci.addl > b { font-size: 13.5px; font-weight: 700; color: var(--ink2); }
.dmoney { margin-top: 12px; background: var(--mist); border-radius: 12px; padding: 4px 12px 8px; }
.dmoney .rci span b, .sm3 .rci span b { font-weight: 600; font-size: 13.5px; }
.dmoney .rct { margin-top: 4px; padding-top: 8px; }
.dtot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 10px; }
.dtot span { font-size: 13px; color: var(--ink3); }
.dtot small { display: block; font-size: 11.5px; color: var(--ink4); }
.dtot b { font-size: 17px; font-weight: 800; }
/* 1. Download bukti + Bagikan in the booking sheet */
.dpair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.dpair button { height: 46px; border-radius: 12px; border: 1.5px solid var(--acc-line); background: var(--acc-soft); color: var(--acc); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px; }

/* Pilih profesional: the whole card picks, pressed state; the photo zooms */
.prow.tap { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .12s, transform .12s; }
.prow.tap:active { background: var(--mist); transform: scale(.985); }
.avz { flex: none; display: flex; border-radius: 50%; cursor: zoom-in; }
.prow.off .avz { pointer-events: auto; }
.circ { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.zhint { font-size: 12.5px; color: var(--ink4); margin: -4px 0 6px; }
.zoomc { position: relative; width: 100%; max-width: 340px; background: #fff; border-radius: 22px; padding: 18px; text-align: center; }
.zx { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 1; box-shadow: var(--sh); }
.zph { width: 100%; aspect-ratio: 1; border-radius: 16px; background: var(--acc-soft) center/cover no-repeat; }
.zph.gen-f { box-shadow: 0 0 0 3px #F472B6; }
.zph.gen-m { box-shadow: 0 0 0 3px #60A5FA; }
.zn { display: block; font-size: 20px; font-weight: 800; margin-top: 14px; }
.zna { font-size: 13px; color: var(--warn); margin-top: 6px; }
.zoomc .btn { margin-top: 14px; }
