.kline-forecast-toggle{display:inline-flex;align-items:center;gap:6px;margin-right:5px;padding:0 6px;color:#bdcad8;font-size:12px;white-space:nowrap;cursor:pointer;user-select:none}
#klineTooltip{max-width:min(360px,calc(100% - 24px));white-space:normal;overflow-wrap:anywhere}
.kline-forecast-toggle input{width:15px;height:15px;margin:0;accent-color:#24cda4;cursor:pointer}
.kline-forecast-toggle:focus-within{outline:1px solid #51c8ef;outline-offset:3px;border-radius:3px}
.kline-forecast-toggle input:focus-visible{outline:2px solid #51c8ef;outline-offset:2px}
.kline-future-background{fill:#0d1520;fill-opacity:.6;stroke:none}
.kline-forecast-divider{stroke:#8795a8;stroke-width:1;stroke-dasharray:5 6}
.kline-forecast-label{fill:#a8bed2;font-size:11px;font-weight:600;stroke:none}
.kline-forecast-note{fill:#91a4b8;font-size:10px;stroke:none}
.kline-forecast-arrow{fill:none;stroke-width:2;stroke-dasharray:6 5;stroke-linejoin:round;stroke-linecap:round}
.kline-forecast-arrow.up{stroke:#13cf9c}.kline-forecast-arrow.down{stroke:#ff526d}.kline-forecast-arrow.flat{stroke:#a5b5c7}
#klineSvg marker path{stroke:none}#klineSvg marker .up{fill:#13cf9c}#klineSvg marker .down{fill:#ff526d}#klineSvg marker .flat{fill:#a5b5c7}
.kline-forecast-band{fill:#629bc5;fill-opacity:.09;stroke:none}
.kline-forecast-day-boundary{stroke:#364354;stroke-width:1;stroke-dasharray:2 6}
.kline-forecast-range{stroke:#7e97ad;stroke-width:1.4;stroke-dasharray:3 3}
.kline-forecast-candle{fill:#080b10;fill-opacity:.8;stroke-width:1.5;stroke-dasharray:3 2}
.kline-forecast-candle.up,.kline-forecast-range.up{stroke:#13cf9c}.kline-forecast-candle.down,.kline-forecast-range.down{stroke:#ff526d}.kline-forecast-candle.flat,.kline-forecast-range.flat{stroke:#a5b5c7}
.kline-forecast-cap.high{stroke:#13cf9c}.kline-forecast-cap.low{stroke:#ff526d}
.kline-forecast-connection{fill:none;stroke:#51b7f5;stroke-width:1.5;stroke-dasharray:4 3}
.kline-forecast-extreme{stroke-width:1;stroke:#061018}.kline-forecast-extreme.high{fill:#13cf9c}.kline-forecast-extreme.low{fill:#ff526d}
.kline-forecast-extreme-label,.kline-forecast-change{font-size:10px;font-weight:600;stroke:#0b121b;stroke-width:3px;paint-order:stroke fill;stroke-linejoin:round}
.kline-forecast-extreme-label.high,.kline-forecast-change.up{fill:#13cf9c}.kline-forecast-extreme-label.low,.kline-forecast-change.down{fill:#ff526d}
.kline-forecast-change.flat{fill:#a5b5c7}
.kline-forecast-table text{font-size:10px;stroke:none}.kline-forecast-table-date{fill:#a8bed2}.kline-forecast-table-high{fill:#13cf9c}.kline-forecast-table-low{fill:#ff526d}
.kline-forecast-change.compact,.kline-forecast-table.compact text{font-size:8.5px}
.kline-forecast-narrow-table{height:100%;overflow:auto;overscroll-behavior:contain;color:#a8bed2;font:10px/1.5 "Segoe UI",sans-serif;scrollbar-width:thin;touch-action:pan-y}
.kline-forecast-narrow-table p{margin:0 0 3px}.kline-forecast-narrow-table>div{padding:3px 0;border-bottom:1px solid #26354a}.kline-forecast-narrow-table strong,.kline-forecast-narrow-table span{display:block;white-space:nowrap}.kline-forecast-narrow-table .high{color:#13cf9c}.kline-forecast-narrow-table .low{color:#ff526d}
#klineForecastStatus{color:#8eacc4;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}
#klineForecastStatus[data-state="historical"]{color:#ffc157}
#klineForecastEvidence{padding:5px 12px;color:#a9bfd0;background:#101b27;border-bottom:1px solid #293b4d;font-size:10px;line-height:1.5}
#klineForecastEvidence[data-weak="true"]{color:#ffc157}
#klineForecastEvidence[hidden]{display:none}
.kline-range-row{display:block;padding:0;height:32px;min-height:32px}
#klineHistoryRange{display:grid;grid-template-columns:38px 1fr 38px minmax(260px,auto);gap:8px;align-items:center;height:100%;padding:0 12px}
.kline-range-row.forecast-split{display:grid;grid-template-columns:var(--forecast-divider,58%) minmax(0,1fr);gap:0;height:50px;min-height:50px}
#klineLiveRange{min-width:0;height:100%;padding:5px 7px 3px 12px;color:#91aabd}
#klineFutureRange{min-width:0;height:100%;padding:5px var(--forecast-axis,112px) 3px 7px;border-left:1px dashed #8795a8}
.kline-future-slider,.kline-live-slider{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px;align-items:center}
#klineForecastRange,#klineLiveSlider{min-width:0;width:100%;margin:0;accent-color:#24cda4}
#klineLiveSlider{accent-color:#51a9ee}
#klineFutureRange small,#klineLiveRange small{display:block;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;margin-top:2px}
#klineRangeRow [hidden]{display:none!important}
@media(max-width:820px){#klineHistoryRange{grid-template-columns:32px 1fr 32px}#klineHistoryRange small{display:none}#klineLiveRange{padding-left:6px;font-size:10px}.kline-future-slider,.kline-live-slider{font-size:9px;gap:2px}#klineFutureRange small,#klineLiveRange small{display:block;font-size:8px}}
@media(max-width:820px){.kline-forecast-toggle{margin-right:auto;padding-left:0;font-size:11px}.kline-tools button{padding-inline:7px!important;font-size:11px!important}#klineForecastStatus{max-width:150px}}
