:root {
  --paper: #faf7f0;
  --ink: #17191a;
  --muted: #4f5b56;
  --line: #ddd4c1;
  --grid: #ece4d3;
  --red: #c2382a;
  --green: #0e6b5b;
  --blue: #3b5c8f;
  --cyan: #0b7285;
  --gold: #b9852e;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.92);
  --shadow: 0 12px 28px rgba(23, 25, 26, 0.055);
  --shadow-soft: 0 6px 18px rgba(23, 25, 26, 0.035);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(207, 217, 212, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(207, 217, 212, 0.18) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(246, 247, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a:focus-visible,
.button:focus-visible,
.official-link:focus-visible,
.problem-links a:focus-visible,
.practice-plan a:focus-visible {
  outline: 3px solid rgba(216, 33, 72, 0.35);
  outline-offset: 3px;
}

main {
  overflow: hidden;
}

.hero,
.workbench,
.diagnosis,
.profiles,
.method,
.strategy,
.pricing,
.research-update {
  padding: clamp(56px, 7vw, 108px) clamp(20px, 4vw, 56px);
}

.hero {
  min-height: min(760px, calc(100svh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.5vw, 56px);
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 800;
}

.hero-proof strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

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

.button.ghost {
  background: transparent;
}

.button.wide {
  width: 100%;
}

.hero-sheet {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(39, 92, 168, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(39, 92, 168, 0.05) 1px, transparent 1px),
    var(--panel);
  background-size: 22px 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-sheet::before,
.memo::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 16px;
  width: 3px;
  background: var(--red);
}

.formula-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-left: 18px;
}

.formula-strip code {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(39, 92, 168, 0.24);
  border-radius: 6px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
}

.sheet-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 11px 18px;
  border-bottom: 1px solid var(--grid);
}

.sheet-line span {
  color: var(--muted);
  font-weight: 700;
}

.sheet-line strong {
  font-family: Georgia, serif;
  font-size: 40px;
}

.math-axis {
  display: grid;
  gap: 8px;
  margin: 4px 0 0 18px;
}

.math-axis span {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.math-axis span::after {
  content: "";
  display: block;
  width: var(--axis);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.hero-sheet p {
  margin: 18px 0 0 18px;
  color: var(--muted);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
}

.section-heading.split p:last-child {
  color: var(--muted);
  margin-bottom: 14px;
}

.workbench {
  min-height: calc(100svh - 63px);
  padding-block: clamp(24px, 3.6vw, 46px);
  background:
    linear-gradient(90deg, rgba(39, 92, 168, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(39, 92, 168, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  border-bottom: 1px solid var(--line);
}

.workbench-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.workbench-header h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.06;
}

.workbench-header .lead {
  max-width: 720px;
  font-size: clamp(16px, 1.6vw, 18px);
}

.workbench-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: none;
}

.workbench-stats span {
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 10px 12px;
  color: var(--muted);
  border-right: 1px solid var(--grid);
  font-size: 12px;
  font-weight: 800;
}

.workbench-stats span:last-child {
  border-right: 0;
}

.workbench-stats strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

.workbench-grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.control-panel,
.strategy-console {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.control-panel {
  position: sticky;
  top: 82px;
  padding: 18px;
}

.panel-heading,
.console-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-heading h2,
.console-head h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.4vw, 34px);
}

.handwriting-lane {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr) minmax(90px, auto);
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: rgba(246, 247, 244, 0.82);
}

.handwriting-lane span,
.handwriting-lane strong {
  min-width: 0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.handwriting-lane span {
  color: var(--muted);
}

.handwriting-lane strong {
  color: var(--ink);
}

.control-panel .diagnosis-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.control-panel .diagnosis-form fieldset {
  padding-top: 14px;
  border-top: 1px solid var(--grid);
}

.strategy-console {
  padding: 18px;
}

.strategy-console .strategy-board {
  gap: 12px;
}

.strategy-console .strategy-summary {
  padding: 14px 16px;
  border-left-color: var(--blue);
  background: rgba(246, 247, 244, 0.82);
  box-shadow: none;
}

.strategy-console .strategy-summary ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}

.strategy-console .strategy-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.strategy-console .strategy-card {
  min-height: 154px;
  gap: 7px;
  padding: 12px;
  border-top: 0;
  border-left: 4px solid var(--green);
  box-shadow: none;
}

.strategy-console .strategy-card[data-bucket="상향"] {
  border-left-color: var(--red);
}

.strategy-console .strategy-card[data-bucket="방어"] {
  border-left-color: var(--blue);
}

.strategy-console .strategy-card[data-bucket="보험"] {
  border-left-color: var(--gold);
}

.strategy-console .strategy-card[data-locked="true"] {
  background: rgba(246, 247, 244, 0.72);
}

.strategy-console .strategy-card h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.strategy-console .strategy-card p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.42;
}

.strategy-console .strategy-meta {
  justify-content: start;
}

.strategy-console .strategy-card a:not(.button):not(.official-link) {
  padding: 8px 9px;
}

.strategy-console .coach-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.78fr);
  gap: 10px;
  margin-top: 10px;
}

