:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #171717;
  --muted: #505050;
  --rule: #999;
  --link: #263f61;
  font-family: "CMU Serif", "Latin Modern Roman", Georgia, "Noto Serif KR", serif;
  font-size: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; }
:lang(ko) { word-break: keep-all; }
:lang(en) { word-break: normal; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
button, summary { cursor: pointer; font: inherit; }
button { color: inherit; background: transparent; border: 0; min-height: 44px; padding: 4px 0 4px 12px; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 5; background: var(--paper); padding: 10px; }
.skip:focus { top: 12px; }
.topbar { max-width: 1080px; margin: 0 auto; min-height: 65px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); font-size: .78rem; }
.wordmark, .brand a { display: inline-flex; align-items: center; }
.wordmark img, .brand img { display: block; width: 115px; height: 20px; object-fit: contain; }
#language [aria-current="true"] { font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
.paper-layout { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 160px minmax(0, 720px); column-gap: 40px; justify-content: center; align-items: start; }
.margin-toc { align-self: stretch; font-size: .75rem; line-height: 1.45; }
.toc-sticky { position: sticky; top: 28px; padding: 60px 0 24px; max-height: calc(100vh - 28px); overflow-y: auto; }
.toc-label { margin: 0 0 12px; font-variant: small-caps; letter-spacing: .06em; }
.margin-toc nav, .mobile-toc nav { display: flex; flex-direction: column; gap: 10px; }
.margin-toc nav a { color: var(--muted); text-decoration: none; }
.margin-toc nav a:hover { color: var(--link); text-decoration: underline; }
.related-notes { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #ccc; margin-top: 22px; padding-top: 16px; }
main { min-width: 0; width: 100%; }
.paper { counter-reset: section figure table; }
.title-block, .title-block p { text-align: center; }
.title-block { padding: 62px 0 30px; }
.note-kind { margin: 0 0 22px; font-size: .75rem; font-variant: small-caps; letter-spacing: .06em; }
h1 { font-size: 1.9rem; line-height: 1.3; font-weight: 600; margin: 0 auto 16px; text-wrap: balance; overflow-wrap: anywhere; }
.english-title { font-size: 1.1rem; line-height: 1.35; max-width: 630px; margin: 0 auto 22px; text-wrap: balance; }
html[lang="en"] .english-title { display: none; }
.author { margin: 24px 0 3px; font-size: 1.05rem; }
.affiliation, .dateline { margin: 3px 0; font-size: .83rem; }
.abstract { margin: 8px 44px 20px; font-size: .89rem; }
.abstract h2 { text-align: center; font-size: 1rem; margin: 0 0 10px; }
.abstract p { margin: 0; }
.keywords { margin: 0 44px 44px; font-size: .78rem; text-align: left; }
.mobile-toc { display: none; }
p, li, dd { text-align: justify; hyphens: auto; overflow-wrap: anywhere; }
p { margin: 0 0 1em; }
h2, h3 { text-align: left; text-wrap: balance; line-height: 1.35; hyphens: none; }
h2 { font-size: 1.3rem; margin: 0 0 18px; font-weight: 700; }
h3 { font-size: 1.05rem; margin: 28px 0 13px; font-weight: 700; }
.numbered-section { counter-increment: section; counter-reset: subsection; margin: 38px 0 0; scroll-margin-top: 26px; }
.numbered-section > h2::before { content: counter(section) "\2002"; }
.subsection { counter-increment: subsection; }
.subsection > h3::before { content: counter(section) "." counter(subsection) "\2002"; }
.appendix-page .numbered-section > h2::before { content: "A." counter(section) "\2002"; }
figure { counter-increment: figure; border-top: 1px solid var(--rule); padding-top: 16px; margin: 30px 0; break-inside: avoid; }
figure img { display: block; width: 100%; height: auto; }
.figure-link { display: block; }
.figure-link:hover { outline: 1px solid var(--rule); outline-offset: 3px; }
figcaption { font-size: .79rem; line-height: 1.5; margin-top: 13px; text-align: justify; hyphens: auto; overflow-wrap: anywhere; }
.figure-number { color: var(--link); font-weight: 700; }
.figure-number::before { content: "Figure " counter(figure) ".\00a0"; }
.figure-note { display: block; font-size: .94em; margin-top: 4px; color: var(--muted); }
table { counter-increment: table; width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); margin: 28px 0 16px; font-size: .87rem; table-layout: fixed; }
caption { caption-side: top; text-align: left; padding-bottom: 10px; line-height: 1.5; }
.table-number { font-weight: 700; }
.table-number::before { content: "Table " counter(table) ".\00a0"; }
thead { border-bottom: 1px solid var(--ink); }
th, td { padding: 9px 8px; vertical-align: top; overflow-wrap: anywhere; }
th { text-align: left; font-weight: 400; }
thead th { font-weight: 700; }
td.numeric, th.numeric { width: 25%; text-align: right; font-variant-numeric: tabular-nums; }
.snapshot, .footnote, .stats-status { font-size: .74rem; line-height: 1.55; }
.snapshot { margin: 2px 0; }
.footnote { margin-top: 12px; color: var(--muted); }
.stats-status:empty { display: none; }
.stats-status { margin-top: 10px; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .6em; }
.definitions { margin: 20px 0; font-size: .94rem; }
.definitions > div { margin: 0 0 15px; }
dt { font-weight: 700; }
dd { margin: 2px 0 0 1.3em; }
.references { border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 46px; scroll-margin-top: 24px; }
.references ol { list-style: none; counter-reset: reference; padding: 0; font-size: .81rem; }
.references li { position: relative; padding-left: 2em; counter-increment: reference; overflow-wrap: anywhere; }
.references li::before { content: "[" counter(reference) "]"; position: absolute; left: 0; }
cite { font-style: italic; }
.appendix-link { margin-top: 36px; font-size: .87rem; }
.appendix-link h2 { font-size: 1.15rem; }
footer { border-top: 1px solid var(--rule); margin-top: 60px; padding: 22px 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .72rem; }
.brand { display: flex; align-items: center; gap: 14px; }
@media (min-width: 1400px) {
  /* Expand into the right margin, keeping the sticky contents unobstructed. */
  .screenshot { width: min(1000px, calc(100vw - 600px)); }
}
@media (max-width: 1099px) {
  .topbar { margin-inline: auto; width: calc(100% - 32px); max-width: 720px; }
  .paper-layout { display: block; max-width: 720px; margin-inline: auto; width: calc(100% - 32px); }
  .margin-toc { display: none; }
  .mobile-toc { display: block; font-size: .83rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 0 28px; padding: 5px 0; }
  .mobile-toc summary { padding: 8px 0; min-height: 44px; }
  .mobile-toc nav { padding: 12px 0; }
  .mobile-toc .related-notes { flex-direction: row; flex-wrap: wrap; margin-top: 0; padding: 12px 0; gap: 18px; }
}
@media (max-width: 600px) {
  p, li, dd, figcaption, caption { text-align: left; }
  :root { font-size: 17px; }
  .title-block { padding: 38px 0 26px; }
  h1 { font-size: 1.65rem; }
  .english-title { font-size: 1rem; }
  .abstract { margin-inline: 12px; }
  .keywords { margin: 0 12px 34px; }
  .numbered-section { margin-top: 32px; }
  h2 { font-size: 1.2rem; }
  figure { padding-top: 12px; margin-block: 25px; }
  th, td { padding: 8px 4px; }
  footer { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .topbar, .margin-toc, .mobile-toc, .skip, footer { display: none; }
  .paper-layout { display: block; width: auto; max-width: 720px; margin: auto; }
  .screenshot { width: 100%; }
  .title-block { padding-top: 0; }
  h2, h3 { break-after: avoid; }
  a { color: inherit; }
}

/* Authored SVG coordinates: 16 units at a 720px minimum = 12px text. */
.flowchart { min-width: 0; max-width: 100%; }
.flow-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.flow-scroll svg { display: block; width: 100%; min-width: 720px; height: auto; overflow: hidden; }
.flowchart text { font-family: inherit; font-size: 16px; fill: var(--ink); text-anchor: middle; }
.flow-node > rect, .flow-node > polygon { stroke: #55535a; stroke-width: 1.4; fill: #eaf2f6; }
.flow-node.terminal > rect { fill: #f6e6eb; }
.flow-node.decision > polygon { fill: #f8eadb; }
.flow-node.record > polygon { fill: #f1f4f5; }
.flow-node.external > rect { fill: #fff; stroke-dasharray: 6 4; }
.flow-edge, .flow-rail { fill: none; stroke: #55535a; stroke-width: 1.4; stroke-linejoin: round; }
.flow-edge.record-edge { stroke-dasharray: 6 4; }
.flow-junction { fill: #55535a; }
.flowchart marker path { fill: none; stroke: #55535a; stroke-width: 1.4; }
.flowchart text[text-anchor="start"] { text-anchor: start; }
.flowchart text[text-anchor="end"] { text-anchor: end; }
.flow-hint { display: none; font-size: .74rem; color: var(--muted); margin: 8px 0 0; text-align: left; }
/* Below 752px, the 32px page gutters leave less than the SVG's 720px minimum. */
@media screen and (width < 752px) {
  .flow-hint { display: block; }
}
@media (min-width: 1400px) {
  .flowchart { width: min(1000px, calc(100vw - 600px)); max-width: none; }
}
@media print {
  .flowchart { width: 100%; max-width: 100%; }
  .flow-scroll svg { min-width: 0; }
  .flow-hint { display: none; }
}
