/* Mabrown Booking — Calendly-inspired, clean & minimal */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #eef0f3;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --muted: #6b7280;
  --line: #e4e7ec;
  --line-soft: #f0f2f5;
  --accent: #0069ff;
  --accent-hover: #0052cc;
  --accent-soft: #e6f0ff;
  --success: #10b981;
  --success-soft: #ecfdf5;
  --warning: #f59e0b;
  --warning-soft: #fff7ed;
  --error: #ef4444;
  --error-soft: #fef2f2;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Inter", ui-monospace, monospace;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 4px 8px rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 24px rgba(16, 24, 40, 0.06), 0 2px 6px rgba(16, 24, 40, 0.04);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--surface-2);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
}

/* App layout */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 16px 60px;
}

@media (min-width: 720px) {
  .app-shell {
    padding: 64px 24px 80px;
    justify-content: center;
  }
}

/* Card */
.card {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card-head {
  padding: 24px 28px 16px;
}
.card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
}
.card-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.card-body {
  padding: 8px 28px 20px;
}

.card-foot {
  padding: 16px 28px 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Stepper dots */
.stepper {
  display: flex;
  align-items: center;
  gap: 5px;
}
.stepper .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: all 0.15s;
}
.stepper .dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}
.stepper .dot.done {
  background: var(--accent);
  opacity: 0.4;
}

/* Forms */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label, .field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.field label .opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0;
  font-family: var(--sans);
}

.input,
.textarea,
.select {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 12px;
  outline: none;
  width: 100%;
  border-radius: var(--r-md);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.12);
}
.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
  opacity: 1;
  font-style: normal;
  font-family: var(--sans);
  font-size: 14px;
}
.textarea {
  min-height: 80px;
  resize: vertical;
}

.input-error {
  border-color: var(--error) !important;
}
.error-text {
  color: var(--error);
  font-size: 12px;
  margin-top: 2px;
  font-style: normal;
  font-family: var(--sans);
}

/* Phone field */
.phone-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.phone-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.12);
}
.phone-row.input-error {
  border-color: var(--error);
}
.cc-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-2);
  border: none;
  cursor: pointer;
  padding: 0 10px 0 12px;
  border-right: 1px solid var(--line);
  border-radius: var(--r-md) 0 0 var(--r-md);
}
.cc-flag {
  font-size: 14px;
  line-height: 1;
}
.phone-input {
  border: none !important;
  padding: 10px 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 var(--r-md) var(--r-md) 0 !important;
}

.cc-menu {
  position: absolute;
  z-index: 30;
  margin-top: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  width: 260px;
}
.cc-item {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-item:hover { background: var(--surface-2); }
.cc-item .dial { color: var(--muted); font-size: 13px; margin-left: auto; }

/* Same-as toggle */
.inline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 400;
}
.inline-toggle input { accent-color: var(--accent); }

/* Stepper for quantity */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.qty button {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qty button:hover:not(:disabled) { background: var(--surface-2); color: var(--accent); }
.qty button:disabled { color: var(--line); cursor: not-allowed; }
.qty .qty-val {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  min-width: 26px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Buttons */
.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border: none;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: var(--r-md);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}
.btn-primary:disabled {
  background: var(--surface-3);
  color: var(--muted);
  cursor: not-allowed;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
}
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-terracotta {
  background: var(--accent);
  color: #fff;
}
.btn-terracotta:hover:not(:disabled) {
  background: var(--accent-hover);
}
.btn-terracotta:disabled {
  background: var(--surface-3);
  color: var(--muted);
  cursor: not-allowed;
}

/* Date strip */
.date-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 12px;
  margin: 0 -28px 4px;
  padding-left: 28px;
  padding-right: 28px;
  scrollbar-width: none;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-chip {
  flex: 0 0 auto;
  min-width: 56px;
  padding: 8px 6px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.15s;
}
.date-chip .dow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-family: var(--sans);
}
.date-chip .dom {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  font-family: var(--sans);
}
.date-chip .mon {
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-family: var(--sans);
}
.date-chip:hover { border-color: var(--accent); color: var(--accent); }
.date-chip:hover .dom, .date-chip:hover .dow, .date-chip:hover .mon { color: var(--accent); }
.date-chip.active {
  background: var(--accent);
  border-color: var(--accent);
}
.date-chip.active .dow, .date-chip.active .mon { color: rgba(255,255,255,0.8); }
.date-chip.active .dom { color: #fff; }
.date-chip.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--surface-2);
}

/* Session block */
.session {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.session:hover { border-color: var(--line); }
.session-head {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.session-head:hover { background: var(--surface-2); }
.session-title {
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  color: var(--ink);
}
.session-title .session-meta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-top: 2px;
  font-family: var(--sans);
}
.session-avail {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
}
.session-avail .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.session-avail.scarce { color: var(--warning); }
.session-avail.scarce .pulse { background: var(--warning); }
.session-avail.full { color: var(--error); }
.session-avail.full .pulse { background: var(--error); }

.session-body {
  padding: 4px 16px 16px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.times-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 6px;
}
.time-slot {
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.3;
  transition: all 0.15s;
  color: var(--ink);
}
.time-slot:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.time-slot.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.time-slot:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--muted);
}
.time-slot .slot-time {
  font-size: 13px;
  font-weight: 500;
  display: block;
}
.time-slot .slot-meta {
  font-size: 11px;
  letter-spacing: 0;
  margin-top: 2px;
  opacity: 0.7;
  display: block;
}

/* Session full banner */
.full-banner {
  padding: 10px 14px;
  border: 1px solid var(--error);
  background: var(--error-soft);
  border-radius: var(--r-md);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.full-banner .full-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--error);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--sans);
}
.full-banner .full-msg {
  font-family: var(--sans);
  font-style: normal;
  color: var(--ink-2);
  font-size: 13px;
}

