:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", "Noto Sans JP", "PingFang TC", "Apple SD Gothic Neo", sans-serif;
  --paper: #f4f3ee;
  --surface: #fbfaf6;
  --surface-soft: #eeece5;
  --ink: #171816;
  --muted: #666862;
  --faint: #a4a39b;
  --line: #d2d0c7;
  --line-dark: #333530;
  --blue: #4d6677;
  --red: #a34839;
  --green: #687064;
  --shadow: 0 24px 72px rgba(31, 32, 29, 0.055);
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
}

button,
textarea,
summary {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

h1:focus,
h2:focus {
  outline: 0;
}

.site-shell {
  min-height: 100vh;
  padding: 18px clamp(18px, 3vw, 48px) 28px;
  background: var(--paper);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1440px;
  min-height: 62px;
  margin: 0 auto;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 26px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 760;
}

.topbar-project {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}

.topbar-project span {
  color: var(--muted);
  font-size: 11px;
}

.topbar-project strong {
  font-size: 13px;
  font-weight: 700;
}

.language-switch {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

.language-switch button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.language-switch button:hover {
  color: var(--ink);
}

.language-switch button.active {
  border-color: var(--red);
  color: var(--ink);
}

.archive-label,
.side-label,
.panel-title,
.interview-meta,
.interview-kicker {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.archive-label {
  display: inline-flex;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--red);
  color: var(--muted);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.primary-button {
  background: var(--ink);
  color: var(--surface);
}

.primary-button:not(:disabled):hover {
  border-color: var(--red);
  background: var(--red);
}

.secondary-button {
  background: transparent;
  color: var(--ink);
}

.secondary-button:not(:disabled):hover {
  background: var(--surface);
}

.primary-button:disabled,
.secondary-button:disabled {
  border-color: var(--line);
  color: var(--faint);
  cursor: not-allowed;
  opacity: 0.58;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(330px, 0.58fr);
  min-height: calc(100vh - 108px);
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line-dark);
}

.intro-main {
  padding: 82px 9vw 70px 0;
}

.intro-main h1 {
  max-width: 900px;
  margin: 36px 0 24px;
  font-size: 78px;
  font-weight: 680;
  line-height: 1.06;
  word-break: keep-all;
}

.project-lockup {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: baseline;
  margin-bottom: 34px;
}

.project-title {
  margin: 0;
  color: var(--red);
  font-size: 28px;
  font-weight: 720;
}

.project-lockup > span {
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.intro-copy {
  max-width: 720px;
  margin: 0 0 30px;
  color: #343630;
  font-size: 18px;
  line-height: 1.82;
  word-break: keep-all;
}

.research-journey {
  max-width: 840px;
  margin: 0 0 42px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.journey-heading {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.journey-heading span,
.journey-meta em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
}

.journey-heading strong {
  font-size: 16px;
  font-weight: 630;
  line-height: 1.5;
  word-break: keep-all;
}

.journey-steps,
.journey-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-steps > div {
  min-height: 150px;
  padding: 22px 20px 20px 0;
  border-right: 1px solid var(--line);
}

.journey-steps > div + div {
  padding-left: 20px;
}

.journey-steps > div:last-child {
  border-right: 0;
}

.journey-steps span {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}

.journey-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 680;
}

.journey-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}

.journey-meta {
  border-top: 1px solid var(--line);
}

.journey-meta > span {
  display: grid;
  gap: 3px;
  padding: 13px 16px 13px 0;
  border-right: 1px solid var(--line);
}

.journey-meta > span + span {
  padding-left: 16px;
}

.journey-meta > span:last-child {
  border-right: 0;
}

.journey-meta strong {
  font-size: 13px;
  font-weight: 680;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  max-width: 720px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.intro-actions > span {
  margin-left: 10px;
  color: var(--muted);
  font-size: 11px;
}

.intro-side {
  display: flex;
  flex-direction: column;
  padding: 46px 0 46px 38px;
  border-left: 1px solid var(--line-dark);
}

.side-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.side-label strong {
  color: var(--red);
  font-size: 13px;
}

.intro-side > p {
  margin: 34px 0 44px;
  font-size: 24px;
  font-weight: 560;
  line-height: 1.56;
  word-break: keep-all;
}

.certificate-mini {
  margin-bottom: 40px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.certificate-mini div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.certificate-mini div:last-child {
  border-bottom: 0;
}

.certificate-mini span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.certificate-mini strong {
  font-size: 14px;
}

.certificate-mini div:last-child strong {
  color: var(--red);
}

.credit-block {
  margin-top: auto;
  border-top: 1px solid var(--line-dark);
}

.credit-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.credit-row span {
  color: var(--muted);
  font-size: 11px;
}

.credit-row strong {
  font-size: 13px;
  font-weight: 650;
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: 64px;
  max-width: 1280px;
  min-height: calc(100vh - 190px);
  margin: 56px auto 0;
}

.notice-main,
.notice-side {
  border-top: 1px solid var(--line-dark);
}

.notice-main {
  padding-top: 46px;
}

.notice-main h1 {
  max-width: 820px;
  margin: 28px 0 30px;
  font-size: 52px;
  font-weight: 670;
  line-height: 1.16;
  word-break: keep-all;
}

.notice-main > p {
  max-width: 720px;
  margin: 0;
  color: #343630;
  font-size: 17px;
  line-height: 1.84;
  word-break: keep-all;
}

.notice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.notice-list > div {
  min-height: 150px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.notice-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.notice-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.notice-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.notice-side {
  align-self: start;
  padding-top: 18px;
}

.panel-title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.notice-assurance {
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--blue);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
  word-break: keep-all;
}

.wide-button {
  width: 100%;
  margin-top: 32px;
}

.interview-layout {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  max-width: 1440px;
  margin: 44px auto 0;
}

.interview-panel {
  position: relative;
  min-height: min(760px, calc(100vh - 170px));
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.progress-track {
  height: 3px;
  background: var(--line);
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--red);
  transition: width 220ms ease;
}

.interview-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 54px 0;
  color: var(--muted);
}

.interview-meta strong {
  color: var(--ink);
  font-size: 12px;
}

.interview-head {
  padding: 56px 54px 0;
}

.interview-copy {
  max-width: 740px;
}

.interview-kicker {
  display: inline-flex;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--red);
  color: var(--muted);
}

.interview-head h2 {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 42px;
  font-weight: 670;
  line-height: 1.24;
  word-break: keep-all;
}

.interview-head p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.answer-panel {
  margin: 48px 54px 0;
}

.choice-list {
  border-bottom: 1px solid var(--line);
}

.choice-list.curated-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.curated-list .choice {
  min-height: 54px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.curated-list .choice:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.curated-list .choice[data-choice="not_listed"] {
  grid-column: 1 / -1;
  margin-top: 10px;
  border: 1px solid var(--line-dark);
  background: var(--surface-soft);
}

.choice {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 14px 8px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: #292a27;
  text-align: left;
  cursor: pointer;
  transition:
    background 150ms ease,
    color 150ms ease,
    padding 150ms ease;
}

.choice:hover {
  padding-left: 14px;
  background: var(--surface-soft);
}

.choice > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid #b8b6ae;
  color: var(--surface);
  font-size: 12px;
}

.choice strong {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.45;
}

.choice.selected {
  padding-left: 16px;
  background: rgba(163, 72, 57, 0.075);
  box-shadow: inset 3px 0 0 var(--red);
  color: #722f25;
}

.choice.selected > span {
  border-color: var(--red);
  background: var(--red);
}

.choice.blocked {
  color: var(--faint);
  cursor: not-allowed;
}

.choice.blocked:hover {
  padding-left: 8px;
  background: transparent;
}

.text-field {
  display: grid;
  gap: 10px;
}

.text-field-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.text-input {
  display: block;
  width: 100%;
  min-height: 220px;
  padding: 18px 20px;
  resize: vertical;
  border: 1px solid #9a9b94;
  border-radius: 2px;
  background: #fffefa;
  box-shadow: inset 0 1px 2px rgba(31, 32, 29, 0.035);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.text-input:hover {
  border-color: var(--line-dark);
}

.text-input:focus-visible {
  border-color: var(--blue);
  outline: 2px solid rgba(77, 102, 119, 0.2);
  outline-offset: 1px;
  box-shadow: inset 0 1px 2px rgba(31, 32, 29, 0.025);
}

.text-input::placeholder {
  color: #85867f;
}

.text-field-meta {
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
}

.compound-panel {
  display: grid;
  gap: 28px;
}

.compound-selected {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.compound-selected span {
  color: var(--muted);
  font-size: 11px;
}

.compound-selected strong {
  font-size: 18px;
  font-weight: 680;
}

.compound-section {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.compound-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.compound-section > p {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.choice-list.compact-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.compact-evidence .choice {
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.compact-evidence .choice:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.consent-panel > .text-field {
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.survey-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 42px 54px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}

.survey-actions .primary-button,
.survey-actions .secondary-button {
  min-width: 138px;
  min-height: 50px;
}

.survey-actions .primary-button {
  justify-self: end;
}

.survey-actions .primary-button:not(:disabled) {
  box-shadow: inset 3px 0 0 var(--red);
}

.survey-actions .secondary-button {
  border-color: var(--line-dark);
}

.survey-actions .primary-button:disabled {
  background: #b4b3ad;
  border-color: #b4b3ad;
  color: #f7f5ef;
  opacity: 1;
}

.draft-status {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 24px 54px 30px;
  color: var(--muted);
  font-size: 11px;
}

.draft-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.complete-grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  max-width: 1440px;
  margin: 54px auto 0;
}

.memory-card {
  position: relative;
  padding: 54px 58px;
  border: 1px solid var(--line-dark);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.memory-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 58px;
  left: 58px;
  height: 3px;
  background: var(--red);
}

.card-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 12px;
  font-weight: 700;
}

.card-header strong {
  color: var(--red);
  font-size: 12px;
}

.memory-card h1 {
  margin: 42px 0 20px;
  font-size: 48px;
  font-weight: 670;
  line-height: 1.12;
}

.certificate-copy {
  max-width: 670px;
  margin: 0 0 28px;
  color: #343630;
  font-size: 17px;
  line-height: 1.78;
  word-break: keep-all;
}

.submit-status {
  margin-bottom: 28px;
  padding: 14px 16px;
  border-left: 2px solid var(--green);
  background: rgba(104, 112, 100, 0.065);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.submit-status.failed {
  border-left-color: var(--red);
  background: rgba(163, 72, 57, 0.065);
}

.submit-status.sending {
  border-left-color: var(--blue);
}

.memory-card dl {
  display: grid;
  margin: 34px 0 0;
}

.memory-card dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.memory-card dt {
  color: var(--muted);
  font-size: 11px;
}

.memory-card dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.export-panel {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.export-panel summary {
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.restart-button {
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
  max-width: 1440px;
  margin: 38px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
}

.footer-project {
  display: grid;
  gap: 5px;
}

.footer-project strong {
  color: var(--ink);
  font-size: 13px;
}

.footer-project span {
  font-size: 11px;
}

.footer-project a,
.notice-assurance a {
  width: fit-content;
  color: inherit;
  font-size: 11px;
  text-underline-offset: 3px;
}

.footer-credits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.footer-credits span {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
}

.footer-credits em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.phase-intro .site-footer {
  display: none;
}

.phase-survey .site-footer {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin-top: 24px;
}

.phase-survey .footer-project {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.phase-survey .footer-credits {
  display: none;
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .topbar-project {
    display: none;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.62fr);
  }

  .intro-main {
    padding-right: 6vw;
  }

  .intro-main h1 {
    font-size: 62px;
  }

  .notice-layout {
    grid-template-columns: 1fr 290px;
    gap: 40px;
  }

  .notice-main h1 {
    font-size: 44px;
  }

  .site-footer {
    grid-template-columns: 220px 1fr;
  }

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

@media (max-width: 820px) {
  .site-shell {
    padding: 14px 18px 24px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .intro-grid,
  .notice-layout {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    min-height: auto;
  }

  .intro-main {
    padding: 58px 0 54px;
  }

  .intro-main h1 {
    font-size: 54px;
  }

  .journey-heading {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .journey-steps > div {
    min-height: 170px;
  }

  .intro-side {
    padding: 34px 0 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .intro-side > p {
    max-width: 620px;
    font-size: 22px;
  }

  .credit-block {
    margin-top: 10px;
  }

  .notice-layout {
    min-height: auto;
    margin-top: 36px;
  }

  .notice-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .notice-list > div {
    min-height: 0;
    padding-bottom: 22px;
  }

  .notice-list span {
    margin-bottom: 12px;
  }

  .interview-layout {
    margin-top: 28px;
  }

  .interview-head h2 {
    font-size: 34px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* v1.3.1 question engine: keeps the established Local Express Daegu survey shell. */
.v13-notice {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-left: 2px solid var(--blue);
  background: rgba(77, 102, 119, 0.055);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.answer-panel > .choice-list + .choice-list,
.answer-panel > .text-field + .text-field,
.answer-panel > .field-label + .choice-list,
.answer-panel > .v13-notice + .choice-list {
  margin-top: 22px;
}

.field-label {
  display: block;
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.text-input-single {
  min-height: 52px;
  padding: 12px 14px;
  resize: none;
  line-height: 1.45;
}

.answer-panel > .v13-notice strong {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--ink);
}

/* Beta connection layer: response analysis is a conversation prompt, never a verdict. */
.analysis-card {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(77, 102, 119, 0.045);
}

.analysis-card-pending {
  border-color: var(--line);
  background: transparent;
}

.analysis-card-head,
.match-card-head,
.dashboard-title-row,
.match-section-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.analysis-card-head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.analysis-card-head strong {
  color: var(--red);
}

.analysis-card h2 {
  margin: 26px 0 10px;
  font-size: 25px;
  line-height: 1.25;
}

.analysis-card .analysis-scope {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.analysis-card .analysis-scope strong {
  color: var(--ink);
}

.analysis-card > p,
.analysis-disclaimer,
.connection-lead,
.connection-section > p,
.connection-side p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.axis-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.axis-strip > div {
  display: grid;
  gap: 7px;
  min-height: 74px;
  padding: 14px;
}

.axis-strip > div + div {
  border-left: 1px solid var(--line);
}

.axis-strip span,
.dashboard-axis-grid span,
.dashboard-detail-grid > div > span,
.dashboard-note > span {
  color: var(--muted);
  font-size: 11px;
}

.axis-strip strong {
  font-size: 14px;
}

.analysis-disclaimer {
  margin: 0;
  font-size: 12px;
}

.connection-next {
  margin: 26px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.connection-next strong,
.connection-section h2,
.match-section h2 {
  font-size: 18px;
}

.connection-next p {
  max-width: 580px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.connection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(32px, 6vw, 92px);
  max-width: 1280px;
  min-height: calc(100vh - 160px);
  margin: 42px auto 0;
}

.connection-main {
  min-width: 0;
}

.connection-main > h1 {
  max-width: 820px;
  margin: 32px 0 16px;
  font-size: clamp(36px, 4.3vw, 66px);
  line-height: 1.12;
  letter-spacing: 0;
}

.connection-lead {
  max-width: 780px;
  font-size: 17px;
}

.connection-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.greeting-stage-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.greeting-stage-nav li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-muted, #777873);
  font-size: 12px;
  line-height: 1.35;
}

.greeting-stage-nav li span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
}

.greeting-stage-nav li.current,
.greeting-stage-nav li.complete { color: var(--ink, #171816); }
.greeting-stage-nav li.current span { background: var(--ink, #171816); color: #fff; }

.greeting-stage-actions { display: flex; gap: 8px; justify-content: flex-end; margin: 14px 0 4px; }
.greeting-preview-letter { margin: 14px 0; padding: 18px; border: 1px solid var(--line, #d8d8d2); background: #fff; }
.greeting-preview-letter span { color: var(--ink-muted, #777873); font-size: 12px; }
.greeting-preview-letter p { margin: 11px 0 0; white-space: pre-wrap; }
.greeting-preview dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 14px 0; background: var(--line, #d8d8d2); }
.greeting-preview dl > div { padding: 12px; background: var(--paper, #f7f7f3); }
.greeting-preview dt { color: var(--ink-muted, #777873); font-size: 11px; }
.greeting-preview dd { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }

@media (max-width: 640px) {
  .greeting-stage-nav { grid-template-columns: 1fr; gap: 6px; }
  .greeting-preview dl { grid-template-columns: 1fr; }
  .greeting-stage-actions { justify-content: stretch; }
  .greeting-stage-actions .secondary-button { flex: 1; }
}

.connection-section h2 {
  margin: 0 0 8px;
}

.connection-choice-list .choice {
  min-height: 58px;
}

.connection-choice-list .choice small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.connection-choice-copy {
  min-width: 0;
}

.connection-consent {
  margin-top: 12px;
}

.connection-consent .choice-list {
  margin-top: 0;
}

.institution-invite {
  display: grid;
  grid-template-columns: minmax(110px, .35fr) 1fr;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.institution-invite span,
.question-intent span,
.reflection-summary span,
.feedback-question > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.institution-invite strong { font-size: 17px; }
.institution-invite p { grid-column: 2; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.question-intent {
  margin-top: 44px;
  padding: 20px 0 0;
  border-top: 1px solid var(--ink);
}

.question-intent::before {
  display: block;
  width: 44px;
  height: 3px;
  margin: -22px 0 18px;
  background: var(--accent);
  content: "";
}

.question-intent p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.reflection-summary {
  margin: 0 0 30px;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.reflection-summary p {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.55;
}

.axis-correction { margin-top: 34px; }

.feedback-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 34px auto 0;
}

.feedback-main {
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--ink);
  background: var(--paper);
}

.feedback-main > h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  font-size: clamp(36px, 5.2vw, 70px);
  line-height: 1.08;
}

.feedback-question {
  display: grid;
  grid-template-columns: 48px minmax(240px, .8fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.feedback-question h2 { margin: 0; font-size: 17px; line-height: 1.55; }
.feedback-question .choice { min-height: 48px; padding: 10px 12px; }
.feedback-question .choice strong { font-size: 13px; }

.admin-login {
  width: min(560px, calc(100% - 32px));
  margin: 8vh auto;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--ink);
  background: var(--paper);
}

.admin-login h1 { margin: 14px 0; font-size: clamp(36px, 6vw, 64px); }
.admin-login label { display: block; margin: 28px 0 8px; color: var(--muted); }
.admin-login .primary-button { margin-top: 18px; }
.admin-detail-section { padding: 28px 0; border-top: 1px solid var(--line); }
.admin-detail-section h2 { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 18px; font-size: 18px; }
.admin-detail-section h2 span { color: var(--muted); }
.admin-detail-section article { padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent); }
.admin-detail-section article p { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--muted); line-height: 1.55; }
.admin-detail-section article small { display: block; margin-top: 7px; color: var(--muted); line-height: 1.5; }

@media (max-width: 760px) {
  .institution-invite { grid-template-columns: 1fr; }
  .institution-invite p { grid-column: auto; }
  .feedback-layout { width: min(100% - 24px, 680px); }
  .feedback-main { padding: 30px 20px; }
  .feedback-question { grid-template-columns: 34px 1fr; gap: 10px 12px; }
  .feedback-question .choice-list { grid-column: 1 / -1; }
}

.connection-safety {
  padding-bottom: 0;
}

.connection-side {
  align-self: start;
  position: sticky;
  top: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.connection-side > strong {
  display: block;
  margin: 18px 0 6px;
  font-size: 18px;
}

.wide-button {
  width: 100%;
  margin-top: 12px;
}

.connection-local-status {
  margin: 18px 0 0;
  font-size: 12px !important;
}

.dashboard-shell {
  min-height: 100vh;
}

.dashboard-mode {
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  max-width: 1440px;
  min-height: calc(100vh - 132px);
  margin: 34px auto 0;
  border-top: 1px solid var(--line-dark);
}

.dashboard-sidebar {
  padding: 22px 18px 22px 0;
  border-right: 1px solid var(--line);
}

.dashboard-sidebar-head {
  display: grid;
  gap: 18px;
  padding-bottom: 20px;
}

.dashboard-sidebar-head > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.dashboard-sidebar-head strong {
  color: var(--red);
  font-size: 18px;
}

.dashboard-filters {
  display: flex;
  gap: 5px;
}

.dashboard-filters button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.dashboard-filters button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.dashboard-profile-list {
  display: grid;
  gap: 8px;
}

.dashboard-profile {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.dashboard-profile.selected {
  border-color: var(--red);
  background: rgba(163, 72, 57, 0.055);
}

.dashboard-profile > div {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.dashboard-profile span,
.dashboard-profile em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.dashboard-profile p,
.dashboard-profile small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.dashboard-profile em {
  color: var(--red);
}

.dashboard-main {
  min-width: 0;
  padding: 44px clamp(24px, 5vw, 76px);
}

.dashboard-kicker,
.match-section-head > div > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.dashboard-title-row {
  margin: 28px 0 34px;
}

.dashboard-title-row h1 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
}

.dashboard-title-row p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.dashboard-status {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}

.dashboard-axis-grid,
.dashboard-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dashboard-axis-grid > div {
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 16px;
}

.dashboard-axis-grid > div + div {
  border-left: 1px solid var(--line);
}

.dashboard-axis-grid strong {
  font-size: 14px;
  line-height: 1.4;
}

.dashboard-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.dashboard-detail-grid > div {
  display: grid;
  gap: 12px;
  padding: 18px 0;
}

.dashboard-detail-grid > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
}

.dashboard-note {
  margin-top: 18px;
  padding: 18px;
  background: var(--surface-soft);
}

.dashboard-note p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.dashboard-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 22px 0 48px;
}

.match-section {
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.match-section-head > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.match-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.match-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.match-card-head span,
.match-card > p {
  color: var(--muted);
  font-size: 11px;
}

.match-card h3 {
  margin: 4px 0 0;
  font-size: 17px;
}

.match-card-head > strong {
  color: var(--red);
  font-size: 12px;
}

.match-card ul {
  display: grid;
  gap: 6px;
  min-height: 84px;
  margin: 16px 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.empty-match {
  margin-top: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .field-label {
    margin-top: 22px;
  }

  .connection-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .connection-side {
    position: static;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-profile-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-main {
    padding: 34px 0;
  }
}

@media (max-width: 620px) {
  .site-shell {
    padding: 10px 12px 20px;
  }

  .topbar {
    min-height: 56px;
    gap: 12px;
  }

  .brand > span:last-child {
    display: none;
  }

  .language-switch {
    gap: 0;
  }

  .language-switch button {
    min-height: 32px;
    padding: 0 7px;
    font-size: 10px;
  }

  .intro-main {
    padding: 46px 0 44px;
  }

  .intro-main h1 {
    margin-top: 30px;
    font-size: 42px;
    line-height: 1.12;
  }

  .project-lockup {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
  }

  .project-title {
    font-size: 24px;
  }

  .intro-copy {
    font-size: 16px;
    line-height: 1.76;
  }

  .research-journey {
    margin-bottom: 32px;
  }

  .journey-steps,
  .journey-meta {
    grid-template-columns: 1fr;
  }

  .journey-steps > div,
  .journey-steps > div + div {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-steps > div:last-child {
    border-bottom: 0;
  }

  .journey-steps span {
    margin-bottom: 12px;
  }

  .journey-meta > span,
  .journey-meta > span + span {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-meta > span:last-child {
    border-bottom: 0;
  }

  .intro-actions {
    display: grid;
  }

  .intro-actions > span {
    margin-left: 0;
  }

  .intro-actions .primary-button,
  .intro-actions .secondary-button {
    width: 100%;
  }

  .intro-side > p {
    margin: 28px 0 34px;
    font-size: 20px;
  }

  .notice-main {
    padding-top: 34px;
  }

  .notice-main h1 {
    margin-top: 24px;
    font-size: 34px;
    line-height: 1.24;
  }

  .notice-main > p {
    font-size: 15px;
    line-height: 1.78;
  }

  .interview-layout {
    margin-top: 18px;
  }

  .interview-panel {
    min-height: calc(100vh - 112px);
  }

  .interview-meta {
    padding: 22px 20px 0;
  }

  .interview-head {
    padding: 40px 20px 0;
  }

  .interview-head h2 {
    margin-top: 22px;
    font-size: 29px;
    line-height: 1.3;
  }

  .interview-head p {
    font-size: 14px;
  }

  .answer-panel {
    margin: 36px 20px 0;
  }

  .choice {
    min-height: 56px;
  }

  .choice-list.curated-list {
    grid-template-columns: 1fr;
  }

  .curated-list .choice:nth-child(odd) {
    border-right: 0;
  }

  .curated-list .choice[data-choice="not_listed"] {
    grid-column: auto;
  }

  .choice-list.compact-evidence {
    grid-template-columns: 1fr;
  }

  .compact-evidence .choice:nth-child(odd) {
    border-right: 0;
  }

  .compound-selected {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .choice strong {
    font-size: 14px;
  }

  .text-input {
    min-height: 190px;
    padding: 16px;
  }

  .survey-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 38px 20px 0;
    padding-top: 16px;
  }

  .survey-actions > span {
    display: none;
  }

  .survey-actions .primary-button {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .survey-actions .secondary-button {
    width: 100%;
  }

  .draft-status {
    margin: 22px 20px 26px;
  }

  .complete-grid {
    margin-top: 22px;
  }

  .memory-card {
    padding: 38px 24px;
  }

  .memory-card::before {
    right: 24px;
    left: 24px;
  }

  .memory-card h1 {
    margin-top: 34px;
    font-size: 36px;
  }

  .certificate-copy {
    font-size: 15px;
  }

  .memory-card dl div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .export-actions {
    display: grid;
  }

  .restart-button {
    width: 100%;
  }

  .footer-credits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .axis-strip,
  .dashboard-axis-grid,
  .dashboard-detail-grid,
  .match-list {
    grid-template-columns: 1fr;
  }

  .axis-strip > div + div,
  .dashboard-axis-grid > div + div,
  .dashboard-detail-grid > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .connection-main > h1 {
    font-size: 36px;
  }

  .connection-lead {
    font-size: 15px;
  }

  .dashboard-mode {
    display: none;
  }

  .dashboard-profile-list {
    grid-template-columns: 1fr;
  }

  .dashboard-title-row,
  .match-section-head {
    display: grid;
  }

  .dashboard-status {
    justify-self: start;
  }

  .dashboard-actions {
    display: grid;
  }
}

.relay-layout {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 36px 18px;
  background: var(--paper);
}

.relay-card {
  width: min(100%, 760px);
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid var(--line-dark);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.relay-card h1 {
  margin: 30px 0 14px;
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 670;
  line-height: 1.18;
  word-break: keep-all;
}

.relay-lead {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
}

.relay-messages {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}

.relay-message {
  padding: 20px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
  background: #fffefa;
}

.relay-message span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.relay-message p {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.relay-message small {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.relay-reply {
  margin-top: 38px;
}

.relay-reply h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.relay-reply > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.relay-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 620px) {
  .relay-layout {
    display: block;
    padding: 0;
  }

  .relay-card {
    min-height: 100vh;
    padding: 42px 20px;
    border: 0;
    box-shadow: none;
  }

  .relay-card h1 {
    font-size: 34px;
  }

  .relay-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* RC2 keeps the archive tone, but reduces the number of competing panels. */
.rc2-intro {
  max-width: 1120px;
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: clamp(62px, 9vw, 128px) 0 84px;
}

.rc2-intro-main {
  max-width: 920px;
}

.rc2-intro h1 {
  max-width: 820px;
  margin: 34px 0 18px;
  font-size: clamp(46px, 6.2vw, 78px);
  font-weight: 680;
  line-height: 1.12;
  word-break: keep-all;
}

.rc2-intro .project-title {
  margin: 0 0 30px;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
}

.rc2-framework {
  margin: 46px 0 38px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.rc2-framework-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.rc2-framework-heading span,
.rc2-axis-intro span,
.rc2-framework-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.rc2-framework-heading p {
  max-width: 660px;
  margin: 0;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.65;
  word-break: keep-all;
}

.rc2-axis-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.rc2-axis-intro section {
  display: grid;
  gap: 28px;
  min-height: 144px;
  padding: 22px 20px 24px 0;
}

.rc2-axis-intro section + section {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.rc2-axis-intro section:first-child span {
  color: var(--red);
}

.rc2-axis-intro strong {
  max-width: 188px;
  font-size: 18px;
  font-weight: 660;
  line-height: 1.42;
  word-break: keep-all;
}

.rc2-framework-note {
  margin: 0;
  padding: 15px 0;
}

.rc2-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 9px;
  align-items: center;
  margin: 0 -1px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.rc2-flow i {
  color: var(--red);
  font-style: normal;
}

.question-purpose {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  max-width: 720px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.question-purpose span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.interview-head .question-purpose p {
  margin: 0;
  color: #55574f;
  font-size: 13px;
  line-height: 1.65;
}

.rc2-depth-intro {
  display: grid;
  gap: 8px;
  max-width: 640px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.rc2-depth-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.phase-survey .interview-meta:has(strong:empty) {
  justify-content: flex-start;
}

.phase-survey .interview-meta strong:empty {
  display: none;
}

.rc2-complete {
  max-width: 960px;
  margin: 70px auto;
}

.rc2-complete-main {
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line-dark);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.rc2-complete h1 {
  margin: 30px 0 10px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 680;
  line-height: 1.16;
  word-break: keep-all;
}

.rc2-complete-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.rc2-summary {
  max-width: 710px;
  margin: 48px 0 34px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.rc2-summary span,
.rc2-axis-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.rc2-summary p {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 570;
  line-height: 1.65;
  word-break: keep-all;
}

.rc2-axis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rc2-axis-grid section {
  display: grid;
  gap: 14px;
  min-height: 132px;
  padding: 20px 18px 20px 0;
}

.rc2-axis-grid section + section {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.rc2-axis-grid strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  word-break: keep-all;
}

.rc2-connection-next {
  max-width: 720px;
  margin-top: 46px;
}

.rc2-connection-next h2 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 670;
}

.rc2-connection-next p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  word-break: keep-all;
}

@media (max-width: 620px) {
  .rc2-intro {
    min-height: auto;
    padding: 46px 0 56px;
  }

  .rc2-intro h1 {
    margin-top: 27px;
    font-size: 42px;
    line-height: 1.16;
  }

  .rc2-framework {
    margin: 36px 0 28px;
  }

  .rc2-framework-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px 0;
  }

  .rc2-framework-heading p {
    font-size: 15px;
  }

  .rc2-axis-intro,
  .rc2-axis-grid {
    grid-template-columns: 1fr;
  }

  .rc2-axis-intro section,
  .rc2-axis-intro section + section,
  .rc2-axis-grid section,
  .rc2-axis-grid section + section {
    min-height: 0;
    padding: 17px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .rc2-axis-intro section:first-child,
  .rc2-axis-grid section:first-child {
    border-top: 0;
  }

  .rc2-axis-intro section {
    gap: 8px;
  }

  .rc2-axis-intro strong {
    max-width: none;
    font-size: 16px;
  }

  .rc2-flow {
    font-size: 11px;
  }

  .question-purpose {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 20px;
  }

  .interview-head .question-purpose p {
    font-size: 12px;
  }

  .rc2-complete {
    margin: 24px auto 38px;
  }

  .rc2-complete-main {
    padding: 34px 20px;
  }

  .rc2-summary {
    margin: 34px 0 26px;
  }

  .rc2-summary p {
    font-size: 18px;
  }
}

/* RC2 context-flow v0.2: one journey from memory to participant-reviewed record and optional message. */
.journey-steps-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rc2-project-promise {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 38px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.rc2-project-promise p,
.ai-role-note p,
.transition-card p,
.gentle-note,
.research-translation p,
.rc2-coordinate-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  word-break: keep-all;
}

.ai-role-note {
  display: grid;
  grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr);
  gap: 22px;
  max-width: 820px;
  margin: 34px 0 38px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-role-note span {
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
}

.transition-card {
  max-width: 700px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.adaptive-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 120px;
  color: var(--muted);
}

.adaptive-loading span {
  width: 18px;
  height: 18px;
  border: 2px solid var(--line-dark);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: adaptive-spin .9s linear infinite;
}

.adaptive-loading p {
  margin: 0;
}

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

.adaptive-self-check {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.adaptive-self-check > div p,
.adaptive-turn-note {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.adaptive-turn-note {
  max-width: 680px;
  padding-top: 14px;
}

.ai-use-note {
  max-width: 680px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border-left: 2px solid color-mix(in srgb, var(--ink) 42%, transparent);
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-soft, #f6f3ec) 74%, transparent);
  font-size: 12px;
  line-height: 1.65;
}

.reflection-translation .ai-use-note {
  margin: 12px 0 0;
  padding: 0;
  border-left: 0;
  background: transparent;
}

.adaptive-retry {
  margin-top: 12px;
}

.gentle-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--surface-soft, #f6f3ec);
}

.reflection-summary small,
.rc2-summary small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.rc2-coordinate-intro,
.research-translation {
  max-width: 720px;
  margin: 36px 0 20px;
}

.rc2-coordinate-intro h2,
.research-translation h2 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 680;
}

.research-translation {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.message-first .text-input {
  margin-top: 18px;
}

.rc2-connection-layout .connection-section h3 {
  margin: 28px 0 12px;
  font-size: 16px;
}

@media (max-width: 820px) {
  .journey-steps-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-steps-four > div:nth-child(2) {
    border-right: 0;
  }

  .journey-steps-four > div:nth-child(3),
  .journey-steps-four > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .journey-steps-four,
  .ai-role-note {
    grid-template-columns: 1fr;
  }

  .journey-steps-four > div,
  .journey-steps-four > div + div {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .journey-steps-four > div:first-child {
    border-top: 0;
  }

  .ai-role-note {
    gap: 8px;
  }
}

/* RC2 response-document recovery v0.3.1 */
.quiet-processing {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.quiet-processing p { margin: 0; }

.quiet-processing-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 3px);
  align-items: center;
  gap: 3px;
  width: 18px;
  height: 12px;
}

.quiet-processing-mark i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .28;
  animation: quiet-signal 1.8s ease-in-out infinite;
}

.quiet-processing-mark i:nth-child(2) { animation-delay: .22s; }
.quiet-processing-mark i:nth-child(3) { animation-delay: .44s; }

@keyframes quiet-signal {
  0%, 70%, 100% { opacity: .2; transform: translateY(0); }
  35% { opacity: .72; transform: translateY(-1px); }
}

.adaptive-loading span {
  width: 15px;
  height: 15px;
  border-width: 1px;
  opacity: .58;
  animation-duration: 1.8s;
}

.reflection-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.text-button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 3px 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.text-button:hover,
.text-button:focus-visible { color: var(--ink); }
.text-button:disabled { cursor: wait; opacity: .45; }

.reflection-translation,
.document-language-note {
  max-width: 760px;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
}

.document-language-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.response-document-preview {
  width: 100%;
  margin: 28px 0 34px;
  overflow-x: auto;
  padding: 4px;
}

.response-document-sheet {
  width: min(100%, 794px);
  min-height: 1123px;
  margin: 0 auto;
  padding: 44px 46px 38px;
  border: 1px solid #cfc8bd;
  background: #fbfaf6;
  box-shadow: 0 16px 45px rgba(34, 31, 26, .09);
  color: #20201e;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

.response-document-header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid #292824;
}

.response-document-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #292824;
  color: #171816;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.response-document-header span {
  display: block;
  margin-bottom: 8px;
  color: #77736d;
  font-size: 9px;
  letter-spacing: .12em;
}

.response-document-header h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 760;
  letter-spacing: -.04em;
}

.response-document-header p {
  margin: 5px 0 0;
  font-size: 14px;
}

.response-document-header > strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #8d887f;
  color: #55514b;
  font-size: 10px;
  font-weight: 650;
}

.response-document-description {
  margin: 18px 0 20px;
  color: #68645e;
  font-size: 11px;
  line-height: 1.65;
}

.response-document-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 24px;
  border-top: 1px solid #aaa399;
  border-left: 1px solid #d5cec3;
}

.response-document-metadata > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 34px;
  border-right: 1px solid #d5cec3;
  border-bottom: 1px solid #d5cec3;
}

.response-document-metadata dt,
.response-document-metadata dd {
  margin: 0;
  padding: 8px 9px;
  font-size: 9.5px;
  line-height: 1.45;
}

.response-document-metadata dt {
  background: #f1eee7;
  color: #666159;
  font-weight: 650;
}

.response-document-section {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid #d5cec3;
}

.response-document-section-head {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
}

.response-document-section-head span {
  color: #8a847b;
  font-size: 9px;
  line-height: 1.6;
}

.response-document-section-head h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.5;
}

.response-document-section-body p {
  margin: 0 0 5px;
  font-size: 10.5px;
  line-height: 1.62;
  word-break: keep-all;
}

.response-document-section-body p:last-child { margin-bottom: 0; }

.response-document-translation {
  margin: 0 0 11px;
  padding: 11px 12px;
  border-left: 2px solid #aaa399;
  background: #f5f2eb;
}

.response-document-translation span,
.response-document-translation small {
  display: block;
  color: #746f67;
  font-size: 8.5px;
}

.response-document-translation p {
  margin: 6px 0 !important;
  font-size: 11px !important;
}

.response-document-confirmation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid #292824;
}

.response-document-confirmation p {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.6;
}

.response-document-confirmation div {
  text-align: right;
}

.response-document-confirmation span {
  display: block;
  color: #77736d;
  font-size: 8.5px;
}

.response-document-confirmation strong {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.document-final-check {
  max-width: 794px;
  margin: 0 auto 18px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-dark);
}

.document-final-check h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.document-final-check > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.response-document-complete .rc2-complete-main { max-width: 980px; }
.response-document-final { margin-top: 34px; }

@media (max-width: 760px) {
  .response-document-preview { margin-left: -8px; width: calc(100% + 16px); }
  .response-document-sheet {
    min-height: 0;
    padding: 28px 20px;
    box-shadow: none;
  }
  .response-document-header { grid-template-columns: 40px minmax(0, 1fr); }
  .response-document-brand-mark { width: 36px; height: 36px; font-size: 12px; }
  .response-document-confirmation { grid-template-columns: 1fr; display: grid; }
  .response-document-metadata { grid-template-columns: 1fr; }
  .response-document-section { grid-template-columns: 1fr; gap: 8px; }
  .response-document-section-head { grid-template-columns: 18px minmax(0, 1fr); }
}

@media print {
  @page { size: A4; margin: 9mm; }
  body { background: #fff !important; }
  body * { visibility: hidden !important; }
  .response-document-final,
  .response-document-final * { visibility: visible !important; }
  .response-document-final {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .response-document-final .response-document-sheet {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

/* Production identity · compact header and card marks */
.led-wordmark { display: block; width: 96px; height: auto; overflow: visible; }
.led-wordmark-header { width: 52px; }
.project-brand .led-wordmark-header { flex: 0 0 auto; }
.project-brand > span:last-child { white-space: nowrap; }

@media (max-width: 620px) {
  .led-wordmark-header { width: 45px; }
}

/* RC2 v0.3.2: research-separated exhibition open call */
.intro-open-call {
  display: grid;
  grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr);
  gap: 20px 34px;
  margin: 40px 0 46px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}

.intro-open-call > div { grid-row: span 2; }
.intro-open-call span,
.open-call-badge {
  color: var(--red);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .06em;
}
.intro-open-call h2 {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.4;
  word-break: keep-all;
}
.intro-open-call p {
  margin: 0;
  color: #55574f;
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
}

.rc2-open-call-next {
  width: 100%;
  min-height: 280px;
  margin-top: 48px;
  padding: 28px 30px 30px;
  border: 1px solid var(--line-dark);
  background: #f5f1e8;
}

.feature-closed-status {
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  border-left: 3px solid var(--red);
  background: rgba(255,255,255,.56);
  color: var(--muted);
  line-height: 1.65;
}

.transition-card blockquote {
  margin: 0 0 18px;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--red);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.transition-detail-field { margin-top: 34px; }
.transition-detail-field .text-field-label { margin-bottom: 12px; }
.rc2-open-call-next h2 {
  margin: 10px 0 12px;
  font-size: 25px;
  font-weight: 680;
  line-height: 1.4;
  word-break: keep-all;
}
.rc2-open-call-next p {
  margin: 0 0 14px;
  line-height: 1.7;
}
.rc2-open-call-next .open-call-separation {
  color: var(--muted);
  font-size: 13px;
}

.exhibition-layout {
  max-width: 980px;
  margin: 58px auto 90px;
}
.exhibition-main {
  padding: clamp(30px, 5.5vw, 68px);
  border: 1px solid var(--line-dark);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.exhibition-main > h1 {
  max-width: 780px;
  margin: 28px 0 18px;
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 680;
  line-height: 1.14;
  word-break: keep-all;
}
.open-call-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 38px 0 44px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}
.open-call-summary div {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}
.open-call-summary div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.open-call-summary div:nth-last-child(-n+2) { border-bottom: 0; }
.open-call-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.open-call-summary strong {
  font-size: 15px;
  line-height: 1.55;
  word-break: keep-all;
}
.exhibition-main .connection-section {
  max-width: 800px;
  margin: 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.exhibition-main .connection-section h2 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.45;
}
.exhibition-main .connection-section > p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}
.exhibition-choice-list .choice { align-items: flex-start; }
.exhibition-fields .text-input-single { min-height: 0; }
.exhibition-fields textarea.text-input { min-height: 170px; }
.field-error {
  margin: 7px 0 0;
  color: #9b3024;
  font-size: 13px;
  line-height: 1.5;
}
.exhibition-status {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .intro-open-call { grid-template-columns: 1fr; }
  .intro-open-call > div { grid-row: auto; }
  .open-call-summary { grid-template-columns: 1fr; }
  .open-call-summary div,
  .open-call-summary div:nth-child(even) {
    min-height: 0;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .open-call-summary div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .open-call-summary div:last-child { border-bottom: 0; }
  .rc2-open-call-next { padding: 24px 22px; }
  .exhibition-layout { margin: 24px auto 60px; }
  .exhibition-main { padding: 28px 20px; }
}

/* RC2 v0.3.4: five-stage progress and visible AI-question origin */
.rc2-stage-progress {
  display: grid;
  gap: 12px;
  padding: 22px 54px 0;
  border-bottom: 1px solid var(--line);
}

.rc2-stage-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.rc2-stage-summary strong {
  color: var(--ink);
  font-size: 13px;
}

.rc2-stage-progress ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0 0 16px;
  list-style: none;
}

.rc2-stage-progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
}

.rc2-stage-progress li::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 8px;
  left: 30px;
  height: 1px;
  background: var(--line);
}

.rc2-stage-progress li:last-child::after { display: none; }

.rc2-stage-progress li > span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: var(--surface);
  font-size: 10px;
}

.rc2-stage-progress li strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.rc2-stage-progress li.complete > span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.rc2-stage-progress li.complete::after { background: var(--ink); }

.rc2-stage-progress li.current {
  color: var(--ink);
}

.rc2-stage-progress li.current > span {
  border-color: var(--red);
  box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 12px var(--red);
  color: transparent;
}

.adaptive-origin {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 38px 54px -30px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft, #f6f3ec);
  color: var(--muted);
}

.adaptive-origin.api {
  border-left: 3px solid var(--red);
}

.adaptive-origin.fallback {
  border-left: 3px solid var(--line-dark);
}

.adaptive-origin > div {
  display: grid;
  gap: 2px;
}

.adaptive-origin strong {
  color: var(--ink);
  font-size: 12px;
}

.adaptive-origin small {
  font-size: 11px;
  line-height: 1.45;
}

.adaptive-origin-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 5px);
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  width: 23px;
  height: 18px;
}

.adaptive-origin-mark i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .25;
  animation: adaptive-origin-pulse 1.9s ease-in-out infinite;
}

.adaptive-origin.api .adaptive-origin-mark { color: var(--red); }
.adaptive-origin-mark i:nth-child(2) { animation-delay: .22s; }
.adaptive-origin-mark i:nth-child(3) { animation-delay: .44s; }

@keyframes adaptive-origin-pulse {
  0%, 72%, 100% { opacity: .2; transform: translateY(0); }
  36% { opacity: .9; transform: translateY(-2px); }
}

@media (max-width: 760px) {
  .rc2-stage-progress {
    padding: 18px 22px 0;
  }

  .rc2-stage-progress ol {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(82px, 1fr));
    padding-bottom: 14px;
  }

  .rc2-stage-progress li strong {
    font-size: 10px;
  }

  .adaptive-origin {
    margin: 24px 22px -22px;
  }
}

@media print {
  .rc2-stage-progress,
  .adaptive-origin {
    display: none !important;
  }
}

.journey-steps-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .journey-steps-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-steps-five > div:nth-child(2),
  .journey-steps-five > div:nth-child(4) {
    border-right: 0;
  }
  .journey-steps-five > div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .journey-steps-five {
    grid-template-columns: 1fr;
  }
  .journey-steps-five > div,
  .journey-steps-five > div + div {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .journey-steps-five > div:first-child {
    border-top: 0;
  }
}

/* v0.3.8 · independent survey / open-call entry routes */
.entry-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 44px 0 18px;
}
.entry-route-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line-dark);
  background: #fff;
  transform-style: preserve-3d;
  transition: transform .24s ease, box-shadow .24s ease;
}
.entry-route-card > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.entry-route-card h2 {
  max-width: 480px;
  margin: 28px 0 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.entry-route-card p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.entry-route-meta {
  margin-top: auto;
  padding-top: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.entry-route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.entry-route-note {
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
@media (hover: hover) and (pointer: fine) {
  .entry-route-card:hover {
    transform: perspective(1000px) rotateX(1deg) rotateY(-1deg) translateY(-4px);
    box-shadow: 0 16px 0 rgba(23,24,22,.06);
  }
}
@media (max-width: 780px) {
  .entry-route-grid { grid-template-columns: 1fr; }
  .entry-route-card { min-height: 340px; }
}
@media (max-width: 520px) {
  .entry-route-grid { margin-top: 34px; }
  .entry-route-card { min-height: auto; padding: 28px 20px; }
  .entry-route-actions { display: grid; }
  .entry-route-actions .primary-button,
  .entry-route-actions .secondary-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-route-card { transition: none; }
  .entry-route-card:hover { transform: none; box-shadow: none; }
}

/* RC2 v0.3.8 · concise survey, white record, responsive motion */
:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --shadow: none;
}

html,
body,
.site-shell,
.interview-panel,
.rc2-intro-main,
.rc2-complete-main,
.entry-route-card,
.notice-main,
.notice-side,
.response-document-sheet,
.rc2-open-call-next,
.exhibition-main {
  background: #fff;
}

.interview-panel,
.rc2-complete-main,
.entry-route-card,
.exhibition-main,
.response-document-sheet {
  box-shadow: none;
}

.interview-layout { margin-top: 26px; }
.interview-panel { min-height: min(700px, calc(100vh - 140px)); }
.interview-meta { padding: 22px 42px 0; }
.interview-head { padding: 34px 42px 0; }
.interview-head h2 {
  max-width: 760px;
  margin-top: 0;
  font-size: clamp(28px, 4.1vw, 46px);
  line-height: 1.22;
  letter-spacing: -.025em;
}
.interview-head p {
  max-width: 680px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.answer-panel { margin: 30px 42px 0; }
.field-label { margin-top: 24px; }
.question-purpose,
.draft-status,
.rc2-stage-progress { display: none !important; }

.participation-guide {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}
.participation-guide p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.choice {
  transform: translateZ(0);
  transition: transform .18s ease, border-color .18s ease, padding .18s ease, color .18s ease, box-shadow .18s ease;
}
.choice:hover {
  padding-left: 12px;
  background: #fff;
  transform: translateY(-2px) translateZ(6px);
  box-shadow: 0 3px 0 #171816;
}
.choice.selected {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 4px 0 0 var(--ink);
}
.choice.selected > span {
  border-color: var(--ink);
  background: var(--ink);
}

.survey-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: 36px;
  padding: 18px 42px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
}

.research-axes { margin-top: 48px; }
.journey-steps-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.journey-result {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}
.journey-result strong { font-size: 13px; }
.journey-result-copy { display: grid; min-width: 0; gap: 12px; }
.journey-result-copy p { margin: 0; color: var(--muted); line-height: 1.7; }

.entry-route-card {
  position: relative;
  overflow: hidden;
  perspective: 900px;
  transform: translateY(var(--lift, 0));
  transition: transform .2s ease, border-color .2s ease;
}
.entry-route-card:hover { --lift: -4px; border-color: #000; }
.route-object {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  transform-style: preserve-3d;
  transform: rotateX(var(--object-x, 22deg)) rotateY(var(--object-y, -28deg));
  pointer-events: none;
}
.route-object.route-logo {
  width: 76px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: none;
}
.route-logo-body,
.route-logo-shadow {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
}
.route-logo-body {
  position: relative;
  z-index: 2;
  transform: none;
}
.route-logo-shadow {
  z-index: 1;
  opacity: .32;
  transform: translate(var(--logo-shadow-x, 2px), var(--logo-shadow-y, 2px));
  transition: transform .16s ease-out;
  will-change: transform;
}
.route-led-wordmark {
  display: block;
  width: 73px;
  height: auto;
  overflow: visible;
}
.route-moho-mark {
  display: grid;
  width: 63px;
  place-items: center;
}
.route-moho-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}
.route-logo-moho .route-logo-shadow {
  width: 63px;
  aspect-ratio: 580 / 239;
  background: #777873;
  -webkit-mask: url("../moho-house-logo-vector.svg") center / contain no-repeat;
  mask: url("../moho-house-logo-vector.svg") center / contain no-repeat;
}
.route-object::before,
.route-object::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #171816;
  transform: translateZ(12px) rotate(45deg);
}
.route-object::after {
  transform: translateZ(-12px) rotate(45deg);
  opacity: .35;
}
.entry-route-call .route-object::before,
.entry-route-call .route-object::after { border-radius: 50%; transform: translateZ(10px); }
.entry-route-call .route-object::after { transform: translateZ(-10px) scale(.68); }
.route-object.route-logo::before,
.route-object.route-logo::after { content: none; }

.coordinate-feedback {
  margin: 34px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
}
.coordinate-feedback h3 { margin: 0 0 8px; font-size: 18px; }
.coordinate-feedback > p { max-width: 680px; margin: 0 0 18px; color: var(--muted); line-height: 1.65; }

.response-document-sheet {
  background: #fff !important;
  border-color: #111;
}
.response-document-metadata dt,
.response-document-translation,
.response-document-header > strong {
  background: #fff !important;
}
.response-document-description,
.response-document-header span,
.response-document-metadata dt,
.response-document-confirmation span { color: #333; }
.response-document-confirmation { grid-template-columns: 1fr; }
.response-document-confirmation p { max-width: 620px; }
.response-document-section-coordinate .response-document-section-body p:first-of-type {
  font-size: 13px;
  font-weight: 760;
}

.response-document-coordinate-graphic {
  width: 78px;
  height: 64px;
  margin: 0 0 8px 8px;
}
.response-document-coordinate-stack {
  position: relative;
  width: 62px;
  height: 52px;
  transform: rotateX(56deg) rotateZ(-38deg);
  transform-style: preserve-3d;
}
.response-document-coordinate-layer {
  --document-offset: calc(var(--document-layer) * -6px);
  position: absolute;
  inset: 9px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  padding: 2px;
  border: 1px solid #777;
  background: #fff;
  transform: translate3d(var(--document-offset), var(--document-offset), calc(var(--document-layer) * 9px));
}
.response-document-coordinate-layer i {
  display: block;
  min-width: 2px;
  min-height: 2px;
  border: 1px solid #aaa;
  background: #fff;
}
.response-document-coordinate-layer i.selected {
  border-color: #000;
  background: #000;
}

.language-switch {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.language-switch button { flex: 0 0 auto; }

@media (max-width: 880px) {
  .entry-route-grid { grid-template-columns: 1fr; }
  .entry-route-card { min-height: 330px; }
  .journey-steps-three { grid-template-columns: 1fr; }
  .journey-steps-three > div,
  .journey-steps-three > div + div { border-right: 0; border-top: 1px solid var(--line); }
  .journey-steps-three > div:first-child { border-top: 0; }
  .journey-result { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 760px) {
  .site-shell { padding: 10px 12px 20px; }
  .topbar { grid-template-columns: 1fr; gap: 7px; }
  .brand { justify-content: space-between; }
  .language-switch { justify-content: flex-start; width: 100%; padding-bottom: 4px; }
  .interview-layout { margin-top: 14px; }
  .interview-panel { min-height: calc(100vh - 110px); border-left: 0; border-right: 0; }
  .interview-meta { padding: 18px 18px 0; }
  .interview-head { padding: 28px 18px 0; }
  .interview-head h2 { font-size: clamp(25px, 8vw, 34px); word-break: keep-all; }
  .answer-panel { margin: 24px 18px 0; }
  .choice { min-height: 58px; padding: 13px 2px; }
  .choice:hover { padding-left: 2px; transform: none; box-shadow: none; }
  .choice strong { font-size: 14px; overflow-wrap: anywhere; }
  .text-input { min-height: 170px; padding: 15px; }
  .survey-actions { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); }
  .survey-actions .primary-button,
  .survey-actions .secondary-button { min-width: 104px; padding: 0 14px; }
  .response-document-preview { overflow-x: visible; margin-left: 0; width: 100%; padding: 0; }
  .response-document-sheet { width: 100%; padding: 26px 18px; }
  .response-document-header h2 { font-size: 23px; }
  .response-document-section { grid-template-columns: 1fr; }
  .response-document-metadata { grid-template-columns: 1fr; }
  .route-object { width: 42px; height: 42px; top: 20px; right: 20px; }
  .route-object.route-logo { width: 64px; height: 42px; }
  .entry-route-card { --logo-shadow-x: 2px !important; --logo-shadow-y: 2px !important; }
  .route-led-wordmark { width: 57px; }
  .route-moho-mark { width: 50px; }
  .route-logo-moho .route-logo-shadow { width: 50px; }
  .route-logo-shadow { transform: translate(2px, 2px); transition: none; }
}

@media (hover: none), (pointer: coarse) {
  .entry-route-card { transform: none; }
  .entry-route-card:active { transform: scale(.992); }
  .route-object:not(.route-logo) { animation: route-object-float 5s ease-in-out infinite; }
  .route-logo-shadow { transform: translate(2px, 2px); transition: none; }
}

@keyframes route-object-float {
  0%,100% { transform: rotateX(22deg) rotateY(-28deg) translateY(0); }
  50% { transform: rotateX(-10deg) rotateY(28deg) translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .entry-route-card, .route-object, .choice { transform: none !important; }
  .route-logo-shadow { transform: translate(2px, 2px) !important; transition: none !important; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  html, body, .response-document-final, .response-document-sheet,
  .response-document-sheet * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .response-document-sheet { border: 0 !important; }
  .response-document-metadata dt,
  .response-document-translation { background: #fff !important; }
}

.referral-layout {
  max-width: 900px;
  margin: 52px auto 80px;
}
.referral-main {
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line-dark);
  background: #fff;
}
.referral-main h1 {
  max-width: 760px;
  margin: 26px 0 16px;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.13;
}
.referral-fields {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}
.referral-fields label { display: grid; gap: 8px; }
.referral-fields label > span { font-size: 13px; font-weight: 700; }
.referral-fields small { color: var(--muted); font-weight: 500; }
.referral-fields input,
.referral-fields textarea {
  width: 100%;
  border: 1px solid #777;
  background: #fff;
  padding: 14px 15px;
  font: inherit;
}
.referral-fields textarea { min-height: 150px; resize: vertical; }
.referral-options {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.referral-status {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 760px) {
  .referral-layout { margin: 20px auto 54px; }
  .referral-main { padding: 28px 18px; border-left: 0; border-right: 0; }
  .referral-main h1 { font-size: 34px; }
}

/* v0.3.8 · 64-position interactive model */
.coordinate-model {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin: 24px 0 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.coordinate-stack {
  position: relative;
  width: 150px;
  height: 138px;
  margin: 0 auto;
  perspective: 700px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
  transition: transform .35s ease;
}
.coordinate-model:hover .coordinate-stack {
  transform: rotateX(48deg) rotateZ(-27deg) scale(1.04);
}
.coordinate-layer {
  --offset: calc(var(--layer) * -13px);
  position: absolute;
  inset: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 4px;
  border: 1px solid #111;
  background: #fff;
  transform: translate3d(var(--offset), var(--offset), calc(var(--layer) * 19px));
  opacity: .56;
}
.coordinate-layer.active { opacity: 1; border-width: 2px; }
.coordinate-layer i { display: block; aspect-ratio: 1; border: 1px solid #999; background: #fff; }
.coordinate-layer i.selected { background: #111; border-color: #111; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111; }
.coordinate-model-copy { display: grid; gap: 8px; }
.coordinate-model-copy strong { font-size: clamp(18px, 2.4vw, 28px); }
.coordinate-model-copy span { color: var(--muted); line-height: 1.65; }
@media (max-width: 620px) {
  .coordinate-model { grid-template-columns: 1fr; align-items: start; }
  .coordinate-stack { width: 132px; height: 124px; }
}
@media (hover: none), (pointer: coarse) {
  .coordinate-stack { animation: coordinate-model-breathe 6s ease-in-out infinite; }
}
@keyframes coordinate-model-breathe {
  0%,100% { transform: rotateX(58deg) rotateZ(-38deg) translateY(0); }
  50% { transform: rotateX(52deg) rotateZ(-31deg) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .coordinate-stack { animation: none !important; transform: rotateX(58deg) rotateZ(-38deg) !important; }
}
@media print {
  .coordinate-model { grid-template-columns: 34mm 1fr; break-inside: avoid; }
  .coordinate-stack { width: 30mm; height: 27mm; transform: rotateX(58deg) rotateZ(-38deg) !important; }
  .coordinate-layer { background: #fff !important; }
  .coordinate-layer i.selected { background: #000 !important; }
}

/* v0.3.9 · restored archive background, centered landing, compact language menu */
:root {
  --paper: #f4f3ee;
  --surface: #fbfaf6;
  --surface-soft: #eeece5;
  --shadow: 0 24px 72px rgba(31, 32, 29, 0.055);
}

html,
body,
.site-shell,
.rc2-intro,
.notice-layout,
.interview-layout,
.rc2-complete-layout,
.exhibition-layout,
.referral-layout {
  background: var(--paper);
}

.site-shell { background: var(--paper); }
.topbar { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 42px); }
.topbar-project { min-width: 0; justify-self: center; }
.topbar-project span { overflow: hidden; text-overflow: ellipsis; }

.language-menu {
  position: relative;
  justify-self: end;
  z-index: 30;
}
.language-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 142px;
  min-height: 40px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 680;
  list-style: none;
  cursor: pointer;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary i { font-style: normal; transition: transform .18s ease; }
.language-menu[open] summary i { transform: rotate(180deg); }
.language-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  width: min(360px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid var(--line-dark);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(23, 24, 22, .12);
}
.language-menu-panel button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.language-menu-panel button:hover,
.language-menu-panel button.active { color: var(--ink); background: var(--surface-soft); }
.language-menu-panel button b { color: var(--red); font-size: 8px; }

.rc2-intro { max-width: none; min-height: 0; padding: 0; }
.rc2-intro-main {
  width: min(1160px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 136px) 0 110px;
}
.intro-hero { text-align: center; }
.intro-hero .archive-label { justify-content: center; }
.rc2-intro h1 {
  max-width: 1100px;
  margin: 34px auto 24px;
  font-size: clamp(58px, 9.4vw, 126px);
  font-weight: 660;
  line-height: .98;
  letter-spacing: -.055em;
  text-align: center;
}
.rc2-intro .project-title {
  max-width: 900px;
  margin: 0 auto;
  color: var(--red);
  font-size: clamp(18px, 2.2vw, 27px);
  line-height: 1.42;
  text-align: center;
}
.rc2-intro .intro-copy {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 34px auto 0;
  color: #363832;
  font-size: clamp(15px, 1.55vw, 19px);
  line-height: 1.82;
  text-align: center;
  word-break: keep-all;
}
.rc2-intro .intro-copy p { margin: 0; }
.entry-route-grid { gap: 22px; margin: 66px 0 20px; text-align: left; }
.entry-route-card {
  min-height: 420px;
  padding: clamp(32px, 4vw, 54px);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.entry-route-card h2 { margin-top: 42px; }
.entry-route-note {
  max-width: 820px;
  margin: 22px auto 68px;
  color: var(--muted);
  text-align: center;
}
.research-journey { max-width: 1000px; margin: 0 auto 54px; text-align: left; }
.ai-role-note { max-width: 1000px; margin: 0 auto 54px; text-align: left; }
.intro-closing {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.intro-closing strong { font-size: 14px; }
.intro-closing p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.notice-main,
.notice-side,
.interview-panel,
.rc2-complete-main,
.exhibition-main,
.entry-route-card,
.participation-guide,
.choice,
.survey-actions {
  background: var(--surface);
}
.interview-panel,
.rc2-complete-main,
.exhibition-main { box-shadow: var(--shadow); }
.choice:hover,
.choice.selected { background: var(--surface-soft); }
.survey-actions {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}
.participation-guide { background: transparent; }

/* The participant record stays white; the surrounding site keeps the archive color. */
.response-document-sheet,
.response-document-sheet *,
.response-document-translation,
.response-document-metadata dt,
.response-document-header > strong {
  background: #fff !important;
}

@media (max-width: 980px) {
  .topbar-project span { display: none; }
  .rc2-intro-main { width: min(100% - 36px, 1160px); }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-areas: "brand language" "project project";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }
  .brand { grid-area: brand; justify-content: flex-start; min-width: 0; }
  .brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-project { grid-area: project; justify-self: start; }
  .language-menu { grid-area: language; }
  .language-menu summary { min-width: 116px; }
  .language-menu-panel { grid-template-columns: 1fr; width: min(270px, calc(100vw - 24px)); }
  .rc2-intro-main { width: min(100% - 24px, 1160px); padding-top: 58px; }
  .rc2-intro h1 { font-size: clamp(50px, 17vw, 82px); }
  .rc2-intro .intro-copy { text-align: center; }
  .entry-route-grid { margin-top: 46px; }
  .entry-route-card { min-height: auto; }
  .intro-closing { grid-template-columns: 1fr; gap: 9px; }
}

@media print {
  html,
  body,
  .response-document-final,
  .response-document-sheet,
  .response-document-sheet * { background: #fff !important; }
}


/* v0.4.0 · project-first header, balanced credits, sentence-based choice copy */
.project-brand .brand-mark {
  width: 42px;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  letter-spacing: -.02em;
}
.project-brand > span:last-child { font-weight: 720; text-transform: none; }
.intro-credit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1000px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.intro-credit-item {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 112px;
  padding: 20px 22px;
}
.intro-credit-item + .intro-credit-item { border-left: 1px solid var(--line); }
.intro-credit-item span { color: var(--red); font-size: 11px; font-weight: 720; }
.intro-credit-item strong { font-size: 14px; font-weight: 650; line-height: 1.55; word-break: keep-all; }
.rc2-intro h1 {
  max-width: 1080px;
  font-size: clamp(52px, 7vw, 94px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.entry-route-call-line { margin-bottom: -4px !important; color: var(--red) !important; font-weight: 700; }
.choice { align-items: flex-start; }
.choice > span { margin-top: 3px; }
.choice-copy { display: grid; gap: 5px; min-width: 0; }
.choice-copy strong { font-size: 15px; font-weight: 700; line-height: 1.45; }
.choice-copy small { display: block; color: var(--muted); font-size: 13px; font-weight: 450; line-height: 1.62; word-break: keep-all; }
.choice.selected .choice-copy small { color: #6d443d; }
.interview-meta { min-height: 44px; }

@media (max-width: 980px) {
  .intro-credit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-credit-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .intro-credit-item:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .intro-credit-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .intro-credit-item { min-height: auto; padding: 15px 4px; }
  .intro-credit-item + .intro-credit-item { border-left: 0; border-top: 1px solid var(--line); }
  .choice-copy strong { font-size: 14px; }
  .choice-copy small { font-size: 12.5px; }
}


/* v0.4.1 · judgement bridge, compact 4×4×4 coordinate, greeting relay */
.axis-bridge-note {
  max-width: 680px;
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.coordinate-model {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 16px 0 20px;
  padding: 16px 0;
}
.coordinate-symbol { display: grid; min-width: 112px; min-height: 78px; padding: 10px 18px; box-sizing: border-box; justify-items: start; align-items: center; gap: 8px; }
.coordinate-equation {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .02em;
}
.coordinate-equation b { color: var(--ink); font-size: 15px; }
.coordinate-equation em { margin-left: 4px; color: var(--red); font-style: normal; font-weight: 750; }
.coordinate-stack { width: 48px; height: 44px; margin: 0; }
.coordinate-layer { inset: 8px; gap: 1px; padding: 2px; --offset: calc(var(--layer) * -4px); transform: translate3d(var(--offset), var(--offset), calc(var(--layer) * 7px)); }
.coordinate-kicker { color: var(--red) !important; font-size: 11px; font-weight: 760; letter-spacing: .035em; }
.coordinate-model-copy { gap: 7px; }
.coordinate-model-copy strong { font-size: clamp(18px, 2.1vw, 25px); line-height: 1.3; }
.coordinate-model-copy p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.7; }
.coordinate-model-copy small { max-width: 680px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.response-document-section-coordinate,
.response-document-section-summary,
.response-document-section-promise { break-inside: avoid; }
.response-document-section-promise { margin-top: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.response-document-section-promise .response-document-section-head h3 { font-size: 12px; }
.response-document-section-promise .response-document-section-body p:last-child { margin-top: 10px; font-weight: 720; }

.rc2-greeting-hub {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  margin-top: 44px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line-dark);
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(238,236,229,.72));
  perspective: 1000px;
  overflow: hidden;
}
.rc2-greeting-hub::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(157,73,57,.18);
  border-radius: 50%;
}
.greeting-hub-copy { position: relative; z-index: 1; }
.greeting-hub-copy h2 { max-width: 700px; margin: 10px 0 14px; font-size: clamp(29px, 4.1vw, 48px); line-height: 1.15; word-break: keep-all; }
.greeting-hub-copy > p { max-width: 760px; margin: 0 0 14px; color: var(--muted); line-height: 1.75; }
.greeting-email-note { padding-top: 18px; border-top: 1px solid var(--line); }
.greeting-email-note strong { color: var(--ink); }
.greeting-email-note b { color: var(--red); font-weight: 700; }
.restart-action { justify-content: flex-end; margin-top: 22px; }

.greeting-object {
  position: relative;
  width: 126px;
  height: 92px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateX(9deg) rotateY(-13deg) rotateZ(-3deg);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.rc2-greeting-hub:hover .greeting-object,
.greeting-intro:hover .greeting-object { transform: rotateX(-4deg) rotateY(13deg) rotateZ(2deg) translateY(-7px); }
.greeting-object::before,
.greeting-object::after,
.greeting-object i,
.greeting-object b,
.greeting-object span { content: ""; position: absolute; display: block; }
.greeting-object::before { inset: 18px 6px 2px; border: 1px solid var(--ink); background: #fbfaf6; box-shadow: 10px 14px 30px rgba(31,32,29,.10); transform: translateZ(10px); }
.greeting-object::after { left: 7px; right: 7px; top: 19px; height: 43px; background: linear-gradient(32deg, transparent 49%, var(--ink) 50%, transparent 51%) left top / 50% 100% no-repeat, linear-gradient(-32deg, transparent 49%, var(--ink) 50%, transparent 51%) right top / 50% 100% no-repeat; transform: translateZ(13px); }
.greeting-object i { display: none; }
.greeting-object b { width: 78px; height: 58px; left: 24px; top: 0; border: 1px solid var(--red); background: #fff; transform: translateZ(-2px) rotateX(-7deg); box-shadow: 0 8px 18px rgba(31,32,29,.06); }
.greeting-object span { width: 7px; height: 7px; left: 60px; top: 55px; border-radius: 50%; background: var(--red); transform: translateZ(20px); }
.greeting-object-small { width: 92px; height: 68px; margin: 0; }
.greeting-object-small::before { inset: 14px 5px 2px; }
.greeting-object-small::after { left: 6px; right: 6px; top: 15px; height: 32px; }
.greeting-object-small b { width: 58px; height: 42px; left: 17px; }
.greeting-object-small span { left: 43px; top: 41px; }

.greeting-intro { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 26px; align-items: start; }
.greeting-intro h1 { margin-top: 12px !important; }
.receive-mail { background: rgba(238,236,229,.4); padding-left: 22px; padding-right: 22px; }
.email-delivery-card { display: grid; gap: 5px; margin: 22px 0 6px; padding: 20px; border: 1px solid var(--line-dark); background: #fff; }
.email-delivery-card > span { color: var(--red); font-size: 11px; font-weight: 760; letter-spacing: .04em; }
.email-delivery-card strong { font-size: 18px; }
.email-delivery-card code { width: fit-content; padding: 4px 7px; background: var(--surface-soft); color: var(--ink); font-family: inherit; font-size: 13px; }
.email-delivery-card p, .connection-email-required { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.message-route { display: grid; gap: 0; margin: 18px 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.message-route li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.message-route b { color: var(--red); font-size: 12px; }
.message-route span { line-height: 1.65; }

.letter-stage { position: relative; overflow: hidden; perspective: 1100px; }
.relay-envelope { position: absolute; top: 36px; right: 44px; width: 86px; height: 62px; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-18deg) rotateZ(3deg); opacity: .88; }
.relay-envelope::before, .relay-envelope::after, .relay-envelope i, .relay-envelope b, .relay-envelope span { content:""; position:absolute; display:block; }
.relay-envelope::before { inset: 12px 4px 1px; border: 1px solid var(--ink); background:#fff; transform:translateZ(7px); }
.relay-envelope::after { left:5px; right:5px; top:13px; height:31px; background:linear-gradient(32deg,transparent 49%,var(--ink) 50%,transparent 51%) left top/50% 100% no-repeat,linear-gradient(-32deg,transparent 49%,var(--ink) 50%,transparent 51%) right top/50% 100% no-repeat; transform:translateZ(10px); }
.relay-envelope i { display:none; }
.relay-envelope b { width:52px; height:38px; left:17px; top:0; border:1px solid var(--red); background:#fff; transform:translateZ(-2px); }
.relay-envelope span { width:6px; height:6px; left:40px; top:36px; border-radius:50%; background:var(--red); transform:translateZ(16px); }
.relay-reason { margin-top: 28px; padding: 16px 18px; border-left: 3px solid var(--red); background: var(--surface-soft); }
.relay-reason span { color: var(--red); font-size: 11px; font-weight: 760; }
.relay-reason > strong { display: block; margin-top: 9px; font-size: 15px; line-height: 1.6; }
.relay-reason p { margin: 7px 0 0; line-height: 1.7; }
.relay-letter { position: relative; padding: clamp(28px, 5vw, 46px); border: 1px solid var(--line-dark); background: #fffdf8; box-shadow: 0 18px 42px rgba(31,32,29,.08); transform: rotate(.25deg); }
.relay-letter::after { content:""; position:absolute; inset:8px; border:1px solid rgba(157,73,57,.12); pointer-events:none; }
.relay-letter p { font-size: clamp(17px,2.2vw,21px); line-height:1.85; }
.relay-trust { display:grid; gap:4px; margin-top:34px; padding-top:20px; border-top:1px solid var(--line); }
.relay-trust strong { font-size:13px; }
.relay-trust span { color:var(--red); font-size:13px; }
.relay-trust p { max-width:560px; margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
.relay-reason > small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.greeting-coordinate-map { display: grid; grid-template-columns: minmax(180px, 260px) minmax(140px, 1fr); gap: 20px; align-items: center; margin-top: 20px; }
.coordinate-grid { display: grid; grid-template-columns: repeat(8, 1fr); aspect-ratio: 1; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.coordinate-grid > span { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coordinate-grid > span i { position: absolute; inset: 50% auto auto 50%; width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.coordinate-grid > span.is-sender i { width: 9px; height: 9px; background: var(--red); }
.coordinate-grid > span.is-mine i { width: 11px; height: 11px; border: 2px solid var(--ink); background: #fff; }
.coordinate-grid > span.is-sender.is-mine i { width: 13px; height: 13px; border: 3px double var(--ink); background: var(--red); }
.coordinate-legend { display: grid; gap: 10px; }
.coordinate-legend span { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.coordinate-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.mine-dot { border: 2px solid var(--ink); background: #fff; }
.sender-dot { background: var(--red); }
.translation-toggle, .relay-withdraw { border: 0; border-bottom: 1px solid currentColor; background: transparent; padding: 4px 0; color: var(--red); cursor: pointer; font-size: 13px; }
.relay-translation { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.relay-translation > span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.relay-translation p { margin-bottom: 0; font-size: 16px; }
.relay-withdraw { margin-top: 24px; color: var(--muted); }
.relay-project-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border: 1px solid var(--line-dark); font-size: 13px; font-weight: 800; }

@media (max-width: 620px) {
  .greeting-coordinate-map { grid-template-columns: 1fr; }
  .coordinate-grid { width: min(100%, 280px); }
}

@media (max-width: 760px) {
  .coordinate-model { grid-template-columns: 1fr; }
  .coordinate-symbol { justify-items: start; }
  .coordinate-stack { width: 48px; height: 44px; margin: 0; }
  .rc2-greeting-hub { grid-template-columns: 1fr; }
  .greeting-object { margin: 0; }
  .greeting-intro { grid-template-columns: 1fr; }
  .greeting-object-small { display: none; }
  .relay-envelope { top: 22px; right: 18px; transform: scale(.72) rotateX(18deg) rotateY(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .greeting-object, .relay-envelope { transform: none !important; transition: none !important; animation: none !important; }
}

@media print {
  .rc2-greeting-hub, .greeting-intro, .email-delivery-card, .relay-envelope { box-shadow: none !important; transform: none !important; }
}

/* v0.4.2 · participant axis review, use scope, public-entry consistency */
.axis-review {
  display: grid;
  gap: 18px;
  margin: 30px 0 34px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--ink);
  background: rgba(255,255,255,.30);
}
.axis-review-intro { padding-bottom: 8px; }
.axis-review-intro > span,
.use-scope-section > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .065em;
}
.axis-review-intro h3,
.use-scope-section h3 { margin: 8px 0 7px; font-size: clamp(20px, 2.7vw, 30px); line-height: 1.3; }
.axis-review-intro p,
.use-scope-section > p { margin: 0; color: var(--muted); line-height: 1.7; }
.axis-review-card {
  display: grid;
  grid-template-columns: minmax(120px, .28fr) minmax(0, 1fr);
  gap: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.axis-review-card > div:first-child span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.axis-review-card > div:first-child strong { display: block; font-size: 18px; line-height: 1.4; }
.axis-review-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.axis-review-choice,
.use-scope-choice {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line-dark, #b8b4aa);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.axis-review-choice strong,
.use-scope-choice strong { display: block; margin-bottom: 6px; font-size: 15px; }
.axis-review-choice small,
.use-scope-choice small { display: block; color: var(--muted); font-size: 12px; line-height: 1.58; }
.axis-review-choice.selected,
.use-scope-choice.selected {
  border-color: var(--ink);
  background: #efede6;
  box-shadow: inset 4px 0 0 var(--ink);
}
.coordinate-data-note { margin-top: 5px; }
.coordinate-data-note summary { color: var(--muted); cursor: pointer; font-size: 12px; }
.coordinate-data-note small { display: block; margin-top: 8px; }
.submit-scope-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.7; }
.use-scope-section {
  margin: 26px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.use-scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.use-scope-choice { min-height: 112px; }
.use-scope-summary {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--ink);
  background: rgba(255,255,255,.32);
}
.use-scope-summary strong { font-size: 13px; }
.use-scope-summary p { margin: 7px 0 0; line-height: 1.65; }
.reflection-summary small { display: block; margin-top: 12px; color: var(--muted); line-height: 1.65; }

@media (hover: hover) and (pointer: fine) {
  .axis-review-choice:hover,
  .use-scope-choice:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 8px 20px rgba(31,32,29,.06); }
}
@media (max-width: 760px) {
  .axis-review-card { grid-template-columns: 1fr; gap: 12px; }
  .axis-review-options,
  .use-scope-grid { grid-template-columns: 1fr; }
  .axis-review-choice,
  .use-scope-choice { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .axis-review-choice,
  .use-scope-choice { transition: none !important; transform: none !important; }
}
@media print {
  .axis-review,
  .use-scope-section,
  .submit-scope-note { break-inside: avoid; }
  .axis-review-choice,
  .use-scope-choice { box-shadow: none !important; background: #fff !important; }
}

/* v0.5.0 · Stage 1 conversation, record, and contract-candidate surfaces */
.context-choice-groups {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.context-choice-group {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.2);
}
.context-choice-group + .context-choice-group { margin-top: -1px; }
.context-choice-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 0 4px;
  cursor: pointer;
  list-style: none;
}
.context-choice-group summary::-webkit-details-marker { display: none; }
.context-choice-group summary span { font-weight: 730; line-height: 1.45; }
.context-choice-group summary small { color: var(--muted); font-size: 12px; font-weight: 500; }
.context-choice-group .choice-list { padding: 2px 4px 12px; }
.context-selection-help { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.intro-ready-note {
  display: grid;
  gap: 4px;
  max-width: 620px;
  margin: 26px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
}
.intro-ready-note strong { font-size: 14px; line-height: 1.55; }
.intro-ready-note span { color: var(--muted); font-size: 12px; line-height: 1.55; }

.adaptive-previous-answer {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--ink);
  background: rgba(238,236,229,.62);
}
.adaptive-previous-answer > span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .04em;
}
.adaptive-previous-answer blockquote { margin: 0; font-size: 15px; line-height: 1.7; }
.adaptive-question { margin: 28px 0 0; }
.adaptive-question h3 { max-width: 760px; margin: 0; font-size: clamp(20px, 2.7vw, 28px); line-height: 1.42; letter-spacing: -.025em; }
.adaptive-question + .field-label { display: block; margin-top: 24px; }
.adaptive-question ~ .text-input { margin-top: 20px; }
.adaptive-question .ai-use-note { margin: 13px 0 0; }

.completion-boundary {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: 760px;
  margin: clamp(38px, 8vw, 88px) auto 0;
  padding: clamp(30px, 5vw, 58px) 0;
  text-align: center;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.completion-boundary h1 { margin: 0; font-size: clamp(32px, 5vw, 58px); line-height: 1.15; }
.completion-boundary .rc2-complete-lead { max-width: 650px; margin: 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.75; }
.participant-reference-card {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 19px 20px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.56);
}
.participant-reference-card span { color: var(--muted); font-size: 12px; }
.participant-reference-card code { display: block; margin: 8px 0; color: var(--ink); font-family: inherit; font-size: 21px; font-weight: 780; letter-spacing: .11em; }
.participant-reference-card strong { display: block; margin: 8px 0; color: var(--ink); font-size: 21px; font-weight: 780; letter-spacing: .11em; }
.participant-reference-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.saving-layout { max-width: 840px; min-height: 68vh; display: grid; place-items: center; margin: 0 auto; padding: 42px 18px; }
.saving-card { width: min(100%, 660px); padding: clamp(30px, 6vw, 64px); border: 1px solid var(--line-dark); background: #fff; text-align: center; }
.saving-card h1 { margin: 0; font-size: clamp(29px, 4.8vw, 50px); line-height: 1.2; }
.saving-card > p { max-width: 520px; margin: 18px auto 0; color: var(--muted); line-height: 1.7; }
.saving-card .survey-actions { margin: 28px -4px 0; padding: 0; }
.save-failed { border-color: var(--red); }

.greeting-notification-choice { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.greeting-notification-choice h3 { margin: 0 0 7px; font-size: 17px; }
.greeting-notification-choice p { margin: 0 0 14px; color: var(--muted); line-height: 1.65; }
.referral-parse-preview { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.55); }
.referral-parse-preview dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.referral-parse-preview dl div { min-width: 0; }
.referral-parse-preview dt { color: var(--muted); font-size: 12px; }
.referral-parse-preview dd { margin: 5px 0 0; font-size: 20px; font-weight: 760; }
.referral-parse-preview ul { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.referral-parse-preview li { overflow-wrap: anywhere; font-size: 13px; }
.relay-notification { display: grid; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.relay-notification h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.relay-notification > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.relay-notification > label:first-of-type { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.relay-notification .final-check { margin-top: 2px; }
.relay-notification .secondary-button { justify-self: start; margin-top: 3px; }

/* The 64-position model is a legible structure, not a tiny badge. */
.coordinate-model { grid-template-columns: 140px minmax(0, 1fr); align-items: center; }
.coordinate-symbol { min-width: 140px; min-height: 90px; padding: 4px 12px; justify-items: center; }
/* The stack is measured by its rotated outer edge in the browser. These base
   dimensions render as a legible 90–105px object without crossing its column. */
.coordinate-stack { width: 75px; height: 69px; margin: 0 auto; }
.coordinate-layer { inset: 12px; gap: 2px; padding: 3px; --offset: calc(var(--layer) * -8px); transform: translate3d(var(--offset), var(--offset), calc(var(--layer) * 12px)); }
.coordinate-equation { display: none; }

/* The document is deliberately text-led. The project mark stays elsewhere. */
.response-document-header { grid-template-columns: minmax(0, 1fr); gap: 0; }
.response-document-header > div { min-width: 0; }

@media (max-width: 760px) {
  .context-choice-group summary { min-height: 52px; }
  .adaptive-previous-answer { margin-top: 24px; padding: 15px; }
  .adaptive-question { margin-top: 24px; }
  .adaptive-question + .field-label { margin-top: 20px; }
  .completion-boundary { margin-top: 34px; padding: 32px 0; }
  .participant-reference-card { margin-top: 20px; }
  .referral-parse-preview dl { grid-template-columns: 1fr; gap: 8px; }
  .coordinate-model { grid-template-columns: 1fr; gap: 12px; }
  .coordinate-symbol { width: 100%; min-height: 86px; justify-items: center; }
  .coordinate-stack { width: 59px; height: 55px; }
  .coordinate-layer { inset: 10px; --offset: calc(var(--layer) * -6px); transform: translate3d(var(--offset), var(--offset), calc(var(--layer) * 10px)); }
  .response-document-header { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .coordinate-model:hover .coordinate-stack { transform: rotateX(58deg) rotateZ(-38deg) !important; }
}
@media print {
  .participant-reference-card { break-inside: avoid; }
  .response-document-header { grid-template-columns: minmax(0, 1fr); }
}
