.test-banner { padding: 12px 20px; background: #fff1d5; color: #694307; font-size: 13px; text-align: center; line-height: 1.5; }
.app-nav { display: flex; gap: 20px; padding: 20px 0 0; font-size: 14px; flex-wrap: wrap; }
.app-nav a { text-underline-offset: 5px; }
.upload-panel { margin:30px 0; padding:24px; border:1px solid var(--line); background:#faf9f6; }
.upload-panel h3 { margin-top:0; font-size:20px; }
.upload-panel input[type="file"] { max-width:100%; padding:10px; font-size:12px; background:white; }
.upload-list { list-style:none; padding:0; font-size:13px; }
.upload-list li { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:13px 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.upload-list small { display:block; font-size:11px; color:var(--muted); margin-top:7px; }
.upload-message { font-size:13px; line-height:1.6; }
.app-intro { padding-bottom: 26px; }
.app-intro h1 { font-size: clamp(38px, 5vw, 60px); }
.steps { display: flex; padding: 0; list-style: none; gap: 24px; margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.steps li { padding-bottom: 10px; border-bottom: 3px solid var(--line); }
.steps [aria-current="step"] { border-color: var(--brand); color: var(--ink); font-weight: 650; }
.registration-panel { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); padding: 32px; margin-bottom: 32px; }
.registration-panel h2 { font-size: 24px; margin: 0 0 10px; letter-spacing: -.02em; }
.panel-copy, .field-hint { color: var(--muted); font-size: 14px; line-height: 1.7; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 26px 0; }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 9px; }
input, select, textarea, button { font: inherit; }
.field input, .field select, .field textarea { display: block; width: 100%; border: 1px solid #929398; border-radius: 3px; padding: 12px; min-height: 48px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; min-height: 108px; }
.field select[multiple] { min-height: 160px; }
.field-hint { margin: 7px 0 0; font-size: 12px; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid #1559a3; outline-offset: 3px; }
[aria-invalid="true"] { border-color: #a51c25 !important; }
.field-error { color: #a51c25; font-size: 13px; margin: 8px 0 0; }
.error-summary { border-left: 4px solid #a51c25; padding: 16px; margin: 20px 0; background: #fff1f1; line-height: 1.6; }
.error-summary a { display: block; color: #89141b; }
.actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 26px; }
button.form-button, a.primary-cta { cursor: pointer; border: 0; min-width: 180px; margin-top: 0; }
button.secondary { cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 14px 20px; color: var(--ink); min-height: 52px; }
button:disabled { opacity: .65; cursor: progress; }
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0; font-size: 14px; line-height: 1.7; }
.checkbox-row input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 20px; accent-color: var(--brand); }
.review-grid { margin: 24px 0; }
.review-grid div { display: grid; grid-template-columns: 40% 60%; gap: 0; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; line-height: 1.6; }
.review-grid dt { color: var(--muted); padding-right: 20px; }
.review-grid dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.receipt { font-size: 17px; font-weight: 650; overflow-wrap: anywhere; padding: 18px; background: var(--paper); border: 1px solid var(--line); }
.prose { max-width: 720px; line-height: 1.8; padding-bottom: 40px; }
.prose h2 { margin-top: 28px; font-size: 22px; }
.prose p { color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.questionnaire-field { margin: 0; min-width: 0; }
.choice-group { border: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; width: 100%; grid-column: 1 / -1; }
.choice-group legend { padding: 0 0 14px; font-weight: 600; font-size: 14px; line-height: 1.7; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 3px; min-height: 48px; font-size: 14px; line-height: 1.6; cursor: pointer; }
.choice input { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: #fff7f7; }
.choice span { min-width: 0; overflow-wrap: anywhere; }
.other-field { margin-top: 16px; }
.rating-choices { display: flex; flex-wrap: wrap; }
.rating-choices .choice { align-items: center; }
.route-note { padding: 16px; background: #fff1d5; color: #694307; font-size: 13px; line-height: 1.7; }
.section-progress { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 3px solid var(--brand); padding-bottom: 12px; margin-bottom: 20px; font-size: 13px; }
.text-button { background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; padding: 12px 0; min-height: 44px; color: var(--ink); cursor: pointer; }
.form-card button.form-button { width: 100%; }
.landing-cta { max-width: 300px; margin: 28px 0 14px; }
@media(max-width: 640px) {
  .registration-panel { padding: 22px 18px; }
  .field-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .steps { gap: 14px; font-size: 12px; }
  .steps li { flex: 1; }
  .review-grid div { grid-template-columns: 1fr; gap: 5px; }
  .actions > * { flex: 1; }
  .test-banner { font-size: 12px; }
}

.captcha-check { margin: 18px 0; min-height: 140px; }
