:root {
  color-scheme: light;
  --ink: #20253b;
  --muted: #5e657b;
  --line: #dde1eb;
  --surface: #fff;
  --canvas: #f3f5fa;
  --violet: #6243bc;
  --violet-soft: #efeafa;
  --teal: #157775;
  --navy: #20263c;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-size: 15px;
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: var(--violet) }
button, input, select { font: inherit }
button { cursor: pointer }
button:disabled { cursor: default; opacity: .46 }
:focus-visible { outline: 2px solid #7760e0; outline-offset: 3px }
html { scroll-padding-top: 16px }
[hidden] { display: none !important }
.mobile-only, .card-label { display: none }
.masthead {
  background: var(--navy); color: #fff; display: flex; gap: 34px;
  min-height: 65px; padding: 0 34px; align-items: center;
}
.brand { display: inline-flex; gap: 11px; align-items: center; color: #fff; text-decoration: none; font-size: 19px; font-weight: 720; white-space: nowrap }
.brand-mark {
  display: block; width: 24px; height: 24px; border: 1px solid #c0aff4;
  border-radius: 6px; background: repeating-linear-gradient(45deg, transparent 0 4px, #bba8f1 4px 5px, transparent 5px 8px);
  transform: rotate(-12deg);
}
.masthead nav { display: flex; align-items: center; gap: 23px }
.masthead nav a { color: #e0e1ec; text-decoration: none; font-size: 13px; font-weight: 620 }
.masthead nav a:hover { color: #fff; text-decoration: underline }
.coverage { margin-left: auto; font-size: 12px; color: #e1dcf3; font-weight: 600 }
.workspace { display: grid; grid-template-columns: 276px minmax(0, 1fr); max-width: 1750px; margin: auto }
.filters { background: var(--surface); padding: 25px 20px; border-right: 1px solid var(--line); min-width: 0 }
.filter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 20px }
h1, h2, h3, p { margin: 0 }
h1 { font-size: clamp(29px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -.055em; font-weight: 760 }
h2 { font-size: 23px; letter-spacing: -.035em; font-weight: 720 }
h3 { font-size: 16px; font-weight: 720; line-height: 1.35 }
.filter-head h2, .summary h2 { font-size: 19px }
#filter-error { margin: 0 0 14px }
fieldset { border: 0; padding: 0 0 18px; margin: 0 0 18px; min-width: 0; border-bottom: 1px solid var(--line) }
legend { padding: 0; margin-bottom: 8px; font-weight: 710; font-size: 13px }
label { font-size: 12px; font-weight: 620; color: var(--muted) }
input[type=checkbox] { accent-color: var(--violet); width: 15px; height: 15px; vertical-align: middle; margin: 0; flex: 0 0 auto }
input:not([type=checkbox]), select {
  display: block; width: 100%; min-width: 0; min-height: 35px; margin-top: 4px;
  border: 1px solid #d5daea; border-radius: 6px; padding: 6px 7px; color: var(--ink); background: #fff; font-size: 12px;
}
input[type=date] { padding-left: 5px; padding-right: 4px; font-size: 11px }
.territory-actions { display: flex; justify-content: space-between; gap: 6px; margin: 0 0 5px }
.city-list { display: grid; gap: 1px }
.city-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 6px 4px; color: var(--ink); font-size: 13px; cursor: pointer }
.city-option:hover { background: var(--canvas) }
.city-option span { overflow-wrap: anywhere }
.city-more { margin-top: 6px; min-height: 28px }
.city-option small { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px }
.pair + .pair, .full-field + .pair, .pair + .full-field { margin-top: 10px }
.full-field { display: block }
.presets { display: flex; flex-wrap: wrap; gap: 0 12px; margin: 4px 0 }
.preset {
  border: 0; background: transparent; color: var(--muted); min-height: 24px;
  font-size: 11px; font-weight: 700; padding: 3px 0; white-space: nowrap;
  text-decoration: underline dashed; text-underline-offset: 3px;
}
.preset:hover, .preset:focus-visible { color: var(--violet) }
.compare-toggle { display: flex; gap: 7px; align-items: flex-start; line-height: 1.4; padding: 7px 0 }
.text-button { border: 0; background: transparent; padding: 3px 0; color: var(--violet); font-size: 12px; font-weight: 720; white-space: nowrap }
.text-button:hover { text-decoration: underline }
.primary, .outline { border-radius: 6px; min-height: 36px; padding: 7px 12px; font-size: 13px; font-weight: 710 }
.primary { display: block; width: 100%; background: var(--violet); color: #fff; border: 1px solid var(--violet) }
.primary:hover { background: #5034a5 }
.outline { background: #fff; border: 1px solid #c8c0de; color: #4d348d; white-space: nowrap }
.outline:hover:not(:disabled) { background: var(--violet-soft) }
.error { color: #a22244; font-size: 12px; margin-top: 10px }
main { min-width: 0; padding: 30px clamp(16px, 3vw, 40px) 25px }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 16px }
.section-actions { display: flex; gap: 8px; align-items: center }
.subheading { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.42 }
.period-filters { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 12px; padding: 11px 12px }
.period-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px }
.period-dates { width: 250px; max-width: 100%; margin: 0; padding: 0; border: 0 }
.period-dates legend { margin-bottom: 4px }
.period-dates input { font-size: 12px }
.period-row .presets { padding: 5px 0; margin: 0 }
.period-row .compare-toggle { align-items: center; padding: 9px 0 }
#compare-dates { margin-top: 12px }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 225px; gap: 17px }
.map-card, .summary, .chart-card, .sales-section { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; min-width: 0 }
.map-card { overflow: hidden }
.map-toolbar, .map-key, .map-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px; font-size: 11px; font-weight: 620; color: var(--muted) }
.map-controls { display: flex; flex-wrap: wrap; gap: 8px 13px }
.map-travel-link { text-decoration: none }
.map-controls label, .map-footer label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer }
.map-toolbar { border-bottom: 1px solid var(--line) }
.map-key { border-top: 1px solid var(--line); justify-content: flex-start }
.map-key > span { display: inline-flex; align-items: center; gap: 5px }
.map-footer { border-top: 1px solid var(--line); padding-block: 6px }
#map-status { font-weight: 600 }
.price-key { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.price-key strong { color: var(--ink) }
.price-axis { width: 168px; max-width: 100% }
.price-ramp {
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--price-green), var(--price-amber), var(--price-red));
}
.price-key[data-single="true"] .price-ramp { background: var(--price-amber) }
.price-labels { display: grid; grid-template-columns: repeat(3, max-content); justify-content: space-between; gap: 2px; margin-top: 3px; font-size: 10px; white-space: nowrap }
.period-outline, .unknown-price-swatch { display: inline-block; flex: 0 0 auto; width: 11px; height: 11px; border-radius: 2px }
.period-a { border: 2px solid var(--period-a-border) }
.period-b { border: 2px dashed var(--period-b-border) }
.unknown-price-swatch { background: var(--price-unknown) }
#map { z-index: 0; height: clamp(390px, 55vh, 590px); background: #e9eee9 }
.sold-shapes-canvas, .sold-points-canvas { position: absolute; inset: 0; width: 100%; height: 100% }
.sold-points-canvas { display: none }
.show-sale-points .sold-points-canvas { display: block }
.ign-tiles { filter: saturate(.62) contrast(.96) }
.leaflet-tooltip.town-label { border: none; background: #fffffff0; box-shadow: none; color: #33236c; font-weight: 700 }
.legend-line { display: inline-block; width: 15px; border-top: 2px dashed #665198 }
.summary { padding: 15px 15px 10px }
.summary h2 { padding-bottom: 11px; border-bottom: 1px solid var(--line) }
.metric { padding: 9px 0; border-bottom: 1px solid var(--line) }
.metric span { display: block; color: var(--muted); font-size: 11px; font-weight: 650 }
.metric strong { display: block; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.16; font-variant-numeric: tabular-nums; letter-spacing: -.052em }
.metric-price strong, .unit-price { color: #4d348d; font-weight: 720 }
.metric small { display: block; color: var(--teal); font-size: 10px; line-height: 1.2; margin-top: 3px }
.metric-note { margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.35 }
.study-section { margin-top: 25px }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 17px }
.chart-card { padding: 14px; min-width: 0 }
.chart-head { display: flex; justify-content: space-between; gap: 8px; align-items: center }
.price-chart-card { grid-column: 1 / -1 }
.price-chart-card .chart-head { flex-wrap: wrap }
.chart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px }
.chart-actions label { display: flex; align-items: center; gap: 6px }
.chart-actions select { width: auto; min-height: 29px; margin: 0; padding-block: 4px }
.chart-card canvas { display: block; width: 100%; height: 245px; margin-top: 5px }
#price-chart { height: 275px }
.chart-key { min-height: 20px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--muted) }
.chart-key span { display: inline-flex; align-items: center; gap: 5px }
details { font-size: 12px; color: var(--muted); margin-top: 7px }
summary { cursor: pointer; color: #4d348d; font-weight: 650 }
.sales-section { padding: 17px }
.sort { min-width: 140px }
.scroll-table { width: 100%; overflow-x: auto }
table { border-collapse: collapse; width: 100%; font-size: 12px; margin-top: 6px }
th, td { padding: 8px 9px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap }
th { color: var(--muted); background: #f5f4fb; font-weight: 720 }
td:nth-child(n+4) { font-variant-numeric: tabular-nums }
tr:hover td { background: #f7f5fd }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 13px; font-size: 12px; color: var(--muted) }
.sources { padding-top: 15px }
.sources p { margin-top: 7px; line-height: 1.5; max-width: 100ch }
.sale-address { display: inline-flex; align-items: center; gap: 3px }
.sale-address .maps-link {
  display: inline-grid; place-items: center; flex: 0 0 24px; min-height: 24px;
  border-radius: 4px; color: var(--violet); font: 700 15px/1 system-ui; text-decoration: none;
}
.maps-link:hover, .maps-link:focus-visible { background: var(--violet-soft) }
.sale-popup { display: grid; gap: 6px; min-width: 165px; font-family: inherit }
.sale-popup strong { font-size: 16px }
.popup-period { color: var(--muted); font-weight: 700 }
.sale-popup button { text-align: left; white-space: normal }
.travel-section { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 17px }
.travel-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 8px; max-width: 520px; align-items: end }
.travel-search label { grid-column: 1 / -1 }
.travel-locations { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; margin-top: 15px }
.travel-locations > section { min-width: 0 }
.travel-places { list-style: none; margin: 0; padding: 0 }
#travel-search-results:not(:empty) { margin-top: 7px }
.travel-place { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 11px; padding: 7px 0; border-bottom: 1px solid var(--line) }
.travel-place strong { display: block; font-size: 13px; overflow-wrap: anywhere }
.travel-place small, .travel-result-place small { display: block; color: var(--muted); font-size: 11px; font-weight: 600 }
.travel-empty { padding-top: 7px; color: var(--muted); font-size: 12px }
.travel-actions, .travel-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 11px }
.travel-recent { margin-top: 6px }
.travel-recent .preset { white-space: normal; text-align: left }
.travel-popup { display: grid; gap: 5px; min-width: 185px }
.travel-popup .travel-actions { display: grid; gap: 0; justify-items: start }
.travel-popup input { min-height: 28px }
#travel-results { margin-top: 14px }
.travel-result-place { white-space: normal; min-width: 14ch }
.travel-route-state { color: var(--muted); font-size: 11px }
.travel-car-result:not(.travel-route-state) { font-weight: 700 }
.travel-google-car-column .maps-link, .travel-google-car-inline { font-size: 11px }
.travel-google-car-inline { display: none }
.travel-table-action { min-height: 24px; padding: 2px 3px }
@media (max-width: 1140px) {
  .workspace { grid-template-columns: 245px minmax(0, 1fr) }
  .filters { padding-inline: 15px }
  .map-layout { grid-template-columns: minmax(0, 1fr) 177px; gap: 12px }
  .summary { padding: 12px 10px }
}
@media (max-width: 960px) {
  .map-layout, .charts { grid-template-columns: minmax(0, 1fr) }
  .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 9px }
}
@media print {
  .masthead nav, .filters, button, .period-filters, .map-toolbar, .pagination, .sales-section, .sources { display: none !important }
  body { background: #fff }
  .workspace { display: block }
  main { padding: 15px }
  .map-layout { grid-template-columns: minmax(0, 1fr) 160px }
  .charts { grid-template-columns: repeat(2,minmax(0,1fr)) }
  #map { height: 340px; min-height: 0 }
  .chart-card { break-inside: avoid }
}

.export-link { display: inline-flex; align-items: center; text-decoration: none }
.export-link[aria-disabled=true] { opacity: .46 }
.chart-head a { text-decoration: none }
.chart-head a:hover { text-decoration: underline }


.manage-cities { margin-bottom: 6px; width: 100%; text-align: left }
.filter-note { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4 }
.atlas-dialog { width: min(94vw, 525px); max-height: 88vh; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); padding: 24px; box-shadow: 0 20px 70px #171c3a45 }
.atlas-dialog::backdrop { background: #2226419e }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px }
.google-maps-dialog { width: min(94vw, 1240px); max-height: 94vh; padding: 16px }
.google-maps-dialog .dialog-heading { align-items: center; margin-bottom: 12px }
.google-maps-dialog h2 { margin: 0 }
.google-maps-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0 }
#google-maps-frame { display: block; width: 100%; height: min(72vh, 760px); border: 0; border-radius: 7px; background: var(--canvas) }
.search-form { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) max-content; column-gap: 8px; align-items: end }
.search-form label { grid-column: 1 / -1 }
.management-list { list-style: none; margin: 7px 0 17px; padding: 0 }
.management-list li { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0 }
.management-list strong { font-size: 13px; display: block }
.management-list small { font-size: 11px; color: var(--muted); display: block }
.city-buttons { display: flex; align-items: center; gap: 8px }
.city-nearby { border-block: 1px solid var(--line); margin-bottom: 16px; padding: 12px 0 }
.city-nearby-heading, .city-nearby-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px }
.city-radius { display: flex; align-items: center; gap: 6px }
.city-radius select { width: auto }
.nearby-list { max-height: 240px; overflow-y: auto; scrollbar-gutter: stable; margin-bottom: 8px; padding-inline-end: 8px }
.nearby-option { display: flex; justify-content: space-between; align-items: center; flex: 1; cursor: pointer; margin: 0 }
.nearby-option input { margin: 0 }

@media screen and (max-width: 767px) {
  .mobile-only { display: inline-flex }
  html { scroll-padding-bottom: calc(60px + env(safe-area-inset-bottom)) }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)) }
  .masthead {
    min-height: 54px;
    padding: calc(8px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
    gap: 8px 16px;
    flex-wrap: wrap;
  }
  .masthead .brand { font-size: 17px }
  .masthead .coverage { font-size: 11px; margin-left: auto }
  .masthead nav {
    position: fixed;
    z-index: 10;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 4px max(8px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -3px 12px #20263c0d;
  }
  .masthead nav a { display: grid; place-items: center; min-height: 44px; color: var(--ink); border-radius: 6px }
  .masthead nav a:hover, .masthead nav a:focus-visible { color: #4d348d; background: var(--violet-soft) }
  .workspace { display: block }
  #filter-sidebar { display: none }
  main { padding: 16px max(12px, env(safe-area-inset-right)) 22px max(12px, env(safe-area-inset-left)) }
  #carte > .section-top { flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-bottom: 12px }
  #carte > .section-top > :first-child { flex-basis: 100%; min-width: 0 }
  .section-actions { width: 100%; justify-content: space-between }
  .section-actions .outline { display: inline-flex; align-items: center; justify-content: center }
  #open-filters { color: #fff; background: var(--violet); border-color: var(--violet); min-width: 92px }
  .outline, .text-button, .preset, .compare-toggle, .city-option, .nearby-option { min-height: 44px }
  .text-button, .preset { padding-inline: 4px }
  .compare-toggle { align-items: center }
  label { font-size: 13px }
  input:not([type=checkbox]), select { min-height: 44px; font-size: 16px }
  input[type=checkbox] { width: 17px; height: 17px }
  .period-filters { padding: 2px 10px }
  .period-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; column-gap: 6px; align-items: start }
  .period-row .presets { grid-area: 1 / 1; gap: 0 6px; padding: 0 }
  #period-options { grid-area: 1 / 2; align-items: center }
  #period-options[aria-expanded="true"], .preset[aria-pressed="true"] { color: #4d348d }
  .period-dates, .period-row .compare-toggle { grid-column: 1 / -1; width: 100% }
  .period-filters:has(#period-options[aria-expanded="false"]) :is(#period-a, #compare-option, #compare-dates, .preset-extended) { display: none }
  .period-row .compare-toggle { padding: 4px 0 }
  .preset { font-size: 12px }
  .map-toolbar { gap: 0 6px; padding: 0 8px }
  .map-controls { gap: 0 7px }
  .map-controls label, .map-footer label { min-height: 44px; font-size: 12px }
  .map-travel-link { display: none }
  .map-stage { position: relative }
  #map { height: clamp(280px, 50svh, 450px) }
  #map-pan { position: absolute; z-index: 1; top: 10px; right: 10px; align-items: center }
  #map-pan[aria-pressed="true"] { background: var(--violet); color: #fff; border-color: var(--violet) }
  #map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px }
  #map .leaflet-popup-close-button { width: 40px; height: 40px; line-height: 40px }
  #map .leaflet-popup-content { max-width: calc(100vw - 72px); margin-right: 37px; overflow-wrap: anywhere }
  .price-key { width: 100%; flex-wrap: nowrap }
  .price-axis { flex: 1 1 auto; min-width: 0 }
  .price-labels { font-size: 11px }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px }
  .metric strong { font-size: 22px }
  .metric-note { font-size: 11px }
  .travel-section, .sales-section, .chart-card { padding: 12px }
  .travel-locations { grid-template-columns: minmax(0, 1fr); gap: 14px }
  .travel-actions, .travel-recent { gap: 0 10px }
  .travel-place { gap: 0 10px }
  .chart-actions { gap: 8px }
  .chart-actions select { min-height: 44px }
  .chart-head a, summary { min-height: 44px; align-content: center }
  .sort { min-width: 0 }
  .sales-section > .section-top { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 10px }
  .pagination { justify-content: space-between }

  .sales-table, .travel-table, .sales-table tbody, .travel-table tbody { display: block }
  .sales-table thead, .travel-table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden }
  .sales-table td, .travel-table td { min-width: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere }
  .sales-table tr:hover td, .travel-table tr:hover td { background: transparent }
  .sales-table .sale-row, .travel-table tbody tr {
    display: grid;
    gap: 6px 9px;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--canvas);
  }
  .sales-table .sale-row { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .sale-address-cell { grid-column: 1 / -1; grid-row: 2 }
  .sale-city { grid-column: 1 / 3; grid-row: 1; font-weight: 650 }
  .sale-date { grid-column: 3; grid-row: 1; text-align: right }
  .sale-address { display: flex; flex-wrap: wrap; gap: 0 4px }
  .sale-address button:first-child { white-space: normal; text-align: left; font-size: 13px }
  .sale-address .maps-link { flex-basis: 44px; min-height: 44px }
  .sale-address .travel-table-action { margin-left: auto }
  .card-label { display: block; color: var(--muted); font-size: 11px; font-weight: 650; margin-bottom: 4px }
  .travel-table tbody tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
  .travel-result-place { grid-column: 1 / -1 }
  .travel-google-car-column { display: none }
  .travel-table .maps-link { display: inline-flex; align-items: center }
  .travel-table .travel-google-car-inline { display: flex; width: fit-content }

  .atlas-dialog { padding: 16px }
  .mobile-filter-sheet[open] {
    position: fixed;
    inset: auto 0 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    width: min(100%, 525px);
    max-height: 88vh;
    max-height: 88dvh;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
  }
  body:has(dialog[open]) { overflow: hidden }
  .mobile-filter-fields { overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px }
  .mobile-filter-fields .filter-head { align-items: center; margin-bottom: 8px }
  .mobile-filter-close {
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }
  .mobile-filter-close button { width: 100% }
  .city-list { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .city-option { grid-template-columns: auto minmax(0, 1fr); gap: 6px }
  .city-option small { display: none }
  .management-list li { flex-wrap: wrap; gap: 0 8px }
  .nearby-option { gap: 8px }
}
