@layer nearbycheck-brand {
  .place-search-block { min-width:0!important; }
  #placeSearch::-webkit-search-cancel-button { -webkit-appearance:none; }
  #searchSuggestions { position:static!important; inset:auto!important; max-height:360px!important; overflow-y:auto!important; margin:8px 0 0!important; border:1px solid var(--brand-line)!important; border-radius:8px!important; }
  #searchSuggestions.hidden, .search-field-wrap.hidden, #selectedLocation.hidden, .address-choices-label.hidden, .location-precision.hidden { display:none!important; }
  .address-choices-label { margin-top:12px; font-size:14px; font-weight:600; color:var(--brand-ink); }
  #searchSuggestions .search-suggestion { width:100%!important; padding:14px!important; min-height:76px!important; display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:5px!important; text-align:left!important; white-space:normal!important; border:0!important; border-bottom:1px solid var(--brand-line)!important; border-radius:0!important; }
  #searchSuggestions .search-suggestion:last-child { border-bottom:0!important; }
  #searchSuggestions .search-suggestion:hover, #searchSuggestions .search-suggestion.keyboard-active { background:var(--brand-selected)!important; }
  #searchSuggestions .search-suggestion:focus-visible { outline:2px solid var(--brand-action)!important; outline-offset:-3px!important; }
  .search-suggestion strong { font-size:16px!important; line-height:1.4!important; color:var(--brand-ink)!important; }
  .search-suggestion small { font-size:14px!important; line-height:1.45!important; color:var(--brand-muted)!important; }
  .search-suggestion strong, .search-suggestion small, .selected-location, .decision-check-copy { overflow-wrap:anywhere!important; }
  .location-choice-action { font-size:13px; font-weight:600; color:var(--brand-action); }
  .location-precision, .search-suggestion small.location-precision { font-size:13px!important; line-height:1.45!important; color:var(--brand-warn)!important; }
  .selected-location { display:grid; gap:5px; padding:14px; border:1px solid var(--brand-line); border-left:3px solid var(--brand-action); border-radius:8px; background:var(--brand-surface); color:var(--brand-ink); }
  .selected-location strong { font-size:18px; line-height:1.4; }
  #selectedLocationSecondary { font-size:14px; line-height:1.45; color:var(--brand-muted); }
  .location-kicker { font-size:11px; line-height:1.5; letter-spacing:.08em; text-transform:uppercase; color:var(--brand-muted); }
  .location-card-actions { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:3px; }
  .location-card-actions button { min-height:44px!important; }
  .decision-check-locality { font-size:14px; line-height:1.5; color:var(--brand-muted); }
  .decision-check-locality:empty { display:none; }
  .decision-check-actions { flex-wrap:wrap!important; }
  .location-preview-dialog { width:min(560px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:20px; background:var(--brand-surface); color:var(--brand-ink); border:1px solid var(--brand-line); border-radius:12px; }
  .location-preview-dialog::backdrop { background:#0008; }
  .location-preview-header { display:flex; justify-content:space-between; align-items:center; gap:16px; }
  .location-preview-dialog h2 { font-size:18px; margin:0; }
  .location-preview-dialog p { font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
  .location-preview-close { min-height:44px; min-width:44px; background:var(--brand-soft); color:var(--brand-ink); border:1px solid var(--brand-line); border-radius:6px; }
  .location-preview-map { height:280px; border-radius:8px; background:var(--brand-map); overflow:hidden; }
  :root[data-theme="dark"] .location-preview-map .leaflet-tile { filter:var(--brand-tile-filter); }
  .location-preview-map .leaflet-control-attribution { color:#302c2b!important; background:#fff!important; }
  .location-preview-map .leaflet-control-attribution a { color:#782c3d!important; }
}
