.notifications-workspace .page-heading { align-items: center; margin-bottom: 30px; }
.notifications-workspace .page-heading h1 { margin: 0 0 10px; font-size: 2.125rem; line-height: 1.2; letter-spacing: -.025em; }
.notifications-workspace .page-heading p { max-width: 65ch; line-height: 1.5; }
.notifications-workspace .secondary-action { width: auto; min-height: 44px; padding: 10px 16px; color: var(--theme-text); font-size: .875rem; cursor: pointer; }
.notifications-workspace .secondary-action:hover { background: var(--theme-surface-muted); }
.notifications-workspace .secondary-action:focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: 3px; }
.app-layout .sidebar .nav-item { color: var(--theme-text-muted); }
.app-layout .sidebar .nav-item.is-active { color: var(--theme-text); }
.notifications-section { margin-top: 28px; }
.notifications-hint { max-width: 70ch; margin: 0 0 18px; color: var(--theme-text-muted); font-size: .875rem; line-height: 1.6; }
.notification-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--theme-border); }
.notification-list li { border-bottom: 1px solid var(--theme-border); }
.notification-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 16px; gap: 18px; align-items: start; padding: 22px 14px; color: var(--theme-text); text-decoration: none; border-radius: 4px; }
.notification-row:hover { background: var(--theme-surface-muted); }
.notification-row.is-unread { background: var(--theme-accent-soft); }
.notification-row:focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: -2px; }
.notification-symbol { display: grid; place-items: center; width: 36px; height: 36px; color: var(--theme-text-muted); background: var(--theme-surface); border-radius: 8px; }
.notification-symbol.needs-attention { color: var(--theme-danger-text); background: var(--theme-danger-surface); }
.notification-symbol svg, .notification-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notification-copy { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.notification-copy strong { font-size: .95rem; line-height: 1.4; }
.notification-copy > span { max-width: 70ch; color: var(--theme-text-muted); font-size: .875rem; line-height: 1.5; }
.notification-copy small, .notification-row time { color: var(--theme-text-muted); font-size: .75rem; line-height: 1.5; }
.notification-copy small { margin-top: 3px; }
.notification-copy b { color: var(--theme-text); }
.notification-row time { padding-top: 3px; font-variant-numeric: tabular-nums; }
.notification-arrow { width: 16px; height: 16px; margin-top: 3px; color: var(--theme-text-muted); }
.notification-notice { margin: 16px 0; padding: 18px; background: var(--theme-warning-surface); color: var(--theme-warning-text); border-radius: 8px; }
.notification-notice p { margin: 0 0 12px; line-height: 1.6; }
.notifications-loading { padding: 24px 0; color: var(--theme-text-muted); }
.notifications-older { margin-top: 20px; }
.sidebar .nav-item .notification-count { display: inline-block; flex-shrink: 0; margin-left: auto; min-width: 24px; padding: 2px 6px; border-radius: 5px; text-align: center; font-size: .75rem; letter-spacing: 0; color: var(--theme-text); background: var(--theme-accent-soft); font-variant-numeric: tabular-nums; }
.sidebar .notification-count[hidden] { display: none; }
.notifications-workspace .secondary-action:disabled { opacity: .6; cursor: wait; }

@media (max-width: 720px) {
  .app-layout .sidebar nav { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .app-layout .nav-item { gap: 8px; }
  .notification-row { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 12px; padding: 18px 6px; }
  .notification-symbol { width: 30px; height: 30px; }
  .notification-row time { grid-column: 2; grid-row: 2; padding-top: 0; }
  .notification-arrow { grid-column: 3; grid-row: 1; }
  .notifications-workspace .page-heading { align-items: flex-start; }
}
