/* PrepBuddy shared: Notifications module (notifications). The notification row (the person's avatar or an accent tile, a category badge at its corner, the title with a bold
   lead, one context line, the time, an unread dot), the day groups, the permission banner, the sheets (filter, row, clear all, the soft ask) and the preferences' small parts.
   Tokens only; classes prefixed nt-. The preferences rows are Settings' .se-row, the switch .sw, the page bar and the sheet are shared. Flutter: NotificationRow, DayHeader,
   PermissionBanner, RowActionsSheet, FilterSheet. */

/* ---------- page bar icons: three round icons beside the title (the chat recipe: 40 dp circles in 48 dp targets, 36 dp below 360 dp) ---------- */
.nt-bar { display: inline-flex; align-items: center; gap: 4px; }
.nt-bar .tbtn { width: 40px; height: 40px; } .nt-bar .tbtn::after { inset: -4px; } .nt-bar .tbtn .mi { font-size: 20px; }
@media (max-width: 359px) { .nt-bar { gap: 4px; } .nt-bar .tbtn { width: 36px; height: 36px; } .nt-bar .tbtn::after { inset: -2px; } .nt-bar .tbtn .mi { font-size: 18px; } .page-bar:has(.nt-bar) h1 { font-size: calc(16px * var(--font-scale)); } }

/* ---------- the list: flat rows on the canvas, a hairline from where the text starts, groups headed on the page; the time is the text's last line ---------- */
.nt-list { display: flex; flex-direction: column; }
.nt-grp { display: flex; flex-direction: column; }
.nt-grp:first-child .lday { margin-top: 4px; }   /* the day heading is shared/components.css .lday */
/* the row recipe (.nt-row to .nt-dot) moved to shared/components.css on 2026-10-18: the portal's template preview draws the same row */

/* ---------- banner (the phone's permission), offline strip, the end of the list ---------- */
.nt-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 8px; }
.nt-btx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nt-btx b { font-size: calc(15px * var(--font-scale)); font-weight: 700; line-height: 1.35; overflow-wrap: break-word; }
.nt-btx span { font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); line-height: 1.45; overflow-wrap: break-word; }
.nt-off { display: flex; align-items: center; gap: 8px; font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); padding: 0 4px 8px; }
.nt-off .mi { font-size: 16px; }
.nt-more { text-align: center; }
.nt-end { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 0 8px; }
.nt-end p { margin: 0; font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); text-align: center; }
.nt-clear { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; color: var(--error-text); font-size: calc(14px * var(--font-scale)); font-weight: 600; }
.nt-clear .mi { font-size: 20px; }
.nt-clear:hover { background: color-mix(in srgb, var(--error) 8%, transparent); }

/* ---------- sheets ---------- */
.nt-sub { margin: 0 0 12px; font-size: calc(13px * var(--font-scale)); line-height: 1.5; color: var(--text-secondary); }
.nt-rs { margin-bottom: 8px; } .nt-rt { margin: 0 0 4px; font-size: calc(16px * var(--font-scale)); font-weight: 700; line-height: 1.4; }
.nt-acts { display: flex; justify-content: center; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.nt-sw { display: flex; align-items: center; gap: 12px; min-height: 56px; margin-top: 8px; box-shadow: inset 0 1px 0 var(--border); }
.nt-swt { flex: 1; min-width: 0; } .nt-swt b { font-size: calc(15px * var(--font-scale)); font-weight: 600; }
.nt-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .nt-times .f-label { margin: 8px 0; }
.nt-os { text-align: center; }   /* the title is the sheet's h2 (theme.css .sheet2 h2, 18 / 600); the 16 sp override went on 2026-10-19 */

/* ---------- 01 Notification preferences: Settings' rows, a sub-switch without a tile, the lock on the row that cannot be turned off ---------- */
.nt-nosp { display: none; }
.nt-subrow { padding-inline-start: 52px; min-height: 48px; }
.nt-lock { color: var(--text-secondary); }
.nt-bnsample { display: flex; flex-direction: column; gap: 8px; padding: 4px 16px 16px; }   /* the in-app banner's samples under "Sound and vibration" and "Show message text in the banner" (banner.css .cb.static) */
.nt-bnsample small { font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); }

/* the reduced-motion rule of the row moved with it to shared/components.css */
