@charset "utf-8";
/* ============================================================================
   U+웍스 온라인 매뉴얼 — 공용 스타일시트
   기준: 「U+웍스 HTML 디자인 기준」 · 핸드오프 README(Design Tokens)
   이 파일 밖에서 hex 색을 직접 쓰지 않습니다. 값은 반드시 아래 변수를 씁니다.
   ========================================================================= */

/* ---------------------------------------------------------------- 1. 웹폰트
   Pretendard(SIL OFL) 셀프 호스팅. 400 / 600 / 800 세 굵기만 씁니다.
   합성 볼드를 막기 위해 필요한 굵기는 반드시 실제 파일로 선언합니다.        */
@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-Regular.subset.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2');
}
/* 700(Bold)은 핸드오프 README의 '400/600/800 세 굵기' 규칙에 없지만,
   시안이 600(문서명·요약)과 700(제목·버튼·강조)을 실제로 구분해 쓰고 있어
   따로 싣습니다. 이 파일이 없으면 브라우저가 700 자리에 800(ExtraBold)을
   대신 써서 화면이 시안보다 굵어집니다.
   3굵기 규칙을 그대로 지키려면 아래 @font-face 블록만 지우면 됩니다. */
@font-face {
  font-family: 'Pretendard';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Pretendard-ExtraBold.subset.woff2') format('woff2');
}

/* ---------------------------------------------------------------- 2. 토큰 */
:root {
  /* 브랜드 */
  --u-magenta:        #FF2E98;  /* 면 · 테두리 · 번호 뱃지 · 다크 배경 위 글자 */
  --u-magenta-text:   #E6007E;  /* 밝은 면 위 글자 · 링크 · 버튼 배경 */
  --u-magenta-hover:  #C4006A;
  --u-magenta-active: #A80058;
  --u-magenta-tint:   #FFDEEE;  /* '꼭 확인' 배경 · 표 강조 행 · active 항목 */
  --u-magenta-deep:   #B8005F;  /* tint 위 글자 */
  --u-violet:         #844EF9;

  /* 잉크 */
  --u-ink:            #22171C;
  --u-ink-80:         #4A4247;
  --u-ink-60:         #6E6C69;
  --u-on-dark:        #CFCACC;
  --u-on-dark-60:     #82817E;

  /* 면과 선 */
  --u-white:          #FFFFFF;
  --u-surface:        #F4F4EE;
  --u-surface-alt:    #FBFBF8;
  --u-line:           #E7E4DC;

  /* 레이아웃 */
  --u-header-h:       64px;      /* 데스크톱 글로벌 헤더 높이 */
  --u-header-h-m:     120px;     /* 모바일 상단 고정 영역(52px 바 + 검색) */
  --u-read:           720px;     /* 읽는 컬럼 */
  --u-wide:           1120px;    /* 도판 컬럼 */
  --u-gutter:         clamp(20px, 5vw, 40px);
  --u-sidebar:        260px;
  --u-toc:            220px;

  /* 모션 — 이 두 값 외의 애니메이션은 쓰지 않습니다 */
  --u-t-state:        160ms;
  --u-t-expand:       240ms;

  --u-font: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
}

/* ------------------------------------------------------------- 3. 기본값 */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--u-white);
  color: var(--u-ink);
  font-family: var(--u-font);
  font-size: 1.0625rem;   /* 17px */
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: keep-all;   /* 한글 단어 중간에서 끊지 않습니다 */
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
/* hidden 속성이 어떤 컴포넌트 스타일에도 지지 않게 합니다
   (예: .u-note 의 display:flex 가 [hidden] 을 덮어써 접수 문구가 미리 보이는 문제) */
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }

a {
  color: var(--u-magenta-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 0, 126, 0.32); /* 색만으로 구분하지 않도록 밑줄 유지 */
  transition: color var(--u-t-state) ease-out, border-color var(--u-t-state) ease-out;
}
a:hover { color: var(--u-ink); border-bottom-color: var(--u-ink); }

/* focus 링은 어떤 경우에도 제거하지 않습니다 */
:focus-visible {
  outline: 2px solid var(--u-magenta-text);
  outline-offset: 3px;
  border-radius: 3px;
}
.u-dark :focus-visible { outline-color: var(--u-magenta); }

mark { background: var(--u-magenta-tint); color: var(--u-magenta-deep); font-weight: 700; border-radius: 2px; }

button, input, select, textarea { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* 본문 바로가기 — 첫 Tab에서 나타납니다 */
.u-skip {
  position: fixed;   /* 스크롤한 뒤에 Tab 을 눌러도 화면 안에 나타나야 합니다 */
  left: 12px;
  top: -100px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--u-ink);
  color: var(--u-white);
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: top var(--u-t-state) ease-out;
}
.u-skip:focus { top: 12px; color: var(--u-white); }
/* 바로가기로 건너뛴 본문에는 초점 테두리를 그리지 않습니다(위치만 옮기면 됩니다) */
#main:focus { outline: none; }
#main { scroll-margin-top: 88px; }

