@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../assets/fonts/kanit-thai-400.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../assets/fonts/kanit-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('../assets/fonts/kanit-thai-500.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('../assets/fonts/kanit-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('../assets/fonts/kanit-thai-600.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('../assets/fonts/kanit-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('../assets/fonts/kanit-thai-700.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('../assets/fonts/kanit-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #050505;
  --surface: #ffffff;
  --surface-subtle: #fafafa;
  --text-primary: #151515;
  --text-secondary: #666666;
  --text-on-dark: #ffffff;
  --border-default: #e2e2e2;
  --border-strong: #c7c7c7;
  --brand: #e52814;
  --brand-dark: #ce1f0d;
  --error: #c91616;
  --success: #13a553;
  --radius-card: 14px;
  --radius-control: 999px;
  --card-width: 960px;
  --card-gutter: 32px;
  --motion-fast: 150ms;
  --motion-normal: 220ms;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--background); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100%;
  background: var(--background);
  color: var(--text-on-dark);
  font-family: 'Kanit', 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.fonts-pending .registration-header,
.fonts-pending .reg-form,
.fonts-pending .success-modal h2 { opacity: 0; }
.fonts-ready .registration-header,
.fonts-ready .reg-form { transition: opacity var(--motion-normal) ease-out; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--text-primary);
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.stage { min-height: 100vh; min-height: 100dvh; }
.screen { display: none; width: 100%; }
.screen.is-active { display: block; }
.screen--welcome.is-active { display: flex; justify-content: center; height: 100dvh; min-height: 0; overflow: hidden; }

/* ---------- Welcome artwork ---------- */
.welcome-artwork { position: relative; width: 100%; height: 100%; overflow: hidden; }
.welcome-artwork__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.welcome-artwork picture { display: block; width: 100%; height: 100%; }
.welcome-artwork__image { display: block; width: 100%; height: 100%; object-fit: fill; }
.welcome-artwork__register { position: absolute; left: 21%; top: 56.9%; width: 58%; }

/* ---------- Image buttons ---------- */
.btn-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  transition: transform var(--motion-fast) ease, filter var(--motion-fast) ease, opacity var(--motion-fast) ease;
}
.btn-img img { display: block; width: 100%; height: auto; }
.btn-img:active { transform: scale(.98); }
.btn-img:disabled { opacity: .35; cursor: default; transform: none; filter: none; }
.btn-img:focus-visible,
.btn-confirm:focus-visible,
.document-link:focus-visible,
.edit-registration:focus-visible,
.document-modal__close:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.btn-back, .btn-next { width: clamp(88px, 25vw, 112px); }

/* ---------- Registration header and progress ---------- */
.registration-header { width: 100%; max-width: 1100px; margin: 0 auto; }
.event-banner { display: block; width: 100%; height: auto; }
.registration-title {
  margin: 8px 16px 4px;
  color: var(--text-on-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
.registration-title span { font-size: 12px; }
.step-navigation { width: 100%; }
.stepper {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  list-style: none;
}
.stepper__item { position: relative; flex: 1 1 0; min-width: 0; text-align: center; }
.stepper__item:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 14px;
  left: calc(50% + 14px);
  width: calc(100% - 28px);
  height: 2px;
  background: var(--surface);
}
.stepper__item button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.stepper__item button:disabled { cursor: default; }
.stepper__item.is-current button,
.stepper__item.is-complete button { background: var(--brand); color: var(--text-on-dark); }
.stepper__item.is-complete:not(:last-child)::after { background: var(--brand); }
.stepper__item button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.stepper__item small {
  display: block;
  min-height: 30px;
  margin: 3px auto 0;
  color: var(--text-on-dark);
  font-size: 7px;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: break-word;
}

/* ---------- Form card ---------- */
.reg-form { width: 100%; }
.step-panel.is-active { display: flex; flex-direction: column; min-height: calc(100dvh - 185px); }
.step-card {
  width: calc(100% - (var(--card-gutter) * 2));
  max-width: var(--card-width);
  margin: 18px auto 0;
  padding: 18px 24px 20px;
  background: var(--surface);
  color: var(--text-primary);
  border-radius: var(--radius-card);
}
.step-card--short { padding-bottom: 24px; }
.step-card__title {
  margin: 0 0 16px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.step-card__title span { margin-right: 4px; }
.field { min-width: 0; margin: 0 0 8px; }
.field > label,
.field > legend,
.field-label {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}
.field input[type='text'],
.field input[type='tel'],
.field input[type='email'],
.field input[type='number'],
.field input[type='date'],
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 5px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-control);
  outline: none;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background var(--motion-fast) ease;
}
.field select {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input::placeholder,
.field textarea::placeholder { color: #a0a0a0; opacity: 1; }
.field input[readonly] { background: var(--surface-subtle); color: var(--text-secondary); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(239, 43, 22, .11); }
.field input.invalid,
.field select.invalid,
.field textarea.invalid,
.upload-control.invalid { border-color: var(--error); }
.field-error { display: block; margin-top: 3px; color: var(--error); font-size: 10px; font-weight: 400; line-height: 1.35; }
.field-error:empty { display: none; }
.field-grid { display: grid; min-width: 0; }
.field-grid--contact { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.field-grid > .field { min-width: 0; }
.field--group { padding: 0; border: 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: 12px 36px; padding: 0 0 4px; }
.radio-option,
.consent-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
  user-select: none;
}
.radio-option input,
.consent-option input {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.radio-option input:checked,
.consent-option input:checked { border-color: var(--brand); background: var(--brand); }
.radio-option input:checked::after,
.consent-option input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 7px;
  border: solid var(--surface);
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-50%, -58%) rotate(45deg);
}
.radio-option input:focus-visible,
.consent-option input:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.radio-option input.invalid,
.consent-option input.invalid { border-color: var(--error); }

/* ---------- Upload ---------- */
.upload-control {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}
.upload-control > input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-control:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.upload-control__content { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; padding: 10px 14px; text-align: left; }
.upload-control__content > img { flex: 0 0 auto; width: 32px; height: 32px; }
.upload-control__content > span { min-width: 0; }
.upload-control__content strong,
.upload-control__content small { display: block; overflow-wrap: anywhere; }
.upload-control__content strong { font-size: 10px; font-weight: 400; line-height: 1.4; }
.upload-control__content small { margin-top: 2px; color: var(--text-secondary); font-size: 9px; line-height: 1.35; }
.upload-control.has-file { border-color: var(--success); background: #f6fdf8; }

/* ---------- Consent documents ---------- */
.document-list { border-top: 1px solid var(--border-default); }
.document-item { padding: 9px 0; border-bottom: 1px solid var(--border-default); }
.document-item__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.document-item__header h3 { margin: 0; font-size: 11px; font-weight: 600; line-height: 1.5; }
.document-item p { margin: 4px 0 0; font-size: 10px; line-height: 1.5; }
.document-link,
.edit-registration {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 4px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 10px;
  font-weight: 400;
  cursor: pointer;
}
.document-link svg,
.edit-registration svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.consent-option { align-items: flex-start; padding: 5px 0; }
.consent-option input { margin-top: 3px; }

/* ---------- Review ---------- */
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.review-heading h3 { margin: 0; font-size: 14px; font-weight: 600; }
.registration-review { font-size: 11px; line-height: 1.6; }
.review-section { padding: 7px 0; border-bottom: 1px solid var(--border-default); }
.review-section:last-child { border-bottom: 0; }
.review-section h4 { margin: 0 0 3px; font-size: 11px; font-weight: 600; }
.review-section p { margin: 2px 0; overflow-wrap: anywhere; }
.review-consents { padding: 0; list-style: none; }
.review-consents li { position: relative; margin: 3px 0; padding-left: 20px; }
.review-consents li::before {
  content: '✓';
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--success);
  color: var(--surface);
  font-size: 9px;
  font-weight: 700;
}
.form-error { min-height: 18px; margin: 8px 0 0; color: var(--error); font-size: 12px; text-align: center; }

/* ---------- Actions ---------- */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: calc(100% - (var(--card-gutter) * 2));
  max-width: var(--card-width);
  min-height: 62px;
  margin: auto auto 0;
  padding: 8px 0 max(14px, env(safe-area-inset-bottom));
}
.form-actions--confirm { justify-content: center; }
.btn-confirm {
  min-width: 150px;
  min-height: 44px;
  padding: 8px 24px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--brand);
  color: var(--text-on-dark);
  box-shadow: inset 0 -2px 0 rgba(115, 8, 0, .18);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition: transform var(--motion-fast) ease, background var(--motion-fast) ease, opacity var(--motion-fast) ease;
}
.btn-confirm:active { transform: scale(.98); }
.btn-confirm:disabled { opacity: .55; cursor: progress; transform: none; }

