/* Notifications page additions. Shared tokens, themes, cards, badges, buttons and navigation come from /billing/styles.css.
   Nothing animates. No absolutely positioned labels: every label sits in normal flow, so a wrapped Russian label grows its row. */
.notifications-page .message > :last-child { margin-bottom: 0; }
.notifications-page .message strong { font-weight: 600; }
.notifications-page .message .member-actions { justify-content: flex-start; margin-top: 12px; }
.notifications-page [tabindex="-1"]:focus { outline: none; }
.notifications-page [tabindex="-1"]:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }
.notifications-page h3 { font-size: 14px; line-height: 1.3; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.notifications-page .as-of { font-size: 12px; color: hsl(var(--muted-foreground)); }
.notifications-page .button.secondary { background: transparent; border-color: hsl(var(--input)); color: hsl(var(--foreground)); }
.notifications-page .button.secondary:hover { background: hsl(var(--accent)); filter: none; }
.notifications-page .member-actions { justify-content: flex-start; }
.notif-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 20px; align-items: start; }
.notif-grid .card { margin-bottom: 0; }
.due p { margin: 0 0 4px; overflow-wrap: anywhere; }
.notice-list { list-style: none; padding: 0; margin: 12px 0 0; }
.notice-list > li { padding: 14px 0; border-top: 1px solid hsl(var(--border)); }
.notice-list > li:last-child { padding-bottom: 0; }
.notice-list .row-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.notice-list .times { margin: 4px 0 0; font-size: 12px; color: hsl(var(--muted-foreground)); overflow-wrap: anywhere; }
.notice-list .times span { display: block; }
.notice-list .item-actions { margin-top: 10px; }
.notice-list .message { margin: 10px 0 0; }
.notice-list .op-note { margin: 8px 0 0; font-size: 12px; }
.badge.unread { border-color: hsl(var(--primary)); }
.notice-list > li[data-muted="true"] h3 { font-weight: 500; color: hsl(var(--muted-foreground)); }
.more-row { margin-top: 16px; }
.policy { list-style: none; padding: 0; margin: 8px 0 0; }
.policy li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 8px 0; border-top: 1px solid hsl(var(--border)); }
.policy li:last-child { border-bottom: 1px solid hsl(var(--border)); }
.policy .on { color: hsl(var(--muted-foreground)); font-size: 12px; }
.settings-block { margin-top: 20px; }
.example { margin: 4px 0 0; padding: 10px 12px; background: hsl(var(--muted)); border-radius: calc(var(--radius) / 2); font-size: 12px; overflow-wrap: anywhere; }
.example span { display: block; color: hsl(var(--muted-foreground)); }
.save-row { margin-top: 16px; }
.settings-message { margin: 16px 0 0; }
@media(max-width:760px) {
  .notif-grid { grid-template-columns: 1fr; }
  .notifications-page .member-actions { flex-direction: column; align-items: stretch; }
  .notifications-page button,.notifications-page .button,.notifications-page select { min-height: 44px; }
  .notifications-page .app-nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
