:root { color-scheme: light; --ink: #25282b; --muted: #616a70; --line: #dce1e4; --orange: #ffab22; --blue: #42647c; --green: #456a5c; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif; line-height: 1.65; letter-spacing: 0; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; letter-spacing: 0; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 10px 18px; color: #fff; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #eceff1; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 1 306px; }
.brand img { width: 306px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; flex-shrink: 0; }
.nav a { font-size: 14px; font-weight: 700; padding-block: 12px; }
.nav a:hover { color: #8a5100; text-decoration: none; }
.nav [aria-current] { border-bottom: 2px solid var(--orange); padding-block: 5px; }
.page-heading { padding-block: 48px 30px; }
.eyebrow { font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 9px; }
h1 { font-size: 36px; line-height: 1.4; }
.scope { margin-top: 10px; font-size: 14px; color: var(--muted); }
.scope span { color: #a4abb0; margin-inline: 8px; }
h2 { font-size: 20px; line-height: 1.5; }
.section-bar { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.date-form { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.date-form label { color: var(--muted); }
input[type="date"] { height: 40px; width: 158px; min-width: 0; padding: 6px 10px; border: 1px solid #b8c2c8; border-radius: 4px; color: var(--ink); background: #fff; }
button { min-height: 40px; padding: 6px 18px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 600; }
button:hover { background: #41464b; }
button:disabled { opacity: .55; cursor: wait; }
.metadata { display: grid; grid-template-columns: 1fr 1.5fr 1.2fr .8fr; gap: 20px; padding-block: 22px; margin-top: 18px; border-top: 1px solid var(--line); }
.metadata > div { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.meta-label { color: var(--muted); font-size: 11px; }
.metadata strong { font-size: 15px; }
.notice { padding: 15px 18px; background: #fff8e9; border-left: 3px solid var(--orange); font-size: 13px; }
.notice strong { font-size: 14px; }
.notice p { color: #615743; margin-top: 3px; }
.notice.error { background: #fff1f0; border-color: #b7463e; }
.notice.error p { color: #7d3730; }
.notice.ready { background: #f0f6f2; border-color: var(--green); }
.notice.ready p { color: var(--green); }
.table-caption { display: flex; justify-content: space-between; padding-block: 20px 10px; color: var(--muted); font-size: 12px; }
.table-scroll { overflow-x: auto; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
table { width: 100%; min-width: 900px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; font-size: 14px; }
th, td { padding: 18px 10px; border-bottom: 1px solid #e5e9ec; vertical-align: middle; text-align: right; }
thead th { font-size: 12px; font-weight: 600; background: #f3f5f6; color: #4b565f; padding-block: 14px; }
th:first-child { width: 130px; text-align: left; padding-left: 20px; position: sticky; left: 0; z-index: 2; border-right: 1px solid #e5e9ec; }
thead th:first-child { z-index: 3; }
tbody th { background: #fff; font-size: 14px; }
tbody td { height: 90px; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover > * { background: #f8fafb; }
td:last-child, .dates-column { width: 210px; text-align: left; padding-left: 22px; }
.rate-value { display: block; font-size: 19px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cell-status { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.cell-status.stale { color: #8a5100; }
.date-list { font-size: 12px; color: var(--muted); }
.date-list time { display: block; white-space: nowrap; }
.bank-provider-count { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.source-line { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: 12px; padding-block: 14px; color: var(--muted); }
.source-line a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.disclaimer { font-size: 12px; color: var(--muted); max-width: 970px; line-height: 1.8; }
.methodology { padding-block: 48px 0; }
.section-note { color: var(--muted); font-size: 12px; }
.method-intro { font-size: 13px; color: var(--muted); margin-block: 12px 24px; }
.bank-details { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 18px 8px; cursor: pointer; font-size: 14px; }
.summary-name { display: inline-block; min-width: 105px; font-weight: 700; }
.summary-rule { color: var(--muted); font-size: 13px; }
.detail-content { padding: 0 26px 24px; }
.detail-content dl { margin: 0; display: grid; grid-template-columns: 115px 1fr; gap: 12px 24px; font-size: 13px; }
dt { color: var(--muted); }
dd { margin: 0; }
.detail-content a { color: var(--blue); text-decoration: underline; }
.missing-list { margin: 0; padding-left: 18px; }
.data-notes { padding-block: 42px 54px; }
.data-notes ul { padding-left: 18px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.data-notes li + li { margin-top: 8px; }
.footer { border-top: 1px solid var(--line); background: #f7f8f9; padding-block: 30px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 12px; }
address { margin-top: 18px; color: var(--muted); font-size: 13px; font-style: normal; }
.copyright { color: var(--muted); font-size: 11px; margin-top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scroll-padding-top: 110px; }
[hidden] { display: none !important; }
.section-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; padding-bottom: 14px; margin-bottom: 32px; }
.section-tabs a:hover { color: #8a5100; }
.section-description { color: var(--muted); font-size: 13px; margin-top: 10px; }
.indicators-section { padding-bottom: 48px; }
.data-status { color: var(--muted); font-size: 12px; margin-block: 16px 12px; min-height: 20px; }
.error-text { color: #a23b35; }
.indicators-table { min-width: 1020px; }
.indicators-table th:first-child { width: 250px; }
.indicators-table th:nth-child(4) { width: 155px; }
.indicators-table th:last-child { width: 180px; text-align: left; }
.indicators-table td { height: 68px; font-size: 13px; padding-block: 10px; }
.indicators-table td:last-child { width: 180px; font-size: 11px; }
.indicators-table th a { display: block; font-size: 11px; color: var(--blue); font-weight: 400; margin-top: 3px; }
.indicators-table .indicator-value { font-size: 17px; font-weight: 600; }
.indicators-section .disclaimer { margin-top: 12px; }
.trend-section { padding-block: 0 54px; }
.trend-controls { display: flex; align-items: flex-start; gap: 28px; margin-top: 24px; }
.group-label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--muted); flex: 0 0 175px; }
select { font: inherit; letter-spacing: 0; color: var(--ink); background: #fff; height: 40px; border: 1px solid #b8c2c8; border-radius: 4px; padding: 6px 10px; min-width: 0; }
select:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.series-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; flex: 1; }
.series-fieldset legend { padding: 0; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.series-options { display: flex; flex-wrap: wrap; gap: 8px 20px; min-height: 40px; max-height: 185px; overflow-y: auto; padding: 8px 0; }
.series-options label { display: flex; align-items: center; gap: 6px; font-size: 12px; min-height: 24px; cursor: pointer; }
.series-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.series-options input:disabled ~ span { opacity: .5; }
.series-swatch { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 1px; }
.trend-range-form { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-block: 20px 8px; }
.range-presets, .view-tabs { display: flex; align-items: center; gap: 0; }
.range-presets button, .view-tabs button { min-height: 36px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: #f3f5f6; color: var(--muted); font-size: 12px; font-weight: 500; padding: 6px 13px; }
.range-presets button:hover, .view-tabs button:hover { background: #e8edef; }
.range-presets [aria-pressed="true"], .view-tabs [aria-selected="true"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--orange); background: #f3f5f6; }
.range-dates { display: flex; gap: 8px; align-items: flex-end; }
.range-dates label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: var(--muted); }
.range-dates input { width: 150px; font-size: 13px; }
.range-dates > span { align-self: flex-end; margin-bottom: 9px; color: var(--muted); }
.range-dates button { font-size: 13px; }
.trend-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 11px; color: var(--muted); margin-block: 12px; }
.chart-frame { position: relative; height: 360px; width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px 8px; }
.chart-empty { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; text-align: center; padding: 28px; color: var(--muted); background: #f8fafb; font-size: 14px; }
.history-table { min-width: 1100px; font-size: 12px; }
.history-table td { height: auto; padding-block: 12px; }
.history-table th:first-child { width: 125px; }
.history-table th:nth-child(2) { width: 205px; }
.history-table td:nth-child(2) { text-align: left; }
.history-table td:first-child { white-space: nowrap; text-align: left; }
.history-table a { color: var(--blue); text-decoration: underline; }
.more-button { display: block; margin: 16px auto; color: var(--ink); background: #fff; border-color: var(--line); font-size: 12px; }
.more-button:hover { background: #f3f5f6; }
.series-coverage { margin-block: 16px 10px; font-size: 11px; color: var(--muted); }
.series-coverage p { display: flex; flex-wrap: wrap; gap: 5px 14px; padding-block: 5px; }
.series-coverage strong { color: var(--ink); }
.series-coverage a { color: var(--blue); text-decoration: underline; }
@media (max-width: 1020px) {
  .wrap { width: calc(100% - 48px); }
  .nav { gap: 24px; }
  .metadata { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 128px; }
  .section-tabs { gap: 20px; font-size: 12px; margin-bottom: 24px; }
  .trend-controls { flex-direction: column; gap: 16px; }
  .group-label { flex-basis: auto; width: 100%; }
  .series-options { max-height: 200px; gap: 8px 14px; }
  .trend-range-form { gap: 18px; }
  .range-presets { width: 100%; }
  .range-presets button { flex: 1; padding-inline: 7px; }
  .range-dates { width: 100%; flex-wrap: wrap; gap: 8px; }
  .range-dates label { flex: 1; min-width: 0; }
  .range-dates input { width: 100%; padding-inline: 5px; font-size: 12px; }
  .range-dates > span { display: none; }
  .range-dates button { flex-basis: 100%; }
  .chart-frame { height: 300px; }
  .indicators-table th:first-child { width: 180px; font-size: 12px; }
  .series-coverage p { display: block; border-bottom: 1px solid #edf0f1; padding-block: 8px; }
  .series-coverage p > * { display: block; margin-block: 3px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 16px 10px; }
  .brand { flex-basis: auto; width: 265px; max-width: 100%; }
  .nav { width: 100%; justify-content: space-between; gap: 10px; }
  .nav a, .nav [aria-current] { font-size: 13px; padding-block: 3px; }
  .page-heading { padding-block: 32px 26px; }
  h1 { font-size: 30px; }
  h2 { font-size: 18px; }
  .date-form { width: 100%; gap: 8px; flex-wrap: wrap; }
  .date-form label { width: 100%; }
  input[type="date"] { flex: 1; }
  .metadata { margin-top: 20px; padding-block: 18px; gap: 18px 14px; }
  .metadata > div { font-size: 12px; }
  .metadata strong { font-size: 14px; }
  .notice { padding: 13px 14px; }
  th:first-child { width: 105px; padding-left: 12px; }
  .summary-name { min-width: 0; margin-right: 12px; }
  .summary-rule { display: block; padding-left: 18px; margin-top: 5px; }
  .detail-content { padding-inline: 8px; }
  .detail-content dl { grid-template-columns: 1fr; gap: 5px; }
  dd + dt { margin-top: 8px; }
  .methodology { padding-top: 36px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 12px; }
}
