/* ============================================================
   industry.css — 산업 공정 지도
   theme.css 의 토큰 위에서만 그립니다. 색은 여기서 새로 만들지 않고
   역할(설계·장비·소재…)에 토큰을 배정하는 정도만 합니다.
   ============================================================ */

:root {
  --role-design: #7f56d9;      --role-design-bg: #f4f0ff;
  --role-device: #191f28;      --role-device-bg: #eef0f3;
  --role-equipment: #1b64da;   --role-equipment-bg: #e8f3ff;
  --role-material: #048a5c;    --role-material-bg: #e8f8f1;
  --role-part: #b87503;        --role-part-bg: #fff6e5;
  --role-service: #4b7ba8;        --role-service-bg: #ebf2f8;
  --role-infra: #6b7684;       --role-infra-bg: #f2f4f6;
}

/* 목록(.shell)·상단바와 같은 폭에 맞춥니다 — 공정 레인은 그 안에서 옆으로 흐릅니다 */
.shell--wide { max-width: 1280px; margin: 0 auto; padding: 30px 22px 72px; }

/* ---------------------------------------------------------------- 2단: 산업 선택
   상단바의 '산업 분석'(1단)이 파란 알약이므로, 이 2단은 잉크색으로 눌러
   층이 다르다는 것을 색으로 먼저 알립니다. */

.ind-picker {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 2px 0 26px;
}
.ind-picker__k {
  font-size: 12px; font-weight: 700; color: var(--muted-2);
  letter-spacing: -.01em;
}
.ind-picker__list {
  display: flex; gap: 2px; flex-wrap: wrap;
  padding: 4px; background: var(--surface-3); border-radius: 999px;
}
.ind-pick {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 17px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -.025em;
  color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.ind-pick:hover { color: var(--ink-2); }
.ind-pick.is-on {
  background: var(--ink); color: #fff; font-weight: 700;
  box-shadow: var(--sh-pop);
}
.ind-pick__n {
  font-size: 11.5px; font-weight: 600; color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.ind-pick.is-on .ind-pick__n { color: rgba(255, 255, 255, .62); }
.ind-picker__hint { font-size: 12px; color: var(--muted-2); }
.ind-picker__hint code {
  font-size: 11.5px; background: var(--surface-3);
  padding: 1px 5px; border-radius: 5px;
}

/* ---------------------------------------------------------------- 머리말 */

.ind-mast { margin-bottom: 22px; }
.ind-mast__eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--muted-2); text-transform: uppercase; margin-bottom: 9px;
}
.ind-mast h1 { font-size: 30px; line-height: 1.28; letter-spacing: -.03em; }
.ind-mast__tag { color: var(--accent); font-weight: 600; }
.ind-mast p { max-width: 78ch; color: var(--ink-2); }

.ind-read {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm); padding: 13px 16px;
  font-size: 13.5px; color: var(--ink-2); margin-top: 16px;
}
.ind-read b { color: var(--ink); }
.ind-read__ico { color: var(--accent); font-weight: 700; flex: none; }

/* ---------------------------------------------------------------- KPI */

.ind-kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; margin: 20px 0 8px;
}
.ind-kpi { background: var(--surface); padding: 14px 16px; }
.ind-kpi__k { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: -.01em; }
.ind-kpi__v {
  font-size: 20px; font-weight: 750; letter-spacing: -.03em; margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.ind-kpi__d { font-size: 11.5px; color: var(--muted-2); margin-top: 1px; }
.ind-asof { font-size: 12px; line-height: 1.55; color: var(--muted-2); margin-bottom: 22px; }
.ind-asof b { font-weight: 700; color: var(--muted); }

/* ---------------------------------------------------------------- 수요 게이지

   글자는 SVG 밖에 둡니다. 플롯 SVG 만 preserveAspectRatio="none" 로 늘려
   너비를 재지 않고 반응형이 되게 하고, 축 라벨·범례·읽기 줄은 전부 HTML 입니다
   (SVG 안에 넣으면 늘어날 때 글자까지 찌그러집니다). */

.ind-dem {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 22px 18px; margin-bottom: 26px;
}
.ind-dem__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ind-dem__head h2 {
  font-size: 17px; font-weight: 750; letter-spacing: -.03em; margin: 0;
}
.ind-dem__scope { font-size: 12px; color: var(--muted-2); }
.ind-dem__what {
  font-size: 13.5px; line-height: 1.68; color: var(--ink-2); margin: 8px 0 0;
}
.ind-dem__what b { font-weight: 700; color: var(--ink); }
.ind-dem__na {
  margin-top: 12px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--muted); font-size: 13px;
}