.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------- 4. 타이포그래피 유틸 */
.u-h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);   /* 32 → 52 */
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  text-wrap: balance;
}
.u-h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.4vw, 2rem);  /* 24 → 32 */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}
.u-h3 { margin: 0; font-size: 1.3125rem; font-weight: 700; line-height: 1.4; }
.u-lead   { font-size: 1.0625rem; line-height: 1.75; color: var(--u-ink-80); text-wrap: pretty; }
.u-sub    { font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80); }
.u-cap    { font-size: 0.8125rem; line-height: 1.6; color: var(--u-ink-60); }
.u-eyebrow{ font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; color: var(--u-ink-60); }
.u-num    { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ 5. 버튼 */
.u-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--u-t-state) ease-out, border-color var(--u-t-state) ease-out;
}
.u-btn--fill        { background: var(--u-magenta-text); color: var(--u-white); }
.u-btn--fill:hover  { background: var(--u-magenta-hover); color: var(--u-white); border-bottom-color: transparent; }
.u-btn--fill:active { background: var(--u-magenta-active); }
.u-btn--line        { background: var(--u-white); color: var(--u-ink); border-color: var(--u-line); }
.u-btn--line:hover  { background: var(--u-surface-alt); color: var(--u-ink); border-color: var(--u-ink); border-bottom-color: var(--u-ink); }
.u-btn--line:active { background: var(--u-surface); }
.u-btn--lg          { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.u-btn--text {
  min-height: 44px; padding: 0 4px; margin: 0 -4px;
  border: none; background: transparent;
  font-size: 0.8125rem; font-weight: 700; color: var(--u-magenta-text);
}
.u-btn--text:hover { color: var(--u-magenta-hover); }

/* 글자 링크의 탭 영역을 세로 44px 로 넓힙니다.
   보이는 모양(글자 크기·밑줄 위치)은 그대로 두고, 눌리는 범위만 키우는 방식입니다. */
.u-tap { position: relative; }
.u-tap::after {
  content: ''; position: absolute;
  left: -6px; right: -6px; top: 50%; transform: translateY(-50%);
  height: 44px;
}

/* ------------------------------------------------------- 6. 글로벌 헤더 */
.u-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--u-white);
  border-bottom: 1px solid var(--u-line);
}
.u-header__in {
  min-height: var(--u-header-h);
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}
.u-wordmark {
  display: flex; align-items: baseline; gap: 8px;
  border-bottom: none; color: var(--u-ink); flex: none;
  position: relative;
}
.u-wordmark::after {   /* 보이는 모양은 그대로, 탭 영역만 44px */
  content: ''; position: absolute;
  left: -6px; right: -6px; top: 50%; transform: translateY(-50%); height: 44px;
}
.u-wordmark:hover { color: var(--u-ink); }
.u-wordmark__b { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; }
.u-wordmark__b sup { font-size: 0.6875rem; }
.u-wordmark__s { font-size: 0.9375rem; font-weight: 600; color: var(--u-ink-80); }

.u-gnb { display: flex; gap: 24px; }
.u-gnb a { font-size: 0.9375rem; color: var(--u-ink-80); border-bottom: none; position: relative; }
.u-gnb a::after {
  content: ''; position: absolute;
  left: -8px; right: -8px; top: 50%; transform: translateY(-50%); height: 44px;
}
.u-gnb a:hover { color: var(--u-ink); }
.u-gnb a[aria-current='page'] {
  font-weight: 700; color: var(--u-ink);
  border-bottom: 2px solid var(--u-magenta-text);
  padding-bottom: 2px;
}
.u-spacer { flex: 1; }

/* 헤더 안 검색 폼 */
.u-hsearch {
  display: flex; align-items: center;
  width: clamp(200px, 26vw, 300px);
  min-height: 44px;
  border: 1px solid var(--u-line);
  border-radius: 8px;
  padding: 0 4px 0 14px;
  background: var(--u-surface-alt);
}
.u-hsearch:focus-within {
  border-color: var(--u-ink);
  outline: 2px solid var(--u-magenta-text);   /* 입력창은 테두리째 초점을 표시합니다 */
  outline-offset: 3px;
}
.u-hsearch input {
  flex: 1; min-width: 0; min-height: 44px;   /* 탭 영역 44px */
  border: none; outline: none; background: transparent;
  font-size: 0.9375rem; color: var(--u-ink); padding: 0;
}
.u-hsearch__key {
  flex: none; font-size: 0.75rem; font-weight: 700; color: var(--u-ink-60);
  border: 1px solid var(--u-line); background: var(--u-white);
  border-radius: 6px; padding: 3px 6px; margin-left: 8px;
}
.u-hsearch__clear {
  width: 44px; height: 44px; flex: none; border: none; background: transparent;
  color: var(--u-ink-60); font-size: 0.9375rem; cursor: pointer; border-radius: 6px;
}
.u-hsearch__clear:hover { background: var(--u-surface); }
/* 입력값이 있을 때만 ✕ 를 보여주고, 그때 ⌘K 표시는 숨깁니다 */
.u-hsearch__clear { display: none; }
.u-hsearch input:not(:placeholder-shown) ~ .u-hsearch__clear { display: flex; align-items: center; justify-content: center; }
.u-hsearch input:not(:placeholder-shown) ~ .u-hsearch__key { display: none; }

/* 돋보기(CSS 도형 · 아이콘 세트를 새로 들이지 않습니다) */
.u-magnifier {
  width: 20px; height: 20px; flex: none; margin-right: 12px;
  border: 2px solid var(--u-ink-60); border-radius: 50%;
  position: relative;
}
.u-magnifier::after {
  content: ''; position: absolute;
  width: 9px; height: 2px; background: var(--u-ink-60);
  transform: rotate(45deg); right: -8px; bottom: 1px;
}
.u-magnifier--lg { width: 44px; height: 44px; border-color: var(--u-line); margin: 0; }
.u-magnifier--lg::after { width: 16px; background: var(--u-line); right: -13px; bottom: 2px; }

