/* B3 tâche 003 (AC23.7) — « Journal des actions » et son export.

   Même grammaire que l'écran de vérification SIRET de la tâche 005 : page
   étroite, barre de retour, une carte, un tableau. Feuille entièrement tenue
   par les jetons de design_tokens.css, d'où son entrée dans TOKENISED_SHEETS :
   aucune couleur en dur.

   Les trois familles d'actes portent une pastille de couleur différente, et ce
   sont des jetons SÉMANTIQUES, pas le doré de marque : « droits » et
   « facturation » ne sont pas des accents décoratifs, ils disent d'où vient
   l'acte. */

.al-page { max-width: 1040px; margin: 0 auto; }

.al-topbar { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: 14px; }
.al-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--n-500); text-decoration: none; }
.al-back:hover { color: var(--gold-500); }
.al-page-title { font-size: 22px; font-weight: 800; color: var(--ink); }
.al-topbar-spacer { flex: 1; }

.al-hint { font-size: 13px; color: var(--n-500); line-height: 1.5; margin: 0 0 18px; max-width: 70ch; }

/* Filtres : un GET serveur, deux listes et un bouton. Ils passent en colonne à
   390 px au lieu de déborder. */
.al-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-3); margin-bottom: 18px; }
.al-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 190px; }
.al-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--gold-500); }
.al-select { box-sizing: border-box; width: 100%; padding: 9px var(--sp-3); border-radius: 9px; border: 1.5px solid var(--n-200); font-size: 13px; font-family: inherit; background: var(--n-0); color: var(--ink); }
.al-select:focus { outline: none; border-color: var(--gold-primary); }
.al-actions { display: flex; gap: var(--sp-2); flex: 0 0 auto; }
.al-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px var(--sp-4); border-radius: 9px; border: 1.5px solid var(--n-200); background: var(--n-0); color: var(--ink); font-size: 13px; font-weight: 600; font-family: inherit; text-decoration: none; cursor: pointer; }
.al-btn:hover { border-color: var(--gold-primary); color: var(--gold-500); }
.al-btn--primary { background: var(--gold-fill); border-color: transparent; color: var(--on-gold); }
.al-btn--primary:hover { color: var(--on-gold); }

/* Le tableau garde ses six colonnes lisibles : sous 760 px il défile
   horizontalement dans son cadre au lieu de faire défiler la page entière. */
.al-table-wrap { overflow-x: auto; border: 1px solid var(--n-200); border-radius: var(--r-lg); background: var(--n-0); }
.al-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.al-table th { text-align: left; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--n-500); padding: 11px var(--sp-4); border-bottom: 1px solid var(--n-200); white-space: nowrap; }
.al-table td { padding: 12px var(--sp-4); border-bottom: 1px solid var(--n-100); font-size: 13px; color: var(--ink); vertical-align: top; }
.al-table tbody tr:last-child td { border-bottom: none; }

.al-actor { font-weight: 700; }
.al-action { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.al-action--rights { color: var(--gold-800); background: var(--gold-50); }
.al-action--positions { color: var(--green); background: var(--green-50); }
.al-action--billing { color: var(--amber-strong); background: var(--amber-50); }
.al-change { display: block; margin-top: 5px; font-size: 12px; color: var(--n-500); }
.al-subject { color: var(--ink); }
.al-scope { display: block; margin-top: 3px; font-size: 12px; color: var(--n-400); }
.al-at { color: var(--n-500); white-space: nowrap; }

.al-footnote { margin: 12px 0 0; font-size: 12px; color: var(--n-400); }

.al-empty { border: 1px dashed var(--n-200); border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-5); text-align: center; background: var(--n-0); }
.al-empty-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.al-empty-body { margin: 0 auto; max-width: 56ch; font-size: 13px; color: var(--n-500); line-height: 1.55; }

/* B3 tâche 011 — l'entrée provisoire du journal (`.al-entry`) a été retirée : le
   lien vit maintenant dans le pied du panneau « Accès & rôles », à sa place de
   maquette, et son style vient de `recruiter_settings.css`. */

@media (max-width: 560px) {
  .al-filters { flex-direction: column; align-items: stretch; }
  .al-actions { flex-direction: column; }
  .al-btn { width: 100%; }
}