.strategy-console .memo {
  min-height: auto;
  padding: 16px 16px 16px 30px;
  box-shadow: none;
}

.strategy-console .memo h2 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.strategy-console .memo p:not(.memo-label) {
  font-size: 14px;
}

.strategy-console .practice-plan {
  padding: 16px;
  box-shadow: none;
}

.diagnosis {
  background: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid var(--line);
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.diagnosis-form,
.memo,
.practice-plan,
.school-card,
.method-grid article,
.official-research-detail,
.research-card,
.research-guide-output,
.research-llm-form,
.research-llm-output,
.strategy-summary,
.strategy-card,
.pricing-card,
.order-form,
.access-form,
.checkout-message,
.admin-note-form,
.admin-note-list,
.admin-note-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.admin-page main {
  overflow: visible;
}

.admin-workbench {
  padding: clamp(34px, 5vw, 72px) clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-note-form,
.research-llm-form,
.admin-note-list,
.research-llm-output {
  padding: 20px;
}

.admin-note-form,
.research-llm-form {
  display: grid;
  gap: 14px;
}

.admin-note-form label,
.research-llm-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.admin-note-form input,
.admin-note-form textarea,
.research-llm-form input,
.research-llm-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}

.admin-note-form textarea,
.research-llm-form textarea {
  resize: vertical;
}

.admin-note-list .section-heading {
  margin-bottom: 18px;
}

.admin-note-list h2 {
  font-size: clamp(24px, 2.6vw, 36px);
}

.admin-note-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-left: 4px solid var(--green);
}

.admin-note-card + .admin-note-card {
  margin-top: 10px;
}

.admin-note-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.admin-note-card span,
.admin-note-card p,
.admin-note-card small,
.admin-status {
  color: var(--muted);
}

.admin-note-card p,
.admin-status {
  margin-bottom: 0;
}

.coverage-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.coverage-summary article {
  padding: 12px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
}

.coverage-summary span,
.coverage-gap-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.coverage-summary strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, serif;
  font-size: 30px;
}

.coverage-gap-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}

