/* ============================================================
   API Scout deck — bespoke styles. All rules scoped to
   #view-api-scout so nothing leaks into other decks. Mint accent,
   reuses the base design tokens.
   ============================================================ */

/* inline flash note (test / queue / backlog confirmations) */
#view-api-scout .scout-flash {
  position: sticky; top: calc(var(--navbar-h) + 8px); z-index: 5;
  max-width: 560px; margin: 0 auto 4px;
  padding: 0 14px; height: 0; overflow: hidden; opacity: 0;
  border-radius: 9px; background: var(--card-2);
  border: 1px solid var(--teal-dim); color: var(--mint);
  font-size: 12.5px; line-height: 38px; text-align: center;
  box-shadow: 0 14px 36px -16px rgba(0,0,0,.85);
  transition: opacity .2s, height .2s, margin .2s;
}
#view-api-scout .scout-flash.show { height: 38px; opacity: 1; margin-bottom: 14px; }

/* ── Discovery console ── */
#view-api-scout .scout-console.panel { box-shadow: 0 0 0 1px rgba(95,176,137,0.06), 0 0 34px -10px rgba(95,176,137,0.14); }
#view-api-scout .scout-input-row { gap: 10px; }
#view-api-scout .scout-input-row .scout-go { flex-shrink: 0; }

#view-api-scout .scout-progress-wrap {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .25s var(--ease), opacity .25s, margin .25s;
}
#view-api-scout .scout-progress-wrap.show { max-height: 30px; opacity: 1; margin-top: 14px; }
#view-api-scout .scout-progress > span { transition: width .12s linear; }

#view-api-scout .scout-results { margin-top: 16px; }
#view-api-scout .scout-results-head {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 12px;
}
#view-api-scout .scout-found-grid { margin-top: 4px; }

/* found / pitch cards */
#view-api-scout .scout-found,
#view-api-scout .scout-pitch {
  display: flex; flex-direction: column;
  background: var(--card-2); border-color: var(--border);
}
#view-api-scout .scout-found:hover { border-color: rgba(95,176,137,0.4); }
#view-api-scout .scout-found-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text);
}
#view-api-scout .scout-found-what { font-size: 13px; line-height: 1.55; margin-top: 8px; flex: 1; }

/* ── Catalog table tweaks ── */
#view-api-scout table.table .scout-purpose {
  color: var(--text-muted); font-size: 12.5px; max-width: 360px; line-height: 1.5;
}
#view-api-scout table.table .scout-lat { color: var(--text); font-weight: 600; }
#view-api-scout table.table .scout-checked { font-size: 11.5px; white-space: nowrap; }
#view-api-scout .scout-dot { vertical-align: middle; }
#view-api-scout .scout-test { white-space: nowrap; }

/* ── Alerts + scout report low row ── */
#view-api-scout .scout-alert-api {
  font-size: 11px; color: var(--text-faint); letter-spacing: .04em;
}
#view-api-scout .scout-pitch-grid { gap: 14px; }
#view-api-scout .scout-pitch-line {
  margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--text-muted);
  padding: 10px 12px; border-radius: 9px;
  background: var(--teal-glow); border: 1px solid rgba(95,176,137,0.22);
}
#view-api-scout .scout-report.panel { border-color: rgba(95,176,137,0.22); }

/* cross-link strip centered like the rest of the deck */
#view-api-scout .scout-links { justify-content: center; }

@media (max-width: 920px) {
  #view-api-scout .scout-low { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  #view-api-scout table.table .scout-purpose { max-width: 220px; }
}
