:root {
  --fond: #f6f3ee;
  --surface: #ffffff;
  --encre: #1e2230;
  --discret: #6b6f7b;
  --bord: #e3ddd3;
  --accent: #a8461f;
  --accent-clair: #f7e7de;
  --menu: #1f2a3a;
  --wa: #1c9d52;
  --danger: #b42318;
  --ok: #217a46;
  --rayon: 10px;
  --ombre: 0 1px 2px rgba(30, 34, 48, .06), 0 2px 8px rgba(30, 34, 48, .05);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--encre);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); font-size: 15px; line-height: 1.45; }
a { color: var(--accent); }
h1 { font-size: 1.6rem; margin: 0; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
h2 { font-size: 1.1rem; margin: 0 0 .9rem; }
h3 { margin: 0; font-size: 1rem; }
[hidden] { display: none !important; }

/* --- Coque ------------------------------------------------------------- */
#coque { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.menu { background: var(--menu); color: #dfe4ec; padding: 1.2rem .8rem; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.menu-tete { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: #fff; padding: 0 .5rem 1.2rem; font-size: 1.05rem; }
.logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 1.1rem; flex: none; }
.logo.grand { width: 52px; height: 52px; font-size: 1.6rem; border-radius: 12px; margin-bottom: .5rem; }
#nav { display: flex; flex-direction: column; gap: 2px; }
#nav a { color: inherit; text-decoration: none; padding: .55rem .7rem; border-radius: 7px; }
#nav a:hover { background: rgba(255, 255, 255, .07); }
#nav a.actif { background: rgba(255, 255, 255, .13); color: #fff; font-weight: 600; }
.lien-site { margin-top: auto; color: #f3c9b4; padding: .55rem .7rem; text-decoration: none; }
#vue { padding: 1.8rem 2.2rem 4rem; max-width: 1200px; width: 100%; min-width: 0; }

@media (max-width: 820px) {
  #coque { grid-template-columns: minmax(0, 1fr); }
  .menu { position: sticky; height: auto; padding: .6rem .6rem 0; z-index: 5; }
  .menu-tete { padding: 0 .3rem .5rem; }
  #nav { flex-direction: row; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
  #nav a { white-space: nowrap; padding: .45rem .7rem; }
  .lien-site { display: none; }
  #vue { padding: 1rem 1rem 4rem; }
  h1 { font-size: 1.35rem; }
}

/* --- Éléments communs -------------------------------------------------- */
.entete-page { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.entete-page p { margin: .3rem 0 0; }
.entete-section { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.6rem 0 .8rem; }
.entete-section h2 { margin: 0; }
.carte .entete-section { margin-top: 0; }
.actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.retour { color: var(--discret); text-decoration: none; font-size: .9rem; display: inline-block; margin-bottom: .3rem; }
.carte { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.2rem 1.3rem; box-shadow: var(--ombre); margin-bottom: 1.2rem; }
.discret { color: var(--discret); }
.aide { color: var(--discret); font-size: .85rem; margin: .3rem 0 .8rem; }
.vide { color: var(--discret); text-align: center; padding: 2rem 1rem; background: var(--surface); border: 1px dashed var(--bord); border-radius: var(--rayon); }
.chargement { color: var(--discret); }
.notes { background: #fbf8f3; border-left: 3px solid var(--accent); padding: .5rem .8rem; margin: .6rem 0; white-space: pre-wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: .55rem 1rem; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.07); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.secondaire { background: var(--surface); color: var(--encre); border-color: var(--bord); }
.btn.secondaire:hover { background: #faf7f2; filter: none; }
.btn.wa { background: var(--wa); border-color: var(--wa); }
.btn.petit { padding: .35rem .7rem; font-size: .88rem; }
.btn.plein { width: 100%; padding: .75rem; }
.lien { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: .3rem; }
.lien.danger, .danger { color: var(--danger); }

label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 600; color: #3a3f4c; margin-bottom: .8rem; }
.etiquette { font-size: .88rem; font-weight: 600; color: #3a3f4c; display: block; margin-bottom: .35rem; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--encre); background: #fff; border: 1px solid #d6d0c5; border-radius: 7px; padding: .5rem .65rem; width: 100%; min-width: 0; }
/* Listes déroulantes : même rendu dans tous les navigateurs (Safari et iPhone ignorent sinon hauteur et marges). */
select {
  -webkit-appearance: none; appearance: none; line-height: 1.3; padding-right: 2rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b6f7b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .7rem center / 12px 8px;
}
select:disabled { cursor: default; opacity: .6; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
input:disabled { background: #f3f0ea; color: #555; }
label.case { flex-direction: row; align-items: center; gap: .5rem; font-weight: 500; }
label.case input, .segment input, .puce input { width: auto; }
fieldset { border: 0; padding: 0; margin: 0 0 .8rem; min-width: 0; }
legend { padding: 0; font-weight: 700; margin-bottom: .5rem; }
.grille-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 1rem; }
.grille-champs.compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.large-2 { grid-column: span 2; }
@media (max-width: 520px) { .large-2 { grid-column: auto; } }
.avec-bouton { display: flex; gap: .5rem; align-items: stretch; }
.avec-bouton > .btn { flex: none; }
.avec-unite { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.segment { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: .6rem; }
.segment label { flex-direction: row; align-items: center; gap: .4rem; font-weight: 500; margin: 0; }
.barre-actions { display: flex; justify-content: flex-end; gap: .6rem; align-items: center; margin-top: .6rem; }
.barre-actions .danger { margin-right: auto; }

.bloc-mesures { background: #fbf8f3; border: 1px solid var(--bord); border-radius: 8px; padding: .8rem 1rem .2rem; }
.bloc-mesures legend { float: left; width: 100%; }
.bloc-mesures > :not(legend) { clear: both; }
.grille-mesures { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0 .8rem; }
.mesure { font-weight: 500; font-size: .82rem; margin-bottom: .6rem; }

.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .12rem .5rem; border-radius: 999px; background: #ece8e1; color: #4b4f5a; vertical-align: middle; white-space: nowrap; }
.s-en_attente { background: #eceff3; color: #475467; }
.s-en_cours, .s-a_faire { background: #fff1d6; color: #8a5a00; }
.s-terminee, .s-termine { background: #dcf3e5; color: var(--ok); }
.s-livree { background: #dde9f8; color: #1d4f91; }
.s-annulee, .s-retard { background: #fde3e1; color: var(--danger); }
.t-permanent { background: #e2ecf6; color: #24507a; }
.t-contractuel { background: #f3e6f7; color: #6b2f86; }

/* --- Tableaux ---------------------------------------------------------- */
.tableau { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--rayon); overflow: hidden; }
.carte .tableau { border-radius: 0; }
.tableau th, .tableau td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid #efeae2; vertical-align: middle; }
.tableau thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--discret); background: #faf7f2; }
.tableau .num { text-align: right; white-space: nowrap; }
.cliquable tbody tr { cursor: pointer; }
.cliquable tbody tr:hover { background: #fbf6f0; }
tr.retard td:first-child { color: var(--danger); font-weight: 600; }
tr.inactif { opacity: .55; }
@media (max-width: 700px) {
  .tableau thead { display: none; }
  .tableau, .tableau tbody, .tableau tr, .tableau td { display: block; width: 100%; }
  .tableau tr { border-bottom: 1px solid var(--bord); padding: .5rem 0; }
  .tableau td { border: 0; padding: .15rem .8rem; }
  .tableau .num { text-align: left; }
  .pointage, .pointage tbody, .pointage tr, .pointage td, .pointage thead { display: revert; }
  .pointage td, .pointage th { padding: .4rem; }
}

/* --- Filtres ----------------------------------------------------------- */
.filtres { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.filtres input[type=search] { max-width: 320px; }
.filtres label.case { margin: 0; }
.onglets { display: flex; gap: .3rem; flex-wrap: wrap; }
.onglets button { border: 1px solid var(--bord); background: var(--surface); padding: .4rem .8rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: .88rem; }
.onglets button.actif { background: var(--encre); color: #fff; border-color: var(--encre); }

/* --- Tableau de bord --------------------------------------------------- */
.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.tuile { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1rem; box-shadow: var(--ombre); }
.tuile span { display: block; color: var(--discret); font-size: .85rem; }
.tuile strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.tuile.alerte { border-color: #f1b8a0; background: var(--accent-clair); }

/* --- Commande ---------------------------------------------------------- */
.etape { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .8rem; margin-right: .3rem; }
.suggestions { display: flex; flex-direction: column; margin-top: .4rem; }
.suggestions button { text-align: left; background: #fff; border: 1px solid var(--bord); border-top: 0; padding: .6rem .8rem; cursor: pointer; font: inherit; }
.suggestions button:first-child { border-top: 1px solid var(--bord); border-radius: 7px 7px 0 0; }
.suggestions button:last-child { border-radius: 0 0 7px 7px; }
.suggestions button:only-child { border-radius: 7px; }
.suggestions button:hover { background: var(--accent-clair); }
.client-choisi { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--accent-clair); padding: .8rem 1rem; border-radius: 8px; }
.item { border: 1px solid var(--bord); border-radius: 9px; padding: 1rem; margin-bottom: 1rem; background: #fff; }
.item-tete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.puces { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.puce { flex-direction: row; align-items: center; gap: .4rem; border: 1px solid var(--bord); border-radius: 999px; padding: .2rem .7rem .2rem .25rem; margin: 0; font-weight: 500; cursor: pointer; background: #fff; }
.puce:has(input:checked) { border-color: var(--accent); background: var(--accent-clair); }
.puce input { margin: 0 0 0 .3rem; }
.puce.statique { display: inline-flex; cursor: default; font-size: .85rem; }
.mini { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; font-size: .7rem; }
.sans-photo { background: repeating-linear-gradient(45deg, #efe9df, #efe9df 6px, #f6f1e9 6px, #f6f1e9 12px); color: #b9ac98; display: grid; place-items: center; }
.grille-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 0 1.2rem; align-items: start; }
.soldes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1rem; align-items: end; }
.soldes > div span { display: block; font-size: .85rem; color: var(--discret); }
.soldes strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.soldes label { margin: 0; }
.soldes .du strong { color: var(--danger); }
.soldes .solde strong { color: var(--ok); }
@media (max-width: 520px) { .soldes { grid-template-columns: 1fr 1fr; } .soldes label { grid-column: span 2; } }
.paiements { margin-bottom: .8rem; }
.paiements td { padding: .45rem .3rem; }
.statut-commande { flex-direction: row; align-items: center; margin: 0; }
.statut-commande select { width: auto; }
.item-carte { display: grid; grid-template-columns: 130px 1fr; gap: 1.1rem; }
.item-photo .couverture { width: 130px; height: 160px; border-radius: 8px; object-fit: cover; }
.item-carte .prix { font-weight: 700; white-space: nowrap; }
.mesures-liste { font-size: .88rem; margin-bottom: .5rem; }
.mesures-liste span { display: inline-block; margin: 0 .7rem .2rem 0; }
.mesures-liste em { font-style: normal; color: var(--discret); }
.details-item { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .4rem; }
.actions-item { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .6rem; }
@media (max-width: 600px) {
  .item-carte { grid-template-columns: 1fr; }
  .item-photo .couverture { width: 100%; height: 180px; }
}
.zone-danger { margin-top: 2rem; text-align: right; }

/* --- Modèles et catalogue --------------------------------------------- */
#galerie h2 { margin-top: 1.4rem; }
.annee { color: var(--discret); font-weight: 600; margin: 1rem 0 .6rem; }
.grille-modeles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.carte-modele { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--ombre); }
.carte-modele:hover { border-color: var(--accent); }
.carte-modele .couverture { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: grid; font-size: 2rem; }
.carte-modele div { padding: .6rem .8rem; display: flex; flex-direction: column; gap: .2rem; align-items: flex-start; }
.carte-modele span { color: var(--discret); font-size: .88rem; }
.galerie-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin-bottom: .8rem; }
.galerie-admin figure { margin: 0; position: relative; }
.galerie-admin img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 7px; display: block; }
.suppr-photo { position: absolute; top: 4px; right: 4px; background: rgba(0, 0, 0, .6); color: #fff; border: 0; border-radius: 50%; width: 26px; height: 26px; cursor: pointer; font-size: 1rem; line-height: 1; }
.ajout-photo { margin: 0; border: 2px dashed var(--bord); border-radius: 7px; aspect-ratio: 3 / 4; display: grid; place-items: center; text-align: center; cursor: pointer; color: var(--accent); padding: .5rem; }
.ajout-photo:hover { border-color: var(--accent); }
.tissus { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .6rem 0; }
.tissus .etiquette { width: 100%; }
.tissus figure { margin: 0; position: relative; }
.tissus img { width: 84px; height: 84px; object-fit: cover; border-radius: 7px; display: block; }
.tissus .ajout-photo { width: 84px; height: 84px; aspect-ratio: auto; font-size: .8rem; }
.grille-catalogue { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; }
.grille-catalogue figure { margin: 0; }
.grille-catalogue .couverture { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: grid; font-size: 1.5rem; }
.grille-catalogue figcaption { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; padding-top: .3rem; }

/* --- Pointage ---------------------------------------------------------- */
.nav-semaine strong { padding: 0 .3rem; }
.defile { overflow-x: auto; border-radius: var(--rayon); border: 1px solid var(--bord); }
.pointage th, .pointage td { text-align: center; }
.pointage tbody th { text-align: left; font-weight: 400; white-space: nowrap; }
.pointage .auj { background: #fdf3ec; }
.case-pointage { width: 64px; text-align: center; padding: .4rem .2rem; }

/* --- Dialogues --------------------------------------------------------- */
dialog { border: 0; border-radius: 12px; padding: 0; width: min(520px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); color: var(--encre); }
dialog.large { width: min(860px, calc(100vw - 2rem)); }
dialog::backdrop { background: rgba(20, 24, 34, .45); }
dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 2rem); }
dialog header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--bord); }
dialog header h2 { margin: 0; }
dialog .corps { padding: 1.1rem 1.2rem .3rem; overflow-y: auto; }
dialog .corps .item { border: 0; padding: 0; }
dialog footer { display: flex; justify-content: flex-end; gap: .6rem; padding: .9rem 1.2rem; border-top: 1px solid var(--bord); }
.fermer { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--discret); line-height: 1; }

/* --- Connexion --------------------------------------------------------- */
.ecran-connexion { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: linear-gradient(135deg, #1f2a3a 0%, #2e3d52 60%, #a8461f 160%); }
.ecran-connexion form { width: min(400px, 100%); text-align: center; padding: 2rem; }
.ecran-connexion h1 { justify-content: center; margin-bottom: 1.2rem; }
.ecran-connexion label { text-align: left; }
.bascule { font-size: .9rem; color: var(--discret); margin-bottom: 0; }

/* --- Toast ------------------------------------------------------------- */
#toast { position: fixed; bottom: 1.2rem; left: 50%; transform: translate(-50%, 150%); background: var(--encre); color: #fff; padding: .7rem 1.1rem; border-radius: 9px; transition: transform .25s; z-index: 1000; max-width: calc(100vw - 2rem); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
#toast.visible { transform: translate(-50%, 0); }
#toast.erreur { background: var(--danger); }
.erreur-modal { margin: 0 1.2rem .3rem; padding: .55rem .8rem; border-radius: 7px; background: #fde3e1; color: var(--danger); font-weight: 600; }
.soldes label { grid-column: 1 / -1; }
.soldes label input { max-width: 180px; }
.barre-facture { margin: -.6rem 0 1.2rem; }
.bandeau-succes { display: flex; justify-content: space-between; align-items: center; gap: .8rem 1rem; flex-wrap: wrap; background: #dcf3e5; border: 1px solid #b4e0c4; border-radius: var(--rayon); padding: .9rem 1.1rem; margin-bottom: 1.2rem; }

/* --- Abonnement à la plateforme --------------------------------------- */
.principal { min-width: 0; }
#bandeau-abo { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; margin: 1rem 2.2rem 0; padding: .8rem 1.1rem; border-radius: var(--rayon); background: #fff1d6; border: 1px solid #f3d491; color: #6b4600; }
#bandeau-abo.retard { background: #fde3e1; border-color: #f4b6ae; color: var(--danger); }
@media (max-width: 820px) { #bandeau-abo { margin: .8rem 1rem 0; } }
.btn.wave { background: #1dc8f2; border-color: #1dc8f2; color: var(--encre); }
.abo-a_jour { background: #dcf3e5; color: var(--ok); }
.abo-bientot { background: #fff1d6; color: #8a5a00; }
.abo-en_retard { background: #fde3e1; color: var(--danger); }
.abo-gratuit { background: #eceff3; color: #475467; }

/* Mesures : bascule détail / résumé */
.bloc-mesures legend, .titre-mesures { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.bascule-mesures { font: inherit; font-size: .8rem; font-weight: 600; color: var(--accent); background: #fff; border: 1px solid var(--bord); border-radius: 999px; padding: .15rem .75rem; cursor: pointer; }
.bascule-mesures:hover { border-color: var(--accent); }
.bloc-mesures .resume-mesures { display: none; margin: .2rem 0 .6rem; }
.bloc-mesures.replie .resume-mesures { display: block; }
.bloc-mesures.replie .grille-mesures, .bloc-mesures.replie .tableau-mesures { display: none; }
.carte-mesures { padding: .6rem .8rem; margin-bottom: .6rem; }
.carte-mesures .titre-mesures { font-size: .9rem; }
.tableau-mesures { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .3rem 1rem; margin: .5rem 0 .4rem; font-size: .88rem; }
.tableau-mesures div { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px dashed var(--bord); padding: .15rem 0; }
.tableau-mesures span { color: var(--discret); }

/* Prix estimatif d'un article : tissu + main-d'œuvre */
.bloc-prix { border: 1px solid var(--bord); border-radius: 8px; padding: .8rem 1rem .4rem; margin-bottom: .8rem; }
.bloc-prix legend { padding: 0 .3rem; margin-bottom: .2rem; }
.total-estime { margin: .2rem 0 .4rem; font-size: .92rem; color: var(--discret); }
.total-estime strong { color: var(--encre); font-size: 1rem; }
.decomposition-prix { font-size: .85rem; color: var(--discret); margin: 0 0 .5rem; }
.cout-total { display: block; font-size: 1.2rem; padding: .35rem 0; }

/* Champ téléphone avec indicatif */
.tel { display: flex; gap: .4rem; }
.tel select { width: auto; flex: none; max-width: 7.5rem; }
.tel input[data-local] { flex: 1; }

/* Import des contacts Google */
.barre-import { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.barre-import input[type=search] { flex: 1 1 200px; }
.barre-import label.case { margin: 0; }
.liste-contacts { max-height: 55vh; overflow: auto; border: 1px solid var(--bord); border-radius: 8px; }
.contact { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) 7.5rem; gap: .4rem .5rem; align-items: center; padding: .5rem .7rem; border-bottom: 1px solid var(--bord); }
.contact:last-child { border-bottom: 0; }
.contact input[type=checkbox] { width: auto; }
.contact input, .contact select { padding: .35rem .5rem; font-size: .9rem; }
.contact select { padding-right: 1.8rem; }
.contact-infos { grid-column: 2 / -1; font-size: .82rem; color: var(--discret); overflow-wrap: anywhere; }
.contact.deja { opacity: .55; }
@media (max-width: 560px) {
  .contact { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
  .contact select { grid-column: 2 / -1; }
}

/* Liste des clients */
.liste-clients { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; }
.ligne-client { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--bord); color: inherit; text-decoration: none; }
.ligne-client:last-child { border-bottom: 0; }
.ligne-client:hover { background: #fbf6f0; }
.ligne-client strong { display: block; font-weight: 700; }
.details-client { display: block; margin-top: .15rem; font-size: .85rem; font-weight: 300; color: var(--discret); overflow-wrap: anywhere; }
.nb-commandes { flex: none; font-size: .8rem; color: var(--discret); }
