.notification-menu{position:relative;flex-shrink:0;color:var(--ink)}
.notification-bell{position:relative;display:flex;align-items:center;justify-content:center;list-style:none;width:36px;height:36px;min-height:36px;padding:0;border-radius:4px;color:var(--muted)}
.notification-bell::-webkit-details-marker{display:none}
.notification-bell:hover,.notification-menu[open]>.notification-bell{background:var(--primary-soft);color:var(--primary)}
.notification-bell:focus-visible,.notification-item:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.notification-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:#d73342;border:2px solid var(--surface)}
.notification-dot[hidden]{display:none}
.notification-panel{position:absolute;z-index:80;top:44px;right:0;width:360px;max-width:calc(100vw - 32px);background:var(--surface);border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 24px #152c231a;overflow:hidden}
.notification-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid var(--line)}
.notification-panel>header strong{font-size:14px;font-weight:600}
.notification-panel>header span{font-size:11px;color:var(--muted)}
.notification-list{max-height:min(430px,60dvh);overflow-y:auto;overscroll-behavior:contain}
.notification-item{display:flex;flex-direction:column;gap:5px;padding:14px 16px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);overflow-wrap:anywhere}
.notification-item:last-child{border-bottom:0}
.notification-item:hover{background:var(--canvas)}
.notification-kind{font-size:10px;font-weight:500;color:var(--primary)}
.notification-item strong{font-size:13px;font-weight:600}
.notification-description{font-size:12px;line-height:18px;color:var(--muted)}
.notification-item-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:5px;font-size:11px;color:var(--primary)}
.notification-item-footer time{font-size:10px;color:var(--muted);white-space:nowrap}
.notification-empty{padding:28px 16px;color:var(--muted);font-size:12px;text-align:center}
.notification-footer{padding:10px 16px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;line-height:16px}
.invitations-section tr:target{background:var(--primary-soft);scroll-margin-top:20px}
@media(max-width:767px){.notification-panel{position:fixed;top:54px;left:16px;right:16px;width:auto;max-width:none}.notification-bell{width:36px;height:40px}.notification-dot{top:7px}}
