/* Shared PDF-style frame: survey chrome + confidential footer (Sample Screens.pdf). Partner image strips remain for analyst-only pages. */
html.survey-root {
  height: 100%;
  background: #e8eaef;
}

html.survey-root body.survey-body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

.survey-body {
  background: #e8eaef;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  color: #0b162c;
  -webkit-font-smoothing: antialiased;
}

html.survey-root .survey-doc {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 52rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0 40px rgba(11, 22, 44, 0.08);
  overflow: hidden;
}

.survey-doc-header {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Tall black strip: large summit + WICRC marks (entry.css uses same purple token) */
.survey-summit-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  background: #000000;
  padding: 1.15rem 1.25rem 1.35rem;
  box-sizing: border-box;
  /* Used by entry.css sponsor strip max-height (keep in sync if this changes). */
  --survey-summit-strip-min-h: 6.75rem;
  min-height: var(--survey-summit-strip-min-h);
}

.survey-summit-strip__logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  flex: 0 1 auto;
}

.survey-summit-strip__logo--summit {
  max-height: clamp(4rem, 20vw, 8.5rem);
  max-width: min(58%, 28rem);
}

.survey-summit-strip__logo--wicrc {
  max-height: clamp(3.5rem, 18vw, 7.5rem);
  max-width: min(50%, 24rem);
}

@media (max-width: 520px) {
  .survey-summit-strip {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    padding: 1rem 0.85rem 1.15rem;
  }

  .survey-summit-strip__logo--summit,
  .survey-summit-strip__logo--wicrc {
    max-width: min(100%, 22rem);
    max-height: clamp(3.25rem, 28vw, 5.5rem);
  }
}

.survey-diversity-strip {
  margin: 0;
  padding: 0.45rem 1rem 0.52rem;
  background: #7d56c1;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  line-height: 1.35;
  border-bottom: 1px solid rgba(11, 22, 44, 0.14);
}

.survey-partner-banner {
  background: #0b162c;
  color: #fff;
  padding: 0.65rem 1rem 0.75rem;
}

.survey-doc-header .survey-partner-banner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.survey-partner-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  max-width: 100%;
}

.survey-partner-banner__logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 44px;
  max-width: min(200px, 46vw);
  object-fit: contain;
}

.survey-partner-banner__logo--wicrc {
  max-height: 48px;
  max-width: min(220px, 50vw);
}

.survey-sheet {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.75rem 1.35rem 2.5rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .survey-sheet {
    padding: 2rem 2.25rem 3rem;
  }
}

.survey-doc-footer {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding: 1rem 1.25rem 1.35rem;
  border-top: 1px solid rgba(11, 22, 44, 0.1);
  text-align: center;
  background: #fff;
}

.survey-confidential {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  color: #5a6478;
  line-height: 1.45;
}

.survey-page-inline {
  white-space: nowrap;
}

.survey-dash {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0b162c;
  letter-spacing: 0.06em;
}

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

/* Survey page 2: role intro */
.survey-step-h2-simulator {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #4a5568;
}

.survey-step-p2 .survey-body-p,
.survey-step-p2 .survey-subhead,
.survey-step-p2 .survey-list li {
  font-weight: 400;
}

.survey-step-p2 .survey-next-link {
  font-weight: 600;
}

/* Generic step typography */
.survey-step-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.survey-body-p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
}

.survey-subhead {
  margin: 1.15rem 0 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.survey-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.survey-list li {
  margin-bottom: 0.35rem;
}

.survey-next-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.survey-next-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: #ccff00;
  color: #1a1f36;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(204, 255, 0, 0.35);
}

.survey-next-link:hover {
  filter: brightness(1.03);
}

.survey-section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d56c1;
}

/* Step 3 profile form */
.survey-profile-form .optional {
  font-weight: 500;
  font-size: 0.85em;
  color: #64748b;
}

.survey-profile-form label.field-label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.survey-profile-form select,
.survey-profile-form input[type="text"] {
  width: 100%;
  max-width: 28rem;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(11, 22, 44, 0.2);
  border-radius: 8px;
  font: inherit;
}

.survey-profile-form select optgroup {
  font-weight: 700;
  color: #0b162c;
}

.survey-profile-form select option {
  font-weight: 400;
  color: #1a1a1a;
}

.survey-profile-form fieldset.checkbox-group {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

.survey-profile-form fieldset.checkbox-group legend {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.survey-profile-form .checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.survey-profile-form .checkbox-label {
  font-weight: 400;
}

.survey-profile-form .profile-other-field {
  margin: 0.35rem 0 0.75rem;
}

.survey-primary {
  margin-top: 1rem;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: #0b162c;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.survey-primary:hover {
  background: #152a4a;
}

.survey-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Step 4 scenario grid */
.survey-scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .survey-scenario-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .survey-scenario-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.survey-scenario-tile {
  position: relative;
  display: block;
  padding: 0.65rem 0.75rem;
  border: 2px solid rgba(11, 22, 44, 0.12);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}

.survey-scenario-tile:has(input:checked) {
  border-color: #7d56c1;
  background: rgba(125, 86, 193, 0.06);
}

.survey-scenario-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.survey-scenario-tile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.survey-scenario-tile-title {
  font-weight: 700;
  font-size: 0.88rem;
}

.survey-scenario-tile-desc {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7d56c1;
}

.survey-scenario-tile--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  background: #f1f5f9;
  border-style: dashed;
  border-color: rgba(11, 22, 44, 0.18);
}

.survey-scenario-tile--disabled .survey-scenario-tile-desc {
  color: #94a3b8;
}

.survey-scenario-tile--disabled:has(input:checked) {
  border-color: rgba(11, 22, 44, 0.18);
  background: #f1f5f9;
}

.survey-scenario-tile-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.survey-step-lead {
  margin-top: 0.75rem;
  line-height: 1.55;
  color: #334155;
  max-width: 36rem;
}

/* Scenario list / scenario intro: navigation note (information tile) */
.scenario-nav-warning-tile {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  padding: 1rem 1.15rem;
  max-width: 40rem;
  background: #fff;
  border: 1px solid rgba(0, 51, 102, 0.14);
  border-radius: 12px;
  border-left: 3px solid #15f5ba;
  box-shadow: 0 1px 2px rgba(0, 51, 102, 0.06), 0 8px 22px rgba(0, 51, 102, 0.07);
}

.scenario-nav-warning-tile__label {
  margin: 0 0 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #003366;
}

.scenario-nav-warning-tile__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #0f172a;
}

.scenario-nav-warning-tile__body strong {
  font-weight: 800;
}

#stage-container .scenario-nav-warning-tile {
  margin-top: 1.5rem;
  background: #f8fafc;
  border-color: rgba(0, 51, 102, 0.1);
}

/* Scenario app main area */
#scenario-main .survey-sheet-inner {
  min-height: 12rem;
}
