/* 본문 */
.main {
  min-width: 0;
  /* LNB 와의 간격 96 + 목차와의 간격 48 → 콘텐츠 영역 합계 1100 */
  margin: 0 48px 0 96px;
  padding: 56px 0 40px;
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px !important;
  color: var(--mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.page-eyebrow img {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: contain;
}

.title-ico {
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-right: 14px;
  border-radius: 11px;
  vertical-align: -6px;
  object-fit: contain;
}

.page-title {
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.page-lead {
  margin: 0 0 44px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.7;
}

.doc h2 {
  margin: 100px 0 18px;
  padding-top: 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--gnb-h) + 20px);
}

.doc h3 {
  margin: 84px 0 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--gnb-h) + 20px);
}

.doc h4 {
  margin: 36px 0 10px;
  font-size: 16.5px;
  font-weight: 700;
  scroll-margin-top: calc(var(--gnb-h) + 20px);
}

.doc p,
.doc li,
.doc td,
.notice p,
.callout {
  color: var(--body);
}

.doc > h2:first-of-type,
.doc > h3:first-of-type {
  margin-top: 8px;
}

.doc p {
  margin: 0 0 16px;
}
.doc ul,
.doc ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.doc li {
  margin: 6px 0;
}
.doc li::marker {
  color: var(--mute);
}

/* 코드 */
code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.87em;
  letter-spacing: -0.03em;
  /* 경로·주소는 띄어쓰기가 없어 한 덩어리로 취급된다.
   좁은 화면에서 칸을 밀어내지 않도록 넘칠 때만 끊어 준다 */
  overflow-wrap: anywhere;
}

/* 코드 블록은 끊지 않고 가로로 스크롤한다 */
pre code {
  overflow-wrap: normal;
}

pre {
  position: relative;
  margin: 0 0 20px;
  padding: 17px 19px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfbfc;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
  letter-spacing: -0.03em;
  color: var(--ink);
}

pre code {
  padding: 0;
  border: none;
  background: none;
  font-size: 13.5px;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--gray);
  cursor: pointer;
}

.copy-btn:hover {
  color: var(--ink);
  border-color: #d8dade;
}
.copy-btn.done {
  color: var(--ok-ink);
  border-color: #bfe3cb;
}
.copy-btn svg {
  width: 15px;
  height: 15px;
}

/* 표 */
.table-wrap {
  margin: 0 0 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--bg-soft);
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}
td b {
  font-weight: 700;
}

/* 콜아웃 */
.callout {
  margin: 0 0 22px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--gray);
  font-size: 15px;
}

.callout b {
  color: var(--ink);
}

/* 실제 화면 스크린샷 — 비율이 다양하므로 한 줄에 한 장, 모양별 최대 폭 */
.shot {
  display: block;
  margin: 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.shot-media {
  position: relative;
  display: block;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* 눌러야 하는 지점에 얹는 번호 */
.shot-num {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.92),
    0 2px 6px rgba(22, 24, 29, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--mute);
  font-size: 12.5px;
  line-height: 1.5;
}

.shot--wide {
  max-width: 100%;
} /* 가로가 긴 창 · 터미널 */
.shot--mid {
  max-width: 620px;
} /* 가로형이지만 내용이 단순한 창 */
.shot--box {
  max-width: 560px;
} /* 정사각에 가까운 설정 창 */
.shot--tall {
  max-width: 400px;
} /* 세로가 긴 모바일·동의 화면 */
.shot--slim {
  max-width: 240px;
} /* 사이드바처럼 아주 좁은 화면 */

/* 절차 목록 안에 들어가는 그림은 들여쓰기에 맞춘다 */
ol.steps .shot {
  margin: 12px 0 6px;
}

/* 하위 목록이 있는 단계에서는 그 목록의 들여쓰기에 맞춘다 */
ol.steps > li > ul ~ .shot {
  margin-left: 22px;
}

/* Claude 안의 작은 라벨과 서술 줄 */
.cl-note {
  margin: 14px 0 6px !important;
  color: var(--cl-mute);
  font-size: 12.5px;
}

.cl-say {
  margin: 0 0 8px !important;
  color: var(--cl-ink);
  font-size: 14.5px;
  line-height: 1.75;
}

.cl-say b {
  font-weight: 600;
}
.cl-thread > .cl-tool {
  margin-bottom: 12px;
}

.cl-src {
  margin: 14px 0 0 !important;
  padding-top: 11px;
  border-top: 1px solid var(--cl-line);
  color: var(--cl-mute);
  font-size: 12px;
}
