/* Shared by the owner app and owner-branded customer websites. */
.location-field-group.location-field-group { display:block; min-width:0; margin:0 0 22px; }
.location-field-group > .location-original-label { display:block; margin-bottom:0; }
.location-combobox { position:relative; display:block; min-width:0; }
.location-combobox input { width:100%; min-width:0; }
.location-options { position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:45; display:block; max-height:290px; overflow:auto; overscroll-behavior:contain; border:1px solid var(--control-border,#8b9790); border-radius:10px; background:var(--surface,#fff); color:var(--ink,#1d2926); box-shadow:0 12px 36px #14233b26; text-align:left; }
.location-options[hidden] { display:none!important; }
.location-option { display:flex; flex-direction:column; justify-content:center; gap:5px; min-height:56px; padding:13px 15px; border-bottom:1px solid var(--line,#dce3de); cursor:pointer; line-height:1.5; }
.location-option:last-child { border-bottom:0; }
.location-option:hover,.location-option[aria-selected=true] { background:var(--accent-soft,var(--panel,#f0f3ef)); box-shadow:inset 3px 0 var(--brand-text,var(--blue,#2457e7)); }
.location-option-label { display:block; font-size:16px; font-weight:500; overflow-wrap:anywhere; }
.location-option-note { display:block; color:var(--muted,#5c6862); font-size:13px; font-weight:400; line-height:1.5; }
.location-assistance { margin-top:8px; font-weight:400; text-align:left; }
.location-mode-button { display:inline-flex; align-items:center; justify-content:flex-start; min-height:44px; max-width:100%; margin:0 0 3px; padding:8px 0; border:0; border-radius:4px; background:none; color:var(--brand-text,var(--blue,#2457e7)); font:600 14px/1.5 Inter,"Segoe UI",Arial,sans-serif; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.location-mode-button[hidden] { display:none!important; }
.location-status,.location-field-group .location-status { margin:0; padding:0; color:var(--muted,#5c6862); font-size:14px; line-height:1.6; font-weight:400; overflow-wrap:anywhere; }
.location-status.is-error { color:var(--danger,#962e28); }
.location-status:empty,.location-links:empty { display:none; }
.location-credit { display:block; margin-top:9px; color:var(--muted,#5c6862); font:400 13px/1.6 Inter,"Segoe UI",Arial,sans-serif; overflow-wrap:anywhere; }
.location-credit[hidden] { display:none!important; }
.location-credit a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.location-links { display:flex; align-items:center; flex-wrap:wrap; gap:4px 18px; margin-top:5px; }
.location-links a { display:inline-flex; align-items:center; gap:6px; min-height:44px; max-width:100%; color:var(--brand-text,var(--blue,#2457e7)); font-size:14px; line-height:1.5; font-weight:600; text-decoration:underline; text-underline-offset:4px; overflow-wrap:anywhere; }
.location-links a > span { flex:none; }
.location-map-panel { min-width:0; padding:20px; border:1px solid var(--line,#dce3de); border-radius:12px; background:var(--surface,#fff); color:var(--ink,#1d2926); }
.location-map-status { margin:0 0 16px; font-size:14px; line-height:1.65; color:var(--muted,#5c6862); }
.location-map-canvas { width:100%; height:370px; min-width:0; overflow:hidden; border:1px solid var(--line,#dce3de); border-radius:9px; background:var(--panel,var(--soft,#f0f3ef)); isolation:isolate; z-index:0; }
.location-map-canvas[hidden] { display:none!important; }
.location-map-canvas .leaflet-control-zoom a { width:44px; height:44px; line-height:44px; font-size:24px; color:#1d2926; }
.location-map-canvas .leaflet-popup-content { margin:18px; max-width:calc(100vw - 110px); font:400 16px/1.6 Inter,"Segoe UI",Arial,sans-serif; }
.location-map-canvas .leaflet-popup-content-wrapper { border-radius:10px; background:var(--surface,#fff); color:var(--ink,#1d2926); }
.location-map-canvas .leaflet-popup-tip { background:var(--surface,#fff); }
.location-map-canvas a.leaflet-popup-close-button { width:44px; height:44px; padding:7px; color:var(--muted,#5c6862); font-size:24px; line-height:30px; }
.location-popup { min-width:140px; padding-top:12px; }
.location-popup > strong { display:block; margin-right:14px; font-size:16px; line-height:1.5; font-weight:650; overflow-wrap:anywhere; }
.location-map-canvas .location-popup > p { margin:10px 0 0; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.location-popup .location-links { gap:4px 14px; margin-top:8px; }
.location-select { display:inline-flex; justify-content:center; align-items:center; min-height:44px; width:100%; margin-top:9px; padding:10px 15px; border:1px solid var(--line,#dce3de); border-radius:8px; background:var(--soft,var(--panel,#f0f3ef)); color:var(--ink,#1d2926); font:600 14px/1.5 Inter,"Segoe UI",Arial,sans-serif; cursor:pointer; }
.location-select:hover { border-color:var(--brand-text,var(--blue,#2457e7)); }
/* Keep close-up navigation separate from the map; map pins retain a stable 44px anchor. */
.location-map-controls { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 12px; min-width:0; margin:0 0 12px; }
.location-map-controls[hidden] { display:none!important; }
.location-map-controls button,.location-map-overview { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; max-width:100%; padding:10px 14px; border:1px solid var(--control-border,#8192ad); border-radius:8px; background:var(--surface,#fff); color:var(--ink,#14233b); font:600 14px/1.5 Inter,"Segoe UI",Arial,sans-serif; text-align:center; cursor:pointer; }
.location-map-controls button:hover,.location-map-overview:hover { background:var(--accent-soft,var(--panel,#edf2fa)); color:var(--brand-text,var(--blue,#2457e7)); }
.location-map-controls button:focus-visible,.location-map-overview:focus-visible { outline:3px solid var(--brand-text,var(--blue,#2457e7)); outline-offset:3px; }
.location-map-focus-label { flex:1; min-width:140px; margin:0; color:var(--muted,#596b85); font:400 14px/1.5 Inter,"Segoe UI",Arial,sans-serif; overflow-wrap:anywhere; }
.location-map-canvas .location-map-marker { display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:50%; background:transparent; box-shadow:none; cursor:pointer; }
.location-map-marker > span { display:grid; place-items:center; box-sizing:border-box; width:32px; height:32px; border:3px solid #fff; border-radius:50%; background:var(--brand-text,#2457e7); color:#fff; box-shadow:0 2px 8px #14233b66; font:700 14px/1 Inter,"Segoe UI",Arial,sans-serif; font-variant-numeric:tabular-nums; user-select:none; transition:width .12s,height .12s,box-shadow .12s; }
.location-map-marker.is-active { z-index:1000!important; }
.location-map-marker.is-active > span { width:40px; height:40px; font-size:16px; box-shadow:0 0 0 3px #fff,0 0 0 5px var(--brand-text,#2457e7),0 3px 12px #14233b66; }
.location-map-canvas .location-map-marker:focus-visible { outline:3px solid var(--brand-text,#2457e7); outline-offset:5px; }
.location-map-marker:hover > span { box-shadow:0 0 0 3px #fff,0 0 0 5px var(--brand-text,#2457e7),0 3px 12px #14233b66; }
@media(max-width:600px) {
  .location-options { max-height:240px; }
  .location-option { min-height:60px; padding:13px; }
  .location-map-panel { padding:16px; }
  .location-map-canvas { height:330px; }
  .location-map-status { font-size:16px; }
  .location-map-controls { align-items:flex-start; }
  .location-map-focus-label { flex-basis:100%; }
}
@media(forced-colors:active) {
  .location-map-marker > span { background:Highlight; color:HighlightText; border-color:Canvas; box-shadow:none; }
  .location-map-marker.is-active > span,.location-map-marker:hover > span { outline:2px solid Highlight; outline-offset:2px; box-shadow:none; }
}
@media(prefers-reduced-motion:reduce) { .location-map-canvas * { scroll-behavior:auto; } }
@media(prefers-reduced-motion:reduce) { .location-map-marker > span { transition:none; } }
