@font-face {
  font-family: "Pretendard Variable";
  src: url("./fonts/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  --color-bg: #FFFFFF;
  --color-bg-subtle: #FAFAFA;
  --color-bg-muted: #F4F4F5;
  --color-border: #E4E4E7;
  --color-border-strong: #D4D4D8;
  --color-fg-muted: #71717A;
  --color-fg-subtle: #A1A1AA;
  --color-fg: #18181B;
  --color-fg-strong: #000000;
  --color-danger: #DC2626;
  --header-height: 4rem;
  color: var(--color-fg);
  background: var(--color-bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); scrollbar-gutter: stable; }
body { margin: 0; font-size: 1rem; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--color-fg); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--color-fg-strong); }
button, input { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button, a { transition: background-color 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--color-fg-strong); outline-offset: 2px; }
strong { color: var(--color-fg-strong); font-weight: 650; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 30; padding: .75rem 1rem; background: var(--color-fg-strong); color: var(--color-bg); }
.skip-link:focus { top: .5rem; }

/* Shared header */
.site-header { position: sticky; top: 0; z-index: 10; height: var(--header-height); background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.header-inner { max-width: 1200px; height: 100%; margin: auto; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-brand { display: flex; align-items: center; min-width: 0; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; text-decoration: none; }
.brand-logo { display: block; width: 7rem; height: 2rem; object-fit: cover; object-position: center; }
.header-divider { display: none; height: 1.25rem; border-left: 1px solid var(--color-border); margin: 0 .75rem; }
.header-label { display: none; font-size: .875rem; font-weight: 500; }
.header-home { display: inline-flex; min-height: 44px; align-items: center; padding: .5rem .75rem; border-radius: 6px; font-size: .875rem; text-decoration: none; }
.header-home:hover { background: var(--color-bg-muted); }
.header-brand ~ .header-home { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; max-width: 62vw; padding: .5rem .75rem; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-bg); color: var(--color-fg); font-size: .875rem; font-weight: 550; }
.menu-icon { flex-shrink: 0; font-size: 1.125rem; line-height: 1; }
.menu-toggle-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-toggle:hover { background: var(--color-bg-subtle); }

/* Step rail: sidebar, drawer and home page share it */
.docs-layout { width: 100%; max-width: 1200px; margin: auto; }
.sidebar { padding: 1.5rem 1rem; border-bottom: 1px solid var(--color-border); background: var(--color-bg-subtle); }
.js-enabled .sidebar { display: none; }
.rail-title { display: flex; align-items: center; min-height: 44px; color: var(--color-fg-strong); font-size: 1rem; font-weight: 650; text-decoration: none; }
.nav-category { margin: 1.5rem 0 .25rem; color: var(--color-fg-muted); font-size: .875rem; line-height: 1.5; font-weight: 550; }
.rail-title + .nav-category { margin-top: .75rem; }
.rail { position: relative; list-style: none; margin: 0; padding: 0; }
.rail::before { content: ""; position: absolute; top: 1.375rem; bottom: 1.375rem; left: calc(.875rem - .5px); width: 1px; background: var(--color-border-strong); }
.rail li { margin: 0; padding: 0; }
.rail a { display: flex; align-items: center; gap: .75rem; min-height: 44px; padding: .375rem 0; color: var(--color-fg-muted); font-size: 1rem; line-height: 1.4; text-decoration: none; }
.rail a:hover { color: var(--color-fg-strong); }
.rail-marker { position: relative; z-index: 1; flex: 0 0 1.75rem; height: 1.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-border-strong); border-radius: 50%; background: var(--color-bg); color: var(--color-fg-muted); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rail a[aria-current="step"] { color: var(--color-fg-strong); font-weight: 600; }
.rail a[aria-current="step"] .rail-marker { border-color: var(--color-fg-strong); background: var(--color-fg-strong); color: var(--color-bg); }
.quick-nav { list-style: none; margin: 0; padding: 0; }
.quick-nav li { margin: 0; padding: 0; }
.quick-nav a { display: flex; align-items: center; min-height: 44px; padding: .375rem 0; color: var(--color-fg-muted); font-size: 1rem; line-height: 1.4; text-decoration: none; }
.quick-nav a:hover { color: var(--color-fg-strong); }

/* Mobile drawer */
.navigation-drawer { position: fixed; inset: 0 auto 0 0; width: min(320px, calc(100vw - 3rem)); max-width: none; height: 100%; max-height: none; margin: 0; padding: 1.5rem 1rem; border: 0; border-right: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-fg); overflow-y: auto; box-shadow: 0 8px 24px rgb(0 0 0 / .08); }
.navigation-drawer::backdrop { background: rgb(0 0 0 / .24); }
.drawer-header { position: sticky; top: -1.5rem; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -1.5rem 0 .5rem; padding: 1.5rem 0 1rem; border-bottom: 1px solid var(--color-border); background: var(--color-bg); }
.drawer-header h2 { margin: 0; font-size: 1rem; line-height: 1.6; font-weight: 600; }
.drawer-close { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 44px; min-height: 44px; border: 1px solid var(--color-border); border-radius: 6px; padding: .5rem .75rem; color: var(--color-fg); background: var(--color-bg); font-size: .875rem; }
.drawer-close span { font-size: 1.25rem; line-height: 1; }
.drawer-close:hover { background: var(--color-bg-muted); }
body.drawer-open { overflow: hidden; }

