
.price-trends-page {
  background: #fff;
}
.price-trends-page [hidden] {
  display: none !important;
}
.price-trends-page .price-trends-header {
  padding-block: 6px 20px;
  border: 0;
  background: #fff;
}
.price-trends-header h1 {
  margin: 0;
  color: var(--lab-navy);
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.25;
  letter-spacing: -.025em;
  word-break: auto-phrase;
}
.price-trends-header > p {
  max-width: 86ch;
  margin: 10px 0 0;
  color: var(--lab-ink-soft);
  font-size: 14px;
  line-height: 1.65;
}
.price-trends-page :focus-visible {
  outline: 2px solid var(--lab-focus);
  outline-offset: 3px;
}
.price-trends-page .bht-tool, .price-trends-page .hpt-tool {
  padding-top: 0;
  padding-bottom: 26px;
  background: #fff;
}
.price-trends-page .bht-controls, .price-trends-page .hpt-controls {
  padding: clamp(12px, 2vw, 18px);
  background: #fff;
  box-shadow: none;
}
.price-trends-page .bht-controls__intro, .price-trends-page .hpt-controls__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px 16px;
  margin-bottom: 12px;
}
.price-trends-page .bht-controls__intro h2, .price-trends-page .hpt-controls__intro h2 {
  font-size: 18px;
}
.price-trends-page .bht-controls__intro p, .price-trends-page .hpt-controls__intro p {
  line-height: 1.5;
}
.price-trends-page .bht-freshness, .price-trends-page .hpt-freshness {
  margin-top: 12px;
  padding-top: 8px;
  line-height: 1.5;
}
.price-trends-page .hpt-filter-grid {
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
}
.price-trends-page .hpt-filter-grid label {
  grid-column: auto;
}
.price-trends-page .hpt-filter-grid select, .price-trends-page .bht-filter-row select {
  min-height: 43px;
  width: 100%;
}
.price-trends-note, .price-trends-stale {
  margin: 10px 0 0;
  color: var(--lab-ink-soft);
  font-size: 13px;
  line-height: 1.6;
}
.price-trends-stale {
  color: #873323;
  font-weight: 700;
}
.price-trends-page .hpt-dashboard:not([hidden]), .price-trends-page .bht-dashboard:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.price-trends-page .hpt-dashboard > *, .price-trends-page .bht-dashboard > * {
  order: initial;
  margin: 0;
  min-width: 0;
}
.price-trends-page .hpt-trend-hero, .price-trends-page .price-trends-panel, .price-trends-alerts {
  padding: clamp(16px, 3.2vw, 36px);
}
.price-trends-page .hpt-trend-hero, .price-trends-alerts {
  border-radius: 16px;
  background: var(--lab-navy);
  color: #fff;
}
.price-trends-axis {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}
.price-trends-axis span:first-child {
  padding: 2px 8px;
  border-radius: 4px;
  background: #e2f1ed;
  color: #15554f;
}
.hpt-trend-hero .price-trends-axis span:first-child {
  background: #35576c;
  color: #fff;
}
.price-trends-heading {
  margin-bottom: clamp(12px, 2vw, 20px);
}
.price-trends-heading h2, .price-trends-page .hpt-trend-hero h2 {
  margin: 0;
  font-size: clamp(22px, 3.1vw, 34px);
  line-height: 1.38;
  word-break: auto-phrase;
}
.price-trends-heading > p:last-child {
  margin: 8px 0 0;
  max-width: 78ch;
  color: var(--lab-ink-soft);
  font-size: 14px;
  line-height: 1.65;
}
.price-trends-alerts .price-trends-heading > p:last-child {
  color: #d9e4ec;
}
.price-trends-subhead {
  margin: 24px 0 10px;
  font-size: 17px;
}
.price-trends-page .hpt-calendar {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.price-trends-page .hpt-calendar-cell,
.price-trends-page .bht-cal:not(.bht-cal--blank) {
  position: relative;
}
.price-trends-date-button {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.price-trends-date-button:hover, .price-trends-date-button[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--lab-navy);
}
.price-trends-page .hpt-position {
  overflow-wrap: anywhere;
}
.price-trends-page .bht-chart, .price-trends-page .bht-accessible-table,
.price-trends-page .hpt-ratings {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
.price-trends-page .price-trends-daily .bht-chart {
  background: #f8fafc;
}
.price-trends-page .price-trends-calendar {
  margin-top: -10px;
}
.price-trends-alert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.price-trends-alert-list {
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--lab-navy);
}
.price-trends-alert-list h3 {
  margin: 0 0 5px;
  font-size: 15px;
}
.price-trends-alert-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-trends-alert-list p {
  margin: 0;
  font-size: 13px;
}
.price-trends-alert-list button {
  padding: 4px 0;
  min-height: 32px;
  border: 0;
  background: none;
  color: var(--lab-navy);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.price-trends-alert-list summary {
  padding-top: 5px;
  cursor: pointer;
  font-size: 13px;
}
.price-trends-business-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0 0 10px;
}
.price-trends-business-stats div {
  border-left: 2px solid #8fd3cb;
  padding-left: 10px;
}
.price-trends-business-stats dt, .price-trends-business-stats small {
  display: block;
  color: #d9e4ec;
  font-size: 12px;
  line-height: 1.45;
}
.price-trends-business-stats dd {
  margin: 0;
}
.price-trends-business-stats strong {
  color: #a0eadb;
  font-size: clamp(19px, 3vw, 30px);
  font-variant-numeric: tabular-nums;
}
.price-trends-business-stats .price-trends-stat-status {
  font-size: 16px;
}
.price-trends-prices {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  color: var(--lab-navy);
  font-size: 14px;
}
.price-trends-prices th, .price-trends-prices td {
  padding: 9px 6px;
  border-bottom: 1px solid var(--lab-border);
  text-align: left;
}
.price-trends-prices td, .price-trends-prices thead th:last-child {
  text-align: right;
}
.price-trends-prices tbody td {
  font-variant-numeric: tabular-nums;
}
.price-trends-day-select {
  display: grid;
  gap: 4px;
  max-width: 320px;
  color: var(--lab-ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.price-trends-day-select select {
  min-height: 44px;
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid #b8c6cf;
  border-radius: 8px;
  background: #fff;
  color: var(--lab-navy);
  font: inherit;
}
.price-trends-more {
  border: 1px solid var(--lab-border);
  border-radius: 10px;
  background: #fff;
}
.price-trends-more > summary {
  padding: 14px 16px;
  color: var(--lab-navy);
  font-weight: 700;
  cursor: pointer;
}
.price-trends-more__body {
  padding: 0 12px 14px;
  overflow-wrap: anywhere;
}
.price-trends-more__body > :first-child {
  margin-top: 6px;
}
.price-trends-more__body .hpt-brief {
  margin-bottom: 12px;
}
.price-trends-page .price-trends-panel [tabindex="-1"] {
  scroll-margin-top: 100px;
}
@media (min-width: 900px) {
  .price-trends-alerts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 28px;
  }
  .price-trends-alerts .price-trends-heading, .price-trends-business-stats {
    grid-column: 1;
  }
  .price-trends-alert-grid {
    grid-area: 1 / 2 / span 2;
  }
}
@media (max-width: 760px) {
  .price-trends-page .container {
    width: calc(100% - 32px);
  }
  .price-trends-page .hpt-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .price-trends-page .hpt-calendar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .price-trends-page .price-trends-header {
    padding-block: 4px 16px;
  }
  .price-trends-header > p {
    font-size: 13px;
  }
  .price-trends-page .hpt-filter-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
  .price-trends-page .hpt-filter-grid label {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
  }
  .price-trends-page .bht-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .price-trends-page .bht-filter-row select, .price-trends-page .hpt-filter-grid select {
    padding-inline: 7px 4px;
    font-size: 13px;
  }
  .price-trends-page .hpt-calendar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .price-trends-page .hpt-trend-result {
    margin-top: 12px;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 8px;
  }
  .price-trends-page .hpt-trend-result__meta {
    margin-top: 0;
  }
  .price-trends-alert-grid {
    gap: 6px;
  }
  .price-trends-alert-list {
    padding: 8px 12px;
  }
  .price-trends-page .bht-cal__price {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    white-space: nowrap;
    letter-spacing: -.04em;
  }
  .price-trends-page .bht-cal__diff {
    margin-top: 1px;
  }
}

.price-trends-page .breadcrumb {
  padding-top: 10px;
}
.price-trends-more__body .tool-overview > .container {
  width: 100%;
}
#bht-market-title, #bht-market-events {
  scroll-margin-top: 100px;
}
