#nearby.ama71-enabled > article.card { padding: 16px; }
#nearby.ama71-enabled .ama-prox-overview { display: none !important; }
#nearby.ama71-enabled .ama71-list .near-tabs { display: flex !important; flex-wrap: wrap; overflow: visible; }
#nearby.ama71-enabled .ama71-list .near-tabs button { min-height: 44px; }
#nearby .ama71-nearby-map { margin-top: 13px; color: #203b2d; font-family: inherit; }
#nearby .ama71-nearby-map * { box-sizing: border-box; }
#nearby .ama71-nearby-map [hidden] { display: none !important; }
#nearby .ama71-nearby-map button, #nearby .ama71-nearby-map select { font: inherit; }
#nearby .ama71-categories { display: flex; flex-wrap: nowrap; gap: 7px; overflow-x: auto; padding: 3px 1px 8px; margin-bottom: 7px; scrollbar-width: thin; }
#nearby .ama71-categories button { flex: 0 0 auto; min-height: 44px; padding: 8px 13px; border: 1px solid #dce6dd; border-radius: 24px; background: #fff; color: #365444; font-size: 13px; font-weight: 700; white-space: nowrap; }
#nearby .ama71-categories button[aria-pressed="true"] { color: #fff; background: #1a6244; border-color: #1a6244; }
#nearby .ama71-filter-line { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
#nearby .ama71-filter-line label { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; color: #607468; }
#nearby .ama71-filter-line select, #nearby .ama71-picker select { min-height: 44px; border: 1px solid #dce6dd; border-radius: 10px; padding: 5px 7px; color: #203b2d; background: #fff; font-size: 16px; }
#nearby .ama71-filter-line > span { font-size: 12px; color: #607468; }
#nearby .ama71-map-stage { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #dce6dd; border-radius: 17px; background: #eeeade; }
#nearby .ama71-map-canvas { height: 380px; width: 100%; z-index: 1; background: #eeeade; }
#nearby .ama71-map-stage .leaflet-control { box-shadow: 0 2px 8px #21483218; border: 1px solid #d5dfd6; }
#nearby .ama71-map-stage .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; color: #1a6244; }
#nearby .ama71-map-stage .leaflet-control-attribution { max-width: 100%; font-size: 11px; }
#nearby .ama71-map-stage .leaflet-control-attribution a { color: #456153; }
#nearby .ama71-map-status { position: absolute; top: 10px; left: 60px; right: 10px; z-index: 800; padding: 9px 11px; margin: 0; border-radius: 10px; background: #fffffff2; color: #506356; font-size: 12px; line-height: 1.4; }
#nearby .ama71-recenter { position: absolute; right: 12px; bottom: 30px; z-index: 800; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #dce6dd; border-radius: 50%; background: #fff; color: #1a6244; box-shadow: 0 2px 8px #21483220; }
#nearby .ama71-recenter svg { width: 21px; height: 21px; }
#nearby .ama71-reference { position: absolute; left: 10px; bottom: 27px; z-index: 600; padding: 3px 7px; border-radius: 6px; background: #fffffff0; color: #55675b; font-size: 11px; pointer-events: none; }
#nearby .ama71-leaflet-icon, #nearby .ama71-home-icon { border: 0; background: transparent; }
#nearby .ama71-pin { position: relative; width: 66px; height: 68px; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; background: transparent; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#nearby .ama71-pin-leader { position: absolute; top: 47px; left: 0; width: 66px; height: auto; overflow: visible; pointer-events: none; z-index: -1; stroke: var(--ama71-color, #536a5b); stroke-width: 1.5; fill: var(--ama71-color, #536a5b); }
#nearby [data-category="schools"] { --ama71-color: #8462b4; --ama71-tint: #f0e9fa; }
#nearby [data-category="commerces"] { --ama71-color: #be7924; --ama71-tint: #fcf0da; }
#nearby [data-category="transports"] { --ama71-color: #2d85ab; --ama71-tint: #e5f3f8; }
#nearby [data-category="health"] { --ama71-color: #c25771; --ama71-tint: #fbeaf0; }
#nearby [data-category="projects"] { --ama71-color: #8462b4; --ama71-tint: #f0e9fa; }
#nearby [data-category="parks"] { --ama71-color: #66a649; --ama71-tint: #edf6e8; }
#nearby [data-category="roads"] { --ama71-color: #cc6259; --ama71-tint: #fcece9; }
#nearby [data-category="mixed"] { --ama71-color: #536a5b; --ama71-tint: #edf3ef; }
#nearby .ama71-pin-symbol { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; border: 3px solid #fff; background: var(--ama71-color, #536a5b); color: #fff; box-shadow: 0 2px 7px #21483230; }
#nearby .ama71-pin-symbol svg { width: 22px; height: 22px; }
#nearby .ama71-cluster-count { font-size: 16px; font-weight: 800; }
#nearby .ama71-pin-distance { display: block; margin-top: 2px; padding: 2px 5px; border-radius: 8px; background: #fff; color: #203b2d; font-size: 11px; line-height: 1.2; font-weight: 800; white-space: nowrap; box-shadow: 0 2px 5px #21483220; }
#nearby .ama71-pin[aria-pressed="true"] .ama71-pin-symbol { box-shadow: 0 0 0 3px #203b2d, 0 3px 9px #21483225; }
#nearby .ama71-pin[aria-pressed="true"] .ama71-pin-distance { background: #1a6244; color: #fff; }
#nearby .ama71-home-icon { text-align: center; pointer-events: none; }
#nearby .ama71-home-symbol { position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; background: #1a6244; color: #fff; box-shadow: 0 2px 7px #21483230; }
#nearby .ama71-home-symbol::after { content: ""; position: absolute; bottom: -3px; width: 12px; height: 12px; transform: rotate(45deg); background: #1a6244; z-index: -1; }
#nearby .ama71-home-symbol svg { width: 25px; height: 25px; }
#nearby .ama71-home-label { display: inline-block; padding: 2px 5px; margin-top: 5px; color: #203b2d; background: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; border-radius: 6px; }
#nearby .ama71-notice { padding: 9px 11px; margin: 10px 0; background: #fff6df; border-radius: 10px; color: #795914; font-size: 12px; line-height: 1.4; }
#nearby .ama71-missing { font-size: 12px; color: #607468; line-height: 1.4; margin: 10px 0; }
#nearby .ama71-refresh { min-height: 44px; margin: 3px 0 8px; border: 1px solid #dce6dd; border-radius: 10px; background: #fff; padding: 8px 12px; color: #1a6244; font-size: 12px; }
#nearby .ama71-refresh:disabled { opacity: .6; }
#nearby .ama71-extra-list { margin-top: 12px; border: 1px solid #dce6dd; border-radius: 12px; background: #fff; }
#nearby .ama71-extra-list summary { min-height: 44px; padding: 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
#nearby .ama71-extra-list button { display: flex; justify-content: space-between; gap: 8px; align-items: center; width: 100%; min-height: 44px; padding: 12px; text-align: left; border: 0; border-top: 1px solid #e1e8e2; background: #fff; color: #294b38; font-size: 13px; }
#nearby .ama71-extra-list button small { color: #607468; font-size: 11px; }
#nearby .ama71-sheet { padding: 15px; margin-top: 13px; background: #fff; border: 1px solid #dce6dd; border-radius: 17px; box-shadow: 0 3px 12px #2148320d; }
#nearby .ama71-sheet-head { display: flex; gap: 10px; align-items: center; }
#nearby .ama71-sheet-head > div { min-width: 0; flex: 1; }
#nearby .ama71-sheet-head small { font-size: 11px; color: #607468; }
#nearby .ama71-sheet-head h4 { margin: 2px 0 0; font-size: 17px; line-height: 1.3; font-weight: 750; overflow-wrap: anywhere; }
#nearby .ama71-sheet-head > strong { white-space: nowrap; align-self: flex-start; margin-top: 3px; font-size: 13px; color: #1a6244; }
#nearby .ama71-sheet-icon { width: 43px; height: 43px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; background: var(--ama71-tint, #edf3ef); color: var(--ama71-color, #536a5b); }
#nearby .ama71-sheet-icon svg { width: 25px; height: 25px; }
#nearby .ama71-address { display: flex; align-items: flex-start; gap: 6px; margin: 12px 0 5px; font-size: 13px; color: #607468; line-height: 1.4; }
#nearby .ama71-address svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
#nearby .ama71-address span { overflow-wrap: anywhere; }
#nearby .ama71-distance-note { display: block; color: #607468; font-size: 11px; }
#nearby .ama71-quality { display: inline-block; margin: 4px 0 7px; padding: 4px 8px; border-radius: 7px; background: #edf5ee; color: #285e3f; font-size: 11px; }
#nearby .ama71-quality[data-state="to_verify"] { background: #fff3d8; color: #795914; }
#nearby .ama71-quality[hidden] { display: none; }
#nearby .ama71-detail-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin-top: 13px; padding: 10px 12px; border: 0; border-radius: 11px; background: #1a6244; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
#nearby .ama71-detail-toggle svg { width: 18px; height: 18px; }
#nearby .ama71-detail { padding-top: 13px; font-size: 12px; }
#nearby .ama71-detail dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 9px 12px; margin: 0; }
#nearby .ama71-detail dt { color: #607468; }
#nearby .ama71-detail dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
#nearby .ama71-detail > button { border: 1px solid #dce6dd; border-radius: 10px; padding: 10px; min-height: 44px; margin-top: 12px; background: #f1f7f2; color: #1a6244; font-size: 12px; cursor: pointer; }
#nearby .ama71-picker { display: grid; gap: 5px; margin-top: 12px; font-size: 12px; color: #607468; }
#nearby .ama71-picker select { width: 100%; min-width: 0; }
#nearby .ama71-empty .ama71-sheet-icon, #nearby .ama71-empty .ama71-distance-note { display: none; }
#nearby .ama71-list { margin-top: 15px; border-top: 1px solid #e1e8e2; padding-top: 4px; }
#nearby .ama71-list > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #294b38; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
#nearby .ama71-list > summary::-webkit-details-marker { display: none; }
#nearby .ama71-list > summary::after { content: "+"; font-size: 22px; }
#nearby .ama71-list[open] > summary::after { content: "−"; }
@media (max-width: 380px) {
  #nearby.ama71-enabled > article.card { padding: 11px; }
  #nearby .ama71-categories { gap: 4px; }
  #nearby .ama71-categories button { font-size: 12px; padding-inline: 11px; }
  #nearby .ama71-map-canvas { height: 350px; }
  #nearby .ama71-sheet { padding: 12px; }
  #nearby .ama71-sheet-head h4 { font-size: 16px; }
}
@media (pointer: coarse) {
  #nearby .ama71-map-stage .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; }
}
