@charset "utf-8";
/* ============================================================
   LMS 관리자 매뉴얼 · 공통 디자인 시스템 (Blue-Slate)
   - 시각 계층: 문서제목 > 섹션제목 > 본문 > 주석
   - PDF 저장 / 인쇄 환경에서도 동일 가독성 유지 (@media print)
   ============================================================ */

/* ---------- 1. 디자인 토큰 ---------- */
:root {
  /* 주색 (Blue-Slate) */
  --c-primary:        #2b4c7e;   /* 제목·섹션 헤더 */
  --c-primary-dark:   #1e3557;   /* 문서 헤더 배경 */
  --c-primary-light:  #3f6aa8;
  /* 보조색 (채도 낮은 슬레이트) */
  --c-sub-bg:         #eef2f8;   /* 요약/보조 설명 영역 배경 */
  --c-sub-bg-2:       #e2e9f3;
  --c-sub-border:     #c9d6e8;
  /* 중성 계열 (본문) */
  --c-text:           #313a45;   /* 본문 */
  --c-text-soft:      #55606d;   /* 보조 본문 */
  --c-muted:          #7c8794;   /* 주석 */
  --c-line:           #dfe4ea;   /* 구분선 */
  --c-bg:             #f4f6f9;   /* 페이지 배경 */
  --c-white:          #ffffff;
  /* 강조/상태색 (남용 지양 — 주의/포인트에 한정) */
  --c-warn-bg:        #fdf4e7;
  --c-warn-border:    #e6b566;
  --c-warn-text:      #8a5a12;
  --c-tip-bg:         #eaf5ef;
  --c-tip-border:     #86c4a3;
  --c-tip-text:       #1f6b46;
  --c-danger:         #b23b3b;

  /* 타이포 계층 */
  --font-base: "Pretendard", "Noto Sans KR", "맑은 고딕", "Malgun Gothic",
               -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-doc-title:  26px;
  --fs-h2:         20px;
  --fs-h3:         16.5px;
  --fs-body:       15px;
  --fs-small:      13.5px;
  --fs-caption:    12.5px;

  --radius: 7px;
  --shadow: 0 1px 3px rgba(30, 53, 87, .08), 0 1px 2px rgba(30, 53, 87, .06);
  --content-max: 940px;
}

/* ---------- 2. 리셋 & 기본 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--c-text);
  background: var(--c-bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---------- 3. 레이아웃 (사이드바 + 본문) ---------- */
.layout { display: flex; align-items: flex-start; }

