/* ==========================================================================
   savetax 해커톤 사이트 기본 스타일
   토큰(--st-*)과 컴포넌트(st-*)는 css/ds.css(디자인 시스템 v1)가 기준이다. 아래 :root는 옛 변수 이름(--text --line --brand …)을
   디자인 시스템 토큰으로 이어 주는 별칭이다(이 파일의 나머지 규칙이 읽는다). 색 이름 별칭(--lime·--cyan·--amber)은 지웠다.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: var(--st-paper);
  --bg-2: var(--st-paper-warm);
  --panel: var(--st-paper);
  --panel-2: var(--st-paper-sunk);
  --panel-3: var(--st-paper-sunk);
  --line: var(--st-line);
  /* 장식 선(구분선·표 머리). 뜻을 싣는 테두리(입력칸·보조 버튼·체크박스)는 var(--st-line-strong) */
  --line-2: rgba(25, 23, 20, 0.16);
  --text: var(--st-ink);
  --text-2: var(--st-ink-2);
  --text-3: var(--st-ink-3);
  --brand: var(--st-brand);
  --brand-soft: var(--st-brand-soft);
  --hot: var(--st-danger); /* 운영자 화면(admin.css)이 읽는다 */
  --ok: var(--st-ok);
  --radius: var(--st-radius-lg);
  --radius-md: var(--st-radius-md);
  --radius-sm: var(--st-radius-sm);
  --maxw: var(--st-container);
  --nav-h: var(--st-header-h);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: var(--st-font-sans);
  --mono: var(--st-font-mono);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #ffd9c7; color: #24140d; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; }
/* 키보드 포커스 고리: brand-ink 2px 윤곽선 + 2px 틈. 그림자(box-shadow)가 아니라 윤곽선(outline)이라 자기 그림자를 가진 버튼·탭·카드에서도 덮이지 않고, 윈도우 고대비 모드에서도 남는다.
   마우스 클릭에는 그리지 않는다. 프로그램이 옮기는 본문 초점(#app 등 tabindex=-1)에는 고리가 없다. */
:focus-visible { outline: 2px solid var(--st-focus-ring); outline-offset: 2px; }
[tabindex='-1']:focus-visible { outline: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.04em; line-height: 1.12; font-weight: 800; }
p { margin: 0; }
code, kbd, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
p code, li code, td code, h3 code, .callout code, .receipt code, .panel code { overflow-wrap: anywhere; }
.dim { color: var(--text-3); }
.muted { color: var(--text-2); }
.hot { color: var(--st-danger); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--st-brand); color: var(--st-on-brand); padding: 10px 16px; border-radius: var(--st-radius-pill); font-weight: 700;
}
.skip:focus { top: 12px; }

/* 레이아웃 ----------------------------------------------------------------- */
.wrap { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }
#app { min-height: calc(100vh - 200px); outline: none; }
.page { padding: calc(var(--nav-h) + 56px) 0 120px; animation: page-in 0.6s var(--ease-out) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stack { display: grid; gap: 16px; }
/* 그리드 자식의 auto min-width로 생기는 가로 넘침 방지(테이블·pre 등) */
:where(.grid-2,
.stack,
.builder,
.doc,
.doc-body) > * { min-width: 0; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spacer { flex: 1; }

/* 헤더(Header) — 고정 72px 띠. 유리 바탕은 ::before에 둔다(backdrop-filter를 .nav에 걸면 모바일 메뉴(fixed)의 기준 상자가 .nav로 바뀐다) ------ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--st-z-header); height: var(--nav-h); }
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--st-paper-glass); border-bottom: 1px solid var(--st-line);
  backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
}
.nav-inner { height: 100%; width: min(1320px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; gap: var(--st-space-8); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 800; letter-spacing: -0.04em; }
.logo-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--st-brand); color: #ffffff; font-size: 14px;
}
.logo-word { font-size: 19px; }
.menu { margin-inline: auto; display: flex; align-items: center; gap: var(--st-space-1); }
.menu a {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--st-radius-pill);
  font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--st-ink-2);
  transition: color 0.2s, background-color 0.2s;
}
.menu a:hover { color: var(--st-ink); background: var(--st-paper-sunk); }
.menu a.active { color: var(--st-ink); font-weight: 700; }
/* 지금 화면: 아래 6px 오렌지 둥근 사각형 점(꼬마의 모양) */
.menu a.active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: var(--st-radius-agent); background: var(--st-brand);
}
.nav-right { display: flex; align-items: center; gap: var(--st-space-2); }
.nav-handle { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .nav-handle { display: none; } #nav-auth:has(.st-person) { padding: 0 var(--st-space-2); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; }
}
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--st-line-strong); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded='true'] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 20px; transform: rotate(-45deg); }

