:root {
  --ink: #111111;
  --ink-soft: #2d2b27;
  --paper: #f5f1e8;
  --paper-light: #fbf9f4;
  --white: #ffffff;
  --yellow: #f9c61c;
  --yellow-light: #ffd34a;
  --muted: #6f6a61;
  --line: #d9d2c5;
  --control-line: #777169;
  --gold-text: #6f5400;
  --danger: #9f2f23;
  --success: #226647;
  --shadow: 0 22px 70px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--yellow);
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

#app:focus:not(:focus-visible) {
  outline: none;
}

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

.loading-panel {
  min-height: 520px;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 94px;
  padding: 18px clamp(24px, 4.5vw, 68px);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  appearance: none;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-name {
  margin-left: 0.25em;
}

.header-meta {
  min-height: 54px;
  padding: 12px 20px;
  border: 1px solid rgba(249, 198, 28, 0.9);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  white-space: nowrap;
}

.clock {
  position: relative;
  width: 25px;
  height: 25px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.clock::before,
.clock::after {
  position: absolute;
  left: 50%;
  top: 50%;
  content: "";
  width: 2px;
  border-radius: 99px;
  background: currentColor;
  transform-origin: 50% 100%;
}

.clock::before {
  height: 7px;
  transform: translate(-50%, -100%);
}

.clock::after {
  height: 6px;
  transform: translate(-50%, -100%) rotate(125deg);
}

.hero {
  position: relative;
  min-height: 730px;
  padding: clamp(68px, 7vw, 100px) clamp(24px, 4.8vw, 72px) 76px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 60%),
    var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
}

.hero-copy,
.style-card {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 690px;
  animation: rise-in 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin-top: 14px;
  background: var(--yellow);
}

.hero h1,
.result-hero h1 {
  max-width: 680px;
  margin: 27px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.25vw, 80px);
  line-height: 0.99;
  letter-spacing: -0.052em;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.5;
}