.coverage-gap-list li {
  padding: 10px 12px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.research-llm-output pre,
pre[data-research-llm-output] {
  min-height: 180px;
  margin: 14px 0 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  white-space: pre-wrap;
}

.diagnosis-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.range-row span {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

.radio-row,
.chip-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
}

.radio-row + .radio-row {
  margin-top: 8px;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.form-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.select-row {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.select-row select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}

.range-row {
  display: block;
}

.range-row input {
  width: 100%;
  accent-color: var(--red);
}

.form-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.coach-panel {
  display: grid;
  gap: 18px;
}

.memo {
  position: relative;
  min-height: 280px;
  padding: 28px 28px 28px 44px;
  box-shadow: var(--shadow);
}

.memo-label {
  margin-bottom: 12px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 900;
}

.memo h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
}

.memo p:not(.memo-label) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.memo-score {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
}

.memo-score strong {
  font-family: Georgia, serif;
  font-size: 34px;
}

.memo-meta {
  display: grid;
  grid-template-columns: auto auto minmax(180px, 1fr);
  align-items: center;
  gap: 10px 12px;
  max-width: 760px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  background: var(--paper);
}

.memo-meta[data-confidence="medium"],
.confidence-line[data-confidence="medium"] {
  border-left-color: var(--gold);
}

.memo-meta[data-confidence="low"],
.confidence-line[data-confidence="low"] {
  border-left-color: var(--blue);
}

.memo-meta span,
.memo-meta strong {
  font-weight: 900;
}

.memo-meta small {
  color: var(--muted);
}

.risk-list {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 14px;
}

.risk-list li::marker {
  color: var(--red);
}

.practice-plan {
  padding: 22px;
}

.practice-plan p {
  color: var(--muted);
}

.practice-plan ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.practice-plan li::marker {
  color: var(--red);
  font-weight: 900;
}

.practice-plan li {
  padding-left: 4px;
}

.practice-plan a {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}

.practice-plan span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.next-action {
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: var(--paper);
  font-weight: 800;
}

.strategy {
  background: rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid var(--line);
}

.strategy-board {
  display: grid;
  gap: 18px;
}

.strategy-summary {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-left: 4px solid var(--red);
}

.strategy-summary strong {
  font-size: 18px;
}

.strategy-summary ul,
.pricing-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.strategy-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 280px;
  padding: 18px;
  border-top: 4px solid var(--green);
}

.strategy-card[data-bucket="상향"] {
  border-top-color: var(--red);
}

.strategy-card[data-bucket="방어"] {
  border-top-color: var(--blue);
}

.strategy-card[data-bucket="보험"] {
  border-top-color: var(--gold);
}

.strategy-card[data-locked="true"] {
  background:
    repeating-linear-gradient(-45deg, rgba(207, 217, 212, 0.22) 0 10px, transparent 10px 20px),
    rgba(255, 255, 255, 0.86);
}

.strategy-card__head,
.strategy-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.strategy-card__head p {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
}

.strategy-card__head span,
.strategy-meta span {
  padding: 5px 8px;
  border: 1px solid var(--grid);
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  font-weight: 900;
}

.strategy-card h3,
.pricing-card h3 {
  font-size: 28px;
}

.strategy-card p {
  color: var(--muted);
}

.strategy-card .market-label {
  color: var(--ink);
  font-weight: 900;
}

.strategy-card a:not(.button):not(.official-link) {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
  font-weight: 900;
}

.strategy-card small {
  color: var(--muted);
}

.official-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.official-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.official-link.primary {
  color: var(--white);
  background: var(--ink);
}

.strategy-card .official-link {
  min-height: 40px;
  font-size: 13px;
}

.official-research-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.official-research-badge strong {
  text-align: right;
}

.official-student-report {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: rgba(255, 255, 255, 0.78);
}

.official-student-report__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 14px;
  align-items: start;
}

.official-student-report__head h3 {
  margin-bottom: 6px;
  font-size: clamp(19px, 2vw, 26px);
}

.official-student-report__head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.official-student-report__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.official-student-report__stats div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--grid);
  background: var(--paper);
}

.official-student-report__stats dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.official-student-report__stats dd {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.official-student-report__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.32fr);
  gap: 10px;
}

.official-row-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.official-row-list li {
  padding: 9px 10px;
  border: 1px solid var(--grid);
  background: var(--paper);
}

.official-row-list strong,
.official-row-list span,
.official-row-list small {
  display: block;
}

.official-row-list span,
.official-row-list small,
.official-noessay-box p,
.official-guardrails {
  color: var(--muted);
  font-size: 13px;
}

.official-noessay-box {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--grid);
  background: var(--paper);
}

.official-noessay-box strong {
  font-weight: 900;
}

.official-noessay-box p {
  margin: 0;
}

.official-guardrails {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.official-guardrails li::marker,
.official-row-list li::marker {
  color: var(--blue);
  font-weight: 900;
}

.official-research-detail {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 18px;
  border-left: 4px solid var(--green);
}

.official-research__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.official-research__head h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0;
}

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

.official-research__metrics span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.official-research__metrics strong {
  color: var(--ink);
  font-size: 16px;
}

