/* Shared research presentation. Numerical and trading authority stays in the API. */
:root{color-scheme:dark;--page:#0c1015;--surface:#13191f;--inset:#0f151b;--border:#273039;--secondary:#98a5b1;--accent:#88d2bc;--ink:#e9eeed}
html body,html body #root{background:#0c1015;color:var(--ink);font-family:Inter,"Pretendard","Segoe UI",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;font-synthesis:none}
body main,body .app-shell{width:min(1400px,100%);padding:28px 40px 56px;margin:auto}
body header,body .topbar{align-items:center;margin:0 0 28px;padding-bottom:24px;border-bottom:1px solid var(--border);gap:18px}
body .eyebrow{color:var(--accent);font:600 10px/1.5 ui-monospace,monospace;letter-spacing:.2em}
body header h1,body .topbar h1{font-weight:550;font-size:clamp(24px,3vw,32px);letter-spacing:-.05em;line-height:1.3;margin:8px 0}
body .sub,body .subtle{color:var(--secondary);font-size:12px;line-height:1.8}
body .top-actions{gap:20px}body .top-actions .edition{font:500 10px ui-monospace,monospace;color:#9da9b3;letter-spacing:.07em}
body .btn,body .ghost{background:#19232a;color:#d2e3de;border:1px solid #34443f;border-radius:6px;font-size:12px;font-weight:550;padding:10px 15px;transition:background .15s,border-color .15s}
body .btn:hover,body .ghost:hover{background:#23342e;border-color:#668d7c}body .ghost:disabled{opacity:.4;background:transparent;cursor:default}
body .selector,body .controlbar{background:transparent;border:0;border-radius:0;padding:0;margin:0 0 20px;gap:16px}
body .selector{grid-template-columns:100px minmax(0,490px);justify-content:start}
body label,body .chart-selector span{font-size:10px;letter-spacing:.09em;color:var(--secondary)}
body select,body .chart-selector select{height:42px;background:#161e25;color:var(--ink);border:1px solid #303a44;border-radius:6px;font-size:12px;font-weight:500}
body .card,body .forecast-panel,body .chart-pane{background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 5px 18px #0000000a}
body .card{padding:24px}body .grid{gap:18px;margin-top:18px}body .decision-main{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
body .card h2{font-size:12px;font-weight:550;color:#acb8c0;letter-spacing:.01em;margin-bottom:14px}
body .hero{font-size:clamp(40px,4.5vw,60px);font-weight:500;letter-spacing:-.055em;font-variant-numeric:tabular-nums;line-height:1.15}
body #asOf{font-size:11px;line-height:1.7;margin-top:8px;color:#91a1ad}
body .metric,body .curve-node,body .system-lane{background:var(--inset);border-color:#222c34;border-radius:6px;padding:14px}
body .metric b{font-family:inherit;font-size:10px;font-weight:500;letter-spacing:.03em;color:#95a5b1;margin-bottom:7px}
body .metric span{font-size:17px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
body .decision-main>.card>.metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0 0;gap:0;border-top:1px solid var(--border);padding-top:18px}
body .decision-main>.card>.metrics .metric{padding:0 12px;background:transparent;border:0;border-left:1px solid var(--border);border-radius:0}
body .decision-main>.card>.metrics .metric:first-child{padding-left:0;border-left:0}
body .decision-overview{padding:17px 22px;gap:16px;border-left:1px solid var(--border)!important;border-top:2px solid #617c72!important;grid-template-columns:minmax(0,1fr) minmax(170px,.4fr);background:#151e21}
body .decision-overview h2{font-size:10px!important;color:var(--accent);margin-bottom:6px!important}
body .decision-overview h3{font-size:22px;font-weight:550;letter-spacing:-.04em;margin:0 0 4px}
body .decision-overview p{font-size:12px;color:#a0aeb8;margin:4px 0}
body .decision-overview ul{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;padding:0;list-style:none;color:#95a5af;font-size:10px}
body .decision-overview li::before{content:'·';margin-right:6px;color:var(--accent)}
body .decision-overview .decision-quantity{font-size:15px;font-weight:500;color:#d0dbd7}
body .decision-overview .decision-source{font-size:10px;color:#8ea09f;line-height:1.6}
body .etf-market{margin-top:20px;padding-top:14px}body .etf-main{gap:16px}body .etf-main .metric{background:transparent;border:0;border-radius:0;padding:0}
body .etf-main .metric span{font-size:18px;font-weight:500}body .etf-market h3,body .etf-quality,body .etf-note{font-size:10px;color:#93a3af;line-height:1.7}
body .flow-chart h3{font-size:24px;font-weight:550;letter-spacing:-.04em}body .flow-chart p{font-size:11px;color:#96a5b0}
body .trend-bars{gap:12px;margin:18px 0}body .trend-track{background:#0d141a;height:6px;border-radius:2px}body .trend-fill{top:0;bottom:0;border-radius:1px}body .trend-zero{background:#6c7e87}
body .up .trend-fill{background:#e5aa94}body .down .trend-fill{background:#7faac9}body .trend-row-head{font-size:11px}body .trend-row-head b{font-weight:500}
body .flow-context{gap:6px;margin-top:16px}body .flow-context>div{font-size:11px}body .flow-context span{font-weight:500}
body .forecast-panel{padding:24px;margin:18px 0}body .forecast-panel .forecast-panel{padding:0;margin:18px 0 0;border:0;box-shadow:none}
body .forecast-head{align-items:center}body .forecast-head h2{font-size:17px;font-weight:550;letter-spacing:-.025em;color:var(--ink)!important}
body .forecast-state,body .live-badge,body .demo-badge{border:1px solid #37453f;background:#1c2b26;color:#b4d0c5;font:500 10px/1.5 inherit;border-radius:4px;white-space:normal;padding:5px 9px}
body .forecast-note{font-size:11px;color:#92a5b0;line-height:1.8;margin:10px 0}
body .forecast-plots{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:24px;margin:20px 0}
body .forecast-plot{padding:0;background:transparent;border:0;border-radius:0;display:flex;flex-direction:column;min-width:0}
body .forecast-plot+.forecast-plot{padding-left:24px;border-left:1px solid var(--border)}
body .forecast-plot h3{font-size:11px;font-weight:500;color:#a3b4bc;margin:0}
body .plot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;margin-bottom:8px}
body .forecast-plot svg{display:block;width:100%;height:auto;overflow:hidden;color:#8496a2}
body .forecast-plot svg text{font:10px ui-monospace,monospace}body .forecast-plot svg .plot-grid{stroke:#60747c;stroke-opacity:.18;stroke-dasharray:3 5}
body .price-readout{display:flex;align-items:baseline;gap:10px;min-height:30px;font-size:11px;color:#899ca8}
body .price-readout strong{color:#d5e9e0;font-size:20px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
body .forecast-toggle{gap:3px;margin:0;flex-wrap:wrap}body .forecast-toggle button{background:transparent;border:1px solid transparent;border-radius:4px;padding:5px 9px;color:#90a3ae;font-size:10px}
body .forecast-toggle button:hover{color:#d4e3dc}body .forecast-toggle button[aria-pressed=true]{background:#253630;border-color:#3c564b;color:#c4e4d6}
body .forecast-cards{gap:12px;margin-top:20px}body .forecast-card{background:#10171d;border:1px solid #273138;border-radius:7px;padding:16px;position:relative;overflow:hidden}
body .forecast-card::before{content:'';display:block;width:20px;height:2px;background:var(--horizon-color);margin-bottom:14px}
body .forecast-card h3{font-size:20px;font-weight:500;letter-spacing:-.04em;margin-bottom:6px}body .forecast-card p{font-size:11px;color:#94a5b0;line-height:1.8;margin:6px 0}
body .forecast-prob{display:grid;grid-template-columns:1fr auto;gap:5px;font-size:11px;margin:12px 0;color:#9dacb4}body .forecast-prob b{color:#dee7e3;font-weight:500;font-size:15px}
body .forecast-prob i{grid-column:1/3;height:3px;display:block;background:var(--horizon-color);border-radius:2px}
body .plot-empty{flex:1;min-height:200px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:22px 5px;gap:10px}
body .plot-empty .empty-glyph{font:300 30px ui-monospace,monospace;letter-spacing:.15em;color:#536961}
body .plot-empty strong{font-size:13px;font-weight:500;color:#b0c1bc}body .plot-empty p{max-width:230px;font-size:11px;color:#8c9eaa;line-height:1.9;margin:0}
body .forecast-legend{font-size:10px;gap:18px;color:#a0b1b9;margin:14px 0 0}
body .live-basis{padding:16px 0 0;border-radius:0;background:transparent;border-top:1px solid var(--border);font-size:11px;color:#99acb5}
body .live-basis>strong{font-size:11px;font-weight:550;color:#bac9c8}body .live-basis ul{display:flex;flex-wrap:wrap;gap:4px 22px;font-size:10px}
body .live-capacity{border-color:#5a5037;background:#231f18;color:#d2c6aa!important;font-weight:400}
body .technical-details,body .daily-curve,body details.forecast-panel{padding:18px 22px}
body summary{font-size:12px!important;font-weight:500!important;color:#b7c8c4!important;cursor:pointer;line-height:1.7}
body details[open]>summary{margin-bottom:18px}body .status-code{color:#8a9ca7;font-weight:400;font-size:9px!important}
body .history-row{background:#10171d;border-color:#242e36;font-size:11px;line-height:1.5;border-radius:5px}body .history-row.head{background:transparent;color:#91a2ad}
body .muted,body .system-map-meta{color:#94a4ae}body a{color:#9fd1bd}body .state{background:#1b2b25;border-color:#3c5549;color:#bddbcc}
body .controlbar{flex-wrap:wrap;gap:12px}body .sync-toggle{background:#141f23;border-color:#293e37;color:#a4b6b2}
body .controlbar .ghost{padding:9px 12px}body .topbar .demo-badge{background:#18201e;color:#a0b9b0;border-color:#304238}
body .workspace-items,body .risk-summary>div{background:#141c22;border-color:#29333b}
body :is(button,a,select,summary,input):focus-visible{outline:2px solid var(--accent);outline-offset:4px}
body .price-plot{touch-action:pan-y;cursor:crosshair}body .price-cursor{accent-color:#88d2bc;width:100%;height:12px;margin-top:6px;cursor:ew-resize}
body .research-footer{margin-top:26px;display:flex;justify-content:space-between;gap:12px;color:#8496a2;font:10px ui-monospace,monospace;letter-spacing:.04em;line-height:1.8}
@media(min-width:1100px){body .app-shell .forecast-plots{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}body .app-shell .forecast-plot svg{max-height:370px}}
@media(max-width:900px){body main,body .app-shell{padding:24px 22px 40px}body .top-actions .edition{display:none}body .forecast-plots{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px}body .forecast-plot+.forecast-plot{padding-left:18px}body .decision-main>.card>.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}body .decision-main>.card>.metrics .metric:nth-child(3){border-left:0;padding-left:0}}
@media(max-width:760px){body header,body .topbar{flex-direction:row;align-items:flex-start;margin-bottom:20px;padding-bottom:20px}body .top-actions{padding-top:8px}body .btn{white-space:nowrap}body header h1,body .topbar h1{font-size:25px}body .sub,body .subtle{max-width:310px}body .decision-main{grid-template-columns:1fr}body .decision-overview{grid-template-columns:1fr;gap:10px}body .decision-side{border-color:#2b3935;padding-top:10px}body .card,body .forecast-panel{padding:20px}body .forecast-plots{grid-template-columns:minmax(0,1fr);gap:24px}body .forecast-plot+.forecast-plot{padding:20px 0 0;border-left:0;border-top:1px solid var(--border)}body .forecast-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body .forecast-card{padding:12px}body .forecast-card h3{font-size:18px}body .forecast-card p{font-size:10px}body .forecast-head{align-items:flex-start}body .plot-empty{min-height:140px}body .selector{grid-template-columns:minmax(0,1fr);gap:8px}body .hero{font-size:48px}body .forecast-plot svg{min-height:160px}body .research-footer{flex-wrap:wrap}}
@media(max-width:460px){body main,body .app-shell{padding:20px 16px 32px}body .topbar{flex-direction:column}body header .sub{max-width:235px}body .forecast-cards{grid-template-columns:1fr}body .forecast-card{padding:14px 16px}body .forecast-card::before{float:right;margin-top:10px}body .forecast-card h3{font-size:20px}body .forecast-card p{font-size:11px}body .card,body .forecast-panel{padding:18px}body .forecast-head h2{font-size:16px}body .forecast-state{font-size:10px}body .controlbar .chart-selector{flex-basis:100%}body .price-readout strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){body *,body *::before,body *::after{transition:none!important;scroll-behavior:auto!important}}
