.mini-history-chart-layout{height:auto!important;align-items:stretch!important}
.mini-history-column{display:flex;flex-direction:column;gap:12px;min-width:0}
.compact-explorer .mini-history-column>.treemap,.compact-explorer .mini-history-column>.piechart{height:var(--chart-height,520px);min-height:0;max-height:none;margin:0;width:100%;min-width:0}
.mini-history-chart-layout>.chart-sidebar,.mini-history-chart-layout>.function-rows{height:100%;min-height:0;max-height:none;overflow-y:auto;align-self:stretch}
.mini-history-host{min-width:0;margin-top:auto}
.mini-history,.mini-history-empty{background:#fff;border:1px solid #d9dee8;border-radius:10px;padding:13px 15px;color:#17243a}
.mini-history{--trend-color:#516578}
.mini-history.trend-up{--trend-color:#b42318}
.mini-history.trend-down{--trend-color:#087443}
.mini-history-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
.mini-history h3{font-size:16px;margin:0 0 3px}
.mini-history-head p,.mini-history-note,.mini-history-empty p{font-size:12px;line-height:1.4;color:#5b6475;margin:0}
.mini-history-change{text-align:right;white-space:nowrap}
.mini-history-change strong{display:block;font-size:21px;color:var(--trend-color)}
.mini-history-change span{font-size:11px;color:#5b6475}
.mini-history-scroll{overflow:hidden;margin-top:7px}
.mini-history svg{display:block;min-width:0;width:100%;height:auto}
.mini-history svg line{stroke:#d5dbe6}
.mini-history svg .history-segment{stroke-width:3;stroke-linecap:round}
.mini-history svg .history-segment.trend-up{stroke:#b42318}
.mini-history svg .history-segment.trend-down{stroke:#087443}
.mini-history svg .history-segment.trend-flat{stroke:#516578}
.mini-history svg .history-point{stroke:#fff;stroke-width:1.5}
.mini-history svg .history-point.trend-up{fill:#b42318}
.mini-history svg .history-point.trend-down{fill:#087443}
.mini-history svg .history-point.trend-flat{fill:#516578}
.mini-history svg text{font:10px system-ui,sans-serif;fill:#617087}
.mini-history-ends{display:flex;justify-content:space-between;gap:10px;font-size:11px;font-weight:700;margin-top:1px}
.mini-history-ends span:last-child{color:var(--trend-color)}
.mini-history-note{border-top:1px solid #e3e7ef;margin-top:8px;padding-top:7px}
.mini-history-note a{color:#234caa;font-weight:700}
.mini-history-empty strong{font-size:15px}
.mini-history-empty p{margin-top:5px}
@media(max-width:1000px){.mini-history-chart-layout>.function-rows{height:auto;overflow:visible}}
@media(max-width:760px){.mini-history-chart-layout>.chart-sidebar{height:auto;max-height:440px}.mini-history-column{gap:10px}.mini-history,.mini-history-empty{padding:12px}.mini-history svg text:not(.major){display:none}}
.mini-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0 2px}
.mini-history-stat{min-width:0;padding:7px 8px;border:1px solid #e0e5ed;border-radius:7px;background:#f8fafc}
.mini-history-stat small{display:block;font-size:10px;line-height:1.25;color:#5b6475}
.mini-history-stat strong{display:block;margin-top:3px;font-size:13px;line-height:1.25;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mini-history-stat.trend-up strong{color:#b42318}
.mini-history-stat.trend-down strong{color:#087443}
.mini-history-stat.trend-flat strong{color:#516578}
@media(max-width:650px){.mini-history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.mini-history-partial-chart{display:flex;align-items:end;gap:12px;min-height:95px;margin:9px 0 4px}
.mini-history-partial-gap{display:flex;align-items:end;justify-content:space-between;flex:1;min-width:0;height:48px;padding-bottom:7px;border-bottom:2px dashed #cbd4df;color:#657184;font-size:11px}
.mini-history-partial-gap span:nth-child(2){align-self:center;text-align:center;font-size:12px}
.mini-history-partial-point{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:100px;color:#263f6f;font-size:11px;font-weight:750}
.mini-history-partial-point strong{font-size:17px;white-space:nowrap}
.mini-history-partial-point strong{order:0}
.mini-history-partial-point:after{content:'';order:1;width:11px;height:11px;border-radius:50%;background:#3861ae;box-shadow:0 0 0 3px white}
.mini-history-partial-point span{order:2}
@media(max-width:420px){.mini-history-partial-gap span:nth-child(2){font-size:10px}.mini-history-partial-point{min-width:76px}.mini-history-partial-point strong{font-size:14px}}