/* 홈에는 히어로의 큰 검색창이 있으므로 헤더 검색은 감춥니다 */
body[data-page='home'] .u-header .u-hsearch { display: none; }

/* 모바일 상단 바 (기본 숨김 · 767px 이하에서 노출) */
.u-mheader { display: none; }

/* ----------------------------------------------------------- 7. 뱃지 */
.u-badge {
  display: inline-flex; align-items: center; flex: none;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 6px;
  background: var(--u-surface); color: var(--u-ink-80);
}
.u-badge--html { background: var(--u-magenta-tint); color: var(--u-magenta-deep); }
.u-badge--sm { font-size: 0.6875rem; padding: 2px 6px; border-radius: 5px; }

/* --------------------------------------------------- 8. 3단 셸 레이아웃 */
.u-shell {
  display: grid;
  grid-template-columns: var(--u-sidebar) minmax(0, 1fr) var(--u-toc);
  align-items: start;
}
/* 우측 목차가 없는 화면(목록 페이지 등) */
.u-shell--2 { grid-template-columns: var(--u-sidebar) minmax(0, 1fr); }

/* 좌측 사이드바 */
.u-side {
  border-right: 1px solid var(--u-line);
  background: var(--u-surface-alt);
  position: sticky;
  top: var(--u-header-h);
  height: calc(100vh - var(--u-header-h));
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.u-side__filter { padding: 16px; border-bottom: 1px solid var(--u-line); flex: none; }
.u-side__field {
  display: flex; align-items: center; min-height: 44px;
  background: var(--u-white); border: 1px solid var(--u-line);
  border-radius: 8px; padding: 0 12px;
}
.u-side__field:focus-within {
  border-color: var(--u-ink);
  outline: 2px solid var(--u-magenta-text);
  outline-offset: 3px;
}
.u-side__field input {
  flex: 1; min-width: 0; min-height: 44px;
  border: none; outline: none; background: transparent;
  font-size: 0.875rem; color: var(--u-ink); padding: 0;
}
.u-side__list { flex: 1; overflow: auto; padding: 8px 12px 32px; }

.u-grp {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 44px; padding: 0 12px;
  background: transparent; border: none; border-radius: 8px;
  cursor: pointer; text-align: left;
  transition: background var(--u-t-state) ease-out;
}
.u-grp:hover { background: var(--u-surface); }
.u-grp[aria-expanded='true'] { background: var(--u-surface); }
.u-grp__name { font-size: 0.9375rem; font-weight: 700; color: var(--u-ink); }
.u-grp__n    { font-size: 0.8125rem; color: var(--u-ink-60); font-weight: 400; }

.u-grp__body { display: flex; flex-direction: column; padding-bottom: 8px; }
.u-grp__body[hidden] { display: none; }

.u-docrow { display: block; }
.u-docrow[hidden] { display: none; }
.u-doc__row { display: flex; align-items: center; gap: 2px; }

.u-doc {
  flex: 1; min-width: 0;
  min-height: 40px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 24px;
  font-size: 0.875rem; color: var(--u-ink-80);
  border-bottom: none; border-radius: 8px;
  transition: background var(--u-t-state) ease-out, color var(--u-t-state) ease-out;
}

/* 문서 안의 항목을 펼치는 버튼. 화살표는 CSS 로 돌립니다(아이콘 세트를 새로 들이지 않습니다) */
.u-doc__t {
  flex: none; width: 32px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; cursor: pointer;
  color: var(--u-ink-60); font-size: 1rem; border-radius: 8px;
}
.u-doc__t:hover { background: var(--u-surface); color: var(--u-ink); }
.u-doc__t span {
  display: block; line-height: 1;
  transition: transform var(--u-t-expand) ease-out;
}
.u-doc__t[aria-expanded='true'] span { transform: rotate(90deg); }

/* 3단계 — 문서 안의 섹션 */
.u-secs { display: flex; flex-direction: column; padding: 2px 0 6px; }
.u-secs[hidden] { display: none; }
.u-sec {
  min-height: 36px; display: flex; align-items: center;
  padding: 0 12px 0 36px;
  font-size: 0.8125rem; line-height: 1.4; color: var(--u-ink-60);
  border-bottom: none; border-radius: 8px;
  transition: background var(--u-t-state) ease-out, color var(--u-t-state) ease-out;
}
.u-sec:hover { background: var(--u-surface); color: var(--u-ink); }
.u-sec[aria-current='true'] { color: var(--u-magenta-deep); font-weight: 700; }
.u-doc:hover { background: var(--u-surface); color: var(--u-ink); }
.u-doc[aria-current='page'] {
  padding-left: 21px;
  font-weight: 700;
  color: var(--u-magenta-deep);
  background: var(--u-magenta-tint);
  border-left: 3px solid var(--u-magenta);
  border-radius: 0 8px 8px 0;
}
.u-doc[aria-current='page']:hover { background: var(--u-magenta-tint); color: var(--u-magenta-deep); }

/* 가운데 본문 */
.u-main {
  min-width: 0;
  padding: 32px clamp(20px, 4vw, 40px) 96px;
}
.u-main__in { max-width: var(--u-read); margin: 0 auto; }
.u-main--wide .u-main__in { max-width: var(--u-wide); }

/* 우측 목차 */
.u-toc {
  border-left: 1px solid var(--u-line);
  padding: 32px 20px;
  position: sticky;
  top: var(--u-header-h);
  min-width: 0;
}
.u-toc__label { margin-bottom: 14px; }
.u-toc__items { position: relative; padding-left: 14px; border-left: 1px solid var(--u-line); }
.u-toc__bar {
  position: absolute; left: -1px; top: 8px;
  width: 2px; height: 20px;
  background: var(--u-magenta); border-radius: 2px;
  transition: top var(--u-t-expand) ease-out;
}
.u-toc__items a {
  display: block;
  padding: 8px 0;                 /* 항목 높이 = 20 + 16 = 36px (인디케이터 계산식과 일치) */
  font-size: 0.875rem;
  line-height: 20px;
  color: var(--u-ink-80);
  border-bottom: none;
}
.u-toc__items a:hover { color: var(--u-ink); }
.u-toc__items a[aria-current='true'] { color: var(--u-ink); font-weight: 700; }
.u-toc__foot {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--u-line);
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.u-toc__foot a {
  font-size: 0.875rem; font-weight: 700;
  display: inline-flex; align-items: center; min-height: 44px;
}

/* 모바일/태블릿용 접힘 목차 (기본 숨김) */
.u-mtoc { display: none; margin-top: 20px; border: 1px solid var(--u-line); border-radius: 12px; overflow: hidden; }
.u-mtoc__btn {
  width: 100%; min-height: 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: var(--u-surface-alt); border: none; cursor: pointer;
  font-size: 0.9375rem; font-weight: 700; color: var(--u-ink);
}
.u-mtoc__n { font-size: 0.8125rem; font-weight: 400; color: var(--u-ink-60); }
.u-mtoc__list { display: flex; flex-direction: column; border-top: 1px solid var(--u-line); }
.u-mtoc__list[hidden] { display: none; }
.u-mtoc__list a {
  min-height: 44px; display: flex; align-items: center; padding: 0 16px;
  font-size: 0.9375rem; color: var(--u-ink-80);
  border-bottom: 1px solid var(--u-line);
}
.u-mtoc__list a:last-child { border-bottom: none; }
.u-mtoc__list a[aria-current='true'] { color: var(--u-magenta-deep); font-weight: 700; background: var(--u-magenta-tint); }

/* --------------------------------------------------------- 9. 문서 본문 */
.u-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 0.8125rem; color: var(--u-ink-60); margin-bottom: 16px;
}
.u-crumb a { color: var(--u-ink-80); border-bottom: none; }
.u-crumb a:hover { color: var(--u-ink); text-decoration: underline; }
.u-crumb [aria-current='page'] { color: var(--u-ink); font-weight: 700; }

