/* Administração › Notificações */
.nt-status { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 10px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); margin-bottom: 14px; }
.nt-status > svg { width: 22px; height: 22px; flex: none; }
.nt-status div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.nt-status span { color: hsl(var(--muted-fg)); }
.nt-status.ok { border-color: hsl(var(--success) / .45); background: hsl(var(--success) / .07); } .nt-status.ok > svg { color: hsl(var(--success)); }
.nt-status.warn { border-color: hsl(var(--warning) / .5); background: hsl(var(--warning) / .08); } .nt-status.warn > svg { color: hsl(var(--warning)); }
.nt-status.off > svg { color: hsl(var(--muted-fg)); }
.nt-tabs { display: flex; gap: 4px; border-bottom: 1px solid hsl(var(--border)); margin-bottom: 16px; overflow-x: auto; }
.nt-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 0; background: none; color: hsl(var(--muted-fg)); font: inherit; font-size: 13.5px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.nt-tabs button svg { width: 16px; height: 16px; }
.nt-tabs button.on { color: hsl(var(--fg)); border-bottom-color: hsl(var(--primary)); font-weight: 600; }
.nt-opts { display: grid; gap: 8px; margin-bottom: 14px; }
.nt-opt { display: flex; gap: 12px; align-items: center; padding: 11px 13px; border: 1px solid hsl(var(--border)); border-radius: 9px; cursor: pointer; transition: border-color .15s, background .15s; }
.nt-opt input { position: absolute; opacity: 0; pointer-events: none; }
.nt-opt > svg { width: 20px; height: 20px; color: hsl(var(--muted-fg)); flex: none; }
.nt-opt div { display: flex; flex-direction: column; font-size: 13.5px; } .nt-opt span { font-size: 12px; color: hsl(var(--muted-fg)); }
.nt-opt.on { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .06); } .nt-opt.on > svg { color: hsl(var(--primary)); }
.nt-opt:focus-within { outline: 2px solid hsl(var(--primary) / .4); outline-offset: 1px; }
.nt-sec { margin-top: 6px; } .nt-sec + .nt-sec { margin-top: 16px; }
.nt-sub { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: hsl(var(--muted-fg)); margin-bottom: 6px; padding-top: 14px; border-top: 1px solid hsl(var(--border)); }
.nt-hint { font-size: 12px; color: hsl(var(--muted-fg)); margin-top: 4px; line-height: 1.45; }
.nt-secret { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 8px 11px; border-radius: 8px; font-size: 12.5px; }
.nt-secret svg { width: 16px; height: 16px; flex: none; }
.nt-secret.ok { background: hsl(var(--success) / .08); color: hsl(var(--success)); } .nt-secret.ok span { color: hsl(var(--fg)); }
.nt-secret.miss { background: hsl(var(--warning) / .1); color: hsl(var(--warning)); } .nt-secret.miss span { color: hsl(var(--fg)); }
.nt-secret code, .nt-help code { font-family: var(--mono, ui-monospace, monospace); font-size: 12px; }
.nt-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.nt-res { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: hsl(var(--muted)); }
.nt-res svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.nt-res span { display: block; color: hsl(var(--muted-fg)); font-size: 12px; }
.nt-res.ok { background: hsl(var(--success) / .08); } .nt-res.ok > svg { color: hsl(var(--success)); }
.nt-res.bad { background: hsl(var(--danger) / .08); } .nt-res.bad > svg { color: hsl(var(--danger)); }
.nt-help h3 { margin: 0 0 8px; display: flex; gap: 8px; align-items: center; font-size: 15px; }
.nt-help ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; color: hsl(var(--muted-fg)); } .nt-help b { color: hsl(var(--fg)); }
.nt-grp-t { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: hsl(var(--muted-fg)); padding: 14px 18px 4px; }
.nt-ev { display: flex; gap: 14px; align-items: flex-start; padding: 11px 18px; border-top: 1px solid hsl(var(--border) / .6); }
.nt-grp-t + .nt-ev { border-top: 0; }
.nt-ev.soon { opacity: .6; }
.nt-ev:not(.on) .nt-ev-r { opacity: .55; }
.nt-ev-main { flex: 1; min-width: 0; }
.nt-ev-t { font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nt-ev-r { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; align-items: center; }
.nt-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 1px solid hsl(var(--border)); font-size: 12px; cursor: pointer; color: hsl(var(--muted-fg)); user-select: none; }
.nt-chip input { display: none; }
.nt-chip svg { width: 13px; height: 13px; }
.nt-chip.on { border-color: hsl(var(--primary) / .55); background: hsl(var(--primary) / .1); color: hsl(var(--fg)); }
.nt-emails { flex: 1; min-width: 220px; font-size: 12.5px !important; padding: 4px 9px !important; height: auto !important; }
.nt-sw { position: relative; width: 34px; height: 20px; flex: none; margin-top: 1px; cursor: pointer; }
.nt-sw input { opacity: 0; width: 0; height: 0; position: absolute; }
.nt-sw span { position: absolute; inset: 0; border-radius: 999px; background: hsl(var(--border)); transition: background .15s; }
.nt-sw span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.nt-sw input:checked + span { background: hsl(var(--primary)); }
.nt-sw input:checked + span::after { transform: translateX(14px); }
.nt-sw input:focus-visible + span { outline: 2px solid hsl(var(--primary) / .45); outline-offset: 2px; }
.nt-sw input:disabled + span { cursor: not-allowed; }
.nt-subj { max-width: 420px; }
.nt-err { font-size: 12px; color: hsl(var(--danger)); margin-top: 3px; }
.drawer.nt-pv { width: min(680px, 96vw); }
.nt-frame { width: 100%; height: 62vh; border: 1px solid hsl(var(--border)); border-radius: 8px; background: #f1f5f9; }
@media (max-width: 640px) { .nt-ev { padding: 11px 14px; } .nt-emails { min-width: 100%; } }
