/* Sprint 9B — notifications consultables dès le header, consentement non intrusif. */
.amc-push-header-wrap{position:relative;flex:0 0 auto;display:flex;align-items:center;z-index:125}
.topbar .amc-push-bell{position:relative;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border-radius:14px;border:1px solid #d4e2fb;background:#eef4ff;color:#1e4ed8;box-shadow:none;transition:background .18s,transform .18s}
.topbar .amc-push-bell:hover,.topbar .amc-push-bell[aria-expanded="true"]{background:#dbeafe;transform:translateY(-1px)}
.amc-push-bell svg{display:block;width:22px;height:22px;flex:none}
.amc-push-bell-count{position:absolute;right:-6px;top:-8px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:999px;background:#ef4444;border:2px solid white;color:white;font-size:11px;font-weight:900;line-height:1}
.amc-push-bell-count[hidden],.amc-push-popover[hidden],.amc-push-discovery[hidden]{display:none!important}
.amc-push-popover{position:fixed;right:clamp(12px,3vw,40px);top:84px;width:min(440px,calc(100vw - 24px));max-height:min(85dvh,780px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #d9e4f5;border-radius:24px;background:#fff;color:#12223b;box-shadow:0 24px 76px rgba(15,23,42,.2);z-index:9999;text-align:left}
.amc-push-popover-head{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 22px 15px;background:linear-gradient(125deg,#f0f6ff,#fff)}
.amc-push-popover-head span{font-size:.65rem;letter-spacing:.13em;color:#3156a4;font-weight:900}
.amc-push-popover-head h2{font-size:1.13rem;margin:6px 0 0;color:#0f172a;line-height:1.3}
.amc-push-popover .amc-push-close{flex:none;width:32px;height:32px;padding:0;border-radius:10px;display:grid;place-items:center;color:#334155;background:#e8eef7;font-size:22px;line-height:1}
.amc-push-feed{padding:0 16px 12px}
.amc-push-feed-empty{color:#64748b;font-size:.86rem;line-height:1.5;padding:13px;margin:0}
.amc-push-feed-list{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.amc-push-feed-item{display:flex;align-items:flex-start;gap:12px;padding:12px;text-decoration:none;color:#0f172a;border:1px solid #e2e8f0;background:#f9fbff;border-radius:16px;transition:background .2s}
.amc-push-feed-item:hover{background:#eff6ff}
.amc-push-feed-icon{width:36px;height:36px;flex:none;border-radius:11px;background:#e8efff;display:grid;place-items:center;font-size:19px}
.amc-push-feed-copy{display:grid;gap:4px;min-width:0}
.amc-push-feed-copy strong{font-size:.87rem;line-height:1.4;overflow-wrap:anywhere}
.amc-push-feed-copy small{font-size:.78rem;font-weight:500;color:#475569;line-height:1.42;overflow-wrap:anywhere}
.amc-push-feed-copy time{font-size:.7rem;font-weight:750;color:#64748b}
.amc-push-settings-slot{border-top:1px solid #dce6f4;background:#f8fbff}
.amc-push-settings-link{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;font-weight:850;color:#1d4ed8;text-decoration:none}
/* Les contrôles d'inscription sont déplacés du footer vers le panneau. */
.amc-push-settings-slot .amc-push-section{display:block;background:transparent;border:0;padding:0}
.amc-push-settings-slot .amc-push-content{display:block;max-width:none;margin:0;padding:16px}
.amc-push-settings-slot .amc-push-intro .section-tag{display:none}
.amc-push-settings-slot .amc-push-intro h2{font-size:1rem;margin:0 0 7px;color:#172c52}
.amc-push-settings-slot .amc-push-intro p{font-size:.79rem;line-height:1.5;margin:0 0 12px}
.amc-push-settings-slot .amc-push-controls{display:grid;gap:10px;padding:15px;border-radius:16px;box-shadow:none}
.amc-push-settings-slot .amc-push-controls label{font-size:.81rem}
.amc-push-settings-slot .amc-push-actions{gap:8px}
.amc-push-settings-slot .amc-push-actions button{font-size:.8rem;padding:10px;min-height:44px;flex:1 1 165px}
.amc-push-settings-slot .amc-push-controls>[data-push-feedback]{font-size:.77rem}
.amc-push-settings-slot .amc-push-controls>small{font-size:.72rem}
/* Invitation visible directement sous le header, une seule fois par session si fermée. */
.amc-push-discovery{display:flex;align-items:center;gap:15px;padding:11px clamp(16px,4vw,56px);background:linear-gradient(100deg,#edf4ff,#fff);border-bottom:1px solid #dce8fa;min-height:70px;position:relative;z-index:3}
.amc-push-discovery-icon{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:13px;background:#dce9ff;font-size:23px}
.amc-push-discovery>div{display:grid;gap:3px;min-width:0;flex:1}
.amc-push-discovery strong{font-size:.9rem;color:#103a8e;font-weight:900}
.amc-push-discovery small{font-size:.77rem;line-height:1.35;color:#53647b}
.amc-push-discovery .amc-push-banner-open{background:#2458ea;color:#fff;padding:10px 16px;min-height:42px;border-radius:12px;white-space:nowrap;font-size:.82rem}
.amc-push-discovery .amc-push-discovery-dismiss{background:transparent;color:#64748b;width:28px;height:28px;min-width:28px;padding:0;display:grid;place-items:center;font-size:20px}
@media(max-width:980px){.amc-push-popover{top:74px}.topbar .amc-push-bell{width:40px;height:40px;min-width:40px}}
@media(max-width:600px){.amc-push-discovery{gap:9px;padding:10px 12px;flex-wrap:wrap}.amc-push-discovery-icon{width:34px;height:34px;font-size:18px}.amc-push-discovery>div{flex:1 1 calc(100% - 82px)}.amc-push-discovery .amc-push-banner-open{flex:1 1 100%;min-height:40px}.amc-push-discovery .amc-push-discovery-dismiss{position:absolute;right:10px;top:8px}.amc-push-discovery strong{padding-right:28px}.amc-push-popover{top:66px;border-radius:20px}}
@media(max-width:420px){.topbar .amc-push-bell{width:36px;height:36px;min-width:36px;border-radius:11px}.amc-push-bell svg{width:19px;height:19px}.topbar .brand.brand-logo-only{max-width:112px!important}.topbar .brand.brand-logo-only img{max-width:112px!important}}
@media(max-width:370px){.topbar .brand.brand-logo-only{max-width:90px!important}.topbar .brand.brand-logo-only img{max-width:90px!important}.topbar .top-actions{gap:4px!important}.topbar .amc-push-bell{width:34px;height:34px;min-width:34px}.amc-push-popover{right:8px;width:calc(100vw - 16px)}}
@media(prefers-reduced-motion:reduce){.amc-push-feed-item,.amc-push-bell{transition:none!important}}
