/* ============================================================
   EKKHO Book — book.css
   Same MIDNIGHT SUNSET language as the landing page:
   ink-navy base, Clash Display + Inter,
   one sunset gradient (amber #ffb03a → pink #ff3d7f → violet #8b5cf6).
   ============================================================ */

:root {
  --bg: #0a0c15;
  --bg-2: #0d101c;
  --panel: #12152a;
  --line: rgba(244, 245, 250, 0.09);
  --line-2: rgba(244, 245, 250, 0.16);
  --ink: #f4f5fa;
  --mut: #9aa0b8;
  --amber: #ffb03a;
  --pink: #ff3d7f;
  --violet: #8b5cf6;
  --grad: linear-gradient(95deg, var(--amber), var(--pink) 52%, var(--violet));
  --grad-v: linear-gradient(180deg, var(--amber), var(--pink) 52%, var(--violet));
  --font-display: "Clash Display", "Inter", sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
  --radius: 22px;
  --err: #ff5c78;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background:
    radial-gradient(ellipse 55% 42% at 88% -6%, rgba(255, 61, 127, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 4% 108%, rgba(255, 176, 58, 0.1), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
}
body.embed { background: transparent; min-height: 0; }

::selection { background: rgba(255, 61, 127, 0.4); color: #0a0c15; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  width: min(1060px, 94vw);
  margin-inline: auto;
  padding: clamp(20px, 4vh, 48px) 0 40px;
}
body.embed .wrap { width: 100%; padding: 0; }

/* ---------------- masthead / footer (non-embed chrome) ---------------- */
.masthead {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}
.masthead-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mut);
}
.foot { margin-top: 26px; color: var(--mut); font-size: 0.85rem; text-align: center; }
.logo-link { text-decoration: none; color: inherit; }
.foot-home { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-home:hover { color: var(--amber); }

/* ---------------- logo echo motif (same as landing) ---------------- */
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.logo-echo {
  position: relative;
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-echo::before,
.logo-echo::after {
  content: "O";
  position: absolute;
  top: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}
.logo-echo::before { left: 0.14em; opacity: 0.4; }
.logo-echo::after { left: 0.3em; opacity: 0.16; }

/* ---------------- panel ---------------- */
.panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
}

/* ---------------- left rail ---------------- */
.rail {
  padding: 38px 30px 30px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(ellipse 120% 60% at 0% 0%, rgba(255, 176, 58, 0.09), transparent 60%),
    linear-gradient(180deg, #171b30, #0f1220);
  display: flex;
  flex-direction: column;
}
.rail-logo { font-size: 19px; margin-bottom: 26px; }
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink);
  flex: none;
  animation: pulseDot 2.2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 61, 127, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 61, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 127, 0); }
}
.rail-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.rail-meta { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rail-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mut);
  font-size: 0.9rem;
}
.rail-meta svg { width: 18px; height: 18px; flex: none; color: var(--amber); }

.rail-outcomes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: -6px 0 20px;
}
.rail-outcomes li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}
.rail-outcomes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.rail-pick {
  margin-top: 22px;
  background: linear-gradient(120deg, rgba(255, 176, 58, 0.12), rgba(255, 61, 127, 0.1));
  border: 1px solid rgba(255, 176, 58, 0.4);
  border-radius: 14px;
  padding: 13px 16px;
}
.rail-pick-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 3px;
}
.rail-pick b { font-size: 0.95rem; }

.steps-rail {
  list-style: none;
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps-rail li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--mut);
  transition: color 0.25s ease;
}
.steps-rail li i {
  font-style: normal;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  flex: none;
  transition: all 0.25s ease;
}
.steps-rail li.on { color: var(--ink); font-weight: 600; }
.steps-rail li.on i {
  border-color: transparent;
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(255, 61, 127, 0.4);
}
.steps-rail li.done i {
  border-color: transparent;
  background: rgba(244, 245, 250, 0.85);
  color: #0a0c15;
}

/* ---------------- stage ---------------- */
.stage { padding: 38px 38px 34px; min-height: 480px; position: relative; }
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.step-sub { color: var(--mut); font-size: 0.92rem; margin-bottom: 24px; }
.step-sub b { color: var(--ink); }

.back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mut);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.back:hover { color: var(--pink); }
.back svg { width: 15px; height: 15px; }

