:root {
  color-scheme: light;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #dfe8e7;
  color: #28312f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 5%, rgba(231, 200, 110, .42), transparent 22rem),
    linear-gradient(145deg, #dfe8e7, #edf1eb 48%, #eadfd4);
}

button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #28312f; outline-offset: 3px; }

#lohtu-test-app {
  --lohtu-paper: #f8f4ea;
  --lohtu-ink: #28312f;
  --lohtu-fog: #dde8e7;
  --lohtu-moss: #72826b;
  --lohtu-coral: #a44732;
  --lohtu-sun: #e7c86e;
  --lohtu-line: #d8d2c5;
  --lohtu-soft-ink: #66706d;
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--lohtu-paper);
  box-shadow: 0 24px 90px rgba(40, 49, 47, .18);
}

.lohtu-topbar {
  height: 64px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--lohtu-line);
  background: rgba(248, 244, 234, .96);
}

.lohtu-wordmark, .lohtu-quiet-action {
  border: 0;
  background: transparent;
  color: var(--lohtu-ink);
}

.lohtu-wordmark {
  justify-self: start;
  padding: 10px 0;
  font-family: "Noto Serif KR", serif;
  font-size: 22px;
  font-weight: 600;
}

.lohtu-quiet-action { justify-self: end; color: var(--lohtu-soft-ink); font-size: 13px; text-decoration: none; }
#lohtu-context { font-size: 13px; color: var(--lohtu-soft-ink); }

.lohtu-screen { display: none; min-height: calc(100vh - 64px); }
.lohtu-screen[data-active="true"] { display: block; }

.lohtu-page { padding: 42px 44px 70px; }
.lohtu-page--question { max-width: 650px; margin: 0 auto; }
.lohtu-page--result { padding-top: 28px; }

.lohtu-kicker { margin: 0 0 10px; color: var(--lohtu-coral); font-size: 14px; font-weight: 700; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--lohtu-ink); }
h1 { margin: 0; font-family: "Noto Serif KR", serif; font-size: clamp(30px, 6vw, 48px); line-height: 1.32; font-weight: 600; }
h2 { margin: 0; font-family: "Noto Serif KR", serif; font-size: clamp(26px, 5vw, 38px); line-height: 1.38; }
h3 { margin: 0; font-size: 18px; }
.lohtu-lead { margin: 16px 0 0; max-width: 590px; color: var(--lohtu-soft-ink); font-size: 16px; line-height: 1.7; }

.lohtu-library-intro {
  position: relative;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--lohtu-line);
}

.lohtu-library-intro::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 78px;
  height: 48px;
  background: repeating-radial-gradient(ellipse at center, transparent 0 6px, rgba(114,130,107,.35) 7px 8px);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.lohtu-test-stack { display: grid; gap: 18px; margin-top: 28px; }
.lohtu-test-ticket {
  width: 100%;
  min-height: 176px;
  padding: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid var(--lohtu-line);
  border-radius: 4px 22px 22px 4px;
  background: #fffdf7;
  color: var(--lohtu-ink);
  text-align: left;
  box-shadow: 0 10px 28px rgba(40, 49, 47, .08);
}

.lohtu-test-ticket:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(40,49,47,.13); }
.lohtu-test-art { position: relative; min-height: 176px; display: grid; place-items: center; overflow: hidden; }
.lohtu-test-art--relationship { background: var(--lohtu-fog); }
.lohtu-test-art--sensitivity { background: #efe2d7; }
.lohtu-test-art span { position: relative; z-index: 2; width: 72px; height: 96px; display: grid; place-items: center; border-radius: 48% 48% 42% 42%; background: #fffaf0; border: 2px solid var(--lohtu-ink); font-size: 34px; }
.lohtu-test-art::before, .lohtu-test-art::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(40,49,47,.25); }
.lohtu-test-art::before { width: 110px; height: 75px; transform: rotate(22deg); }
.lohtu-test-art::after { width: 155px; height: 112px; transform: rotate(-18deg); }
.lohtu-ticket-copy { padding: 24px 26px; align-self: center; }
.lohtu-ticket-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--lohtu-soft-ink); font-size: 12px; }
.lohtu-ticket-copy h2 { font-family: "Noto Serif KR", serif; font-size: 25px; }
.lohtu-ticket-copy p { margin: 9px 0 14px; color: var(--lohtu-soft-ink); line-height: 1.55; }
.lohtu-ticket-cta { color: var(--lohtu-coral); font-weight: 700; }

.lohtu-notice { margin-top: 24px; padding: 16px 0 0 28px; border-left: 3px solid var(--lohtu-sun); color: var(--lohtu-soft-ink); line-height: 1.6; font-size: 14px; }

