.ehpm-market {
  margin-block: 1.25rem;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid #d8d7d3;
  border-top: 3px solid #991b3d;
  background: #fff;
  color: #202329;
}
.ehpm-market h2 { margin: .25rem 0 .55rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 500; }
.ehpm-market > p { max-width: 72ch; line-height: 1.55; }
.ehpm-market [data-market-estimate] { min-height: 2.7rem; padding: .7rem 1rem; border: 1px solid #8e1838; background: #991b3d; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.ehpm-market [data-market-estimate]:hover { background: #79132f; }
.ehpm-market [data-market-estimate]:focus-visible { outline: 3px solid #d9a1b0; outline-offset: 2px; }
.ehpm-market [data-market-estimate]:disabled { cursor: progress; opacity: .72; }
.ehpm-market-status { min-height: 1.4em; color: #51545a; font-size: .92rem; }
.ehpm-market-result { margin-top: 1rem; }
.ehpm-market-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.ehpm-market-stat { display: flex; min-width: 0; flex-direction: column; gap: .4rem; padding: .9rem; border: 1px solid #deddd9; background: #faf9f7; }
.ehpm-market-stat > span { color: #575b61; font-size: .82rem; }
.ehpm-market-stat > strong { color: #202329; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.2; overflow-wrap: anywhere; }
.ehpm-market-stat > small { color: #686b70; line-height: 1.4; }
.ehpm-market-monthly { margin-top: 1.25rem; }
.ehpm-market-monthly h3 { margin: 0 0 .6rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 500; }
.ehpm-market-table-scroll { max-height: 26rem; overflow: auto; border: 1px solid #deddd9; }
.ehpm-market-table-scroll table { width: 100%; border-collapse: collapse; text-align: left; }
.ehpm-market-table-scroll caption { padding: .65rem; text-align: left; }
.ehpm-market-table-scroll th, .ehpm-market-table-scroll td { padding: .62rem .7rem; border-bottom: 1px solid #e5e4e0; font-size: .88rem; }
.ehpm-market-table-scroll thead th { position: sticky; top: 0; z-index: 1; background: #f2f1ee; color: #3f4247; font-size: .75rem; letter-spacing: .04em; }
.ehpm-market-table-scroll tbody th { font-weight: 600; white-space: nowrap; }
.ehpm-market-table-scroll tbody tr:last-child th, .ehpm-market-table-scroll tbody tr:last-child td { border-bottom: 0; }
.ehpm-market-disclaimer { margin: .8rem 0 0; color: #63666b; font-size: .82rem; line-height: 1.5; }
.ehpm-market-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .ehpm-market-overview { grid-template-columns: 1fr; }
  .ehpm-market-table-scroll table { min-width: 620px; }
}
