.global-notifications-trigger { position:relative; flex-shrink:0; }
.global-notifications-trigger .nav-count { position:absolute; top:-4px; right:-6px; min-width:16px; margin:0; }
.global-notifications-dialog { width:min(520px,calc(100vw - 24px)); color:var(--ink); background:var(--surface); }
.global-notifications-actions { display:flex; align-items:center; gap:4px; }
.global-notifications-dialog .icon-button { width:28px; height:28px; min-width:28px; padding:5px; border:0; border-radius:0; color:var(--muted); background:transparent; }
.global-notifications-dialog .icon-button:hover { color:var(--ink); background:var(--soft); }
.global-notifications-dialog .icon-button .ui-icon { --ui-icon-size:16px; }
.global-notifications-dialog .global-notifications-tools { display:flex; align-items:center; gap:8px; padding:10px 16px; border-bottom:1px solid var(--line); background:var(--soft); font-size:12px; }
.global-notifications-dialog .global-notifications-tools[hidden] { display:none; }
.global-notifications-tools > span { flex:1; }
.global-notifications-dialog .global-notifications-tools .secondary-button { width:auto; height:28px; min-height:28px; padding:0 10px; }
[data-notifications-message] { margin:0; padding:10px 16px; color:var(--muted); font-size:12px; border-bottom:1px solid var(--line); }
[data-notifications-message]:empty { display:none; }
[data-notifications-list] { max-height:min(60dvh,480px); overflow-y:auto; }
.global-notification { display:flex; gap:8px; align-items:center; padding:12px 16px; border-bottom:1px solid var(--line); font-size:12px; cursor:pointer; }
.global-notification:hover { background:var(--soft); }
.global-notification:last-child { border-bottom:0; }
.global-notification::before { content:''; flex:0 0 5px; width:5px; height:5px; background:transparent; border-radius:50%; }
.global-notification.is-unread::before { background:var(--accent); }
.global-notification > div { flex:1; min-width:0; }
.global-notification a { display:block; overflow-wrap:anywhere; line-height:1.6; color:var(--ink); text-decoration:none; }
.global-notification a:hover { text-decoration:underline; }
.global-notification time { display:block; margin-top:4px; color:var(--muted); font-size:11px; }
.global-notifications-empty { padding:24px 16px; margin:0; text-align:center; color:var(--muted); font-size:12px; }
[data-custody-admin-link][hidden] { display:none !important; }