/* ---------- Success and document dialogs ---------- */
.success-modal,
.document-modal {
  border: 0;
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}
.success-modal { width: min(310px, calc(100% - 48px)); padding: 28px 24px; border-radius: 16px; text-align: center; }
.success-modal::backdrop,
.document-modal::backdrop { background: rgba(0, 0, 0, .58); backdrop-filter: blur(1px); }
.success-modal__icon { width: 82px; height: 82px; margin: 0 auto 12px; }
.success-modal__icon svg { display: block; width: 100%; height: 100%; }
.success-modal__icon circle { fill: var(--brand); }
.success-modal__icon path { fill: none; stroke: var(--surface); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.success-modal h2 { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.45; }
.document-modal { position: relative; width: min(680px, calc(100% - 40px)); max-height: min(78dvh, 720px); padding: 30px; border-radius: 14px; }
.document-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  font-size: 28px;
  cursor: pointer;
}
.document-modal h2 { margin: 0 40px 14px 0; font-size: 20px; font-weight: 600; }
.document-modal__body { color: var(--text-secondary); font-size: 14px; line-height: 1.8; }
.document-modal__body p { margin: 0 0 12px; }

@media (hover: hover) {
  .btn-img:hover { transform: translateY(-2px); filter: brightness(1.04); }
  .btn-confirm:hover { transform: translateY(-1px); background: var(--brand-dark); }
  .document-link:hover,
  .edit-registration:hover { text-decoration: underline; }
  .stepper__item button:not(:disabled):hover { box-shadow: 0 0 0 4px rgba(239, 43, 22, .25); }
}

