/* MINDLINE / readable and accessible design system */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #f0f4fa;
  --ink: #14243b;
  --ink-soft: #44546a;
  --ink-muted: #61718a;
  --border: #d9e2ef;
  --blue: #2457cc;
  --blue-deep: #183c92;
  --blue-wash: #eaf0ff;
  --violet: #6654bb;
  --violet-wash: #f0edff;
  --teal: #0b776e;
  --teal-wash: #e3f6f2;
  --shadow: 0 20px 60px rgb(26 54 101 / 8%);
  --soft-shadow: 0 8px 24px rgb(26 54 101 / 6%);
  --radius: 20px;
  --radius-lg: 28px;
}

body.dark {
  --bg: #101928;
  --surface: #1b2940;
  --surface-alt: #253650;
  --ink: #f1f5fb;
  --ink-soft: #d4deea;
  --ink-muted: #b8c7dc;
  --border: #3a4c67;
  --blue: #9bbaff;
  --blue-deep: #b8cdff;
  --blue-wash: #273c60;
  --violet: #c7b7ff;
  --violet-wash: #382f55;
  --teal: #7ad8cc;
  --teal-wash: #204744;
  --shadow: 0 16px 50px rgb(0 0 0 / 22%);
  --soft-shadow: 0 8px 26px rgb(0 0 0 / 14%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue-deep); }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid #f6aa32; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 200; top: -70px; left: 12px; padding: 12px 18px; background: var(--surface); border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { top: 8px; }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(1120px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 15px;
  background: #244ac0;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.08em;
}
.brand-copy { display: flex; flex-direction: column; gap: 0; line-height: 1.3; }
.brand-copy strong { font-size: 16px; font-weight: 900; letter-spacing: .13em; }
.brand-copy small { font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-eyebrow { font-size: 11px; font-weight: 800; color: var(--ink-muted); letter-spacing: .19em; }
.header-link { text-decoration: none; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.header-link:hover { text-decoration: underline; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink);
  font-size: 23px;
  box-shadow: var(--soft-shadow);
}
.site-footer {
  margin: 45px auto 0;
  padding: 26px 20px 34px;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 12px;
  text-align: center;
}

.survey-main { width: min(850px, calc(100% - 48px)); margin: 38px auto 30px; }
.stage-container { width: 100%; }
.stage-card {
  position: relative;
  padding: clamp(30px, 5.5vw, 66px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stage-card > * { position: relative; z-index: 1; }
.stage-card.intro-card::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -220px;
  top: -220px;
  background: radial-gradient(circle, #dce7ff 0%, rgb(236 240 255 / 0%) 72%);
  pointer-events: none;
}
body.dark .stage-card.intro-card::before { background: radial-gradient(circle, #354c78 0%, transparent 72%); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5778dc; }
.intro-card h1 { max-width: 660px; margin: 24px 0 18px; font-size: clamp(34px, 5.2vw, 51px); font-weight: 900; letter-spacing: -.07em; line-height: 1.32; word-break: keep-all; }
.intro-card h1 em { font-style: normal; color: var(--blue); }
.intro-lead { max-width: 630px; font-size: clamp(16px, 2vw, 19px); line-height: 1.85; color: var(--ink-soft); word-break: keep-all; }
.intro-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 34px 0 28px; }
.intro-stat {
  padding: 17px 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
}
.intro-stat strong { display: block; color: var(--ink); font-size: 22px; font-weight: 900; line-height: 1.4; }
.intro-stat span { color: var(--ink-muted); font-size: 12px; font-weight: 600; word-break: keep-all; }
.form-label { display: block; margin-bottom: 9px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.form-label span { color: var(--ink-muted); font-weight: 500; }
.name-input {
  display: block;
  width: min(100%, 460px);
  min-height: 58px;
  padding: 14px 17px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
}
.name-input::placeholder { color: var(--ink-muted); }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.button-primary, .button-secondary, .button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 12px 23px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button-primary { border: 1px solid #244ac0; background: #244ac0; color: #fff; box-shadow: 0 8px 22px rgb(36 74 192 / 20%); }
.button-primary:hover { background: #173baf; transform: translateY(-1px); }
.button-primary:disabled { opacity: .5; box-shadow: none; transform: none; }
.button-secondary { border: 1.5px solid var(--border); background: var(--surface); color: var(--ink); }
.button-secondary:hover { background: var(--surface-alt); }
.button-ghost { border: 1px solid transparent; background: transparent; color: var(--ink-soft); }
.button-ghost:hover { background: var(--surface-alt); }
.button-primary:focus-visible, .button-secondary:focus-visible, .button-ghost:focus-visible { outline-offset: 4px; }
.privacy-note {
  max-width: 690px;
  margin: 30px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--teal);
  border-radius: 8px 12px 12px 8px;
  background: var(--teal-wash);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}
.status-note { margin: 14px 0 0; color: var(--ink-muted); font-size: 13px; }
.error-note { margin: 14px 0; padding: 13px 15px; border-radius: 10px; color: #a32a31; background: #fff0ef; font-size: 14px; }
body.dark .error-note { color: #ffd2d2; background: #562d34; }

.survey-progress { margin: 0 0 20px; padding: 0 6px; }
.survey-progress[hidden] { display: none; }
.progress-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.progress-heading-label { color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.progress-heading strong { color: var(--blue-deep); font-size: 16px; font-weight: 900; white-space: nowrap; }
.progress-separator { margin: 0 3px; color: var(--ink-muted); font-weight: 400; }
.progress-track { height: 9px; border-radius: 999px; background: var(--border); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, #294ec4, #697be6); border-radius: inherit; transition: width .22s ease; }
.progress-caption { margin: 10px 0 0; color: var(--ink-muted); font-size: 12px; }
.question-card { padding-top: clamp(32px, 4vw, 55px); padding-bottom: clamp(25px, 4vw, 42px); }
.question-count { margin: 0 0 19px; color: var(--blue); font-size: 13px; letter-spacing: .12em; font-weight: 900; }
.question-text { margin: 0 0 33px; max-width: 650px; color: var(--ink); font-size: clamp(24px, 3.5vw, 34px); line-height: 1.55; font-weight: 800; letter-spacing: -.045em; word-break: keep-all; overflow-wrap: anywhere; }
.question-help { margin: -17px 0 20px; color: var(--ink-muted); font-size: 14px; }
.choice-list { display: grid; grid-template-columns: 1fr; gap: 13px; }
.choice-option {
  display: grid;
  grid-template-columns: 46px 1fr 27px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 92px;
  padding: 18px 22px;
  border: 2px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.choice-option:hover { border-color: #7291e4; background: var(--blue-wash); transform: translateY(-1px); }
.choice-option[aria-pressed="true"] { border-color: #345ed0; background: var(--blue-wash); }
.choice-key {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--blue-deep);
  font-size: 17px;
  font-weight: 900;
}
.choice-option[aria-pressed="true"] .choice-key { background: #2b53c4; color: #fff; }
.choice-label { font-size: clamp(16px, 2vw, 19px); font-weight: 600; line-height: 1.65; word-break: keep-all; }
.choice-check { color: var(--ink-muted); font-size: 19px; text-align: center; }
.choice-option[aria-pressed="true"] .choice-check { color: var(--blue); font-weight: 900; }
.question-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 28px; border-top: 1px solid var(--border); padding-top: 22px; }
.key-hint { margin: 0; color: var(--ink-muted); font-size: 12px; }
.question-footer .button-secondary { min-height: 46px; padding: 8px 17px; }
.question-footer .button-primary { min-height: 48px; }
.finish-prompt { margin: 18px 0 0; font-size: 13px; font-weight: 700; color: var(--teal); }
.complete-card { text-align: center; }
.complete-card h1 { font-size: clamp(27px,4vw,38px); }
.complete-card .action-row { justify-content: center; }

/* Report layout */
.report-shell { width: min(1080px, calc(100% - 48px)); margin: 25px auto 70px; }
.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #142a60 0%, #283c80 58%, #514c98 100%);
  color: #fff;
  box-shadow: 0 20px 60px rgb(14 38 102 / 18%);
  overflow: hidden;
}
.report-hero .eyebrow { color: #c9d6ff; }
.report-hero .eyebrow::before { background: #9ac9ff; }
.report-hero h1 { margin: 14px 0; font-size: clamp(32px, 5.5vw, 56px); line-height: 1.25; letter-spacing: -.055em; }
.report-hero h1 strong { color: #d4ddff; }
.report-hero .hero-subtitle { max-width: 650px; color: #e2e8ff; font-size: clamp(15px,1.8vw,18px); line-height: 1.82; word-break: keep-all; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero-meta span { border: 1px solid rgb(255 255 255 / 32%); border-radius: 999px; padding: 6px 12px; color: #fff; font-size: 12px; font-weight: 700; }
.hero-monogram { display: grid; place-items: center; width: clamp(126px, 18vw, 190px); height: clamp(126px, 18vw, 190px); border: 1px solid rgb(255 255 255 / 28%); border-radius: 28px; background: rgb(255 255 255 / 11%); font-size: clamp(43px,6.5vw,72px); font-weight: 900; letter-spacing: -.08em; }
.report-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 21px 0 18px; }
.report-toolbar p { margin: 0; color: var(--ink-muted); font-size: 13px; }
.toolbar-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.toolbar-actions .button-secondary, .toolbar-actions .button-primary { min-height: 44px; padding: 9px 15px; border-radius: 11px; font-size: 13px; }
.report-nav { display: flex; gap: 9px; overflow-x: auto; padding: 2px 1px 13px; margin-bottom: 25px; scrollbar-width: thin; }
.report-nav a { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 999px; padding: 9px 15px; background: var(--surface); text-decoration: none; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.report-nav a:hover { border-color: var(--blue); color: var(--blue-deep); }
.report-section { margin: 0 0 23px; padding: clamp(22px,3.7vw,39px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--soft-shadow); scroll-margin-top: 24px; }
.section-heading { margin-bottom: 23px; }
.section-num { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.section-heading h2 { margin: 6px 0 8px; font-size: clamp(22px,2.7vw,30px); font-weight: 900; line-height: 1.4; letter-spacing: -.035em; }
.section-heading p { max-width: 800px; margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.75; }
.note-inline { color: var(--ink-soft); font-size: 13px; }

.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.score-card { padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-alt); }
.score-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.score-top strong { color: var(--ink); font-size: 16px; font-weight: 900; }
.score-level { padding: 4px 9px; border-radius: 99px; background: var(--blue-wash); color: var(--blue-deep); font-size: 11px; font-weight: 800; }
.scale-rail { display: flex; width: 100%; height: 13px; border-radius: 999px; overflow: hidden; background: var(--border); }
.scale-left { background: #315ed3; }
.scale-right { background: #a59be2; }
.scale-poles { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.scale-poles strong { color: var(--ink); font-size: 15px; }
.score-count { margin: 13px 0 0; color: var(--ink-muted); font-size: 12px; }
.insight-callout { margin: 21px 0 0; padding: 16px 19px; border-radius: 13px; background: var(--blue-wash); color: var(--ink-soft); font-size: 13px; line-height: 1.8; }

.trait-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin: 0; padding: 0; list-style: none; }
.trait { padding: 22px; border: 1px solid var(--border); border-radius: 17px; background: var(--surface-alt); min-width: 0; }
.trait-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.trait-header strong { font-size: 18px; font-weight: 900; }
.trait-header span { padding: 3px 8px; border-radius: 9px; color: var(--blue-deep); background: var(--blue-wash); font-size: 12px; font-weight: 700; }
.trait-summary { margin: 0 0 14px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.trait-labels { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.trait-labels b { color: var(--ink); }
.trait-bar-wrap { position: relative; height: 10px; width: 100%; margin: 10px 0 19px; background: var(--border); border-radius: 999px; overflow: hidden; }
.center-line { position: absolute; z-index: 2; left: 50%; width: 2px; height: 100%; background: var(--surface); }
.trait-bar { position: absolute; z-index: 1; top: 0; bottom: 0; background: #426bda; }
.trait-bar.left { right: 50%; border-radius: 999px 0 0 999px; }
.trait-bar.right { left: 50%; border-radius: 0 999px 999px 0; background: #8775c9; }
.trait-details { display: grid; gap: 10px; margin: 0; }
.trait-details > div { padding-top: 10px; border-top: 1px dashed var(--border); }
.trait-details dt { color: var(--blue-deep); font-size: 12px; font-weight: 900; }
.trait-details dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.78; }

.context-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.context-card { min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-alt); }
.context-card .context-num { color: var(--violet); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.context-card h3 { margin: 6px 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -.035em; }
.context-card ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.context-card li { position: relative; padding-left: 16px; color: var(--ink-soft); font-size: 13px; line-height: 1.75; word-break: keep-all; }
.context-card li::before { content: ""; position: absolute; top: 11px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.values-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.value-card { padding: 20px; border-radius: 13px; background: var(--surface-alt); }
.value-card span { color: var(--blue-deep); font-size: 13px; font-weight: 900; }
.value-card p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.type-description { padding: 16px 20px; margin: 0 0 19px; border-radius: 13px; background: var(--violet-wash); color: var(--ink-soft); font-size: 15px; font-weight: 600; line-height: 1.8; }
.compat-card { margin-top: 22px; padding: 18px 21px; border: 1px solid var(--border); border-radius: 14px; }
.compat-card h3 { margin: 0 0 6px; font-size: 17px; }
.compat-card p { margin: 0 0 11px; color: var(--ink-soft); font-size: 13px; }
.type-chip { display: inline-flex; padding: 6px 11px; margin: 4px 5px 4px 0; background: var(--blue-wash); border-radius: 8px; color: var(--blue-deep); font-size: 12px; font-weight: 800; }
.compat-card .type-chip.alt { background: var(--violet-wash); color: var(--violet); }
.compat-card h4 { margin: 12px 0 2px; color: var(--ink-soft); font-size: 13px; }

.reflection-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.reflection-item { padding: 22px; border: 1px solid var(--border); border-radius: 14px; }
.reflection-item span { color: var(--blue); font-size: 12px; font-weight: 800; }
.reflection-item p { margin: 8px 0 0; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.72; }
.experiment-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: experiment; }
.experiment-list li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; align-items: center; padding: 15px; background: var(--teal-wash); border-radius: 13px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.experiment-list li::before { counter-increment: experiment; content: counter(experiment, decimal-leading-zero); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--teal); background: var(--surface); font-size: 12px; font-weight: 900; }

.answer-details { margin-top: 20px; }
.answer-details summary { cursor: pointer; padding: 15px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-alt); color: var(--ink); font-weight: 800; }
.answer-details[open] summary { margin-bottom: 16px; }
.answer-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.answer-row { display: grid; grid-template-columns: 43px minmax(0,1fr); gap: 12px; padding: 13px 12px; border-bottom: 1px solid var(--border); }
.answer-row .num { color: var(--ink-muted); font-size: 12px; font-weight: 800; }
.answer-row p { margin: 0; font-size: 13px; }
.answer-row .selected-option { color: var(--blue-deep); font-weight: 800; }
.answer-row .question-copy { color: var(--ink-soft); }
.method-list { display: grid; gap: 10px; margin: 0; padding: 0 0 0 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.method-list li { padding-left: 4px; }
.empty-state { padding: 60px 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: center; }
.empty-state h1 { margin: 0 0 12px; font-size: 27px; }
.empty-state p { color: var(--ink-soft); }
.empty-state .button-primary { margin-top: 12px; }
.loading-state { text-align: center; padding: 70px 15px; color: var(--ink-muted); }

/* Small devices: natural document scrolling, no clipped panels */
@media (max-width: 700px) {
  .site-header { width: calc(100% - 32px); min-height: 74px; }
  .brand-mark { width: 41px; height: 41px; border-radius: 13px; }
  .header-eyebrow { display: none; }
  .header-actions { gap: 8px; }
  .header-link { font-size: 12px; }
  .survey-main { width: calc(100% - 26px); margin: 18px auto 16px; }
  .stage-card { padding: 27px 21px; border-radius: 21px; }
  .intro-card h1 { margin-top: 20px; font-size: clamp(31px, 8vw, 42px); }
  .intro-stats { gap: 6px; }
  .intro-stat { padding: 11px 9px; border-radius: 12px; }
  .intro-stat strong { font-size: 17px; }
  .intro-stat span { font-size: 11px; }
  .action-row .button-primary { flex: 1 1 100%; }
  .survey-progress { padding: 0 8px; margin-bottom: 15px; }
  .progress-heading-label { font-size: 12px; }
  .question-text { margin-bottom: 30px; font-size: clamp(23px,6.6vw,29px); }
  .choice-option { min-height: 94px; padding: 15px; grid-template-columns: 42px minmax(0,1fr) 21px; gap: 10px; }
  .choice-label { font-size: 16px; }
  .choice-key { width: 40px; height: 40px; }
  .key-hint { width: 100%; order: 3; }
  .report-shell { width: calc(100% - 26px); margin: 13px auto 42px; }
  .report-hero { padding: 30px 24px; grid-template-columns: minmax(0,1fr); }
  .hero-monogram { display: none; }
  .report-section { padding: 25px 19px; }
  .score-grid, .trait-list, .context-grid, .values-grid, .reflection-grid { grid-template-columns: 1fr; }
  .report-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-actions .button-secondary { flex: 1 1 auto; }
  .report-hero h1 { font-size: 37px; }
}
@media (max-width: 355px) {
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 10px; }
  .header-link { display: none; }
  .intro-stats { grid-template-columns: 1fr; }
  .intro-stat { display: flex; align-items: center; gap: 12px; }
}
@media (min-width: 900px) {
  .stage-card { padding-left: 70px; padding-right: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  @page { margin: 15mm; size: A4; }
  html { scroll-behavior: auto; }
  body, body.dark {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f0f4fa;
    --ink: #14243b;
    --ink-soft: #44546a;
    --ink-muted: #61718a;
    --border: #d9e2ef;
    --blue: #2457cc;
    --blue-deep: #183c92;
    --blue-wash: #eaf0ff;
    --violet: #6654bb;
    --violet-wash: #f0edff;
    --teal: #0b776e;
    --teal-wash: #e3f6f2;
    background: white !important;
    color: #14243b !important;
    font-size: 11pt;
  }
  .site-header, .site-footer, .report-toolbar, .report-nav, .skip-link { display: none !important; }
  .report-shell { width: 100%; margin: 0; }
  .report-hero { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; break-inside: avoid; }
  .report-section { border: 1px solid #d9e2ef; box-shadow: none; break-inside: auto; margin-top: 16px; }
  .score-card, .trait, .context-card, .value-card, .reflection-item, .compat-card { break-inside: avoid; }
  .score-grid, .trait-list, .context-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .method-list, .score-count { color: #44546a; }
  .answer-details:not([open]) { display: none; }
}
