.price-history-button{display:flex;align-items:center;gap:6px;padding:5px 0;min-height:30px;margin-top:5px;border:0;background:transparent;color:#576d55;font:inherit;font-size:10px;line-height:1.5;cursor:pointer;text-align:left;text-decoration:underline;text-decoration-color:#afbea7;text-underline-offset:4px}
.price-history-button:hover{color:var(--accent);text-decoration-color:currentColor}
.price-history-button svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.detail-price>.price-history-button{font-size:12px;margin-top:9px;min-height:36px}
.history-dialog{color:var(--ink);background:var(--paper);width:min(580px,calc(100vw - 36px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #d9e0d3;border-radius:16px;box-shadow:0 24px 100px #17251d33;overflow:auto}
.history-dialog::backdrop{background:#19241ed1;backdrop-filter:blur(4px)}
.history-dialog-open{overflow:hidden}
.history-heading{position:sticky;top:0;display:flex;justify-content:space-between;gap:20px;align-items:start;background:var(--paper);padding:28px 30px 23px;border-bottom:1px solid var(--line);z-index:1}
.history-heading .section-label{font-size:10px;margin-bottom:8px;padding:0}
.history-heading h2{font-size:30px;line-height:1.2;letter-spacing:-.045em}
.history-close{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:transparent;cursor:pointer}
.history-close:hover{background:var(--soft)}
.history-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.history-body{padding:24px 30px 30px}
.history-current{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:0 0 24px}
.history-current span{font-size:11px;color:var(--muted)}
.history-current strong{font-size:25px;font-weight:500;letter-spacing:-.04em;white-space:nowrap}
.history-list{list-style:none;margin:0;padding:0}
.history-entry{padding:20px 0;border-top:1px solid var(--line)}
.history-entry:last-child{padding-bottom:0}
.history-date{display:block;margin-bottom:14px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.history-prices{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.history-prices dt{color:var(--muted);font-size:10px;margin-bottom:5px}
.history-prices dd{font-size:18px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.history-before dd{color:var(--muted)}
.history-after dd{font-weight:600}
.history-message{font-size:13px;line-height:1.8;color:var(--muted)}
.history-list+.history-message{margin-top:24px}
.history-retry{border:1px solid var(--line);border-radius:6px;padding:10px 15px;background:var(--soft);cursor:pointer;margin-top:18px;font:inherit;font-size:12px}
@media(max-width:760px){.price-history-button{min-height:36px;margin-top:3px}.history-dialog{max-height:calc(100dvh - 32px);border-radius:12px}.history-heading{padding:22px 20px 19px}.history-heading h2{font-size:27px}.history-body{padding:20px}.history-current{display:grid;gap:5px}.history-current strong{font-size:27px}.history-prices{gap:15px}.history-prices dd{font-size:16px}.history-date{font-size:10px}}
@media(max-width:360px){.history-prices{grid-template-columns:1fr;gap:14px}.history-heading{gap:12px}}
