/* ==========================================================================
   Gewriter 사용 가이드 — gw-guide.css (2026-11 신규, /guide 전용)
   gw.css(토큰·헤더·푸터·버튼) 위에 얹는다. templates/guide.html 에서 마지막 CSS 로 링크.

   구조: 어두운 머리 띠(.gd-band) → 3단 문서 레이아웃(.gd-shell)
         왼쪽 목차·검색(.gd-side) · 가운데 본문(.gd-main > article.gd-article) · 오른쪽 '이 페이지에서'(.gd-toc)
   한 파일에 article[data-page] 여러 개 — 주소의 #페이지 로 하나만 보인다(gw-guide.js).
   JS 가 없으면(html 에 .gd-js 없음) 모든 페이지가 차례로 보인다(검색엔진·noscript).
   접두사 gd- 는 이 페이지 전용. 색은 흑백 + 그린 하나, 의미 있는 곳(점수 위험·주의)만 빨강·주황.
   ========================================================================== */

:root {
  --gd-side-w: 264px;
  --gd-toc-w: 212px;
  --gd-sub-h: 0px;
  --gd-text: #27272a;
  --gd-soft: #f7f7f6;
  --gd-sunk: #f2f2f0;
  --gd-red: #dc2626;
  --gd-red-bg: #fef2f2;
  --gd-amber: #b45309;
  --gd-amber-bg: #fffbeb;
}
@media (max-width: 1099px) { :root { --gd-sub-h: 52px; } }

html { scroll-padding-top: calc(var(--gw-header-h) + var(--gd-sub-h) + 20px); }
.gd-body { background: #fff; color: var(--gw-text); }
.gd-body .gw-footer { position: relative; z-index: 1; }

/* ==========================================================================
   머리 띠 — 랜딩·블로그 히어로와 같은 어두운 면(글로우 + 격자), 높이는 낮게
   ========================================================================== */
.gd-band { position: relative; isolation: isolate; overflow: hidden; background: var(--gw-ink); color: #fff; padding: calc(var(--gw-header-h) + 40px) 0 36px; }
.gd-band__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gd-band__glow { position: absolute; right: -10%; top: -70%; width: min(900px, 120vw); aspect-ratio: 1.6; background: radial-gradient(closest-side, rgba(30, 215, 96, .2), rgba(30, 215, 96, .04) 58%, transparent 74%); filter: blur(6px); }
.gd-band__grid {
  position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 20%, transparent 75%);
}
.gd-band__in { width: min(1440px, 100%); margin: 0 auto; padding: 0 clamp(16px, 2.6vw, 40px); display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.gd-band__text { min-width: 0; max-width: 640px; }
.gd-band__title { margin: 14px 0 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.16; font-weight: 250; letter-spacing: -0.045em; color: #fff; }
.gd-band__title b { font-weight: 700; color: var(--gw-neon); }
.gd-band__desc { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--gw-ink-text-2); }
.gd-band__facts { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--gw-ink-text-3); font-variant-numeric: tabular-nums; }
.gd-band__facts li { display: inline-flex; align-items: center; gap: 7px; }
.gd-band__facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gw-neon); opacity: .8; }
.gd-band__quick { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 560px; }
.gd-band__quick-label { width: 100%; text-align: right; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gw-ink-text-3); margin-bottom: 2px; }
.gd-qlink { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--gw-ink-line-2); border-radius: 999px; color: var(--gw-ink-text-2); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: border-color .15s, color .15s, background-color .15s; }
.gd-qlink:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .05); }
.gd-qlink svg { width: 13px; height: 13px; opacity: .7; }

/* ==========================================================================
   모바일 보조 바(목차 버튼 + 지금 페이지) — 1099px 이하에서만
   ========================================================================== */
.gd-subbar { display: none; position: sticky; top: var(--gw-header-h); z-index: 420; height: var(--gd-sub-h); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--gw-line); }
.gd-subbar__in { height: 100%; display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.gd-subbar__btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--gw-line-2); border-radius: 8px; background: #fff; color: var(--gw-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.gd-subbar__btn svg { width: 16px; height: 16px; }
.gd-subbar__where { min-width: 0; display: flex; align-items: baseline; gap: 6px; font-size: 14px; white-space: nowrap; overflow: hidden; }
.gd-subbar__group { color: var(--gw-text-3); flex: 0 0 auto; }
.gd-subbar__title { color: var(--gw-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   레이아웃
   ========================================================================== */
.gd-shell { width: min(1440px, 100%); margin: 0 auto; padding: 0 clamp(16px, 2.6vw, 40px); display: grid; grid-template-columns: var(--gd-side-w) minmax(0, 1fr) var(--gd-toc-w); gap: 0 48px; align-items: start; }

/* 왼쪽 — 검색 + 목차 */
.gd-side { position: sticky; top: var(--gw-header-h); max-height: calc(100vh - var(--gw-header-h)); overflow-y: auto; overscroll-behavior: contain; padding: 28px 22px 48px 0; border-right: 1px solid var(--gw-line); scrollbar-width: thin; }
.gd-side__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gd-side__title { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--gw-text); }
.gd-side__title span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gw-green-kicker); margin-bottom: 2px; }
.gd-side__close { display: none; width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent; color: var(--gw-text-2); cursor: pointer; align-items: center; justify-content: center; }
.gd-side__close:hover { background: var(--gw-bg-muted); }

