.jam-address-map {
    --jam-accent: #0f766e;
    --jam-accent-dark: #115e59;
    --jam-land: #d97706;
    --jam-border: #d6ddd9;
    --jam-surface: #ffffff;
    --jam-muted: #52605b;
    position: relative;
    width: 100%;
    color: var(--theme-text-color, #1f2925);
    font: inherit;
    text-transform: none;
}

.jam-address-map *,
.jam-address-map *::before,
.jam-address-map *::after {
    box-sizing: border-box;
}

.jam-address-map__toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) minmax(280px, 1fr) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--jam-border);
    border-radius: 12px;
    background: #f7faf8;
}

.jam-address-map label,
.jam-address-map legend,
.jam-address-map button,
.jam-address-map input {
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.jam-address-map__search {
    position: relative;
    z-index: 1100;
}

.jam-address-map__search > label,
.jam-address-map__filters legend {
    display: block;
    margin: 0 0 7px;
    padding: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
}

.jam-address-map__search-row {
    position: relative;
}

.jam-address-map__search-input {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 42px 9px 12px;
    border: 1px solid #aab7b1;
    border-radius: 8px;
    background: var(--jam-surface);
    color: inherit;
    line-height: 1.35;
}

.jam-address-map__search-input:focus {
    border-color: var(--jam-accent);
    outline: 3px solid rgb(15 118 110 / 18%);
    outline-offset: 0;
}

.jam-address-map__clear {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #48544f;
    font-size: 25px;
    line-height: 32px;
    cursor: pointer;
}

.jam-address-map__clear:hover,
.jam-address-map__clear:focus-visible {
    background: #e7eeea;
    color: #17201c;
}

.jam-address-map__results {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    overflow-y: auto;
    max-height: 320px;
    border: 1px solid var(--jam-border);
    border-radius: 9px;
    background: var(--jam-surface);
    box-shadow: 0 14px 35px rgb(23 42 34 / 16%);
}

.jam-address-map__result {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #e8edea;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.jam-address-map__result:last-child {
    border-bottom: 0;
}

.jam-address-map__result:hover,
.jam-address-map__result[aria-selected="true"],
.jam-address-map__result:focus-visible {
    background: #e9f5f1;
    color: #102f2a;
    outline: 0;
}

.jam-address-map__result strong,
.jam-address-map__result span {
    display: block;
    line-height: 1.35;
}

.jam-address-map__result strong {
    margin-bottom: 2px;
    font-size: 15px;
}

.jam-address-map__result span {
    color: var(--jam-muted);
    font-size: 12px;
}

.jam-address-map__no-results {
    margin: 0;
    padding: 14px 12px;
    color: var(--jam-muted);
    font-size: 14px;
}

.jam-address-map__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.jam-address-map__filters legend {
    flex-basis: 100%;
}

.jam-address-map__filters label {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin: 0;
    padding: 7px 11px;
    border: 1px solid var(--jam-border);
    border-radius: 8px;
    background: var(--jam-surface);
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}

.jam-address-map__filters label:has(input:checked) {
    border-color: var(--jam-accent);
    background: #dff3ed;
    color: #0b514b;
}

.jam-address-map__filters input {
    width: 16px;
    height: 16px;
    margin: 0 7px 0 0;
    accent-color: var(--jam-accent);
}

.jam-address-map__transaction-filters {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: end;
    min-width: 0;
    margin: 0;
    padding: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f1f5f9;
}

.jam-address-map__transaction-filters[hidden] {
    display: none;
}

.jam-address-map__transaction-filters legend {
    width: 100%;
    margin: 0 0 2px;
    padding: 0;
    font-size: 14px;
    font-weight: 650;
}

.jam-address-map__transaction-filters label {
    display: grid;
    flex: 1 1 180px;
    gap: 5px;
    min-width: 150px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.jam-address-map__transaction-filters select,
.jam-address-map__transaction-filters input {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 8px 11px;
    border: 1px solid #aab7b1;
    border-radius: 8px;
    background: var(--jam-surface);
    color: inherit;
}

.jam-address-map__transaction-filters select:focus,
.jam-address-map__transaction-filters input:focus {
    border-color: var(--jam-accent);
    outline: 3px solid rgb(15 118 110 / 18%);
}

.jam-address-map__fit {
    min-height: 44px;
    margin: 0;
    padding: 9px 15px;
    border: 1px solid var(--jam-accent);
    border-radius: 8px;
    background: var(--jam-accent);
    color: #fff;
    font-weight: 650;
    line-height: 1.25;
    cursor: pointer;
}

.jam-address-map__fit:hover,
.jam-address-map__fit:focus-visible {
    border-color: var(--jam-accent-dark);
    background: var(--jam-accent-dark);
    color: #fff;
}

.jam-address-map__map-shell {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.jam-address-map__map {
    z-index: 1;
    width: 100%;
    height: var(--jam-map-height, 600px);
    min-height: 340px;
    border: 1px solid var(--jam-border);
    border-radius: 12px;
    background: #e8eeeb;
}

.jam-address-map__panel-backdrop {
    position: absolute;
    z-index: 999;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgb(15 23 42 / 28%);
    cursor: pointer;
}

.jam-address-map__panel-backdrop[hidden],
.jam-address-map__panel[hidden] {
    display: none;
}

.jam-address-map__panel {
    position: absolute;
    z-index: 1001;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(460px, 94%);
    height: 100%;
    border-left: 1px solid var(--jam-border);
    background: var(--jam-surface);
    box-shadow: -12px 0 32px rgb(15 23 42 / 22%);
}

.jam-address-map__panel-header,
.jam-address-map__panel-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: #f7faf8;
}

.jam-address-map__panel-header {
    border-bottom: 1px solid var(--jam-border);
}

.jam-address-map__panel-header strong {
    font-size: 16px;
}

.jam-address-map__panel-close {
    flex: 0 0 auto;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--jam-border);
    border-radius: 50%;
    background: #fff;
    color: #33413b;
    font-size: 24px;
    line-height: 32px;
    cursor: pointer;
}

.jam-address-map__panel-close:hover,
.jam-address-map__panel-close:focus-visible {
    border-color: var(--jam-accent);
    background: #e9f5f1;
    color: #0b514b;
}

.jam-address-map__panel-content {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px;
    overscroll-behavior: contain;
}

.jam-address-map__panel-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    border-top: 1px solid var(--jam-border);
}