/* 버튼(Button) — 둥근 알약 하나. 주 버튼은 brand 면 + 잉크 글자(흰 글자는 2.9:1이라 쓰지 않는다). 마크업 이름은 옛 .btn 계열 그대로 ------ */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--st-space-2);
  height: var(--st-control-h); padding: 0 var(--st-space-6); border-radius: var(--st-radius-pill); border: 1px solid var(--st-line-strong);
  background: var(--st-paper); color: var(--st-ink); font-weight: 700; font-size: 16px; line-height: 1; letter-spacing: -0.02em;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transform: translate(var(--bx), var(--by));
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s, border-color 0.15s, box-shadow 0.2s;
}
.btn:hover { border-color: var(--st-ink); background: var(--st-paper-warm); }
.btn:active { transform: translate(var(--bx), var(--by)) scale(0.96); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-lime { background: var(--st-brand); color: var(--st-on-brand); border-color: var(--st-brand); box-shadow: var(--st-shadow-agent); }
.btn-lime:hover { background: var(--st-brand-hover); border-color: var(--st-brand-hover); }
.btn-danger { color: var(--st-danger); border-color: var(--st-danger); }
.btn-danger:hover { background: var(--st-danger-soft); border-color: var(--st-danger); }
.btn-sm { height: 36px; padding: 0 var(--st-space-4); font-size: 14px; }
.btn-lg { height: 56px; padding: 0 var(--st-space-8); font-size: 17px; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--st-paper-sunk); border-color: transparent; }

/* 알약(Pill)·칩(Chips) — 상태는 색 + 글자. 점(.dot)은 상태칩에만 ------------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--st-radius-pill);
  border: 0; background: var(--st-paper-sunk); color: var(--st-ink-2);
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.lime { color: var(--st-brand-ink); background: var(--st-brand-soft); }
.pill.ok { color: var(--st-ok); background: var(--st-ok-soft); }
.pill.cyan { color: var(--st-info); background: var(--st-info-soft); }
.pill.hot { color: var(--st-danger); background: var(--st-danger-soft); }
.pill.amber { color: var(--st-warn); background: var(--st-warn-soft); }
.pill.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; }

/* 페이지 머리 (eyebrow → H1 → 설명) --------------------------------------- */
/* 머리말(eyebrow) — 한국어 한 줄 + 꼬마 모양 점. 모노·대문자·빛나는 줄은 쓰지 않는다 */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--st-brand-ink); font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: var(--st-radius-agent); background: var(--st-brand); flex: none; }
.page-head { margin-bottom: 44px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 44px); margin: 16px 0 16px; text-wrap: balance; }
.page-head p { font-size: 18px; color: var(--text-2); max-width: 720px; }

/* 패널·카드 -------------------------------------------------------------- */
.panel {
  position: relative; background: var(--st-paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--st-shadow-sm);
}
/* 패널 안 소제목의 기본 크기 — 인라인 font-size 대신 이 규칙을 쓴다(섹션 제목은 .board-head h2) */
.panel h2, .panel h3 { font-size: 18px; }

/* 진행 바 ---------------------------------------------------------------- */
.meter { height: 8px; border-radius: 999px; background: var(--st-paper-deep); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: inherit; width: 0; background: var(--st-brand); transition: width 1.2s var(--ease-out); }

