/* ─────────────────────────────────────────────────────────────
   Bookly — full prototype
   Left demo navigation + red, white, and black palette
   ───────────────────────────────────────────────────────────── */

:root {
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Surfaces */
  --text: #ffffff;
  --muted: #c9c9c9;
  --faint: #898989;
  --line: #2c2c2c;
  --line-soft: #242424;
  --surface: #101010;
  --surface-2: #181818;
  --workspace: #050505;
  --field: #0b0b0b;

  /* Dark sidebar / dark accent */
  --ink: #000000;
  --ink-2: #111111;
  --ink-3: #1d1d1d;
  --ink-line: #2a2a2a;
  --ink-text: #ffffff;
  --ink-muted: #c8c8c8;
  --ink-faint: #777777;

  --accent: #d11124;
  --accent-hover: #a90d1d;
  --accent-ink: #ffffff;
  --accent-soft: rgba(209, 17, 36, 0.16);
  --accent-ring: rgba(209, 17, 36, 0.28);
  --accent-text: #ff5062;

  /* On-dark accent (for sidebar) */
  --on-dark-accent: #ff3147;
  --on-dark-accent-soft: rgba(255, 49, 71, 0.16);

  --success: #ffffff;
  --success-soft: rgba(255, 255, 255, 0.08);
  --warning: #ff7381;
  --warning-soft: rgba(209, 17, 36, 0.14);
  --danger: #b91c1c;
  --danger-soft: rgba(185, 28, 28, 0.14);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.48);

  color-scheme: dark;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--workspace);
  color: var(--text);
  min-width: 760px;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ─── Screen navigator pill ───────────────────────────────── */
.screen-nav {
  position: fixed;
  inset: 16px auto 16px 16px;
  width: 206px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  scrollbar-width: none;
}
.screen-nav::-webkit-scrollbar { display: none; }
.screen-nav .label {
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 10px 2px;
  white-space: nowrap;
}
.screen-nav .label:first-child { padding-top: 2px; }
.screen-nav .group-sep {
  width: 100%;
  height: 1px;
  background: var(--ink-line);
  margin: 6px 0;
  flex-shrink: 0;
}
.screen-nav button {
  height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-align: left;
  flex-shrink: 0;
}
.screen-nav button:hover { background: var(--ink-2); color: var(--ink-text); }
.screen-nav button.active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ─── Screens visibility ──────────────────────────────────── */
.screen { display: none; min-height: 100vh; padding-left: 238px; }
.screen.active { display: block; }

/* ─── App shell (admin) ───────────────────────────────────── */
.app-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--surface);
}

/* ─── Dark sidebar ────────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 12px;
  background: var(--ink);
  color: var(--ink-text);
  border-right: 1px solid var(--ink-line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 10px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-text); }

.search-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-line);
  background: var(--ink-2);
  color: var(--ink-faint);
}
.search-input input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 12.5px;
  flex: 1;
  min-width: 0;
  color: var(--ink-text);
}
.search-input input::placeholder { color: var(--ink-faint); }
.kbd {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 4px;
  border: 1px solid var(--ink-line);
  background: var(--ink-3);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.nav-section { display: flex; flex-direction: column; gap: 1px; }
.nav-section .nav-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.nav-item svg { flex: 0 0 16px; opacity: 0.9; }
.nav-item:hover { background: var(--ink-2); color: var(--ink-text); }
.nav-item.active {
  background: var(--ink-2);
  color: var(--ink-text);
  box-shadow: inset 0 0 0 1px var(--ink-line);
}
.nav-item .nav-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.nav-item .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-dark-accent);
  margin-left: auto;
  box-shadow: 0 0 0 4px rgba(255, 49, 71, 0.18);
}

.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
}
.user-card:hover { background: var(--ink-2); }
.user-card .info { flex: 1; min-width: 0; }
.user-card .info strong { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-text); }
.user-card .info small { color: var(--ink-muted); font-size: 11.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d11124, #111111);
  flex-shrink: 0;
}

/* ─── Workspace ───────────────────────────────────────────── */
.workspace {
  min-width: 0;
  padding: 28px 32px 80px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.topbar h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.topbar .subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
}
.topbar-right { display: flex; align-items: center; gap: 8px; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--line); }
.btn-danger:hover { background: var(--danger-soft); border-color: var(--danger); }
.btn-icon {
  width: 32px; height: 32px; padding: 0;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
}
.btn-icon:hover { background: var(--surface-2); color: var(--text); }
.btn-icon.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14px; }