.jam-address-map__copy-link,
.jam-address-popup__details-button {
    min-height: 40px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--jam-accent);
    border-radius: 8px;
    background: var(--jam-accent);
    color: #fff;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
}

.jam-address-map__copy-link:hover,
.jam-address-map__copy-link:focus-visible,
.jam-address-popup__details-button:hover,
.jam-address-popup__details-button:focus-visible {
    border-color: var(--jam-accent-dark);
    background: var(--jam-accent-dark);
    color: #fff;
}

.jam-address-map__copy-status {
    color: var(--jam-accent-dark);
    font-size: 13px;
    font-weight: 600;
}

.jam-address-details {
    width: 100%;
    min-width: 0;
    max-width: none;
}

.jam-address-details > details {
    padding-bottom: 3px;
}

.jam-address-popup__details-button {
    width: 100%;
    margin: 2px 0 10px;
}

.jam-address-map__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--jam-muted);
    font-size: 13px;
}

.jam-address-map__status {
    margin: 0;
}

.jam-address-map__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.jam-address-map__legend span {
    display: inline-flex;
    align-items: center;
}

.jam-address-map__legend [hidden] {
    display: none !important;
}

.jam-address-map__legend-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 6px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 25%);
}

.jam-address-map__legend-dot--building {
    background: var(--jam-accent);
}

.jam-address-map__legend-dot--land {
    background: var(--jam-land);
}

.jam-address-map__legend-dot--transaction-recent {
    background: #dc2626;
}

.jam-address-map__legend-dot--transaction-medium {
    background: #f59e0b;
}

.jam-address-map__legend-dot--transaction-old {
    background: #64748b;
}

.jam-address-map__legend-line {
    display: inline-block;
    width: 17px;
    height: 10px;
    margin-right: 6px;
    border: 2px solid;
}

