:root {
  color-scheme: light;
  --ink: #1a2330;
  --ink-soft: #3e4a57;
  --ink-faint: #5c6774;
  --canvas: #f3f5f7;
  --canvas-deep: #eceff2;
  --panel: #ffffff;
  --panel-raised: #f7f8fa;
  --line: rgba(26, 35, 48, 0.10);
  --line-strong: rgba(26, 35, 48, 0.18);
  --aqua: #0e7a72;
  --aqua-dim: rgba(14, 122, 114, 0.12);
  --gold: #8a5a12;
  --gold-dim: rgba(138, 90, 18, 0.12);
  --coral: #c44732;
  --coral-dim: rgba(196, 71, 50, 0.12);
  --violet: #5b4fd1;
  --violet-dim: rgba(91, 79, 209, 0.12);
  --radius: 16px;
  --shadow: 0 12px 32px rgba(26, 35, 48, 0.08);
  --sans: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", "D2Coding", ui-monospace, monospace;
  --card: #ffffff;
  --well: #eef1f4;
  --notice-error-bg: rgba(196, 71, 50, 0.08);
  --notice-error-border: rgba(196, 71, 50, 0.28);
  --panel-bg: #ffffff;
  --segmented-bg: #eef1f4;
  --segment-active-bg: rgba(14, 122, 114, 0.12);
  --segment-active-ring: rgba(14, 122, 114, 0.22);
  --select-bg: #ffffff;
  --focus-ring: rgba(14, 122, 114, 0.18);
  --refresh-border: rgba(14, 122, 114, 0.32);
  --refresh-bg: rgba(14, 122, 114, 0.10);
  --refresh-hover-bg: rgba(14, 122, 114, 0.16);
  --card-latest-border: rgba(14, 122, 114, 0.28);
  --card-latest-bg: linear-gradient(145deg, rgba(14, 122, 114, 0.10), #ffffff 65%);
  --row-hover: rgba(14, 122, 114, 0.06);
  --missing-bg: rgba(92, 103, 116, 0.10);
  --q-bear-steep: rgba(196, 71, 50, 0.10);
  --q-bear-flat: rgba(196, 71, 50, 0.055);
  --q-bull-steep: rgba(14, 122, 114, 0.10);
  --q-bull-flat: rgba(14, 122, 114, 0.055);
  --q-axis: rgba(26, 35, 48, 0.22);
  --q-label: rgba(26, 35, 48, 0.55);
  --q-label-bear: rgba(196, 71, 50, 0.85);
  --q-label-bull: rgba(14, 122, 114, 0.85);
  --q-dot-halo-fill: rgba(138, 90, 18, 0.14);
  --q-dot-halo-stroke: rgba(138, 90, 18, 0.48);
  --q-dot-stroke: #ffffff;
  --reading-bg: #eef1f4;
  --chart-grid: rgba(26, 35, 48, 0.12);
  --chart-grid-zero: rgba(138, 90, 18, 0.40);
  --chart-hover: rgba(138, 90, 18, 0.65);
  --tooltip-bg: #ffffff;
  --tooltip-shadow: 0 12px 30px rgba(26, 35, 48, 0.14);
  --source-bg: #f7f8fa;
  --session-border: rgba(138, 90, 18, 0.28);
  --session-bg: rgba(138, 90, 18, 0.06);
  --session-icon-border: rgba(138, 90, 18, 0.35);
  --session-compare-bg: #eef1f4;
  --intl-stat-bg: #f7f8fa;
  --selected-row: rgba(14, 122, 114, 0.08);
  --stale-border: rgba(138, 90, 18, 0.40);
  --error-border: rgba(196, 71, 50, 0.42);
  --live-border: rgba(138, 90, 18, 0.32);
  --brand-mark-border: rgba(14, 122, 114, 0.35);
  --brand-mark-bg: rgba(14, 122, 114, 0.08);
  --glow-aqua: rgba(14, 122, 114, 0.08);
  --glow-violet: rgba(91, 79, 209, 0.05);
  --chart-1: #0e7a72;
  --chart-2: #8a5a12;
  --chart-3: #c44732;
  --chart-4: #5b4fd1;
}

.author-mark { color: var(--ink-soft); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.watch-panel { margin: 18px 0; padding: 24px; }
.watch-panel .panel-heading { margin-bottom: 16px; }
.watch-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.watch-card { display: flex; flex-direction: column; min-height: 105px; gap: 4px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-raised); }
.watch-card span { color: var(--ink-soft); font-size: 13px; }
.watch-card strong { font-family: var(--mono); font-size: clamp(17px, 2.2vw, 24px); line-height: 1.2; }
.watch-card small { color: var(--ink-faint); font-size: 13px; }
.watch-chart-wrap { overflow-x: auto; margin-top: 15px; }
.watch-chart-wrap svg { display: block; width: 100%; min-width: 900px; height: auto; }
.watch-note { margin: 10px 0 0; color: var(--ink-faint); font-size: 13px; line-height: 1.6; }
.watch-note a, .watch-links a { color: var(--aqua); text-underline-offset: 3px; }
.watch-links { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: baseline; margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 13px; }
.watch-links b { color: var(--ink-soft); }
.watch-links span { color: var(--ink-faint); }
.watch-grid { stroke: var(--chart-grid); stroke-width: 1; }
.watch-axis, .watch-row-label { fill: var(--ink-faint); font: 16px var(--mono); }
.watch-row-label { fill: var(--ink-soft); font-weight: 700; }
.watch-yield-line { stroke: var(--chart-1); stroke-width: 3; }
.watch-yield-point { fill: var(--chart-1); stroke: var(--panel); stroke-width: 2; }
.watch-policy-point { fill: var(--chart-2); stroke: var(--panel); stroke-width: 1.5; }
.watch-point-label { fill: var(--ink); font: 16px var(--mono); font-weight: 700; }
@media (max-width: 650px) { .watch-cards { grid-template-columns: 1fr; } .watch-card { min-height: 82px; } }

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8edf2;
  --ink-soft: #a4b0bc;
  --ink-faint: #697785;
  --canvas: #0b1117;
  --canvas-deep: #080d12;
  --panel: #121b24;
  --panel-raised: #17232e;
  --line: rgba(168, 188, 206, 0.14);
  --line-strong: rgba(168, 188, 206, 0.25);
  --aqua: #6fe1d0;
  --aqua-dim: rgba(111, 225, 208, 0.14);
  --gold: #e7bd72;
  --gold-dim: rgba(231, 189, 114, 0.14);
  --coral: #ef8e78;
  --coral-dim: rgba(239, 142, 120, 0.13);
  --violet: #a8a4ff;
  --violet-dim: rgba(168, 164, 255, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  --card: rgba(18, 27, 36, 0.82);
  --well: rgba(5, 9, 13, 0.35);
  --notice-error-bg: rgba(80, 35, 31, 0.22);
  --notice-error-border: rgba(239, 142, 120, 0.3);
  --panel-bg: linear-gradient(145deg, rgba(23, 35, 46, 0.85), rgba(14, 22, 30, 0.88));
  --segmented-bg: rgba(5, 9, 13, 0.35);
  --segment-active-bg: rgba(111, 225, 208, 0.13);
  --segment-active-ring: rgba(111, 225, 208, 0.16);
  --select-bg: rgba(5, 9, 13, 0.44);
  --focus-ring: rgba(111, 225, 208, 0.1);
  --refresh-border: rgba(111, 225, 208, 0.32);
  --refresh-bg: rgba(111, 225, 208, 0.1);
  --refresh-hover-bg: rgba(111, 225, 208, 0.18);
  --card-latest-border: rgba(111, 225, 208, 0.28);
  --card-latest-bg: linear-gradient(145deg, rgba(111, 225, 208, 0.1), rgba(18, 27, 36, 0.8) 65%);
  --row-hover: rgba(111, 225, 208, 0.04);
  --missing-bg: rgba(164, 176, 188, .08);
  --q-bear-steep: rgba(239, 142, 120, 0.08);
  --q-bear-flat: rgba(239, 142, 120, 0.045);
  --q-bull-steep: rgba(111, 225, 208, 0.08);
  --q-bull-flat: rgba(111, 225, 208, 0.045);
  --q-axis: rgba(168, 188, 206, .26);
  --q-label: rgba(232, 237, 242, .52);
  --q-label-bear: rgba(239, 142, 120, .75);
  --q-label-bull: rgba(111, 225, 208, .75);
  --q-dot-halo-fill: rgba(231, 189, 114, .14);
  --q-dot-halo-stroke: rgba(231, 189, 114, .48);
  --q-dot-stroke: #101820;
  --reading-bg: rgba(5, 9, 13, .28);
  --chart-grid: rgba(168, 188, 206, .11);
  --chart-grid-zero: rgba(231, 189, 114, .34);
  --chart-hover: rgba(231, 189, 114, .55);
  --tooltip-bg: rgba(8, 13, 18, .95);
  --tooltip-shadow: 0 12px 30px rgba(0,0,0,.32);
  --source-bg: rgba(5, 9, 13, .22);
  --session-border: rgba(231, 189, 114, .22);
  --session-bg: rgba(231, 189, 114, .045);
  --session-icon-border: rgba(231, 189, 114, .3);
  --session-compare-bg: rgba(5, 9, 13, .22);
  --intl-stat-bg: rgba(5, 9, 13, .2);
  --selected-row: rgba(111, 225, 208, .08);
  --stale-border: rgba(231, 189, 114, .34);
  --error-border: rgba(239, 142, 120, .38);
  --live-border: rgba(231, 189, 114, 0.28);
  --brand-mark-border: rgba(111, 225, 208, 0.35);
  --brand-mark-bg: rgba(111, 225, 208, 0.07);
  --glow-aqua: rgba(111, 225, 208, 0.09);
  --glow-violet: rgba(168, 164, 255, 0.05);
  --chart-1: #6fe1d0;
  --chart-2: #e7bd72;
  --chart-3: #ef8e78;
  --chart-4: #a8a4ff;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas-deep); }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% -10%, var(--glow-aqua), transparent 30rem),
    radial-gradient(circle at 10% 28%, var(--glow-violet), transparent 28rem),
    var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

button, select { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; }

.topbar {
  width: min(1440px, calc(100% - 56px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--ink-faint);
  font-size: 13px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: end;
  gap: 3px;
  padding: 5px 6px;
  border: 1px solid var(--brand-mark-border);
  border-radius: 9px;
  background: var(--brand-mark-bg);
}

.brand-mark i { display: block; width: 4px; border-radius: 3px; background: var(--aqua); }
.brand-mark i:nth-child(1) { height: 10px; opacity: 0.55; }
.brand-mark i:nth-child(2) { height: 15px; opacity: 0.78; }
.brand-mark i:nth-child(3) { height: 19px; }

.topbar-meta { display: flex; align-items: center; gap: 16px; color: var(--ink-faint); font-size: 13px; }

.live-chip, .status-tag, .date-pill, .row-count {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.live-chip { border-color: var(--live-border); color: var(--gold); }
.live-chip i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }
.fetched-meta { font-family: var(--mono); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.theme-toggle:hover { border-color: var(--aqua); color: var(--aqua); }
.theme-toggle:focus-visible {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.page-content { width: min(1440px, calc(100% - 56px)); margin: 0 auto; padding: 56px 0 80px; }

.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  padding: 22px 8px 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--aqua);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 { max-width: 750px; margin-bottom: 18px; font-size: clamp(34px, 5vw, 66px); font-weight: 420; letter-spacing: -0.075em; line-height: 1.08; }
h1 em { color: var(--aqua); font-style: normal; }
h2 { margin-bottom: 0; font-size: 20px; font-weight: 520; letter-spacing: -0.055em; }

.hero-subtitle { max-width: 550px; margin-bottom: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }

.hero-status {
  min-width: 240px;
  max-width: 290px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.status-kicker { display: block; margin-bottom: 10px; color: var(--ink-faint); font-family: var(--mono); font-size: 13px; letter-spacing: 0.15em; }
.hero-status strong { display: block; margin-bottom: 4px; color: var(--gold); font-size: 15px; font-weight: 600; }
.hero-status span:last-child { display: block; color: var(--ink-soft); font-size: 13px; }

.notice-stack { display: grid; gap: 8px; margin-bottom: 18px; }
.notice { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink-soft); font-size: 13px; }
.notice strong { color: var(--ink); font-weight: 600; }
.notice.error { border-color: var(--notice-error-border); background: var(--notice-error-bg); }
.notice.error::before { content: "!"; display: inline-grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: var(--coral-dim); color: var(--coral); font-family: var(--mono); font-weight: 700; }
.notice.info::before { content: "i"; display: inline-grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: var(--aqua-dim); color: var(--aqua); font-family: var(--mono); font-weight: 700; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-bg); box-shadow: var(--shadow); }

.toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 24px; padding: 15px 18px; margin-bottom: 50px; }
.toolbar-group { display: flex; align-items: center; gap: 11px; }
.control-label { color: var(--ink-faint); font-size: 13px; font-weight: 600; white-space: nowrap; }
.segmented { display: flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--segmented-bg); }
.segment { min-height: 30px; padding: 4px 13px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-faint); font-size: 13px; transition: color .18s, background .18s, box-shadow .18s; }
.segment:hover { color: var(--ink); }
.segment.is-active { background: var(--segment-active-bg); box-shadow: 0 0 0 1px var(--segment-active-ring); color: var(--aqua); }
.segment span { margin-left: 5px; color: var(--ink-faint); font-family: var(--mono); font-size: 13px; }
.segment.is-active span { color: var(--aqua); opacity: .75; }
.compact .segment { min-width: 46px; padding-inline: 11px; }
.date-group { margin-left: auto; }
.inline-select, #date-select { min-height: 32px; padding: 5px 30px 5px 10px; border: 1px solid var(--line-strong); border-radius: 8px; outline: none; background: var(--select-bg); color: var(--ink); font-size: 13px; }
.inline-select:focus, #date-select:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px var(--focus-ring); }
.refresh-button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 13px; border: 1px solid var(--refresh-border); border-radius: 8px; background: var(--refresh-bg); color: var(--aqua); font-size: 13px; font-weight: 600; }
.refresh-button:hover { background: var(--refresh-hover-bg); }
.refresh-button:disabled { cursor: wait; opacity: .6; }
.refresh-icon { display: inline-block; font-size: 17px; line-height: 1; }
.refresh-button.is-loading .refresh-icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.market-overview { margin-bottom: 32px; }
.section-heading, .panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-heading { padding: 0 8px 17px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.asof-block { text-align: right; }
.asof-block span, .asof-block small { display: block; color: var(--ink-faint); font-size: 13px; }
.asof-block strong { display: block; margin: 2px 0; color: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 500; }
.yield-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.yield-card { min-height: 148px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.yield-card.is-latest { border-color: var(--card-latest-border); background: var(--card-latest-bg); }
.yield-card-header { display: flex; justify-content: space-between; align-items: center; color: var(--ink-soft); }
.yield-tenor { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.yield-name { color: var(--ink-faint); font-size: 13px; }
.yield-value { margin: 16px 0 4px; color: var(--ink); font-family: var(--mono); font-size: clamp(27px, 3vw, 38px); font-weight: 400; letter-spacing: -0.08em; line-height: 1; }
.yield-value.unavailable { color: var(--ink-faint); }
.yield-unit { margin-left: 4px; color: var(--ink-faint); font-family: var(--sans); font-size: 13px; letter-spacing: 0; }
.yield-delta { font-family: var(--mono); font-size: 13px; }
.delta-up { color: var(--coral); }
.delta-down { color: var(--aqua); }
.delta-flat { color: var(--ink-faint); }
.yield-meta { display: flex; justify-content: space-between; gap: 6px; margin-top: 16px; color: var(--ink-faint); font-size: 13px; }
.yield-meta strong { color: var(--ink-soft); font-family: var(--mono); font-weight: 500; }

.grid-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.curve-overview-section { margin-bottom: 18px; }
.curve-table-panel, .curve-visual-panel, .source-panel, .glossary-panel { min-width: 0; padding: 24px; }
.panel-heading { align-items: center; margin-bottom: 24px; }
.panel-heading .eyebrow { margin-bottom: 7px; }
.date-pill { color: var(--ink-faint); }
.curve-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: right; }
.data-table th { padding: 9px 10px; border-bottom: 1px solid var(--line-strong); color: var(--ink-faint); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .05em; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--row-hover); }
.curve-row-label { color: var(--ink) !important; font-weight: 600; }
.spread-number { color: var(--ink) !important; }
.table-subvalue { display: block; margin-top: 3px; color: var(--ink-faint); font-family: var(--sans); font-size: 13px; font-weight: 400; }
.empty-cell { padding: 28px 10px !important; color: var(--ink-faint) !important; text-align: center !important; font-family: var(--sans) !important; }
.curve-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 6px; font-family: var(--sans); font-size: 13px; }
.curve-status.bull { color: var(--aqua); background: var(--aqua-dim); }
.curve-status.bear { color: var(--coral); background: var(--coral-dim); }
.curve-status.neutral { color: var(--gold); background: var(--gold-dim); }
.curve-status.missing { color: var(--ink-faint); background: var(--missing-bg); }
.table-note { margin: 18px 0 0; color: var(--ink-faint); font-size: 13px; line-height: 1.65; }

