/* 전문가 화면 · 은퇴 대차대조표(lab/balance/) 전용 — 2026-10-08. 공용 부품(배지·칩·ⓘ·결과 카드)은 assets/parts.css, 셸은 lab.css.
   기금형(fund.css)과 같은 칩 줄·표·주의 상자를 쓰고, 여기에는 이 탭에만 쓰는 지도·개요 카드·읽는 법 배치만 둔다. 색은 lab.css 토큰(--lx-*)을 쓴다. */
.fx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.fx-tabs button { background: #fff; border: 0.8px solid var(--lx-line, #d9dde7); border-radius: 8px; padding: 5px 12px; font: inherit; font-size: 14px; line-height: 1.6; color: var(--lx-text, #12161f); cursor: pointer; }
.fx-tabs button .n { color: var(--lx-muted, #5b6475); font-size: 13px; }
.fx-tabs button:hover { border-color: var(--lx-aline, #a9d3cf); }
.fx-tabs button[aria-pressed="true"] { background: var(--lx-soft, #e3f2f1); border-color: var(--lx-aline, #a9d3cf); color: var(--lx-accent, #0e6b6b); font-weight: 700; }
.fx-tabs button[aria-pressed="true"] .n { color: inherit; }
@media (max-width: 640px) {
  .fx-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .fx-tabs button { flex: none; }
}
.fx-tabhd h2 { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 4px 0 6px; }
.fx-sec h2 { font-size: 19px; }
.fx-sec h2 small.meta { font-size: 13px; font-weight: 400; color: var(--lx-muted, #5b6475); }
.fx-notice p, .fx-rules p { margin: 0; }
.fx-rules ul { margin: 6px 0 0; padding-left: 18px; }
.fx-rules li { margin: 2px 0; }
table.t td.fx-l, table.t th.fx-l { text-align: left; white-space: normal; }
table.t.fx-text td { min-width: 9em; }
table.t .nchip { white-space: normal; }
.bl-cap { caption-side: top; text-align: left; font-weight: 700; font-size: 14px; padding: 4px 0 6px; }
.fx-bar { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 8px; }
.bl-star { display: inline-block; font-size: 12px; font-weight: 700; color: var(--lx-accent-ink, #0a5152); border: 1px solid var(--lx-aline, #a9d3cf); border-radius: 6px; padding: 0 6px; margin-left: 4px; }
.bl-lead { font-size: 15px; line-height: 1.7; margin: 8px 0 12px; }
.bl-sum { margin: 8px 0 4px; font-size: 15px; }
.bl-sum small { color: var(--lx-muted, #5b6475); }
.bl-lim { margin: 10px 0 0; padding-left: 18px; font-size: 14px; }
.bl-lim li { margin: 3px 0; }

/* 개요 카드 */
.bl-cards { display: grid; gap: 10px; margin: 12px 0; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bl-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bl-cards { grid-template-columns: repeat(4, 1fr); } }
.bl-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; width: 100%; background: #fff; border: 0.8px solid var(--lx-line, #d9dde7); border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--lx-text, #12161f); cursor: pointer; }
.bl-card:hover { border-color: var(--lx-aline, #a9d3cf); }
.bl-card b { display: block; font-size: 15px; margin-bottom: 4px; }
.bl-card span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--lx-muted, #5b6475); }
.bl-card em { display: block; font-style: normal; font-size: 12.5px; color: var(--lx-muted, #5b6475); margin-top: 6px; }

/* 지도 */
.bl-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 8px; font-size: 13px; color: var(--lx-muted, #5b6475); }
.bl-key { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.bl-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid transparent; }
.bl-key i.p, .bl-c.p { background: #2f6fd6; }
.bl-key i.n, .bl-c.n { background: #cfd5df; }
.bl-key i.b, .bl-c.b { background: #e4862c; }
.bl-key i.x, .bl-c.x { background: #fff; border: 1px dashed #c4cad6; }
.bl-key i.rep { background: #fff; border: 2px solid #12161f; }
.bl-mapbox { overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.bl-map { border-collapse: separate; border-spacing: 2px; font-size: 11.5px; }
.bl-map th { font-weight: 600; color: var(--lx-muted, #5b6475); text-align: center; padding: 1px 2px; line-height: 1.25; }
.bl-map th.bl-rl { text-align: left; white-space: nowrap; padding-right: 8px; font-size: 12px; position: sticky; left: 0; background: var(--lx-bg, #fff); }
.bl-map th.bl-ch span { display: inline-block; font-size: 11px; line-height: 1.2; }
.bl-map td.bl-c { width: 26px; height: 22px; border-radius: 4px; padding: 0; cursor: pointer; }
.bl-map[data-kind="1"] td.bl-c { width: 11px; height: 14px; border-radius: 2px; }
.bl-map[data-kind="1"] th { font-size: 11px; }
.bl-map td.bl-c.rep { outline: 2px solid #12161f; outline-offset: -2px; }
.bl-map td.bl-c:hover { filter: brightness(.92); }
.bl-read { min-height: 1.6em; margin: 6px 0 4px; font-size: 13.5px; color: var(--lx-text, #12161f); }

/* 읽는 법 네 칸 */
.bl-how h2 { font-size: 19px; }
.bl-howg { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bl-howg { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bl-howg { grid-template-columns: repeat(4, 1fr); } }
.bl-howc { background: #fff; border: 0.8px solid var(--lx-line, #d9dde7); border-radius: 10px; padding: 10px 14px; }
.bl-howc h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.bl-howc p { margin: 0; font-size: 14px; line-height: 1.6; }

.bl-foot { margin: 6px 0 0; font-size: 13px; color: var(--lx-muted, #5b6475); }
.bl-capt { margin: 6px 0 4px; font-size: 13.5px; color: var(--lx-muted, #5b6475); }
.bl-map[data-kind="1"] th { white-space: nowrap; font-size: 10px; padding: 0 1px; }
.bl-map[data-kind="1"] th.bl-rl { font-size: 11px; }
