/* Booking, manage-appointment and admin UI. Uses the site's tokens from style.css. */

.booking { padding-top: 110px; }
.booking .section-heading > p:last-child { color: var(--muted); max-width: 520px; margin: 18px 0 0; }
.booker { max-width: 760px; margin: 48px auto 0; }

/* Mode switch */
.bk-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 999px; background: #ffffff06; }
.bk-tabs button {
  min-height: 48px; padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .25s, color .25s;
}
.bk-tabs button[aria-pressed="true"] { background: var(--orange); color: #0a0a0a; }
.bk-tabs button:not([aria-pressed="true"]):hover { color: var(--text); }

/* Card */
.bk-card {
  position: relative; padding: 26px 26px 0; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, #1a1a1a, #101010); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px #000;
}
.bk-card.solo { max-width: 680px; margin: 0 auto; padding-bottom: 26px; }
.bk-head { display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.bk-back { padding: 6px 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.bk-back:hover { color: var(--orange); }
.bk-step { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.bk-progress { height: 4px; margin: 12px -26px 0; background: #ffffff10; }
.bk-progress span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 0 4px 4px 0; transition: width .35s cubic-bezier(.2, .7, .3, 1); }
.bk-body { padding: 24px 0 26px; min-height: 260px; }
.bk-card h3, .bk-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 4vw, 38px); line-height: 1; letter-spacing: .5px; margin: 0 0 18px; }
.bk-card h3:focus, .bk-title:focus { outline: none; }
.bk-foot {
  position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 -26px; padding: 14px 26px calc(14px + env(safe-area-inset-bottom));
  background: #111111f2; backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.bk-foot[hidden] { display: none; }

/* Step change */
.bk-view.enter { animation: bk-in .28s cubic-bezier(.2, .7, .3, 1); }
@keyframes bk-in { from { opacity: 0; transform: translateX(14px); } }

/* Option cards */
.opts { display: grid; gap: 12px; }
.opts.grid2 { grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 16px 18px; text-align: left;
  border: 1px solid var(--line); border-radius: 16px; background: #0d0d0d; color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.opt:hover { border-color: #ff6b0088; }
.opt:active { transform: scale(.985); }
.opt.is-on { border-color: var(--orange); background: #ff6b0014; box-shadow: inset 0 0 0 1px var(--orange); }
.opt-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.opt-text strong { font-size: 17px; }
.opt-text small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.opt-meta { font-weight: 800; color: var(--orange); white-space: nowrap; }
.opt-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: #ff6b001f; color: var(--orange); }
.opt-icon svg { width: 32px; height: 32px; }
.grid2 .opt { flex-direction: column; align-items: flex-start; gap: 10px; }
.grid2 .opt-meta { font-size: 14px; }

/* Dirt level meter: same visual on quote, returning flow and manage page */
.dirt-meter { display: flex; align-items: end; gap: 3px; width: 46px; height: 46px; flex: none; padding: 10px 9px; border-radius: 12px; background: #ff6b001f; }
.dirt-meter i { flex: 1; border-radius: 3px; background: #ffffff22; }
.dirt-meter i:nth-child(1) { height: 40%; }
.dirt-meter i:nth-child(2) { height: 70%; }
.dirt-meter i:nth-child(3) { height: 100%; }
.dirt-meter.lvl1 i:nth-child(-n+1), .dirt-meter.lvl2 i:nth-child(-n+2), .dirt-meter.lvl3 i { background: var(--orange); }

/* Quote */
.quote { padding: 20px; border-radius: 18px; background: radial-gradient(circle at 90% 0, #ff6b0030, transparent 60%), #0d0d0d; border: 1px solid #ff6b0055; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.quote-total span { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.quote-total strong { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--orange); }
.quote-lines { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed #333; display: grid; gap: 6px; font-size: 14px; color: #d0d0d0; }
.quote-lines li { display: flex; justify-content: space-between; gap: 12px; }
.price-pill { display: grid; line-height: 1.1; font-family: var(--display); font-size: 30px; color: var(--orange); }
.price-pill small { font-family: inherit; font: 700 11px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }

/* Fields */
.bk-field { display: grid; gap: 6px; margin-top: 16px; }
.bk-field label, .bk-label { font-size: 14px; font-weight: 700; color: #e4e4e4; margin: 0; }
.bk-field input, .bk-field textarea, .bk-field select, .block-bar input, .settings input, .day-title input {
  width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 14px; border: 1px solid #3a3a3a; background: #0a0a0a; color: var(--text);
  font: inherit; font-size: 16px; /* 16px stops iOS zooming in */
  transition: border-color .2s, box-shadow .2s;
}
.bk-field textarea { min-height: 96px; resize: vertical; }
.bk-field input:focus, .bk-field textarea:focus, .bk-field select:focus, .block-bar input:focus, .settings input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px #ff6b0033; }
.bk-field [aria-invalid="true"] { border-color: #ff5a4f; }
.bk-hint { color: var(--muted); font-size: 13px; }
.bk-hint:empty, .bk-err:empty { display: none; }
.bk-err { color: #ff8a80; font-size: 13px; font-weight: 700; }
.bk-fields { margin-top: 20px; padding-top: 6px; border-top: 1px solid var(--line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px;
  border: 1px solid transparent; border-radius: 999px; background: var(--orange); color: #0a0a0a;
  font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; text-align: center;
  box-shadow: 0 10px 30px -10px #ff6b00aa; transition: transform .2s, background .2s, box-shadow .2s, opacity .2s;
}
.bk-btn:hover:not(:disabled) { background: var(--orange-hot); transform: translateY(-1px); }
.bk-btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.bk-btn.is-busy { opacity: .7; cursor: progress; }
.bk-btn.ghost { background: transparent; color: var(--text); border-color: #555; box-shadow: none; }
.bk-btn.ghost:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); background: transparent; }
.bk-btn.danger { color: #ff8a80; }
.bk-btn.danger:hover:not(:disabled) { border-color: #ff5a4f; color: #ff5a4f; }
.bk-btn.danger-solid { background: #e5483b; color: #fff; box-shadow: none; }
.bk-btn.danger-solid:hover:not(:disabled) { background: #ff5a4f; }
.bk-btn.wa { width: 100%; background: #25d366; color: #062b14; box-shadow: 0 10px 30px -12px #25d366aa; margin-top: 22px; }
.bk-btn.wa:hover { background: #3ee07a; }
.bk-btn svg, .bk-chip svg { width: 20px; height: 20px; flex: none; }
.bk-btn.small { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.bk-foot .bk-btn { min-width: 170px; }
.bk-link { padding: 0; border: 0; background: none; color: var(--orange); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bk-link.small { display: inline-block; margin-top: 22px; font-size: 13px; color: var(--muted); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.bk-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid #444; background: #0d0d0d; font-size: 14px; font-weight: 700; transition: border-color .2s, color .2s;
}
.bk-chip:hover { border-color: var(--orange); color: var(--orange); }
.bk-btn:focus-visible, .bk-tabs button:focus-visible, .opt:focus-visible, .day:focus-visible, .slot:focus-visible, .bk-back:focus-visible, .bk-link:focus-visible, .days-nav:focus-visible, .admin-tabs button:focus-visible, .week-day:focus-visible, .bk-chip:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}

/* Messages */
.bk-muted { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.center { text-align: center; }
.lead { font-size: 17px; color: #d6d6d6; }
.bk-alert, .bk-success, .bk-empty { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.bk-alert { background: #ff5a4f14; border: 1px solid #ff5a4f66; color: #ffd2cd; animation: bk-shake .35s; }
.bk-alert.soft { background: #ff6b0012; border-color: #ff6b0055; color: #ffe1c9; animation: none; }
.bk-alert p, .bk-success p { margin: 0; }
.bk-alert .bk-btn { margin-top: 12px; }
.bk-success { background: #25d36614; border: 1px solid #25d36666; color: #c9f7da; animation: bk-in .3s; }
.bk-empty { background: #ffffff08; border: 1px dashed #444; color: #d0d0d0; text-align: center; padding: 26px 16px; }
@keyframes bk-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.bk-loading::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border: 2px solid #ffffff30; border-top-color: var(--orange); border-radius: 50%; animation: bk-spin .7s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
.bk-policy { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 12px 14px; border-radius: 12px; background: #ffffff08; font-size: 13px; color: #cfcfcf; }
.bk-policy + .bk-policy { margin-top: 10px; }
.bk-policy svg { width: 18px; height: 18px; flex: none; fill: var(--orange); margin-top: 1px; }

/* Summary */
.bk-summary { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.bk-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: #0d0d0d; }
.bk-summary div + div { border-top: 1px solid var(--line); }
.bk-summary dt { color: var(--muted); font-size: 14px; }
.bk-summary dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }

/* Date + time picker */
.picker { margin-top: 16px; }
.days-wrap { display: flex; align-items: center; gap: 8px; }
.days {
  position: relative; display: flex; gap: 10px; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 4px 2px 8px;
}
.days::-webkit-scrollbar { display: none; }
.days-nav { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #444; background: transparent; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s; }
.days-nav:hover { border-color: var(--orange); color: var(--orange); }
.day {
  display: grid; justify-items: center; gap: 1px; flex: 0 0 86px; min-height: 108px; padding: 10px 6px; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 16px; background: #0d0d0d; color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.day:hover:not(.is-off) { border-color: #ff6b0088; }
.day:active:not(.is-off) { transform: scale(.96); }
.day.is-on { border-color: var(--orange); background: var(--orange); color: #0a0a0a; }
.day.is-on .day-s, .day.is-on .day-m { color: #0a0a0a; }
.day.is-off { cursor: not-allowed; opacity: .5; background: repeating-linear-gradient(135deg, #0d0d0d 0 8px, #141414 8px 16px); }
.day-wd { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.day-n { font-family: var(--display); font-size: 30px; line-height: 1.05; }
.day-m { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.day-s { font-size: 11px; font-weight: 700; color: var(--orange); text-align: center; line-height: 1.2; }
.day.is-off .day-s { color: var(--muted); }
.day.skeleton { cursor: default; background: linear-gradient(90deg, #111 0%, #1b1b1b 50%, #111 100%) 0 0 / 200% 100%; animation: bk-shimmer 1.2s linear infinite; }
@keyframes bk-shimmer { to { background-position: -200% 0; } }
.slots-box { margin-top: 18px; }
.slots-box.pop { animation: bk-up .25s ease-out; }
@keyframes bk-up { from { opacity: 0; transform: translateY(8px); } }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
.slot {
  display: grid; gap: 2px; min-height: 64px; padding: 12px; border-radius: 14px; border: 1px solid #3a3a3a; background: #0d0d0d; color: var(--text);
  font: inherit; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .15s;
}
.slot strong { font-size: 18px; }
.slot small { font-size: 12px; color: var(--muted); }
.slot:hover:not(:disabled) { border-color: var(--orange); }
.slot:active:not(:disabled) { transform: scale(.97); }
.slot.is-on { background: var(--orange); border-color: var(--orange); color: #0a0a0a; animation: bk-pick .25s; }
.slot.is-on small { color: #0a0a0a; }
.slot:disabled { cursor: not-allowed; opacity: .4; text-decoration: line-through; text-decoration-color: #ffffff55; }
@keyframes bk-pick { 50% { transform: scale(1.04); } }

/* Done */
.done-mark { display: grid; place-items: center; margin: 4px 0 14px; }
.done-mark svg { width: 76px; height: 76px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke: var(--orange); stroke-width: 3; fill: #ff6b0018; stroke-dasharray: 151; stroke-dashoffset: 151; animation: bk-draw .5s ease-out forwards; }
.done-mark path { stroke: var(--orange); stroke-width: 4; stroke-dasharray: 36; stroke-dashoffset: 36; animation: bk-draw .35s .4s ease-out forwards; }
@keyframes bk-draw { to { stroke-dashoffset: 0; } }
.cal-add { margin-top: 24px; }
.cal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.manage-box { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.bk-view > .bk-link { display: block; margin: 22px auto 0; }

/* Status badges (manage page + admin) */
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; background: #ffffff10; }
.status-badge.s-confirmed { background: #25d36622; color: #7deaa5; }
.status-badge.s-cancelled { background: #ff5a4f22; color: #ff8a80; }
.status-badge.s-completed { background: #ffffff14; color: #ccc; }
.status-badge.s-full { background: #ff6b0026; color: var(--orange); }
.bk-card.solo > .bk-view > .status-badge { margin: -6px 0 18px; }
.bk-card.solo .bk-summary { margin-top: 4px; }

/* Plain pages (manage, admin) */
.page-plain { min-height: 100svh; }
.plain-main { padding-top: 40px; }

/* WhatsApp floating button, stacked above the call button on phones */
.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px;
  background: #25d366; color: #062b14; font-weight: 800; box-shadow: 0 12px 30px -6px #25d36688;
  transition: opacity .3s, transform .3s;
}
.wa-fab svg { width: 20px; height: 20px; }
.wa-fab:hover { background: #3ee07a; }
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wa-fab.hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.button.wa { background: #25d366; color: #062b14; box-shadow: 0 10px 34px -8px #25d36688; }
.button.wa:hover { background: #3ee07a; }
.contact-box .button + .button { margin-top: 12px; }
.contact-box .button { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .call-fab { bottom: 82px; }
  .booking { padding-top: 80px; }
  .booker { margin-top: 34px; }
}

@media (max-width: 560px) {
  .bk-card { padding: 20px 18px 0; border-radius: 20px; }
  .bk-card.solo { padding-bottom: 20px; }
  .bk-progress { margin: 12px -18px 0; }
  .bk-foot { margin: 0 -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
  .bk-foot .bk-btn { min-width: 0; flex: 1; max-width: 220px; }
  .bk-tabs button { font-size: 13px; padding: 8px 10px; }
  .days-nav { display: none; }
  .day { flex-basis: 78px; }
  .opts.grid2 { gap: 10px; }
  .grid2 .opt { padding: 14px; }
  .bk-actions .bk-btn { flex: 1 1 100%; }
  .bk-summary div { flex-direction: column; gap: 2px; }
  .bk-summary dd { text-align: left; }
}

/* ---------- Admin ---------- */
.admin-wrap { max-width: 980px; margin: 0 auto; }
.admin-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.admin-h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 5vw, 52px); margin: 0; line-height: 1; }
.admin-h3 { font-size: 18px; margin: 26px 0 12px; }
.admin-tabs { display: flex; gap: 6px; margin: 22px 0 20px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.admin-tabs button { flex: 1; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; }
.admin-tabs button[aria-pressed="true"] { background: var(--text); color: #0a0a0a; }
.admin-main.enter { animation: bk-up .25s ease-out; }
.day-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.day-title { flex: 1; min-width: 180px; display: grid; gap: 6px; text-align: center; }
.day-title strong { font-size: 18px; }
.day-title strong::first-letter, .admin-h3::first-letter, .week-day .wd::first-letter { text-transform: uppercase; }
.day-title input { min-height: 40px; padding: 6px 12px; max-width: 200px; margin: 0 auto; color-scheme: dark; }
.day-nav .days-nav { display: grid; }
.day-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 14px; }
.count-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #ffffff10; font-weight: 800; font-size: 14px; }
.count-pill.full { background: var(--orange); color: #0a0a0a; }
.slot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #0f0f0f; }
.slot-row.booked { padding: 0; border: 0; background: none; }
.slot-row.booked .appt { width: 100%; }
.slot-row.blocked { background: repeating-linear-gradient(135deg, #0f0f0f 0 10px, #161616 10px 20px); }
.slot-row.muted { opacity: .55; }
.slot-time { font-weight: 800; min-width: 150px; }
.slot-state { flex: 1; color: var(--muted); font-size: 14px; }
.slot-row.free:not(.muted) .slot-state { color: #7deaa5; }
.sel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; min-height: 40px; }
.sel input { width: 20px; height: 20px; accent-color: var(--orange); }
.block-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 18px; background: #1b1b1bf2; border: 1px solid var(--orange); backdrop-filter: blur(8px); }
.block-bar[hidden] { display: none; }
.block-bar input { min-height: 44px; }
.appt { padding: 16px; border-radius: 16px; border: 1px solid #ff6b0055; background: linear-gradient(160deg, #1b1209, #101010); }
.appt.s-cancelled { border-color: var(--line); background: #0f0f0f; opacity: .7; }
.appt.s-completed { border-color: var(--line); background: #121212; }
.appt-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.appt-time { font-size: 16px; margin-right: auto; }
.src-badge { padding: 3px 10px; border-radius: 999px; border: 1px solid #444; font-size: 12px; font-weight: 700; color: #ccc; }
.appt-name { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0 0; font-size: 18px; font-weight: 800; }
.appt-price { color: var(--orange); }
.appt p { margin: 6px 0 0; }
.appt-notes { padding: 8px 12px; border-radius: 10px; background: #ffffff08; font-size: 14px; color: #ddd; white-space: pre-wrap; }
.appt-contact, .appt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.appt-list { display: grid; gap: 10px; }
.cancelled-box { margin-top: 24px; }
.cancelled-box summary { cursor: pointer; font-weight: 700; color: var(--muted); padding: 8px 0; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 16px; }
.week-day {
  display: grid; align-content: start; justify-items: start; gap: 6px; min-height: 150px; padding: 12px; border-radius: 16px;
  border: 1px solid var(--line); background: #0f0f0f; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s;
}
.week-day:hover { border-color: #ff6b0088; }
.week-day.is-today { border-color: var(--orange); }
.week-day.st-blocked { background: repeating-linear-gradient(135deg, #0f0f0f 0 10px, #161616 10px 20px); }
.week-day .wd { font-weight: 800; }
.week-day ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; color: #ccc; display: grid; gap: 3px; }
.small { font-size: 12px; }
.list-day + .list-day { margin-top: 10px; }
.settings { max-width: 620px; }
.set-days { display: grid; gap: 8px; margin-top: 18px; }
.set-day { display: grid; grid-template-columns: 1.3fr 1fr auto 1fr; align-items: center; gap: 8px; }
.set-day input[type=time] { min-height: 44px; padding: 8px 10px; color-scheme: dark; }
.settings .bk-btn { margin-top: 20px; }
.admin-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: #121212; color: var(--text); overflow: auto; }
.admin-dialog::backdrop { background: #000c; backdrop-filter: blur(3px); }
.admin-dialog[open] { animation: bk-up .22s ease-out; }
.appt-form .grid2, .appt-form .grid3 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.appt-form .grid3 { grid-template-columns: repeat(3, 1fr); }
.appt-form select { color-scheme: dark; }
.appt-form input[type=date] { color-scheme: dark; }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 100; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: #25d366; color: #062b14; font-weight: 800; box-shadow: 0 20px 40px -10px #000; animation: bk-up .25s ease-out; max-width: calc(100% - 32px); }
.toast.bad { background: #e5483b; color: #fff; }
.denied { text-align: center; margin-top: 30px; }
.denied .bk-actions { justify-content: center; }

@media (max-width: 760px) {
  .week { grid-template-columns: 1fr; }
  .week-day { min-height: 0; grid-template-columns: auto auto 1fr; align-items: center; }
  .week-day ul { grid-column: 1 / -1; }
  .appt-form .grid2, .appt-form .grid3 { grid-template-columns: 1fr; }
  .set-day { grid-template-columns: 1fr 1fr auto 1fr; font-size: 14px; }
  .slot-time { min-width: 0; width: 100%; }
  .admin-tabs button { padding: 8px 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .done-mark circle, .done-mark path { stroke-dashoffset: 0; }
}

/* Same look for selects on iPhone and Android */
.bk-field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff6b00' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 22px;
}
