.survey-shell { width: min(100% - 3rem, 68rem); margin: 0 auto; padding: 2.25rem 0; }
.survey-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid #dedee3; }
.brand-link { color: #1d1d1f; text-decoration: none; font-weight: 650; letter-spacing: -.025em; }
.brand-link span, .small-note { color: #6e6e73; font-weight: 400; font-size: .88rem; }
.survey-layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 4rem; align-items: start; margin-top: 3.5rem; }
.eyebrow { margin: 0 0 1.25rem; color: #0071e3; font-size: .85rem; font-weight: 600; letter-spacing: .08em; }
.survey-intro h1 { font-size: clamp(2.4rem, 4vw, 3.25rem); line-height: 1.25; letter-spacing: -.055em; margin: 0 0 1.2rem; font-weight: 650; }
.survey-intro > p:not(.eyebrow) { color: #6e6e73; line-height: 1.8; }
.step-list { list-style: none; padding: 0; margin: 2.25rem 0; display: grid; gap: .8rem; }
.step-list li { display: flex; align-items: center; gap: .75rem; color: #76767b; font-size: .88rem; }
.step-dot { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid #d2d2d7; font-size: .7rem; font-variant-numeric: tabular-nums; }
.step-list li[aria-current="step"] { color: #1d1d1f; font-weight: 600; }
.step-list li[aria-current="step"] .step-dot { background: #1d1d1f; color: white; border-color: #1d1d1f; }
.step-list .complete .step-dot { color: #0071e3; background: #e7f1fc; border-color: #e7f1fc; }
.intro-note { font-size: .8rem; }
.survey-card { min-width: 0; background: #fff; border: 1px solid #e7e7eb; border-radius: 1.5rem; padding: 2rem 2.5rem; box-shadow: 0 1rem 3rem #00000005; }
.progress-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: #6e6e73; font-size: .75rem; }
progress { display: block; width: 100%; height: 3px; border: 0; margin: .8rem 0 2rem; border-radius: 10px; background: #eeeeF0; color: #0071e3; }
progress::-webkit-progress-bar { background: #eeeeF0; border-radius: 10px; }
progress::-webkit-progress-value { background: #0071e3; border-radius: 10px; }
progress::-moz-progress-bar { background: #0071e3; border-radius: 10px; }
.step-title { margin: 0 0 .65rem; font-size: clamp(1.35rem, 3vw, 1.65rem); line-height: 1.4; font-weight: 600; letter-spacing: -.03em; }
.step-title:focus { outline: none; }
.step-description { margin: 0 0 1.8rem; font-size: .9rem; color: #6e6e73; line-height: 1.75; }
.field { padding: 0; margin: 0 0 1.7rem; border: 0; min-width: 0; }
.field-label { display: block; margin: 0 0 .75rem; font-size: .95rem; line-height: 1.6; font-weight: 550; }
.optional { color: #76767b; font-weight: 400; font-size: .75rem; margin-left: .5rem; white-space: nowrap; }
.field-hint { margin: -.35rem 0 .8rem; font-size: .8rem; line-height: 1.6; color: #6e6e73; }
.options { display: grid; gap: .6rem; }
.option { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid #dedee3; border-radius: .75rem; cursor: pointer; font-size: .92rem; line-height: 1.5; transition: background-color 120ms, border-color 120ms; }
.option:hover { background: #f7f9fb; border-color: #b8c7d8; }
.option:has(input:checked) { border-color: #0071e3; background: #f0f7ff; color: #0059b2; }
.option input { accent-color: #0071e3; width: 1rem; height: 1rem; margin: 0; flex-shrink: 0; }
input[type="text"], input[type="password"], textarea, select { display: block; width: 100%; border: 1px solid #d2d2d7; border-radius: .7rem; padding: .9rem 1rem; background: #fff; font: inherit; font-size: 1rem; color: #1d1d1f; line-height: 1.6; }
textarea { min-height: 8rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #818188; font-size: .9rem; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #0071e344; outline-offset: 3px; }
.field-error, .form-error { color: #b42318; font-size: .85rem; line-height: 1.6; margin: .5rem 0; }
[aria-invalid="true"]:not(fieldset) { border-color: #b42318; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid #ededf0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem; border: 1px solid transparent; border-radius: .7rem; padding: .7rem 1.25rem; font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; text-decoration: none; background: #0071e3; color: #fff; }
.button:hover { background: #0064c9; }
.button.secondary { background: #f1f1f4; color: #45454b; }
.button.secondary:hover { background: #e7e7ed; }
.button:disabled { opacity: .55; cursor: wait; }
.text-button { border: 0; background: none; font: inherit; color: #0071e3; cursor: pointer; padding: .5rem 0; font-size: .82rem; }
.draft-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; color: #6e6e73; font-size: .75rem; }
.survey-footer { margin-top: 2rem; color: #76767b; line-height: 1.7; font-size: .75rem; text-align: center; }
.summary-section { padding: 1.25rem 0; border-bottom: 1px solid #ededf0; }
.summary-section:first-of-type { padding-top: .25rem; }
.summary-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.summary-heading h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.summary-section dl { margin: .75rem 0 0; }
.summary-section dt { color: #76767b; font-size: .78rem; margin-top: .8rem; line-height: 1.6; }
.summary-section dd { margin: .2rem 0 0; font-size: .92rem; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.consent { display: flex; align-items: start; gap: .6rem; margin-top: 1.5rem; font-size: .85rem; line-height: 1.7; color: #5f5f66; }
.consent input { margin-top: .3rem; accent-color: #0071e3; }
.empty-state { color: #6e6e73; line-height: 1.8; padding: 1rem 0; }
.success-mark { display: grid; place-items: center; width: 3rem; height: 3rem; margin: .5rem 0 1.5rem; color: #0071e3; background: #edf5ff; border-radius: 50%; font-size: 1.5rem; }
.receipt { font-size: .85rem; line-height: 1.7; color: #6e6e73; overflow-wrap: anywhere; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.survey-entry { margin-top: 1.25rem; }
.admin-main { max-width: 52rem; margin: 3rem auto; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.5rem 0; }
.admin-toolbar select { width: auto; max-width: 100%; }
.submission-list { display: grid; gap: .75rem; }
.submission-item { background: #fff; border: 1px solid #dedee3; border-radius: 1rem; padding: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.submission-item h3 { margin: 0 0 .5rem; font-size: 1rem; overflow-wrap: anywhere; }
.submission-item p { margin: .2rem 0; font-size: .85rem; line-height: 1.6; color: #6e6e73; overflow-wrap: anywhere; }
dialog { width: min(100% - 2rem, 44rem); max-height: 85dvh; padding: 2rem; border: 1px solid #dedee3; border-radius: 1.25rem; }
dialog::backdrop { background: #1d1d1f66; }
.dialog-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.dialog-top h2 { margin: .5rem 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .survey-shell { width: min(100% - 2rem, 40rem); padding-top: 1.25rem; }
  .survey-header { padding-bottom: 1.25rem; }
  .survey-header > .small-note { display: none; }
  .survey-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 1.75rem; }
  .survey-intro h1 { font-size: 1.9rem; margin-bottom: .5rem; }
  .survey-intro h1 br { display: none; }
  .survey-intro > p:not(.eyebrow), .step-list { display: none; }
  .eyebrow { font-size: .75rem; margin-bottom: .6rem; }
  .survey-card { padding: 1.5rem 1.25rem; border-radius: 1rem; }
  .option { padding: .8rem .85rem; }
  .survey-footer { text-align: left; }
  .form-actions { flex-wrap: wrap; }
  .admin-main { margin-top: 2rem; }
  dialog { padding: 1.25rem; }
}
