/* SD ONE · lot 49 (24/10/2026) : sélecteur Toutes · SAHN DRIVE · TB SERVICES à la place de l'interrupteur de l'historique */
html body .wp9h-barre.sd49-barre > .wp9h-inter, html body .wp9h-barre.sd49-barre > .wp9h-info { display: none !important; }
.sd49-sel { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(11,31,58,.06); border: 1px solid #C9D2DE; }
.sd49-sel .sd49-t { font: 700 11px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #5B6B80; padding: 0 8px 0 10px; }
.sd49-sel button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #0B1F3A; font: 700 13px Montserrat, sans-serif; cursor: pointer; transition: background .15s ease, color .15s ease; }
.sd49-sel button:hover { background: rgba(30,90,168,.10); }
.sd49-sel button[aria-checked="true"] { background: linear-gradient(135deg, #0B1F3A, #1E5AA8); color: #fff; box-shadow: 0 2px 8px rgba(11,31,58,.25); }
html[data-sd49="sd"] tr[data-id].sd49-tb, html[data-sd49="sd"] tr.wp9h-l.sd49-tb { display: none !important; }
html[data-sd49="tb"] tr[data-id]:not(.sd49-tb), html[data-sd49="tb"] tr.wp9h-l:not(.sd49-tb) { display: none !important; }
@media (max-width: 760px) { .sd49-sel button { min-height: 44px; padding: 0 10px; } .sd49-sel .sd49-t { display: none; } }
/* mini calendrier du bouton « Aujourd'hui » */
.sd49-cal { position: absolute; z-index: 9000; display: flex; gap: 8px; align-items: center; padding: 10px; background: #fff; border: 1px solid #C9D2DE; border-radius: 14px; box-shadow: 0 12px 30px rgba(11,31,58,.30); }
.sd49-cal .sd49-date { height: 40px; padding: 0 10px; border: 1px solid #C9D2DE; border-radius: 10px; font: 600 14px Manrope, sans-serif; color: #0B1F3A; }
.sd49-cal .sd49-auj { height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #0B1F3A, #1E5AA8); color: #fff; font: 700 13px Montserrat, sans-serif; cursor: pointer; }
@media (max-width: 760px) { .sd49-cal .sd49-date, .sd49-cal .sd49-auj { height: 44px; } }
/* contour de la photo du chauffeur selon le véhicule (couleurs des groupes WhatsApp) */
html body td.c-chf .sd-av[data-sd49c="van"] { box-shadow: 0 0 0 2.5px #7B3FB8 !important; }
html body td.c-chf .sd-av[data-sd49c="business"] { box-shadow: 0 0 0 2.5px #1E5AA8 !important; }
html body td.c-chf .sd-av[data-sd49c="premium"] { box-shadow: 0 0 0 2.5px #7A4A2A !important; }
html body td.c-chf .sd-av[data-sd49c="tesla"] { box-shadow: 0 0 0 2.5px #1D8A4A !important; }
html body td.c-chf .sd-av[data-sd49c="eco"] { box-shadow: 0 0 0 2.5px #1B1F24 !important; }
html body td.c-chf .sd-av[data-sd49c="bus"] { box-shadow: 0 0 0 2.5px #C62828 !important; }
/* passagers : un nom par ligne, deux au plus, puis « +N » */
html body td.c-cli .cli > span.sd49-ps { display: flex !important; flex-direction: column; gap: 1px; white-space: normal !important; }
html body td.c-cli .sd49-p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body td.c-cli .sd49-p.sd49-cl { color: #6B7785; font-size: .92em; }
html body td.c-cli .sd49-plus { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 8px; background: #E6EEF9; color: #1E5AA8; font: 700 11px Manrope, sans-serif; }
/* icônes de la barre d'outils : une couleur par rôle, pour ne plus les confondre */
html body .sd49-b-actu svg { color: #1E5AA8; }
html body .sd49-b-sync svg { color: #0B1F3A; }
html body .sd49-b-masse svg { color: #6B7F99; }