/* Reading surface */
.document { width: 100%; max-width: 824px; margin: auto; padding: 2rem 1.5rem 3rem; min-width: 0; font-size: 1.125rem; line-height: 1.7; }
.document-header { margin-bottom: 2rem; }
h1 { margin: 0 0 1.5rem; color: var(--color-fg-strong); font-size: 2rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 650; }
.updated { display: flex; flex-wrap: wrap; gap: .25rem .75rem; color: var(--color-fg-muted); font-size: .875rem; line-height: 1.5; }
.updated time { font-variant-numeric: tabular-nums; }
.intro { padding-bottom: 2rem; }
.intro > p:first-child { margin-top: 0; }
.guide-section { padding: 2rem 0 0; border-top: 1px solid var(--color-border); }
.guide-section + .guide-section { margin-top: 3rem; }
.section-heading { margin: 0 0 1.5rem; color: var(--color-fg-strong); font-size: 1.5rem; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.subsection-heading { margin: 2rem 0 1rem; color: var(--color-fg-strong); font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.document h4 { margin: 2rem 0 1rem; color: var(--color-fg-strong); font-size: 1.125rem; line-height: 1.7; font-weight: 650; }
.guide-section, .document h2, .document h3, .document h4 { scroll-margin-top: 1.5rem; }
p { margin: 1rem 0; }
ul, ol { margin: 1rem 0; padding-left: 1.5rem; }
li { margin: .5rem 0; padding-left: .25rem; }
li > p { margin: .75rem 0; }
.steps { list-style: decimal; padding-left: 1.5rem; }
.steps > li { margin: .25rem 0; padding: .5rem 0 .5rem .5rem; }
.steps > li::marker { color: var(--color-fg-muted); font-size: 1rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.steps > li > p:first-child { margin-top: 0; }
.steps > li > p:last-child { margin-bottom: 0; }
.caution { margin: 1.5rem 0; padding: 1rem 1.25rem; border: 1px solid var(--color-border); border-left: 4px solid var(--color-danger); border-radius: 6px; background: var(--color-bg-subtle); }
.caution-label { margin: 0 0 .25rem; color: var(--color-danger); font-size: .875rem; line-height: 1.5; font-weight: 650; }
.caution p { margin: 0; }
.step-action { margin: .75rem 0 .25rem; }
.action-link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; max-width: 100%; padding: .5rem .75rem; min-height: 44px; border: 1px solid var(--color-fg); border-radius: 6px; background: var(--color-fg); color: var(--color-bg); font-size: 1rem; line-height: 1.5; font-weight: 600; text-decoration: none; }
.action-link::after { content: "↗"; flex-shrink: 0; }
.action-link:hover { background: var(--color-fg-strong); border-color: var(--color-fg-strong); color: var(--color-bg); }
.section-jump { font-weight: 600; }
table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: 1rem; line-height: 1.6; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border: 1px solid var(--color-border); }
th { background: var(--color-bg-subtle); color: var(--color-fg); font-size: .875rem; font-weight: 600; }
td:first-child { width: 38%; }
code { font-family: inherit; overflow-wrap: anywhere; }
.document :not(pre) > code { color: var(--color-fg-strong); font-weight: 650; }
.copy-block { margin: 1.5rem 0; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-bg-muted); }
.copy-form { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.copy-field-label { color: var(--color-fg-strong); font-size: 1rem; line-height: 1.5; font-weight: 600; }
.copy-field { width: 100%; max-width: 24rem; min-height: 48px; padding: .625rem .875rem; border: 1px solid var(--color-border-strong); border-radius: 6px; background: var(--color-bg); color: var(--color-fg); font-size: 1.125rem; line-height: 1.4; }
.copy-field:focus-visible { border-color: var(--color-fg-strong); }
.copy-field:disabled { background: var(--color-bg-subtle); color: var(--color-fg-subtle); }
.copy-hint { margin: 0; color: var(--color-fg-muted); font-size: .9375rem; line-height: 1.5; }
.copy-check { display: flex; align-items: center; gap: .75rem; min-height: 44px; margin-top: .25rem; font-size: 1rem; cursor: pointer; }
.copy-check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--color-fg); cursor: pointer; }
.copy-variant + .copy-variant { margin-top: 1.25rem; }
.copy-label { margin: 0 0 .5rem; color: var(--color-fg-muted); font-size: .875rem; line-height: 1.5; font-weight: 550; }
.copy-variant pre { padding: .875rem 1rem; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-bg); }
.copy-slot.is-empty { color: var(--color-fg-muted); }
.copy-slot.is-filled { color: var(--color-fg-strong); font-weight: 650; }
.copy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1rem; }
.copy-button { min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--color-fg); border-radius: 6px; background: var(--color-fg); color: var(--color-bg); font-size: 1rem; font-weight: 600; }
.copy-button:hover { border-color: var(--color-fg-strong); background: var(--color-fg-strong); }
pre { margin: 0; font-family: inherit; white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; }
pre code { display: block; padding: 0; background: transparent; font-size: 1rem; line-height: 1.7; }
.copy-status { margin: 0; color: var(--color-fg); font-size: 1rem; line-height: 1.5; }
.copy-status:empty { display: none; }
.checklist-progress { margin: -.5rem 0 1rem; color: var(--color-fg-muted); font-size: 1rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.checklist-progress:empty { display: none; }
.checklist { list-style: none; padding: 0; }
.checklist li { margin: 0; padding: 0; border-bottom: 1px solid var(--color-border); }
.checklist label { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; cursor: pointer; }
.checklist input { flex: 0 0 24px; width: 24px; height: 24px; margin: .25rem 0 0; accent-color: var(--color-fg); cursor: pointer; }
.checklist input:checked + span { color: var(--color-fg-muted); }
.document-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); color: var(--color-fg-muted); font-size: .875rem; line-height: 1.5; }
.document-footer p { margin: 0; }
.document-footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* Desktop: sub-headings of the step being read */
.page-toc { display: none; }
.toc-title { margin: 0 0 .5rem; color: var(--color-fg-muted); font-size: .875rem; line-height: 1.5; font-weight: 550; }
.toc-nav ol { list-style: none; margin: 0; padding: 0; }
.toc-nav li { margin: 0; padding: 0; }
.toc-nav a { display: block; min-height: 44px; padding: .625rem 0 .625rem .875rem; border-left: 1px solid var(--color-border); color: var(--color-fg-muted); font-size: .9375rem; line-height: 1.5; text-decoration: none; }
.toc-nav a:hover { color: var(--color-fg); }
.toc-nav .toc-level-4 a { padding-left: 1.75rem; }
.toc-nav a[aria-current="location"] { border-left: 2px solid var(--color-fg-strong); padding-left: calc(.875rem - 1px); color: var(--color-fg-strong); font-weight: 550; }
.toc-nav .toc-level-4 a[aria-current="location"] { padding-left: calc(1.75rem - 1px); }

