@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
  src: local("Pretendard Variable"), url("/fonts/PretendardVariable.woff2") format("woff2-variations");
}

:root {
  --ink: #0a1826;
  --ink-60: #4a5d71;
  --ink-40: #7c8da0;
  --line: #d3dee9;
  --bg: #eaf0f6;
  --card: #fff;
  --blue-900: #063a72;
  --blue-700: #0b57a4;
  --blue-500: #1479db;
  --blue-200: #b9d6f2;
  --blue-50: #edf5fd;
  --ok: #0f7a55;
  --ok-bg: #e4f4ec;
  --warn: #b3400c;
  --warn-bg: #fcede6;
  --shadow: 0 1px 2px rgba(10, 24, 38, 0.06), 0 8px 24px -12px rgba(10, 24, 38, 0.18);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  min-width: 280px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
}

button {
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 10px;
}

input[type="checkbox"] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
}

input[type="radio"] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
  appearance: radio;
}

input[type="checkbox"],
input[type="radio"] {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  accent-color: var(--blue-700);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}

h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus {
  outline: none;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--blue-900);
  font-weight: 700;
}

.fatal {
  padding: 12px 16px;
  background: var(--warn);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}

.topbar {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 50;
  padding: 12px 16px 10px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: var(--blue-900);
  box-shadow: 0 2px 10px rgba(6, 58, 114, 0.28);
  color: #fff;
}

.topbar-inner {
  max-width: 560px;
  margin: 0 auto;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: flex;
  width: 22px;
  height: 22px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 800;
}

.step-label {
  flex: none;
  color: var(--blue-200);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.segbar {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}

.seg {
  height: 5px;
  flex: 1;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.35s;
}

.seg.is-complete {
  background: #fff;
}

.seg.is-current {
  background: var(--blue-200);
}

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 90px;
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: max(90px, calc(70px + env(safe-area-inset-bottom)));
  padding-left: max(16px, env(safe-area-inset-left));
}

.screen {
  display: block;
}

.card {
  margin-top: 16px;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--blue-200);
  border-radius: 6px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

h1 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.32;
}

h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.38;
}

h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 700;
}

p {
  margin: 0 0 12px;
  color: var(--ink-60);
}

p.lead {
  color: var(--ink);
  font-size: 15px;
}

.small,
.hint {
  color: var(--ink-40);
  font-size: 13px;
  line-height: 1.55;
}

.preserve-lines {
  white-space: pre-line;
}

.survey-banner {
  display: flex;
  aspect-ratio: 2 / 1;
  margin: 0 0 20px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px dashed var(--blue-200);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue-50), #dcecfb);
  color: var(--blue-900);
  text-align: center;
}

.survey-banner-label {
  font-size: 15px;
  font-weight: 700;
}

.survey-banner > a,
.survey-banner > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.survey-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.survey-banner strong {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.btn {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--blue-700);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  transition: background 0.18s;
}

.btn:hover:not(:disabled) {
  background: var(--blue-900);
}

.btn:disabled {
  background: #c3ceda;
  color: var(--ink-40);
  cursor: not-allowed;
}

.btn-ghost {
  min-height: 50px;
  margin-top: 10px;
  padding: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--blue-700);
  font-size: 15px;
}

.btn-ghost:hover:not(:disabled),
.btn-ghost:focus-visible {
  border-color: var(--blue-900);
  background: var(--blue-900);
  color: #fff;
}

.btn-row {
  margin-top: 20px;
}

.nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.nav .btn-back {
  width: 96px;
  min-height: 56px;
  flex: none;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--blue-700);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.nav .btn {
  flex: 1;
  margin: 0;
}

.consent {
  margin: 14px 0 0;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
}

.consent-optional {
  margin-top: 16px;
}

.consent dl {
  margin: 0;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.65;
}

.consent dt {
  float: left;
  clear: left;
  width: 82px;
  color: var(--ink);
  font-weight: 700;
}

.consent dd {
  margin: 0 0 6px 86px;
  color: var(--ink-60);
}

.consent-deny {
  margin: 10px 0 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 0;
  margin-top: 10px;
  padding: 15px 14px;
  border: 2px solid var(--blue-200);
  border-radius: 12px;
  background: #f7fbff;
  cursor: pointer;
  font-weight: 400;
  transition: border-color 0.15s, background 0.15s;
}

.check:hover {
  border-color: var(--blue-500);
}

.check.is-selected {
  border-color: var(--blue-700);
  background: var(--blue-50);
  box-shadow: none;
}

.check.is-locked {
  cursor: default;
}

.check input {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 1px 0 0;
}

.check span:not(.tag-req):not(.tag-opt) {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}

.tag-req,
.tag-opt {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.tag-req {
  background: var(--warn-bg);
  color: var(--warn);
}

.tag-opt {
  background: #eef2f6;
  color: var(--ink-60);
}

.consent-lock-note {
  margin: 8px 2px 0;
}

.field,
.fieldset {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  scroll-margin-top: 110px;
}

.field .flabel,
.fieldset .flabel {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}

.field input[type="tel"],
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px;
  border: 2px solid var(--blue-200);
  border-radius: 10px;
  background: #f7fbff;
  color: var(--ink);
  font-size: 16px;
}

.field input[type="tel"]:hover,
.field select:hover {
  border-color: var(--blue-500);
}

.field select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%234A5D71' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.hint {
  font-size: 12.5px;
  margin-top: 6px;
}