.lohtu-back { min-width: 44px; min-height: 44px; margin: -8px 0 20px -12px; border: 0; background: transparent; color: var(--lohtu-ink); text-align: left; }
.lohtu-intro-art { height: 220px; margin: 26px 0; position: relative; display: grid; place-items: center; background: var(--lohtu-fog); overflow: hidden; border-radius: 50% 45% 52% 44%; }
.lohtu-intro-art::before { content: ""; width: 230px; height: 150px; border: 1px solid var(--lohtu-moss); border-radius: 50%; transform: rotate(12deg); box-shadow: 0 0 0 34px rgba(114,130,107,.1), 0 0 0 70px rgba(114,130,107,.06); }
.lohtu-intro-art span { position: absolute; font-family: "Noto Serif KR", serif; font-size: 28px; }
.lohtu-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 26px 0; background: var(--lohtu-line); border-top: 1px solid var(--lohtu-line); border-bottom: 1px solid var(--lohtu-line); }
.lohtu-facts div { padding: 16px; background: var(--lohtu-paper); }
.lohtu-facts strong, .lohtu-facts span { display: block; }
.lohtu-facts strong { font-size: 20px; }
.lohtu-facts span { margin-top: 4px; color: var(--lohtu-soft-ink); font-size: 12px; }

.lohtu-primary, .lohtu-secondary {
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 700;
}
.lohtu-primary { border: 0; background: var(--lohtu-ink); color: var(--lohtu-paper); }
.lohtu-result-actions a.lohtu-primary { display: grid; place-items: center; text-align: center; text-decoration: none; }
.lohtu-secondary { border: 1px solid var(--lohtu-ink); background: transparent; color: var(--lohtu-ink); }
.lohtu-primary--wide, .lohtu-secondary--wide { width: 100%; }
.lohtu-text-action { min-height: 44px; border: 0; background: transparent; color: var(--lohtu-soft-ink); }

.lohtu-question-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.lohtu-question-top button { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--lohtu-ink); }
.lohtu-progress-track { width: 100%; height: 9px; accent-color: var(--lohtu-coral); }
.lohtu-progress-track::-webkit-progress-bar { background: #e5ded1; border-radius: 999px; }
.lohtu-progress-track::-webkit-progress-value { background: var(--lohtu-coral); border-radius: 999px; }
.lohtu-progress-track::-moz-progress-bar { background: var(--lohtu-coral); border-radius: 999px; }
.lohtu-question-count { font-variant-numeric: tabular-nums; color: var(--lohtu-soft-ink); font-size: 13px; }
.lohtu-question-body { padding: clamp(44px, 10vw, 82px) 0 30px; }
.lohtu-question-body h1 { max-width: 560px; font-size: clamp(27px, 5.5vw, 39px); }
.lohtu-scale { display: grid; gap: 10px; }
.lohtu-answer {
  width: 100%;
  min-height: 54px;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--lohtu-line);
  background: #fffdf7;
  color: var(--lohtu-ink);
  text-align: left;
  border-radius: 14px;
}
.lohtu-answer::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; border: 1px solid var(--lohtu-moss); border-radius: 50%; }
.lohtu-answer[aria-pressed="true"] { border-color: var(--lohtu-coral); background: #f4e4da; }
.lohtu-answer[aria-pressed="true"]::before { border: 5px solid var(--lohtu-coral); }
.lohtu-question-footer { display: flex; justify-content: space-between; margin-top: 20px; }
.lohtu-alert { margin: 12px 0; color: #984331; font-size: 14px; }

.lohtu-result-hero { position: relative; min-height: 410px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--lohtu-line); }
.lohtu-result-copy h1 { font-size: clamp(32px, 7vw, 54px); }
.lohtu-result-copy .lohtu-lead { font-size: 17px; }
.lohtu-secondary-profile { display: inline-block; margin-top: 18px; padding: 8px 12px; background: var(--lohtu-fog); color: var(--lohtu-ink); font-size: 13px; border-radius: 10px; }
.lohtu-contour-wrap { min-height: 290px; display: grid; place-items: center; }
.lohtu-contour { width: 100%; max-width: 300px; overflow: visible; }
.lohtu-contour .contour-ring { fill: none; stroke: var(--lohtu-moss); opacity: .2; }
.lohtu-contour .contour-shape { fill: rgba(201,110,85,.25); stroke: var(--lohtu-coral); stroke-width: 2; }
.lohtu-contour .contour-core { fill: var(--lohtu-sun); }

.lohtu-report-index {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 15px 0 13px;
  border-bottom: 1px solid var(--lohtu-line);
  background: rgba(248, 244, 234, .94);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}
.lohtu-report-index::-webkit-scrollbar { display: none; }
.lohtu-report-index a { flex: 0 0 auto; color: var(--lohtu-soft-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.lohtu-report-index a:hover, .lohtu-report-index a:focus-visible { color: var(--lohtu-coral); }
.lohtu-section-number { margin: 0 0 10px; color: var(--lohtu-coral)!important; font-size: 13px; font-weight: 700; }
.lohtu-report-opening { padding-top: 44px; }
.lohtu-long-copy { width: min(100%, 620px); margin-top: 24px; }
.lohtu-long-copy p { margin: 0 0 18px; color: var(--lohtu-ink); font-size: 17px; line-height: 1.9; letter-spacing: -.012em; }
.lohtu-long-copy p:first-child::first-letter { float: left; margin: .08em .12em 0 0; color: var(--lohtu-coral); font-family: "Noto Serif KR", serif; font-size: 3.1em; line-height: .8; }
.lohtu-perspective-flow { margin-top: 26px; border-top: 1px solid var(--lohtu-ink); }
.lohtu-perspective-flow article { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--lohtu-line); }
.lohtu-perspective-flow span { color: var(--lohtu-coral); font-weight: 700; }
.lohtu-perspective-flow p { margin: 0; line-height: 1.82; }
.lohtu-context-list { margin-top: 28px; border-top: 1px solid var(--lohtu-ink); }
.lohtu-context-list article { display: grid; grid-template-columns: minmax(88px, .28fr) 1fr; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--lohtu-line); }
.lohtu-context-list h3 { font-family: "Noto Serif KR", serif; font-size: 20px; }
.lohtu-context-list p { margin: 0; color: var(--lohtu-soft-ink); line-height: 1.82; }
.lohtu-axis-notes { margin-top: 28px; border-top: 1px solid var(--lohtu-line); }
.lohtu-axis-notes details { padding: 0 2px; border-bottom: 1px solid var(--lohtu-line); }
.lohtu-axis-notes summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; color: var(--lohtu-soft-ink); font-size: 13px; }
.lohtu-axis-notes summary strong { color: var(--lohtu-coral); font-size: 18px; font-variant-numeric: tabular-nums; }
.lohtu-axis-notes h3 { margin-top: 10px; }
.lohtu-axis-notes p { max-width: 610px; margin: 10px 0 24px; color: var(--lohtu-soft-ink); line-height: 1.78; }

