.notification-preferences{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;border-bottom:1px solid var(--line);background:var(--surface)}
.notification-preferences>div{min-width:0;max-width:70ch}
.notification-preferences h2{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:16px;line-height:1.4;letter-spacing:0;margin:0 0 6px}
.notification-preferences p{font-size:13px;line-height:1.6;color:#45516a;margin:0;overflow-wrap:anywhere}
.notification-preferences .quiet{flex-shrink:0;min-height:44px}
.notification-preferences .badge.approved{background:#e9f5ee;color:#33704c}
.notification-preferences .notification-device-error{color:#a02030;margin-top:8px}
.notification-list .notification:last-child{border-bottom:0}
.notification-list .notification{overflow-wrap:anywhere}
.notification .notification-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 18px}
.notification .notification-meta time{font-variant-numeric:tabular-nums}
.notification .notification-open{display:block;margin-top:12px;color:var(--blue);font-size:12px;font-weight:600}
.notification-preferences button:hover:not(:disabled){background:#edf2fd}
.notification-preferences button:disabled{cursor:wait;opacity:.65}
@media(max-width:600px){.notification-preferences{align-items:stretch;flex-direction:column;gap:16px;padding:20px}.notification-preferences .quiet{align-self:flex-start}.design-workspace .notification{padding:20px}.notification-preferences p{font-size:14px}}

/* Tablet navigation keeps all seven destinations within the viewport. */
@media(min-width:601px) and (max-width:950px){.design-workspace .sidebar nav a>span:not(.count){display:none}.design-workspace .sidebar nav a{width:44px;min-width:44px;justify-content:center}.design-workspace .sidebar nav{gap:6px}}

/* First-use permission explanation shares the workspace dialog vocabulary. */
dialog.notification-onboarding{width:min(460px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:30px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink)}
.notification-onboarding-symbol{display:grid;place-items:center;width:48px;height:48px;margin-bottom:20px;border-radius:12px;background:#edf2fd;color:var(--blue)}
.notification-onboarding-symbol svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.notification-onboarding h2{font-size:25px;line-height:1.25;letter-spacing:-.025em;margin:0 0 12px}
.notification-onboarding h2:focus{outline:0}
.notification-onboarding p{font-size:15px;line-height:1.6;color:#45516a;margin:0 0 14px;overflow-wrap:anywhere}
.notification-onboarding .notification-onboarding-privacy{margin-bottom:10px}
.notification-onboarding .notification-onboarding-later{font-size:13px;color:var(--muted);margin-bottom:0}
.notification-onboarding .notification-onboarding-status{font-size:14px;color:#a02030;margin:16px 0 0}
.notification-onboarding .notification-onboarding-status:empty{display:none}
.notification-onboarding-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:26px}
.notification-onboarding-actions button{min-height:44px;line-height:1.4}
.notification-onboarding-actions button:disabled{cursor:wait;opacity:.65}
.member-profile>.notification-preferences{padding:24px 0 0;margin-top:24px;border-top:1px solid var(--line);border-bottom:0}
@media(max-width:480px){dialog.notification-onboarding{padding:24px}.notification-onboarding-actions{display:grid;grid-template-columns:1fr}.notification-onboarding-actions .primary{grid-row:1}.notification-onboarding-actions button{width:100%}}
@media(prefers-reduced-motion:no-preference){.notification-onboarding[open]{animation:grt-notification-intro-in .2s cubic-bezier(.16,1,.3,1) both}.notification-onboarding[open].is-closing{animation:grt-notification-intro-out .15s ease-in both}@keyframes grt-notification-intro-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes grt-notification-intro-out{to{opacity:0;transform:translateY(5px) scale(.99)}}}

/* One shared first-run and notification settings surface across public/member routes. */
body dialog.notification-onboarding{font-family:var(--font-ui);background:var(--grt-paper);color:var(--grt-ink);border-color:var(--grt-line)}
body .notification-onboarding-symbol{background:var(--grt-sage);color:var(--grt-forest)}
body .notification-onboarding p{color:var(--grt-muted)}
body .notification-onboarding .notification-onboarding-status{color:var(--grt-clay)}
body .notification-onboarding-actions button{border:1px solid var(--grt-line);border-radius:var(--grt-radius-control);padding:10px 18px;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
body .notification-onboarding-actions .primary{border-color:var(--grt-forest);background:var(--grt-forest);color:var(--grt-paper)}
body .notification-onboarding-actions .quiet{background:var(--grt-paper);color:var(--grt-forest)}
body .notification-onboarding-actions button:focus-visible{outline:2px solid var(--grt-focus);outline-offset:3px}
body .notification-onboarding-actions .primary:hover{background:var(--grt-forest-hover)}
body .notification-onboarding-actions .quiet:hover{background:var(--grt-sage)}
body dialog.notification-onboarding::backdrop{background:rgb(28 52 42 / .38)}

/* Red means an unopened update; these indicators are never navigation targets. */
.design-workspace .has-unread-indicator,.has-unread-item{position:relative}
.design-workspace .workspace-unread-badge,.workspace-unread-dot{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;position:absolute;z-index:1;background:#b42318;color:#fff;border-radius:999px;font-family:var(--font-ui, sans-serif);font-size:11px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;pointer-events:none}
.design-workspace .workspace-unread-badge{min-width:22px;height:22px;padding:0 5px;top:12px;right:12px}
.workspace-unread-dot{width:8px;height:8px;top:16px;right:12px}
.design-workspace .has-unread-item{padding-right:28px}
.design-workspace .sidebar nav a>.workspace-unread-badge{position:absolute;display:inline-flex;max-width:none;opacity:1;visibility:visible;flex:none;min-width:18px;height:18px;top:2px;right:2px;padding:0 4px;font-size:10px}
.design-workspace .sidebar nav a:has(.workspace-unread-badge){overflow:visible}
.design-workspace .administration-oversight .has-unread-indicator{padding-right:48px}
.design-workspace .administration-oversight .workspace-unread-badge{top:50%;right:22px;transform:translateY(-50%)}
.design-workspace .dashboard-admin-tools .has-unread-indicator,.design-workspace .text-link.has-unread-indicator{padding-right:30px}
.design-workspace .dashboard-admin-tools .workspace-unread-badge,.design-workspace .text-link .workspace-unread-badge{top:50%;right:0;transform:translateY(-50%)}
.design-workspace .mobile-home-card>.workspace-unread-badge,.design-workspace .administration-card>.workspace-unread-badge{top:12px;right:12px}
@media(min-width:951px){body[data-sidebar-expanded].design-workspace .sidebar nav a>.workspace-unread-badge{top:50%;right:8px;transform:translateY(-50%)}}

.design-workspace .notification .dot{background:#b42318}

@media(min-width:951px){.design-workspace[data-sidebar-expanded] .sidebar nav a:has(.workspace-unread-badge){padding-right:36px}}
