/* Sites suggérés pendant la frappe d'une adresse (assets/domaines.js). Couleurs du thème de la page quand elle en
   a (variables --carte, --texte, --bord, --accent-doux), sinon thème clair. */
.dm-porteur { position: relative; }
.dm-liste {
  position: absolute; z-index: 60; margin: 0; padding: 4px 0; list-style: none; box-sizing: border-box;
  max-height: min(60vh, 340px); overflow-y: auto; text-align: left;
  background: var(--carte, #fff); color: var(--texte, #2b3a44); border: 1px solid var(--bord, #d5dde3);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(20, 40, 60, .16);
  font: 14px/1.3 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.dm-liste[hidden] { display: none; }
.dm-item {
  display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; cursor: pointer;
  white-space: nowrap; overflow: hidden;
}
.dm-item[aria-selected="true"] { background: var(--accent-doux, #e3edf3); }
.dm-ico {
  flex: 0 0 16px; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 3px; background: var(--bord, #e4e8ec); color: var(--texte-doux, #5a6a75); font-size: 10px; font-weight: 600;
}
.dm-ico img { width: 16px; height: 16px; display: block; border-radius: 3px; background: var(--carte, #fff); }
.dm-nom { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; color: var(--texte, #2b3a44); }
.dm-dom { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--texte-doux, #5a6a75); font-size: 13px; }
.dm-nom + .dm-dom::before { content: "\00b7\00a0"; }
.dm-statut { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Images masquées (bouton Images de la palette) : le texte seul. */
html[data-images="non"] .dm-ico { display: none; }
/* Au doigt : lignes plus hautes. */
@media (pointer: coarse) { .dm-item { min-height: 44px; } }
