/* Notifications screen: full-screen sheet on mobile, centered dialog on desktop; the brand bar stays visible above it. */
.overlay-notif { align-items: stretch; padding: 0; z-index: 12; }
.nt-sheet { max-width: none; max-height: none; height: 100%; border-radius: 0; padding: var(--space-16); display: flex; flex-direction: column; }
@media (min-width: 640px) {
  .overlay-notif { align-items: flex-start; justify-content: center; padding: var(--space-24) var(--space-16); }
  .nt-sheet { max-width: 480px; height: auto; max-height: 100%; border-radius: var(--radius-card); }
}
.nt-head { display: flex; align-items: center; gap: var(--space-8); margin-bottom: var(--space-8); }
.nt-head h2 { margin: 0; flex: 1; font-size: 18px; font-weight: 500; line-height: 1.3; }
.nt-head h2:focus { outline: none; }
.nt-markall { font-size: 14px; font-weight: 500; text-decoration: none; }
.nt-list { overflow-y: auto; flex: 1; }
.nt-section { margin: var(--space-16) 0 var(--space-4); font-size: 12px; font-weight: 500; color: var(--color-text-muted); }
.nt-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 9px 6px; border: 0; border-radius: 8px; background: none; text-align: start; }
.nt-item:hover { background: var(--color-canvas); }
.nt-item.unread { background: var(--color-canvas); }
.nt-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--color-text); }
.nt-icon .icon { width: 16px; height: 16px; }
.nt-milestone { background: var(--color-butter); }
.nt-achieved { background: var(--color-mint); }
.nt-share { background: var(--color-sky); }
.nt-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nt-sentence { font-size: 14px; line-height: 1.4; }
.nt-sentence b { font-weight: 700; }
.nt-date { font-size: 12px; color: var(--color-text-muted); }
.nt-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); }
.nt-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--space-48) var(--space-16); color: var(--color-text-muted); }
.nt-empty .icon { width: 40px; height: 40px; margin-bottom: var(--space-12); }
.nt-empty h3 { margin: 0 0 var(--space-4); font-size: 18px; font-weight: 500; color: var(--color-text); }
.nt-empty p { margin: 0; font-size: 14px; }

/* Share request: accept / decline under the text */
.nt-row { border-bottom: 1px solid var(--color-border); }
.nt-row .nt-item { border-bottom: 0; }
.nt-actions { display: flex; gap: 8px; align-items: center; padding: 0 16px 12px 16px; padding-inline-start: 68px; }
.nt-actions .btn { min-height: 44px; padding: 0 20px; }
.nt-state { font-size: 13px; color: var(--color-text-muted); }