/* ---------------- calendar ---------------- */
.cal { max-width: 430px; }
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal-month {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
}
.cal-nav {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.25s ease;
}
.cal-nav:hover:not(:disabled) {
  border-color: var(--pink);
  background: rgba(255, 61, 127, 0.08);
}
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-nav svg { width: 17px; height: 17px; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.cal-dow { margin-bottom: 7px; }
.cal-dow span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mut);
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: all 0.2s ease;
}
.cal-day:disabled { color: rgba(244, 245, 250, 0.22); cursor: default; }
.cal-day.avail {
  font-weight: 600;
  background: rgba(255, 176, 58, 0.12);
  border: 1px solid rgba(255, 176, 58, 0.45);
}
.cal-day.avail:hover {
  background: rgba(255, 176, 58, 0.24);
  box-shadow: 0 4px 16px rgba(255, 176, 58, 0.3);
  transform: translateY(-1px);
}
.cal-day.avail::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber);
}
.cal-day.sel,
.cal-day.sel:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  text-shadow: 0 1px 4px rgba(11, 14, 28, 0.35);
  box-shadow: 0 8px 22px rgba(255, 61, 127, 0.4);
  transform: none;
}
.cal-day.sel::after { background: #fff; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--pink); }
.cal-hint { margin-top: 16px; color: var(--mut); font-size: 0.9rem; }

/* ---------------- slots ---------------- */
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  max-width: 480px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.slot {
  padding: 11px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  transition: all 0.2s ease;
}
.slot:hover {
  border-color: var(--amber);
  background: rgba(255, 176, 58, 0.12);
  box-shadow: 0 4px 14px rgba(255, 176, 58, 0.22);
}
.slot.sel {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  text-shadow: 0 1px 4px rgba(11, 14, 28, 0.35);
}

/* inline alert on the slots step (slot taken / per-email cap), dismissible */
.slot-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  max-width: 480px;
  margin-bottom: 16px;
  background: rgba(255, 176, 58, 0.12);
  border: 1px solid rgba(255, 176, 58, 0.5);
  color: var(--amber);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}
.slot-alert[hidden] { display: none; }
.slot-alert-x {
  flex: none;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.7;
  padding: 2px 4px;
}
.slot-alert-x:hover { opacity: 1; }

/* ---------------- form ---------------- */
#book-form { max-width: 430px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field label i { color: var(--pink); font-style: normal; }
.field .opt { color: var(--mut); font-weight: 400; font-size: 0.8rem; }
.field input,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #0e1120;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 74px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 176, 58, 0.22);
}
.field input.invalid,
.field textarea.invalid { border-color: var(--err); }
.field-err { color: var(--err); font-size: 0.8rem; min-height: 1em; }
.form-err {
  color: var(--err);
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(255, 92, 120, 0.08);
  border: 1px solid rgba(255, 92, 120, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
}
.form-consent {
  color: var(--mut);
  font-size: 0.78rem;
  line-height: 1.5;
  margin-top: -4px;
}
.form-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--amber); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }

/* ---------------- buttons (landing's gradient CTA) ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(11, 14, 28, 0.3);
  box-shadow: 0 6px 24px rgba(255, 61, 127, 0.35);
  transition: box-shadow 0.3s ease, transform 0.15s ease;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn:hover { box-shadow: 0 10px 44px rgba(255, 61, 127, 0.5), 0 2px 16px rgba(255, 176, 58, 0.4); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: default; box-shadow: none; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn svg { width: 17px; height: 17px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(244, 245, 250, 0.25);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  transition: border-color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background: none;
}
.btn-ghost:hover { border-color: var(--pink); background: rgba(255, 61, 127, 0.08); }

/* ---------------- confirmation ---------------- */
.step-done { text-align: left; max-width: 480px; }
.done-badge {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 10px 34px rgba(255, 61, 127, 0.45);
  margin-bottom: 22px;
  animation: popIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.done-badge svg { width: 30px; height: 30px; }
@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.done-when {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.done-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------------- loading / error ---------------- */
.stage-loading, .stage-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--mut);
  background: rgba(13, 15, 26, 0.88);
  z-index: 5;
}
.spinner {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--pink);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* step transitions */
.step { animation: stepIn 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
[hidden] { display: none !important; }

/* ---------------- booking manage page & admin (shared bits) ---------------- */
.narrow {
  width: min(620px, 94vw);
  margin-inline: auto;
  padding: clamp(24px, 6vh, 60px) 0 40px;
}
.narrow .panel { display: block; padding: 38px 34px; }
.detail-rows { display: flex; flex-direction: column; gap: 0; margin: 22px 0; }
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.detail-row:last-child { border-bottom: 0; }
.detail-row dt { color: var(--mut); flex: none; }
.detail-row dd { text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
}
.status-confirmed { background: rgba(94, 210, 140, 0.16); color: #7fe0a4; }
.status-cancelled { background: rgba(255, 92, 120, 0.12); color: var(--err); }
.danger {
  background: none;
  border: 1px solid rgba(255, 92, 120, 0.45);
  color: var(--err);
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.danger:hover { background: rgba(255, 92, 120, 0.08); }
.mut { color: var(--mut); }

/* ---------------- admin ---------------- */
.admin { width: min(1020px, 94vw); margin-inline: auto; padding: clamp(20px, 5vh, 52px) 0 60px; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-head h1 { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.01em; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mut);
  text-decoration: none;
  transition: all 0.2s ease;
}
.tab:hover { border-color: var(--pink); color: var(--ink); }
.tab.on {
  background: rgba(244, 245, 250, 0.9);
  border-color: transparent;
  color: #0a0c15;
  font-weight: 600;
}
.admin-note {
  background: rgba(255, 176, 58, 0.1);
  border: 1px solid rgba(255, 176, 58, 0.4);
  color: var(--amber);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.bk-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.bk-table-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.bk-table-wrap .bk-table { border: 0; border-radius: 0; box-shadow: none; }
.bk-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mut);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #171b30;
}
.bk-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 0.9rem; vertical-align: top; }
.bk-table tr:last-child td { border-bottom: 0; }
.bk-when { font-weight: 600; white-space: nowrap; }
.bk-who b { display: block; }
.bk-who span { color: var(--mut); font-size: 0.82rem; overflow-wrap: anywhere; }
.bk-notes { color: var(--mut); font-size: 0.82rem; max-width: 260px; }
.bk-cancel {
  border: 1px solid rgba(255, 92, 120, 0.45);
  color: var(--err);
  background: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.bk-cancel:hover { background: rgba(255, 92, 120, 0.08); }
.bk-cancel:disabled { opacity: 0.4; cursor: default; }
.empty-state {
  text-align: center;
  color: var(--mut);
  padding: 56px 20px;
  background: var(--panel);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}

/* ---------------- responsive ---------------- */
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; }
  .rail { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 24px 20px; }
  .rail-logo { margin-bottom: 14px; }
  .rail-title { font-size: 1.3rem; margin-bottom: 14px; }
  .rail-meta { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .steps-rail { flex-direction: row; gap: 14px; padding-top: 18px; }
  .steps-rail li span { display: inline; }
  .stage { padding: 26px 22px 28px; min-height: 420px; }
}

/* ---------------- embed custom cursor (mirrors the landing's spec) ---------------- */
.bcursor-dot, .bcursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 2600;
  border-radius: 50%;
  display: none;
}
.bcursor-dot {
  width: 8px; height: 8px;
  background: var(--pink);
  transition: opacity 0.12s ease;
}
.bcursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(244, 245, 250, 0.4);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.12s ease;
}
/* pointer left the embed document (back onto the landing / out of the window) */
body.bcursor-hidden .bcursor-dot, body.bcursor-hidden .bcursor-ring { opacity: 0; }
.bcursor-ring.grow {
  width: 62px; height: 62px;
  border-color: var(--pink);
  background: rgba(255, 61, 127, 0.08);
}
body.has-bcursor .bcursor-dot, body.has-bcursor .bcursor-ring { display: block; }
body.has-bcursor, body.has-bcursor * { cursor: none !important; }
/* …but text fields keep the I-beam — hiding it makes typing feel broken */
body.has-bcursor input, body.has-bcursor textarea { cursor: text !important; }
@media (prefers-reduced-motion: reduce) {
  .bcursor-dot, .bcursor-ring { display: none !important; }
}

/* embed mode: no internal scrolling anywhere — auto-height fits the frame
   (wheel must chain to the landing, never stall inside the widget) */
body.embed .slots { max-height: none; overflow: visible; }

/* embed mode: the landing page already brands the section — drop the
   duplicate logo and let the panel breathe against the landing's panel */
body.embed .panel { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); }
body.embed .rail-logo { display: none; }
@media (max-width: 860px) {
  body.embed .rail { padding: 22px 22px 14px; }
  body.embed .steps-rail { display: none; }
}
@media (max-width: 480px) {
  .wrap { width: 100%; padding: 0; }
  body:not(.embed) .masthead { padding: 16px 16px 0; margin-bottom: 14px; }
  body:not(.embed) .panel { border-radius: 0; border-left: 0; border-right: 0; }
  body:not(.embed) .foot { padding: 0 16px 20px; }
  .slots { grid-template-columns: repeat(3, 1fr); max-height: 300px; }
  .done-actions .btn, .done-actions .btn-ghost { width: 100%; justify-content: center; }
  #book-form .btn-lg { width: 100%; }
  /* admin: booking rows reflow as stacked cards so notes stay readable
     on the founder's phone (no hidden columns) */
  .bk-table, .bk-table tbody, .bk-table tr, .bk-table td { display: block; width: 100%; }
  .bk-table thead { display: none; }
  .bk-table tr { border-bottom: 1px solid var(--line-2); padding: 8px 0 12px; }
  .bk-table tr:last-child { border-bottom: 0; }
  .bk-table td { border-bottom: 0; padding: 7px 16px; }
  .bk-when { white-space: normal; }
  .bk-notes { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
