/* Accueil épuré : « À moi aujourd'hui », « L'équipe aujourd'hui », les commandes en trois chiffres,
   puis (Patron) les finances et les comptes. */
.acc { display: flex; flex-direction: column; gap: 20px; }
.acc-tete { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc-tete .titres { flex: 1; min-width: 260px; }
.acc-tete h1 { font-size: 28px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.acc-tete .sous { color: var(--encre-2); font-size: 16px; margin-top: 2px; }
.acc-tete .maj { text-transform: capitalize; }
.acc-bascule { display: none; }
.acc-haut { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.acc-haut.seul { grid-template-columns: minmax(0, 1fr); }
.acc-titre { display: flex; align-items: baseline; gap: 10px; padding: 18px 22px 14px; }
.acc-titre h2 { font-size: 18px; font-weight: 800; }
.acc-titre .n { color: var(--encre-2); font-weight: 600; }
.acc-titre .n.petit { font-size: 13.5px; font-weight: 500; }
.acc-titre .fin, .acc-pied .fin { margin-left: auto; }
.acc-pied { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 13px 22px; border-top: 1px solid var(--ligne); }
.acc-rien { padding: 6px 22px 18px; color: var(--encre-2); }

/* Une ligne à cocher */
.acc-t { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 22px; border-top: 1px solid var(--ligne); }
.acc-coche { width: 22px; height: 22px; border-radius: 6px; border: 1.75px solid var(--encre-3); background: var(--surface); display: grid; place-items: center; color: transparent; padding: 0; }
.acc-coche:hover { border-color: var(--encre); color: var(--encre); background: var(--fond-2); }
.acc-coche .ic { width: 14px; height: 14px; stroke-width: 2.5; }
.acc-coche.appel { color: var(--encre-2); border-radius: 50%; }
.acc-t-corps { border: 0; background: none; padding: 0; text-align: left; min-width: 0; color: inherit; }
.acc-t-corps b { display: block; font-size: 15.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-t-corps small { display: block; font-size: 13.5px; color: var(--encre-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-t-corps:hover b { text-decoration: underline; text-underline-offset: 2px; }
/* Tâche liée à une commande : le titre et la ligne grise ouvrent la tâche ; « Zara 53018842 » ouvre les colis. */
div.acc-t-corps:hover b { text-decoration: none; }
.acc-t-titre { display: block; width: 100%; min-width: 0; border: 0; background: none; padding: 0; text-align: left; color: inherit; }
div.acc-t-corps .acc-t-titre:hover b { text-decoration: underline; text-underline-offset: 2px; }
div.acc-t-corps > small { overflow: visible; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.acc-t time { font-size: 14px; font-weight: 600; color: var(--encre-2); white-space: nowrap; }
.acc-t time.rouge-fort { color: var(--t-rouge); font-weight: 700; }

/* Une ligne par personne */
.acc-qui { display: flex; gap: 14px; align-items: flex-start; padding: 13px 22px; border-top: 1px solid var(--ligne); color: inherit; }
.acc-qui:hover { text-decoration: none; background: var(--survol); }
.acc-qui-corps { flex: 1; min-width: 0; }
.acc-qui-corps b { font-size: 15.5px; font-weight: 700; }
.acc-qui-corps small { display: block; font-size: 13.5px; color: var(--encre-2); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-retard { font-size: 13.5px; white-space: nowrap; }
.st-plein-rouge { background: var(--t-rouge); color: #fff; }

/* Les chiffres */
.acc-trio { display: flex; flex-wrap: wrap; align-items: stretch; }
.acc-trio-titre { flex: 0 0 170px; padding: 16px 22px; display: flex; align-items: center; }
.acc-trio-titre h2 { font-size: 18px; font-weight: 800; }
.acc-k { flex: 1 1 0; min-width: 0; padding: 14px 22px; color: inherit; border-left: 1px solid var(--ligne); }
.acc-k:hover { text-decoration: none; background: var(--survol); }
.acc-k span { display: block; font-size: 13.5px; font-weight: 600; color: var(--encre-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-k b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin-top: 1px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.acc-k b.violet { color: var(--t-violet); }
.acc-k b.sarcelle { color: var(--t-sarcelle); }
.acc-k b.vert { color: var(--t-vert); }
.acc-k b.rouge { color: var(--t-rouge); }
.acc-bas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); gap: 20px; align-items: start; }
.acc-bas .acc-titre { padding: 14px 22px 10px; }
.acc-rangee { display: flex; flex-wrap: wrap; border-top: 1px solid var(--ligne); }
.acc-rangee .acc-k { padding: 12px 22px 14px; flex: 1 1 130px; }
.acc-rangee .acc-k:first-child { border-left: 0; }
.acc-rangee .acc-k b { font-size: 20px; }

.acc-compte { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 22px; border-top: 1px solid var(--ligne); color: inherit; }
.acc-compte:hover { text-decoration: none; background: var(--survol); }
.acc-compte:last-child { border-radius: 0 0 var(--rayon-l) var(--rayon-l); }
.acc-compte span { color: var(--encre-2); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-compte b { font-size: 17px; font-weight: 800; white-space: nowrap; }

@media (max-width: 1240px) {
  .acc-bas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .acc-haut { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .acc { gap: 14px; }
  .acc-tete h1 { font-size: 24px; }
  .acc-tete .sous { font-size: 15px; }
  .acc-tete .btn { display: none; } /* sur téléphone, le « + » du bas crée une commande */
  .acc-bascule { display: flex; width: 100%; }
  .acc-bascule button { flex: 1; justify-content: center; height: 40px; font-size: 14.5px; }
  .acc-bascule .actif { background: var(--encre); color: #fff; box-shadow: none; }
  .acc-haut.volet-moi .acc-equipe, .acc-haut.volet-equipe .acc-moi { display: none; }
  .acc-haut:not(.seul) .acc-titre { display: none; }
  .acc-haut:not(.seul) .carte > .acc-t:first-of-type, .acc-haut:not(.seul) .carte > .acc-qui:first-of-type { border-top: 0; }
  .acc-t { padding: 12px 16px; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 14px; }
  .acc-coche { width: 24px; height: 24px; grid-row: span 2; }
  .acc-t time { grid-column: 2; font-size: 13.5px; pointer-events: none; } /* sous le texte : ne masque pas la zone tactile de « Zara 53018842 » */
  .acc-qui, .acc-pied, .acc-titre, .acc-compte { padding-left: 16px; padding-right: 16px; }
  .acc-trio-titre { display: none; }
  .acc-trio .acc-k { padding: 12px 8px; text-align: center; }
  .acc-trio .acc-k:first-of-type { border-left: 0; }
  .acc-trio .acc-k b { font-size: 24px; }
  .acc-trio .acc-k span { font-size: 13px; }
  .acc-rangee .acc-k { flex: 1 1 45%; padding: 12px 16px; }
}