.ind-dem__kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  overflow: hidden; margin: 16px 0 18px;
}
.ind-dem__kpi { background: var(--surface); padding: 12px 14px; }
.ind-dem__kk { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.ind-dem__kv {
  font-size: 19px; font-weight: 750; letter-spacing: -.03em; margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.ind-dem__kd { font-size: 11.5px; margin-top: 1px; font-variant-numeric: tabular-nums; }

.ind-dem__legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }
.ind-dem__lg {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--muted); font-weight: 600;
}
.ind-dem__lg::before { content: ""; width: 14px; height: 3px; border-radius: 2px; }
.ind-dem__lg--bar::before { height: 10px; width: 8px; border-radius: 2px; background: var(--accent-soft); }
.ind-dem__lg--ma::before { background: var(--ink); }
.ind-dem__lg--unit::before { background: var(--muted-2); height: 2px; }

/* 읽기 줄 — 48개 막대에 툴팁을 각각 다는 대신 가리키는 달을 여기 한 줄로 씁니다. */
.ind-dem__read {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  font-size: 12.5px; color: var(--muted); min-height: 20px; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.ind-dem__read b { font-size: 13.5px; color: var(--ink); font-weight: 750; }
.ind-dem__rv { font-size: 13.5px; color: var(--ink); font-weight: 700; }
.ind-dem__rk { font-weight: 600; }

.ind-dem__plot { position: relative; height: 172px; cursor: crosshair; }
/* 아래 패널은 축이 다릅니다(금액이 아니라 $/t). 붙여 두면 한 차트로 읽혀
   막대가 단가 위에 서 있는 것처럼 보이므로, 라벨 한 줄로 끊어 놓습니다. */
.ind-dem__plot--unit { height: 54px; }
.ind-dem__sub {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 11.5px; font-weight: 700; color: var(--muted);
}
.ind-dem__subnote { font-weight: 500; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.ind-dem__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ind-dem__ymax, .ind-dem__ymin {
  position: absolute; right: 2px; font-size: 10.5px; color: var(--muted-2);
  font-variant-numeric: tabular-nums; pointer-events: none; background: var(--surface);
  padding-left: 4px;
}
.ind-dem__ymax { top: -2px; }
.ind-dem__ymin { bottom: -2px; }
.ind-dem__hair {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--accent); opacity: .5; pointer-events: none;
}

.ind-dem__xaxis { position: relative; height: 18px; margin-top: 4px; }
.ind-dem__tick {
  position: absolute; top: 0; transform: translateX(-50%);
  font-size: 10.5px; color: var(--muted-2); font-variant-numeric: tabular-nums;
}

.ind-dem__notes {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.7; color: var(--ink-2);
}
.ind-dem__notes p { margin: 0 0 8px; }
.ind-dem__notes p:last-child { margin-bottom: 0; }
.ind-dem__notes b { font-weight: 700; color: var(--ink); }
.ind-dem__tag {
  display: inline-block; margin-right: 7px; padding: 1px 7px;
  border-radius: var(--r-xs); background: var(--surface-3);
  color: var(--muted); font-size: 11px; font-weight: 700; vertical-align: 1px;
}
.ind-dem__tag--f { background: var(--warn-soft); color: var(--warn); }

@media (max-width: 640px) {
  .ind-dem { padding: 16px 14px 14px; }
  .ind-dem__plot { height: 140px; }
}

/* ---------------------------------------------------------------- 도구 */

.ind-tools {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: center;
  padding: 12px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  position: sticky; top: 62px; z-index: 20;
  box-shadow: var(--sh-1); margin-bottom: 26px;
}
.ind-tools__spacer { flex: 1; }

.ind-search { position: relative; flex: 0 1 240px; }
.ind-search input {
  width: 100%; height: 34px; padding: 0 12px 0 30px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface-2); font: inherit; font-size: 13px; color: var(--ink);
  outline: none; transition: border-color .15s, background .15s;
}
.ind-search input:focus { border-color: var(--accent); background: var(--surface); }
.ind-search__ico {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); font-size: 14px; pointer-events: none;
}