/* 폼 -------------------------------------------------------------------- */
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--text-2); }
.input {
  width: 100%; height: 54px; padding: 0 18px; border-radius: var(--radius-md); border: 1px solid var(--st-line-strong);
  background: var(--st-paper); color: var(--text); font: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { outline: none; border-color: var(--st-brand-ink); box-shadow: var(--st-shadow-focus); }
.input.mono { font-family: var(--mono); }
.form-msg { font-size: 14px; min-height: 22px; }
.form-msg.err { color: var(--st-danger); }
.form-msg.ok { color: var(--st-ok); }

/* 표 -------------------------------------------------------------------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 13px; font-weight: 700; color: var(--text-3); padding: 0 16px 14px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.tok-c { color: var(--st-ink-3); } .tok-s { color: var(--st-brand-ink); } .tok-n { color: var(--st-info); } .tok-f { color: var(--st-warn); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--st-paper-sunk); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--st-paper-deep); }
.term-bar span { margin-left: 10px; font-size: 12px; color: var(--text-3); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes tick { 0% { transform: translateY(-40%); opacity: 0; filter: blur(4px); } 100% { transform: none; opacity: 1; filter: none; } }

/* 스크롤 등장 */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--rd, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }
.tl { position: relative; padding-right: 18px; }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); display: grid; place-items: center; position: relative; z-index: 1; transition: all 0.4s; }
.tl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.tl.done .tl-dot, .tl.now .tl-dot { border-color: var(--st-brand-ink); }
.tl.done .tl-dot::after, .tl.now .tl-dot::after { background: var(--st-brand); }
.tl.now .tl-dot { box-shadow: 0 0 0 6px rgba(243, 111, 61, 0.12); }
.tl-when { font-size: 13px; font-weight: 700; color: var(--st-brand-ink); margin-top: 18px; }
.tl h4 { font-size: 18px; margin-top: 6px; }
.tl p { font-size: 14px; color: var(--text-2); margin-top: 6px; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.feed-name { font-weight: 700; }
.feed-amt { font-variant-numeric: tabular-nums; color: var(--st-brand-ink); font-weight: 800; }
.feed-amt.neg { color: var(--st-danger); }
.feed-amt.cyan { color: var(--st-info); }
.feed-amt.dim { color: var(--text-3); font-weight: 600; }
.feed-amts { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.3; flex-shrink: 0; }
.feed-sub { font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.feed-hold { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.held-tag { font-size: 12px; font-weight: 700; color: var(--st-warn); background: var(--st-warn-soft); border-radius: 99px; padding: 3px 10px; white-space: nowrap; cursor: help; }
.ev-link { text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.ev-link:hover { border-color: var(--st-brand-ink); color: var(--st-brand-ink); }
.ev-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.ev-facts { font-size: 11.5px; color: var(--text-3); overflow-wrap: anywhere; }
.conn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.conn i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.conn.live i { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 1.6s infinite; color: var(--ok); }
.conn.poll i { background: var(--st-warn); }
.catalog-page { max-width: 1120px; }
.catalog-search-panel { padding: clamp(22px, 4vw, 38px); margin-top: 24px; }
.catalog-field small { color: var(--text-2); font-size: 17px; line-height: 1.65; }
.catalog-search-form { display: grid; gap: 20px; }
.catalog-field { display: grid; gap: 8px; min-width: 0; }
.catalog-field > span { font-size: 18px; font-weight: 750; }
.catalog-field input, .catalog-field select { width: 100%; min-height: 60px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--panel); color: var(--text); font: inherit; font-size: 18px; }
.catalog-field input:focus, .catalog-field select:focus { outline: 3px solid rgba(243,111,61,.24); border-color: var(--st-brand-ink); }
.catalog-keyword input { min-height: 70px; font-size: 21px; }
.catalog-advanced { border-top: 1px solid var(--line); padding-top: 16px; }
.catalog-advanced summary { width: fit-content; min-height: 54px; display: flex; align-items: center; cursor: pointer; color: var(--text); font-weight: 700; font-size: 18px; }
.catalog-advanced summary::marker { color: var(--st-brand-ink); }
.catalog-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 16px; }
.catalog-contract-filter { display: flex; align-items: flex-start; gap: 12px; min-height: 60px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--panel); cursor: pointer; }
.catalog-contract-filter input { width: 24px; height: 24px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--st-brand-ink); }
.catalog-contract-filter span { display: grid; gap: 5px; }
.catalog-contract-filter b { font-size: 17px; }
.catalog-contract-filter small { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.catalog-search-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.catalog-search-actions .btn { min-height: 58px; padding-inline: 22px; font-size: 17px; }
.catalog-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.catalog-examples > span { color: var(--text-2); font-size: 16px; font-weight: 650; margin-right: 4px; }
.catalog-example { min-height: 48px; padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); background: var(--panel); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.catalog-example:hover, .catalog-example:focus-visible { border-color: var(--st-brand-ink); outline: 3px solid rgba(243,111,61,.2); }
.catalog-category-discovery { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(243, 111, 61, .045); }
.catalog-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.catalog-category-heading h3 { margin: 0; font-size: 20px; }
.catalog-category-heading p { margin: 5px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.catalog-category-toggle { min-height: 46px; flex: 0 0 auto; font-size: 15px; }
.catalog-category-toggle[hidden] { display: none; }
.catalog-category-search { display: grid; gap: 6px; max-width: 620px; }
.catalog-category-search > span { font-size: 15px; font-weight: 700; }
.catalog-category-search input { width: 100%; min-height: 54px; padding: 12px 15px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; font-size: 17px; }
.catalog-category-search input:focus { outline: 3px solid rgba(243,111,61,.22); border-color: var(--st-brand-ink); }
.catalog-category-search input:disabled { opacity: .65; cursor: not-allowed; }
.catalog-category-search small { color: var(--text-2); font-size: 14px; }
.catalog-category-bubbles { display: flex; flex-direction: column; gap: 16px; }
.catalog-category-source { display: grid; gap: 8px; }
.catalog-category-source[hidden] { display: none; }
.catalog-category-source > h4 { margin: 0; color: var(--text-2); font-size: 14px; letter-spacing: .03em; }
.catalog-category-source-list { display: grid; gap: 7px; }
.catalog-category-node { overflow: hidden; border: 1px solid var(--line-2); border-radius: 11px; background: var(--panel); }
.catalog-category-node[hidden] { display: none; }
.catalog-category-node[open] { border-color: rgba(243,111,61,.45); }
.catalog-category-node > summary { min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 10px 15px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 750; }
.catalog-category-node > summary::-webkit-details-marker { display: none; }
.catalog-category-node > summary::before { content: '+'; width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--text-2); background: var(--line); font-size: 20px; line-height: 1; }
.catalog-category-node[open] > summary::before { content: '−'; color: var(--text); background: rgba(243,111,61,.14); }
.catalog-category-node > summary:hover, .catalog-category-node > summary:focus-visible { background: rgba(243,111,61,.05); outline: 0; }
.catalog-category-node-title { overflow-wrap: anywhere; }
.catalog-category-node > summary small { margin-left: auto; flex: 0 0 auto; color: var(--text-2); font-size: 13px; font-weight: 600; }
.catalog-category-node-body { display: grid; gap: 10px; padding: 0 15px 15px 55px; }
.catalog-category-tree-children { display: flex; flex-wrap: wrap; gap: 8px; padding: 11px 0 0 14px; border-left: 2px solid var(--line-2); }
.catalog-category-bubble { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); background: var(--panel); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.catalog-category-bubble[hidden] { display: none; }
.catalog-category-bubble small { color: var(--text-2); font-size: 12px; font-weight: 650; }
.catalog-category-bubble:hover, .catalog-category-bubble:focus-visible { border-color: var(--st-brand-ink); outline: 3px solid rgba(243,111,61,.2); }
.catalog-category-loading, .catalog-category-bubbles.is-empty { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.catalog-category-empty { margin: 0; color: var(--text-2); font-size: 15px; }
.catalog-category-empty[hidden] { display: none; }
.catalog-results-head { display: flex; align-items: end; gap: 16px; margin: 34px 0 16px; }
.catalog-results-head h2 { font-size: 24px; }
.catalog-results-head p { color: var(--text-2); margin-top: 5px; }
.catalog-results { display: grid; gap: 14px; }
.catalog-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.catalog-card-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.catalog-product-summary { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 16px; }
.catalog-image-frame { width: 180px; height: 150px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #555; font-size: 14px; text-align: center; }
.catalog-product-copy { min-width: 0; }
.catalog-id, .catalog-meta, .catalog-provenance { color: var(--text-3); font-size: 15px; }
.catalog-id, .catalog-card .mono { font-family: var(--mono); }
.catalog-price { color: var(--text-2); font-size: 16px; }
.catalog-price b { color: var(--text); font-size: 19px; margin-left: 5px; }
.catalog-card h3 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; margin: 12px 0; overflow-wrap: anywhere; }
.catalog-card h3 a:hover { color: var(--st-brand-ink); text-decoration: underline; text-underline-offset: 4px; }
.catalog-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.catalog-spec { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.7; white-space: pre-line; }
.catalog-image { display: block; width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.catalog-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.catalog-metrics > div { min-width: 180px; flex: 1; display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.catalog-metrics span { color: var(--text-2); font-size: 15px; font-weight: 700; }
.catalog-metrics b { font-size: 19px; overflow-wrap: anywhere; }
.catalog-metrics small { color: var(--text-3); font-size: 14px; line-height: 1.5; }
.catalog-no-metrics, .catalog-provenance { margin-top: 14px; line-height: 1.65; }
.catalog-no-metrics { color: var(--text-2); font-size: 16px; }
.catalog-provenance { font-size: 14px; }
.catalog-report-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.catalog-report-action p { color: var(--text-2); font-size: 16px; }
.catalog-report-action .btn { min-height: 56px; padding-inline: 20px; font-size: 17px; }
.catalog-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 24px 0; }
.catalog-pagination button { min-height: 56px; min-width: 130px; font-size: 17px; }
.catalog-pagination button:disabled { opacity: .5; cursor: not-allowed; }
.catalog-note { margin-top: 20px; font-size: 16px; line-height: 1.75; }
.catalog-api-note { color: var(--st-warn) !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--st-brand-ink); }
.fact { padding: 26px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fact-cell { padding: 18px 20px; }
.fact-cell + .fact-cell { border-left: 1px solid var(--line); }
.fact-cell .k { font-size: 13px; color: var(--text-3); font-weight: 600; }
.fact-cell .v { font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 800; margin-top: 4px; letter-spacing: -0.04em; }
.builder { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; margin-top: 24px; align-items: start; }
.builder-step { display: grid; gap: 16px; padding: 26px; }
.builder-step + .builder-step { margin-top: 16px; }
.step-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.step-tag b { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--st-paper-sunk); color: var(--text); }
.step-tag.done { color: var(--st-brand-ink); }
.step-tag.done b { background: var(--st-brand); color: var(--st-on-brand); }
.step-tag.done::after { content: '✓'; color: var(--st-brand-ink); font-weight: 800; }
.preview-card { position: sticky; top: calc(var(--nav-h) + 24px); padding: 28px; }
.preview-amt { font-weight: 800; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--st-brand-ink); margin: 8px 0 4px; word-break: break-all; }
.preview-eq { font-size: 14px; color: var(--text-2); line-height: 1.9; border-top: 1px dashed var(--line-2); margin-top: 18px; padding-top: 16px; }
.drop {
  position: relative; display: grid; place-items: center; gap: 8px; min-height: 150px; border-radius: 16px; border: 1.5px dashed var(--st-line-strong);
  background: var(--st-paper-warm); text-align: center; padding: 24px; cursor: pointer; transition: all 0.25s;
}
.drop:hover, .drop.drag { border-color: var(--st-brand-ink); background: rgba(243, 111, 61, 0.04); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 30px; height: 30px; color: var(--st-brand-ink); }
.drop small { color: var(--text-3); }
.upl-warn { font-size: 12.5px; line-height: 1.5; color: var(--st-warn); overflow-wrap: anywhere; }
.upl-steps { display: grid; gap: 8px; font-size: 14px; }
.upl-steps div { display: flex; align-items: center; gap: 10px; color: var(--text-3); }
.upl-steps div.on { color: var(--text); }
.upl-steps div.done { color: var(--st-brand-ink); }
.upl-steps div::before { content: '○'; width: 14px; }
.upl-steps div.on::before { content: '◌'; animation: spin 1s linear infinite; display: inline-block; }
.upl-steps div.done::before { content: '●'; }
@keyframes spin { to { transform: rotate(360deg); } }
.hash { font-family: var(--mono); font-size: 12px; color: var(--text-3); word-break: break-all; }
.ev-meta { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--st-paper-warm); display: grid; gap: 10px; }
.ev-meta .field { margin: 0; }
.ev-meta .field span { font-size: 12px; }
.lock-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--st-radius-md); color: var(--st-ink); font-size: 14px; }
.lock-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* 모달(Modal) — 막은 scrim, 판은 흰색 radius-xl + shadow-lg. 판 위쪽 모서리에 꼬마 한 마리(.modal > .st-agent)가 걸터앉는다 */
.modal-back { position: fixed; inset: 0; z-index: var(--st-z-modal); background: var(--st-scrim); display: grid; place-items: center; padding: var(--st-space-6); animation: fade 0.25s both; }
@keyframes fade { from { opacity: 0; } }
.modal, .modal.panel {
  position: relative; width: min(560px, 100%); padding: var(--st-space-8); text-align: center;
  background: var(--st-paper); border: 0; border-radius: var(--st-radius-xl); box-shadow: var(--st-shadow-lg);
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes pop { from { opacity: 0; transform: scale(0.9) translateY(20px); } }
.modal > .st-agent { position: absolute; top: calc(-1 * var(--st-agent-md) + 6px); left: var(--st-space-8); }
.modal h2 { font-size: 24px; margin: 12px 0 8px; }
.modal-doc, .modal.modal-doc { width: min(780px, 100%); max-height: calc(100vh - 60px); overflow-y: auto; text-align: left; }
/* 확인 대화상자(modal.js) — window.confirm 대신 */
.modal-confirm, .modal.modal-confirm { width: min(480px, 100%); text-align: left; }
.modal-confirm > .st-agent { margin-bottom: var(--st-space-4); }
.modal-confirm h2 { font-size: 22px; margin: 0 0 var(--st-space-2); }
/* 되돌릴 수 없는 행동의 주 버튼은 면을 채워 약한 행동처럼 보이지 않게 한다(위험색 + 흰 글자, 5:1 이상). */
.modal-confirm .btn-danger { background: var(--st-danger); border-color: var(--st-danger); color: #fff; }
.modal-confirm .btn-danger:hover { background: #a82e3a; border-color: #a82e3a; }
.modal-confirm p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; }
.modal-actions { justify-content: flex-end; margin-top: var(--st-space-6); }
@media (max-height: 520px) { .modal-confirm { max-height: calc(100vh - 48px); overflow-y: auto; } .modal-confirm > .st-agent { display: none; } }
.menu-guide { display: none; }
.menu a.menu-cta { display: none; }
.receipt { margin: 24px 0; text-align: left; font-size: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.receipt div:last-child { border-bottom: 0; }
.receipt span:first-child { color: var(--text-3); }
.receipt span:last-child { word-break: break-all; text-align: right; }
.confetti { position: fixed; inset: 0; z-index: 85; pointer-events: none; }

/* ==========================================================================
   문서형 페이지(규칙·데이터)
   ========================================================================== */
.doc { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 2px; }
.toc a { padding: 9px 14px; border-radius: 10px; font-size: 14px; color: var(--text-3); border-left: 2px solid transparent; transition: all 0.2s; }
.toc a:hover { color: var(--text); background: var(--st-paper-sunk); }
.toc a.on { color: var(--st-brand-ink); border-left-color: var(--st-brand-ink); background: rgba(243, 111, 61, 0.05); }
.doc-body { display: grid; gap: 64px; min-width: 0; }
.doc-sec { scroll-margin-top: calc(var(--nav-h) + 24px); min-width: 0; }
.doc-sec > * { min-width: 0; }
.doc-sec h2 { font-size: 30px; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; }
.doc-sec > p, .doc-sec li { color: var(--text-2); font-size: 16px; }
.doc-sec ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.doc-sec li { position: relative; padding-left: 22px; }
.doc-sec li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 2px; background: var(--st-brand); }
.doc-sec li b, .doc-sec p b { color: var(--text); }
.callout { margin-top: 18px; padding: 18px 20px; border-radius: var(--st-radius-md); background: var(--st-info-soft); color: var(--st-ink); font-size: 15px; }
.callout.warn, .lock-note { background: var(--st-warn-soft); }
.state-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; font-size: 13px; }
.state-flow span { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); }
.state-flow span.on { border-color: var(--st-brand-ink); color: var(--st-brand-ink); background: rgba(243, 111, 61, 0.06); }
.state-flow i { color: var(--text-3); font-style: normal; }
.ex-table {
  margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto;
  /* 가로로 더 밀 수 있다는 단서: 가장자리에 그림자(고정)를 깔고, 내용 끝에서는 같은 색 덮개(내용과 함께 움직임)가 그림자를 가린다. */
  background:
    linear-gradient(to right, var(--panel) 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, var(--panel) 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(31, 27, 24, 0.18), rgba(31, 27, 24, 0)) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(31, 27, 24, 0.18), rgba(31, 27, 24, 0)) right center / 14px 100% no-repeat scroll;
}
.ex-table .table { min-width: 620px; }
.ex-hint { display: none; font-size: 12.5px; margin-top: 12px; }
.ev-src { font-size: 12px; }
.endpoint { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.endpoint:last-child { border-bottom: 0; }
.method { font-family: var(--mono); font-size: 11px; font-weight: 800; padding: 4px 0; border-radius: 6px; text-align: center; letter-spacing: 0.04em; }
.method.get { color: var(--st-info); background: var(--st-info-soft); }
.method.post { color: var(--st-brand-ink); background: var(--st-brand-soft); }
.method.del { color: var(--st-danger); background: var(--st-danger-soft); }
.endpoint code { font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.endpoint p { grid-column: 2; font-size: 14px; color: var(--text-3); margin-top: 2px; overflow-wrap: anywhere; }
.token-box { display: grid; gap: 10px; padding: 18px; border-radius: 14px; border: 1px solid rgba(243, 111, 61, 0.35); background: rgba(243, 111, 61, 0.05); }
.token-box code { font-size: 14px; word-break: break-all; color: var(--st-brand-ink); }
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) 24px 80px; }
.auth-card { width: min(520px, 100%); padding: 0; overflow: hidden; }
.auth-body { padding: 36px; display: grid; gap: 20px; }
.auth-body h1 { font-size: 34px; }