.curve-visual-panel { overflow: hidden; }
.quadrant-wrap { position: relative; min-height: 310px; margin: -4px -5px 0; }
.quadrant-chart { display: block; width: 100%; height: auto; overflow: visible; }
.quadrant-fill { stroke: none; }
.q-bear-steep { fill: var(--q-bear-steep); }
.q-bear-flat { fill: var(--q-bear-flat); }
.q-bull-steep { fill: var(--q-bull-steep); }
.q-bull-flat { fill: var(--q-bull-flat); }
.quadrant-axis { stroke: var(--q-axis); stroke-width: 1; stroke-dasharray: 3 5; }
.quadrant-label { fill: var(--q-label); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.label-bear-steep, .label-bear-flat { fill: var(--q-label-bear); }
.label-bull-steep, .label-bull-flat { fill: var(--q-label-bull); }
.axis-label { fill: var(--ink-faint); font-size: 13px; }
.axis-y, .axis-y-down { text-anchor: start; }
.axis-cap { text-anchor: middle; }
.axis-x-left { text-anchor: start; }
.axis-x-right { text-anchor: end; }
.quadrant-dot-halo { fill: var(--q-dot-halo-fill); stroke: var(--q-dot-halo-stroke); stroke-width: 1; }
.quadrant-dot { fill: var(--gold); stroke: var(--q-dot-stroke); stroke-width: 3; }
.quadrant-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--gold); font-size: 13px; font-weight: 600; pointer-events: none; }
.quadrant-reading { display: flex; align-items: center; gap: 8px; margin-top: -4px; padding: 10px 12px; border-radius: 8px; background: var(--reading-bg); color: var(--ink-soft); font-size: 13px; }
.reading-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); }