.u-docmeta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 24px; padding: 16px 0;
  border-top: 1px solid var(--u-line);
  border-bottom: 1px solid var(--u-line);
  font-size: 0.9375rem; color: var(--u-ink-80);
}
.u-docmeta strong { color: var(--u-ink); font-weight: 700; }
/* 개정일은 보조 정보입니다 — 기준 버전보다 한 단 낮게 둡니다 */
.u-docmeta__date { font-size: 0.875rem; color: var(--u-ink-60); }
.u-docmeta__pdf {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--u-line); border-radius: 8px;
  font-size: 0.875rem; font-weight: 700; color: var(--u-ink);
  transition: border-color var(--u-t-state) ease-out, background var(--u-t-state) ease-out;
}
.u-docmeta__pdf:hover { border-color: var(--u-ink); background: var(--u-surface-alt); color: var(--u-ink); }
.u-docmeta__pdf span { font-weight: 400; color: var(--u-ink-60); }
.u-rule { width: 1px; height: 14px; background: var(--u-line); flex: none; }

/* 본문 영역 안에서만 적용되는 요소 스타일 */
.u-body h2 {
  margin: 48px 0 16px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.25;
  scroll-margin-top: 88px;   /* sticky 헤더 64 + 여유 24 */
  text-wrap: balance;
}
.u-body h3 {
  margin: 32px 0 12px;
  font-size: 1.3125rem; font-weight: 700; line-height: 1.4;
  scroll-margin-top: 88px;
}
.u-body p {
  font-size: 1.0625rem; line-height: 1.75; color: var(--u-ink-80);
  margin-bottom: 24px; text-wrap: pretty;
}
.u-body p strong { color: var(--u-ink); font-weight: 700; }
.u-body > *:first-child { margin-top: 0; }

