:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #0069ff;
  --brand-dark: #0052cc;
  --brand-soft: #e8f1ff;
  --danger: #dc2626;
  --ok: #16a34a;
  --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.25; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ---------- header */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
.topbar .inner { max-width: 1100px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 16px; }
.logo { font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -.3px; }
.logo span { color: var(--brand); }
.logo:hover { text-decoration: none; }
.logo img { display: block; height: 44px; width: auto; }
.topbar .spacer { flex: 1; }

/* ---------- generic */
.container { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.card.pad { padding: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--brand); background: var(--brand); color: #fff;
  padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.outline { background: transparent; color: var(--brand); }
.btn.outline:hover { background: var(--brand-soft); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn.ghost:hover { background: var(--bg); }
.btn.danger { background: transparent; border-color: #fecaca; color: var(--danger); }
.btn.danger:hover { background: #fef2f2; }
.btn.sm { padding: 4px 12px; font-size: 13px; }
.btn.block { width: 100%; }

label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
input, select, textarea { width: 100%; font: inherit; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.field { margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.error { color: var(--danger); font-size: 14px; margin: 8px 0; min-height: 1em; }

.badge { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--brand-soft); color: var(--brand); }
.badge.grey { background: #f3f4f6; color: var(--muted); }
.badge.red { background: #fef2f2; color: var(--danger); }
.badge.green { background: #f0fdf4; color: var(--ok); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; transition: all .25s;
  background: var(--text); color: #fff; padding: 10px 20px; border-radius: 8px; z-index: 100; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-err { background: var(--danger); }

/* ---------- landing */
.hero { text-align: center; padding: 48px 16px 24px; }
.hero-logo { display: block; width: 260px; max-width: 70%; height: auto; margin: 0 auto 12px; }
.hero h1 { font-size: 40px; letter-spacing: -1px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto; }
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.company-card { padding: 20px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--brand); }
.company-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- booking page: see the "bk-" section at the end of this file */

/* ---------- login */
.auth { max-width: 380px; margin: 64px auto; padding: 28px; }

/* ---------- admin */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button { background: none; border: none; font: inherit; font-weight: 600; color: var(--muted); padding: 10px 14px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar select { width: auto; }
.toolbar .spacer { flex: 1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .4px; background: #fafbfc; }
tr:last-child td { border-bottom: none; }
td .sub { color: var(--muted); font-size: 13px; }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { padding: 16px; }
.stat .num { font-size: 28px; font-weight: 800; }
.day-row { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.day-row label { display: flex; align-items: center; gap: 8px; margin: 0; }
.day-row input[type=checkbox] { width: auto; }
.linkbox { display: flex; gap: 8px; }
.linkbox input { background: var(--bg); }

/* ---------- mobile */
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .day-row { grid-template-columns: 1fr 1fr; }
  .day-row label { grid-column: 1 / -1; }
  .hero h1 { font-size: 30px; }
}

/* =====================================================================
   Public booking page (book.html): full-screen split layout, brand red.
   Everything is scoped to body.bk-page so admin pages are unaffected.
   ===================================================================== */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/InstrumentSans-0.woff2) format('woff2');
}

body.bk-page {
  --bk-red: #e11d2e;
  --bk-red-dark: #b3121f;
  --bk-red-soft: #fdecee;
  --bk-red-ring: rgba(225, 29, 46, .22);
  --bk-ink: #0e0e14;
  --bk-surface: #f6f6f9;
  --bk-card: #ffffff;
  --bk-text: #15151d;
  --bk-muted: #6b6b7b;
  --bk-faint: #c4c4cf;
  --bk-line: #e7e7ee;
  --bk-input: #ffffff;
  --bk-shadow: 0 1px 2px rgba(16, 16, 30, .04), 0 12px 32px -12px rgba(16, 16, 30, .14);
  --bk-ok: #16a34a;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bk-surface);
  color: var(--bk-text);
  font-family: 'Instrument Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  body.bk-page {
    --bk-red-soft: rgba(225, 29, 46, .16);
    --bk-surface: #121218;
    --bk-card: #1b1b23;
    --bk-text: #f1f1f5;
    --bk-muted: #9d9dac;
    --bk-faint: #4a4a58;
    --bk-line: #2a2a35;
    --bk-input: #15151c;
    --bk-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  }
}

.bk-page .ico { width: 18px; height: 18px; flex: none; }
.bk-page a { color: inherit; }
.bk-page a:hover { text-decoration: none; }

.bk { display: grid; grid-template-columns: minmax(320px, 400px) 1fr; min-height: 100vh; min-height: 100dvh; }

/* ---- side panel */
.bk-side {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 32px;
  padding: 32px clamp(24px, 3vw, 40px);
  color: #f4f4f7;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(225, 29, 46, .35), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(225, 29, 46, .22), transparent 60%),
    var(--bk-ink);
}
.bk-brand { align-self: flex-start; display: block; background: #fff; border-radius: 14px; padding: 6px 12px; box-shadow: 0 8px 24px -8px rgba(0,0,0,.5); transition: transform .2s; }
.bk-brand:hover { transform: translateY(-1px); }
.bk-brand img { display: block; height: 40px; width: auto; }

.bk-avatar {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-weight: 700; font-size: 20px; letter-spacing: .5px; color: #fff;
  background: linear-gradient(135deg, #ff4d5e, var(--bk-red) 50%, #8f0d18);
  box-shadow: 0 10px 30px -10px rgba(225, 29, 46, .8), inset 0 1px 0 rgba(255,255,255,.25);
  margin-bottom: 18px;
}
.bk-company { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: #ff8a95; }
.bk-host h1 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.8px; line-height: 1.1; margin: 6px 0 16px; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: #e6e6ee;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
}
.bk-chip .ico { width: 15px; height: 15px; color: #ff8a95; }
.bk-desc { color: #b9b9c6; margin: 16px 0 0; line-height: 1.6; white-space: pre-line; }

.bk-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.bk-steps li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: #8d8d9c; font-weight: 500; position: relative; }
.bk-steps li + li::before { content: ''; position: absolute; left: 13px; top: -10px; height: 14px; width: 2px; background: rgba(255,255,255,.1); border-radius: 2px; }
.bk-step-dot {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 13px; font-weight: 700; border: 2px solid rgba(255,255,255,.14); color: #8d8d9c;
  transition: all .25s;
}
.bk-step-dot .ico { width: 14px; height: 14px; stroke-width: 3; }
.bk-steps li.active { color: #fff; }
.bk-steps li.active .bk-step-dot { border-color: var(--bk-red); background: var(--bk-red); color: #fff; box-shadow: 0 0 0 5px rgba(225, 29, 46, .22); }
.bk-steps li.done { color: #d4d4de; }
.bk-steps li.done .bk-step-dot { border-color: transparent; background: rgba(255,255,255,.12); color: #fff; }

.bk-picked {
  padding: 16px 18px; border-radius: 16px; display: flex; flex-direction: column; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px);
  animation: bk-in .3s ease both;
}
.bk-picked-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #ff8a95; font-weight: 600; }
.bk-picked-row { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.bk-picked-row .ico { color: #9d9dac; width: 16px; height: 16px; }

.bk-side-foot { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #8d8d9c; }
.bk-side-foot a:hover { color: #fff; }
.bk-side-foot strong { color: #d4d4de; }

/* ---- main panel */
.bk-main { min-width: 0; padding: clamp(28px, 5vw, 72px) clamp(16px, 4vw, 64px); display: flex; }
.bk-step { width: 100%; max-width: 900px; margin: auto; animation: bk-in .35s cubic-bezier(.2,.7,.2,1) both; }
.bk-head { margin-bottom: 28px; }
.bk-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--bk-red); margin-bottom: 8px; }
.bk-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.8px; margin: 0; }
.bk-head p { color: var(--bk-muted); margin: 6px 0 0; font-size: 16px; }

.bk-picker { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }

.bk-cal { background: var(--bk-card); border: 1px solid var(--bk-line); border-radius: 22px; padding: 22px; box-shadow: var(--bk-shadow); }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bk-cal-head .month { font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.bk-cal-head .month span { color: var(--bk-muted); font-weight: 500; }
.bk-cal-nav { display: flex; gap: 6px; }
.bk-cal-nav button {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--bk-line); background: var(--bk-card); color: var(--bk-text); transition: all .15s;
}
.bk-cal-nav button:hover:not(:disabled) { border-color: var(--bk-red); color: var(--bk-red); background: var(--bk-red-soft); }
.bk-cal-nav button:disabled { color: var(--bk-faint); cursor: default; }

.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.bk-cal-grid .dow { font-size: 12px; font-weight: 600; color: var(--bk-muted); text-transform: uppercase; letter-spacing: .6px; padding: 4px 0 8px; }
.bk-cal-grid .day {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 56px; margin: 0 auto; padding: 0;
  border: none; border-radius: 14px; background: transparent; font: inherit; font-size: 15px;
  color: var(--bk-faint); transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.bk-cal-grid .day.open { background: var(--bk-red-soft); color: var(--bk-red); font-weight: 700; cursor: pointer; }
.bk-cal-grid .day.open::after { content: ''; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .6; }
.bk-cal-grid .day.open:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 2px var(--bk-red); }
.bk-cal-grid .day.today:not(.selected) { box-shadow: inset 0 0 0 2px var(--bk-faint); }
.bk-cal-grid .day.selected {
  background: linear-gradient(135deg, #ff4253, var(--bk-red) 55%, var(--bk-red-dark)); color: #fff;
  box-shadow: 0 10px 22px -8px rgba(225, 29, 46, .7);
}
.bk-cal-grid .day.selected::after { background: #fff; opacity: .9; }
.bk-cal-grid .day:focus-visible, .bk-page button:focus-visible, .bk-page a:focus-visible { outline: 3px solid var(--bk-red-ring); outline-offset: 2px; }

.bk-legend { display: flex; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bk-line); font-size: 13px; color: var(--bk-muted); }
.bk-legend span { display: inline-flex; align-items: center; gap: 8px; }
.bk-legend i { width: 12px; height: 12px; border-radius: 4px; }
.bk-legend .lg-open { background: var(--bk-red-soft); box-shadow: inset 0 0 0 1px var(--bk-red-ring); }
.bk-legend .lg-sel { background: var(--bk-red); }

.bk-times { min-width: 0; }
.bk-times.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px;
  min-height: 300px; padding: 24px; border: 2px dashed var(--bk-line); border-radius: 22px; color: var(--bk-muted);
}
.bk-times.empty p { margin: 0; max-width: 200px; }
.bk-empty-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bk-red-soft); color: var(--bk-red); }
.bk-empty-ico .ico { width: 24px; height: 24px; }
.bk-times-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; font-size: 17px; }
.bk-times-head span { color: var(--bk-muted); }
.bk-count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--bk-ok) !important; background: rgba(22, 163, 74, .1); padding: 2px 10px; border-radius: 999px; }
.bk-times-none { padding: 20px; border-radius: 16px; background: var(--bk-card); border: 1px solid var(--bk-line); color: var(--bk-muted); text-align: center; }

.bk-slots { display: flex; flex-direction: column; gap: 10px; max-height: 470px; overflow-y: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
.bk-slot {
  height: 52px; flex: none; border-radius: 14px; border: 1.5px solid var(--bk-line); background: var(--bk-card);
  color: var(--bk-text); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.bk-slot:hover { border-color: var(--bk-red); color: var(--bk-red); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(225, 29, 46, .6); }
.bk-slot-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 52px; flex: none; animation: bk-pop .2s ease both; }
.bk-slot-pick > span { display: grid; place-items: center; border-radius: 14px; background: var(--bk-ink); color: #fff; font-weight: 600; font-size: 16px; }
.bk-next {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 14px; cursor: pointer;
  font: inherit; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff4253, var(--bk-red) 55%, var(--bk-red-dark));
  box-shadow: 0 10px 22px -10px rgba(225, 29, 46, .8); transition: filter .15s;
}
.bk-next:hover { filter: brightness(1.08); }
.bk-next .ico { width: 16px; height: 16px; }

.bk-tz { margin: 28px 0 0; font-size: 13px; line-height: 1.6; color: var(--bk-muted); }
.bk-tz .ico { width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; }
.bk-tz strong { color: var(--bk-text); font-weight: 600; }

/* ---- details form */
.bk-form { background: var(--bk-card); border: 1px solid var(--bk-line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--bk-shadow); max-width: 720px; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bk-field.wide { grid-column: 1 / -1; }
.bk-field label, .bk-captcha label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--bk-text); }
.bk-input { position: relative; }
.bk-input .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--bk-muted); pointer-events: none; transition: color .15s; }
.bk-page input {
  width: 100%; height: 50px; padding: 0 14px 0 42px; border-radius: 14px; font: inherit; font-size: 15px;
  border: 1.5px solid var(--bk-line); background: var(--bk-input); color: var(--bk-text); transition: border-color .15s, box-shadow .15s;
}
.bk-page input::placeholder { color: var(--bk-faint); }
.bk-page input:hover { border-color: var(--bk-faint); }
.bk-page input:focus { outline: none; border-color: var(--bk-red); box-shadow: 0 0 0 4px var(--bk-red-ring); }
.bk-input:focus-within .ico { color: var(--bk-red); }

.bk-captcha { margin-top: 22px; padding: 18px; border-radius: 18px; background: var(--bk-surface); border: 1px solid var(--bk-line); }
.bk-captcha-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.bk-captcha-title .ico { color: var(--bk-ok); }
.bk-captcha-title label { margin: 0; }
.bk-captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bk-captcha-row img { height: 56px; width: 180px; border-radius: 12px; border: 1px solid var(--bk-line); background: #fff; }
.bk-captcha-row input { width: 130px; padding-left: 14px; text-align: center; font-weight: 700; font-size: 18px; letter-spacing: 2px; }
.bk-icon-btn {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--bk-line); background: var(--bk-card); color: var(--bk-muted); transition: all .2s;
}
.bk-icon-btn:hover { color: var(--bk-red); border-color: var(--bk-red); }
.bk-icon-btn:active .ico { transform: rotate(180deg); }
.bk-icon-btn .ico { transition: transform .3s; }

.bk-error { color: #e5484d; font-size: 14px; font-weight: 500; min-height: 1.4em; margin: 14px 0 4px; }
.bk-error:empty { margin: 8px 0 0; }
.bk-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.bk-back {
  display: inline-flex; align-items: center; gap: 4px; height: 50px; padding: 0 18px 0 12px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--bk-line); background: transparent; color: var(--bk-text); font: inherit; font-weight: 600; transition: all .15s;
}
.bk-back:hover { border-color: var(--bk-faint); background: var(--bk-surface); }
.bk-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 28px; border: none;
  border-radius: 14px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #ff4253, var(--bk-red) 55%, var(--bk-red-dark));
  box-shadow: 0 14px 30px -12px rgba(225, 29, 46, .85); transition: transform .15s, filter .15s, box-shadow .15s;
}
.bk-submit:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.bk-submit:disabled { cursor: progress; opacity: .8; }
.bk-submit .ico { transition: transform .2s; }
.bk-submit:hover:not(:disabled) .ico { transform: translateX(3px); }
.bk-submit.busy .ico { display: none; }
.bk-submit.busy::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: bk-spin .7s linear infinite; }

/* ---- success */
.bk-done { text-align: center; max-width: 560px; }
.bk-check {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #34d36b, var(--bk-ok)); box-shadow: 0 0 0 10px rgba(22, 163, 74, .12), 0 18px 40px -12px rgba(22, 163, 74, .7);
  animation: bk-pop .5s cubic-bezier(.2,1.6,.4,1) both .05s;
}
.bk-check .ico { width: 40px; height: 40px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: bk-draw .45s ease forwards .35s; }
.bk-done h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -1px; margin: 0; }
.bk-done-sub { color: var(--bk-muted); font-size: 17px; margin: 8px 0 28px; }
.bk-summary { text-align: left; background: var(--bk-card); border: 1px solid var(--bk-line); border-radius: 22px; padding: 8px 22px; box-shadow: var(--bk-shadow); }
.bk-sum-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.bk-sum-row + .bk-sum-row { border-top: 1px solid var(--bk-line); }
.bk-sum-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--bk-red-soft); color: var(--bk-red); }
.bk-sum-label { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--bk-muted); font-weight: 600; }
.bk-sum-val { font-weight: 600; overflow-wrap: anywhere; }
.bk-again {
  display: inline-flex; align-items: center; height: 48px; padding: 0 24px; margin-top: 26px; border-radius: 14px;
  border: 1.5px solid var(--bk-line); font-weight: 600; transition: all .15s;
}
.bk-again:hover { border-color: var(--bk-red); color: var(--bk-red); }

/* ---- loading */
.bk-loading { margin: auto; display: flex; align-items: center; gap: 10px; color: var(--bk-muted); }
.bk-spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--bk-line); border-top-color: var(--bk-red); animation: bk-spin .7s linear infinite; }
.bk-skel { border-radius: 12px; background: linear-gradient(90deg, rgba(128,128,150,.12) 25%, rgba(128,128,150,.22) 50%, rgba(128,128,150,.12) 75%); background-size: 200% 100%; animation: bk-shimmer 1.2s linear infinite; }
.bk-skel-avatar { width: 56px; height: 56px; border-radius: 16px; margin-top: 72px; }
.bk-skel-line { height: 28px; width: 80%; }
.bk-skel-line.short { width: 45%; height: 18px; }
.bk-skel-slot { height: 52px; flex: none; border-radius: 14px; }

