@font-face {
  font-family: "Pretendard Variable";
  src: url("/report-fonts/research-plan-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Document-inspired layout: rules divide real fields and connect comparison steps.
   No framework, decorative imagery, animation, or changes to other article styles. */
:root {
  color-scheme: light;
  --paper: #f2f0e8;
  --ink: #242622;
  --muted: #61635d;
  --rule: #b9bab1;
  --accent: #2345ff;
  --wash: #e9e8df;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #20221f; --ink: #eeeee5; --muted: #b6b9ae;
    --rule: #676b61; --accent: #a9b8ff; --wash: #292c27;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #20221f; --ink: #eeeee5; --muted: #b6b9ae;
  --rule: #676b61; --accent: #a9b8ff; --wash: #292c27;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 "Pretendard Variable", Pretendard, sans-serif; letter-spacing: -.025em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--ink); color: var(--paper); }
button, summary { cursor: pointer; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 20px; top: -80px; padding: 12px 20px; background: var(--paper); z-index: 2; }
.skip:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 76px; max-width: 1440px; padding: 0 44px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.075em; line-height: 1; text-decoration: none; }
.brand span { color: var(--accent); }
.global-nav { margin-left: auto; display: flex; gap: 20px; align-items: center; font-size: 12px; line-height: 1.3; }
.global-nav a { padding: 27px 0; text-decoration: none; }
.global-nav .current { border-bottom: 2px solid var(--accent); }
.global-nav .nav-group { display: flex; flex-direction: column; justify-content: center; }
.global-nav .nav-group-label { font-size: 11px; color: var(--muted); font-weight: 650; }
.global-nav .nav-group-items { display: flex; gap: 16px; }
.global-nav .nav-group-items a { padding: 6px 0; }
#theme { background: transparent; border: 1px solid var(--rule); padding: 10px 12px; min-height: 42px; font-size: 12px; white-space: nowrap; }
#theme:hover { border-color: var(--ink); }
.document { max-width: 1304px; margin: 0 auto; padding: 54px 44px 0; }
.title-block { border-top: 4px solid var(--ink); border-bottom: 1px solid var(--ink); }
.document-type { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--ink); font-size: 12px; letter-spacing: .055em; font-weight: 650; }
.document-type span:last-child { letter-spacing: 0; }
.title-row { display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.title-copy { padding: 34px 48px 34px 0; }
h1 { font-size: clamp(34px, 3.6vw, 51px); font-weight: 650; line-height: 1.28; letter-spacing: -.055em; word-break: keep-all; margin: 0 0 24px; text-wrap: balance; }
.intro { max-width: 620px; margin: 0; font-size: 17px; line-height: 1.8; word-break: keep-all; }
.status-block { border-left: 1px solid var(--rule); padding: 34px 0 30px 30px; display: flex; flex-direction: column; justify-content: space-between; }
.small-label { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.status-block>strong { font-size: 38px; line-height: 1.3; font-weight: 550; color: var(--accent); margin: 12px 0 24px; }
.status-block p { font-size: 13px; line-height: 1.8; margin: 0; }
.status-result { display: inline-block; width: fit-content; margin-top: 18px; color: var(--accent); font-size: 13px; font-weight: 650; }
.document-fields { margin: 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr 1.3fr .8fr; }
.document-fields>div { padding: 14px 20px; border-left: 1px solid var(--rule); }
.document-fields>div:first-child { border-left: 0; padding-left: 0; }
dt { font-size: 12px; color: var(--muted); }
dd { margin: 5px 0 0; font-size: 14px; font-weight: 550; }
.document-index { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 54px; padding: 17px 0; border-bottom: 1px solid var(--rule); }
.document-index a { text-decoration: none; font-size: 13px; padding: 2px 20px; border-left: 1px solid var(--rule); }
.document-index a:first-child { padding-left: 0; border-left: 0; }
.plan-section { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 48px; padding: 36px 0 48px; border-top: 1px solid var(--ink); scroll-margin-top: 28px; }
.question-section { padding-top: 0; border-top: 0; }
.section-heading h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.4; letter-spacing: -.04em; font-weight: 650; word-break: keep-all; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.section-content { min-width: 0; }
.section-content p { margin: 0 0 18px; word-break: keep-all; overflow-wrap: break-word; }
.section-content h3 { margin: 0 0 8px; font-size: 16px; font-weight: 650; line-height: 1.6; }
.lead-question { font-size: 27px; line-height: 1.6; letter-spacing: -.035em; max-width: 800px; }
.hypothesis { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 0 20px; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 26px; }
.hypothesis h3 { font-size: 13px; color: var(--accent); }
.hypothesis p { font-size: 15px; margin-bottom: 10px; }
.qualification { grid-column: 2; font-size: 12px; color: var(--muted); }
.rationale { margin-top: 30px; }
.rationale p { font-size: 15px; margin: 0; }
.section-intro { font-size: 22px; font-weight: 550; }
.comparison-diagram { margin: 24px 0 28px; }
.shared-input { border: 1px solid var(--ink); padding: 18px 24px; text-align: center; background: var(--wash); }
.shared-input strong { font-size: 20px; font-weight: 600; display: block; margin-top: 5px; }
.condition-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; padding-top: 34px; position: relative; }
.condition-grid::before { content: ""; position: absolute; top: 0; left: 50%; height: 17px; border-left: 1px solid var(--ink); }
.condition { border: 1px solid var(--ink); position: relative; padding: 22px; }
.condition::before { content: ""; position: absolute; height: 17px; width: calc(50% + 17px); top: -18px; border-top: 1px solid var(--ink); }
.condition:first-child::before { left: 50%; border-left: 1px solid var(--ink); }
.condition:last-child::before { right: 50%; border-right: 1px solid var(--ink); }
.condition-key { float: left; font-size: 22px; line-height: 1.3; font-weight: 550; color: var(--accent); margin-right: 12px; }
.condition h3 { margin: 0 0 14px; font-size: 17px; }
.condition p { clear: both; margin: 0; font-size: 14px; line-height: 1.8; }
.measurement-label { display: flex; align-items: center; gap: 14px; font-size: 12px; justify-content: center; color: var(--muted); margin: 24px 0; }
.measurement-label::before, .measurement-label::after { content: ""; width: 38px; border-top: 1px solid var(--rule); }
.track-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.track { padding-top: 16px; border-top: 2px solid var(--accent); }
.track strong { display: block; font-size: 20px; font-weight: 550; margin: 6px 0 12px; }
.track p { font-size: 14px; line-height: 1.85; margin: 0; }
figcaption { border-top: 1px solid var(--rule); padding-top: 15px; margin-top: 24px; font-size: 12px; color: var(--muted); }
.control-note p { font-size: 14px; }
details { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
summary { padding: 15px 0; font-size: 14px; }
summary:hover { color: var(--accent); }
.example p { font-size: 14px; margin: 0 0 18px; }
.procedure { margin: 0; padding: 0; list-style: none; counter-reset: research-step; }
.procedure li { position: relative; padding: 0 0 28px 55px; counter-increment: research-step; }
.procedure li::before { content: counter(research-step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; }
.procedure li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 31px; bottom: 10px; border-left: 1px solid var(--rule); }
.procedure li p { font-size: 15px; margin: 0; }
.section-content .annotation { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.table-wrap { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
thead th { padding: 0 18px 14px 0; border-bottom: 1px solid var(--ink); font-weight: 500; font-size: 12px; color: var(--muted); text-align: left; }
tbody th, td { border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; padding: 20px 18px 20px 0; word-break: keep-all; }
tbody th { width: 23%; font-weight: 600; }
td:last-child { width: 31%; padding-right: 0; color: var(--muted); }
.decision-list>div { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; border-bottom: 1px solid var(--rule); padding: 20px 0; }
.decision-list>div:first-child { padding-top: 0; }
.decision-list h3 { font-size: 15px; }
.decision-list p { font-size: 14px; margin: 0; }
.section-content .caution { margin: 24px 0 0; padding-left: 18px; border-left: 2px solid var(--accent); font-size: 14px; }
.pending-list { margin: 0; }
.pending-list>div { display: grid; grid-template-columns: 135px minmax(0,1fr); padding: 14px 0; border-bottom: 1px solid var(--rule); gap: 16px; }
.pending-list>div:first-child { padding-top: 0; }
.pending-list dt { font-size: 14px; }
.pending-list dd { margin: 0; font-size: 15px; font-weight: 400; }
.boundary-title { padding-top: 32px; }
.limits { padding-left: 20px; font-size: 14px; }
.limits li { padding-left: 4px; margin-bottom: 14px; word-break: keep-all; }
.source>a { font-weight: 600; font-size: 17px; }
.source>p { font-size: 14px; margin-top: 14px; }
.background-article { margin-top: 28px; }
.summary-note { color: var(--muted); font-size: 12px; margin-left: 16px; }
.archive-copy { padding: 20px 0; font-size: 15px; }
.archive-copy section { border-top: 1px solid var(--rule); margin-top: 26px; padding-top: 26px; }
.archive-copy h3 { font-size: 21px; margin: 0 0 16px; }
.archive-copy .scope-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.archive-copy ul { padding-left: 20px; }
.archive-copy li { margin-bottom: 14px; }
.archive-copy a { color: var(--accent); }
.document-footer { border-top: 3px solid var(--ink); padding: 24px 0 32px; display: flex; gap: 28px; align-items: center; }
.document-footer p { color: var(--muted); font-size: 12px; margin: 0; }
.document-footer>a:last-child { margin-left: auto; font-size: 12px; white-space: nowrap; }
@media(max-width:1100px) {
  .header-inner { padding: 0 28px; gap: 20px; }
  .global-nav { gap: 12px; font-size: 11px; }
  .document { padding: 40px 28px 0; }
  .title-row { grid-template-columns: minmax(0,1fr) 220px; }
  .title-copy { padding-right: 28px; }
  .status-block { padding-left: 24px; }
  .plan-section { grid-template-columns: 180px minmax(0,1fr); gap: 32px; }
  .document-index a { padding: 2px 12px; }
}
@media(max-width:767px) {
  .header-inner { padding: 20px; flex-wrap: wrap; gap: 16px; }
  .brand { font-size: 28px; }
  #theme { margin-left: auto; }
  .global-nav { order: 3; margin: 0; width: 100%; flex-wrap: wrap; gap: 8px 16px; font-size: 11px; }
  .global-nav a { padding: 6px 0; }
  .document { padding: 28px 20px 0; }
  .document-type { font-size: 10px; padding: 10px 0; }
  .title-row { display: block; }
  .title-copy { padding: 24px 0; }
  h1 { font-size: 34px; line-height: 1.32; text-wrap: pretty; margin-bottom: 18px; }
  .intro { font-size: 15px; }
  .status-block { border-left: 0; border-top: 1px solid var(--rule); padding: 16px 0; display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 6px 16px; }
  .status-block>.small-label { grid-column: 1; }
  .status-block>strong { grid-column: 1; font-size: 25px; margin: 0; }
  .status-block p { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 12px; }
  .document-fields { grid-template-columns: 1fr 1fr; }
  .document-fields>div { padding: 12px 14px; }
  .document-fields>div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .document-fields>div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  dd { font-size: 13px; }
  .document-index { gap: 8px 16px; padding: 16px 0; margin-bottom: 32px; }
  .document-index a { padding: 0; border: 0; font-size: 12px; }
  .plan-section { display: block; padding: 28px 0 34px; }
  .question-section { padding-top: 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 23px; margin-bottom: 6px; }
  .section-heading p br { display: none; }
  .lead-question { font-size: 23px; line-height: 1.65; }
  .hypothesis { display: block; }
  .hypothesis h3 { margin-bottom: 10px; }
  .section-intro { font-size: 20px; }
  .shared-input { padding: 16px; }
  .shared-input strong { font-size: 18px; }
  .condition-grid, .track-grid { display: block; }
  .condition-grid { border-left: 1px solid var(--ink); padding: 0 0 0 18px; margin: 0 0 0 12px; }
  .condition-grid::before { display: none; }
  .condition { margin-top: 20px; padding: 18px; }
  .condition:first-child::before, .condition:last-child::before { height: 0; width: 19px; top: 28px; left: -19px; right: auto; border: 0; border-top: 1px solid var(--ink); }
  .condition h3 { font-size: 16px; }
  .track+.track { margin-top: 22px; }
  .track strong { font-size: 19px; }
  .measurement-label { margin: 24px 0 18px; }
  .procedure li { padding-left: 42px; }
  table { min-width: 560px; font-size: 13px; }
  .decision-list>div { display: block; padding: 18px 0; }
  .decision-list h3 { margin-bottom: 10px; }
  .pending-list>div { grid-template-columns: 95px minmax(0,1fr); gap: 12px; }
  .pending-list dt { font-size: 13px; }
  .pending-list dd { font-size: 14px; }
  .summary-note { display: block; margin-left: 19px; }
  .document-footer { flex-wrap: wrap; gap: 18px; }
  .document-footer p { order: 3; width: 100%; }
  .document-footer>a:last-child { margin-left: auto; }
}
@media print {
  :root, :root[data-theme="dark"] { --paper: #fff; --ink: #242622; --muted: #61635d; --rule: #aaa; --accent: #2345ff; --wash: #f2f0e8; color-scheme: light; }
  .site-header, .document-index, .skip, .document-footer>a:last-child { display: none; }
  .document { padding: 0; max-width: none; }
  .plan-section { grid-template-columns: 150px minmax(0,1fr); gap: 24px; }
  .title-row { grid-template-columns: minmax(0,1fr) 180px; }
  h1 { font-size: 32px; }
  .title-copy { padding-right: 24px; }
  .status-block { padding-left: 18px; }
  .comparison-diagram, tr, .pending-list>div { break-inside: avoid; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
}
