/* Attack Journey — container + campaign-strip styles for the single-scenario
   {{< attack-journey >}} walkthrough. The step/verdict/track/widget internals
   reuse the shared pj-* vocabulary in package-journey.css (loaded alongside this
   file by baseof.html); only the outer box and the strip are defined here. */

.attack-journey {
  width: min(1180px, 96vw);
  margin: 2.4rem 0 2.4rem 50%;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1.4rem 1.5rem 1.2rem;
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
  outline: none;
}
.attack-journey * { box-sizing: border-box; }

/* Full-campaign strip: four verdicts at a glance, non-interactive. */
.aj-strip { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border-light); }
.aj-strip-title { font-size: 0.92rem; margin: 0 0 0.2rem; color: var(--text-heading); }
.aj-strip-sub { font-size: 0.78rem; margin: 0 0 0.9rem; color: var(--text-muted); }

.aj-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
@media (max-width: 760px) { .aj-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .aj-cards { grid-template-columns: 1fr; } }

.aj-card {
  border: 1px solid var(--border); border-left: 3px solid var(--red-500);
  border-radius: 8px; padding: 0.6rem 0.7rem; background: var(--bg);
}
/* @asyncapi/specs — the highest blast-radius package in the set. */
.aj-card-featured { border-left-color: var(--amber-500); }
.aj-card-name { font: 600 0.76rem var(--font-mono, monospace); color: var(--text-heading); word-break: break-all; }
.aj-card-vers { display: flex; align-items: center; gap: 0.34rem; flex-wrap: wrap; margin: 0.45rem 0; font: 0.7rem var(--font-mono, monospace); }
.aj-v-bad { color: #fff; background: var(--red-500); padding: 0.06rem 0.36rem; border-radius: 4px; }
.aj-v-arrow { color: var(--text-muted); }
.aj-v-ok { color: #0f5132; background: color-mix(in srgb, var(--green-500) 24%, transparent); padding: 0.06rem 0.36rem; border-radius: 4px; }
:root[data-theme="dark"] .aj-v-ok { color: #b9ede0; }
.aj-card-file { font: 0.66rem var(--font-mono, monospace); color: var(--text-secondary); word-break: break-all; }
.aj-card-meta { margin-top: 0.4rem; font-size: 0.66rem; color: var(--text-muted); }

/* Breathing room between the verdict banner and the timeline, plus top padding
   so the current-node glow ring isn't clipped by .pj-track's overflow-x:auto. */
.attack-journey .pj-track { margin-top: 1rem; padding-top: 0.5rem; }

/* Two-stage AI review: standard (defer) → deep (reject). */
.attack-journey .pj-bar-fill.warn { background: var(--amber-500); }
.attack-journey .pj-ai + .pj-ai { margin-top: 0.5rem; }
.aj-ai-escalate { font: 0.72rem var(--font-mono, monospace); color: var(--text-muted); text-align: center; margin: 0.4rem 0; }
.aj-ai-tag { font: 0.62rem var(--font-mono, monospace); font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