/* 검색 */
.gd-search { position: relative; }
.gd-search__input { width: 100%; height: 40px; padding: 0 64px 0 36px; border: 1px solid var(--gw-line-2); border-radius: 8px; background: #fff; color: var(--gw-text); font: inherit; font-size: 14px; letter-spacing: -0.01em; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.gd-search__input::placeholder { color: var(--gw-text-3); }
.gd-search__input:focus { outline: none; border-color: var(--gw-green); box-shadow: 0 0 0 4px rgba(21, 128, 61, .12); }
.gd-search__input::-webkit-search-cancel-button { display: none; }
.gd-search__icon { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--gw-text-3); pointer-events: none; }
.gd-search__kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11.5px; line-height: 18px; padding: 0 6px; border: 1px solid var(--gw-line-2); border-radius: 5px; color: var(--gw-text-3); background: var(--gd-soft); pointer-events: none; }
.gd-search__clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 28px; padding: 0 9px; border: 0; border-radius: 6px; background: var(--gw-bg-muted); color: var(--gw-text-2); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.gd-search__clear[hidden], .gd-search__kbd[hidden] { display: none; }
.gd-search__status { margin: 10px 2px 0; font-size: 12.5px; color: var(--gw-text-3); min-height: 0; }
.gd-search__status:empty { display: none; }
.gd-search__status b { color: var(--gw-text); font-weight: 600; }

