/* flagship_cli — headline band (#headline-band) + real CLI-agent recovery cards (#cli-grid).
   Companion module to justask.css; reuses its custom properties verbatim.
   Same aesthetic contract: SIMPLE + CLEAR. Flat surfaces, 1px borders, ONE cyan
   accent, legible type. NO glow / gradient / shadow. */

/* ---- headline band: 4 stat tiles ---- */
.fcli-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 820px) { .fcli-band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .fcli-band { grid-template-columns: 1fr; } }

.fcli-tile {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  padding: 18px 20px;
}
.fcli-num {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
}
.fcli-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---- real CLI-agent recovery cards: single column, full .wrap width ---- */
.fcli-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fcli-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  padding: 20px 22px;
}
/* showcase marker (first verbatim card) — subtle accent left edge, nothing louder */
.fcli-card.is-showcase { border-left: 2px solid var(--accent); }

.fcli-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.fcli-agent {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.fcli-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  color: var(--muted);
  background: transparent;
}
.fcli-badge.is-verbatim {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.fcli-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.fcli-skill {
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 2px 9px;
  color: var(--muted);
}
.fcli-meta .fcli-sep { color: var(--muted-2); }

.fcli-highlight {
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
  max-width: 78ch;
  margin: 0 0 14px;
}

/* toggle button extends justask.css .btn-secondary; only sizing here */
.fcli-toggle {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 8px 14px;
}

/* recovered system-prompt text — untrusted model output, rendered as plain text */
.fcli-leak {
  margin: 12px 0 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg);
  max-height: 340px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