.err {
  color: var(--warn);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

.ferr,
.qerr {
  color: var(--warn);
  font-size: 13.5px;
  font-weight: 700;
  margin: 8px 0 0;
}

.qerr {
  margin-top: 10px;
}

.checkwrap.is-invalid .check,
.field.is-invalid input,
.field.is-invalid select,
.fieldset.is-invalid .choice,
.question.is-invalid {
  border-color: var(--warn);
  background: var(--warn-bg);
}

.field.is-invalid > .flabel,
.fieldset.is-invalid > .flabel {
  color: var(--warn);
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choices.grid2 {
  flex-direction: row;
}

.choices.grid2 .choice {
  flex: 1;
}

.choice {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 11px;
  padding: 15px 13px;
  border: 2px solid var(--blue-200);
  border-radius: 11px;
  background: #f7fbff;
  cursor: pointer;
  font-weight: 400;
  transition: border-color 0.15s, background 0.15s;
}

.choice:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.choice.is-selected {
  border-color: var(--blue-700);
  background: var(--blue-50);
  box-shadow: none;
}

.choice input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 0;
}

.choice span {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.45;
}

.qblock {
  min-width: 0;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.qblock.first {
  padding-top: 4px;
  border-top: 0;
}

.qblock.is-invalid {
  margin: 10px 0;
  padding: 16px 14px;
  border: 0;
  border-left: 4px solid var(--warn);
  border-radius: 10px;
  background: var(--warn-bg);
}

.qblock > legend {
  display: block;
  width: 100%;
  padding: 0;
}

.qnum {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-700);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tick {
  display: none;
  margin-left: 6px;
  color: var(--ok);
  font-weight: 800;
}

.qblock.is-complete .tick {
  display: inline;
}

.qtext {
  display: block;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.scale-legend {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--ink-40);
  font-size: 12px;
  font-weight: 600;
}

.scale-opts {
  display: flex;
  gap: 6px;
}

.sopt {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 70px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 2px;
  border: 2px solid var(--blue-200);
  border-radius: 10px;
  background: #f7fbff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.sopt:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.sopt.is-selected {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: #fff;
}

.sopt input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.sopt b {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.sopt em {
  color: var(--ink-40);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.sopt.is-selected em {
  color: rgba(255, 255, 255, 0.85);
}

.assigned {
  margin: 6px 0 4px;
  padding: 16px;
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  background: var(--blue-50);
}

.assigned em {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-700);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.assigned strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.assigned span {
  display: block;
  margin-top: 5px;
  color: var(--ink-60);
  font-size: 13px;
}

.player-shell {
  position: relative;
  width: 100%;
  margin: 4px auto 14px;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.player-shell.player-shell--vertical {
  width: 32.6vh;
  max-width: 315px;
  height: 58vh;
  max-height: 560px;
  padding-bottom: 0;
}

.player-shell iframe,
.player-shell #player {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid var(--blue-200);
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-900);
  font-size: 13.5px;
  font-weight: 600;
}

.watch-note.watch-status--complete {
  border-color: #9fd9c2;
  background: var(--ok-bg);
  color: var(--ok);
}

.watch-note.watch-status--warning {
  border-color: #f0c97a;
  background: #fff6e5;
  color: #7a5200;
}

.dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-500);
}

.watch-status--complete .dot,
.watch-status--warning .dot {
  background: currentColor;
}

.done-mark,
.notice-mark {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 800;
}

.done-mark {
  background: var(--ok-bg);
  color: var(--ok);
}

.notice-mark {
  background: var(--warn-bg);
  color: var(--warn);
}

.center {
  text-align: center;
}

.status-card {
  min-height: 260px;
  padding-top: 40px;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 0;
}

.loading-copy {
  margin: 0;
}

.spin {
  width: 34px;
  height: 34px;
  border: 3px solid var(--blue-200);
  border-top-color: var(--blue-700);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.foot {
  margin-top: 22px;
  color: var(--ink-40);
  font-size: 12px;
  text-align: center;
}

.policylink {
  margin: 16px 0 0;
  text-align: center;
}

.policylink button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-40);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}

.pmodal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: auto;
  padding: 16px;
  border: 0;
  background: transparent;
}

.pmodal:not([open]) {
  display: none;
}

.pmodal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pmodal::backdrop {
  background: rgba(10, 24, 38, 0.6);
}

.pbox {
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  max-height: 86dvh;
  padding: 22px 20px;
  overflow-y: auto;
  border-radius: 14px;
  background: #fff;
}

