.stylemap-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 40%); gap: 1.5rem; align-items: start; }
.stylemap-cards { display: grid; gap: 1rem; }
.stylemap-card { cursor: pointer; }
.stylemap-card:focus-visible { outline: 3px solid var(--brick, #a84936); outline-offset: 4px; }
.stylemap-card[data-active="true"] { border-color: var(--brick, #a84936); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brick, #a84936) 22%, transparent); }
.stylemap-map { position: sticky; top: 1rem; min-width: 0; }
.stylemap-map .neighborhood-map-module { height: min(78vh, 48rem); display: flex; flex-direction: column; }
.stylemap-map .neighborhood-map-canvas { min-height: 0; flex: 1; }
@media (max-width: 760px) {
  .stylemap-layout { display: flex; flex-direction: column; gap: 1rem; }
  .stylemap-map { order: -1; position: sticky; top: 0; z-index: 2; width: 100%; }
  .stylemap-map .neighborhood-map-module { height: 45vh; min-height: 18rem; }
  .stylemap-cards { width: 100%; }
}
