/* ═══════════════════════════════════════════════════════════════════════════
   RNI Crisis Alert Banner — public/client-shared/client-crisis-alerts.css
   Mission 13 — 90-second crisis alert path (in-app channel).

   PHI zone: client-shared (Law 2). Severity marker follows the locked
   2px vertical-line pattern — no pill-box ends.
   ═══════════════════════════════════════════════════════════════════════════ */

#rni-crisis-banner-stack {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: min(720px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  font-family: 'Heebo', sans-serif;
}

.rni-crisis-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-radius: 10px;
  padding: 14px 18px 14px 22px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.18);
}

/* Locked category-marker law: the 2px vertical line IS the marker. */
.rni-crisis-banner::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 12.5%;
  height: 75%;
  width: 2px;
  border-radius: 1px;
  background: #DC2626;
}

.rni-crisis-banner-label {
  color: #DC2626;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rni-crisis-banner-body {
  flex: 1;
  color: #1F2937;
  font-size: 13px;
  line-height: 1.45;
}

.rni-crisis-banner-timer {
  color: #DC2626;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.rni-crisis-banner-timer.escalated { color: #92400E; }

.rni-crisis-ack-btn {
  background: #DC2626;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.rni-crisis-ack-btn:hover { background: #B91C1C; }
.rni-crisis-ack-btn[disabled] { opacity: 0.6; cursor: wait; }