.primary-cta,
.primary-button,
.secondary-button,
.text-button,
.restart-link {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.primary-cta {
  width: min(100%, 368px);
  min-height: 76px;
  margin-top: 38px;
  padding: 18px 25px 18px 32px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(173, 128, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 25px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.primary-cta:hover {
  background: var(--yellow-light);
  box-shadow: 0 16px 34px rgba(173, 128, 0, 0.23);
  transform: translateY(-2px);
}

.primary-cta:active {
  transform: scale(0.985);
}

.primary-cta .arrow {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.primary-cta:hover .arrow {
  transform: translateX(5px);
}

.restart-link {
  margin: 15px 0 0;
  padding: 3px 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.instant-result {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 18px;
}

.check-circle {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.style-card {
  width: 100%;
  max-width: 500px;
  justify-self: center;
  padding: 40px 44px 26px;
  border: 1px solid #242424;
  border-radius: 22px;
  background: linear-gradient(145deg, #151515, #080808);
  color: var(--white);
  box-shadow: var(--shadow);
  animation: card-in 480ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.style-card h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.035em;
}

.style-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.style-card li {
  min-height: 70px;
  border-bottom: 1px solid rgba(249, 198, 28, 0.82);
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: clamp(17px, 1.5vw, 22px);
}

.style-card li:last-child {
  border-bottom: 0;
}

.style-number {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
}

.hero-decoration {
  position: absolute;
  z-index: 1;
  right: -230px;
  top: -10px;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: var(--yellow);
  animation: float 8s ease-in-out infinite;
}

.hero-decoration::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transform: translate(-50%, -50%);
}

.intro-details {
  padding: 92px clamp(24px, 5vw, 76px) 106px;
  background: var(--white);
}

.intro-details > div:first-child {
  max-width: 1250px;
  margin: 0 auto 43px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.intro-details h2,
.section-heading h2,
.combination-panel h2,
.development-section h2,
.underused-panel h2 {
  margin: 11px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.detail-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-grid article {
  min-height: 265px;
  padding: 34px;
  background: var(--paper-light);
}

.detail-grid article > span {
  color: var(--gold-text);
  font-size: 15px;
  font-weight: 800;
}

.detail-grid h3 {
  margin: 38px 0 14px;
  font-size: 22px;
}

.detail-grid p,
.disclaimer-band p,
.quiz-tip p,
.question-heading > p,
.result-intro,
.combination-panel > p,
.style-interpretation > p,
.style-interpretation dd,
.underused-panel p,
.method-note p,
.result-actions p {
  color: var(--muted);
  line-height: 1.65;
}

.detail-grid p {
  margin: 0;
  font-size: 16px;
}

.disclaimer-band {
  padding: 42px clamp(24px, 5vw, 76px);
  background: var(--yellow);
  display: grid;
  grid-template-columns: minmax(230px, 0.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.disclaimer-band strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1.1;
}

.disclaimer-band p {
  max-width: 900px;
  margin: 0;
  color: var(--ink-soft);
}

.quiz-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 58px clamp(20px, 4.5vw, 68px) 100px;
  display: grid;
  grid-template-columns: 260px minmax(0, 850px);
  justify-content: center;
  gap: clamp(40px, 6vw, 90px);
}

.quiz-sidebar {
  position: sticky;
  top: 32px;
  height: max-content;
  padding-top: 15px;
}

.step-count {
  margin: 16px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.step-count strong {
  font-size: 54px;
  line-height: 1;
}

.progress-track,
.score-track {
  overflow: hidden;
  background: #ded8cc;
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 99px;
}

.progress-track span,
.score-track span {
  display: block;
  height: 100%;
  background: #5d4800;
  transition: width 250ms ease;
}

.progress-copy {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quiz-tip {
  margin-top: 42px;
  padding: 23px;
  border-left: 4px solid var(--yellow);
  background: var(--paper-light);
}

.quiz-tip strong {
  display: block;
  margin-bottom: 8px;
}

.quiz-tip p {
  margin: 0;
  font-size: 14px;
}

.question-sheet {
  min-width: 0;
}

.question-heading {
  margin-bottom: 33px;
}

.question-heading h1 {
  margin: 13px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 57px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.question-heading > p {
  max-width: 680px;
  margin: 0;
  font-size: 17px;
}

.question-heading .scale-instruction {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.questions {
  display: grid;
  gap: 18px;
}

.question-card {
  min-width: 0;
  margin: 0;
  padding: 27px 30px 23px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.question-card.is-answered {
  border-color: #b89a31;
  background: var(--white);
  box-shadow: 0 9px 30px rgba(17, 17, 17, 0.055);
}

.question-card legend {
  width: 100%;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.question-card legend > span {
  display: inline-block;
  min-width: 44px;
  color: var(--gold-text);
  font-size: 13px;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

.scale-row {
  margin-top: 21px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.scale-row label {
  position: relative;
  min-height: 52px;
  border: 1px solid var(--control-line);
  border-radius: 10px;
  background: var(--paper-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.scale-row label:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.scale-row label.is-selected {
  border-color: var(--ink);
  background: var(--yellow);
}

.scale-row input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.scale-row input:focus-visible + .scale-number {
  outline: 3px solid var(--ink);
  outline-offset: 8px;
  border-radius: 3px;
}

.scale-number {
  font-size: 18px;
  font-weight: 800;
  pointer-events: none;
}

.scale-extremes {
  margin-top: 9px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.validation-message {
  margin: 22px 0 0;
  padding: 15px 18px;
  border-left: 4px solid var(--danger);
  background: #fff0ec;
  color: #762017;
  font-weight: 700;
}

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

.primary-button,
.secondary-button,
.text-button {
  min-height: 54px;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.primary-button:hover {
  background: var(--yellow-light);
  transform: translateY(-1px);
}

.secondary-button {
  border: 1px solid var(--ink);
  background: transparent;
}

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

.text-button {
  padding-inline: 8px;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
}

.result-page {
  padding-bottom: 100px;
}

.print-meta {
  display: none;
}

.result-hero {
  padding: 70px clamp(24px, 6vw, 92px) 76px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.result-hero .eyebrow {
  color: var(--white);
}

.result-hero h1 {
  margin-bottom: 25px;
  font-size: clamp(48px, 5.2vw, 76px);
}

.result-hero h1 span {
  display: block;
  color: var(--yellow);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.result-hero h1.many-leading span {
  margin-top: 8px;
  font-size: 0.64em;
  line-height: 1.08;
}

.result-intro {
  max-width: 760px;
  color: #d6d0c5;
  font-size: 19px;
}

.result-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-tags span {
  padding: 9px 13px;
  border: 1px solid #55514b;
  border-radius: 99px;
  color: #e5dfd5;
  font-size: 13px;
}

.top-score {
  width: 190px;
  height: 190px;
  flex: 0 0 190px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 50px;
}

.top-score strong {
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  line-height: 1;
}

.top-score span {
  color: #cfc8bb;
  font-size: 18px;
}

.profile-overview,
.interpretation-grid,
.situational-section,
.development-section,
.underused-panel,
.pattern-note,
.experiment-section,
.pilot-section,
.result-actions,
.method-note {
  width: min(1250px, calc(100% - 48px));
  margin-inline: auto;
}

.profile-overview {
  margin-top: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.chart-panel {
  min-width: 0;
}

.radar-chart {
  width: min(100%, 500px);
  height: auto;
  margin: 25px auto 0;
  display: block;
  overflow: visible;
}

.radar-grid {
  fill: none;
  stroke: #cfc7b9;
  stroke-width: 1;
}

.radar-axis {
  stroke: #d8d0c3;
  stroke-width: 1;
}

.radar-result {
  fill: rgba(249, 198, 28, 0.42);
  stroke: #b18700;
  stroke-width: 3;
}

.radar-dot {
  fill: var(--ink);
  stroke: var(--yellow);
  stroke-width: 3;
}

.radar-label {
  fill: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.score-list {
  display: grid;
  gap: 21px;
}

.score-list article {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.score-line {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 17px;
  font-weight: 700;
}

.score-line strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.score-track {
  width: 100%;
  height: 9px;
  border-radius: 99px;
}

.score-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.combination-panel {
  margin: 94px 0 0;
  padding: 72px clamp(24px, 8vw, 120px);
  background: var(--yellow);
}

.combination-panel > p {
  max-width: 870px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.combination-panel > div {
  max-width: 900px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(17, 17, 17, 0.35);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  line-height: 1.55;
}

.interpretation-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.style-interpretation {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.interpretation-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interpretation-title strong {
  color: #a47c00;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  letter-spacing: -0.03em;
}

.style-interpretation h2 {
  margin: 24px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.style-interpretation > p {
  min-height: 86px;
  margin: 0;
}

.style-interpretation dl {
  margin: 30px 0 0;
}

.style-interpretation dl > div {
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.style-interpretation dt {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.style-interpretation dd {
  margin: 0;
  font-size: 15px;
}

.situational-section {
  margin-top: 80px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--white);
}

.situational-section h2,
.pilot-section h2 {
  margin: 11px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.situational-section .section-heading > p:last-child {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.challenge-selector {
  max-width: 720px;
  margin-top: 30px;
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.challenge-selector select {
  width: 100%;
  min-height: 54px;
  padding: 12px 44px 12px 15px;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  background: var(--paper-light);
  color: var(--ink);
}

.challenge-guidance {
  margin-top: 28px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--ink);
  border-left: 7px solid var(--yellow);
  background: var(--paper-light);
}

.challenge-label {
  margin: 0 0 8px;
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.challenge-guidance h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.035em;
}

.challenge-guidance > div:first-child > p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

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

.challenge-styles > div {
  padding: 17px 19px;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.challenge-styles span {
  font-weight: 800;
}

.challenge-styles strong {
  color: #8a6800;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.guidance-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.guidance-grid > div {
  padding-top: 19px;
  border-top: 2px solid var(--ink);
}

.guidance-grid p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.guidance-caveat {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.challenge-placeholder {
  max-width: 720px;
  margin: 26px 0 0;
  padding: 20px;
  border: 1px dashed var(--control-line);
  color: var(--muted);
  line-height: 1.55;
}

.development-section {
  margin-top: 92px;
}

.development-section ol {
  margin: 39px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.development-section li {
  min-height: 102px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  align-items: center;
}

.development-section li > span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.development-section li p {
  max-width: 900px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.underused-panel {
  margin-top: 82px;
  padding: 43px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 60px;
  background: var(--white);
}

.underused-panel > div:last-child {
  padding-left: 44px;
  border-left: 1px solid var(--line);
}

.underused-panel p {
  margin: 0 0 18px;
}

.underused-panel strong {
  display: block;
  margin-bottom: 6px;
}

.underused-panel h2 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.pattern-note {
  margin-top: 28px;
  padding: 27px 32px;
  border-left: 5px solid var(--success);
  background: #eef7f2;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.pattern-note > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.pattern-note h2 {
  margin: 2px 0 7px;
  font-size: 19px;
}

.pattern-note p {
  margin: 0;
  color: #3e5d4d;
  line-height: 1.55;
}

.pattern-attention,
.pattern-warning {
  border-left-color: #a66a00;
  background: #fff6d8;
}

.pattern-attention p,
.pattern-warning p {
  color: #6f5319;
}

.experiment-section {
  margin-top: 80px;
  padding: 43px;
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.experiment-section h2 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.04em;
}

.experiment-section > div:first-child > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.experiment-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.experiment-grid label {
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.experiment-grid textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.45;
}

.coach-questions {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.coach-questions ol {
  margin: 12px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.pilot-section {
  margin-top: 80px;
  padding: 43px;
  border: 1px solid var(--line);
  background: #eee6d6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 58px;
  align-items: start;
}

.pilot-section > div:first-child > p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.pilot-controls {
  display: grid;
  gap: 12px;
}

.pilot-controls label {
  display: grid;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
}

.pilot-controls input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.pilot-controls .primary-button {
  width: 100%;
  margin-top: 5px;
}

.privacy-note,
.export-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.privacy-note {
  color: var(--muted);
}

.export-status {
  color: var(--success);
  font-weight: 800;
}

.result-actions {
  margin-top: 80px;
  padding: 43px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.result-actions h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
}

.result-actions p {
  max-width: 640px;
  margin: 0;
  color: #c9c3b9;
}

.result-actions > div:last-child {
  min-width: 250px;
  display: grid;
  gap: 10px;
}

.result-actions .secondary-button {
  border-color: #777169;
  color: var(--white);
}

.result-actions .secondary-button:hover {
  background: var(--white);
  color: var(--ink);
}

.result-actions .text-button {
  color: #c9c3b9;
}

.copy-status {
  margin-top: 13px !important;
  color: var(--yellow) !important;
  font-weight: 700;
}

.method-note {
  margin-top: 42px;
  padding: 34px 43px;
  border: 1px solid var(--line);
}

.method-note h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.method-grid > div {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.method-grid strong {
  font-size: 14px;
}

.method-note p {
  margin: 9px 0 0;
  font-size: 14px;
}

.method-caveat {
  margin-top: 25px !important;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer {
  min-height: 88px;
  padding: 25px clamp(24px, 4.5vw, 68px);
  background: #080808;
  color: #bcb6ac;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 13px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.75fr);
    gap: 40px;
  }

  .style-card {
    padding-inline: 28px;
  }

  .profile-overview {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .score-list {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 82px;
  }

  .header-meta {
    min-height: 46px;
    padding: 9px 13px;
    font-size: 13px;
  }

  .clock {
    width: 21px;
    height: 21px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: none;
  }

  .style-card {
    max-width: 620px;
    justify-self: start;
  }

  .hero-decoration {
    right: -440px;
    top: 280px;
  }

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

  .detail-grid article {
    min-height: auto;
  }

  .disclaimer-band {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quiz-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quiz-sidebar {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 28px;
    align-items: center;
  }

  .quiz-sidebar > .section-kicker,
  .quiz-tip {
    display: none;
  }

  .step-count {
    grid-row: 1 / 3;
    margin: 0;
  }

  .progress-track {
    align-self: end;
  }

  .progress-copy {
    align-self: start;
  }

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

  .experiment-grid,
  .method-grid,
  .guidance-grid {
    grid-template-columns: 1fr;
  }

  .style-interpretation > p {
    min-height: 0;
  }

  .underused-panel {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .underused-panel > div:last-child {
    padding: 25px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pilot-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .result-actions > div:last-child {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 20px;
  }

  .brand {
    max-width: 150px;
    text-align: left;
    font-size: 20px;
    line-height: 1.05;
  }

  .header-meta {
    gap: 6px;
  }

  .header-meta .clock,
  .header-meta span:nth-of-type(2),
  .header-meta span:nth-of-type(3) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 20px 65px;
  }

  .hero h1,
  .result-hero h1 {
    font-size: clamp(36px, 12vw, 46px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .primary-cta {
    min-height: 68px;
    font-size: 21px;
  }

  .style-card {
    padding: 31px 24px 20px;
  }

  .style-card li {
    min-height: 62px;
  }

  .style-number {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .intro-details {
    padding: 68px 20px;
  }

  .intro-details > div:first-child {
    align-items: start;
    flex-direction: column;
  }

  .quiz-layout {
    padding: 38px 16px 70px;
  }

  .quiz-sidebar {
    grid-template-columns: 102px 1fr;
  }

  .step-count {
    font-size: 20px;
  }

  .step-count strong {
    font-size: 42px;
  }

  .question-heading h1 {
    font-size: 40px;
  }

  .question-card {
    padding: 22px 17px 19px;
  }

  .question-card legend {
    font-size: 16px;
  }

  .question-card legend > span {
    display: block;
    margin-bottom: 6px;
  }

  .scale-row {
    gap: 5px;
  }

  .scale-row label {
    min-height: 48px;
  }

  .scale-extremes {
    font-size: 10px;
  }

  .quiz-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quiz-actions button {
    width: 100%;
  }

  .result-hero {
    padding: 55px 20px 58px;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-score {
    width: 142px;
    height: 142px;
    flex-basis: 142px;
    padding-top: 37px;
  }

  .top-score strong {
    font-size: 59px;
  }

  .profile-overview,
  .interpretation-grid,
  .situational-section,
  .development-section,
  .underused-panel,
  .pattern-note,
  .experiment-section,
  .pilot-section,
  .result-actions,
  .method-note {
    width: calc(100% - 32px);
  }

  .profile-overview {
    margin-top: 56px;
  }

  .radar-label {
    font-size: 10px;
  }

  .combination-panel {
    margin-top: 64px;
    padding: 52px 20px;
  }

  .combination-panel > p {
    font-size: 17px;
  }

  .combination-panel > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .interpretation-grid {
    margin-top: 56px;
  }

  .style-interpretation {
    padding: 28px 23px;
  }

  .style-interpretation h2 {
    font-size: clamp(31px, 10vw, 38px);
  }

  .situational-section {
    margin-top: 56px;
    padding: 28px 23px;
  }

  .challenge-styles {
    grid-template-columns: 1fr;
  }

  .challenge-styles > div {
    padding: 14px 15px;
  }

  .development-section {
    margin-top: 65px;
  }

  .development-section li {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .development-section li > span {
    width: 46px;
    height: 46px;
  }

  .development-section li p {
    font-size: 16px;
  }

  .underused-panel,
  .experiment-section,
  .pilot-section,
  .result-actions,
  .method-note {
    padding: 28px 23px;
  }

  .pattern-note {
    padding: 23px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  body {
    background: #ffffff;
    color: #000000;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .site-header,
  .site-footer,
  .pilot-section,
  .result-actions,
  .hero-decoration {
    display: none !important;
  }

  .result-page {
    padding: 0;
  }

  .print-meta {
    display: block;
    margin: 0 0 7mm;
    padding-bottom: 4mm;
    border-bottom: 1px solid #777777;
    color: #444444;
    font-size: 10px;
  }

  .result-hero {
    padding: 0 0 12mm;
    border-bottom: 2px solid #000000;
    background: #ffffff;
    color: #000000;
  }

  .result-hero .eyebrow,
  .result-hero h1 span,
  .result-intro {
    color: #000000;
  }

  .result-hero h1 {
    font-size: 42px;
  }

  .result-tags span {
    border-color: #777777;
    color: #000000;
  }

  .top-score {
    width: 120px;
    height: 120px;
    flex-basis: 120px;
    padding-top: 32px;
    border-color: #000000;
  }

  .top-score strong,
  .top-score span {
    color: #000000;
  }

  .top-score strong {
    font-size: 50px;
  }

  .profile-overview,
  .interpretation-grid,
  .situational-section,
  .development-section,
  .underused-panel,
  .pattern-note,
  .experiment-section,
  .method-note {
    width: 100%;
    margin-top: 11mm;
  }

  .profile-overview {
    grid-template-columns: 1fr 1fr;
    gap: 10mm;
  }

  .radar-chart {
    max-width: 115mm;
  }

  .combination-panel {
    margin-top: 11mm;
    padding: 9mm;
    border: 1px solid #000000;
    background: #ffffff;
  }

  .situational-section {
    padding: 8mm;
  }

  .situational-section.no-guidance {
    display: none;
  }

  .challenge-selector,
  .challenge-placeholder {
    display: none;
  }

  .challenge-guidance {
    margin-top: 6mm;
    background: #ffffff;
    break-inside: avoid;
  }

  .interpretation-grid {
    break-inside: avoid;
  }

  .style-interpretation,
  .underused-panel,
  .pattern-note,
  .experiment-section,
  .method-note {
    background: #ffffff;
    break-inside: avoid;
  }

  .development-section li,
  .experiment-grid label,
  .style-interpretation dl > div {
    break-inside: avoid;
  }

  .development-section li > span {
    border: 1px solid #000000;
    background: #ffffff;
  }
}

/* DG Preferenciaprofil – saját komponensek */

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 18px;
  top: 12px;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.skip-link:focus,
.skip-link:focus-visible {
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;
  overflow: visible;
  clip-path: none;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.independence-note {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.disclaimer-band > strong {
  grid-row: 1 / 3;
}

.disclaimer-band .trademark-note {
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 17, 0.25);
  font-size: 13px;
}

.dimension-card li {
  min-height: 82px;
}

.dimension-card li > span:last-child {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.dimension-card li strong,
.dimension-card li small {
  display: block;
}

.dimension-card li strong {
  font-size: clamp(16px, 1.28vw, 19px);
}

.dimension-card li small {
  color: #c9c3b9;
  font-size: 12px;
  line-height: 1.35;
}

.privacy-band {
  padding: 45px clamp(24px, 5vw, 76px);
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.privacy-band .section-kicker {
  color: var(--yellow);
}

.privacy-band h2 {
  max-width: 500px;
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.privacy-band > p {
  max-width: 850px;
  margin: 0;
  color: #d4cec4;
  line-height: 1.65;
}

.privacy-band a {
  color: var(--yellow);
  font-weight: 800;
  text-underline-offset: 3px;
}

.native-progress {
  appearance: none;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: #ded8cc;
}

.native-progress::-webkit-progress-bar {
  border-radius: 99px;
  background: #ded8cc;
}

.native-progress::-webkit-progress-value {
  border-radius: 99px;
  background: #5d4800;
}

.native-progress::-moz-progress-bar {
  border-radius: 99px;
  background: #5d4800;
}

.quiz-memory-note {
  display: none;
}

.scale-row.seven-point {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.choice-check {
  position: absolute;
  right: 5px;
  top: 3px;
  opacity: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.scale-row label.is-selected .choice-check {
  opacity: 1;
}

.scale-anchors {
  margin-top: 9px;
  color: var(--muted);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 11px;
  line-height: 1.35;
}

.scale-anchors span:nth-child(2) {
  text-align: center;
}

.scale-anchors span:last-child {
  text-align: right;
}

.question-card.is-invalid {
  border-color: var(--danger);
  background: #fff7f4;
  box-shadow: 0 0 0 2px rgba(139, 33, 24, 0.08);
}

.question-error {
  margin: 13px 0 0;
  color: #762017;
  font-size: 13px;
  font-weight: 800;
}

.question-heading > .validation-message {
  max-width: 680px;
  margin-top: 16px;
}

.load-error {
  width: min(800px, calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  padding: 90px 0;
}

.load-error h1 {
  margin: 15px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.load-error p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.preference-result-hero h1 {
  max-width: 850px;
}

.result-seal {
  width: 190px;
  height: 190px;
  flex: 0 0 190px;
  padding: 35px 22px 20px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.result-seal strong {
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 67px;
  line-height: 0.85;
}

.result-seal span {
  margin-top: 14px;
  color: #d6d0c5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pattern-notice {
  border-left-color: #a66a00;
  background: #fff6d8;
}

.pattern-notice p {
  color: #6f5319;
}

.pattern-severe {
  border-left-color: #8b2118;
  background: #fff0ed;
}

.pattern-severe p {
  color: #6f2019;
}

.result-nav {
  width: min(1250px, calc(100% - 48px));
  margin: 26px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-nav a {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.result-nav a:hover,
.result-nav a:focus-visible {
  background: var(--yellow);
}

#axes,
#profile,
#alternatives,
#details,
#development {
  scroll-margin-top: 24px;
}

.axis-section,
.dimension-section,
.alternative-section {
  width: min(1250px, calc(100% - 48px));
  margin-inline: auto;
}

.axis-section {
  margin-top: 76px;
}

.axis-section .section-heading,
.dimension-section .section-heading,
.alternative-section .section-heading {
  max-width: 900px;
}

.axis-section .section-heading > p:last-child,
.dimension-section .section-heading > p:last-child,
.alternative-section .section-heading > p:last-child,
.preference-development .section-heading > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.axis-card {
  min-width: 0;
  padding: 29px 30px 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(17, 17, 17, 0.05);
}

.axis-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.axis-heading .section-kicker {
  max-width: 420px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.axis-heading h3 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.9vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.axis-band {
  max-width: 145px;
  padding: 7px 10px;
  border: 1px solid #b89a31;
  border-radius: 99px;
  color: #684f00;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.axis-values {
  margin-top: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.axis-values > div {
  max-width: 46%;
  display: grid;
  gap: 2px;
}

.axis-values > div:last-child {
  text-align: right;
}

.axis-values > span {
  max-width: 48%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.axis-values > span:last-child {
  text-align: right;
}

.axis-values strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
}

.axis-values span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.bipolar-scale {
  width: 100%;
  height: auto;
  margin-top: 6px;
  display: block;
  overflow: visible;
}

.axis-line {
  stroke: #8f887e;
  stroke-width: 0.7;
}

.axis-middle {
  stroke: #8f887e;
  stroke-dasharray: 1 1.2;
  stroke-width: 0.45;
}

.axis-marker {
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 0.65;
}

.axis-caveat {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.axis-direction {
  margin: 4px 0 0;
  line-height: 1.5;
}

.axis-direction strong {
  font-weight: 900;
}

.preference-profile {
  margin-top: 80px;
}

.preference-profile .profile-caveat {
  max-width: 900px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
}

.alternative-section {
  margin-top: 78px;
  padding-top: 5px;
}

.alternative-grid {
  margin-top: 29px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.alternative-grid article {
  padding: 27px 28px;
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.alternative-grid h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.alternative-grid p,
.more-alternatives {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.alternative-grid .alternative-difference {
  margin: 0 0 9px;
  color: #6a5200;
  font-size: 12px;
  font-weight: 800;
}

.more-alternatives {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
}

.dimension-section {
  margin-top: 84px;
}

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

.dimension-interpretation {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--ink);
  background: var(--white);
}

.dimension-interpretation.is-balanced {
  border-top-color: #b18700;
  background: #fffaf0;
}

.dimension-interpretation h3 {
  margin: 10px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3.4vw, 43px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.dimension-interpretation > p:not(.section-kicker),
.dimension-interpretation dd,
.balanced-poles p {
  color: var(--muted);
  line-height: 1.65;
}

.dimension-interpretation dl {
  margin: 25px 0 0;
}

.dimension-interpretation dl > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.dimension-interpretation dt {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dimension-interpretation dd {
  margin: 0;
}

.reflection-box {
  margin-top: 22px;
  padding: 21px 23px;
  background: var(--paper);
}

.reflection-box strong {
  display: block;
  margin-bottom: 9px;
}

.reflection-box ol {
  margin: 0;
  padding-left: 20px;
}

.reflection-box li {
  padding: 4px 0;
  line-height: 1.5;
}

.balanced-poles {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.balanced-poles > div {
  padding: 18px 20px;
  border: 1px solid #ded2ac;
  background: rgba(255, 255, 255, 0.72);
}

.balanced-poles p {
  margin: 7px 0 0;
  font-size: 14px;
}

.preference-development {
  margin-top: 82px;
}

@media (max-width: 920px) {
  .axis-grid,
  .dimension-interpretation-grid {
    grid-template-columns: 1fr;
  }

  .axis-heading .section-kicker {
    max-width: 520px;
  }
}

@media (max-width: 820px) {
  .privacy-band {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .disclaimer-band > strong {
    grid-row: auto;
  }

  .quiz-sidebar .native-progress {
    align-self: end;
  }

  .quiz-memory-note {
    margin: 2px 0 0;
    color: var(--muted);
    display: block;
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 700;
  }

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

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    max-width: 158px;
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .brand span {
    display: block;
  }

  .brand-name {
    margin-left: 0;
    font-size: 15px;
    white-space: nowrap;
  }

  .dimension-card li {
    min-height: 76px;
  }

  .privacy-band {
    padding: 38px 20px;
  }

  .scale-row.seven-point {
    gap: 4px;
  }

  .scale-row.seven-point label {
    min-width: 0;
    min-height: 46px;
    border-radius: 8px;
  }

  .scale-row.seven-point .scale-number {
    font-size: 16px;
  }

  .scale-anchors {
    gap: 6px;
    font-size: 10px;
  }

  .result-seal {
    display: none;
  }

  .axis-section,
  .dimension-section,
  .alternative-section,
  .result-nav {
    width: calc(100% - 32px);
  }

  .axis-section,
  .dimension-section,
  .alternative-section,
  .preference-development {
    margin-top: 58px;
  }

  .axis-card,
  .dimension-interpretation {
    padding: 24px 21px;
  }

  .section-heading h2,
  .axis-heading h3,
  .dimension-interpretation h3,
  .axis-values > span {
    overflow-wrap: anywhere;
  }

  .axis-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .axis-band {
    max-width: none;
  }

  .axis-values strong {
    font-size: 27px;
  }

  .alternative-grid article {
    padding: 23px 21px;
  }

  .reflection-box {
    padding: 18px;
  }
}

@media (max-width: 360px) {
  .quiz-layout {
    padding-inline: 10px;
  }

  .question-card {
    padding-inline: 12px;
  }

  .scale-row.seven-point {
    gap: 3px;
  }
}

@media print {
  .skip-link,
  .result-seal,
  .result-nav {
    display: none !important;
  }

  .axis-section,
  .dimension-section,
  .alternative-section {
    width: 100%;
    margin-top: 11mm;
  }

  .axis-section,
  .dimension-section {
    break-before: page;
  }

  .axis-grid,
  .alternative-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5mm;
  }

  .dimension-interpretation-grid {
    grid-template-columns: 1fr;
    gap: 5mm;
  }

  .axis-card,
  .dimension-interpretation,
  .alternative-grid article {
    padding: 5mm;
    border-color: #777777;
    box-shadow: none;
    break-inside: avoid;
  }

  .axis-heading h3 {
    font-size: 25px;
  }

  .axis-band {
    color: #000000;
    border-color: #777777;
  }

  .axis-marker {
    fill: #ffffff;
    stroke: #000000;
  }

  .dimension-interpretation h3 {
    margin-block: 2mm;
    font-size: 23px;
  }

  .dimension-interpretation > p:not(.section-kicker),
  .dimension-interpretation dd,
  .balanced-poles p {
    font-size: 12px;
    line-height: 1.45;
  }

  .dimension-interpretation dl {
    margin-top: 3mm;
  }

  .dimension-interpretation dl > div {
    padding-block: 3mm;
  }

  .dimension-interpretation dt {
    margin-bottom: 1.5mm;
    font-size: 11px;
  }

  .reflection-box {
    margin-top: 3mm;
    padding: 3mm;
    font-size: 11.5px;
  }

  .reflection-box li {
    padding-block: 1px;
    line-height: 1.35;
  }

  .combination-panel.preference-profile {
    break-inside: avoid;
  }

  .dimension-interpretation-grid {
    break-inside: auto;
  }

  .alternative-section .section-heading,
  .alternative-grid {
    break-after: avoid;
    break-before: avoid;
  }

  .preference-development {
    break-before: page;
  }

  .preference-development .section-heading {
    break-after: avoid;
  }
}

@media (forced-colors: active) {
  .scale-row label.is-selected {
    border: 3px solid CanvasText;
  }

  .scale-row label.is-selected .choice-check {
    opacity: 1;
    color: CanvasText;
  }
}