.chart-panel { margin-top: 18px; padding: 24px 24px 17px; }
.chart-heading { margin-bottom: 6px; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-family: var(--mono); font-size: 13px; }
.legend-swatch { width: 17px; height: 2px; border-radius: 2px; }
.chart-canvas { position: relative; min-height: 280px; margin-top: 4px; }
.line-chart { display: block; width: 100%; height: auto; min-height: 280px; overflow: visible; }
.chart-grid-line { stroke: var(--chart-grid); stroke-width: 1; }
.chart-grid-line.zero { stroke: var(--chart-grid-zero); stroke-dasharray: 4 4; }
.chart-axis-text { fill: var(--ink-faint); font-family: var(--mono); font-size: 13px; }
.line-path { fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.line-point { stroke: var(--panel); stroke-width: 2; }
.chart-hover-line { stroke: var(--chart-hover); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.chart-hit-area { fill: transparent; cursor: crosshair; }
.chart-tooltip { position: absolute; z-index: 4; min-width: 155px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--tooltip-bg); box-shadow: var(--tooltip-shadow); color: var(--ink); font-family: var(--mono); font-size: 13px; line-height: 1.7; pointer-events: none; }
.tooltip-date { display: block; margin-bottom: 4px; color: var(--gold); font-weight: 600; }
.tooltip-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tooltip-observation-note { display: block; max-width: 290px; white-space: normal; overflow-wrap: anywhere; color: var(--ink-soft); font-family: var(--sans); font-size: 12px; line-height: 1.6; margin: 2px 0 6px; }
.tooltip-key { color: var(--ink-faint); }
.tooltip-value { color: var(--ink); }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-faint); font-size: 13px; }
.chart-empty[hidden], .chart-tooltip[hidden] { display: none; }
.chart-footer { display: flex; justify-content: space-between; gap: 12px; padding: 7px 2px 0; color: var(--ink-faint); font-family: var(--mono); font-size: 13px; }