/* ─── Tabs ────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--line);
}
.tab {
  padding: 0 12px;
  height: 36px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }
.tab .count {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0 6px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 10.5px;
  display: inline-grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}

/* ─── Stat row ────────────────────────────────────────────── */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.metric { padding: 16px 20px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric .label { font-size: 12px; color: var(--muted); font-weight: 500; }
.metric .value { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.metric .delta { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.3; }
.metric .delta.up { color: var(--accent-text); }

/* ─── Panels ──────────────────────────────────────────────── */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 { font-size: 14px; font-weight: 600; }
.panel-head .subtitle { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.panel-body { padding: 22px; }

/* ─── Event types row list ────────────────────────────────── */
.event-list { display: flex; flex-direction: column; }
.event-row {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 22px 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: background 140ms ease, box-shadow 140ms ease;
}
.event-row:last-child { border-bottom: 0; }
.event-row:hover { background: var(--surface-2); }
.event-row.active {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(209, 17, 36, 0.42);
}
.event-row .accent-bar { background: var(--accent); align-self: stretch; }
.event-row.off .accent-bar { background: var(--faint); opacity: 0.5; }
.event-row.off h4, .event-row.off .slug { opacity: 0.55; }
.event-main { min-width: 0; padding-left: 8px; }
.event-main h4 { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.event-main .slug {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}
.event-meta-pills { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px 2px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.pill svg { width: 12px; height: 12px; flex-shrink: 0; }
.pill.accent { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.pill.free { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.pill.warn { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.event-actions { display: flex; align-items: center; gap: 4px; }

/* ─── Toggle ──────────────────────────────────────────────── */
.toggle {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #3a3a3a;
  transition: background 160ms ease;
  flex-shrink: 0;
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease;
}
.toggle.on { background: var(--accent); }
.toggle.on::after { transform: translateX(14px); }

/* ─── Calendar ────────────────────────────────────────────── */
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-cell {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 0;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.cal-cell.muted { color: var(--faint); cursor: default; }
.cal-cell:hover:not(.muted):not(:disabled) { background: var(--surface-2); }
.cal-cell.available { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.cal-cell.selected { background: var(--accent); color: var(--accent-ink); }
.cal-cell.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal-cell.blocked { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1px; }
.cal-cell.conflict::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning);
}

/* ─── Form fields ─────────────────────────────────────────── */
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--text); }
.field .req { color: #ef4444; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field textarea {
  height: auto;
  min-height: 76px;
  padding: 10px 12px;
  resize: vertical;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.field .hint { font-size: 11.5px; color: var(--muted); }

/* ─── Auth screens (signup / login) ───────────────────────── */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 480px;
}
.auth-side {
  background: var(--ink);
  color: var(--ink-text);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.auth-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(209, 17, 36, 0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}
.auth-side > * { position: relative; }
.auth-side .brand .brand-name { color: var(--ink-text); }
.auth-marketing { margin-top: auto; }
.auth-marketing h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 480px;
}
.auth-marketing p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 460px;
}
.auth-feature-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-feature-list .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
}
.auth-feature-list .row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--on-dark-accent);
}

.auth-form-side {
  background: var(--surface);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-form h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.auth-form .auth-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}
.auth-error {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 120ms ease, transform 80ms ease, box-shadow 80ms ease;
}
.btn-google:hover { background: var(--surface-2); }
.btn-google:active { transform: scale(0.97); box-shadow: none; }
.btn-google .g {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-foot {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.auth-foot a { color: var(--text); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { padding: 32px; }
  .auth-marketing h2 { font-size: 22px; }
}

/* ─── Public booking pages ────────────────────────────────── */
.public-shell {
  min-height: 100vh;
  background: var(--workspace);
  display: grid;
  place-items: start center;
  padding: 40px 20px;
}
.public-card {
  width: min(960px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
}
.public-left {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--ink);
  color: var(--ink-text);
  position: relative;
  overflow: hidden;
}
.public-left::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(209, 17, 36, 0.2), transparent 70%);
  pointer-events: none;
}
.public-left > * { position: relative; }
.public-left .pub-logo { display: flex; align-items: center; gap: 10px; }
.public-left .pub-logo .brand-mark { width: 28px; height: 28px; }
.public-left .pub-logo span { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-text); }

.pub-profile { display: flex; flex-direction: column; gap: 6px; }
.pub-profile .role { font-size: 13px; color: var(--ink-muted); }
.pub-profile h1 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-text); }

