/* notify-live: notifications and lead pipeline (screens/notify-live.js). Class prefix "nt-". Live site only. */

/* ---------- provider status ---------- */
.nt-providers { display: grid; gap: 10px; margin-bottom: 18px; }
.nt-provider { display: flex; align-items: flex-start; gap: 10px; }
.nt-provider strong { display: block; font-size: 13.5px; color: var(--ink); }
.nt-provider__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; background: var(--ink-4); box-shadow: inset 0 0 0 1px var(--line-2); }
.nt-provider__dot.is-on { background: var(--green); box-shadow: none; }

/* ---------- status chips (reuses the shade scale esign-live.css introduced) ---------- */
.nt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap;
  background: var(--slate-50); color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate-100); }
.nt-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.nt-chip--sent { background: var(--green-50); color: var(--green); box-shadow: inset 0 0 0 1px var(--green-100); }
.nt-chip--failed { background: var(--red-50); color: var(--red); box-shadow: inset 0 0 0 1px var(--red-100); }
.nt-chip--notconfigured { background: var(--surface-3); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-3); }
.nt-chip--notconfigured::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- templates tab ---------- */
.nt-tpls { display: grid; gap: 16px; }
.nt-tpl__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .nt-tpl__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.nt-ta { font-family: inherit; resize: vertical; line-height: 1.55; }
.nt-tpl__preview { min-width: 0; }
.nt-preview { border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); padding: 16px 18px; }
.nt-preview__subject { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.nt-preview__body { margin: 0; font-family: inherit; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.nt-preview__body--sms { color: var(--purple-700, var(--ink-2)); }

/* ---------- history tab ---------- */
.nt-filters select, .nt-filters input { min-width: 0; }
.nt-filters input { flex: 1 1 220px; }
.nt-table td, .nt-table th { white-space: nowrap; }
.nt-table td.es-break { white-space: normal; }
.nt-cards { display: grid; gap: 10px; }
.nt-card { padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--line); }

@media (max-width: 640px) {
  .nt-tpl { padding: 16px !important; }
}
