.price-history [id] { scroll-margin-top: 104px; }
.price-history .ph-reading { max-width: 840px; margin-inline: auto; }
.price-history .page-hero__copy { max-width: 760px; }
.price-history .byline { display: block; line-height: 1.6; }
.price-history .byline::before { display: none; }
.price-history .section { padding-block: clamp(32px, 5vw, 64px); }
.price-history .section-head { margin-bottom: 24px; }
.price-history .ph-small, .price-history figcaption { font-size: .9rem; color: var(--muted); }
.ph-toc { padding: 20px var(--gutter); }
.ph-toc summary, .ph-embed summary { cursor: pointer; font-weight: 750; min-height: 44px; padding-block: 10px; }
.ph-toc ol { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin-block: 12px 0; }
.ph-toc a { display: inline-block; min-height: 36px; }
.ph-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ph-stat { background: var(--paper-2); padding: 20px; border: 1px solid var(--line-2); border-radius: 14px; }
.ph-stat b { display: block; color: var(--brand-700); font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.2; margin-bottom: 10px; }
.ph-stat span { font-size: .96rem; }
.ph-table { width: 100%; max-width: 100%; overflow-x: auto; margin-block: 24px; border: 1px solid var(--line-2); border-radius: 12px; }
.ph-table table { width: 100%; min-width: 670px; border-collapse: collapse; font-size: .9rem; background: var(--paper); }
.ph-table caption { text-align: left; padding: 16px; font-weight: 700; background: var(--paper-2); color: var(--ink); }
.ph-table th, .ph-table td { padding: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ph-table thead th { background: var(--navy-2); color: #fff; font-size: .84rem; }
.ph-table tbody th { min-width: 150px; color: var(--ink); }
.ph-table td { min-width: 145px; }
.ph-table tbody tr:last-child > * { border-bottom: 0; }
.ph-table:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 3px; }
.ph-figure { margin: 0 0 24px; }
.ph-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 14px; }
.ph-figure figcaption { margin-top: 12px; }
.ph-timeline { list-style: none; padding-left: 0; }
.ph-timeline li { border-left: 3px solid var(--brand); padding: 0 0 24px 22px; }
.ph-timeline h3 { margin: 0 0 8px; }
.ph-timeline p { margin: 0; }
.ph-sources { padding-left: 24px; }
.ph-sources li { margin-bottom: 16px; }
.price-history code { overflow-wrap: anywhere; }
.ph-embed pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px; background: var(--navy-2); color: #fff; border-radius: 12px; font-size: .82rem; }
#price-history-citation { border-left: 3px solid var(--brand); padding: 16px; background: var(--paper-2); overflow-wrap: anywhere; }
#price-history-copy-status { min-height: 1.6em; color: var(--brand-700); }
.ph-form { padding: clamp(18px, 4vw, 30px); background: var(--paper); border: 1px solid var(--line-2); border-radius: 16px; }
@media (max-width: 520px) {
  .ph-stats { grid-template-columns: 1fr; }
  .ph-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .price-history .btn-row > * { max-width: 100%; white-space: normal; text-align: center; }
  .ph-form .form__row { grid-template-columns: 1fr; }
}
