:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
  color: #171717;
  background: #f7f7f7;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 50% 0, #fff 0, #f7f7f7 48%, #efefef 100%); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #5b9dd9; outline-offset: 2px; }
.page-shell { width: min(100%, 440px); margin: 0 auto; padding: 18px 16px 30px; }
.booking-card { overflow: hidden; min-height: 680px; background: #fff; border: 1px solid #dbdbdb; border-radius: 28px; box-shadow: 0 18px 60px rgba(0,0,0,.12); }
.brand-header { padding: 20px 22px 22px; color: #fff; background: linear-gradient(135deg, #833ab4 0%, #c13584 34%, #fd1d1d 68%, #fcb045 100%); }
.brand-row { display: flex; align-items: center; gap: 10px; }
.brand-avatar { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 700; }
.brand-name { font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.brand-header h1 { margin: 12px 0 4px; font-size: 25px; line-height: 1.18; }
.brand-header p { margin: 0; font-size: 13px; color: rgba(255,255,255,.9); }
.story-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 15px 22px 0; }
.story-progress span { height: 4px; border-radius: 4px; background: #efefef; }
.story-progress span.is-done { background: linear-gradient(90deg, #c13584, #f77737); }
.booking-content { padding: 18px 22px 24px; }
.eyebrow { margin: 0 0 5px; color: #737373; font-size: 12px; font-weight: 700; }
h2 { margin: 0 0 7px; font-size: 22px; line-height: 1.25; }
.helper { margin: 0 0 20px; color: #737373; font-size: 13px; line-height: 1.5; }
.date-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.date-button, .time-button { appearance: none; border: 1px solid #dbdbdb; background: #fff; color: #171717; }
.date-button { min-height: 66px; padding: 9px 4px; border-radius: 18px; font-size: 12px; }
.date-button strong { display: block; margin-top: 3px; font-size: 18px; }
.date-button.is-selected, .time-button.is-selected { border-color: #c13584; background: #fff0f7; color: #a02168; }
.date-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: -10px 0 20px; color: #737373; font-size: 12px; }
.date-pager button { min-height: 38px; border: 0; background: transparent; color: #a02168; font-weight: 700; }
.date-pager button:last-child { text-align: right; }
.date-pager button:disabled { color: #bdbdbd; cursor: not-allowed; }
.section-label { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 20px; }
.time-button { min-height: 48px; padding: 10px 5px; border-radius: 24px; font-size: 14px; }
.notice { margin: 0 0 18px; padding: 12px 13px; border: 1px solid #efefef; border-radius: 12px; background: #fafafa; color: #666; font-size: 12px; line-height: 1.5; }
.notice.error { border-color: #f4b8b8; background: #fff5f5; color: #9f1c1c; }
.primary, .secondary { width: 100%; min-height: 52px; border-radius: 26px; font-weight: 700; }
.primary { border: 0; color: #fff; background: linear-gradient(90deg, #c13584, #e1306c, #f77737); }
.link-button { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.primary:disabled { cursor: not-allowed; opacity: .45; filter: grayscale(.25); }
.secondary { margin-top: 8px; border: 0; background: transparent; color: #737373; }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.field .optional { font-weight: 400; color: #737373; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #dbdbdb; border-radius: 12px; padding: 11px 12px; background: #fafafa; color: #171717; }
.field textarea { min-height: 82px; resize: vertical; }
.field-error { margin: 5px 0 0; color: #b42318; font-size: 12px; }
.summary { margin: 4px 0 18px; }
.summary-row { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #efefef; }
.summary-row dt { color: #737373; font-size: 13px; }
.summary-row dd { margin: 0; text-align: right; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.success-mark { display: grid; place-items: center; width: 68px; height: 68px; margin: 10px auto 18px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #833ab4, #e1306c, #f77737); font-size: 32px; }
.center { text-align: center; }
.reference { margin: 18px 0; padding: 14px; border: 1px solid #efefef; border-radius: 12px; background: #fafafa; text-align: center; }
.reference small { display: block; margin-bottom: 4px; color: #737373; }
.reference strong { letter-spacing: .06em; }
.loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 260px; color: #737373; }
.spinner { width: 22px; height: 22px; border: 3px solid #efefef; border-top-color: #c13584; border-radius: 50%; animation: spin .8s linear infinite; }
.page-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; padding: 18px 0 0; color: #737373; font-size: 12px; text-align: center; }
.page-footer a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) {
  .page-shell { padding: 0 8px 24px; }
  .booking-card { min-height: 660px; border-radius: 18px; }
  .brand-header { padding-top: max(18px, env(safe-area-inset-top)); }
  .booking-content { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