/* 블록 3 · 스크린샷 */
.u-shot { margin: 24px 0 0; }
.u-shot__frame {
  background: var(--u-surface); border: 1px solid var(--u-line);
  border-radius: 12px; padding: 16px;
}
.u-shot__img {
  display: block; width: 100%; background: var(--u-white);
  border-radius: 6px; position: relative; overflow: hidden;
}
.u-shot figcaption { font-size: 0.8125rem; line-height: 1.6; color: var(--u-ink-60); margin-top: 10px; }
.u-shot a { border-bottom: none; display: block; }
/* 캡처 위 강조 테두리 · 번호 뱃지 (좌표는 인라인 style로 지정) */
.u-shot__hi { position: absolute; border: 2px solid var(--u-magenta); border-radius: 5px; }
.u-shot__pin {
  position: absolute; width: 28px; height: 28px; border-radius: 999px;
  background: var(--u-magenta); color: var(--u-white);
  font-size: 0.8125rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.u-shot__ph { position: absolute; background: var(--u-line); border-radius: 3px; }
.u-shot__bar { position: absolute; left: 0; top: 0; right: 0; background: var(--u-surface); }

/* 블록 4 · 단계 목록 */
.u-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.u-steps > li {
  background: var(--u-surface); border-radius: 12px; padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
}
.u-steps__n {
  flex: 0 0 36px; height: 36px; border-radius: 999px;
  background: var(--u-magenta); color: var(--u-white);
  font-size: 0.9375rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.u-steps__t { display: block; font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.u-steps__d { display: block; font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80); }

/* 블록 5 · 표 */
.u-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--u-line);
  border-radius: 8px;
  margin-top: 24px;
}
.u-tablewrap table { width: 100%; min-width: 600px; border-collapse: collapse; }
.u-tablewrap caption {
  caption-side: top; text-align: left; padding: 14px 16px;
  background: var(--u-surface);
  font-size: 0.875rem; font-weight: 700; color: var(--u-ink);
}
.u-tablewrap thead tr { background: var(--u-surface-alt); }
.u-tablewrap th[scope='col'] {
  text-align: left; padding: 12px 16px;
  font-size: 0.8125rem; font-weight: 700; color: var(--u-ink-80);
  border-top: 1px solid var(--u-line); border-bottom: 1px solid var(--u-line);
}
.u-tablewrap tbody th[scope='row'] {
  text-align: left; padding: 14px 16px;
  font-size: 0.9375rem; font-weight: 600; color: var(--u-ink);
  border-bottom: 1px solid var(--u-line);
}
.u-tablewrap td {
  padding: 14px 16px; font-size: 0.9375rem; color: var(--u-ink-80);
  border-bottom: 1px solid var(--u-line);
}
.u-tablewrap tbody tr:nth-child(even) { background: var(--u-surface-alt); }
.u-tablewrap tbody tr:last-child th, .u-tablewrap tbody tr:last-child td { border-bottom: none; }
/* 강조 결과 행은 한 표에 하나까지 */
.u-tablewrap tbody tr.is-key,
.u-tablewrap tbody tr.is-key:nth-child(even) { background: var(--u-magenta-tint); }
.u-tablewrap tr.is-key th, .u-tablewrap tr.is-key td { color: var(--u-ink); }
.u-tablewrap tr.is-key .u-key { color: var(--u-magenta-deep); font-weight: 700; }

/* 블록 6 · 참고 / 꼭 확인 */
.u-note {
  border-radius: 12px; padding: 16px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 24px;
  background: var(--u-surface);
}
.u-note + .u-note { margin-top: 12px; }
.u-note__label {
  flex: 0 0 auto; padding-top: 3px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: var(--u-ink-60);
}
.u-note__body { font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80); }
.u-note--must { background: var(--u-magenta-tint); }
.u-note--must .u-note__label { color: var(--u-magenta-deep); }
.u-note--must .u-note__body { color: var(--u-ink); }

/* 블록 7 · 자주 묻는 질문 */
.u-faq { border: 1px solid var(--u-line); border-radius: 12px; overflow: hidden; margin-top: 24px; }
.u-faq details + details { border-top: 1px solid var(--u-line); }
.u-faq summary {
  min-height: 44px; display: flex; align-items: center;
  padding: 12px 20px; background: var(--u-surface-alt);
  font-size: 1.0625rem; font-weight: 600; color: var(--u-ink); cursor: pointer;
}
.u-faq summary::-webkit-details-marker { display: none; }
.u-faq summary::after { content: '＋'; margin-left: auto; color: var(--u-ink-60); font-weight: 400; }
.u-faq details[open] summary::after { content: '－'; }
.u-faq p { padding: 4px 20px 18px; font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80); margin: 0; }
/* 여러 문단이 들어가는 경우(자주 묻는 질문 허브)는 바깥에서 여백을 줍니다 */
.u-faq__body { padding: 4px 20px 18px; }
.u-faq__body p { padding: 0; }
.u-faq__src { margin-top: 8px !important; font-size: 0.8125rem !important; }

/* 피드백 */
.u-fb {
  background: var(--u-surface); border-radius: 12px; padding: 24px;
  margin-top: 48px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.u-fb__t { flex: 1; min-width: 220px; }
.u-fb__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.u-fb__done { margin-top: 12px; }

/* 이전 / 다음 */
.u-pager {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 32px;
}
.u-pager a {
  border: 1px solid var(--u-line); border-radius: 12px; padding: 18px 20px;
  color: var(--u-ink); display: block;
  transition: border-color var(--u-t-state) ease-out;
}
.u-pager a:hover { border-color: var(--u-ink); color: var(--u-ink); }
.u-pager__l { display: block; font-size: 0.8125rem; color: var(--u-ink-60); margin-bottom: 6px; }
.u-pager__t { display: block; font-size: 1.0625rem; font-weight: 700; }
.u-pager__next { text-align: right; }

/* ------------------------------------------------------- 10. 홈 화면 */
.u-hero {
  background: var(--u-ink); color: var(--u-white);
  position: relative; overflow: hidden;
}
.u-hero__deco {
  position: absolute; right: -120px; top: -60px;
  width: 420px; height: 420px;
  border: 3px solid var(--u-magenta); border-radius: 104px;
}
.u-hero__in {
  max-width: var(--u-wide); margin: 0 auto;
  padding: 72px 40px 64px; position: relative;
}
.u-hero__eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; color: var(--u-magenta); }
.u-hero h1 { margin: 16px 0; max-width: 20ch; }
.u-hero p { font-size: 1.0625rem; line-height: 1.75; color: var(--u-on-dark); max-width: 58ch; }