.ind-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.ind-chip {
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink-2); font: inherit; font-size: 12.5px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .15s, background .15s, color .15s;
}
.ind-chip:hover { border-color: var(--line-2); background: var(--surface-2); }
.ind-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
.ind-chip__n { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.ind-chip.is-on { border-color: transparent; color: #fff; }
.ind-chip.is-on .ind-chip__n { color: rgba(255, 255, 255, .78); }
.ind-chip.is-on[data-role="all"] { background: var(--navy); }
.ind-chip.is-on[data-role="design"] { background: var(--role-design); }
.ind-chip.is-on[data-role="device"] { background: var(--role-device); }
.ind-chip.is-on[data-role="equipment"] { background: var(--role-equipment); }
.ind-chip.is-on[data-role="material"] { background: var(--role-material); }
.ind-chip.is-on[data-role="part"] { background: var(--role-part); }
.ind-chip.is-on[data-role="service"] { background: var(--role-service); }
.ind-chip.is-on[data-role="infra"] { background: var(--role-infra); }

.ind-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line-2); background: var(--surface);
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.ind-toggle:hover { background: var(--surface-2); }
.ind-toggle.is-on { background: var(--accent-soft); border-color: var(--info-line); color: var(--accent); }
.ind-hint { font-size: 12px; color: var(--muted-2); }

/* ---------------------------------------------------------------- 밴드 */

.ind-band { margin-bottom: 30px; }
.ind-band__head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding-bottom: 9px; margin-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.ind-band__label {
  font-size: 17px; font-weight: 750; letter-spacing: -.025em; color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
}
.ind-band__label::before {
  content: ""; width: 4px; height: 17px; border-radius: 2px;
  background: var(--accent); display: inline-block;
}
.ind-band__sub { font-size: 13.5px; color: var(--muted); }
.ind-band__spacer { flex: 1; }
.ind-band__nav { display: flex; gap: 4px; }
.ind-band__arrow {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink-2); font-size: 13px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s, opacity .15s;
}
.ind-band__arrow:hover:not(:disabled) { background: var(--surface-2); border-color: var(--navy); color: var(--navy); }
.ind-band__arrow:disabled { opacity: .3; cursor: default; }
.ind-band__note {
  font-size: 12.5px; color: var(--muted); margin: 0 0 12px;
  max-width: 92ch;
}

/* 레인 — 공정이 왼쪽에서 오른쪽으로 흐릅니다 */
.ind-railwrap { position: relative; }
.ind-railwrap::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 12px; width: 46px;
  background: linear-gradient(to right, rgba(241, 244, 248, 0), var(--bg));
  pointer-events: none; opacity: 0; transition: opacity .2s;
}
.ind-railwrap.is-scrollable::after { opacity: 1; }
.ind-rail {
  display: flex; align-items: flex-start; gap: 0;
  overflow-x: auto; overflow-y: hidden;
  padding-bottom: 12px; scroll-behavior: smooth;
  scrollbar-width: thin;
}
.ind-rail::-webkit-scrollbar { height: 8px; }
.ind-rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.ind-rail::-webkit-scrollbar-track { background: transparent; }

/* 공정 사이의 흐름 표시 — 카드 머리(공정 번호) 높이에 맞춰 답니다 */
.ind-arrow {
  flex: none; align-self: flex-start; width: 28px;
  display: flex; justify-content: center; padding-top: 21px;
  color: var(--muted-2); font-size: 15px; user-select: none;
}

/* ---------------------------------------------------------------- 공정 카드 */

