:root {
  --ink: #161d26;
  --ink-strong: #161d26;
  --ink-soft: #5e5e5e;
  --muted: #6b7280;
  --paper: #f6f7f8;
  --white: #ffffff;
  --line: #d5d5d5;
  --line-strong: #a8adb3;
  --orange: #ff6200;
  --orange-soft: #fff0e6;
  --teal: #2cb3fd;
  --teal-soft: #eaf7ff;
  --blue: #2cb3fd;
  --blue-soft: #eaf7ff;
  --green: #2cb3fd;
  --green-soft: #eaf7ff;
  --gold: #fbae40;
  --gold-soft: #fff4e3;
  --red: #ad423a;
  --red-soft: #faece9;
  --brand-blue: #123f86;
  --brand-blue-hover: #0a2d65;
  --brand-blue-focus: rgba(18, 63, 134, .28);
  --shadow: 0 18px 50px rgba(22, 29, 38, .08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

.spin {
  animation: spin .9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px max(5vw, 22px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.35;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-note {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.icon-link svg {
  width: 17px;
  height: 17px;
}

.prototype-badge {
  padding: 6px 9px;
  border: 1px solid var(--orange);
  border-radius: 3px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
}

.event-masthead {
  height: min(56.25vw, 560px);
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0d3e91;
}

.event-masthead > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.event-value-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 18px max(5vw, 22px);
  border-bottom: 1px solid #b8cce7;
  background: var(--white);
}

.event-value-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
}

.event-value-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #123f86;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.event-value-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #f39a20;
}

.event-value-action {
  min-width: 275px;
  padding-left: 26px;
  border-left: 1px solid #b8cce7;
}

.event-value-action p {
  max-width: 370px;
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.hero-action {
  min-height: 44px;
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: var(--white);
}

.hero-action:hover,
.hero-action:focus-visible {
  border-color: var(--brand-blue-hover);
  background: var(--brand-blue-hover);
  box-shadow: 0 0 0 3px var(--brand-blue-focus);
}

.source-band {
  min-height: 78px;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 28px;
  padding: 15px max(5vw, 22px);
  border-bottom: 1px solid #d5d5d5;
  background: #f0f2f4;
}

.source-band small,
.source-band strong {
  display: block;
}

.source-band small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.source-band strong {
  margin-top: 4px;
  font-size: 15px;
}

.source-band p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.page-shell {
  width: min(1180px, 90vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
  margin: 36px auto 70px;
}

.registration-shell,
.event-aside,
.utility-panel,
.table-wrap {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.progress-track {
  height: 5px;
  overflow: hidden;
  background: #e5e7eb;
}

.progress-track span {
  width: 0;
  height: 100%;
  display: block;
  background: var(--teal);
  transition: width .25s ease;
}

.flow-active .event-masthead,
.flow-active .event-value-band,
.flow-active .event-aside {
  display: none;
}

.flow-active .page-shell {
  width: min(880px, 92vw);
  grid-template-columns: minmax(0, 1fr);
  margin-top: 22px;
}

.flow-active .registration-shell {
  width: 100%;
}

#app {
  min-height: 0;
}

.flow-active #app {
  min-height: 480px;
}

.form-view {
  padding: 28px 28px 24px;
}

.view-intro {
  max-width: 710px;
}

.view-intro h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.35;
}

.view-intro p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.opportunity-label {
  margin-bottom: 8px !important;
  color: var(--orange) !important;
  font-size: 12px !important;
  font-weight: 900;
}

.audience-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
  padding: 17px 18px;
  border-left: 4px solid var(--teal);
  background: var(--teal-soft);
}

.audience-panel strong {
  width: 100%;
  margin-bottom: 2px;
  color: #007eb9;
  font-size: 13px;
}

.audience-panel span {
  padding: 7px 9px;
  border: 1px solid #bde8ff;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.value-item {
  min-height: 152px;
  padding: 20px;
  background: var(--white);
}

.value-item svg {
  width: 23px;
  height: 23px;
  color: var(--teal);
}

.value-item strong {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.45;
}

.value-item span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.start-note,
.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 15px;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  color: #74452c;
  font-size: 12px;
  line-height: 1.65;
}

