/* SD ONE · lot 33 (24/10/2026, Hassan) : toutes les lignes de missions présentées pareil, proprement
   (Planning, Dossier, anciennes et nouvelles) : date superposée, rien qui se chevauche, rien de coupé. */
@media (min-width: 761px) {
  /* date : jour, numéro, mois, les uns sous les autres (comme dans le dossier) */
  .pl-corps.dfin .dfin-tm tbody tr.lg .dt, .pl-corps.dfin .dfin-tm tbody tr.lg:not(.dfin-ouv) .dt { flex-direction: column !important; align-items: center !important; gap: 0 !important; font-size: 10.5px !important; line-height: 1.15 !important; white-space: nowrap; }
  .pl-corps.dfin .dfin-tm tbody tr.lg .dt span:first-child, .pl-corps.dfin .dfin-tm tbody tr.lg:not(.dfin-ouv) .dt span:first-child { display: inline !important; }
  .pl-corps.dfin .dfin-tm tbody tr.lg .dt b, .pl-corps.dfin .dfin-tm tbody tr.lg:not(.dfin-ouv) .dt b { font-size: 17px !important; line-height: 1.05; }
  /* numéro : chevron + numéro sur une ligne, jamais par-dessus la colonne suivante */
  .pl-corps.dfin .dfin-tm td.c-num { overflow: hidden; }
  .pl-corps.dfin .dfin-tm td.c-num .num { display: inline-block; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
  .pl-corps.dfin .dfin-tm td.c-num .wp9h-num { max-width: 100%; }
  .pl-corps.dfin .dfin-tm td.c-num .num.sd33-sans { font-size: 12px; font-weight: 700; color: #5B6B80; cursor: default; text-decoration: none; }
  /* horaires sans débordement */
  .pl-corps.dfin .dfin-tm td.c-h { overflow: hidden; }
  .pl-corps.dfin .dfin-tm td.c-h .hrs span { white-space: nowrap; }
  /* chauffeur : prénom puis nom en entier, sur deux lignes, sans « … » */
  .pl-corps.dfin .dfin-tm td.c-chf .chf, .pl-corps.dfin .dfin-tm td.c-chf .chf > span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  .pl-corps.dfin .dfin-tm td.c-chf .chf > span { display: block; line-height: 1.2; }
  /* numéro : chevron et numéro alignés au milieu */
  #v2-contenu .pl-corps.dfin table.dfin-tm td.c-num { white-space: nowrap; }
  #v2-contenu .pl-corps.dfin table.dfin-tm td.c-num .dfin-chev, #v2-contenu .pl-corps.dfin table.dfin-tm td.c-num .num { vertical-align: middle; }
  #v2-contenu .pl-corps.dfin table.dfin-tm td.c-num .num.sd33-sans { font-size: 11.5px; max-width: calc(100% - 26px); white-space: normal; line-height: 1.15; }
  /* état de la course : la pastille prend la largeur de la colonne (avant : 96 px, le nom était coupé) */
  #v2-contenu .pl-corps.dfin table.dfin-tm tbody tr.lg td.c-st .etb { width: auto !important; max-width: 100% !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }
}
/* lignes de l'ancien logiciel déjà présentes dans SD ONE : masquées (pas de double), ordinateur et téléphone */
.pl-corps tr.wp9h-l.sd33-dbl { display: none !important; }
/* largeur des colonnes : la même partout, chaque colonne a sa place */
@media (min-width: 1100px) {
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(1) { width: 30px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(2) { width: 112px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(3) { width: 42px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(4) { width: 50px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(5) { width: 68px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(6) { width: 14% !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(7) { width: 22% !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(8) { width: 100px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(9) { width: 116px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(10) { width: 40px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(11) { width: 156px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(12) { width: 34px !important; }
}
@media (min-width: 1400px) {
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(2) { width: 120px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(6) { width: 16% !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(7) { width: 30% !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(8) { width: 110px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(9) { width: 128px !important; }
  #v2-contenu .pl-corps.dfin table.tm.dfin-tm.sd33-12 col:nth-child(11) { width: 172px !important; }
}