/* 빈 화면(EmptyState)·로딩(Loading) — 꼬마 한 마리(빈 화면)·셋(로딩). 개발자 말투 없이 ---------------------- */
.empty { display: grid; justify-items: center; gap: var(--st-space-3); padding: var(--st-space-12) var(--st-space-6); text-align: center; color: var(--st-ink-2); }
.empty b { margin-top: var(--st-space-2); color: var(--st-ink); font-size: 20px; font-weight: 700; line-height: 1.32; letter-spacing: -0.025em; }
.empty > span, .empty > p { max-width: 360px; font-size: 15px; line-height: 1.6; color: var(--st-ink-2); }
.st-empty-title { margin: var(--st-space-2) 0 0; font-size: 20px; font-weight: 700; line-height: 1.32; letter-spacing: -0.025em; }
.st-empty-code { color: var(--st-ink-3); font-size: 13px; }
.loader { display: grid; place-items: center; align-content: center; min-height: 60vh; gap: var(--st-space-3); color: var(--st-ink-3); font-size: 13px; font-weight: 600; }
.loader .st-loading { height: 56px; }
/* 스피너는 운영자 화면에서만(사이트 화면은 꼬마 셋) */
.loader i { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--st-brand); animation: spin 0.9s linear infinite; }
.adm-mode .loader .st-loading { display: none; }
body:not(.adm-mode) .loader > i { display: none; }

