.notifications-dropdown { display: flex; flex-direction: column; max-height: calc(100vh - var(--nav-height) - 24px); max-height: calc(100dvh - var(--nav-height) - 24px); }
.notif-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-weight: 600; font-size: 14px; flex-shrink: 0; }
.notif-list { overflow-y: auto; min-height: 0; max-height: 360px; overscroll-behavior: contain; }
.notif-item { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-width: 0; padding: 12px 16px; background: transparent; color: var(--text-primary); border: 0; border-bottom: 1px solid var(--border-light); font: inherit; text-align: left; cursor: pointer; }
.notif-item:hover { background: var(--bg-elevated); }
.notif-item:focus-visible { outline: 2px solid var(--primary-deeper); outline-offset: -2px; }
.notif-item:disabled { cursor: progress; opacity: .65; }
.notif-icon { flex-shrink: 0; font-size: 20px; line-height: 1.3; }
.notif-copy { display: block; min-width: 0; flex: 1; overflow-wrap: anywhere; }
.notif-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.notif-message, .notif-time { display: block; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.notif-time { margin-top: 8px; }
.notif-status { padding: 20px 16px; text-align: center; color: var(--text-muted); font-size: 14px; overflow-wrap: anywhere; }
.notif-footer { border-top: 1px solid var(--border-light); padding: 8px; flex-shrink: 0; }
.notif-footer button { width: 100%; }
.notif-history-dialog { width: calc(100% - 24px); max-width: 600px; padding: 20px; }
.notif-history-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border-light); margin-bottom: 12px; padding-bottom: 12px; }
.notif-history-header h3 { margin: 0; font-size: 1.25rem; min-width: 0; overflow-wrap: anywhere; }
.notif-history-header button { flex-shrink: 0; }
.notif-history-item { border-radius: var(--radius-md); margin-bottom: 8px; border: 1px solid var(--border-light); background: var(--bg-primary); }
.notif-history-item.is-read { background: transparent; }
.notif-history-item .notif-title { font-size: 14px; }
.notif-new { color: var(--primary-deeper); font-size: 11px; }
.notif-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 12px; margin-top: 16px; }