.u-bigsearch { display: flex; gap: 8px; margin-top: 32px; max-width: 760px; }
.u-bigsearch__field {
  flex: 1; display: flex; align-items: center; min-height: 56px;
  background: var(--u-white); border-radius: 8px; padding: 0 18px;
}
.u-bigsearch__field:focus-within { outline: 2px solid var(--u-magenta); outline-offset: 3px; }
.u-bigsearch__field input {
  flex: 1; min-width: 0; min-height: 56px;
  border: none; outline: none; background: transparent;
  font-size: 1.0625rem; color: var(--u-ink); padding: 0;
}

.u-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.u-chips__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; color: var(--u-on-dark-60); margin-right: 6px; }
.u-chip {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px;
  border: 1px solid var(--u-ink-80); border-radius: 8px;
  font-size: 0.875rem; color: var(--u-on-dark);
  transition: border-color var(--u-t-state) ease-out, color var(--u-t-state) ease-out, background var(--u-t-state) ease-out;
}
.u-chip:hover { border-color: var(--u-magenta); color: var(--u-white); background: rgba(255, 46, 152, 0.08); }
/* 밝은 면 위 칩 (빈 상태 추천 검색어) */
.u-chip--light {
  border: none; background: var(--u-surface); color: var(--u-ink);
  font-size: 0.9375rem;
}
.u-chip--light:hover { background: var(--u-line); color: var(--u-ink); }

.u-section { max-width: var(--u-wide); margin: 0 auto; padding: 48px var(--u-gutter) 0; }
.u-section--end { padding-bottom: 64px; }

.u-banner {
  display: flex; align-items: center; gap: 20px;
  background: var(--u-magenta-tint); border-radius: 12px; padding: 24px 28px;
  border-bottom: none; color: var(--u-ink);
  transition: transform var(--u-t-state) ease-out;
}
.u-banner:hover { transform: translateY(-2px); color: var(--u-ink); }
.u-banner__n {
  flex: 0 0 36px; height: 36px; border-radius: 999px;
  background: var(--u-magenta); color: var(--u-white);
  font-size: 0.9375rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.u-banner__body { flex: 1; min-width: 0; }
.u-banner__t { display: block; font-size: 1.3125rem; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.u-banner__d { display: block; font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80); }
.u-banner__cta { flex: none; font-size: 0.9375rem; font-weight: 700; color: var(--u-magenta-deep); }

.u-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.u-card {
  background: var(--u-surface); border-radius: 12px; padding: 24px;
  border-bottom: none; color: var(--u-ink); display: block;
  transition: background var(--u-t-state) ease-out, transform var(--u-t-state) ease-out;
}
.u-card:hover { background: var(--u-line); transform: translateY(-2px); color: var(--u-ink); }
.u-card__t { display: block; font-size: 1.3125rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.u-card__d { display: block; font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80); margin-bottom: 14px; }
.u-card__n { display: block; font-size: 0.8125rem; color: var(--u-ink-60); }

/* 기능(영역) 카드는 개수가 많습니다. 좁은 화면에서 12장을 세로로 쌓으면
   그 아래 내용까지 내려가는 데만 한참 걸리므로, 두 칸으로 6장만 보여 주고
   나머지는 바로 아래 '모두 보기' 로 넘깁니다. */
@media (max-width: 767px) {
  .u-cards--areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .u-cards--areas .u-card { padding: 16px; }
  .u-cards--areas .u-card__t { font-size: 1.0625rem; margin-bottom: 6px; }
  .u-cards--areas .u-card__d { display: none; }
  .u-cards--areas > :nth-child(n + 7) { display: none; }
}

.u-split {
  max-width: var(--u-wide); margin: 0 auto;
  padding: 48px var(--u-gutter) 64px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px;
}
.u-aside {
  background: var(--u-surface); border-radius: 12px; padding: 24px; align-self: start;
}
.u-aside p { font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80); margin-bottom: 16px; }
.u-aside__links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.u-aside__links a {
  font-size: 0.9375rem; font-weight: 700;
  display: inline-flex; align-items: center; min-height: 44px;
}

/* 문서 목록(홈 최근 개정 · 그룹 목록 · 관련 문서 공용) */
.u-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--u-line); }
.u-list > li {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 8px 4px; border-bottom: 1px solid var(--u-line);
}
.u-list > li:nth-child(even) { background: var(--u-surface-alt); }
.u-list__name {
  font-size: 1.0625rem; font-weight: 600;
  display: inline-flex; align-items: center; min-height: 44px;   /* 탭 영역 */
}
.u-list__grp  { font-size: 0.8125rem; color: var(--u-ink-60); }
.u-list__date { font-size: 0.8125rem; color: var(--u-ink-60); }
.u-listhead {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 16px;
}

