* { margin: 0; padding: 0; box-sizing: border-box; word-break: keep-all; -webkit-font-smoothing: antialiased;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; }

:root {
  --blue: #0064FF;
  --ink: #191F28;
  --ink-2: #0F172A;
  --text: #334155;
  --muted: #475569;
  --line: #E2E8F0;
  --red: #E11D48;
  --sb-width: 260px;
}

body {
  background: #F1F5F9;
  min-height: 100vh;
  padding-left: var(--sb-width);
}

.doc-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sb-width);
  background: #FFFFFF;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  color: #191F28;
  user-select: none;
}

.sb-head {
  padding: 22px 20px 16px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.sb-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}
.sb-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  letter-spacing: -0.35px;
}
.sb-close {
  display: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.sb-close svg { width: 15px; height: 15px; }

.sb-demos {
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sb-demo-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.25px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sb-demo-btn.is-primary {
  background: #1E62F8;
  color: #FFFFFF;
}
.sb-demo-btn.is-primary:hover {
  background: #1752D6;
}
.sb-demo-btn.is-outline {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #1E293B;
}
.sb-demo-btn.is-outline:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}
.sb-demo-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sb-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.sb-nav::-webkit-scrollbar { width: 4px; }
.sb-nav::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

.sb-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sb-group-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #1E293B;
  padding: 0 10px 3px;
  letter-spacing: -0.2px;
}
.sb-link {
  display: flex;
  align-items: center;
  padding: 5.5px 10px;
  border-radius: 6px;
  color: #64748B;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.25px;
  line-height: 1.3;
  transition: background 0.12s ease, color 0.12s ease;
}
.sb-link:hover {
  background: #F8FAFC;
  color: #0F172A;
}
.sb-link.active {
  background: #EFF6FF;
  color: #1E62F8;
  font-weight: 700;
}

.mob-topbar {
  display: none;
}
.sidebar-backdrop {
  display: none;
}

.deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 36px 28px 60px;
}

.page {
  width: min(1122px, 100%);
  aspect-ratio: 297 / 210;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E2E8F0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  scroll-margin-top: 24px;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}

.page-inner {
  --mm: calc(1122px / 297);
  --px: calc(1122px / 1122.5);
  --fs-h1: calc(10 * var(--mm));
  --fs-lead: calc(9.5 * var(--mm));
  --fs-h3: calc(6 * var(--mm));
  --fs-body: calc(4.3 * var(--mm));
  --fs-small: calc(4 * var(--mm));
  --fs-index: calc(3.8 * var(--mm));
  width: 1122px;
  height: calc(1122px * 210 / 297);
  transform-origin: top left;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: calc(18 * var(--mm)) calc(24 * var(--mm)) calc(15 * var(--mm));
}

.bg-soft-sky { display: none; }
.header-line { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: calc(2.8 * var(--mm)); border-bottom: calc(.35 * var(--mm)) solid var(--line); margin-bottom: calc(6.5 * var(--mm)); }
.header-index { font-size: var(--fs-index); font-weight: 500; color: var(--text); letter-spacing: -.2px; }
.title-wrap { position: relative; z-index: 10; margin-bottom: calc(5.5 * var(--mm)); }
.main-title { font-size: var(--fs-h1); font-weight: 600; line-height: 1.34; letter-spacing: -1.1px; color: var(--ink); }
.ask { display: flex; align-items: baseline; gap: calc(3 * var(--mm)); margin-bottom: calc(4 * var(--mm));
  font-size: var(--fs-h3); font-weight: 600; color: #4E5968; letter-spacing: -.5px; }
.ask b { font-size: calc(10 * var(--mm)); font-weight: 800; color: var(--blue); line-height: 1; margin-right: 2px; }
.header-req { font-size: var(--fs-index); font-weight: 600; color: var(--blue); letter-spacing: -.2px; }
.body-grid { position: relative; z-index: 10; flex: 1; display: grid; grid-template-columns: calc(130 * var(--mm)) 1fr;
  gap: calc(9 * var(--mm)); align-items: center; margin-top: calc(5 * var(--mm)); padding-bottom: calc(2 * var(--mm)); }
.card { background: #fff; border-radius: calc(12 * var(--px)); box-shadow: 0 calc(4 * var(--px)) calc(20 * var(--px)) rgba(0,0,0,.06); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: calc(16 * var(--px)); }
.check-list li { display: flex; align-items: flex-start; font-size: var(--fs-body); color: var(--text); font-weight: 600; line-height: 1.5; }
.check-list svg { width: calc(20 * var(--px)); height: calc(20 * var(--px)); margin: calc(3 * var(--px)) calc(12 * var(--px)) 0 0; flex-shrink: 0; }

@media (max-width: 1100px) {
  body {
    padding-left: 0;
    padding-top: 52px;
  }
  .mob-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 900;
  }
  .mob-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: -0.25px;
  }
  .mob-menu-btn svg {
    width: 16px;
    height: 16px;
  }
  .mob-quick-links {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .mob-pill {
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 7px;
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    color: #1E293B;
    letter-spacing: -0.25px;
  }
  .mob-pill.primary {
    background: #1E62F8;
    border-color: #1E62F8;
    color: #FFFFFF;
  }

  .doc-sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 12px 0 36px rgba(15, 23, 42, 0.14);
  }
  .doc-sidebar.is-open {
    transform: translateX(0);
  }
  .sb-close {
    display: inline-flex;
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 950;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    display: block;
  }
  .sidebar-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .deck {
    gap: 14px;
    padding: 14px 8px 36px;
  }
  .page {
    scroll-margin-top: 64px;
  }
}

@page { size: 297mm 210mm; margin: 0; }
@media print {
  body { background: none; padding: 0 !important; }
  .doc-sidebar, .mob-topbar, .sidebar-backdrop { display: none !important; }
  .deck { display: block; padding: 0; }
  .page { width: 297mm; height: 210mm; aspect-ratio: auto; box-shadow: none; border: none; border-radius: 0; break-after: page; }
  .page:last-child { break-after: auto; }
  .page-inner { width: 297mm; height: 210mm; transform: none !important; --mm: 1mm; --px: calc(297mm / 1122.5); }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}