.official-research__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.official-research__list li {
  padding: 12px 0;
  border-top: 1px solid var(--grid);
}

.official-research__list div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.official-research__list span,
.official-research__list small {
  color: var(--muted);
  font-size: 13px;
}

.official-research__list p {
  margin: 5px 0 2px;
}

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

.research-update {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.research-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-left: 4px solid var(--blue);
}

.research-card h3 {
  margin-bottom: 6px;
}

.research-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.research-card a,
.research-guide-output a {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.research-guide-output {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
  color: var(--muted);
}

.research-guide-output p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 800;
}

.research-guide-output ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.research-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: 12px;
}

.research-guide-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
}

.research-guide-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.research-llm-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
}

.research-llm-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.research-llm-form input,
.research-llm-form select,
.research-llm-form textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}

.research-llm-form textarea {
  min-height: 112px;
  resize: vertical;
}

.research-llm-output {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 18px;
  color: var(--muted);
}

.research-llm-output strong {
  color: var(--ink);
}

.research-llm-output span {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 800;
}

.research-llm-output pre {
  max-height: 420px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--grid);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.55;
}

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

.pricing-card {
  display: grid;
  gap: 20px;
  padding: 22px;
  border-top: 4px solid var(--green);
}

.pricing-card[data-ready="false"] {
  border-top-color: var(--gold);
}