/* 토스트(Toast) — 오른쪽 아래 잉크 띠. 성공은 눈웃음 꼬마, 실패는 danger 점 + '실패' */
.st-toasts { max-width: calc(100vw - 2 * var(--st-space-5)); }
.st-toast.is-out { animation: toast-out 0.3s ease both; }
@keyframes toast-out { to { transform: translateY(8px) scale(0.98); opacity: 0; } }
.toast-dot { width: 10px; height: 10px; margin: 0 var(--st-space-1) 0 var(--st-space-2); border-radius: 50%; background: var(--st-danger); flex: none; }
.adm-mode .st-toast .st-agent { display: none; }
.st-toast.info > span { margin-left: var(--st-space-1); }
.st-toast > span:last-child { min-width: 0; overflow-wrap: anywhere; }

/* 푸터(Footer) — 바탕·열·링크는 ds.css의 st-footer가 그린다. 여기는 사이트 마크업(.footer-*) 훅만 ----------------------- */
.footer-brand p { margin: var(--st-space-4) 0 0; max-width: 360px; font-size: 14px; line-height: 1.6; }
.footer-replay { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 0; border: 0; background: none; color: var(--st-ink-3); font: inherit; font-size: 13px; cursor: pointer; }
.footer-replay svg { width: 9px; height: 9px; }
.footer-replay:hover { color: var(--st-brand-ink); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--st-space-5); }
.st-footer .footer-legal a:not(.logo) { display: inline; padding: 0; font-size: 13px; }
.footer-meta { margin: 0; }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1080px) {
  .catalog-filters { grid-template-columns: 1fr; }
  .builder,
.doc { grid-template-columns: 1fr; }
  .preview-card,
.toc { position: static; }
  .toc { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { border-left: 0; border: 1px solid var(--line); }
  .tl-dot { position: absolute; left: -40px; top: 0; }
  .tl-when { margin-top: 0; }
}
@media (max-width: 880px) {
  .menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; padding: var(--st-space-4) var(--st-space-6) var(--st-space-6);
    background: var(--st-paper); margin: 0; overflow-y: auto;
    opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .menu.open { opacity: 1; pointer-events: auto; transform: none; }
  .menu a { height: auto; font-size: 26px; font-weight: 800; padding: 18px 8px; border-radius: 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
  .menu a.menu-cta { display: inline-flex; color: var(--st-on-brand); align-self: stretch; margin-top: auto; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; padding: 0 var(--st-space-6); border: 1px solid transparent; border-radius: var(--st-radius-pill); height: 52px; min-height: 52px; justify-content: center; align-items: center; }
  .menu .menu-cta + .menu-cta { margin-top: var(--st-space-3); }
  .menu-guide { display: block; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font: inherit; font-size: 26px; font-weight: 800; padding: 18px 8px; letter-spacing: -0.02em; color: var(--st-ink-2); text-align: left; cursor: pointer; }
  .menu a.active::after { display: none; }
  .menu a.active { color: var(--st-brand-ink); }
  .nav-right { margin-left: auto; }
  .burger { display: block; }
  #nav-live { display: none !important; }
}
@media (max-width: 720px) {
  .ex-hint { display: block; }
  .wrap { width: calc(100% - 32px); }
  .page { padding-top: calc(var(--nav-h) + 32px); }
  .grid-2 { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-cell + .fact-cell { border-left: 0; border-top: 1px solid var(--line); }
  .nav-inner { gap: var(--st-space-3); width: calc(100% - 32px); }
  .nav-right #nav-guide { display: none; }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 8px 12px; }
  .toc a.on { border-bottom-color: var(--st-brand-ink); }
  .doc-sec h2 { font-size: 24px; }
  .catalog-card { padding: 18px; }
  .catalog-product-summary { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .catalog-image-frame { width: 112px; height: 112px; }
  .catalog-results-head { align-items: start; flex-direction: column; }
  .catalog-metrics > div { min-width: 100%; flex: 1; }
  .catalog-card-top { align-items: flex-start; flex-direction: column; }
  .catalog-report-action { align-items: stretch; flex-direction: column; }
  .catalog-report-action .btn { width: 100%; justify-content: center; }
  .catalog-pagination { gap: 8px; }
  .catalog-pagination button { min-width: 0; flex: 1; padding-inline: 10px; }
  .catalog-examples { gap: 8px; }
  .catalog-examples > span { width: 100%; }
  .catalog-category-discovery { padding: 15px; }
  .catalog-category-heading { align-items: flex-start; flex-direction: column; }
  .catalog-category-toggle { width: 100%; }
  .catalog-category-search { max-width: none; }
  .catalog-category-bubbles { gap: 9px; }
  .catalog-category-node > summary { min-height: 58px; gap: 9px; padding: 10px 12px; font-size: 16px; }
  .catalog-category-node > summary small { font-size: 12px; }
  .catalog-category-node-body { padding: 0 12px 12px 48px; }
  .catalog-category-tree-children { padding-left: 10px; }
  .catalog-category-bubble { min-height: 48px; padding-inline: 13px; }
}

/* 터치 화면의 보조 컨트롤은 눌릴 만한 크기(WCAG 2.5.5 44px)를 갖는다. 보이는 크기는 padding·음수 margin으로 거의 그대로 둔다. */
@media (pointer: coarse), (max-width: 720px) {
  .footer-col { gap: 0; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-replay { min-height: 44px; margin-top: 2px; }
  .st-footer .footer-legal a:not(.logo) { display: inline-flex; align-items: center; min-height: 44px; }
  .toc a { display: inline-flex; align-items: center; min-height: 44px; }
  /* 글 속 링크·단독 링크: 보이는 모양은 그대로, 누르는 영역만 위아래로 넓힌다(인라인 요소의 padding은 줄 높이를 바꾸지 않는다) */
  .st-link, :where(p, li, td, dd, small) a:not(.st-btn):not(.st-pill):not(.st-tab) { padding-block: 13px; }
  summary { min-height: 44px; }
  a.st-pill { min-height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
  .crumbs { margin-bottom: 6px; }
  /* 남은 대상(web-touch-targets-under-44px): 작은 버튼·지침서 닫기·근거 자산 링크·원본 링크·로고·메뉴 열기 */
  .btn-sm { height: auto; min-height: 44px; }
  .pill.ev-link { height: auto; min-height: 44px; }
  .ev-src { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
  .ev-row { row-gap: 4px; }
  .logo { min-height: 44px; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:first-child { top: 16px; }
  .burger span:last-child { top: 25px; }
  .burger[aria-expanded='true'] span:first-child { top: 21px; }
  .burger[aria-expanded='true'] span:last-child { top: 21px; }
}

/* 모션 줄이기 설정을 존중한다 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
.upl-del { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text-3); font-size: 15px; line-height: 1; cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.upl-del:hover { color: var(--st-danger); border-color: var(--st-danger); }
.doc-lead { color: var(--text-2); font-size: 15.5px; line-height: 1.75; margin: -8px 0 22px; max-width: 660px; }
.doc-lead code { font-size: 12.5px; }
.crumbs a:hover,
.ev-link:hover { color: var(--st-brand-ink); }
