/* Уведомления (notify.js): панель — как всплывающее меню НейроАгента (белая, радиус 16, тень var(--sh-pop),
   без цветных заливок); баннер деградации и объявлений — белая полоса над содержимым экрана. */
.pop.ntf { position: fixed; z-index: 400; width: 400px; min-width: 0; padding: 0; background: #fff; border-radius: 16px; box-shadow: var(--sh-pop); display: flex; flex-direction: column; overflow: hidden; animation: rise .15s ease-out; }
.ntf-h { display: flex; align-items: baseline; gap: 8px; padding: 16px 18px 4px; flex: none; }
.ntf-h h3 { font-size: 15px; }
.ntf-h span { font-size: 12.5px; color: var(--ink-3); }
.ntf-list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 8px 8px; }
.ntf-list::-webkit-scrollbar { width: 8px; }
.ntf-list::-webkit-scrollbar-thumb { background: #D6DDE7; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.ntf-g { padding: 10px 10px 4px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ntf-i { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 9px 10px; border-radius: 10px; text-align: left; transition: background .12s; }
.ntf-i:hover { background: var(--fill-2); }
.ntf-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--fill-2); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.ntf-i:hover .ntf-ic { background: #fff; }
.ntf-ic svg { width: 16px; height: 16px; }
.ntf-ic.warn { color: var(--warn); }
.ntf-ic.bad { color: var(--bad); }
.ntf-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.ntf-t { font-size: 13.5px; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ntf-i.new .ntf-t { font-weight: 600; }
.ntf-s { font-size: 12.5px; line-height: 1.4; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ntf-m { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; padding-top: 2px; }
.ntf-w { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.ntf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ntf-empty { padding: 28px 12px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.ntf-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 12px; border-top: 1px solid var(--hair); flex: none; }
.ntf-f .btn-link { padding: 0 6px; }
.ntf-f .btn-link[disabled] { opacity: 1; color: var(--ink-3); }

/* кнопка в меню: подсветка, пока панель открыта; точка в свёрнутом меню — только при непрочитанных */
.nav-i.ntf-open { background: var(--fill-2); }
.side.mini .nav-i.ntf-none .mini-badge { display: none; }

/* баннер над экраном: деградация (ЧТЗ 4.3.3) и объявления (ЧТЗ 4.3.2) */
.ntf-banner { flex: none; display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0 0 8px; padding: 6px 8px 6px 16px; border-radius: 16px; background: #fff; animation: rise .18s ease-out; }
.ntf-banner .nb-ic { display: grid; place-items: center; flex: none; color: var(--warn); }
.ntf-banner.info .nb-ic { color: var(--accent); }
.ntf-banner .nb-ic svg { width: 18px; height: 18px; }
.ntf-banner .nb-t { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 2px 12px; flex-wrap: wrap; font-size: 14px; line-height: 1.4; }
.ntf-banner .nb-t b { font-weight: 600; }
.ntf-banner .nb-t span { font-size: 13.5px; color: var(--ink-2); }