.payment-steps {
  counter-reset: payment-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.payment-steps li {
  counter-increment: payment-step;
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 94px;
  padding: 14px 14px 14px 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.payment-steps li::before {
  content: counter(payment-step);
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.payment-steps strong {
  font-weight: 900;
}

.payment-steps span {
  color: var(--muted);
  font-size: 14px;
}

.service-notice {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.service-notice h3 {
  margin-bottom: 0;
}

.service-notice dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.service-notice dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.service-notice dd {
  margin: 4px 0 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.service-notice p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.checkout-message {
  margin-top: 16px;
  padding: 14px 16px;
  color: var(--muted);
}

.access-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 18px;
}

.order-form label:last-child {
  grid-column: 1 / -1;
}

.access-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.order-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.access-form input {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
}

.order-form input {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
}

.checkout-message:empty {
  display: none;
}

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

.school-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-top: 4px solid var(--green);
}

.school-card[data-status="candidate"] {
  border-top-color: var(--gold);
}

.school-card[data-status="archive"] {
  border-top-color: var(--blue);
}

.school-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.rank {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
}

.status-pill {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.confidence-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--grid);
  border-left: 4px solid var(--green);
  background: var(--paper);
}

.confidence-line span,
.confidence-line strong {
  font-weight: 900;
}

.confidence-line small {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.tagline,
.evidence,
.source-note {
  color: var(--muted);
}

.source-note {
  margin-top: -6px;
  font-size: 13px;
  font-weight: 800;
}

.match-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
}

.match-line strong {
  font-family: Georgia, serif;
  font-size: 34px;
}

.axis-grid {
  display: grid;
  gap: 8px;
}

.axis-row {
  display: grid;
  grid-template-columns: 74px minmax(70px, 1fr) 34px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.axis-track {
  height: 8px;
  background: var(--grid);
  border-radius: 999px;
  overflow: hidden;
}

.axis-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.problem-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.problem-links a {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--paper);
}

.problem-links span {
  font-weight: 900;
}

.problem-links small {
  color: var(--muted);
}

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

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

.method-grid article {
  padding: 20px;
}

.method-grid p {
  color: var(--muted);
}

.footer {
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero,
  .workbench-header,
  .workbench-grid,
  .strategy-console .coach-panel,
  .diagnosis-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .control-panel {
    position: static;
  }

  .school-list,
  .method-grid,
  .strategy-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .workbench,
  .diagnosis,
  .profiles,
  .method,
  .strategy,
  .pricing {
    padding-block: 48px;
  }

  .hero {
    padding-block: 36px 42px;
    gap: 26px;
  }

  .workbench {
    padding-block: 28px 42px;
  }

  .workbench-header {
    gap: 18px;
    margin-bottom: 16px;
  }

  h1 {
    max-width: 12em;
    font-size: clamp(34px, 9.2vw, 44px);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(28px, 7vw, 38px);
  }

  .lead {
    font-size: 16px;
  }

  .workbench-header h1 {
    max-width: none;
    font-size: clamp(30px, 8vw, 40px);
  }

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

  .workbench-stats span {
    min-height: 56px;
    padding: 10px;
    font-size: 12px;
  }

  .workbench-stats strong {
    font-size: 24px;
  }

  .control-panel,
  .strategy-console {
    padding: 14px;
  }

  .panel-heading,
  .console-head {
    align-items: start;
    flex-direction: column;
  }

  .console-head .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 20px;
  }

  .hero-proof span {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions .button {
    flex: 1 1 138px;
  }

  .hero-sheet {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 20px;
  }

  .hero-sheet::before {
    top: 14px;
    bottom: 14px;
    left: 12px;
  }

  .sheet-line {
    display: grid;
    gap: 4px;
    padding: 4px 8px 4px 16px;
    border-right: 1px solid var(--grid);
    border-bottom: 0;
  }

  .sheet-line:last-of-type {
    border-right: 0;
  }

  .sheet-line span {
    font-size: 13px;
  }

  .formula-strip,
  .math-axis {
    grid-column: 1 / -1;
  }

  .formula-strip {
    gap: 6px;
    margin-left: 16px;
  }

  .formula-strip code {
    min-height: 34px;
    font-size: 16px;
  }

  .math-axis {
    margin: 8px 0 0 16px;
  }

  .math-axis span {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
  }

  .sheet-line strong {
    font-size: 30px;
    line-height: 1;
  }

  .hero-sheet p {
    grid-column: 1 / -1;
    margin: 12px 0 0 16px;
    font-size: 13px;
  }

  .chip-grid,
  .form-row.two,
  .admin-grid,
  .problem-links,
  .school-list,
  .method-grid,
  .official-student-report__head,
  .official-student-report__body,
  .strategy-console .strategy-summary ul,
  .strategy-console .strategy-slots,
  .strategy-slots,
  .official-research__metrics,
  .pricing-grid,
  .service-notice dl,
  .payment-steps,
  .order-form,
  .access-form {
    grid-template-columns: 1fr;
  }

  .order-form label:last-child {
    grid-column: auto;
  }

  .memo {
    padding: 24px 20px 24px 36px;
  }

  .memo-meta,
  .confidence-line {
    grid-template-columns: 1fr;
  }

  .official-research-badge {
    align-items: start;
    flex-direction: column;
  }

  .official-research-badge strong {
    text-align: left;
  }

  .school-card__head {
    flex-direction: column;
  }
}

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


/* 진단 폼 도움말 · 조합표 범례 · 로딩 스켈레톤 */
.panel-guide {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.hint {
  margin: 2px 0 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.board-legend {
  margin: 10px 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.board-legend b { color: var(--ink); }
.skeleton-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.skeleton-card {
  height: 200px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(100deg, #efe9db 40%, #f7f2e7 50%, #efe9db 60%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -80% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-card { animation: none; }
}

/* 공부 콘텐츠 선반 — 문제집 표지 카드 + 도장형 상태 표시 */
.study-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.shelf-card {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.shelf-card h3 {
  margin: 4px 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.shelf-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.shelf-kind {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}
.shelf-card p.shelf-kind { color: var(--blue); }
.shelf-status {
  position: absolute;
  top: -12px;
  right: 14px;
  transform: rotate(-3deg);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 4px;
  background: var(--paper);
}
.shelf-status.live {
  color: var(--blue);
  border: 2px solid var(--blue);
}
.shelf-status.soon {
  color: var(--red);
  border: 2px dashed var(--red);
}
.shelf-status.offline {
  color: var(--green);
  border: 2px solid var(--green);
}
.study-next {
  margin: 14px 0 0;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--panel);
  border: 1px dashed var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
}
.study-next b { color: var(--ink); }
.study-next a { color: var(--blue); font-weight: 700; text-decoration: underline; }
