@charset "UTF-8";
:root {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #29342a;
  background: #e9f4e7;
  font-synthesis: none;
  --border: #d5e4ce;
  --muted: #596458;
  --gradient: linear-gradient(105deg, #2f6642, #3b7049 50%, #48784c);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(155deg, #eef8ee, #e3f1e1 40%, #d5e8d2);
  background-attachment: fixed;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: default;
}
button,
summary,
input {
  touch-action: manipulation;
}
h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #436c50;
  outline-offset: 4px;
}
.page-title:focus {
  outline: none;
}
.site-header {
  height: 64px;
  background: #ffffffeb;
  border-bottom: 1px solid #ecf0eb;
}
.header-inner {
  max-width: 720px;
  height: 100%;
  margin: auto;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: #2f4234;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.brand svg {
  color: #619259;
  flex-shrink: 0;
}
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #52694e;
  background: transparent;
  padding: 8px 3px;
  font-size: 13px;
  line-height: 1.5;
}
.text-btn:hover {
  color: #62905b;
}
.reset-btn {
  white-space: nowrap;
  font-size: 12px;
}
.app-main {
  max-width: 528px;
  padding: 28px 18px 44px;
  margin: auto;
}
.card {
  background: #fcfefb;
  border: 1px solid #e0ecdc;
  border-radius: 27px;
  padding: 30px;
  box-shadow: 0 9px 32px #6d85690b;
}
.welcome-card {
  text-align: center;
  padding-top: 36px;
}
.test-emblem {
  width: 106px;
  height: 106px;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e2efd9, #d4e8cd);
  color: #609358;
  margin: 0 auto 22px;
  border-radius: 36px;
}
.emblem-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 5px solid white;
  border-radius: 50%;
  background: #79a96f;
  right: -7px;
  bottom: 12px;
}
.kicker {
  color: #52684f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.page-title {
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: -0.9px;
  font-weight: 800;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.hero-title {
  font-size: 32px;
  line-height: 1.45;
  letter-spacing: -1.2px;
}
.hero-title span {
  background: linear-gradient(transparent 70%, #d4e8c8 0);
  padding: 0 3px;
}
.category-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 22px 0 16px;
}
.category-pills span {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  color: #46643e;
  background: #e2efd9;
}
.category-pills span:nth-child(2) {
  color: #3f6648;
  background: #dcebdc;
}
.category-pills span:nth-child(3) {
  color: #3e6653;
  background: #e3f0e7;
}
.test-count {
  font-size: 12px;
  color: #61765c;
}
.chapter-list {
  border-top: 1px solid var(--border);
  margin-top: 26px;
  padding-top: 18px;
  text-align: left;
  display: grid;
  gap: 11px;
}
.chapter-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #4e634a;
}
.chapter-num {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: #f4f8f2;
  color: #5b6c51;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.btn {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  padding: 15px 18px;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.btn.primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 5px 14px #9ac09422;
}
.btn.primary:hover:not(:disabled) {
  filter: saturate(1.2) brightness(0.98);
  transform: translateY(-1px);
}
.btn.primary:disabled {
  background: #e8eae3;
  color: #667063;
  box-shadow: none;
}
.card + .btn {
  margin-top: 17px;
}
.start-btn {
  min-height: 59px;
  font-size: 17px;
}
.btn.secondary {
  border: 1px solid #e6ece4;
  background: #ffffffb0;
  color: #54704d;
}
.btn.secondary:disabled {
  color: #6d816a;
  background: #ffffff80;
}
.preview-link {
  display: flex;
  margin: 15px auto 0;
  font-size: 12px;
}
.footnote {
  text-align: center;
  font-size: 11px;
  color: #61765c;
  line-height: 1.7;
  margin-top: 12px;
}
.subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 12px;
  text-align: center;
  word-break: keep-all;
}
.notice-list {
  margin-top: 25px;
  display: grid;
  gap: 20px;
}
.notice-list strong {
  font-size: 13px;
  font-weight: 700;
}
.notice-list p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 5px;
  word-break: keep-all;
}
.consent-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 14px;
  background: #f5f9f4;
  border-radius: 12px;
  margin-top: 25px;
  font-size: 13px;
  cursor: pointer;
}
.consent-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #4c7153;
}
.back-link {
  display: flex;
  width: max-content;
  margin: 13px auto 0;
}
.field {
  margin-top: 28px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.segments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.segment {
  position: relative;
  flex: 1;
  min-width: 70px;
  cursor: pointer;
}
.segment input,
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.segment span {
  display: block;
  text-align: center;
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  color: #54704d;
  white-space: nowrap;
}
.segment:has(input:checked) span {
  background: #f3f7f1;
  border-color: #91a687;
  color: #416347;
  font-weight: 700;
}
.segment:has(input:focus-visible),
.choice:has(input:focus-visible) {
  outline: 3px solid #436c50;
  outline-offset: 3px;
  border-radius: 12px;
}
.setting-note {
  margin-top: 25px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f9fbf9;
  font-size: 12px;
  color: #6d816a;
  line-height: 1.9;
}
.setting-note strong {
  color: #6b7e67;
}
.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}
.question-badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #638f5b;
  background: #f4f8f2;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.progress-track {
  height: 5px;
  flex: 1;
  border-radius: 5px;
  background: #f0f4ee;
  overflow: hidden;
}
.progress-track > span {
  display: block;
  height: 100%;
  background: var(--gradient);
  border-radius: 5px;
  transition: width 0.2s;
}
.progress-count {
  font-size: 14px;
  color: #638f5b;
  font-weight: 800;
  white-space: nowrap;
}
.progress-count small {
  font-size: 12px;
  color: #697665;
  font-weight: 400;
}
.chapter-tag {
  font-size: 11px;
  text-align: center;
  margin-bottom: 14px;
}
.question-title {
  font-size: 20px;
  line-height: 1.65;
}
.dialogue {
  --bubble-fill: #e6f2e1;
  --bubble-outline: #c9dfc1;
  position: relative;
  padding: 18px 20px;
  border: 1px solid var(--bubble-outline);
  border-radius: 16px 16px 16px 8px;
  background: var(--bubble-fill);
  margin: 22px 22px 0 13px;
}
.speaker {
  display: block;
  color: #536b52;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 7px;
}
.dialogue blockquote {
  font-size: 15px;
  line-height: 1.8;
  color: #5a6b58;
  word-break: keep-all;
}
.question-prompt {
  font-size: 13px;
  font-weight: 600;
  margin: 27px 0 13px;
  color: #61765c;
  text-align: center;
}
.choices {
  border: 0;
  padding: 0 13px 0 22px;
  margin: 0;
  display: grid;
  gap: 12px;
  min-width: 0;
}
.choice {
  --bubble-fill: #fff;
  --bubble-outline: #ebefe9;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border: 1px solid var(--bubble-outline);
  border-radius: 14px 14px 8px 14px;
  background: var(--bubble-fill);
  cursor: pointer;
  transition:
    background-color 0.12s,
    border-color 0.12s;
}
/* The two layers keep the tail outline and fill continuous with the bubble. */
.dialogue::before,
.dialogue::after,
.choice::before,
.choice::after {
  content: "";
  position: absolute;
  bottom: 11px;
  width: 14px;
  height: 13px;
  pointer-events: none;
  transition: background-color 0.12s;
}
.dialogue::before,
.dialogue::after {
  left: -12px;
}
.choice::before,
.choice::after {
  right: -12px;
  transform: scaleX(-1);
}
.dialogue::before,
.choice::before {
  background: var(--bubble-outline);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 40% 75%);
}
.dialogue::after,
.choice::after {
  background: var(--bubble-fill);
  clip-path: polygon(
    100% 10%,
    100% calc(100% - 1px),
    3px calc(100% - 1px),
    44% 73%
  );
}
.choice:hover {
  --bubble-fill: #fafcf7;
  --bubble-outline: #b9c9b3;
}
.choice:has(input:checked) {
  --bubble-fill: #e0efd8;
  --bubble-outline: #709966;
}
.choice-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #e1e8df;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 11px;
  color: #5c735a;
}
.choice:has(input:checked) .choice-mark {
  background: #51735a;
  color: white;
  border-color: #51735a;
}
.choice-text {
  font-size: 13px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: #4e634a;
}
.question-card .btn.primary {
  margin-top: 24px;
}
.confirmation-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: #eff5ed;
  color: #638e5c;
  border-radius: 50%;
  margin: 25px auto 17px;
}
.chosen-answer {
  background: #f8faf7;
  padding: 20px;
  border-radius: 16px;
  margin-top: 24px;
}
.choice-text,
.chosen-answer p,
.answer-evidence blockquote,
.answer-record p,
.review-question li > p {
  white-space: pre-line;
}
.chosen-answer .field-label {
  color: #688862;
  font-size: 11px;
}
.chosen-answer p {
  font-size: 14px;
  line-height: 1.9;
  color: #5b6c59;
}
.lock-note {
  text-align: center;
  color: #606e5f;
  line-height: 1.7;
  font-size: 11px;
  margin: 14px 0;
}
.next-preview {
  border-top: 1px solid var(--border);
  padding-top: 19px;
  margin-top: 22px;
  text-align: center;
}
.next-preview span {
  display: block;
  color: #65705d;
  font-size: 11px;
  margin-bottom: 7px;
}
.next-preview strong {
  font-size: 13px;
  font-weight: 600;
  color: #677a63;
}
.report > .card + .card {
  margin-top: 18px;
}
.report .kicker {
  text-align: center;
}
.example-banner {
  display: flex;
  gap: 9px;
  border-radius: 12px;
  background: #fff8eb;
  color: #a07f44;
  padding: 13px 14px;
  margin-top: 20px;
}
.example-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.example-banner p {
  font-size: 11px;
  line-height: 1.8;
}
.summary-grid {
  margin-top: 20px;
}
.summary-grid > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.summary-grid span {
  font-size: 12px;
  color: #6d816a;
}
.summary-grid strong {
  font-size: 14px;
  color: #596a56;
}
.report-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin: 25px 0 22px;
}
.report-tab {
  flex: 1;
  padding: 13px 4px;
  background: transparent;
  color: #6d816a;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 600;
}
.report-tab[aria-selected="true"] {
  border-color: #5f9457;
  color: #638e5c;
}
.graph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.graph-head h2 {
  font-size: 15px;
}
.graph-head span {
  font-size: 10px;
  color: #6a8466;
  background: #f4f8f2;
  border-radius: 7px;
  padding: 5px 7px;
}
.bar-item {
  margin-bottom: 17px;
}
.bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 8px;
}
.bar-meta > span {
  color: #677a64;
}
.bar-meta strong {
  font-size: 12px;
  color: #62905b;
  white-space: nowrap;
}
.bar-meta small {
  font-size: 10px;
  font-weight: 400;
  color: #6d816a;
  margin-left: 4px;
}
.bar-track {
  height: 7px;
  border-radius: 7px;
  background: #f2f6f0;
  overflow: hidden;
}
.bar-track > div {
  height: 100%;
  background: var(--gradient);
  border-radius: 7px;
}
.graph-foot {
  font-size: 10px;
  color: #6d816a;
  line-height: 1.8;
  margin-top: 12px;
  word-break: keep-all;
}
.interpretation {
  background: #f9fbf8;
  border-radius: 16px;
  padding: 20px;
  margin-top: 23px;
}
.interpretation .kicker {
  display: block;
  text-align: left;
  font-size: 10px;
  margin-bottom: 5px;
}
.interpretation h3 {
  font-size: 18px;
  color: #5c7558;
  margin-bottom: 10px;
}
.interpretation p {
  font-size: 12px;
  line-height: 1.8;
  color: #6d816a;
}
.interpretation blockquote {
  font-size: 12px;
  color: #6b8467;
  line-height: 1.8;
  border-left: 2px solid #5f9457;
  padding-left: 12px;
  margin-top: 16px;
}
.glossary {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 18px;
}
.glossary summary {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #6b8467;
}
.glossary dl {
  margin: 16px 0 0;
}
.glossary dl > div {
  margin: 14px 0;
}
.glossary dt {
  font-size: 12px;
  font-weight: 700;
  color: #6b8367;
}
.glossary dd {
  font-size: 12px;
  line-height: 1.8;
  color: #6d816a;
  margin: 5px 0 0;
}
.record-section h2 {
  font-size: 18px;
  text-align: center;
}
.record-section .subtitle {
  font-size: 12px;
  margin: 9px 0 20px;
}
.record {
  border-top: 1px solid var(--border);
}
.record summary {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  font-size: 12px;
  color: #6d816a;
  cursor: pointer;
  list-style: none;
}
.record summary:after {
  content: "+";
  margin-left: auto;
  font-size: 18px;
  color: #688763;
}
.record[open] summary:after {
  content: "−";
}
.record-body {
  padding: 0 0 17px 33px;
}
.record-body p {
  font-size: 12px;
  line-height: 1.8;
  color: #6d816a;
}
.record-body p + p {
  color: #6b7f68;
  margin-top: 10px;
}
.download-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.download-buttons .btn {
  font-size: 12px;
  min-height: 46px;
}
.view-enter {
  animation: enter 0.2s ease-out;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
dialog {
  border: 0;
  max-width: 390px;
  width: calc(100% - 36px);
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 80px #3a483730;
  color: #4d5f4a;
}
dialog::backdrop {
  background: #2a3a2755;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 8px;
}
dialog p {
  font-size: 13px;
  line-height: 1.8;
  color: #6d816a;
  margin: 13px 0 23px;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  font-size: 26px;
  color: #6a8566;
  cursor: pointer;
}
.dialog-actions {
  display: flex;
  gap: 10px;
}
.dialog-actions .btn {
  font-size: 13px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 10px);
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  background: #4e5e4b;
  color: white;
  font-size: 12px;
  border-radius: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
noscript {
  display: block;
  padding: 30px;
  text-align: center;
}
@media (max-width: 420px) {
  .site-header {
    height: 58px;
  }
  .header-inner {
    padding: 0 16px;
  }
  .brand {
    font-size: 12px;
    gap: 6px;
  }
  .brand svg {
    width: 20px;
  }
  .reset-btn span {
    display: none;
  }
  .app-main {
    padding: 20px 14px 32px;
  }
  .card {
    padding: 25px 21px;
    border-radius: 24px;
  }
  .welcome-card {
    padding-top: 28px;
  }
  .hero-title {
    font-size: 29px;
  }
  .question-title {
    font-size: 18px;
  }
  .choice {
    padding: 14px 12px;
    gap: 10px;
  }
  .choice-text {
    font-size: 12px;
  }
  .dialogue {
    padding: 16px;
  }
  .dialogue blockquote {
    font-size: 14px;
  }
  .question-prompt {
    font-size: 12px;
  }
  .segment {
    min-width: 60px;
  }
  .segment span {
    font-size: 11px;
    padding: 11px 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.graph-instruction {
  font-size: 12px;
  color: #6d816a;
  line-height: 1.7;
  margin: -10px 0 17px;
}
.score-list {
  display: grid;
  gap: 7px;
}
.score-button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
  background: transparent;
  margin: 0;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.score-button:hover {
  background: #fbfcfb;
  border-color: #e1ebdd;
}
.score-entry[open] > .score-button {
  background: #f4f8f2;
  border-color: #5f9457;
}
.score-entry {
  margin-bottom: 8px;
}
.score-entry > summary {
  cursor: pointer;
  list-style: none;
}
.score-entry > summary::-webkit-details-marker {
  display: none;
}
.score-entry > summary:focus-visible {
  outline: 2px solid #51735a;
  outline-offset: 3px;
}
.score-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  color: #6d816a;
  font-size: 11px;
  margin-top: 9px;
}
.score-entry .score-close-label,
.score-entry[open] .score-open-label {
  display: none;
}
.score-entry[open] .score-close-label {
  display: inline;
}
.score-entry[open] .score-chevron {
  transform: rotate(180deg);
}
.score-entry > .interpretation {
  margin-top: 8px;
  margin-bottom: 18px;
}
.score-button .bar-meta {
  display: flex;
}
.score-button .bar-track {
  display: block;
}
.score-button .bar-track > span {
  display: block;
  height: 100%;
  background: var(--gradient);
  border-radius: 7px;
}
.score-button .bar-meta > span {
  color: #596b56;
}
.score-button .bar-meta strong {
  color: #648e5d;
}
.graph-foot {
  color: #6d816a;
}
.evidence-caption {
  display: block;
  margin-top: 16px;
  color: #6b8367;
  font-size: 11px;
  line-height: 1.7;
}
.answer-evidence {
  margin-top: 13px;
}
.answer-evidence small {
  font-size: 10px;
  color: #6b8467;
}
.answer-evidence blockquote {
  margin-top: 7px;
}
.answer-evidence p {
  font-size: 11px;
  margin-top: 8px;
}
.interpretation p {
  color: #6d816a;
}
.interpretation .no-evidence {
  margin-top: 16px;
  color: #6d816a;
}
.glossary dd {
  color: #6d816a;
}
.empty-result {
  padding: 20px;
  border-radius: 14px;
  background: #e6f2e1;
  color: #6d816a;
  font-size: 13px;
  line-height: 1.8;
}
/* Production layout additions keep the reference's warm rose/lilac palette. */
a {
  color: #648d5d;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #436c50;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.65;
}
.muted {
  color: #597052;
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.draft-strip {
  text-align: center;
  padding: 9px 12px;
  background: #fff3dc;
  color: #755c33;
  font-size: 11px;
  line-height: 1.6;
}
.draft-strip a {
  margin-left: 10px;
  color: #755c33;
  font-weight: 700;
}
.site-footer {
  text-align: center;
  padding: 0 20px 35px;
  color: #61765c;
  font-size: 11px;
  line-height: 1.8;
}
.site-footer .text-btn {
  font-size: 11px;
}
.site-footer span {
  display: block;
  margin-top: 12px;
  font-size: 10px;
}
.app-main > .view-enter > .btn,
.app-main > section > .btn {
  margin-top: 17px;
}
.relationship-chips {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 13px;
  color: #6d816a;
  font-size: 11px;
}
.chapter-list small {
  margin-left: auto;
  color: #6d816a;
  font-size: 10px;
}
.resume-card {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d3e3d0;
  border-radius: 16px;
  padding: 17px;
  margin-top: 17px;
  background: #fbfcfb;
}
.resume-card strong {
  font-size: 12px;
  color: #5a7456;
}
.resume-card p {
  font-size: 11px;
  color: #597052;
  margin-top: 5px;
}
.small-btn {
  padding: 10px;
  border-radius: 10px;
  background: #ebf2e8;
  color: #60805b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.notice-inline {
  font-size: 12px;
  color: #896530;
  line-height: 1.8;
  margin: 15px 0;
}
.plain-field {
  padding: 0;
  border: 0;
}
.plain-field legend {
  padding: 0;
}
.relationship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.relationship-grid .segment span {
  padding: 18px 8px;
  font-size: 14px;
}
.field-label .muted {
  font-weight: 400;
  font-size: 11px;
  margin-left: 5px;
}
.record-body {
  padding-left: 12px;
}
.answer-record {
  padding: 12px 0;
  border-bottom: 1px solid #ebf0e9;
}
.answer-record:last-child {
  border-bottom: 0;
}
.answer-record strong {
  font-size: 11px;
  color: #667e62;
}
.answer-record p {
  margin-top: 5px;
  color: #61735e;
}
.answer-evidence summary {
  font-size: 11px;
  color: #658160;
  line-height: 1.8;
  cursor: pointer;
}
.hold-note {
  padding: 16px;
  border: 1px solid #e0e7de;
  background: #f9fbf8;
  border-radius: 12px;
  margin-top: 20px;
  color: #6d816a;
  line-height: 1.8;
  font-size: 11px;
}
.hold-note strong {
  font-size: 12px;
}
.hold-note p {
  margin-top: 5px;
}
.share-button {
  margin-top: 12px;
}
.share-preview {
  padding: 17px;
  background: #f3f7f2;
  border-radius: 12px;
  margin: 18px 0;
}
.share-preview strong {
  font-size: 14px;
  color: #547150;
}
.share-preview p {
  margin: 6px 0;
  font-size: 12px;
  color: #6a8167;
}
.url-input {
  width: 100%;
  border: 1px solid #648e5d;
  border-radius: 9px;
  padding: 11px;
  font-size: 11px;
  margin-bottom: 14px;
  color: #5f715c;
  background: #f7fcf4;
}
.kakao {
  background: #fee500;
  color: #292113;
  margin-top: 10px;
}
.kakao:disabled {
  background: #eee9c6;
  color: #8a8460;
}
dialog {
  max-height: 85vh;
  overflow: auto;
}
dialog p {
  color: #6d816a;
}
dialog h2 {
  margin-top: 0;
}
.graph-foot {
  line-height: 1.8;
}
.summary-grid strong {
  text-align: right;
  max-width: 70%;
  line-height: 1.6;
}
.report .score-button {
  cursor: pointer;
}
.bar-meta strong {
  color: #648d5d;
}
.footnote {
  color: #6d816a;
}
.test-count {
  color: #6d816a;
}
.choice-text {
  color: #546452;
}
.speaker {
  color: #688863;
}
.export-host {
  position: absolute;
  left: -12000px;
  top: 0;
  width: 700px;
}
.export-page {
  width: 700px;
  height: 990px;
  background: #f7fcf4;
  color: #4d6549;
  padding: 52px;
  position: relative;
  box-sizing: border-box;
}
.export-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 40px;
}
.export-page h1 {
  font-size: 32px;
  margin: 12px 0 32px;
  line-height: 1.5;
}
.export-page .score-button {
  padding: 12px 0;
  margin: 0 0 10px;
}
.export-page .bar-meta {
  font-size: 15px;
}
.export-page .bar-meta strong {
  font-size: 15px;
}
.export-page .bar-meta small {
  font-size: 12px;
}
.export-page .summary-grid span {
  font-size: 15px;
}
.export-page .summary-grid strong {
  font-size: 18px;
}
.export-page .summary-grid > div {
  padding: 18px 0;
}
.export-footer {
  position: absolute;
  left: 52px;
  right: 52px;
  bottom: 48px;
  font-size: 11px;
  color: #6d816a;
  line-height: 1.9;
  border-top: 1px solid #e4ebe1;
  padding-top: 18px;
}
.export-emblem {
  width: 130px;
  height: 130px;
  border-radius: 40px;
  background: #ecf2ea;
  display: grid;
  place-items: center;
  color: #638f5b;
  margin: 25px auto;
}
.export-lead {
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.export-page .hold-note {
  font-size: 13px;
}
.review-main {
  max-width: 950px;
  padding: 32px 20px 70px;
  margin: auto;
}
.review-main h1 {
  font-size: 28px;
  color: #485d44;
}
.review-main .subtitle {
  margin-bottom: 20px;
}
.review-callout {
  padding: 22px;
  background: #fff6e6;
  border: 1px solid #edddbd;
  border-radius: 16px;
  color: #765e3c;
  font-size: 13px;
  line-height: 1.9;
}
.review-callout p {
  margin-top: 9px;
}
.review-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0;
}
.review-controls label {
  display: grid;
  gap: 8px;
  flex: 1;
  min-width: 170px;
  font-size: 12px;
  color: #5d745a;
}
.review-controls select,
.review-controls input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d6e1d4;
  border-radius: 10px;
  background: white;
  color: #4e5e4b;
  font: inherit;
}
.review-main > .card {
  padding: 20px;
}
.review-main summary {
  cursor: pointer;
  color: #647f5f;
}
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 25px;
  margin-top: 15px;
}
.coverage-grid > div {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #ecf2ea;
}
.coverage-grid strong {
  white-space: nowrap;
  color: #668b60;
}
.review-count {
  margin: 22px 0;
  font-size: 12px;
  color: #6d816a;
}
.review-question {
  margin-bottom: 20px;
  padding: 27px;
}
.review-question h2 {
  font-size: 20px;
}
.review-context {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
}
.review-quote {
  padding: 14px;
  background: #f2f6f0;
  border-radius: 12px;
  margin-top: 13px;
  font-size: 14px;
  color: #5e7759;
  line-height: 1.8;
}
.review-question ol {
  padding-left: 23px;
}
.review-question li {
  padding: 16px 10px;
  border-bottom: 1px solid #eaf0e8;
}
.review-question li p {
  font-size: 14px;
  line-height: 1.9;
}
.review-question li small {
  display: block;
  color: #6d816a;
  line-height: 1.8;
  font-size: 11px;
  margin-top: 7px;
}
.review-question .highlight {
  background: #f0f5ef;
  border-radius: 10px;
}
.signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.signal-tags span {
  font-size: 10px;
  color: #678962;
  background: #eff5ed;
  padding: 5px 8px;
  border-radius: 7px;
}
.review-question .kicker {
  margin-bottom: 8px;
}
.review-main a {
  color: #658c5e;
}
@media (max-width: 500px) {
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .review-main {
    padding: 24px 14px;
  }
  .review-question {
    padding: 22px 17px;
  }
  .review-callout {
    padding: 18px;
  }
  .review-main h1 {
    font-size: 23px;
  }
  .draft-strip {
    font-size: 10px;
  }
  .relationship-chips {
    gap: 10px;
  }
  .summary-grid strong {
    font-size: 13px;
  }
  .resume-card {
    padding: 14px;
  }
  .question-card .choices {
    padding-right: 10px;
    padding-left: 10px;
  }
  .choice-text {
    font-size: 13px;
  }
  .dialogue blockquote {
    font-size: 14px;
  }
  .report-tab {
    min-height: 48px;
  }
  .text-btn {
    min-height: 40px;
  }
}
@media print {
  .site-header,
  .draft-strip,
  .site-footer,
  .download-buttons,
  .share-button,
  .back-link {
    display: none;
  }
  .app-main {
    max-width: none;
    padding: 0;
  }
  .card {
    break-inside: avoid;
    border: 1px solid #ddd;
    box-shadow: none;
  }
  .report .card {
    margin-bottom: 20px;
  }
  .record-section {
    display: none;
  }
  body {
    background: white;
  }
}

.brand-icon { border-radius: 7px; background: #dcecd4; object-fit: contain; }
.test-emblem > img { display: block; object-fit: contain; }