.ind-step {
  flex: none; width: 272px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-1);
  display: flex; flex-direction: column;
  transition: opacity .2s, box-shadow .2s;
}
.ind-step.is-dim { opacity: .38; }
.ind-step__head {
  padding: 13px 15px 11px; border-bottom: 1px solid var(--line);
  background: var(--surface-2); border-radius: var(--r-md) var(--r-md) 0 0;
}
.ind-step__no {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px;
  background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
  margin-right: 7px;
}
.ind-step__name { font-size: 15px; font-weight: 720; letter-spacing: -.025em; }
.ind-step__en { font-size: 11px; color: var(--muted-2); font-weight: 600; letter-spacing: .02em; }
.ind-step__what {
  font-size: 12.5px; line-height: 1.6; color: var(--ink-2);
  margin: 8px 0 0;
}
.ind-step__why {
  font-size: 12.5px; line-height: 1.62; color: var(--ink-2);
  background: var(--accent-soft); border-radius: var(--r-xs);
  padding: 9px 11px; margin: 9px 0 0;
}
.ind-step__why b { color: var(--navy); }
.ind-step__why[hidden] { display: none; }
.ind-step__more {
  margin-top: 8px; border: 0; background: none; padding: 0;
  font: inherit; font-size: 11.5px; font-weight: 700; color: var(--accent);
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.ind-step__more:hover { text-decoration: underline; }

.ind-step__stocks { padding: 5px 0; flex: 1; }
.ind-step__empty { padding: 14px 15px; font-size: 12.5px; color: var(--muted-2); }

/* 종목이 많은 칸은 접어 둡니다 — 옆 칸과 높이 차가 너무 벌어지면 지도가 안 읽힙니다 */
.ind-step__stocks.is-collapsed .ind-stock.is-extra { display: none; }
.ind-step__expand {
  display: block; width: 100%; text-align: left;
  padding: 7px 15px; border: 0; border-top: 1px solid var(--surface-3);
  background: none; font: inherit; font-size: 11.5px; font-weight: 700;
  color: var(--accent); cursor: pointer;
}
.ind-step__expand:hover { background: var(--surface-2); }

.ind-step__foot {
  border-top: 1px dashed var(--line);
  padding: 10px 15px 12px;
}
.ind-step__foreignk { font-size: 10.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .06em; }
.ind-step__foreign { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.ind-foreign {
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: var(--surface-3); border-radius: 4px; padding: 2px 7px;
}
.ind-step__foreignnote {
  font-size: 11.5px; line-height: 1.55; color: var(--muted); margin: 7px 0 0;
}

/* ---------------------------------------------------------------- 종목 */

.ind-stock {
  display: block; padding: 8px 15px; text-decoration: none; color: inherit;
  border-left: 3px solid transparent;
  transition: background .13s, border-color .13s, opacity .15s;
}
.ind-stock + .ind-stock { border-top: 1px solid var(--surface-3); }
a.ind-stock:hover { background: var(--surface-2); border-left-color: var(--accent); }
.ind-stock.is-dim { opacity: .22; }
.ind-stock.is-hit { background: var(--warn-soft); border-left-color: var(--warn); }

.ind-stock__top { display: flex; align-items: center; gap: 6px; }
.ind-stock__role {
  flex: none; font-size: 10px; font-weight: 700; letter-spacing: -.01em;
  padding: 1.5px 5px; border-radius: 4px;
}
.ind-stock__name {
  font-size: 13px; font-weight: 680; letter-spacing: -.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ind-stock__doc {
  flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.ind-stock__spacer { flex: 1; }

/* 밸류 — 왼쪽 PER · 오른쪽 PBR. 방향색(--up/--down)은 쓰지 않습니다.
   이 탭은 종목을 고르지 않으므로 '싸다/비싸다'를 색으로 판정하면 안 됩니다. */
.ind-stock__val {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; letter-spacing: -.01em; cursor: help;
}
.ind-stock__num {
  font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
/* 적자·미제공은 숫자가 아니므로 굵기를 빼서 뒤로 물립니다 */
.ind-stock__num.is-na { font-weight: 500; color: var(--muted-2); }
/* KRX 결산 PER 이 없어 DART 최근 4개 분기로 되살린 값이라는 표식.
   출처가 다른 숫자를 같은 자리에 놓으므로 작게라도 구분을 남깁니다.
   방향색(--up/--down)은 쓰지 않습니다 — 이 탭은 종목을 고르지 않습니다. */
.ind-stock__ttm {
  margin-left: 1px;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  vertical-align: super;
  line-height: 0;
}
.ind-stock__sep { color: var(--muted-2); }
.ind-stock__i {
  flex: none; width: 12px; height: 12px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--muted-2);
  font-size: 8.5px; font-weight: 700; font-style: italic; line-height: 1;
  transition: color .13s, border-color .13s;
}
.ind-stock__val:hover .ind-stock__i { color: var(--accent); border-color: var(--accent); }

.ind-stock__sub {
  display: flex; align-items: baseline; gap: 6px; margin-top: 2px;
  font-size: 11.5px; color: var(--muted);
}
.ind-stock__cap { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); flex: none; }
.ind-stock__note {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ind-stock__also {
  display: block; font-size: 10.5px; color: var(--accent); margin-top: 2px;
}

.role--design { color: var(--role-design); background: var(--role-design-bg); }
.role--device { color: var(--role-device); background: var(--role-device-bg); }
.role--equipment { color: var(--role-equipment); background: var(--role-equipment-bg); }
.role--material { color: var(--role-material); background: var(--role-material-bg); }
.role--part { color: var(--role-part); background: var(--role-part-bg); }
.role--service { color: var(--role-service); background: var(--role-service-bg); }
.role--infra { color: var(--role-infra); background: var(--role-infra-bg); }

/* ---------------------------------------------------------------- 범례·꼬리말 */

.ind-legend {
  display: flex; flex-wrap: wrap; gap: 16px 22px;
  padding: 15px 17px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  margin-top: 6px;
}
.ind-legend__i { font-size: 12.5px; color: var(--muted); max-width: 34ch; }
.ind-legend__k {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  padding: 1.5px 5px; border-radius: 4px; margin-right: 5px;
}

.ind-foot { margin-top: 26px; font-size: 12.5px; color: var(--muted); line-height: 1.72; }
.ind-foot p { margin: 9px 0; }
.ind-foot b { color: var(--ink-2); }
.ind-foot a { color: var(--accent); }

.ind-empty {
  padding: 40px 20px; text-align: center; color: var(--muted);
  background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-md);
}

/* ---------------------------------------------------------------- 밸류 툴팁 */

/* body 에 붙습니다 — 레일이 overflow:auto 라 카드 안에 두면 잘립니다. */
.ind-tip {
  position: absolute; z-index: 60; min-width: 172px;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-pop);
  pointer-events: none; opacity: 0; transform: translateY(-3px);
  transition: opacity .13s, transform .13s;
}
.ind-tip.is-on { opacity: 1; transform: none; }
.ind-tip[hidden] { display: none; }
.ind-tip__row { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; }
.ind-tip__row + .ind-tip__row { margin-top: 4px; }
.ind-tip__k {
  flex: none; width: 28px; font-size: 11px; font-weight: 700; color: var(--muted);
}
.ind-tip__v { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ind-tip__v.is-na { font-weight: 600; color: var(--muted); }
.ind-tip__note {
  margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--surface-3);
  font-size: 10.5px; line-height: 1.45; color: var(--muted-2);
}

/* ---------------------------------------------------------------- 반응형 */

@media (max-width: 900px) {
  .ind-mast h1 { font-size: 25px; }
  .ind-tools { position: static; }
}

/* 좁은 화면에서는 옆으로 흐르는 대신 위에서 아래로 흐릅니다 */
@media (max-width: 640px) {
  .shell--wide { padding: 22px 16px 56px; }
  .ind-rail { flex-direction: column; overflow-x: visible; gap: 0; }
  .ind-step { width: 100%; }
  .ind-arrow { transform: rotate(90deg); align-self: center; padding: 4px 0; }
  .ind-railwrap::after { display: none; }
  .ind-band__nav { display: none; }
}
