/* Notifications panel and Install helper (push.js). The same file is served by the login host and the ops host, so it only uses the tokens both pages
   define (--ink --mute --line --accent), each with a fallback. No external fonts or images, no inline styles anywhere (strict CSP). */
.np, .np-install { color: var(--ink, #e7edf2); font-size: 15px; line-height: 1.5; text-align: left; }
.np { margin: 0; }
.np [hidden], .np-install[hidden], .np-install [hidden], .np-details[hidden], .np-wrap[hidden] { display: none !important; }
.np-h { margin: 0 0 4px; font-size: 18px; line-height: 1.25; font-weight: 700; }
.np-lede, .np-help, .np-count { margin: 0 0 10px; color: var(--mute, #8b9aa6); font-size: 14px; }
.np-help { margin: 2px 0 0; }
.np-status { margin: 0 0 10px; padding: 0; border-radius: 10px; font-size: 14px; }
.np-status:empty { display: none; }
.np-status.ok { padding: 8px 12px; color: var(--ok, var(--accent, #35c58a)); border: 1px solid color-mix(in srgb, var(--ok, var(--accent, #35c58a)) 40%, transparent); }
.np-status.err { padding: 8px 12px; color: var(--err, var(--bad, #ef5350)); border: 1px solid color-mix(in srgb, var(--err, var(--bad, #ef5350)) 45%, transparent); }
.np-status.info { padding: 8px 12px; border: 1px solid var(--line, #27323b); }
.np-note { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line, #27323b); border-radius: 12px; background: var(--field, #0c1115); font-size: 14px; }
.np-note strong { display: block; margin-bottom: 2px; }
.np-note p { margin: 0; }
.np-row { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 12px; }
.np-text { min-width: 0; flex: 1 1 auto; }
.np-label { margin: 0; font-weight: 650; }
.np-switch { flex: none; position: relative; width: 56px; height: 32px; min-width: 56px; padding: 0; margin: 2px 0 0; cursor: pointer; border-radius: 99px; border: 1px solid var(--line, #27323b); background: var(--field, #0c1115); transition: background-color .15s ease, border-color .15s ease; }
.np-knob { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--mute, #8b9aa6); transition: transform .15s ease, background-color .15s ease; }
.np-switch[aria-checked=true] { background: var(--accent, #35c58a); border-color: var(--accent, #35c58a); }
.np-switch[aria-checked=true] .np-knob { transform: translateX(24px); background: var(--accent-ink, #05281a); }
.np-switch::after { content: ""; position: absolute; inset: -6px -4px; }   /* a 44 px tall touch target around the 32 px switch */
.np-switch[disabled] { opacity: .55; cursor: default; }
.np-switch[aria-busy=true], .np-btn[aria-busy=true] { opacity: .7; cursor: progress; }
.np-switch:focus-visible, .np-btn:focus-visible, .np-link:focus-visible { outline: 3px solid var(--focus, var(--accent, #35c58a)); outline-offset: 2px; }
.np-cats { margin: 14px 0 4px; padding: 12px 14px 2px; border: 1px solid var(--line, #27323b); border-radius: 14px; }
.np-cats > legend { padding: 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--mute, #8b9aa6); }
.np-cats .np-row { align-items: center; }
.np-cats .np-label { font-weight: 550; }
.np-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 0; }
.np-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; margin: 0; font: inherit; font-weight: 600; color: var(--ink, #e7edf2); background: transparent; border: 1px solid var(--line, #27323b); border-radius: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.np-btn:hover { border-color: var(--accent, #35c58a); }
.np-btn[disabled] { opacity: .55; cursor: default; }
.np-link { min-height: 44px; padding: 8px 2px; font: inherit; font-size: 14px; font-weight: 600; color: var(--link, var(--accent, #35c58a)); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.np-link[disabled] { opacity: .55; cursor: default; text-decoration: none; }
.np-install { margin: 12px 0 0; text-align: center; }
.np-install p { margin: 0 0 8px; color: var(--mute, #8b9aa6); font-size: 14px; }
.np-details { margin: 14px 0 0; border-top: 1px solid var(--line, #27323b); padding-top: 10px; }
.np-details > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--link, var(--accent, #35c58a)); }
.np-details > summary:focus-visible { outline: 3px solid var(--focus, var(--accent, #35c58a)); outline-offset: 2px; border-radius: 8px; }
.np-details > summary::after { content: "+"; margin-left: 10px; font-weight: 400; color: var(--mute, #8b9aa6); }
.np-details[open] > summary::after { content: "-"; }
.np-details[open] > summary { margin-bottom: 8px; }
.np-card { margin: 10px 0; padding: 12px; border: 1px solid var(--line, #27323b); border-radius: 8px; background: var(--panel, transparent); }
@media (prefers-reduced-motion: reduce) { .np-switch, .np-knob { transition: none; } }
