:root{color:#e2e8f0;font-synthesis:none;text-rendering:optimizelegibility;background:#050b14;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{background:radial-gradient(circle at 15% -10%,#0e749024,#0000 34rem),radial-gradient(circle at 95% 0,#6366f114,#0000 30rem),#050b14;min-width:320px;min-height:100%;margin:0}button{font:inherit}.app-shell{width:min(1680px,100%);margin:0 auto;padding:22px 24px 32px}.topbar{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:16px;display:flex}.eyebrow{color:#38bdf8;letter-spacing:.14em;font:700 11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}h1{letter-spacing:-.035em;margin:5px 0 3px;font-size:clamp(24px,3vw,38px);line-height:1}.subtle{color:#64748b;margin:0;font-size:13px}.demo-badge,.live-badge{white-space:nowrap;border-radius:999px;padding:7px 11px;font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace}.demo-badge{color:#fbbf24;background:#f59e0b14;border:1px solid #f59e0b59}.live-badge{color:#86efac;background:#22c55e1a;border:1px solid #22c55e61}.controlbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f172ab8;border:1px solid #94a3b81f;border-radius:12px;align-items:center;gap:10px;padding:8px;display:flex}.ghost{cursor:pointer;color:#94a3b8;background:0 0;border:0;border-radius:6px;padding:6px 11px;font-size:12px;font-weight:700}.ghost:hover{color:#e2e8f0;background:#94a3b81a}.risk-summary{grid-template-columns:minmax(220px,1.4fr) repeat(6,minmax(90px,.7fr));gap:7px;margin-bottom:10px;display:grid}.risk-summary>div{color:#94a3b8;background:#0f172a85;border:1px solid #94a3b81a;border-radius:9px;justify-content:space-between;gap:12px;padding:8px 10px;font:600 10px ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.risk-summary>div:not(.risk-title){flex-direction:column}.risk-summary b,.risk-summary span{color:#dbeafe}.risk-title{flex-direction:column}.risk-title span{color:#fbbf24}.risk-title small{color:#64748b}.workspace{gap:8px;display:grid}.chart-pane{cursor:crosshair;touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;background:linear-gradient(#0f172adb,#07111fd6);border:1px solid #94a3b81f;border-radius:12px;height:230px;position:relative;overflow:hidden}.chart-pane:first-child{height:300px}.chart-gl,.chart-overlay{width:100%;height:100%;display:block;position:absolute;inset:0}.chart-overlay{pointer-events:none}@media (width<=900px){.app-shell{padding:14px 12px 24px}.topbar{flex-direction:column;gap:10px}.controlbar{flex-wrap:wrap}.chart-pane{height:180px}.chart-pane:first-child{height:230px}}.topbar h1{font-size:clamp(30px,3.2vw,44px)}.eyebrow{font-size:12px}.subtle{font-size:13px}.controlbar button{font-size:12px}.risk-summary>div{min-height:54px}.risk-summary b{color:#94a3b8;font-size:11px}.risk-summary span{letter-spacing:-.01em;font-size:14px;font-weight:800}.risk-title span{font-size:12px}.risk-title small{font-size:11px;line-height:1.35}@media (width<=1200px){.risk-summary{grid-template-columns:repeat(3,minmax(140px,1fr))}.risk-title{grid-column:1/-1}}.chart-selector{color:#64748b;align-items:center;gap:7px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-flex}.chart-selector span{text-transform:uppercase;letter-spacing:.08em}.chart-selector select{color:#dbeafe;background:#020617d1;border:1px solid #94a3b82e;border-radius:7px;outline:none;min-width:250px;height:31px;padding:0 30px 0 9px;font:650 11px ui-monospace,SFMono-Regular,Menlo,monospace}.chart-selector.compact select{min-width:112px}.chart-selector select:focus{border-color:#38bdf88c;box-shadow:0 0 0 2px #38bdf814}.chart-selector select:disabled{opacity:.5}.workspace-items{scrollbar-width:thin;background:#0206176b;border:1px solid #94a3b81a;border-radius:10px;align-items:center;gap:6px;min-height:38px;margin:8px 0;padding:7px 9px;display:flex;overflow-x:auto}.workspace-items>strong{color:#38bdf8;flex:none;font:800 11px ui-monospace,SFMono-Regular,Menlo,monospace}.workspace-arrow{color:#475569;flex:none}.workspace-item{color:#94a3b8;background:#0f172ac7;border:1px solid #94a3b81f;border-radius:999px;flex:none;padding:4px 8px;font:650 10px ui-monospace,SFMono-Regular,Menlo,monospace}.workspace-item.kind-primary_price{color:#bae6fd;border-color:#38bdf847}.workspace-item.kind-strategy,.workspace-item.kind-scenario{color:#ddd6fe;border-color:#a78bfa3d}.workspace-item.kind-product_quality{color:#fde68a;border-color:#f59e0b3d}.workspace-item.kind-research_report{color:#cbd5e1}.unsupported-panel{color:#64748b;background:#0f172a6b;border:1px dashed #94a3b838;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:220px;display:flex}.unsupported-panel strong{color:#e2e8f0;font:800 22px ui-monospace,SFMono-Regular,Menlo,monospace}@media (width<=1100px){.chart-selector{flex:240px}.chart-selector select,.chart-selector.compact select{width:100%;min-width:0}}.chart-gl{z-index:0}.chart-overlay{z-index:1}.interactive-legend{z-index:4;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020617e0;border:1px solid #94a3b824;border-radius:8px;align-items:center;gap:5px;padding:4px;display:flex;position:absolute;top:8px;right:92px;box-shadow:0 8px 24px #00000029}.interactive-legend button{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:6px;min-height:25px;padding:4px 7px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-flex}.interactive-legend button:hover{color:#f8fafc;background:#94a3b81a}.interactive-legend button.active{color:#f8fafc;background:#1e293bf5;border-color:#38bdf852}.legend-swatch{border-radius:50%;flex:0 0 9px;width:9px;height:9px;box-shadow:0 0 0 1px #ffffff24}.series-detail-card{z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:default;background:#020617f0;border:1px solid #94a3b82e;border-radius:10px;width:min(280px,100% - 112px);padding:10px 11px;position:absolute;top:52px;right:92px;box-shadow:0 14px 40px #00000047}.series-detail-head{align-items:center;gap:7px;display:flex}.series-detail-head strong{color:#f8fafc;font:800 12px ui-monospace,SFMono-Regular,Menlo,monospace}.series-detail-head button{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:5px;width:22px;height:22px;margin-left:auto;font-size:16px;line-height:1}.series-detail-head button:hover{color:#f8fafc;background:#94a3b81f}.series-detail-card p{color:#64748b;margin:7px 0 9px;font-size:10px;line-height:1.35}.series-detail-card dl{grid-template-columns:1fr 1fr;gap:6px;margin:0;display:grid}.series-detail-card dl>div{background:#0f172ab8;border:1px solid #94a3b817;border-radius:7px;padding:6px 7px}.series-detail-card dt{color:#64748b;margin-bottom:3px;font:650 9px ui-monospace,SFMono-Regular,Menlo,monospace}.series-detail-card dd{color:#e2e8f0;margin:0;font:800 11px ui-monospace,SFMono-Regular,Menlo,monospace}.series-detail-card dd.up{color:#86efac}.series-detail-card dd.down{color:#fca5a5}@media (width<=760px){.interactive-legend{max-width:calc(100% - 102px);right:86px;overflow-x:auto}.series-detail-card{width:min(250px,100% - 102px);right:86px}}body{-webkit-overflow-scrolling:touch;overflow:hidden auto}#root{min-height:100dvh}.chart-pane{touch-action:pan-y pinch-zoom}.workspace-items,.interactive-legend,.series-detail-card{touch-action:pan-x pan-y}@media (width<=640px){.app-shell{padding:12px 8px 28px}.topbar{gap:8px;margin-bottom:10px}.topbar h1{overflow-wrap:anywhere;font-size:24px;line-height:1.08}.eyebrow{font-size:10px}.subtle{font-size:11px;line-height:1.4}.demo-badge,.live-badge{text-overflow:ellipsis;max-width:100%;font-size:10px;overflow:hidden}.controlbar{grid-template-columns:1fr;gap:7px;padding:7px;display:grid}.chart-selector,.chart-selector.compact{grid-template-columns:74px minmax(0,1fr);width:100%;display:grid}.chart-selector select,.chart-selector.compact select{width:100%;min-width:0;height:36px;font-size:11px}.ghost{background:#02061761;border:1px solid #94a3b81f;width:100%;min-height:36px}.workspace-items{overscroll-behavior-x:contain;min-height:40px;margin:7px 0;padding:6px 7px}.workspace-item{font-size:9px}.risk-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.risk-title{grid-column:1/-1}.risk-summary>div{min-width:0;min-height:50px;padding:7px 8px}.risk-summary b{font-size:10px}.risk-summary span{font-size:13px}.chart-pane{border-radius:10px;height:240px}.chart-pane:first-child{height:280px}.interactive-legend{overscroll-behavior-x:contain;scrollbar-width:none;max-width:none;padding:3px;top:7px;left:8px;right:68px;overflow-x:auto}.interactive-legend::-webkit-scrollbar{display:none}.interactive-legend button{flex:none;min-height:28px;padding:4px 7px;font-size:9px}.series-detail-card{width:auto;max-height:calc(100% - 64px);top:52px;left:8px;right:68px;overflow-y:auto}.series-detail-card dl{grid-template-columns:1fr 1fr}.unsupported-panel{text-align:center;min-height:160px;padding:18px}}@media (width<=390px){.risk-summary{grid-template-columns:1fr}.risk-title{grid-column:auto}.chart-pane{height:230px}.chart-pane:first-child{height:270px}.series-detail-card dl{grid-template-columns:1fr}}.level-legend.with-series{top:42px}.legend-title{color:#64748b;letter-spacing:.08em;text-transform:uppercase;flex:none;padding:0 4px;font:800 9px ui-monospace,SFMono-Regular,Menlo,monospace}.level-value{color:#e2e8f0;margin-left:2px;font-size:10px}.level-detail-card{z-index:6}@media (width<=640px){.level-legend.with-series{top:40px}.level-value{font-size:9px}}.sync-toggle{color:#cbd5e1;cursor:pointer;-webkit-user-select:none;user-select:none;background:#0206178c;border:1px solid #94a3b824;border-radius:7px;align-items:center;gap:7px;min-height:31px;padding:0 9px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-flex}.sync-toggle:hover{background:#0f172ad1;border-color:#38bdf847}.sync-toggle input{accent-color:#38bdf8;cursor:pointer;width:14px;height:14px;margin:0}.sync-toggle span{white-space:nowrap}.sync-toggle small{color:#64748b;text-align:right;min-width:24px;font-size:9px}.sync-toggle:has(input:checked){color:#e0f2fe;background:#0e74901f;border-color:#38bdf857}.sync-toggle:has(input:checked) small{color:#38bdf8}.sync-toggle:has(input:disabled){opacity:.45;cursor:default}@media (width<=640px){.sync-toggle{justify-content:center;min-height:36px}}.chart-pane.level-hover{cursor:pointer}
