.price-history{display:grid;gap:14px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.price-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.price-history-heading h3{margin:0;font-size:17px}
.price-history-heading p,.price-history-note,.price-history-empty p{margin:4px 0 0;color:var(--muted);font-size:var(--text-secondary)}
.price-history-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.price-history-chart{display:block;width:100%;height:auto;max-height:210px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(180deg,#f8fbfa,#fff)}
.price-chart-guide{stroke:#dfe7e4;stroke-width:1;stroke-dasharray:4 5}
.price-chart-line{fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.price-chart-point{fill:#fff;stroke:var(--accent);stroke-width:3}
.price-chart-target-line{stroke:var(--warning);stroke-width:2;stroke-dasharray:7 5}
.price-chart-target-label{fill:#815a12;font-size:var(--text-secondary);font-weight:750}
.price-history-empty{display:grid;gap:4px;margin-bottom:16px;padding:16px;border:1px dashed #cfd9e2;border-radius:11px;background:var(--soft)}
.price-history-empty p{line-height:1.45}
.availability-history{display:grid;gap:14px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.availability-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.availability-history-heading h3{margin:0;font-size:17px}
.availability-history-heading p,.availability-history-note,.availability-history-empty p{margin:4px 0 0;color:var(--muted);font-size:var(--text-secondary)}
.availability-history-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.availability-transition-list{display:grid;gap:8px}
.availability-transition{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--soft);font-size:var(--text-secondary)}
.availability-transition time{color:var(--muted);white-space:nowrap}
.availability-history-empty{display:grid;gap:4px;margin-bottom:16px;padding:16px;border:1px dashed #cfd9e2;border-radius:11px;background:var(--soft)}
.availability-history-empty p{line-height:1.45}
.history-timeline-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:2px;padding-top:2px}
.history-timeline-heading h3{margin:0;font-size:17px}
.history-timeline-heading p{margin:0;color:var(--muted);font-size:var(--text-secondary)}
.timeline-item.timeline-event{border-left:3px solid #7c96ad}
.timeline-item.timeline-snapshot{border-left:3px solid #a8cbbb}
.timeline-copy{min-width:0}
.timeline-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.timeline-title-row h3{flex:0 1 auto}
.timeline-item>time{color:var(--muted);font-size:var(--text-secondary);white-space:nowrap}
.timeline-item p.timeline-meta{margin-top:7px;font-size:var(--text-secondary);color:#7b8b99}
.activity-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:2px 2px 0}
.activity-group-heading:first-child{margin-top:0}
.activity-group-heading h3{margin:0;font-size:var(--text-body)}
.activity-group-heading span{min-width:24px;padding:3px 7px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:var(--text-secondary);font-weight:750;text-align:center}
.timeline-item.activity-job{border-left:3px solid #7c96ad}
.timeline-item.activity-alert{border-left:3px solid #d6ae58}
@media(max-width:430px){.price-history-stats,.availability-history-stats{grid-template-columns:1fr}.price-history-chart{min-height:150px}.availability-transition,.history-timeline-heading{align-items:flex-start;flex-direction:column;gap:4px}.timeline-item{grid-template-columns:1fr}.timeline-item>time{white-space:normal}}
