/* Price history / live board */
.prices-page .container {
  max-width: 1120px;
}
.prices-crumb {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 1rem;
}
.prices-crumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prices-lead {
  max-width: 42rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  color: #3f3f46;
}
.prices-series-links {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #52525b;
}
.prices-series-links a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prices-series .page-title {
  margin-bottom: 0.85rem;
}
.prices-disclaimer {
  font-size: 0.85rem;
  color: #6b7280;
  border-left: 3px solid #c4c4c4;
  padding: 0.65rem 0 0.65rem 0.9rem;
  margin: 0 0 1.5rem;
  max-width: 52rem;
}
.prices-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1rem;
}
.prices-toolbar select {
  margin-left: 0.4rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #d1d5db;
  background: #fff;
  font: inherit;
}
.prices-windows {
  display: inline-flex;
  gap: 0.35rem;
}
.prices-windows button {
  font: inherit;
  padding: 0.35rem 0.75rem;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
}
.prices-windows button.is-active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.prices-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.prices-stats div {
  padding: 0.75rem 0.9rem;
  background: #f6f6f4;
  border: 1px solid #e8e8e4;
}
.prices-stats span {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}
.prices-stats strong {
  font-size: 1.15rem;
  font-family: Syne, sans-serif;
}

/* Live board hero */
.prices-board {
  padding-bottom: 3rem;
}
.prices-archive {
  padding-bottom: 3rem;
}
.prices-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.prices-hero--panel {
  background: #f6f7f4;
  border: 1px solid #e4e5df;
  padding: 1.35rem 1.4rem 1.4rem;
  border-bottom: none;
  margin-bottom: 1.25rem;
}
.prices-hero--panel .prices-asof {
  background: #fff;
}
.prices-panel--archive {
  background: #fafaf8;
}
.prices-open {
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prices-table--archive th:last-child,
.prices-table--archive td:last-child {
  text-align: right;
  width: 7.5rem;
}
.prices-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem 2rem;
  align-items: end;
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e4;
}
.prices-hero .page-title {
  margin: 0 0 0.65rem;
}
.prices-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}
.prices-asof {
  display: inline-block;
  font-size: 0.9rem;
  color: #3f3f46;
  background: #f3f4f0;
  border: 1px solid #e4e5df;
  padding: 0.45rem 0.75rem;
}
.prices-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Cards */
.prices-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 2rem;
}
.prices-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.prices-card:hover {
  border-color: #9ca3af;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.prices-card__region {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}
.prices-card__name {
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 0.15rem;
}
.prices-card__basis {
  font-size: 0.85rem;
  color: #52525b;
  margin-bottom: 0.55rem;
}
.prices-card__mid {
  font-family: Syne, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.prices-card__mid small {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  margin-left: 0.15rem;
}
.prices-card__asof {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.chg {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.9rem;
}
.chg--up {
  color: #15803d;
}
.chg--down {
  color: #b91c1c;
}
.chg--flat {
  color: #6b7280;
}

.prices-panel {
  background: #fff;
  border: 1px solid #e8e8e4;
  padding: 1.15rem 1.15rem 0.35rem;
  margin: 0 0 1.75rem;
}
.prices-panel__head {
  margin: 0 0 0.85rem;
}
.prices-panel__title {
  margin: 0 0 0.25rem;
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
}
.prices-panel__note {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.prices-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.4rem;
  background: #f3f4f0;
  border: 1px solid #e4e5df;
  margin: 0 0 0.5rem;
}
.prices-cta-band__title {
  margin: 0 0 0.35rem;
  font-family: Syne, sans-serif;
  font-size: 1.2rem;
}
.prices-cta-band p {
  margin: 0;
  color: #3f3f46;
  max-width: 36rem;
}

.prices-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}
.prices-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95rem;
}
.prices-table th,
.prices-table td {
  text-align: left;
  padding: 0.6rem 0.65rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}
.prices-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.prices-table th.num,
.prices-table td.num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.prices-table a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.prices-table a:hover {
  text-decoration: underline;
}
.prices-table tbody tr:hover td {
  background: #fafaf8;
}
#pricesSeriesTable th:nth-child(1),
#pricesSeriesTable td:nth-child(1) {
  width: 36%;
}
#pricesSeriesTable th:nth-child(2),
#pricesSeriesTable td:nth-child(2),
#pricesSeriesTable th:nth-child(3),
#pricesSeriesTable td:nth-child(3) {
  width: 32%;
}
.prices-series-list {
  columns: 2;
  gap: 1.5rem;
  margin: 0;
  padding-left: 1.1rem;
}
.prices-series-list a {
  color: inherit;
}
.prices-link {
  font-weight: 600;
}
.prices-chart-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 280px;
  margin: 0 0 1.25rem;
  background: #fafaf8;
  border: 1px solid #e8e8e4;
  padding: 0.5rem;
  box-sizing: border-box;
}
.prices-footer {
  margin-top: 2rem;
  padding-top: 0;
}
.prices-footer .footer__bottom {
  border-top: 1px solid #e8e8e4;
  padding-top: 1.25rem;
}

@media (max-width: 960px) {
  .prices-hero {
    grid-template-columns: 1fr;
  }
  .prices-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .prices-stats {
    grid-template-columns: 1fr;
  }
  .prices-series-list {
    columns: 1;
  }
  .prices-card-grid {
    grid-template-columns: 1fr;
  }
  .prices-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}
