[hidden] { display: none !important; }
.team-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px; margin: 20px 0; border: 1px solid #cfb77b; border-radius: 20px; background: #fbe8c9; }
.team-avatar-art { display: grid; place-items: center; flex: 0 0 80px; height: 80px; overflow: hidden; border-radius: 20px; background: var(--ink); color: #f5bf43; }
.team-avatar-art img { width: 80px; height: 80px; object-fit: contain; }
.team-avatar-art svg { width: 62px; height: 62px; }
.team-card > div:nth-child(2) { flex: 1; min-width: 100px; overflow-wrap: anywhere; }
.team-card strong, .team-card small, .team-card span { display: block; }
.team-card strong { font-size: 1.1rem; margin: 5px 0; }
.team-card span { font-size: .65rem; letter-spacing: .08em; font-weight: 800; }
.team-card small { color: #645342; font-size: .75rem; }
.avatar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.avatar-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 12px 6px; min-height: 94px; border: 2px solid #ded4c5; border-radius: 16px; color: var(--ink); background: #fffdf7; font-size: .75rem; }
.avatar-choice svg { display: block; width: 40px; height: 40px; }
.avatar-choice[aria-pressed="true"] { background: #fff0e9; border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.avatar-choice[aria-pressed="true"] > span:last-child::after { content: ' ✓'; }
.avatar-choice:focus-visible, .avatar-upload input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.avatar-upload { padding-top: 12px; border-top: 1px solid var(--line); }
.avatar-upload label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.avatar-upload input { display: block; width: 100%; min-width: 0; font-size: 16px; }
.avatar-upload input::file-selector-button { padding: 12px; min-height: 44px; border: 1px solid #c6beb2; border-radius: 12px; margin-right: 8px; background: #eee5d7; color: var(--ink); cursor: pointer; }
.avatar-upload p { font-size: .77rem; line-height: 1.5; color: #645342; margin-top: 12px; }
.avatar-upload p:empty { display: none; }
#form-next:disabled { opacity: .6; cursor: wait; }
@media (max-width: 420px) { .avatar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.email-preview { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; background: #fbe8c9; color: var(--ink); font-size: .9rem; line-height: 1.5; }
.email-preview:empty { display: none; }
.size-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 380px) { .size-options { grid-template-columns: 1fr; } }
.header-cta, .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.demo-section { background: var(--red); color: #fff; scroll-margin-top: 16px; }
.demo-intro { margin-bottom: 32px; }
.demo-intro .eyebrow { color: #f9d78a; }
.demo-intro h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
.demo-intro p:last-child { color: #fff1ed; line-height: 1.6; max-width: 560px; margin: 20px 0 0; }
.registration-shell { color: var(--ink); background: var(--cream); border-radius: 24px; box-shadow: 0 14px 40px #70191633; overflow: hidden; }
.wizard-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; border-bottom: 1px solid var(--line); padding: 14px 20px; }
.wizard-title { grid-column: 1 / -1; font-size: .95rem; line-height: 1.5; font-weight: 800; }
.wizard-title > span { display: block; color: #676057; font-size: .82rem; font-weight: 500; }
.wizard-pilot { font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.wizard-pilot span { color: var(--red); margin-right: 5px; }
#form-reset { border: 0; background: transparent; color: #575c60; padding: 12px 8px; min-height: 44px; font-size: .75rem; text-decoration: underline; border-radius: 10px; }
.progress-wrap { padding: 22px 24px 0; }
.progress-wrap label { display: block; font-size: .74rem; font-weight: 700; margin-bottom: 10px; color: #65615b; }
progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 10px; background: #e7dfd1; accent-color: var(--red); overflow: hidden; }
progress::-webkit-progress-bar { background: #e7dfd1; }
progress::-webkit-progress-value { background: var(--red); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--red); border-radius: 10px; }
#registration-form { width: 100%; max-width: 740px; margin: auto; padding: 32px 24px 24px; }
.form-stage { min-height: 240px; }
.question-overline { font-size: .64rem; letter-spacing: .12em; font-weight: 800; color: var(--red-dark); margin-bottom: 15px; }
.form-stage h3 { font-size: clamp(1.85rem, 6vw, 2.8rem); line-height: 1.13; letter-spacing: -.04em; margin-bottom: 15px; overflow-wrap: anywhere; }
.form-stage h3:focus { outline: none; }
.question-hint { color: #5e6365; font-size: .95rem; line-height: 1.6; margin-bottom: 28px; }
.wizard-input { display: block; width: 100%; min-width: 0; min-height: 58px; border: 0; border-bottom: 2px solid #a99f91; border-radius: 0; background: transparent; color: var(--ink); font-size: clamp(1.1rem, 4.5vw, 1.8rem); padding: 10px 0 12px; box-shadow: none; }
.wizard-input::placeholder { color: #78736d; opacity: 1; }
.wizard-input:focus { outline: none; border-color: var(--red); box-shadow: 0 2px var(--red); }
.wizard-input[aria-invalid="true"] { border-color: var(--red); }
.example-button { background: #eee5d7; color: #5d4533; border: 0; border-radius: 12px; padding: 12px 14px; min-height: 44px; font-size: .76rem; margin-top: 18px; max-width: 100%; overflow-wrap: anywhere; }
.example-button:hover { background: #e2d6c3; }
.wizard-options { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.wizard-option { cursor: pointer; position: relative; }
.wizard-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-body { display: flex; align-items: center; gap: 12px; padding: 16px 14px; min-height: 78px; border: 2px solid #ded4c5; border-radius: 16px; background: #fffdf7; }
.option-body > span:nth-child(2) { min-width: 0; flex: 1; }
.option-body strong { display: block; font-size: .95rem; line-height: 1.35; }
.option-body small { display: block; color: #686360; font-size: .76rem; line-height: 1.5; margin-top: 4px; }
.option-letter { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid #c3b4a0; border-radius: 8px; font-size: .72rem; font-weight: 700; }
.option-check { visibility: hidden; color: var(--red); font-weight: 800; }
.wizard-option input:checked + .option-body { border-color: var(--red); background: #fff0e9; }
.wizard-option input:checked + .option-body .option-check { visibility: visible; }
.wizard-option input:checked + .option-body .option-letter { background: var(--red); color: #fff; border-color: var(--red); }
.wizard-option input:focus-visible + .option-body { outline: 3px solid var(--ink); outline-offset: 3px; }
.wizard-option:hover .option-body { border-color: #ab8e76; }
.wizard-option:hover input:checked + .option-body { border-color: var(--red); }
.form-error { color: var(--red-dark); font-weight: 700; font-size: .85rem; line-height: 1.5; margin: 18px 0 0; }
.form-error:empty { margin: 0; }
.wizard-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 30px; }
.wizard-actions .button { justify-content: center; min-height: 54px; padding: 15px 20px; border-radius: 16px; }
#form-next { flex: 1; }
.wizard-back { background: transparent; color: #555c61; border: 1px solid #c6beb2; gap: 8px; }
.wizard-back:hover { background: #ede6da; }
.keyboard-hint { display: none; color: #736e65; font-size: .72rem; }
kbd { font: inherit; font-weight: 700; }
.wizard-footnote { margin: 0; padding: 16px 24px 22px; text-align: center; font-size: .7rem; color: #706b63; line-height: 1.6; }
.review-list { margin: 0; }
.review-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.review-row > div { min-width: 0; }
.review-row:has(.review-inline-editor), .team-card:has(.review-inline-editor) { flex-wrap: wrap; }
.review-inline-editor { flex: 0 0 100%; min-width: 0; padding: 18px; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.review-inline-editor > label { display: block; margin-bottom: 8px; }
.review-inline-editor input:not([type=radio]):not([type=checkbox]) { width: 100%; min-width: 0; min-height: 48px; padding: 10px; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.review-inline-editor fieldset { padding: 0; margin: 0; border: 0; }
.review-choice { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.review-choice input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: var(--red); }
.review-edit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.review-edit-actions .button { min-height: 48px; }
.review-edit-error { color: var(--red-dark); font-size: .85rem; margin: 10px 0; }
.review-row dt { color: #6b6760; font-size: .73rem; margin-bottom: 5px; }
.review-row dd { margin: 0; font-size: .92rem; font-weight: 700; overflow-wrap: anywhere; line-height: 1.45; }
.edit-answer { flex-shrink: 0; min-height: 44px; padding: 10px; color: var(--red-dark); border: 0; background: transparent; border-radius: 10px; font-size: .78rem; text-decoration: underline; }
.form-note { margin: 22px 0 0; background: #eee5d6; border-radius: 14px; padding: 15px 17px; font-size: .8rem; line-height: 1.6; color: #645342; }
label.form-note:has(#activation-consent) { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 700; }
#activation-consent { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--red); }
.form-note:has(#activation-consent) + .selection-hint { font-size: .85rem; line-height: 1.6; color: var(--muted); }
.invitation-button { margin-top: 24px; width: 100%; justify-content: center; line-height: 1.5; }
@media (min-width: 681px) {
  .wizard-title > span { display: inline; margin-left: 8px; }
  .wizard-top { padding: 16px 32px; }
  .progress-wrap { padding: 28px 48px 0; }
  #registration-form { padding: 50px 40px 32px; }
  .form-stage { min-height: 315px; }
  .wizard-actions { padding-top: 35px; }
  #form-next { flex: 0 1 auto; }
  .keyboard-hint { display: inline; }
  .option-body { padding: 18px 20px; }
}
@media (max-width: 390px) {
  .wizard-top { padding: 10px 15px; }
  .wizard-pilot { font-size: .57rem; }
  #form-reset { font-size: .67rem; }
  #registration-form { padding: 28px 18px 20px; }
  .progress-wrap { padding: 20px 18px 0; }
  .option-body { gap: 9px; padding: 14px 10px; }
  .option-letter { width: 24px; height: 24px; }
  .option-body strong { font-size: .86rem; }
  .option-body small { font-size: .72rem; }
  .wizard-actions { gap: 8px; }
  .wizard-actions .button { padding-inline: 14px; font-size: .8rem; }
}

.existing-team-picker { margin-top: 1.5rem; }
.existing-team-picker > label { display: block; margin-bottom: .65rem; font-weight: 700; }
.existing-team-picker select { font-size: 1rem; width: 100%; min-height: 48px; }