.pbox h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.pbody {
  margin-bottom: 18px;
  color: var(--ink-60);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.resume-notice {
  margin: 16px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff6e5;
  color: #7a5200;
  font-size: 12.5px;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, calc(12px + env(safe-area-inset-bottom)));
  left: max(16px, env(safe-area-inset-left));
  z-index: 150;
  max-width: 460px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(10, 24, 38, 0.96);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

@media (orientation: landscape) and (max-height: 520px) {
  .topbar {
    position: static;
  }

  .player-shell.player-shell--vertical {
    width: min(52vh, 260px);
    height: min(92vh, 462px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .seg,
  .sopt,
  .check,
  .choice,
  .btn,
  .consent {
    border: 2px solid CanvasText;
  }

  .seg.is-current,
  .seg.is-complete,
  .sopt.is-selected,
  .check.is-selected,
  .choice.is-selected {
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
    forced-color-adjust: none;
  }
}

/* v3 production theme ----------------------------------------------------- */

:root {
  --ink: #18212b;
  --ink-60: #3f4b59;
  --ink-40: #586779;
  --line: #c8d2dd;
  --line-soft: #e3e9ef;
  --bg: #f3f6f9;
  --card: #fff;
  --blue-900: #17489f;
  --blue-700: #1f5edc;
  --blue-500: #3972e4;
  --blue-200: #b7caef;
  --blue-50: #edf3fe;
  --ok: #15724f;
  --ok-bg: #e7f5ef;
  --warn: #a5231a;
  --warn-bg: #fff3f2;
  --shadow: 0 5px 18px rgba(24, 33, 43, 0.06);
  --side-pad: clamp(16px, 4.5vw, 20px);
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
}

html {
  min-width: 280px;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

button,
label,
select {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid rgba(31, 94, 220, 0.5);
  outline-offset: 3px;
}

.skip-link {
  top: max(8px, env(safe-area-inset-top));
  border: 1px solid var(--blue-200);
  border-radius: 8px;
  color: var(--blue-900);
  font-size: 15px;
}

.fatal {
  padding: 12px max(var(--side-pad), env(safe-area-inset-right)) 12px max(var(--side-pad), env(safe-area-inset-left));
  background: var(--warn);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.topbar {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 50;
  padding: env(safe-area-inset-top) max(var(--side-pad), env(safe-area-inset-right)) 5px max(var(--side-pad), env(safe-area-inset-left));
  background: var(--bg);
  box-shadow: none;
  color: var(--ink);
}

.topbar-inner {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.topbar-row {
  min-width: 0;
  height: 44px;
  gap: 10px;
}

.brand,
.progress-title {
  min-width: 0;
  color: var(--ink-60);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: none;
}

.step-label {
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.segbar {
  display: flex;
  height: 3px;
  margin: 0;
  overflow: hidden;
  gap: 0;
  border-radius: 99px;
  background: #d5dde7;
}

.seg {
  height: 3px;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  transition: background 0.24s ease;
}

.seg.is-complete,
.seg.is-current {
  background: var(--blue-700);
}

.wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 24px max(var(--side-pad), env(safe-area-inset-right)) max(36px, calc(24px + env(safe-area-inset-bottom))) max(var(--side-pad), env(safe-area-inset-left));
}

.screen,
.card {
  min-width: 0;
}

.card {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#screenLoading .card,
#screenAssigning .card,
#screenUnavailable .card,
#screenComplete .card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.42;
}

h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.42;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

p {
  margin: 0 0 12px;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.65;
}

p.lead {
  color: var(--ink-60);
  font-size: 16px;
  line-height: 1.7;
}

.small,
.hint {
  color: var(--ink-40);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.survey-banner {
  display: flex;
  width: 100%;
  margin: 0 0 20px;
  gap: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--ink-60);
  box-shadow: 0 4px 14px rgba(24, 33, 43, 0.04);
}

.survey-banner-label {
  font-size: 15px;
  font-weight: 700;
}

.survey-banner img {
  object-fit: contain;
}

.survey-banner strong {
  color: var(--ink-40);
  font-size: 13px;
  font-weight: 700;
}

.intro-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: #e9f6fc;
  color: #087fb8;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.intro-kicker svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: #0790cf;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.intro-heading {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.4;
}

.intro-heading-accent {
  color: #0793c9;
  font-weight: 850;
  white-space: nowrap;
}

.intro-lead {
  margin-bottom: 9px;
  color: #3f5267;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-line;
}

.intro-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  color: #718296;
  font-size: 13px;
  font-weight: 400;
}

.intro-meta::before {
  content: "◷";
  color: #0793c9;
  font-size: 15px;
  line-height: 1;
}

.btn {
  min-height: 56px;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--blue-700);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  text-align: center;
  transition: background 0.16s ease, transform 0.12s ease;
}

.btn:hover:not(:disabled) {
  background: var(--blue-900);
}

.btn:active:not(:disabled) {
  background: var(--blue-900);
  transform: scale(0.99);
}

.btn:disabled {
  background: #d8dee6;
  color: #566271;
}

.btn-ghost {
  min-height: 50px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1.5px solid #9fb5e8;
  background: #fff;
  color: var(--blue-900);
  font-size: 15px;
}

.btn-row {
  margin-top: 22px;
}

.nav {
  display: flex;
  position: static;
  gap: 10px;
  margin-top: 22px;
}

.nav .btn-back {
  width: 72px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #9fb5e8;
  border-radius: 10px;
  background: #fff;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 800;
}

.consent,
.consent-card,
.consent-details {
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.consent {
  margin: 18px 0 0;
  padding: 16px;
}

.consent-optional {
  margin-top: 20px;
}

.consent dl,
.detail-body dl {
  display: grid;
  margin: 0;
  overflow: visible;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 12px;
  font-size: 15px;
  line-height: 1.65;
}

.consent dt,
.detail-body dt {
  float: none;
  width: auto;
  color: var(--ink-40);
  font-weight: 800;
}

.consent dd,
.detail-body dd {
  min-width: 0;
  margin: 0;
  color: var(--ink-60);
}

.consent-deny {
  margin: 12px 0 0;
}

.consent-card {
  margin-top: 18px;
  overflow: hidden;
}

.consent-card > .consent,
.consent-card .consent-details .consent {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.required-consent-card:has(.checkwrap.is-invalid),
.required-consent-card.is-invalid,
.consent-card.is-missing {
  border-color: var(--warn);
  box-shadow: 0 0 0 1px var(--warn);
}

.check {
  min-width: 0;
  min-height: 60px;
  margin-top: 10px;
  padding: 16px;
  gap: 12px;
  border: 1.5px solid #aeb9c6;
  border-radius: 12px;
  background: #fff;
  font-weight: 500;
}

.consent-card .check {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
}

.consent-card .checkwrap:first-child .check,
.consent-card > .check:first-child {
  border-top: 0;
}

.check:hover {
  border-color: var(--blue-500);
  background: #f9fbff;
}

.check.is-selected,
.check:has(input:checked) {
  border-color: var(--blue-700);
  background: var(--blue-50);
}

.consent-card .check.is-selected,
.consent-card .check:has(input:checked) {
  border-top-color: var(--line-soft);
}

.check input {
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  accent-color: var(--blue-700);
}

.check span:not(.tag-req):not(.tag-opt) {
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.checkwrap.is-invalid .check {
  border-color: var(--warn);
  background: var(--warn-bg);
}

.required-consent-card .checkwrap.is-invalid .check {
  border-color: var(--line-soft);
  background: transparent;
}

.required-consent-card .checkwrap.is-invalid .check span:not(.tag-req):not(.tag-opt),
.consent-item.is-missing .check-copy strong {
  color: var(--warn);
}

.tag-req,
.tag-opt {
  margin-left: 5px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.tag-req {
  background: #fbe6e4;
  color: var(--warn);
}

.tag-opt {
  background: #e6ebf0;
  color: var(--ink-60);
}

.consent-lock-note {
  margin: 10px 2px 0;
}

.consent-details {
  margin-top: 10px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: none;
}

.consent-card .consent-details {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
}

.consent-details > summary,
.detail-toggle {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 0;
  background: #f8fafc;
  color: var(--blue-900);
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  list-style: none;
}

.consent-details > summary::-webkit-details-marker {
  display: none;
}

.consent-details > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: -4px 0 0 10px;
  overflow: hidden;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: transparent;
  transform: rotate(45deg);
}

.consent-details[open] > summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.detail-body {
  padding: 16px;
  border-top: 1px solid var(--line-soft);
  background: #f8fafc;
}

.policylink {
  margin: 12px 0 0;
  text-align: left;
}

.policylink button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #9fb5e8;
  border-radius: 8px;
  background: #f7f9fe;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.field,
.fieldset,
.question-card {
  min-width: 0;
  margin: 20px 0 0;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow);
  scroll-margin-top: 76px;
}

.question-fieldset {
  min-width: 0;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.question-card > .question-fieldset,
.field > .question-fieldset {
  background: transparent;
  box-shadow: none;
}

.fieldset > legend,
.question-fieldset > legend {
  float: left;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.fieldset > .choices,
.question-fieldset > .choices {
  clear: both;
}

.field .flabel,
.fieldset .flabel,
.question-card .flabel {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field select {
  width: 100%;
  min-height: 56px;
  padding: 14px 15px;
  border: 1.5px solid #9ba9b8;
  border-radius: 10px;
  background-color: #fff;
  color: var(--ink);
  font-size: 16px;
}

.field input::placeholder {
  color: var(--ink-40);
  opacity: 1;
}

.field input[type="text"]:hover,
.field input[type="tel"]:hover,
.field input[type="email"]:hover,
.field input[type="number"]:hover,
.field select:hover {
  border-color: var(--blue-500);
}

.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233F4B59' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 15px center;
}

.hint {
  margin: 8px 0 0;
}

.err,
.ferr,
.qerr {
  margin: 10px 0 0;
  color: var(--warn);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.err {
  padding: 11px 12px;
  border: 1px solid #dfa29d;
  border-radius: 10px;
  background: var(--warn-bg);
}

.field.is-invalid,
.fieldset.is-invalid,
.question-card.is-invalid,
.question-card.is-missing,
.question-card:has(.question-fieldset.is-invalid) {
  background: var(--warn-bg);
  box-shadow: inset 0 0 0 1.5px var(--warn), 0 0 0 1px rgba(165, 35, 26, 0.12);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--warn);
  background-color: #fff;
}

.fieldset.is-invalid .choice,
.question-card.is-invalid .choice,
.question-card:has(.question-fieldset.is-invalid) .choice {
  border-color: #aeb9c6;
  background: #fff;
}

.field.is-invalid > .flabel,
.fieldset.is-invalid > .flabel,
.question-card.is-invalid .flabel,
.question-card:has(.question-fieldset.is-invalid) .flabel {
  color: var(--warn);
}

.choices {
  gap: 10px;
}

.choices.grid2 {
  gap: 10px;
}

.age-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  display: grid;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1.5px solid #aeb9c6;
  border-radius: 11px;
  background: #fff;
  grid-template-columns: minmax(0, 1fr) 24px;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.choice:hover {
  border-color: var(--blue-500);
  background: #f9fbff;
}

.choice.is-selected,
.choice:has(input:checked) {
  border-color: var(--blue-700);
  background: var(--blue-50);
  box-shadow: 0 0 0 1px rgba(31, 94, 220, 0.1);
}

.choice input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--blue-700);
  grid-column: 2;
  grid-row: 1;
}

.choice span,
.choice-copy {
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.5;
  grid-column: 1;
  grid-row: 1;
}

.choice.is-selected span,
.choice:has(input:checked) span,
.choice.is-selected .choice-copy,
.choice:has(input:checked) .choice-copy {
  color: var(--blue-900);
  font-weight: 800;
}

.choice:focus-within,
.check:focus-within {
  outline: 3px solid rgba(31, 94, 220, 0.3);
  outline-offset: 2px;
}

.qblock {
  min-width: 0;
  min-inline-size: 0;
  margin: 16px 0 0;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow);
  scroll-margin-top: 76px;
}

.qblock.first {
  margin-top: 18px;
  padding: 16px;
  border: 0;
}

.qblock.is-invalid,
.question.is-invalid {
  margin: 16px 0 0;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  background: var(--warn-bg);
  box-shadow: inset 0 0 0 1.5px var(--warn), 0 0 0 1px rgba(165, 35, 26, 0.12);
}

.qblock > legend {
  float: left;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.qblock > .scale-legend {
  clear: both;
}

.qnum {
  margin-bottom: 7px;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tick {
  margin-left: 7px;
  color: var(--ok);
  font-size: 13px;
}

.qtext {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.scale-legend {
  margin-bottom: 9px;
  color: var(--ink-60);
  font-size: 13px;
  font-weight: 700;
}

.scale-opts {
  gap: 5px;
}

.sopt {
  min-width: 0;
  min-height: 70px;
  gap: 4px;
  padding: 10px 1px;
  border: 1.5px solid #aeb9c6;
  border-radius: 10px;
  background: #fff;
}

.sopt:hover {
  border-color: var(--blue-500);
  background: #f9fbff;
}

.sopt.is-selected,
.sopt:has(input:checked) {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: #fff;
}

.sopt b {
  font-size: 19px;
}

.sopt em {
  color: var(--ink-60);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.sopt.is-selected em,
.sopt:has(input:checked) em {
  color: rgba(255, 255, 255, 0.92);
}

.assigned {
  margin: 18px 0 4px;
  padding: 18px 16px;
  border: 1.5px solid #9fb5e8;
  border-radius: 14px;
  background: var(--blue-50);
  box-shadow: var(--shadow);
}

.assigned em {
  margin-bottom: 7px;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 800;
}

.assigned strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.assigned span {
  margin-top: 7px;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.55;
}

.player-shell {
  margin: 18px auto 14px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(24, 33, 43, 0.12);
}

.player-shell.player-shell--vertical {
  width: min(78vw, 315px);
  height: min(68vh, 560px);
  height: min(68dvh, 560px);
}

.watch-note {
  min-height: 48px;
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid #b7caef;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.watch-note.watch-status--complete {
  border-color: #9fd9c2;
  background: var(--ok-bg);
  color: var(--ok);
}

.watch-note.watch-status--warning {
  border-color: #e4bd69;
  background: #fff7e7;
  color: #704b00;
}

.dot {
  width: 9px;
  height: 9px;
}

.done-mark,
.notice-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  font-size: 29px;
}

.status-card {
  min-height: 260px;
  padding-top: 40px !important;
}

.loader {
  gap: 14px;
  padding: 38px 0;
}

.spin {
  width: 36px;
  height: 36px;
  border-color: #c5d5e8;
  border-top-color: var(--blue-700);
}

.foot {
  margin-top: 22px;
  color: var(--ink-40);
  font-size: 15px;
}

.pmodal {
  padding: max(16px, env(safe-area-inset-top)) max(var(--side-pad), env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(var(--side-pad), env(safe-area-inset-left));
}

.pmodal::backdrop {
  background: rgba(24, 33, 43, 0.62);
}

.pbox {
  max-width: 440px;
  max-height: 86vh;
  max-height: 86dvh;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(24, 33, 43, 0.2);
}

.pbox h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.pbody {
  margin-bottom: 18px;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.75;
}

.resume-notice {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #e4bd69;
  border-radius: 10px;
  background: #fff7e7;
  color: #704b00;
  font-size: 15px;
  font-weight: 700;
}

.toast {
  right: max(var(--side-pad), env(safe-area-inset-right));
  bottom: max(20px, calc(12px + env(safe-area-inset-bottom)));
  left: max(var(--side-pad), env(safe-area-inset-left));
  max-width: 400px;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(24, 33, 43, 0.97);
  font-size: 15px;
  line-height: 1.5;
}

.consent-section {
  margin-top: 28px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 2px 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.section-heading p {
  margin: 3px 0 0;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.55;
}

.section-heading .tag-req,
.section-heading .tag-opt {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 3px 8px;
  flex: none;
  font-size: 15px;
  line-height: 1.35;
}

.section-heading .tag-req {
  background: var(--blue-900);
  color: #fff;
}

.consent-item + .consent-item {
  border-top: 1px solid var(--line-soft);
}

.required-consent-card .consent-item + .consent-item {
  border-top: 0;
}

.required-consent-card .check:focus-within {
  outline: 0;
}

.consent-line {
  position: relative;
  display: block;
  min-width: 0;
}

.consent-line > .check {
  min-width: 0;
  padding-right: 92px;
}

.consent-line > .consent-details {
  display: block;
  width: 100%;
  border: 0;
  box-shadow: none;
}

.consent-line > .consent-details > summary {
  position: absolute;
  top: 19px;
  right: 12px;
  min-width: 72px;
  min-height: 32px;
  margin: 0;
  padding: 4px 7px;
  border: 1px solid #9fb5e8;
  border-radius: 7px;
  background: #f7f9fe;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.consent-line > .consent-details > summary::after {
  display: none;
}

.consent-line > .consent-details > .consent-detail-body {
  width: 100%;
}

.consent-card .consent-item .check,
.consent-card > .consent-item:first-child .check {
  border-top: 0;
}

.consent-detail-body {
  min-width: 0;
  padding: 16px;
  border-top: 1px solid var(--line-soft);
  background: #f8fafc;
}

.consent-detail-body h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.consent-detail-body dl {
  display: grid;
  margin: 0;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 12px;
}

.consent-detail-body dt,
.consent-detail-body dd {
  font-size: 15px;
  line-height: 1.65;
}

.consent-detail-body dt {
  color: var(--ink-40);
  font-weight: 800;
}

.consent-detail-body dd {
  min-width: 0;
  margin: 0;
  color: var(--ink-60);
}

.policy-detail-button {
  min-height: 44px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid #9fb5e8;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-900);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

/* Integrated consent panel */
.consent-agreement {
  margin-top: 28px;
}

.consent-agreement-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 12px;
}

.consent-agreement-heading h2 {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.4;
  white-space: nowrap;
}

.consent-heading-icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: #0789c6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.consent-agreement-heading p {
  flex: none;
  margin: 0 0 0 auto;
  color: var(--ink-40);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.consent-agreement-heading p span {
  color: #0789c6;
}

.consent-list {
  display: grid;
  gap: 10px;
}

.consent-list > .consent-item,
.consent-list > .consent-item + .consent-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e3ed;
  border-radius: 12px;
  background: #fff;
}

.consent-list > .consent-item.is-invalid {
  border-color: var(--warn);
  box-shadow: 0 0 0 1px rgba(179, 64, 12, 0.08);
}

.consent-list > .consent-item:has(.consent-option input:checked) {
  border-color: #0789c6;
  box-shadow: 0 0 0 1px rgba(7, 137, 198, 0.1);
}

.consent-list > .consent-item.is-invalid,
.consent-list > .consent-item.is-invalid:has(.consent-option input:checked) {
  border-color: var(--warn);
  box-shadow: 0 0 0 1px rgba(179, 64, 12, 0.08);
}

.consent-list > .consent-item.is-invalid .consent-option-title,
.consent-list > .consent-item.is-invalid .consent-option-title > span {
  color: var(--warn);
}

.consent-agreement .consent-option {
  min-height: 62px;
  margin: 0;
  padding: 14px 92px 14px 14px;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.consent-agreement .consent-option * {
  text-decoration: none;
}

.consent-agreement .consent-option:focus-within {
  outline: 0;
  outline-offset: 0;
}

.consent-list > .consent-item:has(.consent-option input:focus-visible) {
  outline: 2px solid rgba(7, 137, 198, 0.26);
  outline-offset: 2px;
}

.consent-agreement .consent-item:not(:has(.consent-details)) .consent-option {
  padding-right: 14px;
}

.consent-agreement .consent-option:hover,
.consent-agreement .consent-option.is-selected,
.consent-agreement .consent-option:has(input:checked) {
  border-color: transparent;
  background: #fff;
}

.consent-agreement .check input {
  width: 23px;
  height: 23px;
  margin-top: 1px;
  accent-color: #0789c6;
}

.consent-agreement .consent-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.consent-agreement .consent-copy strong,
.consent-agreement .consent-copy .consent-option-title,
.consent-agreement .consent-copy .consent-option-title > span {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.consent-agreement .consent-copy .consent-option-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 4px;
}

.consent-agreement .consent-copy small {
  color: var(--ink-40);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.consent-agreement .consent-copy .consent-kind {
  display: inline;
  margin-right: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.consent-agreement .consent-copy .consent-option-title > .consent-kind-required {
  color: #0789c6;
}

.consent-agreement .consent-copy .consent-option-title > .consent-kind-optional {
  color: #8795a4;
  font-weight: 750;
}

.consent-agreement .consent-line > .consent-details {
  margin: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.consent-agreement .consent-line > .consent-details > summary {
  top: 14px;
  right: 11px;
  min-width: 74px;
  min-height: 32px;
  padding: 4px 2px;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #55718e;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.consent-agreement .consent-detail-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-detail-trigger {
  position: absolute;
  top: 14px;
  right: 11px;
  display: inline-flex;
  min-width: 74px;
  min-height: 32px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #55718e;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.consent-detail-trigger:focus-visible {
  border-radius: 5px;
  outline: 2px solid rgba(7, 137, 198, 0.32);
  outline-offset: 1px;
}

.consent-detail-arrow {
  color: #7f9bb5;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.consent-agreement .consent-line > .consent-details > summary::after,
.consent-agreement .consent-line > .consent-details[open] > summary::after {
  content: "›";
  display: inline-block;
  width: auto;
  height: auto;
  margin: -1px 0 0;
  overflow: visible;
  border: 0;
  color: #7f9bb5;
  font-size: 19px;
  line-height: 1;
  transform: none;
}

.consent-agreement .consent-detail-body {
  padding: 14px;
  background: #f8fafc;
}

.consent-agreement .consent-detail-body h3 {
  font-size: 15px;
}

.consent-agreement .consent-detail-body dt,
.consent-agreement .consent-detail-body dd {
  font-size: 13.5px;
  line-height: 1.6;
}

.consent-agreement .consent-phone-field {
  margin: 0 14px 14px 49px;
  padding: 0;
  border: 0;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  outline: 0;
  box-shadow: none;
}

.consent-agreement .consent-phone-field::before,
.consent-agreement .consent-phone-field::after {
  display: none;
  content: none;
}

.consent-agreement .consent-phone-field .flabel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 13.5px;
  letter-spacing: -0.015em;
}

.consent-agreement .consent-phone-field .flabel span {
  color: var(--ink-40);
  font-size: 11.5px;
  font-weight: 600;
}

.consent-agreement .consent-phone-field input[type="tel"] {
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #d4e0ec;
  border-radius: 9px;
  background: #f7f9fc;
  background-image: none;
  box-shadow: none;
  font-size: 15px;
}

.consent-agreement .consent-phone-field .hint,
.consent-agreement .consent-phone-field .ferr {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
}

.consent-agreement .consent-lock-note {
  margin: 0 14px 14px 49px;
  font-size: 12px;
}

.consent-status {
  margin: 13px 2px 0;
  color: var(--ink-40);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

.consent-status.is-ready {
  color: var(--ok);
}

.consent-agreement > .btn-row {
  margin-top: 12px;
}

/* Directional and action icons stay intact when button text changes. */
.btn-forward,
.btn-retry,
.btn-play,
.btn-skip,
.btn-submit,
.btn-close,
.nav .btn-back,
.policy-detail-button.btn-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.btn-forward::after {
  content: "→";
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}

.nav .btn-back::before {
  content: "←";
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.btn-retry::before {
  content: "↻";
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}

.btn-play::before {
  content: "▶";
  font-size: 13px;
  line-height: 1;
}

.btn-skip::after {
  content: "››";
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 1;
}

.btn-submit::after {
  content: "✓";
  font-size: 18px;
  line-height: 1;
}

.btn-close::after {
  content: "×";
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.policy-detail-button.btn-detail::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
}

.btn[aria-busy="true"]::before,
.btn[aria-busy="true"]::after {
  display: none;
}

.question-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.question-title {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.picker:invalid {
  color: var(--ink-40);
}

.picker:valid {
  border-color: var(--blue-900);
  background-color: #fff;
  color: var(--ink);
  font-weight: 700;
}

.field select:focus,
.field select:focus-visible {
  border-color: var(--blue-900);
  border-width: 2px;
  outline: 0;
  box-shadow: none;
}

.field input[type="text"]:focus,
.field input[type="text"]:focus-visible,
.field input[type="tel"]:focus,
.field input[type="tel"]:focus-visible,
.field input[type="email"]:focus,
.field input[type="email"]:focus-visible,
.field input[type="number"]:focus,
.field input[type="number"]:focus-visible {
  border-color: var(--blue-900);
  border-width: 2px;
  outline: 0;
  box-shadow: none;
}

.field.is-invalid .picker,
.field.is-invalid .picker:focus,
.field.is-invalid .picker:focus-visible {
  border-color: var(--warn);
  border-width: 1.5px;
  background-color: #fff;
  color: var(--warn);
  font-weight: 700;
  outline: 0;
  box-shadow: none;
}

.field.is-invalid input[type="text"]:focus,
.field.is-invalid input[type="text"]:focus-visible,
.field.is-invalid input[type="tel"]:focus,
.field.is-invalid input[type="tel"]:focus-visible,
.field.is-invalid input[type="email"]:focus,
.field.is-invalid input[type="email"]:focus-visible,
.field.is-invalid input[type="number"]:focus,
.field.is-invalid input[type="number"]:focus-visible {
  border-color: var(--warn);
  border-width: 1.5px;
  outline: 0;
  box-shadow: none;
}

/* Keep mobile browsers from drawing a second pale focus ring around form controls. */
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field select {
  -webkit-tap-highlight-color: transparent;
}

.field input[type="text"]:focus,
.field input[type="text"]:focus-visible,
.field input[type="tel"]:focus,
.field input[type="tel"]:focus-visible,
.field input[type="email"]:focus,
.field input[type="email"]:focus-visible,
.field input[type="number"]:focus,
.field input[type="number"]:focus-visible,
.field select:focus,
.field select:focus-visible {
  outline: 0 !important;
  outline-width: 0 !important;
  outline-style: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.guide {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #dfa29d;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
  text-align: left;
  white-space: pre-line;
}

/* Keep every validation message at the same readable body size. */
.err,
.ferr,
.qerr,
.consent-agreement .consent-phone-field .ferr {
  font-size: 13px;
  font-weight: 650;
}

/* The participant page uses a compact top navigation instead of a bottom back button. */
.topbar-row {
  justify-content: flex-start;
  gap: 8px;
}

.topbar-back {
  display: inline-grid;
  width: 30px;
  height: 34px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-900);
  cursor: pointer;
  font-size: 22px;
  font-weight: 650;
  line-height: 1;
}

.topbar-back:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(7, 137, 198, 0.35);
  outline-offset: 1px;
}

.topbar-row .progress-title {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-row .progress-title > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-title-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: #0789c6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.topbar-row .step-label {
  flex: none;
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-single .btn {
  width: 100%;
  flex: 1 1 100%;
}

/* Final response details */
.final-submit-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.final-submit-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border-radius: 13px;
  background: #e9f6fc;
  color: #0789c6;
}

.final-submit-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.final-step-label {
  display: block;
  margin-bottom: 1px;
  color: #0789c6;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.final-submit-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.final-submit-card #responseForm {
  margin-top: 0;
}

.final-submit-card .question-card {
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #d9e3ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.final-submit-card .question-card:first-child {
  margin-top: 0;
}

.final-submit-card .question-card.is-invalid,
.final-submit-card .question-card:has(.question-fieldset.is-invalid) {
  border-color: var(--warn);
  background: var(--warn-bg);
  box-shadow: 0 0 0 1px rgba(165, 35, 26, 0.08);
}

.final-submit-card .question-card.is-invalid .question-title,
.final-submit-card .question-card:has(.question-fieldset.is-invalid) .question-title {
  color: var(--warn);
}

.final-submit-card .question-card.is-invalid .choice,
.final-submit-card .question-card:has(.question-fieldset.is-invalid) .choice,
.final-submit-card .question-card.is-invalid .picker {
  border-color: var(--warn);
}

.final-submit-card .question-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
}

.final-required {
  flex: none;
  color: #0789c6;
  font-size: 11px;
  font-weight: 800;
}

.final-submit-card .choice {
  min-height: 54px;
  padding: 11px 13px;
  border-width: 1px;
  border-radius: 10px;
}

.final-submit-card .choice span {
  font-size: 15px;
}

.final-submit-card .picker {
  min-height: 52px;
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  background-color: #f7f9fc;
  font-size: 15px;
}

.final-submit-card .nav {
  margin-top: 14px;
}

/* Submission complete */
#screenComplete .complete-result-card {
  padding: 38px 22px 26px;
  overflow: hidden;
  border-color: #cbddeb;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 38px rgba(25, 63, 99, 0.1);
}

.complete-result-card .done-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  place-items: center;
  border: 7px solid #e8f7f1;
  border-radius: 50%;
  background: #15a477;
  box-shadow: 0 8px 22px rgba(21, 164, 119, 0.2);
  color: #fff;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
}

.complete-result-card h2 {
  margin: 0;
  color: #10243a;
  font-size: 26px;
  font-weight: 880;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.complete-message {
  margin: 14px 0 0;
}

.complete-thanks {
  display: block;
  color: #44586d;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.complete-impact {
  display: block;
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid #e1e7ed;
  border-radius: 10px;
  background: #f7f9fb;
  color: #68798a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.65;
  white-space: pre-line;
}

.complete-result-card .complete-foot {
  position: relative;
  margin: 22px 0 0;
  padding: 27px 30px 24px;
  border: 1px solid #b9d8eb;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5f3fb 0%, #f1f8fd 100%);
  box-shadow: 0 8px 20px rgba(20, 105, 151, 0.1);
  color: #075580;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.65;
}

.complete-result-card .complete-foot::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 12px;
  color: #5aa7cf;
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.complete-result-card .complete-foot::after {
  content: "”";
  position: absolute;
  right: 12px;
  bottom: -6px;
  color: #5aa7cf;
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.complete-home-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 13px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: #8997a6;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
}

.complete-home-button:hover,
.complete-home-button:focus-visible {
  color: #5f7184;
}

.complete-home-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* Compact consent detail modal */
.consent-info-dialog {
  padding: 18px;
}

.consent-info-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.consent-info-box {
  width: min(100%, 448px);
  max-height: min(88vh, 720px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 64px rgba(21, 35, 54, 0.24);
}

.consent-info-form {
  max-height: min(88vh, 720px);
  padding: 22px 24px;
  overflow-y: auto;
}

.consent-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e6ebf0;
}

.consent-info-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.consent-info-title svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: #0789c6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.consent-info-title-optional svg {
  stroke: #ee8b00;
}

.consent-info-title h2 {
  min-width: 0;
  margin: 0;
  color: #182638;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.consent-info-title h2 em {
  margin-left: 3px;
  color: #0789c6;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.consent-info-title-optional h2 em {
  color: #8795a4;
}

.consent-info-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #8091a5;
  cursor: pointer;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}

.consent-info-close:focus-visible {
  outline: 2px solid rgba(7, 137, 198, 0.35);
  outline-offset: 2px;
}

.consent-info-list {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
}

.consent-info-list > div {
  padding: 13px 14px;
  border: 1px solid #dce6ef;
  border-radius: 12px;
  background: #fbfcfe;
}

.consent-info-list-optional > div {
  border-color: #f0dfac;
  background: #fffdf5;
}

.consent-info-list dt {
  color: #233044;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.consent-info-list dd {
  margin: 5px 0 0;
  color: #42546a;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.6;
}

.consent-info-note {
  margin: 12px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f3f7fa;
  color: #64758a;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.55;
}

.consent-info-confirm {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: 15px;
}

@media (max-width: 600px) {
  #screenIntro .survey-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  #screenIntro .survey-banner img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding-top: 20px;
  }

  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 21px;
  }

  .consent,
  .field,
  .fieldset,
  .question-card,
  .qblock,
  .qblock.first,
  .qblock.is-invalid,
  .question.is-invalid {
    padding-right: 14px;
    padding-left: 14px;
  }

  .consent dl,
  .detail-body dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .consent dd,
  .detail-body dd,
  .consent-detail-body dd {
    margin-bottom: 8px;
  }

  .consent-detail-body dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .nav {
    gap: 8px;
  }

  .nav .btn-back {
    width: 72px;
  }

  .scale-opts {
    gap: 4px;
  }

  .sopt {
    min-height: 68px;
  }

  .sopt em {
    font-size: 12px;
  }

  .consent-info-dialog {
    padding: 10px;
  }

  .consent-info-box {
    border-radius: 18px;
  }

  .consent-info-form {
    padding: 18px 16px;
  }
}

/* Fixed desktop presentation for mouse/trackpad environments. */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .topbar-inner {
    width: 640px;
    max-width: none;
  }

  .wrap {
    width: 680px;
    max-width: none;
    padding-top: 32px;
    padding-bottom: 56px;
  }

  #screenIntro .survey-banner,
  #screenIntro .survey-banner img {
    width: 640px;
    height: 320px;
  }

  #screenIntro .survey-banner {
    margin-bottom: 26px;
  }

  .intro-heading {
    font-size: 30px;
    line-height: 1.38;
  }

  .intro-lead {
    font-size: 16px;
  }

  .intro-meta {
    font-size: 14px;
  }

  h2 {
    font-size: 25px;
  }

  .field,
  .fieldset,
  .question-card,
  .qblock,
  .qblock.first,
  .qblock.is-invalid,
  .question.is-invalid {
    padding: 20px;
  }

  #fieldRoleField .choices,
  #resumeFieldRoleField .choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .age-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pbox,
  .consent-info-box {
    width: 600px;
    max-width: 600px;
  }

  .toast {
    max-width: 600px;
  }

  .field input[type="text"]:focus-visible,
  .field input[type="tel"]:focus-visible,
  .field input[type="email"]:focus-visible,
  .field input[type="number"]:focus-visible,
  .field select:focus-visible {
    outline: 3px solid rgba(31, 94, 220, 0.42) !important;
    outline-offset: 2px !important;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .topbar {
    position: static;
  }

  .player-shell.player-shell--vertical {
    width: min(52vh, 260px);
    height: min(92vh, 462px);
  }
}

@media (hover: none) {
  .btn:hover:not(:disabled) {
    background: var(--blue-700);
  }

  .choice:hover,
  .check:hover,
  .sopt:hover {
    border-color: #aeb9c6;
    background: #fff;
  }

  .choice.is-selected,
  .choice:has(input:checked),
  .check.is-selected,
  .check:has(input:checked) {
    border-color: var(--blue-700);
    background: var(--blue-50);
  }

  .sopt.is-selected,
  .sopt:has(input:checked) {
    border-color: var(--blue-700);
    background: var(--blue-700);
  }
}

@media (forced-colors: active) {
  .seg,
  .sopt,
  .check,
  .choice,
  .btn,
  .consent,
  .consent-card,
  .field,
  .fieldset,
  .question-card,
  .qblock {
    border: 2px solid CanvasText;
    box-shadow: none;
  }

  .seg.is-current,
  .seg.is-complete,
  .sopt.is-selected,
  .check.is-selected,
  .choice.is-selected {
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
    forced-color-adjust: none;
  }
}