.session-card {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.session-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--on-dark-accent);
  border-radius: 0 3px 3px 0;
}
.session-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.session-head .session-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-text); }
.session-card .free-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ff9aa4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.session-card .session-desc { font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; margin: 0; }
.session-card .session-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--ink-line);
}
.session-card .session-meta .row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.session-card .session-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.session-card .session-meta .row strong { color: var(--ink-text); font-weight: 600; }

.summary-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--on-dark-accent-soft);
  border: 1px solid rgba(255, 49, 71, 0.25);
  margin-top: 4px;
}
.summary-mini .line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #ffd5da;
  line-height: 1.4;
  flex-wrap: wrap;
}
.summary-mini .line svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
.summary-mini .line strong { font-weight: 600; white-space: nowrap; color: #ffffff; }

.pub-foot {
  margin-top: auto;
  font-size: 11.5px;
  color: var(--ink-faint);
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
}
.pub-foot strong { color: var(--ink-muted); font-weight: 600; }

.public-right {
  padding: 28px 30px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.public-right h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.public-right .step-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tz-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  align-self: flex-start;
  cursor: pointer;
  white-space: nowrap;
}
.tz-row svg { width: 14px; height: 14px; }
.tz-row:hover { border-color: var(--accent); color: var(--text); }
.tz-row .chev { margin-left: 4px; color: var(--faint); }
.tz-row .auto {
  margin-left: 8px;
  padding: 2px 6px;
  background: var(--accent-soft);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
}
.pick-grid .calendar-block .month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pick-grid .calendar-block .month-head strong { font-size: 14px; font-weight: 600; }
.slot-col .slot-col-head { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.slot-col .slot-col-sub { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.slot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
}
.slot {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color 120ms, color 120ms;
}
.slot:hover { border-color: var(--accent); color: var(--accent); }
.slot.selected { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.slot-pair { display: grid; grid-template-columns: 1fr 78px; gap: 6px; }
.slot-pair .slot.next { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }

.confirm-form { display: grid; gap: 14px; max-width: 520px; }
.confirm-actions { display: flex; gap: 8px; margin-top: 6px; align-items: center; flex-wrap: wrap; }
.confirm-actions .legal {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--faint);
  max-width: 230px;
  text-align: right;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .public-card { grid-template-columns: 1fr; }
  .public-left { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 20px; }
  .public-right { padding: 22px 20px; }
  .pick-grid { grid-template-columns: 1fr; gap: 20px; }
  .slot-list { max-height: none; }
  .app-shell { grid-template-columns: 1fr; }
  .confirm-form { max-width: 100%; }
  .confirm-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .confirm-actions .legal { margin-left: 0; max-width: 100%; text-align: left; }
  .session-card { padding: 14px; }
}

@media (max-width: 480px) {
  .public-shell { padding: 0; }
  .public-card { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .pick-grid { gap: 16px; }
  .calendar { gap: 3px; }
  .cal-cell { height: 34px; font-size: 12px; }
  .slot { height: 40px; font-size: 13px; }
  .slot-pair { grid-template-columns: 1fr 68px; }
  .public-right h2 { font-size: 17px; }
  .confirm-actions .btn { width: 100%; justify-content: center; }
  .field input,
  .field select,
  .field textarea { height: 44px; font-size: 16px; }
  .field textarea { height: auto; min-height: 88px; }
  .confirm-form { gap: 16px; }
  .info-header { padding: 16px 18px; }
  .info-body { padding: 28px 18px 60px; }
  .info-body h1 { font-size: 22px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-form-side { padding: 28px 20px; }
  .auth-form { gap: 14px; }
}

/* ─── Availability schedule ───────────────────────────────── */
.schedule-list { display: flex; flex-direction: column; }
.schedule-day {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.schedule-day:last-child { border-bottom: 0; }
.schedule-day.off .day-label strong { color: var(--faint); }
.day-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.range-row { display: flex; align-items: center; gap: 8px; }
.range-input {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--field);
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  width: 86px;
  outline: none;
  font-variant-numeric: tabular-nums;
}
.range-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.range-sep { color: var(--faint); font-size: 12px; }
.unavailable { font-size: 12.5px; color: var(--faint); font-style: italic; }

/* ─── Integration cards ───────────────────────────────────── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.integration-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.integration-head { display: flex; align-items: center; gap: 12px; }
.integration-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}
.integration-logo.google,
.integration-logo.outlook,
.integration-logo.apple,
.integration-logo.zoom,
.integration-logo.meet,
.integration-logo.teams { background: linear-gradient(135deg, var(--accent), #050505); }

.integration-name { font-size: 14px; font-weight: 600; }
.integration-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  margin-top: 2px;
}
.integration-status.connected { color: var(--accent-text); }
.integration-status.connected::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.integration-status.disconnected { color: var(--faint); }
.integration-status.disconnected::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.integration-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; flex: 1; }
.integration-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.integration-foot .accounts { font-size: 11.5px; color: var(--muted); }

/* ─── Email preview ───────────────────────────────────────── */
.email-preview {
  max-width: 540px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.email-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.email-head .email-meta {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
}
.email-head .email-subject {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.email-body {
  padding: 28px 26px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
.email-body h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.email-body p { margin-bottom: 14px; color: var(--text); }
.email-body .event-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface-2);
  margin: 18px 0;
}
.email-body .event-box .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  padding: 6px 0;
}
.email-body .event-box .row svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.email-body .actions { display: flex; gap: 8px; margin-top: 14px; }
.email-body .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}
.email-body .btn-link.primary { background: var(--accent); color: var(--accent-ink); }
.email-body .btn-link.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

/* ─── Custom questions editor ─────────────────────────────── */
.question-list { display: flex; flex-direction: column; gap: 10px; }
.question-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.question-row:hover { border-color: var(--accent); }
.question-row.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.question-row.off {
  opacity: 0.55;
}
.q-handle { color: var(--faint); cursor: grab; }
.q-info { min-width: 0; }
.q-info .q-label { font-size: 13.5px; font-weight: 600; }
.q-info .q-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; display: flex; gap: 8px; }
.q-type-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.editor-status {
  min-height: 18px;
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 500;
}

/* ─── Manage booking ──────────────────────────────────────── */
.manage-card {
  width: min(560px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin: 0 auto;
}
.manage-banner {
  background: var(--ink);
  color: var(--ink-text);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.manage-banner::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(209, 17, 36, 0.22), transparent 70%);
  pointer-events: none;
}
.manage-banner > * { position: relative; }
.manage-banner .session-name { font-size: 12px; color: var(--ink-muted); font-weight: 500; }
.manage-banner h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-top: 4px; line-height: 1.2; }
.manage-banner .when {
  display: flex; align-items: center; gap: 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.manage-banner .when > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.manage-banner .when svg { width: 14px; height: 14px; color: var(--on-dark-accent); flex-shrink: 0; }
.manage-banner .when strong { color: var(--ink-text); font-weight: 600; }
.manage-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.manage-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.manage-meta-list { display: flex; flex-direction: column; gap: 10px; }
.manage-meta-list .row {
  display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.5;
}
.manage-meta-list .row svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; }
.manage-meta-list .row span { min-width: 0; word-break: break-word; }
.manage-meta-list .row strong { color: var(--text); font-weight: 600; }
.manage-cancel-pane {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--danger-soft);
  border: 1px solid rgba(209, 17, 36, 0.45);
}
.manage-cancel-pane h4 { font-size: 13.5px; font-weight: 600; color: var(--danger); margin-bottom: 6px; }
.manage-cancel-pane p { font-size: 12.5px; color: #ffb4bc; line-height: 1.45; }

/* ─── Cancelled state ─────────────────────────────────────── */
.cancelled-state {
  width: min(420px, 100%);
  margin: 80px auto 0;
  padding: 36px 28px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.cancelled-state .ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.cancelled-state h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.cancelled-state p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-top: 6px; }

/* ─── Button press feel ───────────────────────────────────── */
.btn { transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 80ms ease, box-shadow 80ms ease; }
.btn:active:not(:disabled) { transform: scale(0.96); box-shadow: none; }
.btn-primary:active:not(:disabled) { background: var(--accent-hover); }

/* ─── Booking form reactive states ───────────────────────── */
.field input.error,
.field select.error,
.field textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2);
}
.field-error { font-size: 11.5px; color: var(--danger); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.btn-shake { animation: shake 0.35s ease; }
.btn-loading { opacity: 0.85; pointer-events: none; }
.btn-loading svg { animation: spin 0.7s linear infinite; }

@media (max-width: 640px) {
  .screen-nav {
    inset: 10px auto 10px 10px;
    width: 96px;
    padding: 10px 8px;
    gap: 4px;
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: var(--radius-lg);
  }
  .screen-nav .label {
    padding: 8px 6px 2px;
    font-size: 9px;
  }
  .screen-nav .label:first-child { padding-top: 0; }
  .screen-nav .group-sep {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }
  .screen-nav button {
    height: auto;
    min-height: 30px;
    padding: 6px;
    text-align: left;
    white-space: normal;
    line-height: 1.15;
    font-size: 11px;
  }
  .screen { padding-left: 112px; }
  .app-shell { grid-template-columns: 220px minmax(360px, 1fr); }
  .workspace { padding: 22px 18px 60px; }
  .topbar, .panel-head { flex-direction: column; align-items: stretch; }
}

/* ─────────────────────────────────────────────────────────────
   Info pages: About, FAQ, Privacy, Terms
   ───────────────────────────────────────────────────────────── */
.info-page {
  min-height: 100vh;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info-header {
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
}
.info-header .brand-mark { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.info-header .brand-name { font-weight: 700; font-size: 15px; }
.info-back { margin-right: auto; }
.info-body {
  width: 100%;
  max-width: 760px;
  padding: 48px 32px 80px;
}
.info-body h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.info-lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 36px;
  line-height: 1.6;
}
.info-meta {
  font-size: 12.5px;
  color: var(--faint);
  margin: 0 0 32px;
}
.info-body h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 36px 0 10px;
  color: var(--text);
}
.info-body h3 {
  font-size: 13.5px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text);
}
.info-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}
.info-body ul {
  padding-left: 20px;
  margin: 0 0 14px;
}
.info-body ul li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 6px;
}
.info-body a { color: var(--accent); text-decoration: none; }
.info-body a:hover { text-decoration: underline; }
.info-body code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.info-foot {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.info-foot a {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
}
.info-foot a:hover { color: var(--accent); }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] { background: var(--surface-2); }
.faq-item p {
  padding: 0 18px 16px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.faq-item a { color: var(--accent); }

/* Auth page legal footer */
.auth-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 32px 28px;
}
.auth-legal a {
  font-size: 12px;
  color: var(--faint);
  text-decoration: none;
}
.auth-legal a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
   Editor location hint
   ───────────────────────────────────────────────────────────── */
