:root{--price-history-max:#11181d;--price-history-grid:rgba(50,90,80,.16);--price-history-surface:#fff;--price-history-ink:#173c37}
html[data-theme="dark"],html[data-theme="night"]{--price-history-max:#fff;--price-history-grid:rgba(210,245,235,.19);--price-history-surface:#102a29;--price-history-ink:#e5fff6}
@media(prefers-color-scheme:dark){html:not([data-theme="bright"]):not([data-theme="light"]){--price-history-max:#fff;--price-history-grid:rgba(210,245,235,.19);--price-history-surface:#102a29;--price-history-ink:#e5fff6}}
.price-history-trigger{display:inline-flex!important;align-items:center;justify-content:flex-start;width:auto!important;max-width:100%;min-height:0;padding:0!important;margin:0;border:0!important;border-radius:3px;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit;font-weight:inherit;text-align:inherit;text-decoration:underline;text-decoration-color:rgba(88,164,138,.45);text-underline-offset:4px;cursor:pointer;touch-action:manipulation}
.price-history-trigger:hover{text-decoration-color:#60cfa8}
.price-history-trigger:focus-visible{outline:2px solid #60cfa8;outline-offset:4px}
.phone-shell dialog.price-history-dialog,dialog.price-history-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 28px);padding:clamp(16px,4vw,28px);border:1px solid rgba(111,211,179,.5);border-radius:20px;background:var(--price-history-surface);color:var(--price-history-ink);overflow:auto;box-shadow:0 16px 80px rgba(0,0,0,.3)}
.price-history-dialog::backdrop{background:rgba(8,24,25,.56);backdrop-filter:blur(4px)}
.price-history-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}
.price-history-heading h2{margin:0 0 6px;font-size:clamp(22px,5vw,30px)}
.price-history-heading p{margin:0;overflow-wrap:anywhere}
.price-history-dialog button{width:auto;cursor:pointer;color:inherit}
.price-history-close{flex:none;background:none;border:1px solid var(--price-history-grid);border-radius:8px;padding:7px 12px}
.price-history-controls{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 14px}
.price-history-ranges,.price-history-legend{display:flex;gap:6px;flex-wrap:wrap}
.price-history-ranges button,.price-history-legend button{background:none;border:1px solid var(--price-history-grid);border-radius:9px;padding:7px 10px;font:inherit;font-size:13px}
.price-history-ranges button[aria-pressed="true"]{background:#73dfb7;color:#102b23;border-color:#73dfb7}
.price-history-controls select{max-width:145px;width:auto;font:inherit;background:var(--price-history-surface);color:inherit;border:1px solid var(--price-history-grid);border-radius:9px;padding:7px}
.price-history-legend{justify-content:center;margin:8px 0}
.price-history-legend button{display:inline-flex;align-items:center;gap:7px;border-color:transparent}
.price-history-legend button[aria-pressed="false"]{opacity:.4}
.phone-shell .price-history-legend button{background:transparent;color:inherit}
.price-history-legend i{width:18px;height:3px;border-radius:2px;display:inline-block}
.price-history-svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}
.price-history-svg text{font-family:inherit;fill:var(--price-history-ink);font-size:11px}
.price-history-grid{stroke:var(--price-history-grid);stroke-width:1}
.price-history-current{font-size:22px;font-weight:750;margin:12px 0 4px}
.price-history-status{min-height:24px;font-size:13px;text-align:center;margin:6px 0 0}
.price-history-values{display:flex;justify-content:center;gap:8px 18px;flex-wrap:wrap;font-size:13px;min-height:44px;padding:10px 0}
.price-history-values time{flex-basis:100%;text-align:center;font-weight:650}
.price-history-loading{min-height:230px;display:grid;place-content:center;color:var(--price-history-ink)}
.price-history-svg:focus-visible{outline:2px solid #73dfb7;border-radius:8px}
@media(max-width:480px){.price-history-controls{gap:10px}.price-history-ranges{gap:3px}.price-history-ranges button{padding:7px 9px}.price-history-controls select{max-width:112px}.price-history-heading h2{font-size:23px}}
