#notifLive { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.notif-dynamic { position:fixed; top:18px; left:50%; transform:translateX(-50%); width:410px; max-width:calc(100vw - 28px); z-index:100050; border:1px solid var(--og-hairline,#d8e7df); border-radius:22px; overflow:hidden; background:var(--panel,#fff); color:var(--ink,#143a2c); box-shadow:0 18px 70px #123e2b33; animation:notif-arrival .3s ease-out; font:13px/1.4 Inter,system-ui,sans-serif; }
.notif-dynamic button { font:inherit; cursor:pointer; color:inherit; }
.notif-dynamic-head { display:flex; gap:9px; align-items:center; padding:12px 15px; background:var(--og-green,#0e4f3b); color:#fff; font-size:12px; font-weight:700; }
.notif-dynamic-bell { display:flex; }.notif-dynamic-bell svg { width:17px; height:17px; }
.notif-dynamic-head [data-fechar] { margin-left:auto; border:0; background:transparent; color:#fff; font-size:22px; line-height:1; border-radius:5px; }
.notif-dynamic-item { display:flex; align-items:center; gap:10px; width:100%; text-align:left; border:0; border-bottom:1px solid var(--line,#e1ebe5); background:transparent; padding:12px 16px; }
.notif-dynamic-item:hover { background:var(--bg,#f0f6f2); }
.notif-dynamic-item > span:nth-child(2) { flex:1; min-width:0; }.notif-dynamic-item strong { display:block; font-size:13px; }.notif-dynamic-item > span:nth-child(2) > span { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:12px; color:var(--muted,#526b5d); margin-top:3px; overflow-wrap:anywhere; }
.notif-dynamic-all { width:100%; border:0; padding:10px; background:var(--bg,#f0f6f2); font-size:11px!important; font-weight:700!important; }
.notif-category-dot { width:8px; height:8px; border-radius:50%; background:#64748b; flex:none; }.notif-category-dot[data-cat=comercial] { background:#0e7c66; }.notif-category-dot[data-cat=whatsapp] { background:#15803d; }.notif-category-dot[data-cat=email] { background:#2563eb; }.notif-category-dot[data-cat=solicitacoes] { background:#b45309; }.notif-category-dot[data-cat=comunidade] { background:#7c3aed; }
.notif-filters { display:flex; gap:6px; flex-wrap:wrap; padding:12px 16px; border-bottom:1px solid var(--line,#e1ebe5); }
.notif-filters button,.notif-pref-button { font:600 11px Inter,system-ui,sans-serif; cursor:pointer; border:1px solid var(--line,#dce8e0); color:var(--ink,#143a2c); background:var(--panel,#fff); border-radius:8px; padding:6px 9px; }
.notif-filters button[aria-pressed=true] { background:var(--og-green,#0e4f3b); border-color:var(--og-green,#0e4f3b); color:#fff; }
.notif-preferences { padding:12px 16px; border-bottom:1px solid var(--line,#e1ebe5); background:var(--bg,#f5f8f6); font-size:12px; color:var(--ink,#143a2c); }.notif-preferences summary { cursor:pointer; font-weight:700; }.notif-preferences label { display:flex; align-items:center; gap:8px; margin-top:10px; cursor:pointer; }.notif-preferences p { margin:10px 0 0; font-size:11px; color:var(--muted,#526b5d); }.notif-preferences button { margin-top:10px; }.notif-preferences input { accent-color:var(--og-green,#0e4f3b); }
#notifDrawer .notif-row { display:flex; gap:12px; padding:12px; border-radius:12px; border:0; cursor:pointer; background:transparent; transition:background .13s; color:var(--ink,#143a2c); text-align:left; width:100%; font:inherit; }.notif-row:focus-visible,.notif-dynamic button:focus-visible,.notif-filters button:focus-visible { outline:2px solid var(--og-green,#0e4f3b); outline-offset:2px; }.notif-row:hover { background:var(--bg,#f0f6f2)!important; }
#notifDrawer .notif-row[data-unread=true] { background:rgba(14,124,102,.06); }
#notifBell[data-unread=true] svg { animation:notif-bell .6s ease-in-out; }
@keyframes notif-arrival { from { opacity:0; transform:translate(-50%,-18px) scale(.97); } to { opacity:1; transform:translate(-50%,0) scale(1); } }
@keyframes notif-bell { 25% { transform:rotate(15deg); } 75% { transform:rotate(-12deg); } }
@media(prefers-reduced-motion:reduce) { .notif-dynamic,#notifBell[data-unread=true] svg { animation:none; } }
@media(max-width:500px) { .notif-dynamic { top:10px; border-radius:17px; } }

/* Filtros compactos da central: categoria em dropdown e leitura na mesma linha. */
.notif-filters--compact { align-items:flex-end; flex-wrap:nowrap; gap:12px; flex-shrink:0; }
.notif-category { position:relative; flex:1; min-width:0; }
.notif-filter-label { display:block; margin-bottom:6px; color:var(--muted,#526b5d); font-size:11px; font-weight:600; }
.notif-filters .notif-category-trigger { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:36px; padding:8px 10px; text-align:left; font-size:12px; }
.notif-category-trigger > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.notif-category-trigger > svg { flex:none; transition:transform .15s; }
.notif-category-trigger[aria-expanded=true] > svg { transform:rotate(180deg); }
.notif-category-menu { position:absolute; left:0; right:0; top:calc(100% + 6px); z-index:5; padding:4px; overflow-y:auto; box-sizing:border-box; max-height:280px; border:1px solid var(--line,#dce8e0); border-radius:10px; background:var(--panel,#fff); box-shadow:0 10px 28px #123e2b26; }
.notif-category-menu[hidden] { display:none; }
.notif-category-menu--up { top:auto; bottom:calc(100% + 6px); }
.notif-category-menu [role=option] { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:34px; padding:8px 9px; border:0; background:transparent; text-align:left; font-size:12px; }
.notif-category-menu [role=option]:hover,.notif-category-menu [role=option]:focus-visible { background:var(--bg,#f0f6f2); }
.notif-category-menu [aria-selected=true] { color:var(--og-green,#0e4f3b); background:var(--bg,#f0f6f2); font-weight:700; }
.notif-category-menu [aria-selected=false] svg { visibility:hidden; }
.notif-filters .notif-unread-filter { display:flex; align-items:center; justify-content:center; gap:7px; flex:none; min-height:36px; white-space:nowrap; font-size:11px; padding:8px 10px; }
.notif-filter-tick { visibility:hidden; }
.notif-unread-filter[aria-pressed=true] .notif-filter-tick { visibility:visible; }
@media(prefers-reduced-motion:reduce) { .notif-category-trigger > svg { transition:none; } }
