/* V8-32 — le centre de notifications (P6-10) et la carte flottante à l'ouverture (P0-08).
   La carte elle-même (.notif-card) vit dans app.css ; ici son placement flottant, les liens et
   la barre « Tout lu ». Couleurs et ombres par les jetons seulement. */

.notif-toast { position: fixed; top: calc(56px + var(--safe-top)); left: 10px; right: 10px; z-index: 1037; display: block; text-decoration: none; color: inherit; }
.notif-toast .notif-card { background: color-mix(in srgb, var(--brand-surface) 97%, transparent); backdrop-filter: blur(12px); box-shadow: var(--brand-shadow-card); border: 1px solid var(--brand-line); }
.notif-toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease; }
@media (min-width: 992px) { .notif-toast { top: 72px; left: auto; right: 16px; width: 360px; } }

.notif-link { display: block; text-decoration: none; color: inherit; }
.notif-link:hover .notif-card, .notif-link:focus-visible .notif-card { border-color: var(--brand-accent); }
/* Les lignes d'une carte groupée (.notif-lines, AJUST-59) vivent avec la carte dans app.css. */

.notif-toolbar { display: flex; justify-content: flex-end; }
/* AJUST-86 (#2687, retour #2629) : le bouton « Marquer lue » (« ✓ Lue » jusqu'à AJUST-146 — pris pour un état) en haut à droite d'une carte non lue — le formulaire est posé à côté du lien
   de la carte, jamais dedans ; la carte lui laisse la place à droite pour que le titre ne passe pas dessous. */
.notif-item { position: relative; }
.notif-item.has-read .notif-card { padding-right: 6.4rem; }
.notif-read { position: absolute; top: .5rem; right: .6rem; margin: 0; }
.notif-read-btn { padding: .1rem .55rem; font-size: .72rem; line-height: 1.5; white-space: nowrap; }
/* AJUST-38 : « Voir 10 de plus » sous l'historique */
.notif-more { margin: .2rem 0 .8rem; }