.lower-grid { margin-top: 18px; }
.source-list { display: grid; gap: 10px; }
.source-item { padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--source-bg); }
.source-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-name { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.source-name:hover { color: var(--aqua); }
.external-link { color: var(--ink-faint); font-family: var(--mono); font-size: 13px; }
.source-status { padding: 3px 7px; border-radius: 5px; font-size: 13px; }
.source-status.ok { color: var(--aqua); background: var(--aqua-dim); }
.source-status.partial, .source-status.unknown, .source-status.stale, .source-status.partial-stale, .source-status.pending { color: var(--gold); background: var(--gold-dim); }
.source-status.unavailable { color: var(--coral); background: var(--coral-dim); }
.source-meta { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 8px; color: var(--ink-faint); font-family: var(--mono); font-size: 13px; }
.source-error { margin: 7px 0 0; color: var(--coral); font-size: 13px; }
.session-card { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 13px; border: 1px dashed var(--session-border); border-radius: 10px; background: var(--session-bg); }
.session-icon { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--session-icon-border); border-radius: 7px; color: var(--gold); font-family: var(--mono); font-size: 13px; }
.session-copy { min-width: 0; flex: 1; }
.session-copy strong, .session-copy span { display: block; }
.session-copy strong { color: var(--ink-soft); font-size: 13px; }
.session-copy span { color: var(--gold); font-size: 13px; }
.session-value { color: var(--ink-faint); font-family: var(--mono); font-size: 13px; }
.session-comparison { margin-top: 8px; padding: 9px 11px; border-radius: 8px; background: var(--session-compare-bg); color: var(--ink-soft); font-size: 13px; }
.session-comparison[hidden] { display: none; }
.session-comparison strong { color: var(--ink); font-family: var(--mono); font-weight: 500; }