/* Temporary home */
.home-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.home-main { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 40rem; margin: 0 auto; padding: 3rem 1.5rem 4rem; text-align: center; }
.home-main h1 { margin: 0 0 1rem; font-size: 2rem; line-height: 1.25; letter-spacing: -.02em; }
.home-lead { margin: 0 0 2rem; color: var(--color-fg-muted); font-size: 1.125rem; line-height: 1.6; }
.home-guide-link { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .625rem 1.5rem; border: 1px solid var(--color-fg); border-radius: 6px; color: var(--color-bg); background: var(--color-fg); font-size: 1.0625rem; font-weight: 600; text-decoration: none; }
.home-guide-link:hover { color: var(--color-bg); background: var(--color-fg-strong); }
.home-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); color: var(--color-fg-muted); font-size: .875rem; text-align: center; }
.home-footer p { margin: 0; }

@media (max-width: 639px) {
  .document { padding-inline: 1rem; }
  .home-guide-link { width: 100%; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  tr { margin-bottom: 1rem; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; }
  td { border: 0; padding: .75rem 1rem; }
  td + td { border-top: 1px solid var(--color-border); }
  td:first-child { width: 100%; background: var(--color-bg-subtle); font-weight: 550; }
  td::before { content: attr(data-label); display: block; margin-bottom: .25rem; color: var(--color-fg-muted); font-size: .875rem; font-weight: 500; }
}
@media (min-width: 768px) {
  .header-inner { padding-inline: 1.5rem; }
  .header-divider, .header-label { display: block; }
  .header-brand ~ .header-home { display: inline-flex; }
  .menu-toggle { display: none; }
  .docs-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); align-items: start; }
  .sidebar, .js-enabled .sidebar { display: block; position: sticky; top: var(--header-height); height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 2rem 1rem; border-right: 1px solid var(--color-border); border-bottom: 0; background: var(--color-bg); }
  .document { padding: 3rem 2rem; }
  .home-main h1 { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .docs-layout { grid-template-columns: 14rem minmax(0, 1fr) 12rem; }
  .page-toc { display: block; position: sticky; top: var(--header-height); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 2rem 1rem 2rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  body { background: white; color: black; }
  .site-header, .sidebar, .page-toc, .navigation-drawer, .skip-link, .copy-form, .copy-button, .copy-status, .checklist-progress, .document-footer a { display: none !important; }
  .copy-variant[hidden] { display: block !important; }
  .docs-layout { display: block; }
  .document { max-width: none; padding: 0; font-size: 11pt; }
  h2, h3, h4 { break-after: avoid; }
  .copy-block, .caution, tr { break-inside: avoid; }
  .caution { border-left-color: black; }
  .caution-label { color: black; }
  .action-link { min-height: 0; padding: 0; border: 0; background: none; color: black; font-size: inherit; }
}