/* ---------- Tablets / desktop ---------- */
@media (min-aspect-ratio: 1/1) {
  .welcome-artwork__register { left: 17.3%; top: 65.7%; width: 26%; }
}

@media (min-width: 768px) {
  :root { --card-gutter: 40px; }
  .registration-header { padding-top: 16px; }
  .registration-title { margin-top: 8px; font-size: 16px; }
  .registration-title span { font-size: 15px; }
  .stepper { padding: 0 24px; }
  .stepper__item:not(:last-child)::after { top: 17px; left: calc(50% + 17px); width: calc(100% - 34px); }
  .stepper__item button { width: 34px; height: 34px; font-size: 18px; }
  .stepper__item small { min-height: 34px; margin-top: 4px; font-size: 10px; }
  .step-panel.is-active { display: block; min-height: 0; }
  .step-card { margin-top: 14px; padding: 20px 32px 12px; border-radius: 12px 12px 0 0; }
  .step-card--short { padding-bottom: 12px; }
  .step-card__title { margin-bottom: 14px; font-size: 24px; }
  .field { margin-bottom: 9px; }
  .field > label,
  .field > legend,
  .field-label { font-size: 12px; }
  .field input[type='text'],
  .field input[type='tel'],
  .field input[type='email'],
  .field input[type='number'],
  .field input[type='date'],
  .field select,
  .field textarea { height: 38px; font-size: 14px; }
  .step-panel:not([data-step-panel='1']):not([data-step-panel='6']):not([data-step-panel='7']) .step-card > .field {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
  }
  .step-panel:not([data-step-panel='1']):not([data-step-panel='6']):not([data-step-panel='7']) .step-card > .field > label,
  .step-panel:not([data-step-panel='1']):not([data-step-panel='6']):not([data-step-panel='7']) .step-card > .field > .field-label { margin-bottom: 0; }
  .step-panel:not([data-step-panel='1']):not([data-step-panel='6']):not([data-step-panel='7']) .step-card > .field > .field-error { grid-column: 2; }
  .step-panel .step-card > .field--group { display: block; }
  .field-grid--contact { column-gap: 24px; }
  .upload-control { min-height: 70px; }
  .upload-control__content strong { font-size: 11px; }
  .upload-control__content small { font-size: 10px; }
  .document-item__header h3 { font-size: 12px; }
  .document-item p,
  .document-link,
  .radio-option,
  .consent-option { font-size: 11px; }
  .registration-review { font-size: 12px; }
  .review-section h4 { font-size: 12px; }
  .review-heading h3 { font-size: 15px; }
  .form-actions {
    min-height: 58px;
    margin: 0 auto 18px;
    padding: 0 32px 14px;
    background: var(--surface);
    border-radius: 0 0 12px 12px;
  }
  .btn-back, .btn-next { width: 120px; }
  .btn-confirm { font-size: 16px; }
}