.location-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.5;
  border: 1px solid var(--line);
}
.location-hint svg { flex-shrink: 0; margin-top: 2px; }
.location-hint.connected { background: var(--success-soft); border-color: var(--success); color: var(--text); }
.location-hint.connected svg { color: var(--success); }
.location-hint.warning { background: #fff8f0; border-color: #f59e0b; color: var(--text); }
.location-hint.warning svg { color: #f59e0b; }
.location-hint.info { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.location-hint.info svg { color: var(--accent); }

/* Connected pill (event list) */
.pill.connected-pill { outline: 1.5px solid var(--success); }

/* ─────────────────────────────────────────────────────────────
   Integration status badges
   ───────────────────────────────────────────────────────────── */
.integration-status.connected   { color: var(--success); }
.integration-status.disconnected { color: var(--muted); }

/* ─────────────────────────────────────────────────────────────
   "Add to Calendar" dropdown
   ───────────────────────────────────────────────────────────── */
.cal-add-wrap { position: relative; }
.cal-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
}
.cal-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 100ms;
}
.cal-option:hover { background: var(--surface-2); }
.cal-option-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.cal-option-logo.google  { background: #e8f0fe; color: #1a73e8; }
.cal-option-logo.outlook { background: #e3f2fd; color: #0078d4; }

/* ─────────────────────────────────────────────────────────────
   Toast notification
   ───────────────────────────────────────────────────────────── */
.int-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: var(--ink-text);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
  z-index: 9999;
}
.int-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─────────────────────────────────────────────────────────────
   Setup modal
   ───────────────────────────────────────────────────────────── */
.setup-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 9000;
  padding: 20px;
  overflow-y: auto;
}
.setup-modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: min(520px, 100%);
  overflow: visible;
  margin: auto;
  flex-shrink: 0;
}
.setup-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.setup-modal-head h3 { font-size: 16px; font-weight: 700; margin: 0; }
.setup-modal-sub { font-size: 13px; color: var(--muted); padding: 14px 24px 4px; margin: 0; }
.setup-steps {
  padding: 8px 24px 4px 44px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.setup-steps li { font-size: 13.5px; color: var(--text); line-height: 1.5; }
.setup-modal-foot {
  padding: 16px 24px 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

/* ─── Booking preview panel ───────────────────────────────── */
.pv-tab-group { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.pv-tab { padding: 4px 11px; font-size: 11.5px; font-weight: 500; background: transparent; color: var(--muted); border: 0; cursor: pointer; transition: background 120ms, color 120ms; }
.pv-tab.active { background: var(--accent); color: #fff; }
.pv-tab:not(.active):hover { background: var(--surface-2); color: var(--text); }

.pv-urlbar { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5px 14px; display: flex; align-items: center; gap: 6px; }
.pv-url { font-size: 11px; color: var(--muted); font-family: var(--font-mono); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; }

.pv-pane { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; }

.pv-session-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.pv-event-name { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.pv-meta-row { display: flex; gap: 12px; font-size: 11.5px; color: var(--muted); align-items: center; }
.pv-meta-row svg { vertical-align: middle; }
.pv-date-chip { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }

.pv-fields { display: flex; flex-direction: column; gap: 6px; }
.pv-field { display: flex; flex-direction: column; gap: 3px; }
.pv-field-label { font-size: 11px; font-weight: 500; color: var(--text); }
.pv-input { width: 100%; height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--field); color: var(--text); font-size: 11.5px; font-family: inherit; outline: none; transition: border-color 120ms, box-shadow 120ms; box-sizing: border-box; }
.pv-input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); }
textarea.pv-input { height: auto; padding: 7px 9px; resize: none; }

.pv-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pv-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.pv-cal-dow { font-size: 9.5px; color: var(--muted); font-weight: 600; padding: 2px 0; }
#pv-cal-days { display: contents; }
.pv-day { font-size: 11px; padding: 4px 2px; border-radius: 4px; cursor: default; }
.pv-day-on { color: var(--text); cursor: pointer; }
.pv-day-on:hover { background: var(--accent-soft); color: var(--accent); }
.pv-day-off { color: var(--faint); pointer-events: none; }
.pv-day-today { font-weight: 700; color: var(--accent); }
.pv-day-selected { background: var(--accent) !important; color: #fff !important; font-weight: 600; }

.pv-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pv-slot { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 5px; text-align: center; font-size: 11px; font-weight: 500; cursor: pointer; transition: background 100ms, border-color 100ms; }
.pv-slot:hover { border-color: var(--accent); color: var(--accent); }
.pv-slot-sel { background: var(--accent); color: #fff; border-color: var(--accent); }