.lohtu-result-section { padding: 30px 0; border-bottom: 1px solid var(--lohtu-line); }
.lohtu-result-section > p { color: var(--lohtu-soft-ink); line-height: 1.7; }
.lohtu-axis-list { display: grid; gap: 22px; margin-top: 22px; }
.lohtu-axis-labels { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.lohtu-axis-labels strong { color: var(--lohtu-coral); }
.lohtu-axis-track { display: block; width: 100%; height: 18px; margin-top: 5px; accent-color: var(--lohtu-coral); }
.lohtu-axis-track::-webkit-meter-bar { background: #e5ded1; border-radius: 999px; }
.lohtu-axis-track::-webkit-meter-optimum-value { background: var(--lohtu-coral); border-radius: 999px; }
.lohtu-state-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.lohtu-state-pair article { padding: 22px; background: #fffdf7; }
.lohtu-state-pair article:first-child { border-top: 4px solid var(--lohtu-sun); }
.lohtu-state-pair article:last-child { border-top: 4px solid var(--lohtu-coral); }
.lohtu-state-pair p { margin-bottom: 0; color: var(--lohtu-soft-ink); line-height: 1.65; }
.lohtu-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lohtu-guide-block { padding: 26px 0; border-bottom: 1px solid var(--lohtu-line); }
.lohtu-guide-block ul { margin: 16px 0 0; padding-left: 20px; color: var(--lohtu-soft-ink); line-height: 1.75; }
.lohtu-scripts { display: grid; gap: 12px; margin-top: 16px; }
.lohtu-script { margin: 0; padding: 18px; background: var(--lohtu-fog); font-family: "Noto Serif KR", serif; line-height: 1.7; }

.lohtu-correction { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.lohtu-correction > span { margin-right: 4px; color: var(--lohtu-soft-ink); font-size: 13px; }
.lohtu-correction button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--lohtu-line); background: transparent; color: var(--lohtu-ink); border-radius: 10px; }
.lohtu-correction button[aria-pressed="true"] { background: var(--lohtu-ink); color: var(--lohtu-paper); border-color: var(--lohtu-ink); }

.lohtu-evidence summary { min-height: 44px; padding: 13px 0; cursor: pointer; font-weight: 700; }
.lohtu-evidence-list { display: grid; gap: 1px; background: var(--lohtu-line); }
.lohtu-evidence-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 13px 15px; background: #fffdf7; font-size: 13px; }
.lohtu-evidence-row span:last-child { color: var(--lohtu-coral); font-weight: 700; }
.lohtu-result-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding-top: 30px; }

.lohtu-share-stage { padding: 28px 0; }
.lohtu-share-card { aspect-ratio: 4 / 5; width: min(100%, 420px); margin: 0 auto; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; background: var(--lohtu-fog); border-radius: 5px 44px 5px 44px; box-shadow: 0 20px 55px rgba(40,49,47,.16); }
.lohtu-share-mark { font-family: "Noto Serif KR", serif; font-size: 20px; }
.lohtu-share-character { display: grid; justify-items: center; gap: 24px; text-align: center; }
.lohtu-share-orbit { width: 145px; height: 145px; display: grid; place-items: center; border: 1px solid var(--lohtu-moss); border-radius: 48% 52% 45% 55%; box-shadow: 0 0 0 22px rgba(114,130,107,.1); font-size: 50px; }
.lohtu-share-character h2 { font-size: 30px; }
.lohtu-share-character p { margin: 0; line-height: 1.65; }
.lohtu-share-footer { display: flex; justify-content: space-between; font-size: 12px; color: var(--lohtu-soft-ink); }
.lohtu-inline-actions { display: flex; gap: 10px; margin: 24px auto 0; max-width: 420px; }
.lohtu-inline-actions > * { flex: 1; }

.lohtu-form { margin-top: 30px; }
.lohtu-field span { display: block; margin-bottom: 8px; font-weight: 700; }
.lohtu-field input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--lohtu-line); background: #fffdf7; color: var(--lohtu-ink); border-radius: 12px; }
.lohtu-save-list { margin: 28px 0; padding: 0; list-style: none; border-top: 1px solid var(--lohtu-line); }
.lohtu-save-list li { padding: 14px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--lohtu-line); }
.lohtu-save-list span:last-child { color: var(--lohtu-moss); font-weight: 700; }
.lohtu-consent { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; line-height: 1.55; }
.lohtu-consent input { width: 20px; height: 20px; margin-top: 2px; }
.lohtu-privacy-copy { padding: 18px; background: var(--lohtu-fog); color: var(--lohtu-soft-ink); line-height: 1.65; font-size: 13px; }