/* Order screen */
.set-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.set-card::before { content: none; }
.set-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  font-family: var(--sans);
}
.set-tagline {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 12px;
  font-family: var(--sans);
}
.set-items {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.set-items li {
  font-size: 13px;
  color: var(--ink-2);
  position: relative;
  padding-left: 14px;
}
.set-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.set-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.set-price .label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--success);
  background: var(--success-soft);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--sans);
}
.set-price .amt {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--sans);
}

.section-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 10px;
}
.section-rule::before,
.section-rule::after { content: none; }
.section-rule .label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-family: var(--sans);
}

.addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.addon:last-child { border-bottom: none; }
.addon-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.addon-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.addon-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}

.total-bar {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.total-bar .label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-family: var(--sans);
}
.total-bar .amt {
  font-size: 20px;
  font-weight: 600;
  font-family: var(--sans);
  color: var(--ink);
}

/* Payment */
.timer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid var(--accent);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.timer-bar.warning {
  background: var(--warning-soft);
  border-color: var(--warning);
}
.timer-bar.critical {
  background: var(--error-soft);
  border-color: var(--error);
}
@keyframes shake { 0% { transform: none; } 100% { transform: none; } }
.timer-bar .tlabel {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.timer-bar .tcount {
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--sans);
}
.timer-bar .tprogress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--accent);
  transition: width 1s linear;
}
.timer-bar.warning .tprogress { background: var(--warning); }
.timer-bar.critical .tprogress { background: var(--error); }
.timer-icon {
  width: 32px; height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.timer-bar.warning .timer-icon { border-color: var(--warning); }
.timer-bar.critical .timer-icon { border-color: var(--error); }
.timer-icon::before, .timer-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  left: 50%;
  top: 50%;
  transform-origin: top;
}
.timer-bar.warning .timer-icon::before, .timer-bar.warning .timer-icon::after { background: var(--warning); }
.timer-bar.critical .timer-icon::before, .timer-bar.critical .timer-icon::after { background: var(--error); }
.timer-icon::before {
  width: 1.5px; height: 10px;
  transform: translate(-50%, 0) rotate(0deg);
  animation: tick-min 60s linear infinite;
}
.timer-icon::after {
  width: 1.5px; height: 7px;
  transform: translate(-50%, 0) rotate(120deg);
  animation: tick-hr 360s linear infinite;
}
@keyframes tick-min { to { transform: translate(-50%, 0) rotate(360deg); } }
@keyframes tick-hr { to { transform: translate(-50%, 0) rotate(480deg); } }

.bank-list { display: flex; flex-direction: column; gap: 8px; }
.bank-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 4px 14px;
  display: flex;
  flex-direction: column;
}
.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}
.bank-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 0;
}
.bank-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bank-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-family: var(--sans);
}
.bank-num {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}
.bank-acct {
  font-size: 13px;
  color: var(--ink-2);
  font-style: normal;
  font-family: var(--sans);
}
.copy-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.15s;
}
.copy-btn:hover { background: var(--surface-2); border-color: var(--ink); }
.copy-btn.copied { background: var(--success); color: #fff; border-color: var(--success); }

/* Upload */
.upload {
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  padding: 20px 14px;
  background: var(--surface-2);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.upload:hover, .upload.drag {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.upload.has-file {
  border-style: solid;
  border-color: var(--success);
  background: var(--success-soft);
}
.upload-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  color: var(--ink);
}
.upload-meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

/* Summary list */
.summary {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 4px 0;
  align-items: baseline;
}
.summary-row .label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  flex: 0 0 auto;
  font-family: var(--sans);
}
.summary-row .val {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  flex: 1;
  color: var(--ink);
}
.summary-rule {
  height: 1px;
  background: var(--line-soft);
  margin: 6px 0;
}

/* Lang switch */
.lang-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.lang-switch button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 6px 12px;
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
}
.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

/* Confirmation */
.confirm-stamp {
  text-align: center;
  padding: 8px 0 0;
}
.stamp-mark {
  display: inline-block;
  width: 56px;
  height: 56px;
  background: var(--success-soft);
  border: none;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  transform: none;
}
.stamp-mark::before { content: none; }
.stamp-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 18px;
  border-right: 2.5px solid var(--success);
  border-bottom: 2.5px solid var(--success);
  transform: rotate(45deg);
  left: 50%;
  top: 50%;
  margin-left: -5px;
  margin-top: -12px;
}
.confirm-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  margin: 12px 0 4px;
  text-align: center;
  color: var(--ink);
}
.confirm-ref {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  text-align: center;
  margin-bottom: 4px;
}

/* Footer note */
.policy-note {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin: 14px auto 0;
  max-width: 38ch;
}

.legend {
  display: none;
}

/* Number-of-guests visual stepper */
.guests {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.guest-pill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
  color: var(--ink);
  transition: all 0.15s;
}
.guest-pill:hover { border-color: var(--accent); color: var(--accent); }
.guest-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Celebration chips */
.celebrations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cel-chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 13px;
  font-style: normal;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.15s;
}
.cel-chip:hover { border-color: var(--accent); color: var(--accent); }
.cel-chip.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}
.modal {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px;
  max-width: 380px;
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow-lg);
}
.modal h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.modal p {
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

/* Live chip */
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--success);
  background: transparent;
  padding: 0;
  border-radius: 999px;
}
.live-chip .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-soft 2s infinite;
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* responsive */
@media (max-width: 420px) {
  .card-head, .card-body, .card-foot { padding-left: 20px; padding-right: 20px; }
  .date-strip { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .card-title { font-size: 20px; }
}