.jam-address-map__legend-line--land {
    border-color: #d97706;
    background: rgb(217 119 6 / 10%);
}

.jam-address-map__legend-line--built {
    border-color: #0f766e;
    background: rgb(15 118 110 / 10%);
}

.jam-address-map__legend-building {
    display: inline-block;
    width: 17px;
    height: 10px;
    margin-right: 6px;
    border: 2px solid;
}

.jam-address-map__legend-building--measured {
    border-color: #f00;
    background: rgb(255 0 0 / 12%);
}

.jam-address-map__legend-building--vectorized {
    border-color: #960096;
    background: rgb(150 0 150 / 12%);
}

.jam-address-map__catalog {
    margin-top: 22px;
    border: 1px solid var(--jam-border);
    border-radius: 12px;
    background: var(--jam-surface);
}

.jam-address-map__catalog-tabs {
    display: flex;
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid var(--jam-border);
    background: #f7faf8;
    border-radius: 12px 12px 0 0;
}

.jam-address-map__catalog-tab {
    min-height: 42px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #33413b;
    font-weight: 650;
    cursor: pointer;
}

.jam-address-map__catalog-tab:hover,
.jam-address-map__catalog-tab:focus-visible {
    background: #e7eeea;
}

.jam-address-map__catalog-tab.is-active {
    border-color: var(--jam-accent);
    background: var(--jam-accent);
    color: #fff;
}

.jam-address-map__catalog-panel {
    padding: 16px;
}

.jam-address-map__catalog-panel[hidden] {
    display: none;
}

.jam-address-map__catalog-controls {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 280px);
    gap: 12px;
}

.jam-address-map__catalog-controls label,
.jam-address-map__ranking-controls label {
    display: grid;
    gap: 5px;
    margin: 0;
    font-size: 13px;
    font-weight: 650;
}

.jam-address-map__catalog-controls input,
.jam-address-map__catalog-controls select,
.jam-address-map__ranking-controls select {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 8px 11px;
    border: 1px solid #aab7b1;
    border-radius: 8px;
    background: #fff;
    color: inherit;
}

.jam-address-map__catalog-controls input:focus,
.jam-address-map__catalog-controls select:focus,
.jam-address-map__ranking-controls select:focus {
    border-color: var(--jam-accent);
    outline: 3px solid rgb(15 118 110 / 18%);
}

.jam-address-map__catalog-status,
.jam-address-map__ranking-note {
    margin: 12px 0 10px;
    color: var(--jam-muted);
    font-size: 13px;
}

.jam-address-map__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--jam-border);
    border-radius: 10px;
}

.jam-address-map__table {
    width: 100%;
    min-width: 1080px;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 13px;
}

.jam-address-map__table th,
.jam-address-map__table td {
    padding: 10px 9px;
    border: 0;
    border-bottom: 1px solid #e5ebe8;
    background: #fff;
    text-align: left;
    vertical-align: middle;
}

.jam-address-map__table th {
    position: sticky;
    z-index: 2;
    top: 0;
    background: #edf3f0;
    color: #33413b;
    white-space: nowrap;
}

.jam-address-map__table th button {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-weight: 700;
    cursor: pointer;
}

.jam-address-map__table th button.is-sorted::after {
    margin-left: 5px;
    color: var(--jam-accent);
    content: "▲";
    font-size: 9px;
}

.jam-address-map__table th button.is-sorted[data-direction="desc"]::after {
    content: "▼";
}

.jam-address-map__table tbody tr {
    cursor: pointer;
}

.jam-address-map__table tbody tr:hover td,
.jam-address-map__table tbody tr:focus td {
    background: #f1f8f5;
}

.jam-address-map__table tbody tr:focus {
    outline: 2px solid var(--jam-accent);
    outline-offset: -2px;
}

.jam-address-map__table tbody tr.is-selected td {
    background: #dff3ed;
}

.jam-address-map__table-object {
    min-width: 145px;
}

.jam-address-map__table-object strong,
.jam-address-map__table-object small {
    display: block;
}