.lohtu-saved-hero { text-align: center; padding: 36px 0; }
.lohtu-saved-symbol { width: 110px; height: 110px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: var(--lohtu-sun); font-size: 42px; }
.lohtu-selfmap-preview { margin: 18px 0 28px; padding: 24px; background: #fffdf7; border-top: 4px solid var(--lohtu-moss); }
.lohtu-selfmap-preview span { color: var(--lohtu-soft-ink); font-size: 13px; }
.lohtu-selfmap-preview h2 { margin-top: 10px; font-size: 27px; }
.lohtu-selfmap-preview p { color: var(--lohtu-soft-ink); line-height: 1.65; }

.lohtu-toast { position: fixed; z-index: 10; left: 50%; bottom: 24px; transform: translate(-50%, 18px); padding: 12px 18px; border-radius: 12px; background: var(--lohtu-ink); color: var(--lohtu-paper); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.lohtu-toast[data-visible="true"] { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  #lohtu-test-app { width: 100%; }
  .lohtu-page { padding: 30px 22px 56px; }
  .lohtu-topbar { padding: 0 18px; }
  .lohtu-test-ticket { grid-template-columns: 112px 1fr; }
  .lohtu-ticket-copy { padding: 20px; }
  .lohtu-result-hero { grid-template-columns: 1fr; }
  .lohtu-contour-wrap { order: -1; min-height: 230px; }
  .lohtu-contour { max-width: 240px; }
  .lohtu-guides { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 440px) {
  .lohtu-topbar { grid-template-columns: 1fr 1fr; }
  #lohtu-context { display: none; }
  .lohtu-test-ticket { grid-template-columns: 1fr; border-radius: 4px 24px 24px 4px; }
  .lohtu-test-art { min-height: 130px; }
  .lohtu-ticket-copy { padding: 20px 18px 24px; }
  .lohtu-facts { grid-template-columns: 1fr; }
  .lohtu-state-pair, .lohtu-result-actions { grid-template-columns: 1fr; }
  .lohtu-inline-actions { flex-direction: column; }
  .lohtu-share-card { padding: 26px; }
  .lohtu-evidence-row { grid-template-columns: 1fr; gap: 5px; }
  .lohtu-report-index { margin-inline: -22px; padding-inline: 22px; }
  .lohtu-perspective-flow article, .lohtu-context-list article { grid-template-columns: 1fr; gap: 8px; }
  .lohtu-long-copy p { font-size: 16px; line-height: 1.82; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
