:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-count{position:absolute;top:0;right:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:20px;background:#dc3545;color:#fff;font-size:11px;line-height:18px;text-align:center;font-weight:700}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-count[hidden]{display:none}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-menu{min-width:min(395px,calc(100vw - 22px));max-width:calc(100vw - 22px);padding:0}
:is(#hd-admin-notifications,#hd-guide-notifications) .dropdown-head{padding:12px 16px;border-bottom:1px solid #e8ecf1;gap:8px}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-list{max-height:380px;overflow-y:auto;overscroll-behavior:contain}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-entry{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-bottom:1px solid #eef1f4;text-decoration:none;color:#34435a}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-entry strong{font-size:14px}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-entry span{font-size:13px;color:#65758d}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-entry small{font-size:12px;color:#8996a8}
:is(#hd-admin-notifications,#hd-guide-notifications) .dropdown-foot{padding:12px 16px; flex-direction: column;}

:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-tabs{display:flex;border-bottom:1px solid #e8ecf1;padding:0 12px}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-tab{flex:1;border:0;border-bottom:2px solid transparent;background:transparent;color:#77869b;font-weight:600;font-size:13px;padding:11px 5px;cursor:pointer}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-tab.is-active{border-bottom-color:#167bfa;color:#167bfa}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-tab span{font-size:11px;margin-left:3px}
/* La couleur et le survol concernent la ligne entière, actions incluses. */
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row{display:flex;align-items:stretch;border-bottom:1px solid #eef1f4;transition:background-color .15s ease}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row.is-unread{background-color:#edf4ff;border-left:3px solid #167bfa}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row:hover,:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row:focus-within{background-color:#f5f8fc}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row.is-unread:hover,:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row.is-unread:focus-within{background-color:#e1edff}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row .hd-notif-entry{min-width:0;flex:1;border:0;background:transparent}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row .hd-notif-entry:hover,:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-row .hd-notif-entry.is-unread{background:transparent}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-action{align-self:center;flex:0 0 34px;min-width:34px;height:34px;margin-right:9px;background:#fff;border:1px solid #e0e7ef;border-radius:7px;color:#64748b;cursor:pointer}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-action:hover,:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-action:focus-visible{background:#edf4ff;border-color:#167bfa;color:#167bfa}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-bulk{padding:9px 15px;border-bottom:1px solid #e8ecf1}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-bulk[hidden]{display:none!important}
:is(#hd-admin-notifications,#hd-guide-notifications) .hd-notif-list [data-hd-notif-error]{padding:10px 16px;margin:0;color:#c42b36;font-size:12px}

/* Même ancrage de la pastille que pour l’administration, sur le bouton cloche. */
#hd-guide-notifications > .dropdown-toggle {position:relative}

/* Guide : les notifications lues restent blanches, les non lues gardent
   le fond bleu uniforme sur la ligne et la colonne d'actions. */
#hd-guide-notifications .hd-notif-row:not(.is-unread){background-color:#fff}
#hd-guide-notifications .hd-notif-row:not(.is-unread):hover,
#hd-guide-notifications .hd-notif-row:not(.is-unread):focus-within{background-color:#f5f8fc}