.glossary-list { display: grid; gap: 13px; }
.glossary-list div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.glossary-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.glossary-list b { color: var(--ink); font-size: 13px; font-weight: 600; }
.glossary-list span { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.noise-note { margin-top: 21px; padding: 10px 11px; border-radius: 8px; background: var(--gold-dim); color: var(--ink-soft); font-size: 13px; }
.noise-note span { margin-right: 4px; color: var(--gold); font-family: var(--mono); font-weight: 700; }

.international-panel { margin-top: 18px; padding: 24px; }
.international-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.international-stat { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--intl-stat-bg); }
.international-stat b { display: block; color: var(--ink-faint); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.international-stat strong { display: inline-block; margin-top: 5px; color: var(--ink); font-family: var(--mono); font-size: 20px; font-weight: 400; letter-spacing: -.05em; }
.international-stat small { margin-left: 7px; color: var(--ink-faint); font-family: var(--mono); font-size: 13px; }
.international-chart-wrap { position: relative; min-height: 230px; }
.international-chart-wrap .line-chart { min-height: 230px; }
.international-note { margin: 11px 2px 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 13px; }

.table-panel { margin-top: 18px; padding: 24px; }
.row-count { color: var(--ink-faint); }
.table-scroll { overflow-x: auto; max-height: 470px; scrollbar-color: var(--line-strong) transparent; }
.history-table { min-width: 680px; }
.history-table th:first-child, .history-table td:first-child { position: sticky; left: 0; background: var(--panel); }
.history-table th { position: sticky; top: 0; z-index: 1; background: var(--panel-raised); }
.history-table td:first-child { color: var(--ink); }
.history-table .selected-row td { background: var(--selected-row); }

.footer { width: min(1440px, calc(100% - 56px)); display: flex; justify-content: space-between; gap: 16px; margin: 0 auto; padding: 20px 8px 30px; border-top: 1px solid var(--line); color: var(--ink-faint); font-family: var(--mono); font-size: 13px; }

.is-stale { border-color: var(--stale-border) !important; }
.is-stale .live-chip { color: var(--gold); }
.is-error { border-color: var(--error-border) !important; }

@media (max-width: 980px) {
  .topbar, .page-content, .footer { width: min(100% - 36px, 760px); }
  .page-content { padding-top: 36px; }
  .hero-section { padding-inline: 0; }
  .yield-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-two { grid-template-columns: 1fr; }
  .curve-visual-panel { min-height: 0; }
}

@media (max-width: 660px) {
  body { font-size: 13px; }
  .topbar, .page-content, .footer { width: calc(100% - 28px); }
  .topbar { min-height: 67px; }
  .topbar-meta { gap: 8px; }
  .fetched-meta { display: none; }
  .page-content { padding: 28px 0 54px; }
  .hero-section { display: block; padding: 10px 0 30px; }
  h1 { font-size: clamp(35px, 11vw, 52px); }
  .hero-subtitle { font-size: 13px; line-height: 1.7; }
  .hero-status { max-width: none; min-width: 0; margin-top: 22px; }
  .toolbar { align-items: stretch; gap: 13px; margin-bottom: 34px; padding: 13px; }
  .toolbar-group { justify-content: space-between; width: 100%; }
  .date-group { margin-left: 0; }
  .refresh-button { justify-content: center; width: 100%; }
  .section-heading { padding-inline: 0; }
  .section-heading h2 { font-size: 18px; }
  .asof-block strong { font-size: 13px; }
  .yield-card-grid { gap: 8px; }
  .yield-card { min-height: 131px; padding: 14px 13px; }
  .yield-value { margin-top: 13px; font-size: 27px; }
  .yield-meta { margin-top: 12px; font-size: 13px; }
  .panel, .curve-table-panel, .curve-visual-panel, .source-panel, .glossary-panel, .chart-panel, .international-panel, .table-panel { border-radius: 12px; }
  .watch-panel, .curve-table-panel, .curve-visual-panel, .source-panel, .glossary-panel, .chart-panel, .international-panel, .table-panel { padding: 17px 14px; }
  .panel-heading { margin-bottom: 18px; }
  .panel-heading h2 { font-size: 18px; }
  .quadrant-wrap { min-height: 245px; margin-inline: -3px; }
  .quadrant-chart { min-height: 240px; }
  .quadrant-label { font-size: 13px; }
  .axis-label { font-size: 13px; }
  .chart-panel { margin-top: 12px; }
  .chart-heading { align-items: start; display: block; }
  .chart-legend { justify-content: start; margin-top: 13px; }
  .chart-canvas { min-height: 210px; margin-inline: -5px; }
  .line-chart { min-height: 210px; }
  .chart-footer { display: block; line-height: 1.8; }
  .chart-footer span { display: block; }
  .international-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .international-stat { padding: 10px 8px; }
  .international-stat strong { font-size: 16px; }
  .international-stat small { display: block; margin: 3px 0 0; }
  .international-chart-wrap { min-height: 190px; margin-inline: -5px; }
  .international-chart-wrap .line-chart { min-height: 190px; }
  .glossary-list div { grid-template-columns: 80px 1fr; gap: 8px; }
  .footer { display: block; line-height: 2; }
}

@media (max-width: 420px) {
  .live-chip { display: none; }
  .topbar { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Readable labels at the actual SVG viewport size, including phones. */
body { font-size: 16px; }
.toolbar { margin-bottom: 12px; }
.date-scope-note { margin: 12px 0 32px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.history-note { color: var(--ink-soft); font-size: 14px; line-height: 1.8; margin: 12px 0; }
.history-legend { justify-content: start; gap: 12px 20px; margin: 16px 0; }
.legend-item { font-family: var(--sans); font-size: 14px; }
.legend-swatch { width: 25px; height: 0; border-top: 3px solid var(--series-color); background: none; border-radius: 0; }
.legend-swatch.dashed { border-top-style: dashed; }
.chart-axis-text { font-size: 14px; fill: var(--ink-soft); }
.chart-tooltip { font-size: 14px; max-width: calc(100% - 12px); padding: 12px; }
.chart-footer { font-size: 13px; flex-wrap: wrap; }
.yield-card-header { flex-wrap: wrap; gap: 6px; }
.yield-name { font-size: 14px; }
.segment, select, .refresh-button { min-height: 44px; font-size: 14px; }
#date-select, .inline-select { min-height: 44px; font-size: 14px; }
.line-path { stroke-width: 2.8; }
.quadrant-label { font-size: 22px; letter-spacing: 0; }
.axis-label { font-size: 18px; }
.source-name, .watch-note, .watch-links, .glossary-list span, .table-note { font-size: 14px; }
:root { --history-2: #1764b3; --history-3: #8a5a12; }
:root[data-theme="dark"] { --history-2: #7bb8ff; --history-3: #e9bf76; --ink-faint: #a2adb9; }
@media (max-width: 660px) {
  .chart-heading .segmented { margin-top: 14px; }
  .chart-canvas, .international-chart-wrap { margin-inline: 0; }
  .date-pill { white-space: normal; line-height: 1.6; }
  .international-summary { grid-template-columns: 1fr; }
  .international-stat strong { margin-right: 10px; }
  .international-stat small { display: inline; }
  .asof-block { max-width: 48%; }
  .date-group select { min-width: 0; width: 0; flex: 1; max-width: 100%; }
  .panel-heading { flex-wrap: wrap; }
  .watch-cards { grid-template-columns: 1fr; }
  .yield-card { padding: 14px 10px; }
}

/* Focus the existing monitor on comparable history and explicit date scope. */
.page-content { padding-top: 24px; }
.hero-section { padding-bottom: 20px; gap: 24px; }
h1 { font-size: clamp(30px, 3.5vw, 42px); margin-bottom: 10px; }
.hero-status { padding: 14px 18px; }
.hero-status .status-kicker { margin-bottom: 6px; }
.toolbar { gap: 18px; margin-bottom: 10px; }
.date-scope-note { margin-bottom: 12px; }
.history-cutoff { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 8px; line-height: 1.7; }
.market-overview { margin-top: 26px; }
.watch-panel { margin-top: 24px; }
.watch-mobile-summary { display: none; }
.chart-unit { font-weight: 600; }
@media (max-width: 660px) {
  .page-content { padding-top: 12px; }
  h1 { font-size: 28px; line-height: 1.35; letter-spacing: -.05em; }
  .hero-section { padding: 6px 0 16px; }
  .hero-subtitle { font-size: 14px; }
  .hero-status { margin-top: 12px; padding: 12px; }
  .hero-status .status-kicker { display: none; }
  .toolbar { padding: 12px; gap: 10px; }
  .chart-tooltip { position: static; width: 100%; max-width: 100%; margin-top: 12px; left: auto !important; top: auto !important; box-shadow: none; }
  .watch-chart-wrap { display: none; }
  .watch-mobile-summary { display: grid; gap: 12px; margin-top: 16px; }
  .watch-mobile-summary > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--panel-raised); }
  .watch-mobile-summary b, .watch-mobile-summary span { display: block; margin-bottom: 7px; }
  .watch-mobile-summary span { color: var(--gold); font-size: 14px; }
  .watch-mobile-summary p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; margin: 0; }
}

/* Six-series review: separate policy identity and collision-free quadrant captions. */
:root { --policy-kr:#704e91; --policy-us:#475b69; }
html[data-theme="dark"] { --policy-kr:#d7b4f7; --policy-us:#d0deec; }
.policy-source-note { font-size:14px; line-height:1.7; color:var(--text-secondary); margin:0 0 14px; }
.policy-source-note summary { cursor:pointer; padding:8px 0; }
.policy-source-note p { margin:4px 0 10px; }
.quadrant-bottom-labels { font-size:16px; line-height:1.5; color:var(--text-secondary); padding:0 12px 14px; }
.quadrant-bull-caption { display:block; text-align:center; margin-bottom:8px; }
.quadrant-spread-captions { display:flex; justify-content:space-between; gap:24px; }

/* Country palettes: KR red, US blue; delta/status semantics unchanged. */
:root {
 --policy-kr:#762630; --country-kr-3:#bc3343; --country-kr-5:#ad5259; --country-kr-10:#893c44; --country-kr-30:#77515b;
 --policy-us:#173b65; --country-us-2:#086bba; --country-us-5:#347caa; --country-us-10:#38628a; --country-us-30:#53627f;
}
html[data-theme="dark"] {
 --policy-kr:#f9b8bf; --country-kr-3:#ff7183; --country-kr-5:#ec8794; --country-kr-10:#d798a2; --country-kr-30:#bfa0ab;
 --policy-us:#b9dcff; --country-us-2:#59b1ff; --country-us-5:#75b6df; --country-us-10:#91b3d3; --country-us-30:#a1b0cc;
}

.scenario-comparison-heading { margin:20px 0 8px; font-size:18px; }
.scenario-comparison-note { font-size:14px; line-height:1.7; color:var(--ink-faint); }
.policy-scenario-comparison { display:grid; gap:12px; margin:16px 0; }
.policy-scenario-row { border:1px solid var(--line); border-left:4px solid var(--policy-kr); border-radius:10px; padding:16px; background:var(--panel); }
.policy-scenario-row.scenario-us { border-left-color:var(--policy-us); }
.scenario-name { display:flex; gap:12px; align-items:baseline; flex-wrap:wrap; margin-bottom:14px; }
.scenario-name b { font-size:16px; color:var(--policy-kr); }
.scenario-us .scenario-name b { color:var(--policy-us); }
.scenario-name span,.scenario-source { font-size:14px; color:var(--ink-faint); line-height:1.6; }
.scenario-numbers { display:grid; grid-template-columns:1fr 24px 1fr 1.3fr; align-items:center; gap:12px; }
.scenario-numbers small { display:block; font-size:14px; line-height:1.5; margin-bottom:4px; }
.scenario-numbers strong { display:block; font-size:23px; line-height:1.5; font-family:var(--mono); color:var(--ink); }
.scenario-gap { border-left:1px solid var(--line); padding-left:20px; }
.scenario-source { margin:12px 0 0; }
.current-curve-separation { border-top:1px solid var(--line); padding-top:14px; font-size:14px; line-height:1.8; }
.current-curve-separation p { margin:6px 0; }
@media(max-width:660px) {
 .policy-scenario-row { padding:14px 12px; }
 .scenario-numbers { grid-template-columns:1fr 16px 1fr; gap:8px; }
 .scenario-numbers strong { font-size:20px; }
 .scenario-gap { grid-column:1/-1; border-left:0; border-top:1px solid var(--line); padding:10px 0 0; margin-top:4px; }
 .scenario-source { font-size:13px; }
}

.country-history-overview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.country-history-panel { min-width:0; border:1px solid var(--line); border-top:4px solid var(--policy-kr); border-radius:12px; padding:18px; }
.country-history-panel.country-us { border-top-color:var(--policy-us); }
.country-history-panel h3 { margin:0 0 16px; font-size:22px; color:var(--policy-kr); }
.country-us h3 { color:var(--policy-us); }
.country-history-panel h3 span { font:14px var(--mono); margin-left:8px; }
.policy-snapshot { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:baseline; padding:12px; background:var(--intl-stat-bg); border-radius:8px; }
.policy-snapshot b { font-size:15px; }.policy-snapshot strong { font:26px var(--mono); }
.policy-snapshot small { flex-basis:100%; font-size:13px; line-height:1.7; color:var(--ink-faint); }
.split-history-region { margin-top:18px; }.split-history-region h4 { margin:0 0 10px; font-size:16px; }
.split-policy-chart { min-height:180px; height:180px; }.split-yields-chart { min-height:300px; height:300px; }
.split-range { font:13px var(--mono); line-height:1.6; color:var(--ink-faint); margin:8px 0 14px; }
.country-history-panel .scenario-numbers { grid-template-columns:1fr 16px 1fr; gap:8px; }
.country-history-panel .scenario-numbers strong { font-size:20px; }
.country-history-panel .scenario-gap { grid-column:1/-1; border-left:0; border-top:1px solid var(--line); padding:10px 0 0; margin-top:4px; }
[hidden] { display:none !important; }
@media(max-width:900px) { .country-history-overview { grid-template-columns:1fr; } }
@media(max-width:660px) { .country-history-panel { padding:12px 8px; } .country-history-panel .chart-canvas { margin-inline:-6px; } }

.spread-reading-section { margin:18px 0; padding:14px; background:var(--intl-stat-bg); border:1px solid var(--line); border-radius:10px; }
.spread-reading-section h4 { font-size:17px; margin:0 0 10px; }
.spread-reading-grid { display:grid; gap:10px; }
.spread-reading-stat { border-bottom:1px solid var(--line); padding:4px 0 10px; display:grid; grid-template-columns:1fr auto; gap:4px 12px; }
.spread-reading-stat b { font-size:14px; line-height:1.6; }.spread-reading-stat strong { font:22px var(--mono); line-height:1.4; }
.spread-reading-stat small { grid-column:1/-1; font-size:13px; line-height:1.7; color:var(--ink-faint); }
.spread-reading-definition { font-size:13px; line-height:1.8; color:var(--ink-faint); }
.spread-interpretation { border-top:1px solid var(--line); padding-top:12px; font-size:14px; line-height:1.8; }
.spread-interpretation p { margin:8px 0; }.spread-interpretation small { display:block; font-size:13px; color:var(--ink-faint); line-height:1.8; }

.split-history-region .chart-canvas { min-height:0; }

.country-current-yields { padding:12px; margin:8px 0 14px; border-radius:8px; background:var(--intl-stat-bg); font:16px var(--mono); line-height:1.8; color:var(--ink); }
.reading-stage-heading { margin:0 0 10px; font-size:22px; }
.reading-stage-note { font-size:14px; line-height:1.8; color:var(--ink-faint); margin:0 0 18px; }
.country-analysis-grid,.country-scenario-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.policy-analysis-stage,.scenario-depth-stage { margin-top:24px; padding:24px; }
@media(max-width:660px) { .policy-analysis-stage,.scenario-depth-stage { padding:17px 14px; } }
@media(max-width:900px) { .country-analysis-grid,.country-scenario-grid { grid-template-columns:1fr; } }

.source-panel .hero-status { width:100%; margin-bottom:18px; }
@media(max-width:660px) {
 .hero-section { padding:6px 0 10px; gap:0; }
 .hero-copy .eyebrow { display:none; }
 .hero-section h1 { font-size:24px; line-height:1.25; margin:0 0 6px; }
 .hero-subtitle { font-size:13px; line-height:1.5; margin:0; }
 .notice { padding:8px 10px; font-size:13px; line-height:1.5; }
 .notice-stack { margin-bottom:10px; }
 .toolbar { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; padding:12px; }
 .toolbar-group { min-width:0; width:100%; gap:6px; }
 .toolbar .control-label { font-size:13px; }
 .toolbar .segment { padding:8px 6px; font-size:14px; min-height:44px; }
 .toolbar .segment span { display:none; }
 .toolbar .date-group { min-width:0; grid-column:1; }
 .toolbar .date-group select { width:100%; min-width:0; }
 .toolbar .refresh-button { width:100%; align-self:end; min-height:44px; }
 .date-scope-note { margin:8px 0; font-size:13px; line-height:1.55; }
 .chart-heading { gap:10px; margin-bottom:10px; }
 .chart-heading h2 { font-size:21px; line-height:1.35; }
 .chart-heading .eyebrow { font-size:11px; margin-bottom:5px; }
 .chart-heading .history-cutoff { font-size:13px; }
 .history-note { font-size:13px; line-height:1.65; margin:8px 0; }
 .country-history-panel h3 { margin-bottom:8px; font-size:21px; }
 .country-current-yields { font-size:14px; padding:10px; margin:6px 0 10px; line-height:1.7; }
 .split-history-region { margin-top:12px; }
}

@media(max-width:660px) { .chart-heading .eyebrow { display:none; } .chart-heading .history-cutoff { display:none; } }

@media(max-width:660px) { .toolbar-group { flex-direction:column; align-items:stretch; } .toolbar .segmented { width:100%; } .toolbar .segment { white-space:nowrap; } }

.split-curve-region { border-top:1px solid var(--line); padding-top:14px; margin-top:10px; }
.split-curve-chart { min-height:180px; height:180px; }
.chart-axis-spine { stroke:var(--ink-faint); stroke-width:1; opacity:.75; }
.split-curve-chart .zero { stroke:var(--ink); stroke-width:1.4; stroke-dasharray:5 4; }
.split-axis-note { margin:6px 0 10px; font-size:13px; color:var(--ink-faint); line-height:1.7; }

.history-duration-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:10px 0; }
.history-duration-controls b { font-size:14px; }.history-duration-controls .segment { min-height:44px; }
.history-coverage-note { font-size:13px; line-height:1.8; color:var(--ink-faint); margin:10px 0; }
.history-stats { display:grid; gap:10px; margin-top:14px; }
.history-summary-row { border:1px solid var(--line); border-radius:8px; padding:12px; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:14px; line-height:1.7; }
.history-summary-row b { flex-basis:100%; }.history-summary-row strong { font:17px var(--mono); line-height:1.7; }
.history-summary-row span,.history-summary-row small { flex-basis:100%; }.history-summary-row small { font-size:13px; color:var(--ink-faint); }
.expectation-data-note { border-left:3px solid var(--line-strong); padding:10px 14px; background:var(--intl-stat-bg); font-size:14px; line-height:1.8; margin:12px 0 20px; }

.curve-primer { margin-top:20px; padding:16px; background:var(--intl-stat-bg); border:1px solid var(--line); border-radius:10px; font-size:14px; line-height:1.7; }
.curve-primer h3 { font-size:17px; margin:0 0 10px; }.curve-primer p { margin:8px 0; }
.curve-primer-examples { display:grid; grid-template-columns:1fr 1fr; gap:6px 18px; }.curve-primer-examples span { display:block; }.curve-primer-note { color:var(--ink-faint); }
.chart-year-guide { stroke:var(--ink-soft); stroke-width:1; stroke-opacity:.13; stroke-dasharray:3 5; pointer-events:none; }
.chart-year-label { fill:var(--ink-faint); font:14px var(--mono); opacity:.8; pointer-events:none; }
.observation-details { margin-top:24px; }.observation-details > summary { display:flex; gap:10px 20px; align-items:baseline; cursor:pointer; font-size:20px; font-weight:600; list-style:none; }
.observation-details > summary::before { content:'+'; }.observation-details[open] > summary::before { content:'−'; }.observation-details summary small { font-size:14px; font-weight:400; color:var(--ink-faint); }.observation-detail-body { margin-top:20px; }
.scenario-source-figure { margin:20px 0 0; border-top:1px solid var(--line); padding-top:16px; }.scenario-source-figure svg { display:block; width:100%; height:auto; color:var(--ink); }
.scenario-figure-label { fill:var(--ink); font:14px var(--sans); }.scenario-figure-connector { stroke:var(--ink-faint); stroke-width:2; }.scenario-figure-policy { fill:var(--ink); }.scenario-figure-long { fill:var(--panel); stroke:var(--ink); stroke-width:2; }
.scenario-source-figure figcaption,.scenario-horizon-note { font-size:14px; line-height:1.7; color:var(--ink-faint); }.expectation-data-note p { margin:8px 0; }
@media(max-width:660px) { .curve-primer-examples { grid-template-columns:1fr; }.observation-details > summary { flex-wrap:wrap; gap:8px; }.observation-details summary small { flex-basis:100%; }.scenario-source-figure svg { min-width:0; } }

.scenario-source-figure { margin:0 0 20px; padding:0 0 16px; border-top:0; border-bottom:1px solid var(--line); }
.split-policy-chart { max-height:none; }

.spread-policy-control{display:flex;align-items:center;gap:8px;font-size:14px;margin:12px 0}.spread-policy-control input{width:18px;height:18px}.policy-overlay-axis{fill:var(--muted)}
.line-path[data-series="policy-overlay"] { stroke-width:1.5; }

.policy-lower-value { font-weight:400; }
.policy-upper-value { font-weight:700; }
#US-policy-legend [data-series="US_POLICY"] { font-weight:700; }
#US-policy-legend [data-series="US_POLICY_LOWER"] { font-weight:400; }
.line-path[data-series="US_POLICY_LOWER"] { stroke-width:1.5; }
.scenario-figure-policy { fill:#c93038; }
.scenario-target-range { fill:var(--country-us-10); opacity:.12; }
.scenario-interpretation { margin-top:12px; padding:12px 14px; border:1px dashed var(--line); border-radius:10px; color:var(--ink-soft, var(--ink)); }
.scenario-interpretation b { display:block; margin-bottom:4px; }
.scenario-interpretation p { margin:4px 0; }
.scenario-interpretation small { color:var(--ink-faint); }
.scenario-source-figure figcaption a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
.scenario-horizon-note.is-stale { color:#b4232c; }
:root[data-theme="dark"] .scenario-horizon-note.is-stale { color:#ef7b83; }
:root[data-theme="dark"] .scenario-figure-policy { fill:#ef7b83; }
.country-us .scenario-figure-long { stroke:var(--country-us-10); }

.watch-chart-wrap { display:block; overflow:visible; }
.watch-chart-wrap svg { min-width:0; width:100%; height:auto; }
.watch-mobile-summary { display:none; }
.watch-row-label { font:600 15px var(--sans); }
.watch-point-label { font:600 15px var(--mono); }
.watch-axis { font:400 14px var(--mono); }
.watch-policy-point { fill:#c93038; }
:root[data-theme="dark"] .watch-policy-point { fill:#ef7b83; }
.curve-primer-basics { font:400 14px/1.8 var(--sans); }
.curve-example-details summary { cursor:pointer; font-size:14px; margin-top:10px; }
.curve-example-details[open] .curve-primer-examples { margin-top:12px; }
/* 한미 금리차: 10년을 주선으로, 5년·30년은 보조선, 기준금리 차는 계단형 점선 */
#international-paths .line-path[data-series="5Y"],#international-paths .line-path[data-series="30Y"] { stroke-width:1.3; opacity:.85; }
#international-paths .line-path[data-series="10Y"] { stroke-width:2.6; }
#international-paths .line-path[data-series="POLICY_GAP"] { stroke-width:1.8; }
.expectation-data-note a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
/* 사분면 BEAR/BULL 캡션: 좁은 화면에서 SVG 축소를 보정 */
@media (max-width: 660px) { .axis-label { font-size: 26px; } }