@media (min-width: 1200px) {
  .step-card { padding-right: 42px; padding-left: 42px; }
  .form-actions { padding-right: 42px; padding-left: 42px; }
}

@media (max-width: 380px) {
  :root { --card-gutter: 20px; }
  .step-card { padding-right: 18px; padding-left: 18px; }
  .step-card__title { font-size: 18px; }
  .stepper { padding: 0 10px; }
  .stepper__item small { font-size: 6.5px; }
  .field-grid--contact { column-gap: 10px; }
  .document-item__header { gap: 6px; }
}

.screen--welcome.is-active { align-items: flex-start; }
.welcome-artwork { flex: 0 0 auto; }

.registration-review { line-height: 1.45; }
.review-section { padding: 4px 0; }
.review-section h4 { margin-bottom: 1px; }
.review-consents li { margin-top: 1px; margin-bottom: 1px; }
.step-panel[data-step-panel='7'] .step-card { padding-bottom: 8px; }
.step-panel[data-step-panel='7'] .review-heading { margin-bottom: 4px; }

@media (min-width: 768px) {
  .step-panel:not([data-step-panel='1']) .step-card,
  .step-panel:not([data-step-panel='1']) .form-actions { max-width: 760px; }
  .step-panel[data-step-panel='7'] .step-card__title { font-size: 22px; }
}

@media (max-width: 767px) {
  .step-panel[data-step-panel='1'] .step-card--short { min-height: 270px; }
  .step-panel[data-step-panel='5'] .step-card { min-height: 405px; }

  .step-panel[data-step-panel='2'] .step-card { padding-top: 16px; padding-bottom: 16px; }
  .step-panel[data-step-panel='2'] .step-card__title { margin-bottom: 10px; }
  .step-panel[data-step-panel='2'] .field { margin-bottom: 2px; }
  .step-panel[data-step-panel='2'] .field > label,
  .step-panel[data-step-panel='2'] .field > .field-label { margin-bottom: 1px; font-size: 10px; line-height: 1.25; }
  .step-panel[data-step-panel='2'] .field input[type='text'],
  .step-panel[data-step-panel='2'] .field input[type='tel'],
  .step-panel[data-step-panel='2'] .field input[type='email'],
  .step-panel[data-step-panel='2'] .field input[type='number'],
  .step-panel[data-step-panel='2'] .field input[type='date'],
  .step-panel[data-step-panel='2'] .field select { height: 30px; padding-top: 2px; padding-bottom: 2px; }
  .step-panel[data-step-panel='2'] .upload-control { min-height: 58px; }
  .step-panel[data-step-panel='2'] .upload-control__content { padding-top: 7px; padding-bottom: 7px; }

  .step-panel[data-step-panel='6'] .step-card { padding-top: 16px; padding-bottom: 14px; }
  .step-panel[data-step-panel='6'] .step-card__title { margin-bottom: 10px; }
  .step-panel[data-step-panel='6'] .document-item { padding: 4px 0; }
  .step-panel[data-step-panel='6'] .document-item__header h3 { font-size: 10px; }
  .step-panel[data-step-panel='6'] .document-item p { margin-top: 2px; font-size: 9px; }
  .step-panel[data-step-panel='6'] .document-link { min-height: 28px; }
  .step-panel[data-step-panel='6'] .consent-option { min-height: 30px; padding: 2px 0; font-size: 10px; }

  .step-panel[data-step-panel='7'] .step-card { padding-top: 16px; }
  .step-panel[data-step-panel='7'] .step-card__title { margin-bottom: 10px; font-size: clamp(13px, 4.1vw, 16px); white-space: nowrap; }
  .step-panel[data-step-panel='7'] .registration-review { font-size: 10px; }
  .step-panel[data-step-panel='7'] .review-section h4 { font-size: 10px; }
  .step-panel[data-step-panel='7'] .review-heading h3 { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
