/* ============================================================
   nhi-discovery.css — TOTAL NHI Discovery page
   Reuses the shared product-page system (styles.css + idv.css).
   Spine: discover every non-human identity, then understand its
   INTENT, which is derived from the humans who spawn and direct it.
   Page-specific piece: the "how an NHI goes dark" 3-up. Orange stays reserved for the Persona;
   red is the danger accent, same as the insider/ATO pages.
   ============================================================ */

/* Persona foundation pill stretches the full content width. */
.idv-foundation { max-width: none; margin-left: 0; margin-right: 0; }

/* ---- Blast radius two-column layout ---- */
.nhi-blast-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; }
.nhi-blast-copy { display: flex; flex-direction: column; }
.nhi-blast-grid .nhi-orphan { margin: 0; }
@media (min-width: 901px) {
  .nhi-blast-copy .idv-h2 { font-size: 34px; white-space: nowrap; }
  .nhi-blast-copy .idv-h2 .dim { white-space: nowrap; }
}
@media (max-width: 900px) {
  .nhi-blast-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Orphaned credential card ---- */
.nhi-orphan { margin: 56px 0 0; display: flex; justify-content: center; }
.nhi-orphan-card { position: relative; background: #171718; border: .5px solid rgba(255,255,255,.1); border-radius: 16px; padding: 22px 28px; width: 100%; max-width: 640px; box-shadow: 0 50px 130px -58px rgba(0,0,0,.92); overflow: hidden; }
.nhi-orphan-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(210,75,60,.5) 30%, rgba(210,75,60,.5) 70%, transparent 100%); }
.nhi-orphan-card::after { content: ""; position: absolute; inset: 0; border-radius: 16px; border: 1px solid rgba(255,255,255,.04); pointer-events: none; }

.nhi-oc-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: .5px solid var(--border); }
.nhi-oc-icon { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.04); border: .5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nhi-oc-icon svg { width: 16px; height: 16px; color: var(--text-3); }
.nhi-oc-id { flex: 1; min-width: 0; }
.nhi-oc-name { display: block; font-family: "Inter Tight", sans-serif; font-size: 14.5px; font-weight: 500; color: var(--text); letter-spacing: -.01em; font-feature-settings: "tnum"; }
.nhi-oc-type { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.nhi-oc-badge { display: inline-flex; align-items: center; gap: 6px; font-family: "Inter Tight", sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .04em; color: #c96a50; background: rgba(210,75,60,.1); border: .5px solid rgba(210,75,60,.28); border-radius: 20px; padding: 4px 11px; white-space: nowrap; }
.nhi-oc-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c96a50; flex-shrink: 0; }

.nhi-oc-rows { display: flex; flex-direction: column; gap: 10px; }
.nhi-oc-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; }
.nhi-oc-label { font-family: "Inter Tight", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.nhi-oc-val { font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.nhi-oc-val.nhi-danger { color: #b8614a; }

@media (max-width: 600px) {
  .nhi-orphan-card { padding: 26px 22px; }
  .nhi-oc-row { grid-template-columns: 1fr; gap: 3px; }
}
