/* Notifications page + summary popup (Build 129). The sidebar only links here; nothing below is used in it. */
button.alerts-row { width: 100%; border: 0; border-bottom: 1px solid var(--border, #eee); background: transparent; text-align: left; font: inherit; cursor: pointer; }
button.alerts-row:last-child { border-bottom: none; }
a.alerts-seeall { display: block; margin-top: .35rem; padding: .6rem .5rem .15rem; text-align: center; font-weight: 600; text-decoration: none; color: var(--primary-text, #175D31); border-top: 1px solid var(--border, #eee); }
a.alerts-seeall:hover { text-decoration: underline; }
button.alerts-row:focus-visible { outline: 2px solid var(--primary, #175D31); outline-offset: -2px; }

.np-page { max-width: 640px; padding-top: 1.25rem; padding-bottom: 5.5rem; }
.np-head { display: flex; align-items: baseline; gap: .75rem; }
.np-head h1 { margin: 0; }
.np-actions { margin-left: auto; display: flex; gap: .9rem; }
.np-actions button { border: 0; background: transparent; padding: .25rem 0; cursor: pointer; font: inherit; font-size: .85rem; color: var(--primary-text, #175D31); }
.np-actions button:hover { text-decoration: underline; }
.np-tabs { display: flex; gap: .4rem; margin: .9rem 0 .4rem; overflow-x: auto; }
.np-tab { flex: none; border: 1px solid var(--border, #e5e2d9); background: transparent; color: var(--text, #111); border-radius: 999px; padding: .3rem .8rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.np-tab.on { background: var(--chip-bg, #e8f3ec); color: var(--primary-text, #175D31); border-color: transparent; }
.np-tab-n { margin-left: .15rem; font-weight: 700; }
.np-day { margin: 1.1rem .25rem .3rem; font-size: .85rem; font-weight: 600; color: var(--muted, #6f6b63); }
.np-card { display: flex; align-items: stretch; gap: .15rem; margin: .3rem 0; border-radius: 12px; border: 1px solid var(--border, #e5e2d9); border-left: 3px solid transparent; background: var(--surface, #fff); color: var(--text, #111); }
.np-card.unseen { background: var(--chip-bg, #e8f3ec); border-left-color: var(--primary, #175D31); }
.np-open, .np-live { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: .7rem; padding: .7rem .75rem; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 12px; }
.np-live { width: 100%; }
.np-card.np-live { padding: .7rem .75rem; border: 1px solid var(--border, #e5e2d9); background: var(--surface, #fff); }
.np-card.np-live:hover { background: var(--soft-bg, #f3f4f6); }
.np-open:hover, .np-live:hover { background: var(--soft-bg, #f3f4f6); }
.np-card.unseen .np-open:hover { background: transparent; filter: brightness(.97); }
.np-open:focus-visible, .np-live:focus-visible, .np-x:focus-visible, .np-mini:focus-visible, .np-tab:focus-visible { outline: 2px solid var(--primary, #175D31); outline-offset: 1px; }
.np-av { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--soft-bg, #f0eee6); }
.np-main { display: flex; flex-direction: column; min-width: 0; gap: .1rem; }
.np-meta { font-size: .75rem; color: var(--muted, #6f6b63); }
.np-text { font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.np-card.unseen .np-text { font-weight: 600; }
.np-go { margin-left: auto; color: var(--muted, #6f6b63); font-size: 1.3rem; }
.np-x { flex: none; width: 2.2rem; margin: .35rem .35rem .35rem 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted, #6f6b63); cursor: pointer; font-size: .85rem; }
.np-x:hover { background: var(--soft-bg, #f0eee6); color: var(--text, #111); }
.np-empty { margin: 2.5rem .75rem; text-align: center; }

/* popup: reuses .pop-backdrop / .pop-sheet from analytics.css */
.np-pop .pop-sheet { max-width: 480px; }
.np-pop-headtext { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.np-pop-title { overflow-wrap: anywhere; }
.np-back { border: 0; background: transparent; padding: 0; font: inherit; font-size: .85rem; color: var(--primary-text, #175D31); cursor: pointer; text-align: left; }
.np-back:hover { text-decoration: underline; }
.np-pop .pop-foot { justify-content: flex-end; flex-wrap: wrap; }
.np-pop .pop-foot .btn { text-decoration: none; }
.np-what { margin: 0 0 .6rem; }
.np-status { display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; font-size: .85rem; }
.np-chip { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--info-bg, #f0eee6); color: var(--info-text, #4a4740); }
.np-chip-warn { background: var(--warn-bg, #fbf6e0); color: var(--warn-text, #7a6a10); }
.np-chip-ok { background: var(--ok-bg, #e4f0e8); color: var(--ok-text, #175d31); }
.np-dl { margin: 0; display: grid; gap: .55rem; }
.np-dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .6rem; }
.np-dl dt { color: var(--muted, #6f6b63); font-size: .85rem; }
.np-dl dd { margin: 0; overflow-wrap: anywhere; }
.np-sub { margin: 1.1rem 0 .4rem; font-size: .9rem; color: var(--muted, #6f6b63); font-weight: 600; }
.np-hist { list-style: none; margin: 0; padding: 0; }
.np-hist li { display: flex; justify-content: space-between; gap: .75rem; padding: .35rem 0; border-bottom: 1px solid var(--border, #e5e2d9); font-size: .9rem; }
.np-hist li:last-child { border-bottom: 0; }
.np-hist time { color: var(--muted, #6f6b63); font-size: .8rem; white-space: nowrap; }
.np-minis { display: grid; gap: .45rem; }
.np-mini { display: flex; flex-direction: column; gap: .15rem; width: 100%; padding: .65rem .75rem; border: 1px solid var(--border, #e5e2d9); border-radius: 10px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.np-mini:hover { background: var(--soft-bg, #f3f4f6); }
.np-mini-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.np-mini-sub { font-size: .85rem; color: var(--muted, #6f6b63); overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) { .np-card, .np-tab { transition: background-color .15s ease; } }
