.dv-history{--history-orange:#ee842b;--history-blue:#577e98;min-width:0}
.dv-history-legend{display:flex;justify-content:flex-end;gap:18px;flex-wrap:wrap;font-size:11px;color:#52657b;margin-bottom:10px}
.dv-history-legend span{display:flex;align-items:center;gap:7px}
.dv-history-legend span::before{content:"";width:17px;height:3px;border-radius:3px;background:var(--history-orange)}
.dv-history-legend .dv-history-avg::before{background:var(--history-blue)}
.dv-history-plot{position:relative;outline:none;border-radius:8px;touch-action:pan-y}
.dv-history-plot:focus-visible{outline:2px solid var(--history-orange);outline-offset:4px}
.dv-history-plot svg{display:block;width:100%;height:auto;overflow:visible}
.dv-history svg text{fill:#728092;font:11px system-ui,sans-serif;font-variant-numeric:tabular-nums}
.dv-history-grid{stroke:#dde3e9;stroke-width:1;stroke-dasharray:3 5}
.dv-history-tick-minor{stroke:#aebbc7;stroke-width:1}
.dv-site .dv-history .dv-shop-note{font-size:10px;text-align:center;margin:12px 0 0;line-height:1.5}
.dv-history-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.dv-history-line-min{stroke:var(--history-orange);stroke-width:2.5}
.dv-history-line-avg{stroke:var(--history-blue)}
.dv-history-guide{stroke:#a7b3c0;stroke-dasharray:4 4}
.dv-history-dot-min{fill:var(--history-orange);stroke:#fff;stroke-width:1.5}.dv-history-dot-avg{fill:var(--history-blue);stroke:#fff;stroke-width:1.5}
.dv-history-tooltip{position:absolute;top:4px;z-index:130;pointer-events:none;width:235px;max-width:100%;box-sizing:border-box;padding:12px 15px;border:1px solid #cbd4df;border-left:2px solid #ee842b;border-radius:10px;background:#f0f3f6;box-shadow:0 8px 26px #152b451f;color:#52657b;font-size:12px;line-height:1.7;text-align:left;font-variant-numeric:tabular-nums}
.dv-history-tooltip[hidden]{display:none}.dv-history-tooltip>strong{display:block;font-weight:500;margin-bottom:7px;color:#183047}.dv-history-tooltip>span{display:flex;justify-content:space-between;gap:12px}.dv-history-tooltip b{font-weight:500}.dv-history-tooltip>span:nth-child(2) b{color:#c96516}
.dv-history-window{position:relative;height:44px;margin:14px 9px 0;background:#e8edf2;border-radius:7px}
.dv-history-window>svg{width:100%;height:44px;display:block;opacity:.65}
.dv-history-preview-line{fill:none;stroke:#8ba1b2;stroke-width:1.5;vector-effect:non-scaling-stroke}
.dv-history-selection{position:absolute;top:0;bottom:0;left:0;right:0;border:1px solid #f0a66a;background:#ee842b0d;border-radius:6px;pointer-events:none}
.dv-site .dv-history-window input[type=range]{position:absolute;inset:0;width:100%;height:44px;margin:0;padding:0;border:0;box-shadow:none;appearance:none;-webkit-appearance:none;background:transparent;pointer-events:none;outline:none}
.dv-history-window input[type=range]::-webkit-slider-runnable-track{height:44px;background:transparent;border:0}
.dv-history-window input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:auto;cursor:ew-resize;width:12px;height:44px;background:linear-gradient(90deg,#fff 40%,#ee842b 40%,#ee842b 58%,#fff 58%);border:1px solid #dba477;border-radius:5px;box-shadow:0 2px 5px #152b451a}
.dv-history-window input[type=range]::-moz-range-track{height:44px;background:transparent;border:0}
.dv-history-window input[type=range]::-moz-range-thumb{pointer-events:auto;cursor:ew-resize;width:10px;height:42px;background:#fff;border:2px solid #ee842b;border-radius:5px}
.dv-history-window input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid #ee842b;outline-offset:3px}
.dv-history-window input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid #ee842b;outline-offset:3px}
.dv-history-dates{display:flex;justify-content:space-between;gap:15px;margin:9px 3px 0;font-size:11px;color:#728092;font-variant-numeric:tabular-nums}
.dv-history-dates output:last-child{text-align:right}.dv-history .dv-shop-note{font-size:11px;margin-bottom:0}
@media(max-width:450px){.dv-history-legend{gap:12px;font-size:10px}.dv-history-dates{font-size:10px}.dv-history-tooltip{font-size:11px;width:215px}}

/* Match the adjacent shop header's baseline, type and spacing. */
.dv-site .dv-pricechecker{padding:0;--history-orange:#ee842b;--history-blue:#577e98}
.dv-history-heading{display:flex;align-items:center;justify-content:space-between;gap:5px 14px;flex-wrap:wrap;padding:15px 16px;border-bottom:1px solid #d9dee3;border-radius:12px 12px 0 0;background:#f5f7f8}
.dv-site .dv-history-heading h3{margin:0;font-size:19px;line-height:1.15}
.dv-site .dv-history-heading .dv-history-legend{margin:0;font-size:12px;font-weight:400;font-family:inherit;line-height:inherit;color:#626d78;gap:12px;flex-wrap:nowrap}
.dv-pricechecker>.dv-history{padding:18px 20px}
.dv-pricechecker>.dv-pricechecker-placeholder{margin:18px 20px 0}
.dv-pricechecker>.dv-shop-note{margin:12px 20px 18px}
@media(max-width:600px){.dv-history-heading{align-items:flex-start;flex-direction:column;gap:5px;padding:15px}}