/* 목차 */
.gd-nav { margin-top: 18px; }
.gd-nav__group { margin-bottom: 18px; }
.gd-nav__group[hidden] { display: none; }
.gd-nav__label { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; padding: 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--gw-text); }
.gd-nav__label span { font-size: 11px; font-weight: 600; color: var(--gw-text-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.gd-nav ul { list-style: none; margin: 0; padding: 0; }
.gd-nav li[hidden] { display: none; }
.gd-nav__link { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 7px; color: var(--gw-text-2); font-size: 14px; line-height: 1.45; text-decoration: none; transition: background-color .12s, color .12s; }
.gd-nav__link:hover { background: var(--gd-sunk); color: var(--gw-text); }
.gd-nav__link.is-active { background: var(--gw-green-50); color: var(--gw-green-deep); font-weight: 600; }
.gd-nav__link.is-active::before { content: ""; position: absolute; left: -1px; top: 7px; bottom: 7px; width: 2px; border-radius: 2px; background: var(--gw-green); }
.gd-nav__count { flex: 0 0 auto; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--gw-green-100); color: var(--gw-green-deep); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.gd-nav__count:empty { display: none; }
.gd-nav__snip { margin: 0 10px 6px; font-size: 12.5px; line-height: 1.5; color: var(--gw-text-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-nav__snip:empty { display: none; }
.gd-nav mark, .gd-nav__snip mark { background: rgba(30, 215, 96, .28); color: inherit; border-radius: 3px; padding: 0 1px; }
.gd-nav__empty { padding: 14px 10px; font-size: 13.5px; color: var(--gw-text-3); }
.gd-nav__empty[hidden] { display: none; }
.gd-side__help { margin-top: 8px; padding: 14px; border: 1px solid var(--gw-line); border-radius: 10px; background: var(--gd-soft); font-size: 13px; line-height: 1.6; color: var(--gw-text-2); }
.gd-side__help b { display: block; color: var(--gw-text); font-size: 13.5px; margin-bottom: 2px; }
.gd-side__help a { color: var(--gw-green); font-weight: 600; text-decoration: none; word-break: break-all; }

/* 가운데 — 본문 */
.gd-main { min-width: 0; width: 100%; max-width: 780px; margin: 0 auto; padding: 36px 0 96px; }
.gd-js .gd-article { display: none; }
.gd-js .gd-article.is-active { display: block; animation: gdIn .2s ease-out; }
.gd-article + .gd-article { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--gw-line); }
.gd-js .gd-article + .gd-article { margin-top: 0; padding-top: 0; border-top: 0; }
@keyframes gdIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gd-js .gd-article.is-active { animation: none; } }

.gd-langnote { display: none; margin-bottom: 18px; padding: 10px 14px; border: 1px solid var(--gw-line); border-radius: 8px; background: var(--gd-soft); font-size: 13.5px; color: var(--gw-text-2); }
html:not([lang="ko"]) .gd-langnote { display: block; }

.gd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 13px; color: var(--gw-text-3); }
.gd-article .gd-crumbs a { color: var(--gw-text-3); font-weight: 500; text-decoration: none; }
.gd-article .gd-crumbs a:hover { color: var(--gw-text); }
.gd-crumbs span[aria-hidden] { color: var(--gw-line-strong); }
.gd-h1 { margin: 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.25; font-weight: 700; letter-spacing: -0.035em; color: var(--gw-text); word-break: keep-all; }
.gd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 14px 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--gw-line); font-size: 13px; color: var(--gw-text-3); font-variant-numeric: tabular-nums; }
.gd-meta__read[hidden] { display: none; }
.gd-copylink { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid var(--gw-line-2); border-radius: 6px; background: #fff; color: var(--gw-text-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s; }
.gd-copylink:hover { border-color: var(--gw-text); color: var(--gw-text); }
.gd-copylink svg { width: 13px; height: 13px; }

.gd-lede { margin: 0 0 30px; font-size: 18px; line-height: 1.72; color: var(--gw-text-2); letter-spacing: -0.02em; }
.gd-lede b { color: var(--gw-text); font-weight: 600; }

.gd-article h2 { position: relative; margin: 52px 0 14px; font-size: 23px; line-height: 1.38; font-weight: 700; letter-spacing: -0.03em; color: var(--gw-text); }
.gd-article h3 { position: relative; margin: 32px 0 10px; font-size: 18px; line-height: 1.45; font-weight: 700; letter-spacing: -0.025em; color: var(--gw-text); }
.gd-anchor { margin-left: 8px; color: var(--gw-line-strong); font-weight: 400; font-size: .82em; text-decoration: none; opacity: 0; transition: opacity .12s, color .12s; }
.gd-article h2:hover .gd-anchor, .gd-article h3:hover .gd-anchor, .gd-anchor:focus-visible { opacity: 1; }
.gd-anchor:hover { color: var(--gw-green); }
@media (hover: none) { .gd-anchor { opacity: .55; } }

.gd-article p, .gd-article li, .gd-article dd { font-size: 16px; line-height: 1.78; color: var(--gd-text); }
.gd-article p { margin: 0 0 16px; }
.gd-article ul:not([class]), .gd-article ol:not([class]) { margin: 0 0 18px; padding-left: 22px; }
.gd-article ul:not([class]) { list-style: disc; }
.gd-article ol:not([class]) { list-style: decimal; }
.gd-article ul:not([class]) li, .gd-article ol:not([class]) li { margin: 5px 0; }
.gd-article li::marker { color: var(--gw-text-3); }
.gd-article a:not([class]) { color: var(--gw-green); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(21, 128, 61, .3); text-underline-offset: 3px; overflow-wrap: break-word; }
.gd-article a:not([class]):hover { text-decoration-color: currentColor; }
.gd-article strong, .gd-article b { color: var(--gw-text); font-weight: 650; }
.gd-article code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; padding: 1px 6px; border-radius: 5px; background: var(--gd-sunk); color: #3f3f46; letter-spacing: 0; word-break: break-all; }
.gd-article kbd { font-family: inherit; font-size: 12.5px; padding: 1px 7px; border: 1px solid var(--gw-line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--gd-soft); color: var(--gw-text-2); white-space: nowrap; }
.gd-article hr { border: 0; border-top: 1px solid var(--gw-line); margin: 36px 0; }
.gd-muted { color: var(--gw-text-3) !important; font-size: 14px !important; }
.gd-num { font-variant-numeric: tabular-nums; }
.gd-ex { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; background: var(--gw-bg-muted); color: var(--gw-text-3); font-size: 11px; font-weight: 700; letter-spacing: .04em; vertical-align: 2px; margin-left: 6px; }
.gd-beta { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: var(--gw-ink); color: var(--gw-neon); font-size: 10.5px; font-weight: 700; letter-spacing: .03em; vertical-align: 2px; margin-left: 4px; }

/* 검색어 강조 */
mark.gd-hl { background: rgba(30, 215, 96, .32); color: inherit; border-radius: 3px; padding: 0 1px; box-shadow: 0 0 0 1px rgba(21, 128, 61, .18); }
mark.gd-hl.is-current { background: var(--gw-neon); }
.gd-hlbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 22px; padding: 10px 12px; border: 1px solid var(--gw-green-100); border-radius: 10px; background: var(--gw-green-50); font-size: 13.5px; color: var(--gw-green-deep); }
.gd-hlbar[hidden] { display: none; }
.gd-hlbar b { font-weight: 700; }
.gd-hlbar__sp { flex: 1 1 auto; }
.gd-hlbar button { height: 28px; padding: 0 10px; border: 1px solid rgba(21, 128, 61, .25); border-radius: 6px; background: #fff; color: var(--gw-green-deep); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.gd-hlbar button:hover { border-color: var(--gw-green); }

/* ---------- 부품: 스크린샷 자리(figure.gd-shot) ----------
   실제 화면은 배포 뒤 로그인 상태로 찍어 static/img/guide/<data-shot>.webp 로 넣는다.
   파일을 넣은 뒤 guide.html 맨 위 SHOTS_READY 에 그 이름을 더하면 자리 표시 대신 그림이 나온다. */
.gd-article { counter-reset: gdfig; }
.gd-shot { margin: 6px 0 28px; counter-increment: gdfig; }
.gd-shot--sm { max-width: 520px; }
.gd-shot__frame { display: block; width: fit-content; max-width: 100%; margin: 0; border: 1px solid var(--gw-line); border-radius: 12px; overflow: hidden; background: var(--gd-soft); box-shadow: var(--gw-shadow-sm); }
/* 작은 창 캡처(약관·확인 창 등)는 키우지 않고 원래 크기로, 넓은 화면 캡처는 본문 폭에 맞춰 줄인다 */
.gd-shot__frame img { display: block; width: auto; max-width: 100%; height: auto; }
.gd-shot__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; border: 1px dashed var(--gw-line-2); border-radius: 12px; background: repeating-linear-gradient(-45deg, #fafafa 0 12px, #f4f4f3 12px 24px); color: var(--gw-text-3); font-size: 13px; text-align: center; }
.gd-shot__ph svg { width: 26px; height: 26px; opacity: .55; }
.gd-shot__ph b { font-size: 13.5px; font-weight: 600; color: var(--gw-text-2); }
.gd-shot__ph code { font-size: 11.5px !important; background: #fff !important; border: 1px solid var(--gw-line); color: var(--gw-text-3) !important; }
.gd-shot figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--gw-text-3); }
.gd-shot figcaption::before { content: "그림 " counter(gdfig) ". "; font-weight: 700; color: var(--gw-text-2); }

/* ---------- 부품: 알림 상자 ---------- */
.gd-callout { display: flex; gap: 12px; margin: 0 0 22px; padding: 15px 16px; border: 1px solid var(--gw-line); border-radius: 10px; background: var(--gd-soft); }
.gd-callout__icon { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--gw-text); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.gd-callout__body { min-width: 0; }
.gd-callout__body > *:last-child { margin-bottom: 0 !important; }
.gd-callout__title { display: block; margin-bottom: 3px; font-size: 15px; font-weight: 700; color: var(--gw-text); }
.gd-callout p, .gd-callout li { font-size: 15px; line-height: 1.7; }
.gd-callout--tip { background: var(--gw-green-50); border-color: var(--gw-green-100); }
.gd-callout--tip .gd-callout__icon { background: var(--gw-green); }
.gd-callout--tip .gd-callout__title { color: var(--gw-green-deep); }
.gd-callout--warn { background: var(--gd-amber-bg); border-color: #fde7b0; }
.gd-callout--warn .gd-callout__icon { background: #d97706; }
.gd-callout--warn .gd-callout__title { color: var(--gd-amber); }

/* ---------- 부품: 단계(세로 타임라인) ---------- */
.gd-steps { list-style: none; margin: 4px 0 26px; padding: 0; counter-reset: gdstep; }
.gd-steps > li { position: relative; margin: 0; padding: 0 0 20px 48px; counter-increment: gdstep; }
.gd-steps > li::before { content: counter(gdstep); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 999px; background: var(--gw-ink); color: var(--gw-neon); font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.gd-steps > li::after { content: ""; position: absolute; left: 14.5px; top: 36px; bottom: 4px; width: 1px; background: var(--gw-line-2); }
.gd-steps > li:last-child { padding-bottom: 4px; }
.gd-steps > li:last-child::after { display: none; }
.gd-steps__t { display: block; margin: 3px 0 3px; font-size: 16.5px; font-weight: 700; color: var(--gw-text); letter-spacing: -0.02em; }
.gd-steps > li > p { margin: 0 0 6px; }

/* ---------- 부품: 표 ---------- */
.gd-table-wrap { margin: 0 0 24px; border: 1px solid var(--gw-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.gd-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
.gd-table th, .gd-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gw-line); color: var(--gd-text); }
.gd-table thead th { background: var(--gd-soft); font-size: 13px; font-weight: 700; color: var(--gw-text); white-space: nowrap; }
.gd-table tbody tr:last-child td, .gd-table tbody tr:last-child th { border-bottom: 0; }
.gd-table tbody th { width: 10em; font-weight: 650; color: var(--gw-text); background: #fcfcfb; }
.gd-table td.gd-r, .gd-table th.gd-r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gd-table .gd-val { font-weight: 700; color: var(--gw-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gd-table td small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--gw-text-3); line-height: 1.5; }
.gd-table--limits td:first-child { width: 34%; font-weight: 600; color: var(--gw-text); }
.gd-table--limits td:nth-child(2) { width: 30%; }
.gd-table--limits .gd-val { white-space: normal; }
.gd-table__group td { background: var(--gd-soft); font-size: 12px !important; font-weight: 700 !important; letter-spacing: .06em; color: var(--gw-text-3) !important; padding-top: 9px !important; padding-bottom: 9px !important; }

/* ---------- 부품: 카드 그리드(링크) ---------- */
.gd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; }
.gd-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-card { display: block; padding: 18px 18px 17px; border: 1px solid var(--gw-line); border-radius: 12px; background: #fff; color: var(--gw-text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.gd-card:hover { border-color: var(--gw-text); box-shadow: var(--gw-shadow-sm); transform: translateY(-1px); }
.gd-card__k { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 8px; background: var(--gw-ink); color: var(--gw-neon); }
.gd-card__k svg { width: 17px; height: 17px; }
.gd-card__t { display: block; margin: 0 0 4px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--gw-text); }
.gd-card__d { display: block; margin: 0; font-size: 14px !important; line-height: 1.6 !important; color: var(--gw-text-2) !important; }
.gd-card__go { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--gw-green); }

/* ---------- 부품: GEO 7단계 ---------- */
.gd-seven { display: grid; grid-template-columns: 3fr 4fr; gap: 12px; margin: 4px 0 26px; }
.gd-seven__phase { border: 1px solid var(--gw-line); border-radius: 14px; padding: 16px 16px 8px; background: #fff; }
.gd-seven__phase--dark { background: var(--gw-ink); border-color: var(--gw-ink); }
.gd-seven__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.gd-seven__name { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gw-green-kicker); }
.gd-seven__phase--dark .gd-seven__name { color: var(--gw-neon); }
.gd-seven__where { font-size: 12px; color: var(--gw-text-3); }
.gd-seven__phase--dark .gd-seven__where { color: var(--gw-ink-text-3); }
.gd-seven ol { list-style: none; margin: 0; padding: 0; }
.gd-seven li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--gw-line); }
.gd-seven__phase--dark li { border-top-color: var(--gw-ink-line); }
.gd-seven li:first-child { border-top: 0; padding-top: 2px; }
.gd-seven__n { font-size: 12px; font-weight: 700; color: var(--gw-text-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.gd-seven__phase--dark .gd-seven__n { color: var(--gw-neon); }
.gd-seven__t { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--gw-text); }
.gd-seven__phase--dark .gd-seven__t { color: #fff; }
.gd-seven__d { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.55; color: var(--gw-text-2); }
.gd-seven__phase--dark .gd-seven__d { color: var(--gw-ink-text-2); }

/* ---------- 부품: 가로 흐름 ---------- */
.gd-flow { display: flex; align-items: stretch; gap: 6px; margin: 4px 0 26px; }
.gd-flow__node { flex: 1 1 0; min-width: 0; padding: 13px 12px; border: 1px solid var(--gw-line); border-radius: 10px; background: var(--gd-soft); }
.gd-flow__node--on { background: var(--gw-ink); border-color: var(--gw-ink); }
.gd-flow__node b { display: block; font-size: 14px; font-weight: 700; color: var(--gw-text); letter-spacing: -0.02em; }
.gd-flow__node span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--gw-text-3); }
.gd-flow__node--on b { color: #fff; }
.gd-flow__node--on span { color: var(--gw-ink-text-2); }
.gd-flow__arrow { flex: 0 0 auto; display: flex; align-items: center; color: var(--gw-line-strong); }
.gd-flow__arrow svg { width: 14px; height: 14px; }

/* ---------- 부품: 입력 방식 비교 카드 ---------- */
.gd-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 26px; }
.gd-mode { display: flex; flex-direction: column; border: 1px solid var(--gw-line); border-radius: 14px; background: #fff; overflow: hidden; }
.gd-mode__head { padding: 16px 16px 14px; border-bottom: 1px solid var(--gw-line); }
.gd-mode__icon { display: inline-flex; width: 30px; height: 30px; border-radius: 8px; align-items: center; justify-content: center; background: var(--gw-ink); color: var(--gw-neon); margin-bottom: 10px; }
.gd-mode__icon svg { width: 16px; height: 16px; }
.gd-mode__name { display: block; font-size: 16px; font-weight: 700; color: var(--gw-text); letter-spacing: -0.02em; }
.gd-mode__sub { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--gw-text-3); }
.gd-mode dl { margin: 0; padding: 4px 16px 10px; }
.gd-mode dt { margin-top: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; color: var(--gw-text-3); }
.gd-mode dd { margin: 2px 0 0; font-size: 14px !important; line-height: 1.55 !important; color: var(--gw-text) !important; }
.gd-yes { color: var(--gw-green); font-weight: 700; }
.gd-no { color: var(--gw-text-3); }

/* ---------- 부품: 키워드 선택 미리보기 ---------- */
.gd-mock { margin: 4px 0 26px; border: 1px solid var(--gw-line); border-radius: 14px; background: var(--gd-soft); padding: 14px; }
.gd-mock__cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 10px; font-size: 12px; color: var(--gw-text-3); }
.gd-mock__cap b { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gw-text-2); }
.gd-kwmock { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.gd-kwmock__table, .gd-kwmock__sel { border: 1px solid var(--gw-line); border-radius: 10px; background: #fff; overflow: hidden; }
.gd-kwrow { display: grid; grid-template-columns: 20px minmax(0, 1fr) 54px 34px 34px; gap: 8px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--gw-line); font-size: 13px; color: var(--gd-text); font-variant-numeric: tabular-nums; }
.gd-kwrow:first-child { border-top: 0; }
.gd-kwrow--head { background: var(--gd-soft); font-size: 11px; font-weight: 700; line-height: 1.35; color: var(--gw-text-3); }
.gd-kwrow--on { background: var(--gw-green-50); }
.gd-kwrow > span:nth-child(n+3) { text-align: center; }
.gd-kwrow > span:nth-child(3) { text-align: right; }
.gd-box { width: 15px; height: 15px; border: 1.5px solid var(--gw-line-2); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.gd-kwrow--on .gd-box { background: var(--gw-green); border-color: var(--gw-green); }
.gd-kwrow--on .gd-box::after { content: ""; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.gd-aitag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--gw-ink); color: var(--gw-neon); font-size: 10.5px; font-weight: 700; line-height: 17px; vertical-align: 1px; }
.gd-ok { color: var(--gw-green); font-weight: 700; }
.gd-x { color: var(--gw-text-3); }
.gd-kwmock__sel { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.gd-kwmock__selhead { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--gw-text); }
.gd-kwmock__selhead span { color: var(--gw-text-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.gd-selitem { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--gw-line); border-radius: 8px; background: #fff; font-size: 13px; color: var(--gw-text); }
.gd-selitem--main { border-color: var(--gw-green); box-shadow: 0 0 0 3px rgba(21, 128, 61, .08); }
.gd-selitem__grip { color: var(--gw-line-strong); letter-spacing: -2px; font-size: 12px; }
.gd-mainbadge { margin-left: auto; padding: 0 7px; border-radius: 999px; background: var(--gw-green-50); color: var(--gw-green-deep); font-size: 11px; font-weight: 700; line-height: 18px; white-space: nowrap; }
.gd-article .gd-kwmock__hint { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: var(--gw-text-3); }

/* ---------- 부품: 점수 구간 막대 ---------- */
.gd-scale { margin: 4px 0 26px; }
.gd-scale__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.gd-scale__bar span { display: block; height: 100%; }
.gd-scale__bad { background: #ef4444; }
.gd-scale__mid { background: #f59e0b; }
.gd-scale__good { background: var(--gw-green); }
.gd-scale__legend { display: flex; margin-top: 8px; font-size: 13px; color: var(--gw-text-2); font-variant-numeric: tabular-nums; }
.gd-scale__legend span { display: block; }
.gd-scale__legend b { display: block; font-size: 13.5px; color: var(--gw-text); }
.gd-scale__legend span + span { padding-left: 8px; border-left: 1px solid var(--gw-line); }
.gd-scale__ticks { position: relative; display: flex; justify-content: space-between; margin-top: 4px; font-size: 11.5px; color: var(--gw-text-3); font-variant-numeric: tabular-nums; }

/* ---------- 부품: GEO 점수 공식 ---------- */
.gd-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 26px; padding: 16px; border: 1px solid var(--gw-line); border-radius: 12px; background: var(--gd-soft); font-size: 14px; color: var(--gw-text-2); }
.gd-formula__res { padding: 7px 12px; border-radius: 8px; background: var(--gw-ink); color: #fff; font-weight: 700; }
.gd-formula__res em { font-style: normal; color: var(--gw-neon); }
.gd-formula__term { padding: 7px 12px; border: 1px solid var(--gw-line-2); border-radius: 8px; background: #fff; color: var(--gw-text); font-weight: 600; }
.gd-formula__op { color: var(--gw-text-3); font-weight: 700; }

/* 구매 여정 3단계 */
.gd-cej { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 4px 0 26px; border: 1px solid var(--gw-line); border-radius: 12px; overflow: hidden; }
.gd-cej > div { position: relative; padding: 15px 16px 15px 18px; background: #fff; }
.gd-cej > div + div { border-left: 1px solid var(--gw-line); }
.gd-cej__n { font-size: 11.5px; font-weight: 700; color: var(--gw-green-kicker); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.gd-cej b { display: block; margin-top: 3px; font-size: 15px; color: var(--gw-text); }
.gd-cej span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--gw-text-3); }

/* ---------- 부품: 검색 결과 미리보기(메타 태그) ---------- */
.gd-serp { margin: 4px 0 26px; padding: 18px 18px 16px; border: 1px solid var(--gw-line); border-radius: 12px; background: #fff; }
.gd-serp__url { font-size: 12.5px; color: #3f3f46; }
.gd-serp__title { margin-top: 4px; font-size: 19px; line-height: 1.35; color: #1a0dab; letter-spacing: -0.01em; }
.gd-serp__desc { margin-top: 4px; font-size: 13.5px; line-height: 1.6; color: #4d5156; }
.gd-serp__notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--gw-line-2); }
.gd-serp__notes span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--gd-soft); font-size: 12.5px; color: var(--gw-text-2); font-variant-numeric: tabular-nums; }
.gd-serp__notes b { color: var(--gw-text); }

/* ---------- 부품: 파일 트리(ZIP) ---------- */
.gd-tree { margin: 4px 0 26px; border: 1px solid var(--gw-line); border-radius: 12px; overflow: hidden; background: #fff; }
.gd-tree__root { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--gw-ink); color: #fff; font-size: 13.5px; font-weight: 600; }
.gd-tree__root code { background: transparent !important; color: #fff !important; padding: 0 !important; font-size: 13px !important; }
.gd-tree__root svg { width: 16px; height: 16px; color: var(--gw-neon); flex: 0 0 auto; }
.gd-tree ul { list-style: none; margin: 0; padding: 0; }
.gd-tree li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 4px 16px; padding: 11px 14px 11px 34px; border-top: 1px solid var(--gw-line); position: relative; }
.gd-tree li::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 1px; background: var(--gw-line-2); }
.gd-tree li:last-child::before { bottom: 50%; }
.gd-tree li::after { content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 1px; background: var(--gw-line-2); }
.gd-tree li code { justify-self: start; background: transparent !important; padding: 0 !important; color: var(--gw-text) !important; font-weight: 600; font-size: 13px !important; word-break: break-all; }
.gd-tree li span { font-size: 13.5px; line-height: 1.55; color: var(--gw-text-2); }

/* ---------- 부품: 페이지 해부도(어디에 붙이나) ---------- */
.gd-anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 4px 0 26px; align-items: start; }
.gd-page { border: 1px solid var(--gw-line-2); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--gw-shadow-sm); }
.gd-page__chrome { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--gw-line); background: var(--gd-soft); }
.gd-page__chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--gw-line-2); }
.gd-page__chrome span { margin-left: 8px; font-size: 11.5px; color: var(--gw-text-3); }
.gd-page__body { padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.gd-zone { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--gw-line); border-radius: 8px; font-size: 12.5px; color: var(--gw-text-2); background: #fff; }
.gd-zone b { color: var(--gw-text); font-size: 12.5px; }
.gd-zone__n { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 999px; background: var(--gw-ink); color: var(--gw-neon); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.gd-zone--head { background: var(--gw-ink); border-color: var(--gw-ink); color: var(--gw-ink-text-2); }
.gd-zone--head b { color: #fff; }
.gd-zone--head .gd-zone__n { background: var(--gw-neon); color: #04150b; }
.gd-zone--add { border-style: dashed; border-color: var(--gw-green); background: var(--gw-green-50); color: var(--gw-green-deep); margin-left: 14px; }
.gd-zone--add b { color: var(--gw-green-deep); }
.gd-zone--foot { background: var(--gd-sunk); border-color: var(--gd-sunk); color: var(--gw-text-3); justify-content: center; }
.gd-anatomy__list { list-style: none; margin: 0; padding: 0; counter-reset: gdz; }
.gd-anatomy__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--gw-line); font-size: 14px !important; line-height: 1.6 !important; }
.gd-anatomy__list li:first-child { border-top: 0; padding-top: 0; }
.gd-anatomy__list li b { display: block; font-size: 14.5px; }
.gd-anatomy__list .gd-zone__n { margin-top: 2px; }

/* ---------- 부품: 두 가지 방법 ---------- */
.gd-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 26px; }
.gd-method { border: 1px solid var(--gw-line); border-radius: 14px; padding: 18px; background: #fff; }
.gd-method__k { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gd-method__n { width: 32px; height: 32px; border-radius: 8px; background: var(--gw-ink); color: var(--gw-neon); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gd-method__label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--gw-text-3); text-transform: uppercase; }
.gd-method__t { display: block; font-size: 16px; font-weight: 700; color: var(--gw-text); letter-spacing: -0.02em; margin-bottom: 6px; }
.gd-method p { font-size: 14.5px !important; line-height: 1.65 !important; margin-bottom: 10px !important; }
.gd-method__note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gw-green); }

/* ---------- 부품: 코드 블록 ---------- */
.gd-code { position: relative; margin: 4px 0 24px; border-radius: 12px; background: var(--gw-ink); color: #e4e4e7; overflow: hidden; }
.gd-code__bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--gw-ink-line); font-size: 12px; color: var(--gw-ink-text-3); }
.gd-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; letter-spacing: 0; white-space: pre; }
.gd-code .c-tag { color: #7ee2a8; }
.gd-code .c-attr { color: #a1a1aa; }
.gd-code .c-str { color: #fde68a; }
.gd-code .c-cmt { color: #71717a; }

/* ---------- 부품: 체크리스트 ---------- */
.gd-check { list-style: none; margin: 4px 0 26px; padding: 0; border: 1px solid var(--gw-line); border-radius: 12px; overflow: hidden; }
.gd-check li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border-top: 1px solid var(--gw-line); font-size: 14.5px !important; line-height: 1.6 !important; margin: 0 !important; }
.gd-check li:first-child { border-top: 0; }
.gd-check li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid var(--gw-line-2); border-radius: 5px; background: #fff; }
.gd-check li em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--gw-text-3); white-space: nowrap; padding-top: 2px; }
.gd-check__group { display: block !important; padding: 8px 14px !important; background: var(--gd-soft); font-size: 12px !important; font-weight: 700; letter-spacing: .06em; color: var(--gw-text-3) !important; }
.gd-check__group::before { display: none !important; }

/* ---------- 부품: 보고서 줄 미리보기(작업내역) ---------- */
.gd-row { margin: 4px 0 26px; border: 1px solid var(--gw-line); border-radius: 14px; overflow: hidden; background: #fff; }
.gd-row__group { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--gd-soft); border-bottom: 1px solid var(--gw-line); font-size: 13px; color: var(--gw-text-2); }
.gd-row__group b { color: var(--gw-text); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-row__btn { margin-left: auto; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--gw-ink); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.gd-row__main > * { min-width: 0; }
.gd-row__main { padding: 14px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.gd-row__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.gd-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--gw-line-2); font-size: 11.5px; font-weight: 600; color: var(--gw-text-2); white-space: nowrap; }
.gd-pill--ok { border-color: var(--gw-green-100); background: var(--gw-green-50); color: var(--gw-green-deep); }
.gd-row__url { font-size: 13.5px; color: var(--gw-text); word-break: break-all; }
.gd-row__url span { color: var(--gw-text-3); }
.gd-row__score { border: 1px solid var(--gw-line); border-radius: 10px; padding: 9px 11px; }
.gd-row__score small { display: block; font-size: 11.5px; font-weight: 700; color: var(--gw-text-3); }
.gd-row__vals { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin-top: 3px; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--gw-text-3); }
.gd-row__vals b { font-size: 19px; color: var(--gw-text); }
.gd-row__vals .up { color: var(--gw-green); font-weight: 700; font-size: 12.5px; }
.gd-row__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 14px 14px; }
.gd-row__foot .gd-pill { background: var(--gd-soft); border-color: var(--gd-soft); }
.gd-row__actions { margin-left: auto; display: flex; gap: 6px; }
.gd-row__actions span { height: 30px; padding: 0 12px; border-radius: 6px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; }
.gd-row__actions .is-dark { background: var(--gw-ink); color: #fff; }
.gd-row__actions .is-light { border: 1px solid var(--gw-line-2); color: var(--gw-text); }

/* After 점수 6칸 */
.gd-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 4px 0 26px; }
.gd-slot { padding: 11px 8px; border: 1px solid var(--gw-line); border-radius: 10px; text-align: center; background: #fff; }
.gd-slot--before { background: var(--gw-ink); border-color: var(--gw-ink); }
.gd-slot b { display: block; font-size: 13.5px; color: var(--gw-text); }
.gd-slot--before b { color: #fff; }
.gd-slot span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--gw-text-3); font-variant-numeric: tabular-nums; }
.gd-slot--before span { color: var(--gw-neon); }