.sidebar {
  position: sticky;
  top: 0;
  width: 268px;
  min-width: 268px;
  height: 100vh;
  overflow-y: auto;
  background: var(--c-primary-dark);
  color: #d6e0f0;
  padding: 22px 0 40px;
}
.sidebar .brand {
  padding: 4px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 12px;
}
.sidebar .brand .b-title { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.sidebar .brand .b-sub { color: #9fb3d1; font-size: 12px; margin-top: 3px; }
.sidebar .nav-group { margin: 6px 0 14px; }
.sidebar .nav-group > .g-title {
  padding: 7px 22px;
  font-size: 12px;
  font-weight: 700;
  color: #8ba6ce;
  letter-spacing: .3px;
}
.sidebar a.nav-item {
  display: block;
  padding: 6px 22px 6px 30px;
  color: #cdd9ec;
  font-size: 13.5px;
  border-left: 3px solid transparent;
}
.sidebar a.nav-item:hover { background: rgba(255,255,255,.06); text-decoration: none; color:#fff; }
.sidebar a.nav-item.active {
  background: rgba(63,106,168,.35);
  border-left-color: #6f9fdb;
  color: #fff;
  font-weight: 600;
}
.sidebar a.home-link { color:#fff; font-weight:600; }

.main { flex: 1 1 auto; min-width: 0; }
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 34px 90px; }

/* ---------- 4. 문서 헤더 ---------- */
.doc-header {
  background: linear-gradient(100deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  padding: 26px 34px 22px;
  margin-bottom: 30px;
}
.doc-header .dh-inner { max-width: var(--content-max); margin: 0 auto; }
.breadcrumb {
  font-size: 12.5px;
  color: #c5d4ec;
  margin-bottom: 10px;
  letter-spacing: .2px;
}
.breadcrumb a { color: #c5d4ec; }
.breadcrumb .sep { margin: 0 7px; opacity: .6; }
.doc-header h1 {
  margin: 0;
  font-size: var(--fs-doc-title);
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.3;
}
.doc-header .dh-meta {
  margin-top: 12px;
  font-size: 12.5px;
  color: #b9cae6;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.doc-header .dh-meta b { color: #fff; font-weight: 600; }

/* ---------- 5. 제목 계층 ---------- */
h2.section-title {
  font-size: var(--fs-h2);
  color: var(--c-primary);
  font-weight: 700;
  letter-spacing: -.3px;
  margin: 38px 0 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--c-sub-border);
  display: flex;
  align-items: center;
  gap: 9px;
}
h2.section-title .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--c-primary);
  color: #fff; font-size: 13px; border-radius: 6px; font-weight: 700;
}
h3.subsection-title {
  font-size: var(--fs-h3);
  color: var(--c-primary-dark);
  font-weight: 700;
  margin: 26px 0 10px;
  padding-left: 11px;
  border-left: 4px solid var(--c-primary-light);
}
p { margin: 9px 0; color: var(--c-text); }

/* ---------- 6. 요약 박스 (화면 목적) ---------- */
.summary-box {
  background: var(--c-sub-bg);
  border: 1px solid var(--c-sub-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 4px 0 26px;
}
.summary-box .s-label {
  font-size: 12px; font-weight: 700; color: var(--c-primary);
  letter-spacing: .4px; margin-bottom: 5px; display: block;
}
.summary-box p { margin: 0; color: var(--c-text-soft); font-size: 14.5px; }
.summary-box .meta-line {
  margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--c-sub-border);
  font-size: 13px; color: var(--c-text-soft); display: flex; flex-wrap: wrap; gap: 6px 22px;
}
.summary-box .meta-line span b { color: var(--c-primary-dark); }

/* ---------- 7. 스크린샷 (자리표시자) ---------- */
figure.shot { margin: 0 0 30px; text-align: center; }
.shot .placeholder {
  border: 2px dashed var(--c-sub-border);
  background:
    repeating-linear-gradient(45deg, #f7f9fc, #f7f9fc 12px, #f1f4f9 12px, #f1f4f9 24px);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--c-muted); gap: 8px; padding: 24px;
}
.shot .placeholder .ico { font-size: 34px; line-height: 1; opacity: .55; }
.shot .placeholder .ph-title { font-size: 13.5px; font-weight: 600; color: var(--c-text-soft); }
.shot .placeholder .ph-path { font-size: 12px; color: var(--c-muted); font-family: Consolas, monospace; }
.shot img { border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); }
figure.shot figcaption {
  font-size: var(--fs-caption); color: var(--c-muted); margin-top: 9px;
}
figure.shot figcaption b { color: var(--c-text-soft); }

/* ---------- 8. 표 (사양/데이터) ---------- */
table.spec {
  width: 100%; border-collapse: collapse; margin: 6px 0 22px;
  font-size: var(--fs-small); background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
table.spec caption {
  text-align: left; font-size: 13px; font-weight: 700; color: var(--c-text-soft);
  padding: 0 0 7px;
}
table.spec th, table.spec td {
  border: 1px solid var(--c-line); padding: 8px 12px; vertical-align: top; text-align: left;
}
table.spec thead th {
  background: var(--c-sub-bg-2); color: var(--c-primary-dark);
  font-weight: 700; font-size: 13px; white-space: nowrap;
}
table.spec tbody th {
  background: #f6f8fb; color: var(--c-primary-dark); font-weight: 600;
  white-space: nowrap; width: 170px;
}
table.spec tbody tr:nth-child(even) td { background: #fbfcfe; }
table.spec td .desc { color: var(--c-text-soft); }

/* ---------- 9. 절차 안내 (Steps) ---------- */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 6px 0 22px; }
ol.steps > li {
  position: relative; padding: 3px 0 14px 44px; margin: 0;
}
ol.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
ol.steps > li::after {
  content: ""; position: absolute; left: 13.5px; top: 30px; bottom: 2px;
  width: 2px; background: var(--c-sub-border);
}
ol.steps > li:last-child::after { display: none; }
ol.steps > li .st-title { font-weight: 600; color: var(--c-text); }
ol.steps > li .st-desc { color: var(--c-text-soft); font-size: 14px; }

/* ---------- 10. 주의/참고 박스 ---------- */
.callout {
  border-radius: var(--radius); padding: 13px 17px 13px 46px;
  margin: 16px 0; position: relative; font-size: 14px;
}
.callout .co-ico { position: absolute; left: 15px; top: 12px; font-size: 18px; }
.callout .co-title { font-weight: 700; margin-bottom: 2px; }
.callout ul { margin: 4px 0 0; padding-left: 18px; }
.callout li { margin: 2px 0; }
.callout.warn { background: var(--c-warn-bg); border: 1px solid var(--c-warn-border); color: var(--c-warn-text); }
.callout.warn .co-title { color: var(--c-warn-text); }
.callout.tip  { background: var(--c-tip-bg);  border: 1px solid var(--c-tip-border);  color: var(--c-tip-text); }
.callout.tip .co-title { color: var(--c-tip-text); }

/* ---------- 11. 배지 & 키워드 강조 ---------- */
.badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; line-height: 1;
  padding: 3px 8px; border-radius: 20px; vertical-align: middle;
  border: 1px solid transparent; white-space: nowrap;
}
.badge-req    { background: #fbe9e9; color: #b23b3b; border-color: #eec4c4; }   /* 필수 */
.badge-opt    { background: #eef1f5; color: #6b7684; border-color: #d9dfe7; }   /* 선택 */
.badge-role   { background: var(--c-sub-bg); color: var(--c-primary); border-color: var(--c-sub-border); }
.badge-new    { background: var(--c-tip-bg); color: var(--c-tip-text); border-color: var(--c-tip-border); }
.kw { font-weight: 700; color: var(--c-primary-dark); }
code.ui {
  font-family: var(--font-base); background: var(--c-sub-bg); color: var(--c-primary-dark);
  border: 1px solid var(--c-sub-border); border-radius: 4px; padding: 1px 6px; font-size: 13px; font-weight: 600;
}

/* 기능 설명 정의형 목록 */
dl.features { margin: 6px 0 22px; }
dl.features dt { font-weight: 700; color: var(--c-primary-dark); margin-top: 12px; }
dl.features dd { margin: 3px 0 0; color: var(--c-text-soft); }

/* ---------- 12. 표지 / 목차 ---------- */
.cover {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary) 60%, var(--c-primary-light));
  color: #fff; padding: 60px 8vw; text-align: left;
}
.cover .c-eyebrow { font-size: 15px; letter-spacing: 3px; color: #b9cae6; font-weight: 600; }
.cover h1 { font-size: 46px; font-weight: 800; margin: 18px 0 10px; letter-spacing: -1px; line-height: 1.2; }
.cover .c-desc { font-size: 17px; color: #cfdbef; max-width: 620px; line-height: 1.7; }
.cover .c-meta { margin-top: 42px; font-size: 13.5px; color: #aec1e0; display:flex; gap:26px; flex-wrap:wrap; }
.cover .c-meta b { color:#fff; }

.toc-wrap { max-width: 1040px; margin: 0 auto; padding: 54px 34px 90px; }
.toc-wrap h2.section-title { margin-top: 46px; }
.toc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.toc-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); display: block; color: var(--c-text);
}
.toc-card:hover { text-decoration: none; border-color: var(--c-primary-light); transform: translateY(-1px); transition: .12s; }
.toc-card .tc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.toc-card .tc-num {
  width: 30px; height: 30px; border-radius: 7px; background: var(--c-primary); color:#fff;
  font-weight: 700; display:flex; align-items:center; justify-content:center; font-size: 14px;
}
.toc-card .tc-title { font-size: 16px; font-weight: 700; color: var(--c-primary-dark); }
.toc-card .tc-list { font-size: 13px; color: var(--c-text-soft); line-height: 1.6; }
.toc-card .tc-badge { font-size: 11.5px; color: var(--c-muted); }

/* 표지 2트랙(대메뉴 A/B) 구분 섹션 */
.track-section {
  margin: 34px 0 10px;
  padding: 24px 26px 28px;
  border: 1px solid var(--c-sub-border);
  border-radius: var(--radius);
  background: var(--c-white);
  box-shadow: var(--shadow);
}
.track-section.track-a { border-top: 4px solid var(--c-primary); }
.track-section.track-b { border-top: 4px solid var(--c-tip-text); }
.track-section .track-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 2px solid var(--c-sub-border);
}
.track-section .track-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .5px;
  color: #fff; background: var(--c-primary);
  padding: 4px 11px; border-radius: 20px;
}
.track-section.track-b .track-tag { background: var(--c-tip-text); }
.track-section .track-title {
  font-size: var(--fs-h2); color: var(--c-primary-dark);
  font-weight: 700; margin: 0; padding: 0; border: 0;
}
.track-section .track-sub { font-size: 13.5px; color: var(--c-muted); font-weight: 600; }
.track-section .track-desc { color: var(--c-text-soft); font-size: 14.5px; margin: 0 0 6px; }
.track-section .track-note { color: var(--c-muted); font-size: 13px; margin: 0 0 16px; }
.track-section .toc-grid { margin-top: 4px; }

/* 준비 중(비활성) 카드 */
.toc-card.disabled {
  background: var(--c-sub-bg);
  border-style: dashed;
  box-shadow: none;
  color: var(--c-muted);
  cursor: not-allowed;
  opacity: .72;
}
.toc-card.disabled:hover { transform: none; border-color: var(--c-sub-border); }
.toc-card.disabled .tc-num { background: var(--c-muted); }
.toc-card.disabled .tc-title { color: var(--c-muted); }
.toc-card.disabled .tc-list,
.toc-card.disabled .tc-badge { color: var(--c-muted); }
.badge-todo { background: #eef1f5; color: #7c8794; border-color: #d9dfe7; } /* 준비 중 */

/* 섹션 인덱스 카드 목록 */
.screen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 24px; }
.screen-card {
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 14px 16px;
  background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow);
}
.screen-card:hover { border-color: var(--c-primary-light); text-decoration: none; }
.screen-card .sc-title { font-weight: 700; color: var(--c-primary-dark); font-size: 15px; }
.screen-card .sc-desc { font-size: 13px; color: var(--c-text-soft); margin-top: 4px; }

/* ---------- 13. 페이지 하단 이동 ---------- */
.page-nav {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--c-line);
}
.page-nav a {
  flex: 1; padding: 12px 16px; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-white); font-size: 13.5px;
}
.page-nav a:hover { border-color: var(--c-primary-light); text-decoration: none; }
.page-nav .pn-dir { font-size: 11.5px; color: var(--c-muted); display: block; }
.page-nav .pn-title { font-weight: 600; color: var(--c-primary-dark); }
.page-nav a.next { text-align: right; }
.page-nav a.disabled { visibility: hidden; }

/* ---------- 14. 반응형 ---------- */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .toc-grid, .screen-grid { grid-template-columns: 1fr; }
}

/* ---------- 15. 인쇄 / PDF ---------- */
@media print {
  :root { --content-max: 100%; }
  html, body { background: #fff; }
  .sidebar, .page-nav { display: none !important; }
  .main { width: 100%; }
  .container { max-width: 100%; padding: 0 6mm; }
  /* 색 유지 */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .doc-header {
    background: var(--c-primary-dark) !important;
    color: #fff !important; padding: 14mm 8mm 8mm;
  }
  a { color: var(--c-text); text-decoration: none; }
  h2.section-title, h3.subsection-title, figure.shot, table.spec, ol.steps, .callout { break-inside: avoid; }
  h2.section-title { break-before: auto; }
  .shot .placeholder { min-height: 150px; }
  .doc-page { break-after: page; }
  @page { margin: 14mm 12mm; }
}