.jam-address-map__table-object strong {
    color: #0b514b;
    font-size: 14px;
}

.jam-address-map__table-object small {
    margin-top: 2px;
    color: var(--jam-muted);
    font-size: 11px;
}

.jam-address-map__number {
    text-align: right !important;
    white-space: nowrap;
}

.jam-address-map__transaction-cell {
    min-width: 155px;
    white-space: nowrap;
}

.jam-address-map__table-action button,
.jam-address-map__pagination button {
    min-height: 36px;
    margin: 0;
    padding: 7px 11px;
    border: 1px solid var(--jam-accent);
    border-radius: 8px;
    background: #fff;
    color: var(--jam-accent-dark);
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
}

.jam-address-map__table-action button:hover,
.jam-address-map__table-action button:focus-visible,
.jam-address-map__pagination button:hover,
.jam-address-map__pagination button:focus-visible {
    background: #dff3ed;
}

.jam-address-map__pagination button:disabled {
    border-color: #cbd5d1;
    background: #f1f3f2;
    color: #88938e;
    cursor: default;
}

.jam-address-map__table-empty {
    padding: 22px !important;
    color: var(--jam-muted);
    text-align: center !important;
}

.jam-address-map__pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 13px;
}

.jam-address-map__page-status {
    min-width: 120px;
    color: var(--jam-muted);
    font-size: 13px;
    text-align: center;
}

.jam-address-map__ranking-controls {
    max-width: 520px;
}

.jam-address-map__ranking-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jam-address-map__ranking-list li {
    margin: 0;
}

