.desk-notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center}
.top-actions .desk-notification-bell{min-width:38px;min-height:38px}
.desk-notification-bell .notification-count{position:absolute;right:0;top:0;min-width:15px;height:15px;padding:0 3px;border-radius:10px;background:var(--accent,#7445e8);color:white;font:10px/15px sans-serif}
.desk-notification-bell.has-unread{color:var(--accent,#7445e8)!important}
.desk-notification-bell.has-unread>i{animation:notification-light 1.6s ease-in-out infinite}
@keyframes notification-light{0%,100%{opacity:1}50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){.desk-notification-bell.has-unread>i{animation:none}}
#notification-dialog{width:580px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink)}
#notification-dialog::backdrop{background:#20163d55;backdrop-filter:none}
.notification-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}
.notification-header h2{margin:0;font-size:20px}
.notification-body{padding:20px 22px;overflow:auto;max-height:calc(100dvh - 130px)}
.notification-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}
.notification-list{display:grid;gap:10px}.notification-item{padding:14px;border:1px solid var(--line);border-radius:12px}.notification-item.unread{border-left:3px solid var(--accent);background:var(--accent-soft)}
.notification-item h3{margin:0 0 6px;font-size:16px}.notification-item p{margin:6px 0;font-size:13px;overflow-wrap:anywhere}.notification-item .detail-actions{margin-top:10px}
.notification-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.notification-item-heading h3{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.5}
.notification-read-status{flex:none;padding:3px 8px;border-radius:6px;background:var(--accent-soft);color:var(--muted);font-size:12px;line-height:1.5;white-space:nowrap}
.reminder-options{display:flex;flex-wrap:wrap;gap:12px 18px;margin:12px 0}.reminder-options label{display:flex;align-items:center;gap:7px;font-size:14px}.reminder-options input{width:16px;height:16px;margin:0}
.reminder-options[hidden]{display:none}
.reminder-field{border:1px solid var(--line);border-radius:12px;padding:14px;min-width:0}.reminder-field legend{font-size:14px}.reminder-field p{font-size:12px;color:var(--muted);margin:8px 0 0}
#notification-settings{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}#notification-settings summary{cursor:pointer;font-weight:600}#notification-error{color:var(--danger,#b42318);font-size:13px}
#reminder-settings-form{display:grid;gap:14px;margin-top:18px}
#reminder-settings-form .notification-setting-label{margin:0;font-size:14px;font-weight:600}
#reminder-settings-form .reminder-options{display:flex;flex-wrap:wrap;gap:8px;margin:0}
#reminder-settings-form .reminder-options label{flex:1 0 80px;justify-content:center;min-height:42px;padding:9px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);white-space:nowrap;cursor:pointer}
#reminder-settings-form .reminder-options label:has(input:checked){border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
#reminder-settings-form .reminder-options label:focus-within{outline:2px solid var(--accent);outline-offset:2px}
#reminder-settings-form .notification-setting-help{display:grid;gap:4px;color:var(--muted);font-size:12px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
#reminder-settings-form .notification-setting-help p{margin:0}
.notification-setting-actions{display:flex;justify-content:flex-end;padding-top:2px}
.notification-setting-actions button{min-height:40px;padding:10px 18px}
#notification-error:empty{display:none}
.notification-guide{margin-top:22px;padding:15px 16px;border:1px solid var(--line);border-radius:12px;background:var(--accent-soft);font-size:12px;line-height:1.7;color:var(--muted);word-break:keep-all;overflow-wrap:anywhere}
.notification-guide strong{display:block;color:var(--ink);font-size:13px;margin-bottom:6px}
.notification-guide ul{display:grid;gap:4px;margin:0;padding-left:16px}
@media(max-width:480px){.notification-body{padding:16px}.notification-header{padding:16px}.notification-setting-actions button{width:100%}}