@keyframes bk-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bk-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes bk-draw { to { stroke-dashoffset: 0; } }
@keyframes bk-spin { to { transform: rotate(360deg); } }
@keyframes bk-shimmer { to { background-position: -200% 0; } }

/* ---- responsive */
@media (max-width: 1100px) {
  .bk-picker { grid-template-columns: 1fr; }
  .bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); max-height: none; overflow: visible; }
  .bk-slot-pick { grid-column: span 2; }
  .bk-times.empty { min-height: 160px; }
}
@media (max-width: 860px) {
  .bk { grid-template-columns: 1fr; }
  .bk-side { position: static; height: auto; gap: 20px; padding: 20px 16px 24px; }
  .bk-brand img { height: 34px; }
  .bk-avatar { width: 48px; height: 48px; font-size: 17px; border-radius: 14px; margin-bottom: 12px; }
  .bk-steps { flex-direction: row; gap: 16px; flex-wrap: wrap; }
  .bk-steps li { padding: 0; font-size: 13px; gap: 8px; }
  .bk-steps li + li::before { display: none; }
  .bk-step-dot { width: 24px; height: 24px; font-size: 12px; }
  .bk-side-foot { display: none; }
  .bk-main { padding: 28px 16px 40px; }
  .bk-step { margin: 0 auto; }
  .bk-cal { padding: 16px; border-radius: 18px; }
  .bk-cal-grid { gap: 4px; }
  .bk-cal-grid .day { border-radius: 12px; font-size: 14px; }
  .bk-cal-grid .day.open::after { bottom: 5px; }
}
@media (max-width: 560px) {
  .bk-grid { grid-template-columns: 1fr; }
  .bk-slots { grid-template-columns: 1fr 1fr; }
  .bk-actions { flex-direction: column-reverse; align-items: stretch; }
  .bk-submit, .bk-back { width: 100%; justify-content: center; }
  .bk-captcha-row img { width: 100%; max-width: 220px; height: auto; aspect-ratio: 180 / 56; }
  .bk-captcha-row input { flex: 1; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-page *, .bk-page *::before, .bk-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bk-check .ico { stroke-dashoffset: 0; }
}
