.market-toolbar { grid-template-columns: repeat(6,minmax(0,1fr)); }
.market-metrics, .market-detail { margin-top: 14px; }
#market-map { height: clamp(360px,54vh,620px); background: #e4ece5; border-radius: 0 0 11px 11px; overflow: hidden; }
.market-table { max-height: clamp(360px,54vh,620px); }
.market-table tr[aria-selected="true"] { background: #e8f3ea; }
.market-legend span { margin-left: 7px; }
.market-legend span:first-child { margin-left: 0; }
.detail-table { max-height: 400px; }
.detail-table td:first-child { white-space: normal; min-width: 230px; }
.detail-table td:first-child a { font-weight: 700; }
.detail-table td:first-child a:last-child:not(:first-child) { display: inline-block; margin-top: 4px; font-size: 11px; }
.detail-table td:first-child small { font-size: 11px; line-height: 1.4; }
.detail-table details { margin-top: 6px; font-size: 11px; }
.detail-table summary { cursor: pointer; color: var(--teal); }
.detail-table { border-radius: 0 0 11px 11px; }
@media (max-width: 1024px) {
  .market-toolbar { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .market-toolbar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-toolbar > div:first-child { grid-column: 1 / -1; }
  .market-legend { max-width: 83%; }
  .intro > .outline { white-space: normal; }
}
