.notification-center{position:relative;align-self:stretch;display:flex;align-items:center}
.notification-panel{position:absolute;right:-80px;top:calc(100% + 9px);width:420px;max-width:calc(100vw - 24px);z-index:55;border:1px solid var(--border);background:var(--panel);border-radius:13px;box-shadow:0 22px 65px #0007;overflow:hidden;display:flex;flex-direction:column;max-height:min(620px,calc(100dvh - 85px))}
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 18px 13px}
.notification-heading h2{font-size:21px;margin:0}.notification-heading p{color:var(--muted);font-size:12px;margin:3px 0 0}
.notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 12px;border-bottom:1px solid var(--line);flex-shrink:0}
.notification-filters{display:flex;gap:6px}.notification-filters button{border:0;border-radius:7px;padding:7px 9px;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}.notification-filters button[aria-pressed=true]{background:#008dff20;color:var(--cyan)}.notification-filters span{font-size:10px;margin-left:3px}
.notification-toolbar .text-link{font-size:11px;white-space:nowrap;gap:4px}.notification-toolbar .text-link svg{width:15px;height:15px}
.notification-items{overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:var(--border) transparent}
.notification-item{position:relative;border-bottom:1px solid var(--line)}.notification-item:last-child{border-bottom:0}.notification-item.unread{background:#008dff08}
.notification-open{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;border:0;background:transparent;padding:16px 18px;color:var(--text)}.notification-open:hover,.notification-open:focus-visible{background:#008dff10}.notification-open:focus-visible,.notification-filters button:focus-visible{outline:2px solid var(--cyan);outline-offset:-2px}
.notification-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;padding-right:15px}.notification-copy strong{font-size:14px;font-weight:550}.notification-copy>span{font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.notification-copy small{font-size:11px;color:var(--cyan);display:flex;gap:4px;align-items:center}.notification-copy small svg{width:12px;height:12px}
.notification-dot{background:var(--blue);width:6px;height:6px;border-radius:50%;flex-shrink:0;margin-top:6px}.notification-read{position:absolute;right:9px;bottom:12px;color:var(--subtle);height:28px;width:28px}.notification-read:hover{color:var(--cyan);background:#008dff18}.notification-read svg{width:15px;height:15px}
.notification-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;border-top:1px solid var(--line);color:var(--subtle);font-size:10px;flex-shrink:0}.notification-footer>div{display:flex;align-items:center;gap:5px;white-space:nowrap}.notification-footer .icon-button{padding:4px}.notification-footer svg{height:14px;width:14px}
.notification-empty{text-align:center;padding:40px 22px;color:var(--muted)}.notification-empty>svg{width:36px;height:36px;color:var(--cyan);margin-bottom:14px}.notification-empty strong{display:block;color:var(--text);font-size:16px}.notification-empty p{font-size:13px;line-height:1.6;margin:8px 0 0}.notification-empty .button{margin-top:18px}.notification-loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:65px 20px;color:var(--muted)}
@media(max-width:700px){.notification-panel{position:fixed;top:70px;left:12px;right:12px;width:auto;max-width:none;max-height:calc(100dvh - 170px - env(safe-area-inset-bottom))}.notification-heading{padding:16px}.notification-toolbar{gap:4px;padding:0 12px 12px}.notification-filters{gap:2px}.notification-filters button{padding:7px}.notification-open{padding:14px}.notification-copy{padding-right:8px}.notification-open .activity-icon{width:32px;height:32px}.notification-footer{padding:10px 12px}}
@media print{.notification-panel{display:none!important}}
@media(max-width:700px) and (max-height:550px){.notification-panel{max-height:calc(100dvh - 85px - env(safe-area-inset-bottom))}}
