/* Toast Master v1.0.4 — Pile des notifications du cœur Perfex (voir assets/js/float_stack.js). */
#tm-float-stack {
    position: fixed; top: 1.25rem; right: 1.25rem; z-index: 2147483647; /* comme le cœur : au-dessus de l'en-tête collant du portail (1000002) */
    display: flex; flex-direction: column; align-items: flex-end; gap: .5rem;
    width: 24rem; max-width: calc(100vw - 2.5rem); pointer-events: none;
}
#tm-float-stack > .alert.float-alert {
    position: relative !important; top: auto !important; right: auto !important; left: auto !important;
    float: none !important; margin: 0 !important; width: 100% !important; max-width: 100% !important;
    padding-right: 3.5rem !important; /* place réservée à la croix : le texte long passait dessous */
    pointer-events: auto;
}
@media (max-width: 575px) {
    #tm-float-stack { top: .75rem; right: .75rem; left: .75rem; width: auto; max-width: none; }
}
/* v1.0.6 — Croix de fermeture : le cœur la règle à opacity:.4 (1,9–2,1:1, sous le seuil de 3:1 d'un
   élément d'interface) → pleine opacité (6,2–7,1:1 dans sa couleur de type). */
#tm-float-stack > .alert.float-alert button.close { opacity: 1 !important; }
#tm-float-stack > .alert.float-alert button.close:hover,
#tm-float-stack > .alert.float-alert button.close:focus-visible { opacity: .75 !important; }
