/* Messages de statut communs : succès vert et texte de lecture sans graisse. */
html body .flash-toast{
  font-weight:400!important;
}
html body .flash-toast.flash-toast-success{
  background:#e8f8ed!important;
  color:#145c32!important;
  border:1px solid #26a269!important;
  border-left:4px solid #168346!important;
  font-weight:400!important;
}
html body .flash-toast.flash-toast-success button{
  background:transparent!important;
  color:#145c32!important;
  font-weight:400!important;
}

/* LMS_LOCATION_SUGGESTIONS_PORTAL_V2: non-clipped dropdown, real map-pin SVG. */
html body .explore-location-suggestions.lms-location-suggestions-portal {
  position:fixed!important;
  z-index:2147483000!important;
  right:auto!important;
  bottom:auto!important;
  box-sizing:border-box!important;
  display:block!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  direction:ltr!important;
  text-align:left!important;
  padding:6px!important;
  background:var(--panel,#2c2c2c)!important;
  border:1px solid var(--line,#555)!important;
  border-radius:12px!important;
  box-shadow:0 22px 50px rgba(0,0,0,.4)!important;
}
html body .explore-location-suggestions[hidden]{display:none!important}
html body .explore-location-suggestions > button.lms-location-suggestion {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
  text-align:left!important;
  text-align-last:left!important;
  direction:ltr!important;
  width:100%!important;
  min-height:44px!important;
  padding:10px 12px!important;
  margin:0!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--text,#fff)!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.35!important;
  white-space:normal!important;
  transform:none!important;
  box-shadow:none!important;
}
html body .explore-location-suggestions > button.lms-location-suggestion::before {
  content:none!important;
  display:none!important;
}
html body .explore-location-suggestions > button.lms-location-suggestion svg.lms-location-suggestion-svg {
  display:block!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  color:var(--accent-text,var(--accent,#d22))!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
}
html body .explore-location-suggestions > button.lms-location-suggestion svg.lms-location-suggestion-svg :is(path,circle) {
  fill:none!important;
  stroke:currentColor!important;
}
html body .explore-location-suggestions > button.lms-location-suggestion > span {
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  text-align:left!important;
  text-align-last:left!important;
  color:inherit!important;
  font:inherit!important;
  white-space:normal!important;
}
html body .explore-location-suggestions > button.lms-location-suggestion:is(:hover,:focus-visible) {
  background:color-mix(in srgb,var(--accent) 16%,var(--panel))!important;
  color:var(--text,#fff)!important;
}
html body .explore-location-suggestions > .location-suggestion-empty {
  text-align:left!important;
  color:var(--text,#fff)!important;
}

/* LMS_POSTAL_PICKER_SUGGESTIONS_COMPACT_V1: bounded dropdown in publication
   and profile fields; match the existing shared compact result buttons. */
html body .location-picker-control > [data-location-picker-suggestions]{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:min(252px,45dvh)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  z-index:240!important;
}
html body .location-picker-control > [data-location-picker-suggestions] > button.lms-location-suggestion{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}
html body .location-picker-control > [data-location-picker-suggestions] > button.lms-location-suggestion > svg.lms-location-suggestion-svg{
  flex:0 0 18px!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
}

