/* Full-viewport red hazard glow shown when a connected OSPC source does
   not correspond to the target project. A wide inset vignette: dark red
   at the edges fading toward transparent inside. pointer-events:none so
   it never intercepts clicks. z-index one below the demo banner. */
#source-hazard-border { position:fixed; inset:0; z-index:2147483646; pointer-events:none; display:none; box-shadow:inset 0 0 40px 4px rgba(210,31,31,0.5), inset 0 0 120px 30px rgba(210,31,31,0.3), inset 0 0 220px 60px rgba(210,31,31,0.14); }
#source-hazard-border.active { display:block; }
/* Small reminder pinned to the top edge while the hazard is active. */
#source-hazard-banner { position:fixed; top:0; left:50%; transform:translateX(-50%); z-index:2147483647; display:none; padding:5px 14px; border:1px solid #d21f1f; border-top:none; border-radius:0 0 8px 8px; background:#fbeaea; color:#8f1414; font-family:Inter, system-ui, -apple-system, sans-serif; font-size:11px; font-weight:600; letter-spacing:.02em; white-space:nowrap; box-shadow:0 2px 8px rgba(140,20,20,0.25); }
#source-hazard-banner.active { display:block; }
/* Amber caution note beside the source summary when the match could not
   be verified (tenant list unreachable, target project id unknown). */
.source-guard-note { display:none; margin-left:10px; padding:2px 8px; border-left:2px solid var(--amber); border-radius:0 var(--radius-sm) var(--radius-sm) 0; background:var(--amber-soft); color:var(--amber); font-size:11px; line-height:1.4; }
.source-guard-note.active { display:inline-block; }
