/* recovery: Recovery Console (certainty band, cards grouped by certainty, evidence disclosures, source notes).
   Tokens only; the uncertain states are stated by icon and word, never by colour alone. */
.recovery-muted { color: var(--text-3); font-size: var(--fs-sm); line-height: var(--lh-sm); }

.recovery-glance-text { max-width: 76ch; margin: var(--s-5) 0 0; color: var(--text-2); font-size: var(--fs-md); line-height: var(--lh-md); }
/* Six tiles read as one band on a wide screen rather than 4 + 2. */
@media (min-width: 1600px) { .recovery-band { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.recovery-retry { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0 0 var(--s-6); max-width: 82ch; }
.recovery-retry > span { min-width: 0; }
/* Product × certainty beside time outstanding; the counts stay visible in the matrix at every width. */
.recovery-charts { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: start; }
.recovery-charts > .ui-panel { min-width: 0; }
.recovery-charts .viz-mcell-text { display: block; }
@media (max-width: 899px) { .recovery-charts { grid-template-columns: minmax(0, 1fr); } }

/* Scan: cards grouped by certainty, most uncertain first. */
.recovery-groups { display: grid; gap: var(--s-8); }
.recovery-group { display: grid; gap: var(--s-3); }
.recovery-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-3); }
.recovery-group-head h3 { font-size: var(--fs-lg); line-height: var(--lh-lg); }
.recovery-group-count { color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; line-height: var(--lh-sm); font-variant-numeric: tabular-nums; }
.recovery-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--gutter); overflow-wrap: anywhere; }

.recovery-card-meta { display: flex; align-items: center; gap: var(--s-2); min-width: 0; margin: 0 0 var(--s-2); color: var(--text-3); font-size: var(--fs-xs); font-weight: 500; line-height: var(--lh-xs); }
.recovery-card-meta > span { min-width: 0; }
.recovery-card-meta > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recovery-card-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-2); }
/* The certainty in words beside its badge: the page must read the same without colour. */
.recovery-card-meaning { margin: 0 0 var(--s-2); color: var(--text-2); font-size: var(--fs-sm); line-height: var(--lh-sm); }

/* Inspect: the evidence behind one card. */
.recovery-seqs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-3); padding: 0; list-style: none; }
.recovery-seq { font-family: var(--font-mono); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.recovery-evidence-lead { margin: var(--s-3) 0 var(--s-2); color: var(--text-3); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.recovery-sources { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); line-height: var(--lh-sm); }
.recovery-sources li { display: flex; flex-wrap: wrap; gap: var(--s-1); overflow-wrap: anywhere; }
