/* ── Chauffeurs tab ─────────────────────────────────────────────────────── */
    .ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-top: 4px; }
    .ch-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
    .ch-card-header { padding: 14px 18px 10px; border-bottom: 1px solid var(--border); }
    .ch-header-top { display: flex; justify-content: space-between; align-items: flex-start; }
    .ch-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
    .ch-id { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
    .ch-badges { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
    .ch-badge { display: inline-block; font-family: var(--font-head); font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; }
    .ch-badge-antenne { background: #0e2530; color: #3a9bd5; border: 1px solid #3a9bd5; }
    .ch-badge-leger   { background: #0e1e30; color: #5ba8d9; border: 1px solid #3a9bd5; }
    .ch-badge-lourd   { background: #0e2e1a; color: #2ea84b; border: 1px solid #2ea84b; }
    .ch-badge-tous    { background: #0e2530; color: #20def7; border: 1px solid #20def7; }
    .ch-statut-badge { display: inline-block; font-family: var(--font-head); font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; margin-top: 6px; }
    .ch-statut-actif   { background: #0e2e1a; color: #2ea84b; border: 1px solid #2ea84b; }
    .ch-statut-bloque  { background: #2e0d0d; color: #ff6b6b; border: 1px solid var(--red); }
    .ch-statut-inactif { background: #1a1a1a; color: var(--text-dim); border: 1px solid var(--border); }
    .ch-statut-warn    { background: #2e2000; color: var(--accent); border: 1px solid var(--accent); }
    .ch-card-body { padding: 12px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
    .ch-field-label { font-family: var(--font-head); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); margin-bottom: 2px; }
    .ch-field-val { font-size: 13px; color: var(--text); }
    .ch-cle-section { padding: 12px 18px; border-top: 1px solid var(--border); }
    .ch-cle-url { font-size: 11px; color: var(--text-dim); word-break: break-all; background: var(--surface); padding: 8px 10px; border-radius: 5px; margin: 6px 0; }
    .ch-cle-actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
    .ch-btn { background: none; border: 1px solid var(--border); color: var(--text-dim); font-family: var(--font-head); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; cursor: pointer; }
    .ch-btn:hover { border-color: var(--accent); color: var(--accent); }
    .ch-btn-danger { border-color: var(--red); color: #ff6b6b; }
    .ch-btn-danger:hover { background: #2e0d0d; }
    .ch-btn-primary { background: var(--accent); border: none; color: #0d1117; font-family: var(--font-head); font-size: 13px; font-weight: 700; padding: 7px 18px; border-radius: 5px; cursor: pointer; }
    .ch-btn-primary:hover { opacity: 0.9; }
    .ch-notes-section { padding: 12px 18px; border-top: 1px solid var(--border); }
    .ch-notes-toggle { background: none; border: none; color: var(--text-dim); font-family: var(--font-head); font-size: 11px; cursor: pointer; padding: 0; }
    .ch-notes-toggle:hover { color: var(--accent); }
    .ch-notes-body { display: none; margin-top: 8px; }
    .ch-notes-body.open { display: block; }
    .ch-notes-existing { font-size: 12px; color: var(--text-medium); white-space: pre-wrap; background: var(--surface); padding: 8px 10px; border-radius: 5px; max-height: 120px; overflow-y: auto; margin-bottom: 6px; }
    .ch-notes-input { width: 100%; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 12px; padding: 6px 10px; border-radius: 5px; resize: vertical; }
    .ch-notes-input:focus { outline: none; border-color: var(--accent); }
    .ch-card-edit { padding: 12px 18px; border-top: 1px solid var(--border); display: none; }
    .ch-card-edit.open { display: block; }
    .ch-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-bottom: 10px; }
    .ch-edit-field label { display: block; font-family: var(--font-head); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); margin-bottom: 4px; }
    .ch-edit-field input, .ch-edit-field select, .ch-edit-field textarea { width: 100%; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 13px; padding: 6px 10px; border-radius: 5px; }
    .ch-edit-field input:focus, .ch-edit-field select:focus { outline: none; border-color: var(--accent); }
    .ch-habilitations { padding: 12px 18px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 12px; font-style: italic; }
    .ch-qr-box { background: #fff; display: inline-block; padding: 8px; border-radius: 6px; margin: 8px 0; }
    .ch-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 1000; display: flex; align-items: center; justify-content: center; }
    .ch-modal { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 24px; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; }
    .ch-modal h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 16px; }
    .ch-modal-actions { display: flex; gap: 8px; margin-top: 16px; }