/* ---------- 부품: 요금 ---------- */
.gd-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; margin: 4px 0 26px; border: 1px solid var(--gw-line); border-radius: 14px; overflow: hidden; }
.gd-price__main { padding: 22px; background: var(--gw-ink); color: #fff; }
.gd-price__k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gw-neon); }
.gd-price__orig { margin-top: 12px; font-size: 14px; color: var(--gw-ink-text-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.gd-price__num { margin-top: 2px; font-size: 40px; line-height: 1.1; font-weight: 250; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.gd-article .gd-price__num b { font-weight: 700; color: #fff; }
.gd-price__num small { font-size: 15px; font-weight: 500; color: var(--gw-ink-text-2); letter-spacing: -0.01em; }
.gd-price__sale { display: inline-flex; margin-top: 10px; height: 24px; align-items: center; padding: 0 9px; border-radius: 999px; background: var(--gw-neon-dim); color: var(--gw-neon); font-size: 12px; font-weight: 700; }
.gd-price__fine { margin: 14px 0 0 !important; font-size: 13px !important; line-height: 1.6 !important; color: var(--gw-ink-text-2) !important; }
.gd-price__side { padding: 18px 20px; background: #fff; }
.gd-price__side h4 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gw-text-3); text-transform: uppercase; }
.gd-price__inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gd-price__inc li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 14px !important; line-height: 1.5 !important; margin: 0 !important; color: var(--gw-text) !important; }
.gd-price__inc li span { font-size: 11.5px; font-weight: 700; color: var(--gw-green); font-variant-numeric: tabular-nums; padding-top: 2px; }

/* ---------- 부품: 문제 해결(접기) ---------- */
.gd-faq { margin: 0 0 10px; border: 1px solid var(--gw-line); border-radius: 10px; background: #fff; transition: border-color .15s; }
.gd-faq[open] { border-color: var(--gw-line-2); }
.gd-faq > summary { list-style: none; position: relative; padding: 14px 48px 14px 16px; cursor: pointer; font-size: 15.5px; font-weight: 650; line-height: 1.5; color: var(--gw-text); letter-spacing: -0.02em; }
.gd-faq > summary::-webkit-details-marker { display: none; }
.gd-faq > summary::after { content: ""; position: absolute; right: 19px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--gw-text-3); border-bottom: 1.5px solid var(--gw-text-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.gd-faq[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.gd-faq > summary:hover { color: #000; }
.gd-faq__a { padding: 12px 16px 14px; border-top: 1px solid var(--gw-line); }
.gd-faq__a p, .gd-faq__a li { font-size: 15px !important; line-height: 1.72 !important; }
.gd-faq__a > *:last-child { margin-bottom: 0 !important; }
.gd-faq__a ul { margin-bottom: 0 !important; }

/* ---------- 이전·다음 ---------- */
.gd-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--gw-line); }
.gd-pager:empty { display: none; }
.gd-pager a { display: block; padding: 14px 16px; border: 1px solid var(--gw-line); border-radius: 12px; color: var(--gw-text); text-decoration: none; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.gd-pager a:hover { border-color: var(--gw-text); box-shadow: var(--gw-shadow-sm); }
.gd-pager small { display: block; font-size: 12px; color: var(--gw-text-3); margin-bottom: 3px; }
.gd-pager b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-pager .is-next { grid-column: 2; text-align: right; }

/* 맺음 CTA */
.gd-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 22px 24px; border-radius: 14px; background: var(--gw-ink); color: #fff; }
.gd-cta::before { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(30, 215, 96, .28), transparent 65%); }
.gd-cta__t { display: block; font-size: 19px; font-weight: 300; letter-spacing: -0.035em; }
.gd-cta__t b { font-weight: 700; color: var(--gw-neon); }
.gd-cta__d { display: block; margin-top: 4px; font-size: 13.5px; color: var(--gw-ink-text-2); }
.gd-cta__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 오른쪽 '이 페이지에서' ---------- */
.gd-toc { position: sticky; top: var(--gw-header-h); max-height: calc(100vh - var(--gw-header-h)); overflow-y: auto; padding: 40px 0 32px; scrollbar-width: thin; }
.gd-toc__title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gw-text-3); }
.gd-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--gw-line); }
.gd-toc a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; font-size: 13px; line-height: 1.45; color: var(--gw-text-3); text-decoration: none; transition: color .12s, border-color .12s; }
.gd-toc li.is-h3 a { padding-left: 26px; font-size: 12.5px; }
.gd-toc a:hover { color: var(--gw-text); }
.gd-toc a.is-active { color: var(--gw-green-deep); border-left-color: var(--gw-green); font-weight: 600; }
.gd-toc__top { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 12.5px; color: var(--gw-text-3); cursor: pointer; }
.gd-toc__top:hover { color: var(--gw-text); }