.jam-address-map__ranking-list button {
    display: grid;
    grid-template-columns: 38px minmax(150px, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid var(--jam-border);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.jam-address-map__ranking-list button:hover,
.jam-address-map__ranking-list button:focus-visible {
    border-color: var(--jam-accent);
    background: #f1f8f5;
}

.jam-address-map__ranking-position {
    display: flex;
    grid-row: 1 / 3;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1e3a5f;
    color: #fff;
    font-weight: 750;
}

.jam-address-map__ranking-list strong {
    color: #0b514b;
    font-size: 15px;
}

.jam-address-map__ranking-value {
    grid-row: 1 / 3;
    grid-column: 3;
    color: #17201c;
    font-size: 16px;
    font-weight: 750;
    white-space: nowrap;
}

.jam-address-map__ranking-list small {
    grid-column: 2;
    color: var(--jam-muted);
    font-size: 12px;
}

.jam-leaflet-icon-wrap {
    border: 0;
    background: transparent;
}

.jam-leaflet-pin {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    transform: rotate(45deg);
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 6px;
    box-shadow: 0 2px 7px rgb(0 0 0 / 35%);
}

.jam-leaflet-pin::after {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    content: "";
}

.jam-leaflet-pin--building {
    background: var(--jam-accent);
}

.jam-leaflet-pin--land {
    background: var(--jam-land);
}

.jam-leaflet-transaction-wrap {
    overflow: visible;
}

.jam-leaflet-transaction {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 68px;
    height: 30px;
    margin: 0 auto;
    padding: 0 9px;
    border: 2px solid #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 35%);
    color: #fff;
    white-space: nowrap;
    font: 700 12px/1 system-ui, sans-serif;
}

.jam-leaflet-transaction::after {
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translateX(-50%) rotate(45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background: inherit;
    content: "";
}

.jam-leaflet-transaction--recent {
    background: #dc2626;
}

.jam-leaflet-transaction--medium {
    background: #f59e0b;
}

.jam-leaflet-transaction--old {
    background: #64748b;
}

.jam-leaflet-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 3px solid rgb(255 255 255 / 92%);
    border-radius: 50%;
    background: #1e3a5f;
    box-shadow: 0 2px 9px rgb(0 0 0 / 30%);
    color: #fff;
    font: 700 13px/1 system-ui, sans-serif;
}

.jam-address-popup {
    min-width: 260px;
    max-width: 390px;
    color: #17201c;
    font: 14px/1.45 system-ui, sans-serif;
}

.jam-address-popup__title {
    display: block;
    margin-bottom: 5px;
    color: #0b514b;
    font-size: 17px;
}

.jam-address-popup p {
    margin: 0 0 10px;
}

.jam-address-popup dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 3px 9px;
    margin: 0;
}

.jam-address-popup dt {
    color: #5a6661;
    font-weight: 600;
}

.jam-address-popup dd {
    overflow-wrap: anywhere;
}

.jam-address-popup dd {
    margin: 0;
}

.jam-address-popup__full {
    margin-top: 12px;
    padding-top: 9px;
    border-top: 1px solid #d6ddd9;
}

.jam-address-popup__full summary {
    width: fit-content;
    cursor: pointer;
    color: #0b514b;
    font-weight: 700;
}

.jam-address-popup__full section {
    margin-top: 12px;
}

.jam-address-popup__full section + section {
    padding-top: 12px;
    border-top: 1px solid #e2e7e4;
}

.jam-address-popup__building-title {
    display: block;
    margin-bottom: 7px;
    color: #17201c;
}

.jam-address-popup__full dl {
    font-size: 13px;
}

.jam-address-popup .jam-address-popup__subsection {
    margin: 10px 0 4px;
    font-weight: 700;
}

.jam-address-popup__full ul {
    margin: 4px 0 0;
    padding-left: 19px;
}

.jam-address-popup__full li + li {
    margin-top: 3px;
}

.jam-address-popup__encumbrances summary {
    color: #9a5a06;
}

.jam-address-popup__encumbrance-list {
    padding-left: 22px;
}

.jam-address-popup__encumbrance-list li + li {
    margin-top: 10px;
}

.jam-address-popup__encumbrance-list p {
    margin: 2px 0 0;
    color: #5a6661;
    font-size: 12px;
}

.jam-address-popup__transactions summary {
    color: #1d4f91;
}

.jam-address-popup__transaction-title {
    display: block;
    margin-bottom: 7px;
    color: #17365f;
}

.jam-address-popup__transaction-buildings {
    margin-top: 8px;
    color: #384741;
    font-size: 12px;
}

.jam-address-popup .jam-address-popup__transaction-notice {
    margin: 8px 0 0;
    padding: 7px 9px;
    border-radius: 8px;
    background: #eef4fb;
    color: #43566c;
    font-size: 12px;
}

.jam-address-map--error .jam-address-map__status,
.jam-address-map__error {
    color: #a12622;
}

@media (max-width: 900px) {
    .jam-address-map__toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .jam-address-map__search {
        grid-column: 1 / -1;
    }

    .jam-address-map__fit {
        justify-self: end;
    }
}

@media (max-width: 620px) {
    .jam-address-map__toolbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 13px;
    }

    .jam-address-map__filters {
        width: 100%;
    }

    .jam-address-map__filters label {
        flex: 1 1 auto;
        justify-content: center;
    }

    .jam-address-map__transaction-filters {
        width: 100%;
    }

    .jam-address-map__transaction-filters label {
        flex-basis: 100%;
    }

    .jam-address-map__fit {
        width: 100%;
    }

    .jam-address-map__map {
        height: min(var(--jam-map-height, 600px), 68vh);
        min-height: 420px;
    }

    .jam-address-map__panel {
        top: auto;
        bottom: 0;
        width: 100%;
        height: min(76%, 620px);
        border-top: 1px solid var(--jam-border);
        border-left: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -12px 32px rgb(15 23 42 / 24%);
    }

    .jam-address-map__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .jam-address-map__catalog-panel {
        padding: 12px;
    }

    .jam-address-map__catalog-controls {
        grid-template-columns: 1fr;
    }

    .jam-address-map__catalog-tab {
        flex: 1 1 0;
        padding-right: 9px;
        padding-left: 9px;
    }

    .jam-address-map__ranking-list button {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .jam-address-map__ranking-value {
        grid-row: 3;
        grid-column: 2;
        font-size: 15px;
    }

    .jam-address-map__ranking-list small {
        grid-row: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jam-address-map *,
    .jam-address-map *::before,
    .jam-address-map *::after {
        scroll-behavior: auto !important;
    }
}
