/* 경제 › 생활 금융 설명형 쪽(2026-11-28, _tools/fin2_build.py) — fin-sim.css 위에 얹음 */
.fin-wrap.fg-wide { max-width: 1080px; }
.fg-wide .fin-lead { font-size: 0.95rem; color: #4b5563; margin-top: 14px; }

.fg-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 6px; }
.fg-toc a { font-size: 0.8rem; font-weight: 700; color: #1a237e; background: #eef1fb; border-radius: 999px;
  padding: 5px 12px; text-decoration: none; }
.fg-toc a:hover { background: #dfe5f8; }

.fg-sec { margin-top: 34px; scroll-margin-top: 70px; }
.fg-sec h2 { font-size: 1.15rem; font-weight: 800; color: #1a237e; margin: 0 0 12px; padding-bottom: 8px;
  border-bottom: 2px solid #e3e7ee; }
.fg-sec p, .fg-sec li { font-size: 0.93rem; line-height: 1.85; color: #33405a; }
.fg-sec p { margin: 0 0 12px; }
.fg-sec ul, .fg-sec ol { margin: 0 0 12px; padding-left: 22px; }
.fg-sec strong { color: #16203a; }
.fg-sec a { color: #1e88e5; font-weight: 700; text-decoration: none; }
.fg-sec .fin-table-wrap { margin: 4px 0 14px; }
table.fg-tbl td { white-space: normal; text-align: left; line-height: 1.6; vertical-align: top; }
table.fg-tbl td:first-child { font-weight: 700; white-space: nowrap; }

.fg-steps { list-style: none; padding: 0 !important; margin: 4px 0 16px; counter-reset: st; display: grid; gap: 8px; }
.fg-steps li { counter-increment: st; display: grid; grid-template-columns: 30px 160px 1fr; gap: 10px; align-items: baseline;
  background: #f7f9fc; border: 1px solid #e6eaf1; border-radius: 10px; padding: 10px 14px; }
.fg-steps li::before { content: counter(st); font-weight: 800; color: #fff; background: #1a237e; border-radius: 50%;
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; }
.fg-steps b { color: #16203a; font-size: 0.92rem; }
.fg-steps span { font-size: 0.88rem; color: #46505f; line-height: 1.6; }
@media (max-width: 640px) {
  .fg-steps li { grid-template-columns: 30px 1fr; }
  .fg-steps span { grid-column: 2; }
}

.fg-box { border-radius: 12px; padding: 14px 18px; margin: 4px 0 14px; border: 1px solid; }
.fg-box ul { margin: 0; }
.fg-box li { font-size: 0.9rem; }
.fg-box-title { font-weight: 800; font-size: 0.92rem; margin-bottom: 6px; }
.fg-box.info { background: #eef4ff; border-color: #d5e0f5; }
.fg-box.info .fg-box-title { color: #1a237e; }
.fg-box.warn { background: #fdf6e9; border-color: #f0dcb4; }
.fg-box.warn .fg-box-title { color: #9a6408; }
.fg-box.ok { background: #e9f6ef; border-color: #bfe3cc; }
.fg-box.ok .fg-box-title { color: #1b7a4b; }
.fg-wide .fin-links { margin-top: 26px; line-height: 1.9; }