/* 본문 안 '이 페이지에서'(오른쪽 목차가 없는 폭에서만) */
.gd-intoc { display: none; margin: -8px 0 28px; border: 1px solid var(--gw-line); border-radius: 10px; background: var(--gd-soft); }
.gd-intoc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--gw-text); }
.gd-intoc > summary::-webkit-details-marker { display: none; }
.gd-intoc > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--gw-text-3); border-bottom: 1.5px solid var(--gw-text-3); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.gd-intoc[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.gd-intoc ul { list-style: none; margin: 0; padding: 4px 14px 12px; }
.gd-intoc li { margin: 0 !important; }
.gd-intoc a { display: block; padding: 5px 0; font-size: 14px; color: var(--gw-text-2); text-decoration: none; }
.gd-intoc li.is-h3 a { padding-left: 14px; font-size: 13.5px; }

/* 토스트 */
.gd-toast { position: fixed; left: 50%; bottom: 28px; z-index: 600; transform: translate(-50%, 16px); padding: 10px 16px; border-radius: 999px; background: var(--gw-ink); color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: var(--gw-shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.gd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.gd-backdrop { display: none; }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1279px) {
  .gd-shell { grid-template-columns: var(--gd-side-w) minmax(0, 1fr); }
  .gd-toc { display: none; }
  .gd-intoc { display: block; }
}

@media (max-width: 1099px) {
  .gd-subbar { display: block; }
  .gd-shell { display: block; }
  .gd-side {
    position: fixed; z-index: 470; top: var(--gw-header-h); left: 0; bottom: 0;
    width: min(340px, 88vw); max-height: none; height: auto;
    padding: 18px 18px 40px; background: #fff; border-right: 1px solid var(--gw-line); box-shadow: var(--gw-shadow-lg);
    transform: translateX(-104%); visibility: hidden; transition: transform .24s var(--gw-ease), visibility 0s linear .24s;
  }
  .gd-nav-open .gd-side { transform: none; visibility: visible; transition: transform .24s var(--gw-ease), visibility 0s; }
  .gd-side__close { display: inline-flex; }
  .gd-search__kbd { display: none; }
  .gd-backdrop { display: block; position: fixed; inset: var(--gw-header-h) 0 0 0; z-index: 460; background: rgba(8, 10, 9, .42); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .gd-nav-open .gd-backdrop { opacity: 1; pointer-events: auto; }
  html.gd-nav-open { overflow: hidden; }
  .gd-main { padding-top: 28px; }
  .gd-band__quick { justify-content: flex-start; max-width: none; }
  .gd-band__quick-label { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .gd-side, .gd-backdrop { transition: none !important; } }

@media (max-width: 720px) {
  .gd-band { padding: calc(var(--gw-header-h) + 26px) 0 26px; }
  .gd-band__desc { font-size: 15px; }
  .gd-band__quick-label { display: none; }
  .gd-qlink { height: 32px; padding: 0 12px; font-size: 13px; }
  .gd-lede { font-size: 16.5px; }
  .gd-article h2 { font-size: 21px; margin-top: 44px; }
  .gd-article p, .gd-article li, .gd-article dd { font-size: 15.5px; }
  .gd-cards, .gd-cards--3, .gd-modes, .gd-methods, .gd-anatomy, .gd-seven, .gd-price { grid-template-columns: 1fr; }
  .gd-flow { flex-direction: column; }
  .gd-flow__arrow { justify-content: center; transform: rotate(90deg); height: 14px; }
  .gd-cej { grid-template-columns: 1fr; }
  .gd-cej > div + div { border-left: 0; border-top: 1px solid var(--gw-line); }
  .gd-kwmock { grid-template-columns: 1fr; }
  .gd-row__main { grid-template-columns: 1fr 1fr; }
  .gd-row__main > div:first-child { grid-column: 1 / -1; }
  .gd-row__score { padding: 9px 10px; }
  .gd-row__vals { font-size: 12px; }
  .gd-row__vals b { font-size: 17px; }
  .gd-row__actions { margin-left: 0; width: 100%; }
  .gd-row__actions span { flex: 1 1 0; justify-content: center; }
  .gd-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-tree li { grid-template-columns: 1fr; padding-left: 34px; }
  .gd-pager { grid-template-columns: 1fr; }
  .gd-pager .is-next { grid-column: 1; }
  .gd-table { font-size: 13.5px; }
  .gd-table th, .gd-table td { padding: 10px 11px; }
  .gd-table thead th { white-space: normal; }
  .gd-table--limits td:first-child, .gd-table--limits td:nth-child(2) { width: auto; }
  .gd-copylink span { display: none; }
  .gd-cta { padding: 20px; }
  .gd-cta__actions, .gd-cta__actions .gw-btn { width: 100%; }
}
@media (max-width: 420px) {
  .gd-kwrow { grid-template-columns: 18px minmax(0, 1fr) 44px 28px 38px; gap: 6px; padding: 9px 10px; font-size: 12.5px; }
  .gd-scale__legend { font-size: 12px; }
}
