/* 77Clean.id — visual identity: blue and white only.
   Navy blue ink, white-blue base, a solid blue for the main action, sky blue for highlights. */
:root {
  --ink: #0d3b66;        /* navy blue: text, hero, structure */
  --ink-soft: #4a6380;   /* secondary text */
  --bg: #f4f7fa;         /* near white, cool */
  --card: #ffffff;
  --line: #dbe4ec;
  --line-strong: #a9c2dc;
  --sun: #7fd0f5;        /* sky blue: highlights on navy, badges */
  --sun-dark: #5cc0ee;
  --rinse: #1f7fd1;      /* selected state */
  --rinse-soft: #dcecfb;

  --ok: #13804a; --ok-soft: #e1f4e8;
  --warn: #9a6200; --warn-soft: #fff1cf;
  --danger: #c0392b; --danger-soft: #fde7e4;
  --info: #5b45b8; --info-soft: #eeeafc;

  /* body: built for legibility (lay customers on small phones); display: the logo's own rounded heavy italic */
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --r-lg: 14px; --r-md: 10px; --r-sm: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink); background: var(--bg); }
a { color: #1b66b0; font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-style: italic; font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: 26px; }
h3 { font-size: 18px; font-weight: 700; }
:focus-visible { outline: 3px solid var(--rinse); outline-offset: 2px; border-radius: 6px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 620px; }
.muted { color: var(--ink-soft); }
.hidden { display: none !important; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: var(--r-md); border: 1.5px solid transparent; font: 700 15px var(--font); cursor: pointer;
  background: var(--ink); color: #fff; text-decoration: none; transition: background .15s, transform .1s; }
.btn:hover { background: #0f4a80; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-sun { background: #1a6fc0; color: #ffffff; }  /* main action: solid blue, white text */
.btn-sun:hover { background: #155c9f; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--card); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #9e2d21; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 4px 0; font: 600 14px var(--font); color: var(--ink-soft); cursor: pointer; }
.link-btn:hover { color: var(--ink); text-decoration: underline; }

label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: 13px; color: var(--ink-soft); font-weight: 400; margin-top: 5px; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: 400 16px var(--font); background: #fff; color: var(--ink); }
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rinse); box-shadow: 0 0 0 3px var(--rinse-soft); }
input::placeholder, textarea::placeholder { color: #8aa0b8; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prefix-input { display: flex; }
.prefix-input span { padding: 11px 12px; background: var(--bg); border: 1.5px solid var(--line); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); color: var(--ink-soft); }
.prefix-input input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.alert { padding: 11px 14px; border-radius: var(--r-sm); margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- simple top nav (login, setup, cek, dashboard) ---------- */
.nav { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 10; }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { font: 700 19px var(--display); color: #fff; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; display: block; }
.nav-links { display: flex; gap: 10px; align-items: center; }
.nav .muted { color: #b9cde3; }
.nav .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.nav .btn-ghost:hover { background: rgba(255,255,255,.1); }
footer { padding: 28px 20px 40px; color: var(--ink-soft); font-size: 14px; text-align: center; }

.auth-wrap { min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 32px 20px; }
.auth-wrap .card { width: 100%; max-width: 440px; }

/* ---------- hero (kept calm: title, one line, three facts) ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: 16px 0 26px; }
.hero .wrap { max-width: 620px; margin: 0 auto; padding: 0 20px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.wa-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.35); color: #fff; font-size: 14px; text-decoration: none; border-radius: var(--r-md); }
.wa-chip:hover { background: rgba(255,255,255,.1); }
.hero-title { font: italic 900 clamp(32px, 9vw, 46px)/1.05 var(--display); letter-spacing: -.015em; margin: 0 0 14px; max-width: 13ch; }
.hero-sub { font-size: 16px; color: #cfe0f0; max-width: 46ch; margin: 0 0 16px; }
.hero-facts { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; color: #cfe0f0; }
.hero-facts li { white-space: nowrap; }
.hero-facts li strong { color: #fff; font: italic 900 17px var(--display); }

/* ---------- booking flow ---------- */
.booking { max-width: 620px; min-height: 100vh; margin: 18px auto 0; padding: 0 16px; position: relative; z-index: 1; display: flex; flex-direction: column; }
.booking > #wizard { flex: 1; display: flex; flex-direction: column; }
.booking > #wizard.hidden { display: none; }
.booking .dock { margin-top: auto; }
.stepper { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0 0 20px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.stepper li { padding: 10px 0 8px; border-bottom: 3px solid var(--line); }
.stepper li span { font-variant-numeric: tabular-nums; }
.stepper li span::after { content: "."; }
.stepper li.active { color: var(--ink); border-color: var(--ink); }
.stepper li.done { color: var(--rinse); border-color: var(--rinse); }
.stepper li.done { cursor: pointer; }
.step-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 6px 0 14px; }
.step-head h2 { margin: 0; font-size: 26px; }
.step-head .link-btn { white-space: nowrap; min-height: 40px; padding: 8px 0 8px 8px; }
.group-label { font-size: 15px; font-weight: 700; color: var(--ink); margin: 22px 0 10px; }

.tabs { display: inline-flex; background: #dce8f4; padding: 4px; border-radius: 999px; margin-bottom: 14px; }
.tabs button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; min-height: 38px; padding: 6px 18px; border-radius: 999px; font: 700 14px var(--font); cursor: pointer; color: var(--ink-soft); }
.tabs button.active { background: var(--card); color: var(--ink); }

.service-list { display: grid; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.service { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 14px; width: 100%; padding: 18px 16px;
  border: 0; border-top: 1.5px solid var(--line); background: transparent; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.service:first-child { border-top: 0; }
.service:hover { background: #f8fbfd; }
.service .tick { margin-top: 3px; }
.service .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.service.selected { background: var(--rinse-soft); box-shadow: inset 4px 0 0 var(--rinse); }
.service.selected .tick { border-color: var(--rinse); background: var(--rinse); }
.service.selected .tick::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.service .name { display: block; font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.service .incl { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.service .desc { font-size: 14px; color: var(--ink-soft); }
.service .price-tag { font: italic 900 21px/1.1 var(--display); white-space: nowrap; text-align: right; }
.service .price-tag small { display: block; font: 500 13px var(--font); color: var(--ink-soft); }

.dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px 4px; scroll-snap-type: x proximity; }
.date-btn { flex: 0 0 auto; width: 68px; padding: 10px 0; text-align: center; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--card); cursor: pointer; font: inherit; color: inherit; scroll-snap-align: start; }
.date-btn .dow { font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.date-btn .day { font: 700 20px/1.25 var(--display); }
.date-btn.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.date-btn.selected .dow { color: #b9cde3; }
.date-btn:disabled { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--card); cursor: pointer; font: italic 800 16px var(--display); color: inherit; }
.slot:hover:not(:disabled) { border-color: var(--rinse); }
.slot.selected { background: var(--rinse); color: #fff; border-color: var(--rinse); }
.slot:disabled { background: transparent; border-style: dashed; color: #9db1c8; cursor: not-allowed; }
.empty-note { background: var(--card); border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); padding: 18px; color: var(--ink-soft); }

.form-section { padding: 20px 0 8px; border-top: 1.5px solid var(--line); }
.form-section:first-of-type { border-top: 0; padding-top: 4px; }
.form-section h3 { font-size: 18px; margin-bottom: 12px; }
.choice { display: flex; gap: 8px; }
.choice label { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); font-weight: 600; cursor: pointer; background: #fff; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label:has(input:checked) { border-color: var(--rinse); background: var(--rinse-soft); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--rinse); outline-offset: 2px; }
.geo-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.geo-ok { color: var(--ok); font-weight: 600; }

.receipt { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; margin-bottom: 12px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.summary div > span:first-child { color: var(--ink-soft); }
.summary div > span:last-child { text-align: right; font-weight: 600; }
.summary .total { border-top: 1.5px dashed var(--line-strong); margin-top: 8px; padding-top: 10px; font-size: 17px; }
.summary .total > span { color: var(--ink) !important; font-weight: 700 !important; }

/* sticky action dock: thumb-reachable on phones, always shows what you're paying */
.dock { position: sticky; bottom: 0; z-index: 5; margin: 18px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #f4f7fa; border-top: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock-info { min-width: 0; }
.dock-info strong { display: block; font: italic 900 19px var(--display); }
.dock-info span { display: block; font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .btn { flex: none; min-width: 150px; }

/* confirmation ticket */
.ticket { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 8px; }
.ticket-top { background: var(--ink); color: #fff; padding: 26px 22px 22px; text-align: center; }
.ticket-top h2 { font-size: 28px; margin-bottom: 6px; }
.ticket-top p { margin: 0; color: #cfe0f0; }
.code-box { font: italic 900 28px var(--display); letter-spacing: .06em; color: var(--ink); background: var(--sun); display: inline-block;
  padding: 8px 18px; border-radius: var(--r-sm); margin-top: 16px; }
.ticket-body { padding: 18px 22px 22px; border-top: 2px dashed var(--line-strong); }
.ticket-actions { display: grid; gap: 10px; margin-top: 16px; }

.actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- badges ---------- */
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.st-pending { background: var(--warn-soft); color: var(--warn); }
.st-confirmed { background: #e2eef9; color: #1f5f99; }
.st-on_the_way { background: var(--rinse-soft); color: #1b66b0; }
.st-in_progress { background: var(--info-soft); color: var(--info); }
.st-done { background: var(--ok-soft); color: var(--ok); }
.st-cancelled { background: var(--danger-soft); color: var(--danger); }
.st-sent { background: var(--ok-soft); color: var(--ok); }
.st-logged { background: #e2eef9; color: #1f5f99; }
.st-failed { background: var(--danger-soft); color: var(--danger); }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 236px 1fr; min-height: calc(100vh - 60px); }
.sidebar { background: var(--ink); padding: 14px 12px 20px; display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 60px; height: calc(100vh - 60px); border-top: 1px solid rgba(255,255,255,.08); }
.side-nav { display: grid; gap: 2px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidebar button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0;
  background: transparent; border-radius: var(--r-sm); font: 600 15px var(--font); color: #a9c1db; cursor: pointer; text-align: left; }
.sidebar button:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar button.active { background: rgba(255,255,255,.1); color: #fff; }
.sidebar button.active::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sun); }
.sidebar button.active .ico { color: var(--sun); }
.nav-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--sun); color: var(--ink);
  font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.side-link { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,.16); color: #d6e4f2; font-size: 14px; text-decoration: none; }
.side-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.main { padding: 24px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h2, .page-head h3 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { padding: 18px; }
.stat .label { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.stat .value { font: 700 28px/1.15 var(--display); margin-top: 6px; }
.stats .stat:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.stats .stat:first-child .label { color: #b9cde3; }
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding-top: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; max-width: 40px; background: var(--rinse); border-radius: 8px 8px 2px 2px; min-height: 3px; }
.bar-col .n { font-size: 13px; font-weight: 700; }
.bar-col .d { font-size: 12px; color: var(--ink-soft); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar input, .toolbar select { width: auto; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--ink-soft); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td .sub { font-size: 13px; color: var(--ink-soft); }
.empty { text-align: center; color: var(--ink-soft); padding: 32px; }
.bk-table .c-loc { min-width: 200px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; line-height: 1.4; }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-no { background: var(--danger-soft); color: var(--danger); }
.wa-link { display: inline-flex; align-items: center; gap: 5px; }
.ico-sm { width: 15px; height: 15px; }
.bk-table .note { margin-top: 6px; }
.bk-table tr.is-cancelled td:not(.c-act):not(.c-status) { opacity: .55; }
.bk-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.bk-filter { align-items: flex-end; }
.bk-filter .f-search { display: flex; gap: 10px; flex: 1; }
.bk-filter .f-q { min-width: 240px; flex: 1; }
@media (max-width: 800px) {
  .bk-filter { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "date status" "search search"; gap: 10px; }
  .bk-filter input, .bk-filter select { width: 100%; min-width: 0; }
  .bk-filter .f-date { grid-area: date; min-width: 0; }
  .bk-filter .f-status { grid-area: status; min-width: 0; }
  .bk-filter .f-search { grid-area: search; }
  .bk-filter .f-q { min-width: 0; }
}
.svc-table .svc-meta { display: none; }
.svc-table .c-act { text-align: right; white-space: nowrap; }

/* Services on a phone: compact card per service */
@media (max-width: 800px) {
  .svc-table, .svc-table tbody { display: block; }
  .svc-table thead { display: none; }
  .svc-table tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "name status" "act act";
    gap: 6px 14px; padding: 14px 16px; border-bottom: 1.5px solid var(--line); }
  .svc-table tr:last-child { border-bottom: 0; }
  .svc-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .svc-table td.empty { grid-column: 1 / -1; padding: 18px 0; }
  .svc-table .c-name { grid-area: name; }
  .svc-table .c-name strong { font-size: 17px; }
  .svc-table .svc-meta { display: block; margin-top: 2px; }
  .svc-table .svc-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
  .svc-table .c-veh, .svc-table .c-dur { display: none; }
  .svc-table .c-price { grid-area: price; font-weight: 700; font-size: 16px; text-align: right; white-space: nowrap; }
  .svc-table .c-status { grid-area: status; justify-self: end; }
  .svc-table .c-act { grid-area: act; display: flex; gap: 8px; text-align: left; margin-top: 4px; }
  .svc-table .c-act .btn { flex: 1 1 0; max-width: 160px; }
}
.bk-table .c-act { white-space: nowrap; text-align: right; }

/* Bookings on a phone or narrow window: one card per booking instead of a wide table */
@media (max-width: 1200px) {
  .bk-table, .bk-table tbody { display: block; }
  .bk-table thead { display: none; }
  .bk-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "time status" "cust cust" "loc loc" "veh svc" "act act";
    gap: 10px 14px; padding: 14px 16px; border-bottom: 1.5px solid var(--line); }
  .bk-table tr:last-child { border-bottom: 0; }
  .bk-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .bk-table td.empty { grid-column: 1 / -1; padding: 18px 0; }
  .bk-table .c-time { grid-area: time; }
  .bk-table .c-time strong { font-size: 18px; }
  .bk-table .c-status { grid-area: status; justify-self: end; }
  .bk-table .c-cust { grid-area: cust; font-weight: 600; }
  .bk-table .c-loc { grid-area: loc; min-width: 0; }
  .bk-table .c-veh { grid-area: veh; }
  .bk-table .c-svc { grid-area: svc; text-align: right; min-width: 0; }
  .bk-table .c-veh strong { white-space: nowrap; }
  .bk-table .nowrap { white-space: nowrap; }
  .card:not([style*="padding:0"]) > .table-wrap .bk-table tr { padding-left: 0; padding-right: 0; }
  .bk-table .c-act { grid-area: act; display: flex; flex-wrap: wrap; gap: 8px; text-align: left; white-space: normal; }
  .bk-table .c-act:empty { display: none; }
  .bk-table .c-act .btn { flex: 1 1 0; max-width: 220px; min-height: 42px; }
}
.link-box { display: flex; gap: 10px; align-items: center; background: var(--sun); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 18px; flex-wrap: wrap; font-weight: 600; }
.link-box code { font: 700 15px var(--font); word-break: break-all; }
.link-box .btn-ghost { border-color: rgba(11,60,73,.35); }
.day-checks { display: flex; gap: 6px; flex-wrap: wrap; }
.day-checks label { display: flex; align-items: center; gap: 6px; font-weight: 500; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 7px 11px; margin: 0; cursor: pointer; background: #fff; }
.day-checks input { width: auto; min-height: 0; }
.zone-row { display: grid; grid-template-columns: 1fr 140px auto; gap: 8px; margin-bottom: 8px; }

dialog { border: 0; border-radius: var(--r-lg); padding: 0; width: min(480px, 92vw); color: var(--ink); }
dialog::backdrop { background: rgba(11,60,73,.5); }
dialog form { padding: 22px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; z-index: 100; font-weight: 600; }

.tpl { margin-bottom: 14px; }
.tpl-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.tpl-head label { margin: 0; }
.tpl textarea { font-size: 14px; }
.wa-log-item { border-bottom: 1.5px solid var(--line); padding: 10px 0; }
.wa-log-item:last-child { border-bottom: 0; }
.wa-log-item .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-soft); margin-bottom: 4px; }
.wa-log-item pre { white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 1.45; margin: 0; background: #e3f6e6; padding: 8px 10px; border-radius: 8px; max-height: 140px; overflow: auto; }

@media (max-width: 800px) {
  /* menu row keeps its own height; spare screen height goes to the content, not the menu */
  .dash { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; overflow-x: auto; padding: 8px; gap: 4px; }
  .side-nav { display: flex; align-items: center; gap: 4px; }
  .sidebar button { width: auto; white-space: nowrap; }
  .sidebar button.active::before { left: 12px; right: 12px; top: auto; bottom: 2px; width: auto; height: 3px; border-radius: 3px; }
  .side-link { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .main { padding: 16px; }
}
@media (max-width: 480px) {
  .row { grid-template-columns: 1fr; gap: 0; }
  .stepper li { font-size: 13px; gap: 6px; }
  .service { gap: 10px; padding: 14px 12px; align-items: start; }
  .service .tick { margin-top: 2px; }
  .service .price-tag { font-size: 15px; }
  .dock .btn { min-width: 0; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* settings groups */
.setting-group { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px 16px 16px; margin: 0 0 18px; }
.setting-group legend { padding: 0 6px; font-weight: 700; font-size: 15px; }
.geo-card { padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg); font-size: 14px; }
.geo-card.set { background: var(--ok-soft); }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.suffix-input { display: flex; }
.suffix-input input { border-radius: var(--r-sm) 0 0 var(--r-sm); min-width: 0; }
.suffix-input span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--bg); color: var(--ink-soft); font-size: 14px; }
.suffix-input span.pre { order: -1; border-left: 1.5px solid var(--line); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.suffix-input span.pre + input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.quote { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; background: var(--rinse-soft); color: #1b66b0; }
.quote.err { background: var(--danger-soft); color: var(--danger); font-weight: 500; }
@media (max-width: 480px) { .row3 { grid-template-columns: 1fr 1fr; } }
.rule-note { margin: -4px 0 16px; padding: 10px 12px; border-radius: var(--r-sm); background: #e6f2fc; border-left: 3px solid #1f7fd1; color: var(--ink); font-size: 14px; line-height: 1.45; }

/* car sizes editor */
.size-head, .size-row { display: grid; grid-template-columns: 1fr 2fr 110px 80px 92px auto; gap: 8px; align-items: center; }
.consult-check { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-weight: 500; font-size: 13px; cursor: pointer; }
.consult-check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--rinse); }
.size-row .consult-check span { display: none; }
.size-head { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.size-row { margin-bottom: 8px; }
.size-row input { min-width: 0; }
.check-row { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 4px 0 6px; cursor: pointer; }
.check-row input { width: 20px; min-height: 0; height: 20px; accent-color: var(--rinse); }
@media (max-width: 640px) { .size-head { display: none; } .size-row { grid-template-columns: 1fr 1fr; } .size-row input[data-k=examples] { grid-column: 1 / -1; order: 2; } .size-row .consult-check span { display: inline; } .size-row .consult-check { justify-content: flex-start; } }

/* ---------- booking: sizes, packages, persuasion ---------- */
.size-pick { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; margin-bottom: 6px; }
.size-opt { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--card); cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.size-opt strong { font-size: 16px; }
.size-opt .car { display: block; width: 100%; height: auto; margin: 0 0 8px; opacity: .5; transition: opacity .2s ease; }
.size-opt:hover .car { opacity: .8; }
.size-opt.selected .car { opacity: 1; }
.size-opt .ex { font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.size-opt em { font-style: normal; font-size: 13px; font-weight: 700; color: #1b66b0; margin-top: auto; padding-top: 6px; }
.size-opt:hover { border-color: var(--line-strong); }
.size-opt.selected { border-color: var(--rinse); box-shadow: inset 0 0 0 1.5px var(--rinse); }
/* consultation category: one slim full-width row under the regular sizes */
.size-opt.consult { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; padding: 10px 13px; border-style: dashed; }
.size-opt.consult strong { font-size: 15px; white-space: nowrap; }
.size-opt.consult .ex { flex: 1; -webkit-line-clamp: 1; }
.size-opt.consult em { margin: 0; padding: 0; white-space: nowrap; }
.size-opt.consult.selected { border-style: solid; }
@media (max-width: 480px) {
  .size-opt { padding: 10px 11px; }
  .size-opt strong { font-size: 15px; }
  .size-opt .ex { -webkit-line-clamp: 4; font-size: 12px; }
  .size-opt.consult .ex { display: none; }
}
.service.featured:not(.selected) { border-color: var(--line-strong); }
.svc-main { display: grid; gap: 6px; min-width: 0; }
.service .name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag { display: inline-block; margin-left: 6px; font-size: 13px; font-weight: 700; color: var(--rinse); }
.tag-hot { color: var(--ink); }
.incl { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 2px; }
.price-tag .from { display: block; font: 500 12px var(--font); color: var(--ink-soft); }
.upsell { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px;
  border: 1.5px dashed var(--rinse); border-radius: var(--r-md); background: var(--card); font: inherit; color: var(--ink); text-align: left; cursor: pointer; font-size: 14px; }
.upsell:hover { background: var(--rinse-soft); }
.upsell-cta { flex: none; font-weight: 700; color: #1b66b0; }
.step1-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.step1-head h2 { margin: 0; font-size: 24px; }
.step1-head .tabs { margin: 0; }
.scarce { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 600; }

.consult-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 20px; margin-top: 8px; }
.consult-card h3 { font-size: 19px; margin-bottom: 8px; }
.consult-card p { color: #cfe0f0; font-size: 15px; margin: 0 0 16px; }
.consult-card label { color: #fff; }
.consult-card .hint { color: #b9cde3; margin: 12px 0 0; }
.consult-card .ico { width: 20px; height: 20px; }
dialog.wide { width: min(640px, 94vw); }
dialog form { max-height: 90vh; overflow-y: auto; }
.wa-chip { white-space: nowrap; }
@media (max-width: 420px) { .hide-sm { display: none; } }

/* Phone notifications card */
.push-card { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.push-card h3 { margin: 0 0 4px; }
.push-card .hint { margin: 0; max-width: 60ch; }
.push-text { flex: 1 1 260px; }
.push-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-danger-ghost { color: var(--danger); border-color: #e9b4ad; }
.btn-danger-ghost:hover { background: var(--danger-soft); }
.lb-actions { display: inline-flex; gap: 8px; }
.lbl-short { display: none; }

/* ---------- dashboard on a phone: app-style bottom tab bar ---------- */
@media (max-width: 800px) {
  .dash { grid-template-rows: 1fr; }
  .sidebar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 40; height: auto; overflow: visible;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 -6px 20px rgba(11,60,73,.18); }
  .side-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; width: 100%; }
  .sidebar button { flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; padding: 6px 2px; font-size: 11px; font-weight: 600; text-align: center; white-space: nowrap; }
  .sidebar button .ico { width: 22px; height: 22px; }
  .sidebar button.active { background: transparent; }
  .sidebar button.active::before { left: 30%; right: 30%; top: -6px; bottom: auto; height: 3px; width: auto; border-radius: 0 0 3px 3px; }
  .sidebar .nav-count { position: absolute; top: 2px; left: calc(50% + 6px); margin: 0; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
  .lbl-full { display: none; } .lbl-short { display: inline; }
  .main { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  #userName { display: none; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  /* the booking link only on Ringkasan, as one compact row */
  body:not([data-view="overview"]) .link-box { display: none; }
  .link-box { padding: 10px 12px; }
  .link-box code { display: none; }
  .link-box .lb-label { flex: 1; }
  .link-box.can-share #openLink { display: none; }
  .link-box .lb-label .lbl-full { display: none; }
  /* Ringkasan: today's visits right after the numbers, charts last */
  section[data-view="overview"]:not(.hidden) { display: flex; flex-direction: column; }
  #overviewCharts { order: 2; }
  /* comfortable tap targets, and no auto-zoom on iPhone when typing */
  .btn-sm { min-height: 40px; padding: 8px 14px; }
  .link-btn { min-height: 40px; }
  input, select, textarea, .tpl textarea { font-size: 16px; }
}

/* Safari on iPhone: date/time fields ignore width and collapse when empty; make them behave like the other fields */
input[type="date"], input[type="time"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; display: block; text-align: left; background: var(--card); }
input[type="date"]::-webkit-date-and-time-value, input[type="time"]::-webkit-date-and-time-value { text-align: left; min-height: 1.3em; }
.date-wrap { position: relative; display: block; min-width: 0; }
.date-empty { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-soft); font-size: 15px; font-weight: 400; }
.date-wrap.has-value .date-empty { display: none; }
@supports not (-webkit-touch-callout: none) { .date-empty { display: none; } } /* only iPhone/iPad Safari leaves the empty field blank */
@media (max-width: 800px) { .bk-filter { align-items: start; } }

.size-consult { margin: 8px 0 4px; font-size: 14px; color: var(--ink-soft); }
.size-consult .link-btn { display: inline; min-height: 0; padding: 6px 2px; font-size: 14px; color: #1b66b0; text-decoration: underline; }
.size-consult .link-btn.selected { color: var(--ink); }
.hero-title { margin-bottom: 14px; }

.hero-check { display: inline-flex; align-items: center; margin-top: 2px; padding: 2px 0; font-size: 14px; line-height: 1.4; color: #cfe0f0; text-decoration: none; }
.hero-check span { margin-left: 5px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Pengaturan: tap a time to switch it off for customers */
.time-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; }
.tp { min-height: 40px; border: 1.5px solid var(--rinse); background: var(--rinse-soft); color: var(--ink); border-radius: var(--r-sm); font: 700 14px var(--font); cursor: pointer; }
.tp.off { border-color: var(--line); background: var(--card); color: var(--ink-soft); text-decoration: line-through; font-weight: 500; }
@media (max-width: 480px) { .time-pick { grid-template-columns: repeat(6, 1fr); gap: 5px; } .tp { font-size: 13px; min-height: 38px; padding: 0; } }

/* Keuangan (PC only) */
.fin-month { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.fin-month input { width: auto; }
.stat-net { border-color: var(--rinse); background: var(--rinse-soft); }
.stat-net.neg { border-color: #e9b4ad; background: var(--danger-soft); }
.stat-net.neg .value { color: var(--danger); }
.fin-table { width: 100%; }
.fin-table td, .fin-table th { padding: 8px 6px; }
.fin-table .num { text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }

@media (max-width: 800px) { .desk-only { display: none !important; } }
.stats .stat:first-child .hint { color: rgba(255,255,255,.75); }

.backup-card { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.backup-card h3 { margin: 0 0 4px; }
.backup-card .hint { margin: 0; max-width: 70ch; }
.warn-text { color: var(--danger); font-weight: 600; }

/* 77Clean.id wordmark: rounded heavy italic, ".id" in the accent colour */
.bn { font-family: 'Nunito', var(--display); font-style: italic; font-weight: 900; letter-spacing: -0.01em; }
.bn .tld { color: #7fd0f5; }
.logo-mark { border-radius: 9px; }

.link-row { display: flex; gap: 8px; }
.link-row input { flex: 1; min-width: 0; }
.exp-actions { display: flex; gap: 8px; }
.exp-actions .btn { flex: 1; }
.fin-table tr.editing td { background: var(--rinse-soft); }
.exp-btns { white-space: nowrap; }

/* links to Kontak / FAQ / S&K / Refund under the booking form */
.site-footer { background: #0b1117; color: #b8c4cf; padding: 36px 20px calc(36px + env(safe-area-inset-bottom)); text-align: left; }
.site-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.site-footer-brand { font-size: 22px; color: #fff; }
.site-footer-brand .tld { color: #7fd0f5; }
.site-footer small { flex-basis: 100%; font-size: 13px; color: #7d8a97; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.site-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.site-links a { color: #e3eaf0; text-decoration: none; }
.site-links a:hover { color: #7fd0f5; text-decoration: underline; text-underline-offset: 3px; }


/* plate number typed onto a real-looking Indonesian plate */
.plate-input { text-transform: uppercase; text-align: center; font: 700 21px/1 var(--font); letter-spacing: .14em; color: #111; background: #fff;
  border: 2px solid #111; border-radius: 5px; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px #111; min-height: 52px; }
.plate-input::placeholder { color: #b5b5b5; letter-spacing: .14em; }
.plate-input:focus { border-color: #111; outline: 3px solid var(--rinse); outline-offset: 2px; }

/* ---------- garage look: dark photo hero, tall condensed caps, one blue accent ---------- */
h1, h2, .hero-title, .price-tag, .slot, .date-btn .day, .dock-info strong, .code-box, .hero-facts li strong, .stat .value {
  font-style: normal !important; }
h1, h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: 1.02; }
h2 { font-size: 32px; }
.hero-photo { background: #0b1117 url("https://images.unsplash.com/photo-1633014041037-f5446fb4ce99?w=1400&q=70&auto=format&fit=crop") center 38% / cover no-repeat;
  padding: 16px 0 34px; min-height: min(84vh, 640px); display: flex; isolation: isolate; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,12,18,.55) 0%, rgba(7,12,18,.35) 35%, rgba(7,12,18,.92) 100%); }
.hero-photo .wrap { display: flex; flex-direction: column; width: 100%; }
.hero-photo .topbar { margin-bottom: auto; }
.hero-photo .hero-title { font: 800 clamp(50px, 15vw, 76px)/.92 var(--display); text-transform: uppercase; letter-spacing: 0; max-width: 9ch; margin: 120px 0 18px; }
.hero-photo .hero-facts { color: #d5dde5; }
.hero-photo .hero-facts li strong { font: 700 21px var(--display); color: #fff; }
.hero-photo .wa-chip { border-radius: 3px; }
.photo-credit { position: absolute; right: 10px; bottom: 6px; font-size: 11px; color: rgba(255,255,255,.45); text-decoration: none; }
.btn { border-radius: 3px; font: 700 18px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.btn-sm { font-size: 15px; }
.btn-lg { font-size: 20px; }
.btn-sun { background: #1f7fd1; }
.btn-sun:hover { background: #1868ad; }
.service .price-tag { font: 700 26px/1 var(--display); color: var(--ink); }
.slot { font: 700 19px var(--display); border-radius: 3px; }
.date-btn { border-radius: 3px; }
.date-btn .day { font: 700 26px/1.1 var(--display); }
.dock-info strong { font: 700 24px/1.1 var(--display); }
.code-box { font: 800 34px var(--display); letter-spacing: .08em; border-radius: 3px; }
.stepper li { font: 700 16px var(--display); text-transform: uppercase; letter-spacing: .03em; }
.size-opt, .service-list, .receipt, input, select, textarea { border-radius: 4px; }
.stat .value { font: 700 32px/1.1 var(--display); }
.nav { background: #0b1117; }
.tabs, .tabs button, .toast { border-radius: 3px; }
.badge, .chip { border-radius: 3px; }
.card { border-radius: 4px; }
.sidebar, .ticket-top { background: #0b1117; }
.stat, .form-section, .size-opt { border-radius: 4px; }

/* welcome screens (first visit only): full-bleed photo, text on a dark fade */
.intro-open, .intro-open body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 60; background: #0b1117; color: #fff; overflow: hidden; }
.intro-bg { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity .5s ease; }
.intro-bg.on { opacity: 1; }
.intro::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,12,18,.6) 0%, rgba(7,12,18,0) 22%, rgba(7,12,18,0) 42%, rgba(7,12,18,.82) 68%, rgba(7,12,18,.96) 100%); }
.intro-inner { position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: 480px; height: 100%; margin: 0 auto;
  padding: 16px 24px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; }
.intro-top { display: flex; justify-content: space-between; align-items: center; }
.intro-brand { font-size: 22px; color: #fff; }
.intro-brand .tld { color: #7fd0f5; }
.intro-skip { border: 0; background: none; font: 600 15px var(--font); color: #fff; padding: 10px 4px; cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.intro-dots { display: flex; gap: 8px; margin: 0 0 18px; }
.intro-dots span { width: 26px; height: 4px; background: rgba(255,255,255,.3); transition: background .2s, width .2s; }
.intro-dots span.on { background: #7fd0f5; width: 40px; }
.intro-title { font-size: clamp(44px, 13vw, 60px); line-height: .92; color: #fff; margin: 0 0 12px; max-width: 12ch; }
.intro-text { font-size: 17px; color: #d5dde5; margin: 0 0 26px; max-width: 30ch; }
.intro-credit { position: absolute; z-index: 1; right: 10px; top: 58px; font-size: 11px; color: rgba(255,255,255,.55); }
@media (prefers-reduced-motion: reduce) { .intro-bg, .intro-dots span { transition: none; } }

/* ---------- wider screens (PC / tablet landscape) ---------- */
@media (min-width: 900px) {
  .hero-photo .wrap { max-width: 1100px; padding: 0 40px; }
  .hero-photo { min-height: min(78vh, 720px); background-position: center 45%; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(7,12,18,.6) 0%, rgba(7,12,18,.45) 40%, rgba(7,12,18,.88) 100%); }
  .hero-photo .wrap { text-align: center; }
  .hero-photo .hero-title { font-size: clamp(64px, 6.4vw, 100px); max-width: 16ch; margin: 60px auto 18px; }
  .hero-photo .hero-facts { justify-content: center; }
  .hero-photo .hero-check { align-self: center; }
  .booking { margin-top: 28px; }

  .intro::after { background: linear-gradient(90deg, rgba(7,12,18,.92) 0%, rgba(7,12,18,.7) 40%, rgba(7,12,18,.05) 75%),
    linear-gradient(180deg, rgba(7,12,18,.55) 0%, rgba(7,12,18,0) 18%); }
  .intro-inner { max-width: 1100px; padding: 28px 40px 56px; }
  .intro-copy { max-width: 460px; }
  .intro-title { font-size: clamp(60px, 6vw, 88px); }
}

.booking { min-height: 0; }
.booking .dock { margin-top: 28px; }
.nav-back { gap: 6px; }
.nav-back .ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media print { .nav-back { display: none !important; } }

/* payments */
.chip-warn { background: #fff4d6; color: #8a5a00; }
.qris-box { border: 1px dashed var(--line, #cfd8e3); border-radius: 4px; padding: 10px; display: flex; align-items: center; justify-content: center; min-height: 80px; background: #fff; }
.qris-box img { max-width: 220px; width: 100%; height: auto; display: block; }
.pay-card { border: 2px solid #f0c24b; background: #fffaf0; border-radius: 4px; padding: 14px; margin: 14px 0; }
.pay-card h3 { margin: 0 0 6px; }
.pay-manual { margin-top: 12px; border-top: 1px dashed #e2c98a; padding-top: 8px; }
.pay-manual summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.pay-card .pay-amount { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1.1; }
.pay-card .pay-info { white-space: pre-line; background: #fff; border: 1px solid #ecdcae; border-radius: 3px; padding: 10px; margin: 10px 0; font-weight: 600; }
.pay-card .qris-img { display: block; max-width: 280px; width: 100%; margin: 10px auto; background: #fff; }
.pay-ok { border-color: var(--ok, #1a7f4b); background: var(--ok-soft, #e8f6ee); }
.summary .dp-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.summary .dp-row.muted { font-weight: 400; }
.agree-note { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.5; }

/* settings: tabs + always-visible save bar */
.set-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; max-width: 720px; }
.set-tabs::-webkit-scrollbar { display: none; }
.set-tabs button { flex: none; padding: 10px 16px; border-radius: 3px; border: 1px solid var(--line-strong, #c5d0db); background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.set-tabs button[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.set-form { max-width: 720px; padding-bottom: 0; }
.set-pane .pane-intro { margin: 0 0 16px; color: var(--ink-soft); }
.set-pane .pane-sub { margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.set-pane .backup-card { margin: 0; }
#gapNote { margin: -4px 0 18px; font-size: 14px; }
.save-bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 18px -22px 0; padding: 12px 22px; background: #fff; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-md, 4px) var(--r-md, 4px); }
.save-bar .save-note { font-size: 14px; color: var(--ink-soft); }
.save-bar.is-dirty { background: #fffaf0; border-top-color: #f0c24b; }
.save-bar.is-dirty .save-note { color: #8a5a00; font-weight: 700; }
@media (max-width: 800px) {
  .save-bar { bottom: calc(68px + env(safe-area-inset-bottom)); margin: 18px -16px 0; padding: 10px 16px; }
}
@media (max-width: 800px) {
  .set-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; overflow: visible; }
  .set-tabs button { padding: 10px 4px; font-size: 13px; text-align: center; }
}

/* phones: smaller hero and type so the booking starts on the first screen */
@media (max-width: 600px) {
  .hero-photo { min-height: 0; padding: 14px 0 22px; }
  .hero-photo .hero-title { font-size: clamp(34px, 10.5vw, 46px); line-height: .95; max-width: 12ch; margin: 56px 0 12px; }
  .hero-photo .hero-facts li strong { font-size: 18px; }
  .hero-facts { font-size: 14px; }
  h2 { font-size: 25px; }
  .btn { font-size: 16px; }
  .btn-lg { font-size: 18px; min-height: 48px; padding: 12px 20px; }
  .service .price-tag { font-size: 21px; }
  .service .name { font-size: 16px; }
  .date-btn .day { font-size: 21px; }
  .slot { font-size: 17px; min-height: 42px; }
  .dock-info strong { font-size: 20px; }
  .dock { padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .code-box { font-size: 28px; }
  .stepper li { font-size: 14px; }
  .intro-title { font-size: 40px; }
}

/* iPhone/iPad: the action bar sits after the step's content instead of sticking to the screen bottom (Safari 26 covers it) */
.ios .dock { position: static; margin-top: 22px; margin-bottom: calc(16px + env(safe-area-inset-bottom)); border: 1.5px solid var(--line); border-radius: 4px; margin-inline: 0; }
.ios .booking { min-height: 0; }
.ios .booking .dock { margin-top: 22px; }

/* packages slide in gently after the first size pick */
@keyframes reveal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#packages.reveal { animation: reveal-in .3s ease-out both; }
@media (prefers-reduced-motion: reduce) { #packages.reveal { animation: none; } }

/* settings: bank accounts / e-wallets */
.acc-list { display: grid; gap: 8px; margin-bottom: 8px; }
.acc-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr auto; gap: 6px; align-items: center; }
@media (max-width: 600px) { .acc-row { grid-template-columns: 1fr 1fr; padding: 8px; border: 1px solid var(--line); border-radius: 4px; } .acc-row [data-k=number] { grid-column: 2; } .acc-row [data-k=name] { grid-column: 1; } }
/* status page: account to copy */
.acc-pay { display: grid; gap: 8px; margin-top: 8px; }
.acc-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid #ecd9a6; border-radius: 4px; padding: 10px 12px; }
.acc-card .acc-l { font-size: 13px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .03em; }
.acc-card .acc-n { font: 700 21px/1.2 var(--display); letter-spacing: .04em; word-break: break-all; }
.acc-card .acc-a { font-size: 13px; color: var(--ink-soft); }
.copy-btn { flex: none; min-width: 74px; }
.copy-btn.done { background: #1d8a4e; border-color: #1d8a4e; color: #fff; }
.amount-copy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* very bottom of the footer: owner's way into the dashboard (quiet, for the owner only) */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.owner-link { color: #7d8a97; text-decoration: underline; text-underline-offset: 3px; }
.owner-link:hover { color: #fff; }