.inline-note.teal {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: #4b5563;
}

.inline-note.warning {
  border-color: #fdd3a4;
  background: var(--orange-soft);
  color: #74452c;
}

.inline-note svg,
.start-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.form-section {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section + .form-section {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.section-legend {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.section-help {
  margin: -8px 0 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.revenue-field {
  grid-column: 1 / -1;
}

.revenue-field > select {
  max-width: calc(50% - 9px);
}

.revenue-support-callout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 12px;
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: #eef6fb;
  color: var(--ink-soft);
}

.revenue-support-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.revenue-support-heading strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.revenue-support-callout > span {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.revenue-support-callout > span::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.revenue-support-callout.is-qualified {
  border-left-color: #16855b;
  background: #edf9f3;
}

.revenue-support-callout.is-qualified > span::before {
  background: #16855b;
}

.revenue-qualified-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid #16855b;
  color: #126b4b;
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.revenue-qualified-badge[hidden] {
  display: none;
}

.revenue-qualified-badge svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.field > label,
.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.required::after {
  content: " *";
  color: var(--orange);
}

.field input,
.field select,
.field textarea,
.records-toolbar input,
.records-toolbar select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.field input,
.field select,
.records-toolbar input,
.records-toolbar select {
  height: 45px;
  padding: 0 12px;
}

.field textarea {
  min-height: 108px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.records-toolbar input:focus,
.records-toolbar select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44, 179, 253, .10);
}

.field.has-error > label {
  color: #b42318;
}

.field.has-error input {
  border-color: #d92d20;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, .12);
}

.field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.option-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-card,
.check-chip {
  position: relative;
  min-width: 0;
}

.option-card input,
.check-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.option-card label {
  min-height: 104px;
  display: block;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
}

.option-card label strong,
.option-card label span {
  display: block;
}

.option-card label strong {
  font-size: 15px;
  line-height: 1.45;
}

.option-card label span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.option-card input:checked + label {
  border-color: var(--teal);
  background: var(--teal-soft);
  box-shadow: inset 4px 0 0 var(--teal);
}

.option-card input:focus-visible + label,
.check-chip input:focus-visible + label {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.check-chip label {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.field-error-prominent {
  margin-top: 7px;
  padding: 8px 10px;
  border-left: 4px solid #d92d20;
  background: #fff0ee;
  color: #9f1c13;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.field-error-prominent:empty {
  display: none;
}

.check-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #a8adb3;
  border-radius: 3px;
  background: #fff;
  color: transparent;
}

.check-mark svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.check-chip input:checked + label {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: #007eb9;
}

.check-chip input:checked + label .check-mark {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.selection-count {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field-error {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}

.option-card.compact label {
  min-height: 76px;
}

.question-options {
  gap: 9px;
}

.question-options .option-card label {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
}

.question-options .option-card label::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1px solid #9aa2aa;
  border-radius: 50%;
  background: #fff;
}

.question-options .option-card label strong {
  font-size: 14px;
  line-height: 1.4;
}

.question-options .option-card input:checked + label {
  box-shadow: none;
}

.question-options .option-card input:checked + label::before {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: inset 0 0 0 4px #fff;
}

.submit-error {
  margin: 14px 0 0;
  border-left: 4px solid var(--red);
  background: var(--red-soft);
  color: #7f302a;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.question-panel {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  background: #ffffff;
}

.question-panel + .question-panel {
  margin-top: 16px;
}

.question-panel .field-label {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.question-help {
  margin: -2px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.compliance-section {
  padding: 24px 0 0;
}

.attendance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.attendance-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border: 2px solid var(--line);
  background: var(--white);
}

.attendance-card small,
.attendance-card strong,
.attendance-card span,
.attendance-card b {
  display: block;
}

.attendance-card small {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.attendance-card strong {
  margin-top: 5px;
  font-size: 21px;
}

.attendance-card span {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.attendance-card b {
  margin-top: 13px;
  color: var(--red);
  font-size: 11px;
}

.attendance-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 3px;
  color: var(--teal);
  background: var(--teal-soft);
  font-size: 10px;
  font-weight: 900;
}

.attendance-status svg {
  width: 14px;
  height: 14px;
}

.attendance-card.required-day {
  border-color: var(--teal);
  background: #f3faff;
}

.questionnaire-form .role-head {
  margin-bottom: 22px;
}

.questionnaire-active .progress-track {
  display: none;
}

.questionnaire-active .page-shell {
  width: min(760px, 94vw);
  margin-top: 18px;
}

.questionnaire-pager {
  min-height: min(720px, calc(100dvh - 110px));
  display: flex;
  flex-direction: column;
  padding: 0;
}

.questionnaire-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px 11px;
  color: var(--muted);
  font-size: 11px;
}

.questionnaire-step-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.questionnaire-step-head svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.questionnaire-step-head strong {
  color: var(--ink);
  font-size: 12px;
}

.questionnaire-step-track {
  height: 4px;
  overflow: hidden;
  background: #e6ebef;
}

.questionnaire-step-track span {
  height: 100%;
  display: block;
  background: var(--teal);
  transition: width .22s ease;
}

.questionnaire-stage {
  flex: 1;
  padding: 30px 30px 22px;
}

.questionnaire-pager .question-panel {
  margin: 0;
  padding: 0;
  border: 0;
}

.questionnaire-pager .question-panel .field-label {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.45;
}

.questionnaire-pager .question-help {
  margin-bottom: 16px;
}

.questionnaire-confirm {
  max-width: 620px;
  margin: 0 auto;
  padding-top: 20px;
}

.questionnaire-confirm > small {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
}

.questionnaire-confirm h3 {
  margin: 7px 0 0;
  font-size: 26px;
}

.questionnaire-confirm > p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.questionnaire-confirm .consent-row {
  margin-top: 28px;
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line);
  background: #f8fafb;
  font-size: 13px;
}

.questionnaire-confirm .consent-row input {
  top: 20px;
  left: 18px;
  width: 18px;
  height: 18px;
}

.questionnaire-submit-error {
  margin: 0 30px 12px;
}

.questionnaire-nav {
  position: sticky;
  bottom: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(220px, 1fr);
  gap: 12px;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -8px 22px rgba(23, 33, 43, .07);
}

.questionnaire-nav .button {
  width: 100%;
  min-height: 50px;
}

.questionnaire-item[hidden] {
  display: none;
}

.question-id {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
}

.question-detail {
  margin-top: 12px;
}

.role-preview {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #bde8ff;
  background: var(--teal-soft);
}

.role-preview small {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

.role-preview strong {
  font-size: 16px;
}

.role-preview span {
  color: var(--ink-soft);
  font-size: 12px;
}

.attendance-card.matched-day {
  border-color: #fbae40;
  background: var(--orange-soft);
}

.attendance-card.matched-day .attendance-status {
  color: #963a00;
  background: #fdd3a4;
}

.attendance-card.matched-day b {
  color: #963a00;
}

.attendance-card.optional-day {
  padding: 0;
}

.attendance-card.optional-day input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.attendance-card.optional-day label {
  min-height: 206px;
  display: block;
  padding: 20px;
  cursor: pointer;
}

.attendance-card.optional-day input:checked + label {
  background: var(--orange-soft);
  box-shadow: inset 5px 0 0 var(--orange);
}

.attendance-card.optional-day input:checked + label .attendance-status {
  color: #963a00;
  background: #fdd3a4;
}

.attendance-card.optional-day input:focus-visible + label {
  outline: 3px solid rgba(44, 179, 253, .3);
  outline-offset: 2px;
}

.foshan-details {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid #fdd3a4;
  background: var(--orange-soft);
}

.foshan-details textarea {
  background: var(--white);
}

.handoff-note {
  display: block;
  margin-top: 12px;
  color: #74452c;
  font-size: 12px;
  font-weight: 800;
}

.ticket-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.ticket-benefits > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  background: var(--white);
}

.ticket-benefits svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.ticket-benefits strong,
.ticket-benefits span {
  display: block;
}

.ticket-benefits strong {
  margin-top: 8px;
  font-size: 14px;
}

.ticket-benefits span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.gated-access {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #fdd3a4;
  background: var(--orange-soft);
}

.gated-access strong {
  width: 100%;
  color: #74452c;
  font-size: 13px;
}

.gated-access span {
  padding: 6px 9px;
  border: 1px solid #fdd3a4;
  border-radius: 3px;
  color: #74452c;
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.product-tool-action {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 17px;
  border-left: 5px solid var(--blue);
  background: #edf4fb;
}

.product-tool-action > div {
  min-width: 0;
}

.product-tool-action strong,
.product-tool-action span {
  display: block;
}

.product-tool-action strong {
  font-size: 14px;
}

.product-tool-action span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.action-right {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.button svg {
  width: 17px;
  height: 17px;
}

.button.primary {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  border-color: var(--brand-blue-hover);
  background: var(--brand-blue-hover);
  box-shadow: 0 0 0 3px var(--brand-blue-focus);
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--ink);
}

.button.quiet {
  min-height: 34px;
  padding-inline: 8px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.button.quiet:hover,
.button.quiet:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.button.danger {
  border-color: #e0b8b4;
  background: var(--white);
  color: var(--red);
}

.button.danger:hover,
.button.danger:focus-visible {
  background: var(--red-soft);
}

.button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.button.full {
  width: 100%;
}

.role-result-view {
  padding: 0;
}

.role-result-banner {
  padding: 25px 28px 23px;
  border-bottom: 1px solid #bde8ff;
  background: var(--blue-soft);
}

.role-result-banner small {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

.role-result-banner h3 {
  margin: 7px 0 0;
  color: var(--ink-strong);
  font-size: 28px;
  line-height: 1.35;
}

.role-result-banner p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.role-result-content {
  padding: 24px 28px 0;
}

.role-result-content > h4,
.role-prep-box h4 {
  margin: 0 0 11px;
  color: var(--ink-strong);
  font-size: 14px;
}

.role-benefit-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-benefit-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 66px;
  padding: 13px 16px;
  border: 1px solid #a8c9eb;
  border-left: 4px solid #1670c5;
  border-radius: 6px;
  background: #f7fbff;
  color: #123f86;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.role-benefit-list b {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #1670c5;
  color: var(--white);
  font-size: 12px;
}

.role-prep-box {
  margin-top: 18px;
  padding: 17px 18px;
  border: 2px solid var(--orange);
  border-radius: 7px;
  background: var(--orange-soft);
}

.role-prep-box h4 {
  color: #963a00;
}

.role-prep-box ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
  color: #74452c;
  font-size: 12px;
  line-height: 1.55;
}

.role-prep-box p {
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px solid #fdd3a4;
  color: #74452c;
  font-size: 11px;
  line-height: 1.6;
}

.role-organization-note {
  margin: 15px 0 0;
  padding: 12px 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.role-result-actions {
  margin: 24px 28px 0;
  padding-bottom: 24px;
}

.role-result {
  padding: 0;
}

.role-head {
  padding: 22px 24px;
  border-bottom: 1px solid #bde8ff;
  background: var(--blue-soft);
}

.role-head small {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

.role-head h3 {
  margin: 7px 0 0;
  font-size: 26px;
  line-height: 1.35;
}

.role-head p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.logic-table {
  margin-top: 19px;
  border-top: 1px solid var(--line);
}

.logic-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.logic-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.logic-row strong {
  font-size: 12px;
  line-height: 1.55;
}

.review-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.review-row {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.review-row > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.review-row > strong {
  font-size: 12px;
  line-height: 1.6;
}

.review-row button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.consent-row {
  position: relative;
  margin-top: 20px;
}

.consent-row input {
  position: absolute;
  top: 3px;
  left: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.consent-row label {
  display: block;
  padding-left: 25px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.success-view {
  padding: 34px 28px 30px;
}

.compact-intro {
  max-width: 620px;
}

.compact-intro + .form-actions {
  margin-top: 22px;
}

.success-heading {
  text-align: center;
}

.success-mark,
.status-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}

.success-mark svg,
.status-icon svg {
  width: 31px;
  height: 31px;
}

.success-heading h3 {
  margin: 17px 0 0;
  font-size: 28px;
}

.success-heading p {
  max-width: 620px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

label.consent-row {
  display: block;
  padding-left: 25px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

label.consent-row span {
  display: block;
}

.meeting-code-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 24px 0;
  padding: 20px 22px;
  border: 2px solid var(--teal);
  background: var(--teal-soft);
}

.meeting-code-card span,
.meeting-code-card strong,
.meeting-code-card small {
  display: block;
}

.meeting-code-card span {
  color: #4b5563;
  font-size: 11px;
  font-weight: 900;
}

.meeting-code-card strong {
  margin-top: 3px;
  color: var(--ink-strong);
  font-family: Consolas, monospace;
  font-size: 44px;
  line-height: 1;
}

.meeting-code-card small {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.success-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  margin-top: 27px;
}

.success-details {
  border-top: 1px solid var(--line);
}

.success-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.success-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.success-row strong {
  font-size: 12px;
  line-height: 1.55;
}

.route-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--route-color);
}

.route-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  background: var(--route-color);
}

.wecom-panel {
  align-self: start;
  padding: 17px;
  border: 2px solid #1670c5;
  border-top: 6px solid var(--orange);
  background: #f7fbff;
  text-align: center;
}

.wecom-panel-copy strong,
.wecom-panel-copy span,
.wecom-panel small {
  display: block;
}

.wecom-panel-copy strong {
  color: #123f86;
  font-size: 15px;
  line-height: 1.45;
}

.wecom-panel-copy span {
  margin-top: 4px;
  color: #bd4b00;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.wecom-panel > img {
  width: min(100%, 220px);
  height: auto;
  display: block;
  margin: 14px auto 10px;
  border: 8px solid var(--white);
  box-shadow: 0 4px 16px rgba(22, 112, 197, .14);
}

.wecom-panel small {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.cta-section {
  margin: 24px 0 28px;
  padding: 19px 0 22px;
  border-top: 3px solid #1670c5;
  border-bottom: 1px solid #b8cce7;
}

.cta-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cta-section-heading small {
  display: block;
  color: #1670c5;
  font-size: 10px;
  font-weight: 900;
}

.cta-section-heading h4 {
  margin: 4px 0 0;
  font-size: 19px;
}

.cta-section-heading > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.cta-task-list {
  display: grid;
  gap: 11px;
  margin-top: 15px;
}

.cta-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px 16px;
  border: 1px solid #a8c9eb;
  border-left: 4px solid #1670c5;
  border-radius: 6px;
  background: #f7fbff;
}

.cta-task[data-status="completed"] {
  border-color: #8bd1c5;
  border-left-color: #188474;
  background: #f2fbf9;
}

.cta-task[data-status="in_progress"] {
  border-color: #f0bd7d;
  border-left-color: #d47a16;
  background: #fff9f1;
}

.cta-task[data-status="skipped"] {
  border-color: var(--line);
  border-left-color: var(--line-strong);
  background: #fafafa;
}

.cta-task-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cta-task-heading strong {
  color: var(--ink-strong);
  font-size: 15px;
  line-height: 1.45;
}

.cta-status {
  flex: none;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}

.cta-task[data-status="completed"] .cta-status {
  border-color: #8bd1c5;
  background: var(--teal-soft);
  color: #176c61;
}

.cta-task[data-status="in_progress"] .cta-status {
  border-color: #f0bd7d;
  background: var(--orange-soft);
  color: #8b470b;
}

.cta-task-copy p {
  max-width: 650px;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.cta-feedback {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  padding: 8px 10px;
  border-left: 3px solid currentColor;
  font-size: 11px;
  line-height: 1.55;
}

.cta-feedback svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.cta-feedback strong {
  font-weight: 800;
}

.cta-feedback.is-reward {
  color: #126b4b;
  background: #e8f7f0;
}

.cta-feedback.is-loss {
  color: #a23a0a;
  background: #fff0e8;
}

.cta-feedback.is-warning {
  color: #8b470b;
  background: #fff4df;
}

.cta-feedback.is-muted {
  color: #5d6672;
  background: #f1f3f5;
}

.cta-task-actions {
  min-width: 172px;
  display: grid;
  gap: 4px;
}

.cta-task-actions .task-action {
  width: 100%;
}

.copy-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.copy-field input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
}

.copy-field button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.copy-field button svg {
  width: 16px;
  height: 16px;
}

.product-handoff {
  margin-top: 24px;
  padding: 19px 20px;
  border-left: 5px solid var(--orange);
  background: var(--orange-soft);
}

.product-handoff.unlocked {
  border-left-color: var(--teal);
  background: var(--teal-soft);
}

.product-handoff.locked {
  border-left-color: var(--orange);
  background: var(--orange-soft);
}

.product-handoff strong {
  display: block;
  font-size: 15px;
}

.product-handoff p {
  margin: 6px 0 0;
  color: #74452c;
  font-size: 12px;
  line-height: 1.65;
}

.product-handoff .button {
  margin-top: 13px;
}

.event-aside {
  position: sticky;
  top: 18px;
}

.event-aside section {
  padding: 20px 21px;
}

.event-aside section + section {
  border-top: 1px solid var(--line);
}

.aside-label {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.day-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.day-row:last-child {
  border-bottom: 0;
}

.day-row strong {
  color: var(--teal);
  font-size: 11px;
}

.day-row span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.next-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-list li {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 11px;
}

.next-list span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 15px 19px;
  border-top: 1px solid var(--line);
  background: #f6f7f8;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.privacy-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--green);
}

footer {
  padding: 22px max(5vw, 22px) 30px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

footer p {
  margin: 3px 0;
  font-size: 10px;
  line-height: 1.55;
}

.utility-page {
  background: #f0f2f4;
}

.utility-shell {
  width: min(620px, calc(100% - 32px));
  margin: 64px auto;
}

.utility-panel {
  padding: 44px 34px;
  text-align: center;
}

.utility-panel h1 {
  margin: 13px 0 0;
  font-size: 28px;
}

.utility-panel > p:not(.eyebrow) {
  margin: 9px auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.status-icon.pending {
  background: var(--ink);
}

.status-icon.error {
  background: var(--red);
}

.code-box {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f8f9fa;
}

.code-box small,
.code-box strong {
  display: block;
}

.code-box small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.code-box strong {
  margin-top: 7px;
  font-family: Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.records-page {
  background: var(--paper);
}

.records-shell {
  width: min(1240px, 92vw);
  margin: 38px auto 70px;
}

.records-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.records-title h1 {
  margin: 7px 0 0;
  font-size: 30px;
}

.records-title p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.records-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--line);
}

.metric {
  min-height: 98px;
  padding: 17px 18px;
  background: var(--white);
}

.metric span,
.metric strong {
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.metric strong {
  margin-top: 8px;
  font-size: 27px;
}

.records-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 240px;
  gap: 14px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--white);
}

.records-toolbar label > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.table-wrap {
  position: relative;
  margin-top: 14px;
  overflow-x: auto;
  box-shadow: none;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f6f7f8;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

td {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

td strong,
td small {
  display: block;
}

td strong {
  color: var(--ink);
  font-size: 11px;
}

td small {
  margin-top: 3px;
  color: var(--muted);
}

.empty-state {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.empty-state svg {
  width: 30px;
  height: 30px;
}

.empty-state strong {
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
}

.empty-state span {
  margin-top: 5px;
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 15px;
  border-radius: 4px;
  background: var(--ink-strong);
  color: var(--white);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .event-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-note {
    grid-column: 1 / -1;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .button {
    min-height: 48px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .icon-link span,
  .prototype-badge,
  .header-note {
    display: none;
  }

  .event-masthead {
    min-height: 0;
  }

  .event-value-band {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 16px 18px 18px;
  }

  .event-value-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .event-value-list span {
    font-size: 12px;
  }

  .event-value-action {
    min-width: 0;
    padding: 14px 0 0;
    border-top: 1px solid #b8cce7;
    border-left: 0;
  }

  .event-value-action p {
    max-width: none;
  }

  .hero-action {
    width: 100%;
    justify-content: center;
  }

  .source-band {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px 18px;
  }

  .source-band p {
    margin: 0;
  }

  .page-shell {
    width: calc(100% - 24px);
    margin: 16px auto 38px;
    gap: 14px;
  }

  .flow-active .page-shell {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .questionnaire-active .page-shell {
    width: 100%;
    min-height: calc(100dvh - 58px);
    margin: 0;
  }

  .questionnaire-active .registration-shell {
    min-height: calc(100dvh - 58px);
    border-width: 1px 0 0;
    box-shadow: none;
  }

  .questionnaire-active body > footer,
  body.questionnaire-active > footer {
    display: none;
  }

  .flow-active .site-header {
    min-height: 58px;
    padding-block: 7px;
  }

  .flow-active .brand small,
  .flow-active .header-note {
    display: none;
  }

  .form-view,
  .success-view {
    padding: 18px 12px 16px;
  }

  .questionnaire-intro {
    margin-bottom: 14px;
    padding: 16px 15px;
  }

  .questionnaire-intro h3 {
    margin-top: 4px;
    font-size: 21px;
  }

  .questionnaire-intro p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.55;
  }

  .questionnaire-pager {
    min-height: calc(100dvh - 58px);
  }

  .questionnaire-step-head {
    padding: 11px 15px 9px;
    font-size: 10px;
  }

  .questionnaire-step-head strong {
    font-size: 11px;
  }

  .questionnaire-stage {
    padding: 22px 16px 18px;
  }

  .questionnaire-pager .question-panel .field-label {
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.45;
  }

  .questionnaire-pager .question-options {
    grid-template-columns: 1fr;
  }

  .questionnaire-pager .question-options .option-card label {
    min-height: 52px;
    padding: 10px 12px;
  }

  .questionnaire-pager .check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .questionnaire-pager .check-chip label {
    width: 100%;
    min-height: 48px;
  }

  .questionnaire-pager input[type="text"],
  .questionnaire-pager input:not([type]),
  .questionnaire-pager textarea {
    font-size: 16px;
  }

  .questionnaire-pager textarea {
    min-height: 150px;
  }

  .questionnaire-confirm {
    padding-top: 8px;
  }

  .questionnaire-confirm h3 {
    font-size: 23px;
  }

  .questionnaire-confirm .consent-row {
    padding: 15px 14px 15px 43px;
    font-size: 12px;
  }

  .questionnaire-confirm .consent-row input {
    top: 17px;
    left: 15px;
  }

  .questionnaire-submit-error {
    margin: 0 16px 10px;
  }

  .questionnaire-nav {
    grid-template-columns: minmax(100px, auto) minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .questionnaire-nav .button {
    min-height: 48px;
    padding-inline: 12px;
  }

  .role-result-view {
    padding: 0;
  }

  .role-result-banner {
    padding: 23px 18px 21px;
  }

  .role-result-banner h3 {
    font-size: 24px;
  }

  .role-result-content {
    padding: 20px 17px 0;
  }

  .role-result-actions {
    margin: 22px 17px 0;
    padding-bottom: calc(19px + env(safe-area-inset-bottom));
  }

  .role-result-actions .button.primary {
    flex: 1;
  }

  .view-intro h3,
  .role-head h3,
  .success-heading h3 {
    font-size: 23px;
  }

  .value-grid,
  .field-grid,
  .option-grid,
  .option-grid.three,
  .ticket-benefits,
  .attendance-grid,
  .success-grid,
  .event-aside,
  .records-toolbar,
  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .event-aside {
    display: none;
  }

  .compact-intro {
    padding-bottom: 2px;
  }

  .compact-intro h3 {
    margin-top: 6px;
  }

  .compact-intro + .form-actions {
    margin-top: 18px;
  }

  .value-item {
    min-height: 122px;
  }

  .field.full {
    grid-column: auto;
  }

  .revenue-field {
    grid-column: auto;
  }

  .revenue-field > select {
    max-width: none;
  }

  .revenue-support-callout {
    grid-template-columns: 1fr;
  }

  .revenue-support-heading {
    grid-column: auto;
    align-items: flex-start;
  }

  .revenue-qualified-badge {
    margin-top: 1px;
  }

  .option-card label {
    min-height: 64px;
    padding: 11px 12px;
  }

  #routingForm > .question-panel > .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #localModelPanel .option-grid {
    grid-template-columns: 1fr;
  }

  #localModelPanel .option-card label {
    min-height: 70px;
  }

  .question-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .question-options .option-card label {
    min-height: 56px;
    padding: 9px 10px;
    gap: 8px;
  }

  .question-options .option-card label::before {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .question-options .option-card label strong {
    font-size: 13px;
    line-height: 1.35;
  }

  .question-panel {
    margin-top: 12px;
    padding: 14px 12px 12px;
    border-top-width: 3px;
  }

  .question-panel + .question-panel {
    margin-top: 12px;
  }

  .question-panel .field-label {
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.4;
  }

  .question-help {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .questionnaire-form .check-grid {
    gap: 7px;
  }

  .questionnaire-form .check-chip label {
    min-height: 44px;
    padding: 8px 10px;
  }

  .questionnaire-form .consent-row {
    margin-top: 16px;
  }

  .questionnaire-actions {
    gap: 10px;
    margin-top: 20px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .attendance-card,
  .attendance-card.optional-day label {
    min-height: 190px;
  }

  .product-tool-action {
    align-items: stretch;
    flex-direction: column;
  }

  .product-tool-action .button {
    width: 100%;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .action-right {
    flex-direction: column;
    margin-left: 0;
  }

  .form-actions .button,
  .action-right .button {
    width: 100%;
  }

  .logic-row,
  .review-row,
  .success-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .review-row button {
    text-align: left;
  }

  .success-grid {
    gap: 18px;
  }

  .cta-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .cta-task {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px 13px;
  }

  .cta-task-heading {
    align-items: flex-start;
    justify-content: space-between;
  }

  .cta-task-actions {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .cta-task-actions .button.quiet {
    min-width: 86px;
  }

  .meeting-code-card {
    align-items: flex-start;
    padding: 18px;
  }

  .meeting-code-card strong {
    font-size: 40px;
  }

  .qr-panel {
    order: -1;
  }

  .event-aside section {
    padding: 18px;
  }

  .records-shell {
    width: calc(100% - 24px);
    margin: 24px auto 44px;
  }

  .records-title {
    align-items: stretch;
    flex-direction: column;
  }

  .records-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .records-actions .danger {
    grid-column: 1 / -1;
  }

  .utility-shell {
    margin: 32px auto;
  }

  .utility-panel {
    padding: 34px 20px;
  }
}