/* ------------------------------------------------------------- 10-1. 탭
   자주 묻는 질문의 분류 탭. 실제 <a href> 라서 새 탭 열기와 주소 복사가 됩니다. */
.u-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-bottom: 4px;
}
.u-tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--u-line); border-radius: 8px;
  font-size: 0.9375rem; color: var(--u-ink-80);
  transition: border-color var(--u-t-state) ease-out, background var(--u-t-state) ease-out;
}
.u-tab:hover { border-color: var(--u-ink); color: var(--u-ink); }
.u-tab[aria-selected='true'] {
  background: var(--u-magenta-tint); color: var(--u-magenta-deep);
  border-color: transparent; font-weight: 700;
}
.u-tab__n { font-size: 0.8125rem; color: var(--u-ink-60); }
.u-tab[aria-selected='true'] .u-tab__n { color: var(--u-magenta-deep); }

/* ------------------------------------------------------------ 10-2. 용어사전 */
.u-gloss { margin: 24px 0 0; }
.u-gloss__t {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 1.3125rem; font-weight: 700; line-height: 1.4;
  margin-top: 32px; padding-bottom: 8px;
  border-bottom: 1px solid var(--u-line);
  scroll-margin-top: 88px;
}
.u-gloss__d { margin: 12px 0 0; font-size: 1.0625rem; line-height: 1.75; color: var(--u-ink-80); }
.u-gloss__d a { font-size: 0.9375rem; font-weight: 700; }

/* ----------------------------------------------------- 11. 검색 결과 */
.u-searchlayout { display: flex; align-items: stretch; min-height: calc(100vh - var(--u-header-h)); }
.u-filters {
  width: var(--u-sidebar); flex: none;
  border-right: 1px solid var(--u-line); background: var(--u-surface-alt);
  padding: 28px 24px;
}
.u-filters__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px;
}
.u-filters fieldset { border: none; margin: 0 0 24px; padding: 0; }
.u-filters legend { padding: 0; margin-bottom: 8px; }
.u-filters label {
  min-height: 44px; display: flex; align-items: center; gap: 10px;
  font-size: 0.9375rem; color: var(--u-ink-80); cursor: pointer;
}
.u-filters input[type='checkbox'] { width: 18px; height: 18px; accent-color: var(--u-magenta-text); flex: none; }
.u-filters label .u-n { color: var(--u-ink-60); font-size: 0.8125rem; margin-left: auto; }

.u-results { flex: 1; min-width: 0; padding: 28px var(--u-gutter) 64px; }
.u-results__in { max-width: 800px; }
.u-results h1 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.u-appliedbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.u-fchip {
  min-height: 36px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--u-magenta-tint); color: var(--u-magenta-deep);
  border: none; border-radius: 8px; padding: 0 12px;
  font-size: 0.875rem; font-weight: 700; cursor: pointer;
}
.u-sort {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--u-ink-60); margin-left: auto;
}
.u-sort select {
  font-size: 0.875rem; font-weight: 700; color: var(--u-ink);
  border: 1px solid var(--u-line); border-radius: 8px;
  padding: 9px 10px; background: var(--u-white); min-height: 44px;
}

.u-hits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.u-hit {
  display: block; border: 1px solid var(--u-line); border-radius: 12px;
  padding: 22px 24px; color: var(--u-ink); border-bottom: 1px solid var(--u-line);
  transition: border-color var(--u-t-state) ease-out, transform var(--u-t-state) ease-out;
}
.u-hit:hover { border-color: var(--u-ink); transform: translateY(-2px); color: var(--u-ink); }
.u-hit__path { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; font-size: 0.8125rem; color: var(--u-ink-60); }
.u-hit__t { display: block; font-size: 1.3125rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.u-hit__ex {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80);
}
.u-hit__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 0.8125rem; color: var(--u-ink-60); }
.u-hit__go { color: var(--u-magenta-text); font-weight: 700; }

.u-pagi { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.u-pagi a {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--u-line); color: var(--u-ink);
  border-radius: 8px; font-size: 0.9375rem; font-weight: 700;
}
.u-pagi a:hover { border-color: var(--u-ink); color: var(--u-ink); }
.u-pagi a[aria-current='page'] {
  background: var(--u-magenta-tint); color: var(--u-magenta-deep); border-color: transparent;
}

/* 빈 상태 */
.u-empty { padding: 48px 0 40px; max-width: 66ch; }
.u-empty__icon { margin-bottom: 24px; }
.u-empty h1 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.u-empty p { margin-top: 16px; }
.u-empty__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--u-line);
}

/* --------------------------------------------------------- 11-1. 푸터
   문서로 해결되지 않을 때의 출구를 화면 맨 아래에 항상 둡니다.
   막힌 사람이 페이지 끝까지 내려왔을 때 갈 곳이 없으면 그대로 이탈합니다. */
