.pool-history{--history-accent:#efba5e;margin:20px 0 24px;padding:24px;border:1px solid #282b31;border-radius:20px;background:linear-gradient(145deg,#12151b,#0c0f14);color:#e8edf5;min-width:0;overflow:hidden}
.pool-history *{box-sizing:border-box}
.pool-history-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.pool-history-eyebrow{font-size:10px;letter-spacing:.18em;color:var(--history-accent);font-weight:800}
.pool-history-head h3{font-size:19px;line-height:1.35;margin:5px 0;color:#f3f6fa}
.pool-history-head p{font-size:12px;color:#a0aabc;margin:0}
.pool-history-ranges{display:flex;gap:4px;padding:4px;background:#080b10;border:1px solid #272c35;border-radius:12px;flex-shrink:0}
.pool-history-ranges button{min-width:49px;min-height:39px;border:0;border-radius:8px;background:transparent;color:#adb6c6;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.pool-history-ranges button[aria-pressed=true]{background:#32291b;color:#ffdaa0}
.pool-history-ranges button:hover{color:#fff}
.pool-history-ranges button:focus-visible,.pool-history-plot svg:focus-visible{outline:2px solid #efba5e;outline-offset:3px}
.pool-history-reading{display:flex;align-items:baseline;gap:12px;min-height:56px;flex-wrap:wrap;margin-bottom:10px}
.pool-history-reading strong{font-size:26px;line-height:1.2;font-weight:750;color:#f5f7fb;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.pool-history-reading>span:not(.pool-history-badge){font-size:12px;color:#9da8ba}
.pool-history-badge{margin-left:auto;border:1px solid #34383e;border-radius:999px;padding:5px 9px;color:#a5afbf;font-size:10px;white-space:nowrap}
.pool-history-badge.recording{border-color:#25473a;background:#10271d;color:#66d6a4}
.pool-history-chart{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;height:220px}
.pool-history-scale{display:flex;flex-direction:column;justify-content:space-between;font-size:10px;color:#929eaf;padding:6px 0 4px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.pool-history-plot{position:relative;min-width:0;height:220px}
.pool-history-plot svg{display:block;width:100%;height:220px;overflow:visible;touch-action:pan-y}
.pool-history-grid{stroke:#252a34;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:3 5}
.pool-history-line{stroke:var(--history-accent);fill:none;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.pool-history-point{fill:var(--history-accent);stroke:#17181a;stroke-width:1;vector-effect:non-scaling-stroke}
.pool-history-point.partial{fill:#15171c;stroke:var(--history-accent);stroke-width:1.5}
.pool-history-cursor{stroke:#9da8b7;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}
.pool-history-times{display:flex;justify-content:space-between;margin:10px 0 0 82px;font-size:10px;color:#939fb0;font-variant-numeric:tabular-nums}
.pool-history-note{margin:17px 0 0;font-size:11px;line-height:1.65;color:#939fb0}
.pool-history-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:10px}
.pool-history-empty[hidden]{display:none}
.pool-history-empty strong{color:#c7d0dd;font-size:15px}
.pool-history-empty span{color:#8d99ac;font-size:12px;max-width:320px;line-height:1.5}
@media(max-width:700px){
 .pool-history{padding:18px 14px;border-radius:16px;margin:16px 0 20px}
 .pool-history-head{gap:12px;flex-wrap:wrap;margin-bottom:14px}
 .pool-history-head h3{font-size:17px}
 .pool-history-ranges{margin-left:auto}
 .pool-history-ranges button{min-width:43px;min-height:40px}
 .pool-history-reading{gap:8px;min-height:72px;position:relative}
 .pool-history-reading strong{font-size:24px}
 .pool-history-reading>span:not(.pool-history-badge){flex-basis:100%;font-size:11px;order:3}
 .pool-history-chart{grid-template-columns:58px minmax(0,1fr);gap:8px;height:190px}
 .pool-history-plot,.pool-history-plot svg{height:190px}
 .pool-history-scale{font-size:9px}
 .pool-history-times{margin-left:66px}
 .pool-history-note{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.pool-history *{scroll-behavior:auto}}
