:root {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #071a36;
  background: #f6f8fb;
  font-synthesis: none;
  --blue: #1045c2;
  --muted: #60789e;
  --border: #d9e2ef;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.booking-shell { width: min(576px, calc(100% - 40px)); margin: 0 auto; padding: clamp(48px, 12vh, 98px) 0 32px; }
.brand { display: flex; justify-content: center; margin: 0 auto 18px; }
.brand-logo { display: block; width: 280px; max-width: 100%; height: auto; }
.booking-card { padding: 32px; background: #fff; border: 1px solid var(--border); border-radius: 11px; box-shadow: 0 1px 2px #142c4e0b; }
h1 { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.65px; }
.subtitle { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 1px 0 0; font-weight: 350; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 24px 0 10px; }
.progress span { display: block; height: 8px; border-radius: 99px; background: #f0f3f8; transition: background .16s ease; }
.progress .is-complete { background: var(--blue); }
h2 { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0 0 16px; }
h2:focus { outline: none; }
.back-button { border: 0; border-radius: 6px; background: transparent; color: #071a36; font-size: 14px; padding: 10px 16px; display: inline-flex; align-items: center; gap: 14px; min-height: 42px; }
.back-button:hover { background: #f3f6fb; }
.back-button span { font-size: 20px; line-height: 1; }
.field { margin-bottom: 19px; }
label { display: block; font-size: 14px; line-height: 1.5; font-weight: 500; margin-bottom: 1px; }
input, select { width: 100%; height: 41px; min-width: 0; border: 1px solid var(--border); border-radius: 8px; background: #fbfcfe; padding: 9px 12px; color: #071a36; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #758aab; opacity: 1; }
input:hover, select:hover { border-color: #a9b9d2; }
input:focus, select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px #1045c216; }
button:focus-visible { outline: 3px solid #80a9ff; outline-offset: 3px; }
.phone-row { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
select { padding-right: 6px; font-size: 13px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
#assessment-form .form-actions { justify-content: flex-end; }
.primary-button { border: 1px solid transparent; border-radius: 8px; padding: 10px 15px; min-height: 41px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 600; transition: background .15s; }
.primary-button:hover { background: #0838a7; }
#confirm-button[data-ready="false"] { background: #526fa5; }
.field-error { color: #b12e3c; font-size: 12px; line-height: 1.4; margin: 5px 0 0; }
.submission-error { color: #932230; background: #fff5f6; border: 1px solid #e9bdc3; border-radius: 8px; padding: 12px; font-size: 14px; line-height: 1.5; }
#submission-status:empty { display: none; }
button:disabled { cursor: wait; opacity: .7; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"], fieldset[aria-invalid="true"] { border-color: #c24451; }
.step-caption { color: #60718b; font-size: 12px; margin: 0 0 24px; }
.section-hint { color: #60718b; font-size: 12px; line-height: 1.6; margin: -7px 0 22px; }
.question-field { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.question-field > label, .question-field legend { font-size: 14px; font-weight: 500; line-height: 1.6; margin-bottom: 8px; padding: 0; width: 100%; }
.question-field select { max-width: 100%; }
.choice-list { display: grid; gap: 8px; }
.choice-label { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px; background: #fbfcfe; cursor: pointer; font-weight: 400; margin: 0; }
.choice-label:has(input:checked) { border-color: var(--blue); background: #f0f4ff; }
.choice-label input { width: 17px; height: 17px; flex: 0 0 17px; margin: 3px 0 0; padding: 0; accent-color: var(--blue); }
.choice-label span { min-width: 0; overflow-wrap: anywhere; }
.question-field textarea { display: block; width: 100%; min-height: 104px; resize: vertical; font: inherit; font-size: 14px; line-height: 1.6; padding: 10px 12px; color: #071a36; background: #fbfcfe; border: 1px solid var(--border); border-radius: 8px; }
.question-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.answer-help { color: #60718b; font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
.question-field input[type="date"] { display: block; max-width: 100%; }
.demo-note { margin: 18px 0 0; text-align: center; color: #64728a; font-size: 11px; line-height: 1.5; }
.success { text-align: center; }
.success-icon { display: grid; place-items: center; background: #edf3ff; color: var(--blue); width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px; }
.success h2 { font-size: 22px; margin-bottom: 7px; overflow-wrap: anywhere; }
.success-description, .demo-explanation { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.booking-recap { display: grid; gap: 8px; background: #f6f8fc; border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin: 22px 0 16px; overflow-wrap: anywhere; }
.booking-recap span { color: var(--muted); font-size: 13px; }
.booking-recap strong { font-size: 16px; font-weight: 500; }
.success .primary-button { margin-top: 24px; }
.noscript-note { color: #b12e3c; text-align: center; }
@media (max-width: 480px) {
  .booking-shell { width: calc(100% - 32px); padding-top: 46px; }
  .booking-card { padding: 25px 22px; }
  .brand { margin-bottom: 20px; }
  .brand-logo { width: 250px; }
  h1 { font-size: 22px; }
  .phone-row { grid-template-columns: 94px 1fr; }
  input, select, .question-field textarea { font-size: 16px; }
  .form-actions { flex-wrap: wrap; }
  .form-actions .back-button { padding-left: 4px; }
  .form-actions .primary-button { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