.u-foot {
  border-top: 1px solid var(--u-line);
  background: var(--u-surface-alt);
  margin-top: 64px;
}
.u-foot__in { max-width: var(--u-wide); margin: 0 auto; padding: 48px var(--u-gutter); }
.u-foot__cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}
.u-foot__card {
  background: var(--u-white); border-radius: 12px; padding: 24px;
  border-bottom: none; color: var(--u-ink); display: block;
  transition: transform var(--u-t-state) ease-out;
}
.u-foot__card:hover { transform: translateY(-2px); color: var(--u-ink); }
.u-foot__q { display: block; font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.u-foot__d { display: block; font-size: 0.9375rem; line-height: 1.7; color: var(--u-ink-80); margin-bottom: 12px; }
.u-foot__go { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--u-magenta-text); }
.u-foot__links {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--u-line);
}
.u-foot__links a {
  font-size: 0.9375rem; color: var(--u-ink-80); border-bottom: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.u-foot__links a:hover { color: var(--u-ink); text-decoration: underline; }
.u-foot__note { margin-top: 8px; font-size: 0.8125rem; color: var(--u-ink-60); }

/* --------------------------------------------- 12. 모바일 드로어 · FAB */
.u-drawer { position: fixed; inset: 0; z-index: 30; background: var(--u-white); display: flex; flex-direction: column; }
.u-drawer[hidden] { display: none; }
.u-drawer__head {
  height: 52px; flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 20px; border-bottom: 1px solid var(--u-line);
}
.u-drawer__title { font-size: 1.0625rem; font-weight: 800; }
.u-iconbtn {
  width: 44px; height: 44px; flex: none;
  border: none; background: transparent; color: var(--u-ink);
  font-size: 1.25rem; cursor: pointer; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.u-iconbtn:hover { background: var(--u-surface); }
.u-burger { flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; }
.u-burger span { display: block; width: 100%; height: 2px; background: var(--u-ink); border-radius: 2px; }

.u-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--u-ink); color: var(--u-white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.0625rem; font-weight: 700;
  transition: background var(--u-t-state) ease-out, opacity var(--u-t-state) ease-out;
}
.u-fab:hover { background: var(--u-ink-80); }
.u-fab[hidden] { display: none; }

body.is-locked { overflow: hidden; }

/* ------------------------------------------------------ 13. 중단점 4개
   ~479 모바일 1단 / 480~767 큰 모바일 1단 / 768~1119 태블릿 2단 / 1120~ 데스크톱 */
@media (max-width: 1119px) {
  .u-shell { grid-template-columns: var(--u-sidebar) minmax(0, 1fr); }
  .u-toc { display: none; }
  .u-mtoc { display: block; }
  .u-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .u-header { display: none; }
  .u-mheader {
    display: block;
    position: sticky; top: 0; z-index: 5;
    background: var(--u-white); border-bottom: 1px solid var(--u-line);
  }
  .u-mheader__bar { height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 8px; }
  .u-mheader__search { padding: 0 20px 12px; }
  .u-mheader__search .u-hsearch { width: 100%; background: var(--u-surface-alt); }

  .u-shell { grid-template-columns: minmax(0, 1fr); }
  .u-side { display: none; }
  .u-main { padding: 24px 20px 96px; }

  .u-hero__in { padding: 48px 20px 40px; }
  .u-hero__deco { width: 260px; height: 260px; right: -90px; top: -70px; }
  .u-bigsearch { flex-direction: column; }
  .u-bigsearch__field { min-height: 52px; }
  .u-section { padding: 40px 20px 0; }
  .u-split { padding: 40px 20px 56px; }

  .u-searchlayout { flex-direction: column; }
  .u-filters { width: auto; border-right: none; border-bottom: 1px solid var(--u-line); }
  .u-results { padding: 24px 20px 64px; }

  /* 온보딩 배너: 가로 3단(뱃지·본문·CTA)이 좁은 화면에서 글자를 잘게 쪼갭니다 */
  .u-banner { flex-wrap: wrap; gap: 12px; padding: 20px; }
  .u-banner__n { order: 1; }
  .u-banner__body { order: 2; flex: 1 1 100%; }
  .u-banner__cta { order: 3; flex-basis: 100%; }

  .u-body h2 { margin-top: 56px; }   /* 섹션 사이 모바일 56 */
  .u-tablewrap table { min-width: 520px; }
  .u-tablewrap td, .u-tablewrap th { white-space: nowrap; }
  .u-pager { grid-template-columns: minmax(0, 1fr); }
  .u-pager__next { text-align: left; }
  .u-list > li { gap: 8px; }
}

/* 드로어 안의 사이드바는 항상 보이게 */
.u-drawer .u-side {
  display: flex; position: static; height: auto; flex: 1;
  border-right: none; background: var(--u-white);
}

/* -------------------------------------------------------------- 14. 인쇄 */
@media print {
  .u-header, .u-mheader, .u-side, .u-toc, .u-mtoc, .u-fab, .u-fb, .u-pager,
  .u-drawer, .u-skip, .u-hsearch, .u-bigsearch, .u-chips, .u-filters, .u-pagi,
  .u-docmeta__pdf, .u-foot, .u-tabs { display: none !important; }

  body { font-size: 11pt; color: #000; background: #fff; }
  .u-shell { display: block; }
  .u-main { padding: 0; }
  .u-main__in { max-width: none; }

  /* 다크 블록은 흰 배경 · 검정 글자로 */
  .u-hero, .u-dark { background: #fff !important; color: #000 !important; }
  .u-hero p, .u-hero__eyebrow { color: #000 !important; }
  .u-hero__deco { display: none !important; }

  a { color: #000; border-bottom: none; }
  .u-body a[href^='http']::after,
  .u-body a[href^='/']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #444; }

  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
  figure, .u-tablewrap, .u-steps > li, .u-note { break-inside: avoid; page-break-inside: avoid; }
}
