/* UTILITÉ : style de la section « Nos tests AiSecurBox » de l'accueil (FR/EN) : intro, cadre intégré du banc de test EN DIRECT
   (la vraie page /streaming/, même origine, affichée dans un <iframe>), lien vers /streaming/ en plein écran. Reprend les couleurs
   du site (clair et sombre), aucune ressource externe, aucune animation propre. « La même chose partout » (décision de Simon, 20 nov. 2026).
   LIEN : public/index.html, public/en/index.html (.tests-live > .tests-live-cadre) ; /streaming/ (direct.js / direct.css) ; scripts/test-tests-aisecurbox.js. */
.tests-aisecurbox { max-width: 980px; margin: 56px auto; padding: 0 16px; scroll-margin-top: 72px; }
.tests-aisecurbox h2 { margin: 0 0 8px; }
.tests-intro { color: var(--text-dim); margin: 0 0 14px; }
.tests-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

/* Cadre intégré : la vraie page du banc de test (tableau de bord du coffre), même origine, en lecture seule. */
.tests-live { margin: 0; }
.tests-live-cadre { display: block; width: 100%; height: 600px; border: 1px solid var(--border); border-radius: 14px; background: #0d1117; }

@media (max-width: 640px) {
  .tests-aisecurbox { margin: 36px auto; }
  .tests-actions .btn { width: 100%; text-align: center; }
  .tests-live-cadre { height: 640px; }
}
/* Tableau « ce qu'on vérifie / résultat » : reprend les tokens du site (couleur --ok, bordures, surfaces), s'adapte clair/sombre, aucune ressource externe. */
.tests-protege { margin: 16px 0 10px; font-weight: 600; }
.tests-tableau-enveloppe { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); margin: 0 0 12px; }
.tests-tableau { width: 100%; border-collapse: collapse; font-size: 15px; }
.tests-tableau th, .tests-tableau td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.tests-tableau thead th { color: var(--text-dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.tests-tableau tbody tr:last-child td { border-bottom: 0; }
.tests-tableau td.ok { color: var(--ok); font-weight: 700; white-space: nowrap; }
/* Résultat pas encore acquis (en réglage, à venir) : couleur neutre, jamais la couleur « réussi ». */
.tests-tableau td.reglage { color: var(--text-dim); font-weight: 700; }
.tests-note { color: var(--text-dim); font-size: 14px; margin: 12px 0 0; }
@media (max-width: 640px) {
  .tests-tableau th, .tests-tableau td { padding: 9px 11px; font-size: 14px; }
  .tests-tableau td.ok { white-space: normal; }
}
/* Sans direct : vidéo récapitulative enregistrée (direct-ou-recap.js) ou texte, jamais un cadre vide. */
.tests-live-recap { margin: 0; }
.tests-live-recap video { display: block; width: 100%; max-height: 600px; border: 1px solid var(--border); border-radius: 14px; background: #0d1117; }
.tests-live-recap figcaption { margin-top: 6px; font-size: 13px; opacity: .8; }
.tests-live-rien { margin: 0; padding: 24px; text-align: center; border: 1px dashed var(--border); border-radius: 14px; opacity: .85; }
