.history-page{display:flex;flex-direction:column;gap:24px;min-width:0;color:var(--ink)}.history-page :is(h1,h2,h3,p){margin:0}.history-page a,.history-page button{touch-action:manipulation}.history-intro{display:grid;gap:8px}.history-eyebrow-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px}.history-eyebrow-row>span{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:99px;background:var(--accent-surface);color:var(--green);font-size:10px;font-weight:700}.history-eyebrow-row>small{color:var(--muted);font-size:10px}.history-intro h1{font-size:28px;line-height:1.3;letter-spacing:-.8px;font-weight:800}.history-intro p{font-size:13px;line-height:1.6;max-width:900px;color:var(--muted)}.history-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:-6px}.history-metrics>article{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:18px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 3px #0b1c3005;min-width:0}.history-metrics>article>div{display:flex;align-items:start;justify-content:space-between;gap:8px;font-size:11px;line-height:1.4}.history-metrics svg{box-sizing:content-box;flex:none;padding:7px;border-radius:8px;background:var(--accent-surface);color:var(--green)}.history-metrics>article:nth-child(3) svg{background:var(--error-surface);color:var(--error-ink)}.history-metrics>article:nth-child(4) svg{background:var(--warning-surface);color:var(--warning-ink)}.history-metrics strong{font-size:21px;font-weight:800;letter-spacing:-.4px;line-height:1.3;margin-top:auto;font-variant-numeric:tabular-nums}.history-metrics small{font-size:10px;line-height:1.5;color:var(--green);margin-top:-7px;overflow-wrap:anywhere}.history-metrics>article:nth-child(3) small{color:var(--muted)}.history-filters{display:flex;flex-direction:column;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;min-width:0}.history-product-row{display:flex;align-items:center;gap:12px;min-width:0}.history-product-icon{box-sizing:content-box;padding:10px;background:var(--surface-muted);border:1px solid var(--line);border-radius:12px;flex:none;color:var(--green)}.reference-public .history-product-field{flex:1;min-width:200px;font-size:10px;font-weight:500}.reference-public .history-product-field select{font-size:15px;font-weight:700;background:transparent;border:0;padding:3px 22px 3px 0;margin:0;min-height:36px}.history-product-field .search-select-trigger{font-size:15px;font-weight:700;background:transparent;border:0;padding:3px 0;margin:0;min-height:36px;text-align:start}.history-categories{display:flex;align-items:center;gap:5px;overflow:auto;max-width:48%;scrollbar-width:thin;padding-bottom:4px}.history-categories button{padding:7px 10px;border:0;border-radius:7px;background:var(--surface-muted);color:var(--ink);font-size:10px;white-space:nowrap;font-weight:650;cursor:pointer;min-height:30px}.history-categories button[aria-pressed=true]{background:var(--green);color:var(--on-green)}.history-context-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:20px;padding-top:16px;border-top:1px solid var(--line)}.history-city-form{display:flex;align-items:end;gap:9px;min-width:0}.history-city-form>.field{flex:1;min-width:0}.history-city-form>svg{flex:none;color:var(--green);margin-bottom:12px}.history-city-form>.text-button{font-size:11px;min-height:42px;flex:none;color:var(--green)}.history-condition{min-width:0}.history-filter-bottom{display:flex;align-items:center;gap:16px;padding-top:16px;border-top:1px solid var(--line);min-width:0}.history-periods{flex:none;display:flex;background:var(--surface-muted);border:1px solid var(--line);padding:4px;border-radius:10px;gap:2px}.history-periods button{font-size:10px;font-weight:650;line-height:1.3;min-width:42px;padding:7px 8px;min-height:34px;border:0;border-radius:7px;background:transparent;color:var(--ink);cursor:pointer}.history-periods button[aria-pressed=true]{background:var(--surface);color:var(--green);box-shadow:0 1px 3px #00000008}.history-branch-filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.history-branch-filters>span{font-size:10px;white-space:nowrap}.history-branch-filters button{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;min-height:27px;border:1px solid var(--line);border-radius:99px;background:var(--surface);color:var(--muted);font-size:10px;font-weight:500;cursor:pointer;line-height:1.4;text-align:start}.history-branch-filters button[aria-pressed=true]{border-color:color-mix(in srgb,var(--series-color) 35%,var(--line));background:color-mix(in srgb,var(--series-color) 6%,var(--surface));color:var(--series-color)}.history-branch-filters button>i{flex:none;width:6px;height:6px;background:var(--series-color);border-radius:50%}.history-branch-filters button[aria-pressed=false]{opacity:.6}.history-branch-filters button>svg{flex:none}.history-chart-panel,.history-comparison,.history-recent,.history-thermometer{background:var(--surface);border:1px solid var(--line);border-radius:16px;min-width:0;box-shadow:0 1px 3px #0b1c3005}.history-chart-panel{padding:24px}.history-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.history-panel-heading h2{font-size:17px;font-weight:750;line-height:1.4;letter-spacing:-.35px;display:flex;align-items:center;gap:7px}.history-panel-heading p{font-size:10px;line-height:1.6;color:var(--muted);margin-top:4px}.history-panel-heading h2>svg{flex:none;color:var(--green)}.history-best-price{display:flex;align-items:center;gap:9px;flex:0 1 260px;background:var(--accent-surface);border:1px solid color-mix(in srgb,var(--green) 20%,var(--line));border-radius:10px;padding:9px 13px;color:var(--dark);min-width:180px}.history-best-price>svg{flex:none}.history-best-price small{display:block;font-size:9px}.history-best-price strong{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.history-best-price span{font-size:9px;line-height:1.4}.history-chart-canvas{position:relative;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:14px 14px 12px;margin-top:24px;overflow:hidden}.history-chart-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-size:9px;line-height:1.4}.history-chart-legend>span{display:inline-flex;align-items:center;gap:5px}.history-chart-legend i{width:11px;height:2px;flex:none}.history-chart-legend small{margin-left:auto;font-size:9px;color:var(--muted)}.history-average-legend:before{content:"";width:12px;border-top:1px dashed var(--muted)}.history-timeline{margin-top:18px;min-width:0}.history-timeline svg{display:block;width:100%;height:auto;overflow:visible;font-size:10px;font-family:inherit;min-height:200px}.history-timeline text{fill:var(--muted);font-size:10px}.history-grid-line{stroke:var(--line);stroke-width:1;stroke-dasharray:2 3}.history-average-line{stroke:var(--muted);stroke-width:1.5;stroke-dasharray:6 4}.history-timeline circle:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.history-record{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:10px 14px;border-radius:10px;background:#0b1c30;color:#f8fafc;width:fit-content;margin:4px auto 0;max-width:100%;box-shadow:0 4px 8px #0001}.history-record>span{display:flex;gap:5px;align-items:center;font-size:9px;font-weight:650;color:#a7f3d0}.history-record>strong{font-size:15px;font-weight:800}.history-record strong small{font-size:10px;font-weight:400}.history-record>small{font-size:9px;color:#e2e8f0}.history-chart-empty{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;color:var(--muted);font-size:12px;padding:24px}.history-chart-empty small{font-size:11px}.history-notice{padding:14px 18px;background:var(--warning-surface);border:1px solid color-mix(in srgb,var(--warning-ink) 25%,var(--line));color:var(--warning-ink);border-radius:10px;font-size:11px;line-height:1.7}.history-comparison{overflow:hidden}.history-comparison>.history-panel-heading{padding:22px 20px}.history-export,.history-refresh{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;border:1px solid var(--line);border-radius:7px;padding:7px 11px;min-height:32px;background:var(--surface-muted);color:var(--ink)}.history-table-scroll{overflow-x:auto;max-width:100%;scrollbar-width:thin}.history-comparison table{width:100%;border-collapse:collapse;font-size:11px;min-width:860px;text-align:start}.history-comparison th{background:var(--bg);font-size:9px;font-weight:650;line-height:1.5;padding:14px 16px;color:var(--ink);border-block:1px solid var(--line);text-align:start}.history-comparison td{padding:18px 16px;border-bottom:1px solid var(--line);vertical-align:middle;font-variant-numeric:tabular-nums}.history-comparison tr[data-best=true]{background:color-mix(in srgb,var(--accent-surface) 35%,var(--surface))}.history-comparison td>strong{font-weight:800;font-size:14px}.history-comparison td>small{display:block;font-size:9px;color:var(--muted);margin-top:4px;line-height:1.6}.history-market-cell{display:flex;align-items:center;gap:10px;min-width:200px}.history-market-cell strong{display:block;font-size:11px;line-height:1.5}.history-market-cell small{display:block;font-size:9px;line-height:1.5;color:var(--muted);margin:4px 0}.history-market-logo{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:8px;background:var(--accent-surface);color:var(--green)}.history-market-logo .branch-logo{width:32px;height:32px;border:0;border-radius:8px}.history-table-badge{display:inline-block;border-radius:99px;background:var(--accent-surface);color:var(--green);font-size:8px;font-weight:650;padding:3px 7px;margin-top:3px}.history-historical{background:var(--surface-muted);color:var(--muted)}.history-green{color:var(--green)}.history-variation{display:inline-flex;align-items:center;gap:3px;background:var(--accent-surface);color:var(--green);padding:3px 6px;border-radius:5px;white-space:nowrap;font-size:10px}.history-variation[data-direction=up]{background:var(--error-surface);color:var(--error-ink)}.history-table-actions{display:flex;align-items:center;gap:5px}.history-table-actions a{display:grid;place-items:center;width:28px;height:32px;color:var(--ink);border-radius:6px}.history-table-actions a:hover{color:var(--green);background:var(--accent-surface)}.history-table-empty{padding:24px;text-align:center;font-size:12px;color:var(--muted)}.history-table-note{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;gap:12px;font-size:9px;color:var(--muted)}.history-table-note>.text-button{font-size:10px;gap:5px;min-height:30px}.history-bottom-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:24px}.history-recent,.history-thermometer{padding:20px;display:flex;flex-direction:column;gap:18px}.history-bottom-grid .history-panel-heading{gap:10px;align-items:start}.history-bottom-grid h2{font-size:16px}.history-method-tag{font-size:8px;padding:4px 7px;background:var(--accent-surface);color:var(--green);border-radius:99px;line-height:1.4;max-width:100px}.history-gauge-box{background:var(--surface-muted);border:1px solid var(--line);border-radius:12px;padding:16px}.history-gauge-labels{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:8px;margin-bottom:12px}.history-gauge-labels>span:first-child{color:var(--green)}.history-gauge-labels>span:last-child{color:var(--error-ink)}.history-gauge-track{height:8px;border-radius:99px;background:linear-gradient(90deg,#10b981,#facc15,#f43f5e);position:relative;margin-bottom:20px}.history-gauge-track>i{display:block;position:absolute;top:50%;transform:translate(-50%,-50%);width:15px;height:15px;background:var(--surface);border:2px solid var(--green);border-radius:50%;box-shadow:0 1px 4px #0003}.history-gauge-track>i:after{content:"";position:absolute;inset:3px;background:var(--green);border-radius:50%}.history-gauge-box h3{font-size:13px;line-height:1.5;font-weight:700;color:var(--dark);margin-bottom:10px}.history-gauge-box p{font-size:11px;line-height:1.8;color:var(--muted)}.history-gauge-box>small{font-size:9px;color:var(--muted);line-height:1.6;display:block;margin-top:10px}.history-contribute-cta{display:flex;align-items:center;gap:14px;justify-content:space-between;border-top:1px solid var(--line);padding-top:14px;font-size:9px;color:var(--muted);margin-top:auto}.history-contribute-cta>a{display:flex;gap:6px;align-items:center;justify-content:center;padding:9px 12px;background:var(--warning-surface);color:var(--warning-ink);border-radius:7px;font-size:10px;font-weight:650;white-space:nowrap}.history-recent .history-panel-heading>small{font-size:9px;color:var(--muted);white-space:nowrap}.history-recent-list{display:grid;gap:10px}.history-recent-list>article{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-muted);padding:10px}.history-source-icon{display:grid;place-items:center;flex:none;width:34px;height:36px;background:var(--surface);border:1px solid var(--line);border-radius:7px;font-size:8px;color:var(--green)}.history-recent-list article>div{flex:1;min-width:0}.history-recent-list strong{display:block;font-size:10px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}.history-recent-list strong>b{color:var(--green);white-space:nowrap}.history-recent-list small{font-size:9px;line-height:1.6;display:block;color:var(--muted)}.history-approved{display:inline-flex;align-items:center;gap:3px;flex:none;border-radius:5px;background:var(--accent-surface);color:var(--green);font-size:8px;padding:4px 6px}.history-recent-list>p{padding:16px;font-size:11px;color:var(--muted)}.history-recent-footer{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-top:auto;padding-top:18px;font-size:9px;color:var(--muted)}.history-recent-footer>a{color:var(--green);font-weight:650}@media(max-width:1250px){.history-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.history-product-row{flex-wrap:wrap}.history-categories{max-width:100%;flex:1 1 100%;margin-top:6px}.history-filter-bottom{align-items:start;flex-direction:column}.history-bottom-grid{grid-template-columns:1fr}.history-recent{min-height:300px}}@media(max-width:700px){.history-page{gap:18px}.history-intro h1{font-size:25px;letter-spacing:-.6px}.history-intro p{font-size:12px}.history-eyebrow-row>small{font-size:9px}.history-metrics{gap:10px}.history-metrics>article{padding:14px 12px;gap:11px}.history-metrics>article>div{font-size:10px}.history-metrics strong{font-size:19px}.history-metrics svg{width:15px;height:15px;padding:5px}.history-metrics small{font-size:9px}.history-filters{padding:16px;gap:14px}.history-product-row{gap:9px}.history-product-icon{padding:8px;width:20px;height:20px}.reference-public .history-product-field{min-width:0;flex:1}.history-product-field .search-select-trigger{font-size:12px}.history-categories{gap:5px}.history-categories button{font-size:9px;min-height:32px}.history-context-row{grid-template-columns:1fr}.history-context-row,.history-filter-bottom{gap:14px;padding-top:14px}.history-periods{width:100%}.history-periods button{flex:1;padding:7px 5px;min-width:0;font-size:10px}.history-branch-filters button{min-height:32px;font-size:9px}.history-branch-filters>span{flex:1 1 100%;margin-bottom:3px}.history-chart-panel{padding:18px 14px}.history-panel-heading{flex-wrap:wrap;gap:12px;align-items:start}.history-panel-heading h2{font-size:16px}.history-panel-heading p{font-size:10px}.history-best-price{flex:1 1 100%;padding:9px 12px}.history-best-price small{font-size:9px}.history-best-price strong{font-size:17px}.history-chart-canvas{margin-top:16px;padding:12px 7px}.history-chart-legend{gap:7px 9px;font-size:8px;padding:0 3px}.history-chart-legend>small{margin:3px 0 0;flex-basis:100%;font-size:8px}.history-timeline{overflow-x:auto;margin-top:12px}.history-timeline svg{width:100%;min-width:520px;min-height:220px}.history-record{margin:8px 4px 0;padding:10px;gap:5px 8px}.history-record>strong{font-size:14px}.history-record strong small{font-size:9px}.history-record>small{font-size:8px}.history-chart-empty{min-height:220px;font-size:11px}.history-comparison>.history-panel-heading{padding:18px 16px}.history-comparison table{min-width:820px}.history-comparison th{padding:12px;font-size:9px}.history-comparison td{padding:14px 12px}.history-table-note{padding:10px 16px;flex-wrap:wrap;gap:5px}.history-bottom-grid{gap:18px}.history-recent,.history-thermometer{padding:18px 16px;gap:16px}.history-bottom-grid .history-panel-heading{flex-wrap:nowrap}.history-bottom-grid h2{font-size:15px}.history-recent .history-panel-heading>small{white-space:normal;font-size:8px;max-width:78px;text-align:right}.history-recent-list>article{gap:7px;padding:9px}.history-source-icon{width:30px;height:34px}.history-recent-list strong{font-size:10px}.history-recent-list small{font-size:8px}.history-approved{font-size:7px;padding:4px;gap:2px}.history-approved svg{width:10px}.history-recent-footer{gap:10px;font-size:8px}.history-contribute-cta{gap:10px;font-size:9px}.history-contribute-cta>a{font-size:9px;padding:9px 10px}}@media(prefers-reduced-motion:reduce){.history-page *{scroll-behavior:auto}}