.seoul-history{padding:24px;background:white;color:#243c53}
.seoul-history-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 16px;min-width:0}
.seoul-history-title-row{grid-column:1/-1;min-width:0}
.seoul-history-head .seoul-history-title{width:100%;min-width:0;white-space:nowrap;overflow:hidden;line-height:1.5}
.seoul-history-title>span{display:inline-block;white-space:nowrap}
.seoul-history-title-main{color:#193c50;font-weight:800}
.seoul-history-title-separator{color:#8999a5;font-size:.78em;font-weight:400}
.seoul-history-title-prompt{color:#337773;font-size:.78em;font-weight:500;letter-spacing:-.025em}
.seoul-history-head h2{margin:6px 0;color:#193c50;font-size:clamp(22px,2.1vw,28px);font-weight:800;letter-spacing:-.04em}
.seoul-history-head p{margin:0;color:#63778b;font-size:14px}
.seoul-history-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#52667a;font-size:13px}
.seoul-history-controls label{display:flex;align-items:center;gap:6px}
.seoul-history-controls select,.seoul-history-controls button,.seoul-history-stepper button{border:1px solid #d7e2ec;border-radius:6px;background:#fff;padding:6px 10px;min-height:36px;font-size:13px}
.seoul-history-controls button:hover,.seoul-history-stepper button:hover:not(:disabled){background:#eff6f8}
.seoul-history-controls button[aria-pressed=true]{background:#e9f4f2;border-color:#80b6ac}
.seoul-history-scope{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #cbdde9;border-radius:8px;background:#eff4f8}
.seoul-history-controls .seoul-history-scope button{min-width:60px;padding:5px 13px;border:0;border-radius:5px;background:transparent;color:#52667a;font-size:14px;font-weight:700}
.seoul-history-controls .seoul-history-scope button[aria-selected=true]{background:#174669;color:white;box-shadow:0 1px 3px #173d602a}
.seoul-history-controls .seoul-history-scope button:disabled{opacity:.48;cursor:default}
.seoul-history-series{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 2px 7px;color:#63778b;font-size:13px}
.seoul-history-series span{display:inline-flex;align-items:center;gap:6px}
.seoul-history-series i{width:22px;height:3px;background:#007f78}
.seoul-history-series i.rent{background:repeating-linear-gradient(90deg,#cd683d 0 7px,transparent 7px 11px)}
.seoul-history-series .rate-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:#513584;font-weight:650}
.seoul-history-series .rate-toggle input{accent-color:#7047a7;width:15px;height:15px;margin:0;cursor:pointer}
.seoul-history-series i.rate{background:#7047a7}
.seoul-history-series small{margin-left:auto;font-size:12px}
.seoul-history-viewport{overflow-x:auto;scrollbar-width:thin}
.seoul-history-plot{position:relative;width:100%}
.seoul-history-plot.enlarged{min-width:1600px}
.seoul-history-plot svg{display:block;width:100%;height:auto;font-family:var(--font-sans),sans-serif}
.seoul-history-plot text{pointer-events:none}
.seoul-history-plot .axis-label{fill:#65778a;font-size:12px}
.seoul-history-plot .rate-axis-label{fill:#7047a7;font-size:12px;font-weight:650}
.seoul-history-plot .gov-name{fill:#334155;font-size:12px;font-weight:700}
.seoul-history-plot .small-label{fill:#65778a;font-size:11px}
.seoul-history-plot .issue-number{fill:#fff;font-size:11px;font-weight:700}
.seoul-history-plot .issue-date{fill:#627389;font-size:12px;font-weight:700}
.seoul-history-plot .issue-title{fill:#263e55;font-size:15px;font-weight:750}
.seoul-history-plot .issue-line{fill:#51687d;font-size:13px}
.seoul-history-plot .issue-summary{fill:#627389;font-size:12px}
.seoul-issue-card{cursor:pointer;outline:none}
.seoul-issue-card:hover rect:first-child{fill:#edf6f8;stroke:#20364c}
.seoul-issue-card:focus-visible rect:first-child{stroke:#20364c;stroke-width:3}
.seoul-issue-arrow .connector{fill:none;stroke:#718399;stroke-width:1;opacity:.42}
.seoul-issue-arrow .stem{fill:none;stroke:#718399;stroke-width:1;stroke-dasharray:3 4;opacity:.65}
.seoul-issue-arrow.is-emphasized .connector,.seoul-issue-arrow.is-emphasized .stem{stroke:#20364c;stroke-width:2;opacity:1}
.seoul-issue-arrow.is-emphasized .stem{stroke-dasharray:none}
.seoul-issue-arrow.is-muted{opacity:.19}
.seoul-history-tooltip{position:absolute;z-index:4;pointer-events:none;padding:8px 11px;border-radius:6px;background:#20364c;color:white;font-size:12px;box-shadow:0 4px 18px #20364c25;min-width:134px}
.seoul-history-tooltip b{display:block;margin-bottom:4px}
.seoul-history-govs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 15px;margin:8px 0;color:#52667a;font-size:12px}
.seoul-history-govs span{display:inline-flex;align-items:center;gap:5px}
.seoul-history-govs i{display:inline-block;width:10px;height:10px;border-radius:2px}
.seoul-history-govs .acting{background:repeating-linear-gradient(135deg,#89909c 0 1px,#eee 1px 4px)}
.seoul-history-note{margin:6px 0;color:#63778b;font-size:13px;text-align:center}
.seoul-history-rate-note{margin:5px 0 18px;color:#63778b;font-size:12px;text-align:center;line-height:1.5}
.seoul-history-rate-note a{color:#7047a7;text-decoration:underline;text-underline-offset:3px}
.seoul-history-nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}
.seoul-history-nav button{background:#fff;border:1px solid #dce5ed;border-radius:6px;padding:6px 9px;min-height:36px;font-size:13px;color:#243c53}
.seoul-history-nav button[aria-pressed=true]{color:white;border-color:#243c53;background:#243c53}
.seoul-history-nav button small{font-size:11px;margin-right:6px;opacity:.75}
.seoul-history-detail{scroll-margin-top:18px}
.seoul-history-detail-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.seoul-history-detail h3{margin:5px 0 0;font-size:22px;letter-spacing:-.025em;font-weight:780}
.seoul-history-stepper{display:flex;align-items:center;gap:8px;white-space:nowrap}
.seoul-history-stepper span{color:#63778b;font-size:13px}
.seoul-history-stepper button:disabled{opacity:.4;cursor:default}
.seoul-history-analysis{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:16px}
.seoul-history-story,.seoul-history-evidence{min-width:0;padding:22px;border:1px solid #dce5ed;border-radius:8px;background:#fff}
.seoul-history-story .lead{font-size:18px;line-height:1.7;letter-spacing:-.02em;margin:0 0 22px}
.seoul-history-story .scope-context{margin:0 0 15px;padding:10px 12px;border-left:3px solid #477cba;background:#f0f5fa;color:#36556d;font-size:14px;line-height:1.6}
.seoul-history-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.seoul-history-points section{border-top:2px solid #e2edf2;padding-top:12px}
.seoul-history-points h4,.seoul-history-evidence h4{margin:0 0 7px;font-size:15px;font-weight:760}
.seoul-history-points p,.seoul-history-evidence>p{margin:0;color:#546a7e;font-size:14px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.seoul-history-story .small-note{border-top:1px solid #dce5ed;margin-top:18px;padding-top:12px;color:#63778b;font-size:13px}
.seoul-history-perspectives{margin-top:20px;padding-top:16px;border-top:1px solid #dce5ed}
.seoul-history-perspectives>header{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-bottom:12px}
.seoul-history-perspectives>header h4{margin:0;color:#263e55;font-size:15px;font-weight:760}
.seoul-history-perspectives>header>span{color:#63778b;font-size:12px;line-height:1.6}
.seoul-history-perspective-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.seoul-history-perspective{min-width:0;padding:14px 16px;border:1px solid #dae5ee;border-radius:7px;background:#f5f8fc}
.seoul-history-perspective.consumer{border-color:#d7e7e2;background:#f3f8f6}
.seoul-history-perspective h5{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#315c85;font-size:14px;font-weight:750;line-height:1.5}
.seoul-history-perspective.consumer h5{color:#257364}
.seoul-history-perspective h5 svg{width:17px;height:17px;flex:none;stroke-width:1.8}
.seoul-history-perspective>strong{display:block;margin:0 0 7px;color:#263e55;font-size:14px;font-weight:750;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}
.seoul-history-perspective dl{display:grid;gap:12px;margin:0}
.seoul-history-perspective dt{margin:0 0 4px;color:#526c84;font-size:12px;font-weight:750;line-height:1.6}
.seoul-history-perspective dd{margin:0;color:#546a7e;font-size:14px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.seoul-history-perspective-action{padding-top:10px;border-top:1px solid #dce5ed}
.seoul-history-perspective-action dt{color:#315c85}
.seoul-history-perspective.consumer .seoul-history-perspective-action{border-color:#d7e7e2}
.seoul-history-perspective.consumer .seoul-history-perspective-action dt{color:#257364}
.seoul-history-perspective-action dd{color:#304b62}
.seoul-history-perspectives>.seoul-history-perspective-note{margin:10px 0 0;color:#63778b;font-size:12px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
.seoul-history-analysis>.seoul-history-evidence{align-self:start}
.seoul-history-evidence .period{margin:3px 0 13px;color:#63778b;font-size:13px}
.seoul-history-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:16px}
.seoul-history-metrics div{padding:12px;background:#f0f8f6;border-radius:7px}
.seoul-history-metrics div+div{background:#fcf4ef}
.seoul-history-metrics small{display:block;color:#627689;font-size:13px}
.seoul-history-metrics strong{display:block;color:#007f78;font-size:clamp(17px,2vw,26px);font-variant-numeric:tabular-nums;letter-spacing:-.04em;white-space:nowrap}
.seoul-history-metrics div+div strong{color:#cd683d}
.seoul-history-evidence .national{margin-top:12px;padding:10px;background:#f5f8fa;border-radius:6px;color:#52667a;font-size:13px}
.seoul-history-evidence .national b{display:block}
.seoul-history-sources{display:flex;gap:8px 14px;flex-wrap:wrap;margin-top:16px;padding-top:13px;border-top:1px solid #dce5ed}
.seoul-history-sources a,.seoul-history-method a{font-size:13px;color:#00776f;text-decoration:underline;text-underline-offset:3px}
.seoul-history-method{margin-top:20px;padding-top:16px;border-top:1px solid #dce5ed;font-size:13px;color:#5e7386}
.seoul-history-method summary{cursor:pointer;color:#243c53;font-weight:700}
.seoul-history-method p{margin:9px 0;line-height:1.8}
.seoul-history-state{padding:45px 10px;text-align:center;color:#536b76;font-size:14px}
.seoul-history-state button{margin-left:8px;color:#08766e;text-decoration:underline}
.seoul-history:fullscreen{overflow:auto;background:#fff;padding:24px}
@media(max-width:1200px){.seoul-history-points{grid-template-columns:1fr;gap:15px}}
@media(max-width:980px){.seoul-history-plot{min-width:1160px}.seoul-history-analysis{grid-template-columns:1fr}.seoul-history-points{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.seoul-history{padding:15px 10px}.seoul-history-head{grid-template-columns:minmax(0,1fr)}.seoul-history-head h2{font-size:22px}.seoul-history-controls{min-width:0}.seoul-history-plot{min-width:1300px}.seoul-history-series{gap:8px;font-size:12px}.seoul-history-series small{width:100%;margin-left:0}.seoul-history-govs{justify-content:flex-start}.seoul-history-note,.seoul-history-rate-note{text-align:left}.seoul-history-detail-head{display:block}.seoul-history-stepper{margin-top:12px}.seoul-history-detail h3{font-size:19px}.seoul-history-story,.seoul-history-evidence{padding:16px}.seoul-history-story .lead{font-size:17px}.seoul-history-points{grid-template-columns:1fr}}
@media(max-width:650px){.seoul-history-perspective-grid{grid-template-columns:1fr;gap:10px}.seoul-history-perspective{padding:13px}.seoul-history-perspectives{margin-top:16px;padding-top:14px}}
@font-face{font-family:"History Pretendard";src:url("/fonts/history-pretendard.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
.market-history-preview-page{max-width:1560px;margin:0 auto;padding:14px 22px 32px;color:#243c53;min-width:0}
.market-history-preview-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-bottom:12px;padding:8px 14px;border:1px solid #cbdde5;border-radius:7px;background:#f2f7fa;font-size:14px;line-height:1.6}
.market-history-preview-banner>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.market-history-preview-banner svg{width:18px;height:18px;flex:none;color:#276c7d}
.market-history-preview-banner strong{font-weight:750}
.market-history-preview-banner span{color:#617889}
.market-history-preview-banner a{font-weight:700;color:#08766e;text-decoration:underline;text-underline-offset:4px;min-height:30px;display:flex;align-items:center}
.seoul-history-preview{border-radius:9px;min-width:0;padding:18px 20px}
.seoul-history-preview .seoul-history-head{gap:3px 16px}
.seoul-history-preview .seoul-history-title-row{grid-column:1;grid-row:1}
.seoul-history-preview .seoul-history-head>p{grid-column:1;grid-row:2}
.seoul-history-preview .seoul-history-controls{grid-column:2;grid-row:1 / 3}
.seoul-history-preview .seoul-history-head h2{font-size:26px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
.seoul-history-preview .seoul-history-series{margin:10px 2px 3px;font-size:14px}
.seoul-history-preview .seoul-history-series small{font-size:12px}
.seoul-history-preview .chart-view-toolbar{padding-top:0}
.seoul-history-preview .chart-view-toolbar>button{min-height:32px;padding:5px 10px}
.seoul-history-plot.seoul-history-integrated{min-width:1200px}
.seoul-history-plot.seoul-history-integrated.enlarged{min-width:1600px}
.seoul-history-integrated .axis-label,.seoul-history-integrated .rate-axis-label{font-size:16px}
.seoul-history-integrated .gov-name,.seoul-history-integrated .small-label{font-size:16px}
.seoul-history-integrated svg{font-family:"History Pretendard",var(--font-sans),sans-serif}
.seoul-history-integrated .seoul-issue-card,.seoul-history-preview .seoul-history-detail{font-family:var(--font-sans),sans-serif}
.seoul-history-integrated .issue-number,.seoul-history-integrated .issue-date{font-size:16px}
.seoul-history-integrated .issue-title{font-size:19px;font-weight:750}
.seoul-history-integrated .issue-line{font-size:18px}
.seoul-history-integrated .issue-summary{font-size:16px}
.seoul-history-integrated .seoul-issue-arrow .connector{opacity:.28}
.seoul-history-integrated .seoul-issue-arrow .stem{opacity:.4}
.seoul-history-integrated .seoul-issue-arrow.is-emphasized .connector,.seoul-history-integrated .seoul-issue-arrow.is-emphasized .stem{opacity:1;stroke-width:2.4}
.seoul-history-integrated .seoul-issue-arrow.is-muted{opacity:.12}
.seoul-history-point-label{font-size:17px;font-weight:550;letter-spacing:-.015em;fill:#345368;stroke:#fff;stroke-width:3px;paint-order:stroke;stroke-linejoin:round}
.seoul-history-preview .seoul-history-note,.seoul-history-preview .seoul-history-rate-note{font-size:12px}
.seoul-history-selection-bar{display:flex;align-items:center;gap:12px;margin:14px 0 18px;padding:10px 12px;background:#f3f7f9;border:1px solid #d7e3e9;border-radius:6px;font-size:14px;min-width:0}
.seoul-history-selection-bar span{flex:1;min-width:0;color:#31516b;font-weight:650;overflow-wrap:anywhere}
.seoul-history-selection-bar button{flex:none;min-height:38px;padding:7px 12px;background:#fff;border:1px solid #c3d4df;border-radius:5px;color:#31516b;font-size:14px;font-weight:650}
.seoul-history-selection-bar button:last-child{background:#1d655f;color:#fff;border-color:#1d655f}
.seoul-history-selection-bar button:focus-visible{outline:2px solid #007f78;outline-offset:2px}
.seoul-history-preview .seoul-history-analysis{grid-template-columns:minmax(0,1fr) 310px}
.seoul-history-preview .seoul-history-story,.seoul-history-preview .seoul-history-evidence{padding:18px}
.seoul-history-preview .seoul-history-points{grid-template-columns:repeat(3,minmax(0,1fr))}
.seoul-history-preview .seoul-history-story .lead{font-size:17px;margin-bottom:18px}
.seoul-history-preview .seoul-history-points p,.seoul-history-preview .seoul-history-perspective dd{font-size:16px;line-height:1.8}
.seoul-history-preview .seoul-history-perspective-grid{gap:12px}
@media(max-width:1150px){.market-history-preview-page{padding:12px}.seoul-history-preview .seoul-history-analysis{grid-template-columns:minmax(0,1fr) 280px}.seoul-history-preview .seoul-history-points,.seoul-history-preview .seoul-history-perspective-grid{grid-template-columns:1fr}}
@media(max-width:1000px){.seoul-history-preview .seoul-history-title-row{grid-column:1/-1;grid-row:auto}.seoul-history-preview .seoul-history-head>p{grid-column:1;grid-row:auto}.seoul-history-preview .seoul-history-controls{grid-column:2;grid-row:auto}.seoul-history-preview .seoul-history-head{gap:8px 12px}}
@media(max-width:900px){.seoul-history-preview .seoul-history-analysis{grid-template-columns:1fr}.seoul-history-preview .seoul-history-points{grid-template-columns:repeat(3,minmax(0,1fr))}.seoul-history-preview .seoul-history-perspective-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seoul-history-preview .seoul-history-head h2{font-size:23px}}
@media(max-width:650px){.market-history-preview-page{padding:8px}.market-history-preview-banner{padding:8px 10px}.market-history-preview-banner span{flex-basis:100%;font-size:13px}.seoul-history-preview{padding:14px 10px}.seoul-history-preview .seoul-history-head h2{font-size:22px}.seoul-history-preview .seoul-history-head>p,.seoul-history-preview .seoul-history-controls{grid-column:1}.seoul-history-preview .chart-view-toolbar>button,.seoul-history-selection-bar button{min-height:44px}.seoul-history-preview .chart-view-wide .seoul-history-plot{min-width:1200px}.seoul-history-preview .chart-view-wide .seoul-history-plot.enlarged{min-width:1600px}.seoul-history-preview .seoul-history-points,.seoul-history-preview .seoul-history-perspective-grid{grid-template-columns:1fr}.seoul-history-preview .seoul-history-story,.seoul-history-preview .seoul-history-evidence{padding:14px}.seoul-history-selection-bar{flex-wrap:wrap;gap:8px}.seoul-history-selection-bar span{flex-basis:65%}.seoul-history-selection-bar button:last-child{margin-left:auto}}
