/* ============================================================================
   IMPORT / EXPORT DE PARAMÉTRAGE — /admin/parametrage (PAR-05).

   Les .par-* ne servent qu'ici. Table simple faite main, PAS le gabarit
   .tbl-*/Tableau.razor : les écarts n'ont ni tri ni recherche utiles, ils se
   lisent groupés par nature, dans l'ordre où le comparateur les rend.

   Aucune couleur en dur : jetons --et-* seulement.
   ============================================================================ */

/* --- La barre de choix des deux sociétés --- */
.par-choix { margin-bottom: 16px; }
.par-paire {
    display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
}
.par-champ { flex: 1 1 260px; min-width: 220px; }
.par-inverser { margin-bottom: 4px; }
.par-comparer { margin-bottom: 4px; white-space: nowrap; }

/* --- Bloc « ce que cet écran fait » : ambre, même jetons que .rst-avert --- */
.par-avert {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--et-avertissement-bg);
    border: 1px solid var(--et-avertissement-bord);
}
.par-avert-titre {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 6px;
    font-size: 14px; font-weight: 700;
    color: var(--et-avertissement-ink);
}
.par-avert p { margin: 0 0 6px; font-size: 13px; color: var(--et-ink); }
.par-avert p:last-child { margin-bottom: 0; }
.par-avert-bornes { color: var(--et-muted); }

/* --- Aucun écart --- */
.par-vide {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 40px 16px; text-align: center; color: var(--et-muted);
}
.par-vide i { font-size: 28px; color: var(--et-succes-ink); }

/* --- Un groupe (nature) --- */
.par-groupe { margin-bottom: 16px; }
.par-groupe-tete {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding-bottom: 10px; margin-bottom: 10px;
    border-bottom: 1px solid var(--et-hairline);
}
.par-groupe-titre { font-weight: 700; color: var(--et-ink); }
.par-groupe-compte { font-size: 12px; color: var(--et-muted); }
.par-groupe-actions { margin-left: auto; display: flex; gap: 8px; }

/* --- La table des écarts d'un groupe --- */
.par-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.par-table th {
    text-align: left; padding: 6px 10px; font-weight: 600; color: var(--et-muted);
    font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
}
.par-table td {
    padding: 8px 10px; color: var(--et-ink); vertical-align: middle;
    border-bottom: 1px solid var(--et-hairline);
}
.par-table tbody tr:last-child td { border-bottom: none; }

.par-ligne-cochee td { background: var(--et-info-bg); }

.par-case { width: 32px; text-align: center; }
/* Taille retiree le 2026-09-10 : la case prend les 17 px du gabarit (app.css),
   et 24 px sous 1024 px (lot02). Voir docs/cibles-tactiles.md. */
.par-case input[type="checkbox"] { cursor: pointer; }

.par-valeur { font-variant-numeric: tabular-nums; white-space: nowrap; }
.par-valeur-cible { color: var(--et-muted); }
.par-fleche { width: 24px; text-align: center; color: var(--et-muted); }

/* --- Le pied : compte des lignes cochées + bouton d'application --- */
.par-pied {
    position: sticky; bottom: 0;
    display: flex; align-items: center; justify-content: flex-end; gap: 16px;
    padding: 12px 16px; margin-top: 8px;
    background: var(--et-surface); border-top: 1px solid var(--et-hairline);
}
.par-pied-compte { font-size: 13px; color: var(--et-muted); }
