/* Espace Planning — mise en forme du design system SOCARA v3 (jetons de charte.css) : AppSidebar, KpiTile, EstimateTable, Button, StatusBadge */
@font-face { font-family: 'Mont'; src: url('fonts/Mont-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Mont'; src: url('fonts/Mont-Book.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Mont'; src: url('fonts/Mont-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--gris-clair); color: var(--anthracite); font: 400 14px/20px var(--font-saisie); }
button, input, select { font: inherit; color: inherit; }
.appli { display: flex; min-height: 100vh; }
[hidden] { display: none !important; }

/* AppSidebar */
.side { width: 232px; flex: none; background: var(--cote-fond); border-top: 4px solid var(--jaune); color: var(--cote-texte); font-family: var(--font-mont);
  display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5) 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: var(--space-3); padding: 0 6px; }
.brand img { width: 36px; height: 36px; display: block; }
.brand b { display: block; color: var(--blanc); font-size: 15px; letter-spacing: .04em; }
.brand span { font-size: 12px; color: var(--cote-discret); }
.switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--cote-creux); border-radius: var(--radius-lg); padding: var(--space-1); }
.switch button { border: 0; background: none; text-align: center; padding: 8px 2px; border-radius: var(--radius-md); font: 400 11px var(--font-mont); color: var(--cote-texte); cursor: pointer; }
.switch button:hover { color: var(--blanc); }
.switch button.on { background: var(--blanc); color: var(--anthracite); font-weight: 700; cursor: default; }
.ctx { background: var(--cote-actif); border-radius: var(--radius-lg); padding: var(--space-3); display: flex; flex-direction: column; gap: 4px; }
.ctx b { color: var(--blanc); }
.ctx span { font-size: 12px; color: var(--cote-discret); }
nav { display: flex; flex-direction: column; gap: 2px; }
.sec { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--cote-discret); padding: 8px 12px 4px; }
nav button { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 12px; border: 0; background: none; border-radius: var(--radius-md);
  color: var(--cote-texte); font: 400 14px var(--font-mont); text-align: left; cursor: pointer; }
nav button:hover { background: var(--cote-creux); }
nav button svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
nav button.on { background: var(--cote-actif); color: var(--blanc); font-weight: 700; }
nav button.on svg { stroke: var(--jaune); }
.count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--rouge); color: var(--blanc); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.side .pied { margin-top: auto; font-size: 12px; color: var(--cote-discret); padding: 0 12px; }

/* Contenu */
main { flex: 1; min-width: 0; padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.entete { display: flex; align-items: flex-end; gap: var(--space-4); flex-wrap: wrap; }
.entete h1 { margin: 0; font: 700 26px/32px var(--font-mont); letter-spacing: -.5px; }
.entete .actions { margin-left: auto; display: flex; gap: var(--space-2); align-items: center; }
.aide { font-size: 12px; color: var(--gris-texte); }
.surtitre { font: 700 10px/14px var(--font-mont); letter-spacing: 2px; text-transform: uppercase; color: var(--rouge-fonce); margin: 0 0 var(--space-2); }
.btn { min-height: 44px; padding: 0 var(--space-5); border-radius: var(--radius-pill); font-family: var(--font-mont); display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.principal { border: none; background: var(--anthracite); color: var(--blanc); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; box-shadow: var(--shadow-bouton); }
.btn.principal:hover { background: var(--rouge); box-shadow: var(--shadow-bouton-survol); }
.btn.secondaire { border: 1px solid var(--bordure-forte); background: var(--blanc); color: var(--anthracite); font-size: 13px; font-weight: 700; }
.btn.secondaire:hover { border-color: var(--anthracite); }
.btn.danger { border: 1px solid var(--bordure-forte); background: var(--blanc); color: var(--rouge-fonce); font-size: 13px; font-weight: 700; }
.btn.petit { min-height: 32px; padding: 0 var(--space-4); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible, .seg button:focus-visible, nav button:focus-visible, .switch button:focus-visible { outline: none; box-shadow: var(--shadow-focus-bouton); }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font: 700 12px var(--font-mont); white-space: nowrap; }
.b-gagne { background: var(--statut-gagne-fond); color: var(--statut-gagne-texte); }
.b-envoye { background: var(--statut-envoye-fond); color: var(--statut-envoye-texte); }
.b-attention { background: var(--attention-fond); color: var(--attention-texte); }
.b-cours { background: var(--statut-cours-fond); color: var(--statut-cours-texte); }
.b-perdu { background: var(--statut-perdu-fond); color: var(--statut-perdu-texte); }

.barre { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.annee { display: flex; align-items: center; background: var(--blanc); border: 1px solid var(--bordure-champ); border-radius: var(--radius-pill); height: 36px; }
.annee button { border: 0; background: none; font-size: 16px; padding: 0 12px; cursor: pointer; color: var(--gris-fer); height: 100%; border-radius: var(--radius-pill); }
.annee b { font: 700 15px var(--font-mont); min-width: 40px; text-align: center; }
.champ { height: 36px; padding: 0 10px; border: 1px solid var(--bordure-champ); border-radius: var(--radius-md); font: 13px var(--font-saisie); background: var(--blanc); color: var(--anthracite); }
.champ:focus { outline: none; border-color: var(--rouge); box-shadow: var(--shadow-focus); }
.champ:disabled { background: var(--gris-ligne); color: var(--gris-texte); border-color: var(--bordure); }
input.champ.n { text-align: right; width: 130px; }
.seg { display: inline-flex; background: var(--blanc); border: 1px solid var(--bordure-forte); border-radius: var(--radius-pill); padding: 3px; }
.seg button { border: 0; background: none; padding: 5px 12px; font: 700 12px var(--font-mont); border-radius: var(--radius-pill); color: var(--gris-fer); cursor: pointer; }
.seg button.on { background: var(--anthracite); color: var(--blanc); }
.seg button:disabled { cursor: default; opacity: .6; }
.barre label { font-size: 13px; color: var(--gris-fer); display: flex; align-items: center; gap: 6px; }
.barre .droite { margin-left: auto; }

/* KpiTile */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); font-family: var(--font-mont); }
.t { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t.vente { background: var(--jaune); border-color: var(--jaune); }
.t.alerte { background: var(--statut-perdu-fond); border-color: var(--rouge); }
.t .l { font-size: 12px; color: var(--gris-texte); }
.t.vente .l { color: var(--gris-fer); font-weight: 700; }
.t.alerte .l, .t.alerte .v { color: var(--statut-perdu-texte); }
.t .v { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t .s { font-size: 12px; color: var(--gris-texte); font-family: var(--font-saisie); }
.t.vente .s { color: var(--gris-fer); }

/* Planning : tableau à barres */
.carte { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--radius-lg); overflow: hidden; }
.carte.pad { padding: var(--space-4); }
.defile { overflow-x: auto; }
table.pl { border-collapse: separate; border-spacing: 0; font: 400 12px/16px var(--font-saisie); font-variant-numeric: tabular-nums; width: 100%; }
table.pl th { background: var(--gris-ligne); color: var(--gris-texte); font-size: 12px; font-weight: 700; padding: 6px 6px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--bordure); }
table.pl th.g { text-align: left; }
table.pl thead tr.ans th { font: 700 10px/14px var(--font-mont); letter-spacing: 2px; text-transform: uppercase; color: var(--gris-texte); text-align: center; padding: 6px 0 2px; border-bottom: 0; }
table.pl thead tr.ans th.an-n { color: var(--rouge-fonce); }
table.pl th.hors-an { background-color: #f1f1ee; }
table.pl th.courant { background: var(--montant); color: var(--anthracite); }
table.pl td { padding: 0 6px; height: 40px; border-top: 1px solid var(--bordure-douce); white-space: nowrap; }
table.pl td.n { text-align: right; }
table.pl .fixe { position: sticky; left: 0; z-index: 2; background: var(--blanc); text-align: left; width: 230px; min-width: 230px; max-width: 230px; border-right: 1px solid var(--bordure); }
table.pl th.fixe { background: var(--gris-ligne); z-index: 3; }
table.pl .sep-g { border-left: 1px solid var(--bordure); }
.nom { font-weight: 700; display: flex; align-items: center; gap: 6px; min-width: 0; }
.nom .nom-t { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nom .cond { margin-left: auto; }
.sous { font-size: 11px; color: var(--gris-texte); font-weight: 400; display: block; overflow: hidden; text-overflow: ellipsis; }
.ms { font: 700 10px var(--font-mont); padding: 1px 6px; border-radius: var(--radius-pill); background: var(--statut-envoye-fond); color: var(--statut-envoye-texte); }
.cond { font: 700 11px var(--font-mont); padding: 2px 6px; border-radius: var(--radius-sm); background: var(--gris-clair); color: var(--gris-fer); }
tbody tr.ligne { cursor: pointer; }
tbody tr.ligne:hover td { background-color: var(--montant-pale); }
tbody tr.ligne:hover td.fixe { background: var(--montant-pale); }

/* Ligne de groupe (chef) : bande de charge jusqu'à la fin de son dernier chantier */
tr.chef td { background: var(--ligne-titre); border-top: 1px solid var(--bordure); height: 34px; }
tr.chef td.fixe { background: var(--ligne-titre); font-weight: 700; font-size: 13px; color: var(--rouge-fonce); }
tr.chef td.fixe .dispo { float: right; font: 700 11px/18px var(--font-mont); color: var(--anthracite); }
td.mc { padding: 0; position: relative; }
td.mc .charge { position: absolute; left: 0; right: 0; top: 9px; height: 16px; background: var(--anthracite); }
td.mc .charge.x2 { background: var(--rouge-fonce); }
td.mc .charge.deb { left: 4px; border-radius: 8px 0 0 8px; }
td.mc .charge.fin { right: 4px; border-radius: 0 8px 8px 0; }
td.mc .charge.deb.fin { border-radius: 8px; }
td.mc .charge span { position: absolute; inset: 0; color: var(--blanc); font: 700 10px/16px var(--font-mont); text-align: center; }
td.mc .fleche { position: absolute; right: 2px; top: 9px; color: var(--blanc); font: 700 10px/16px var(--font-mont); }

/* Ligne de chantier : barre de Gantt dès qu'un montant est saisi */
td.m { padding: 0; position: relative; min-width: 56px; }
td.m.hors-an { background-color: #fbfbf9; }
td.m .bar { position: absolute; left: 0; right: 0; top: 5px; bottom: 5px; }
td.m .bar.deb { left: 3px; border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
td.m .bar.fin { right: 3px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
td.m .bar.reel { background: var(--statut-gagne-fond); box-shadow: inset 0 -4px 0 var(--statut-gagne-texte); }
td.m .bar.reel.saisi { background: #eeeeec; box-shadow: inset 0 -4px 0 var(--anthracite); }
td.m .bar.prevu { background: var(--montant); box-shadow: inset 0 -4px 0 var(--jaune); }
td.m .bar.retard { background: var(--attention-fond); box-shadow: inset 0 -4px 0 var(--attention-texte); }
td.m .bar.vide { background: transparent; box-shadow: inset 0 -4px 0 var(--bordure-forte); }
td.m .bar span { position: absolute; right: 6px; top: 4px; font-size: 12px; font-weight: 700; color: var(--anthracite); }
td.m .bar.prevu span { font-weight: 400; color: var(--gris-fer); }
td.m .bar.retard span { color: var(--attention-texte); font-weight: 400; }
td.m .bar span.neg { color: var(--statut-perdu-texte); }
td.m.edit .bar span { display: none; }
td.m.edit input { position: absolute; z-index: 1; left: 2px; right: 2px; top: 6px; width: calc(100% - 4px); min-width: 70px; height: 26px; font: 12px var(--font-saisie); text-align: right;
  border: 1px solid var(--rouge); border-radius: var(--radius-sm); box-shadow: var(--shadow-focus); padding: 0 4px; background: var(--blanc); }
td.m.edit em { position: absolute; z-index: 1; left: 3px; top: -1px; font: 700 9px var(--font-mont); font-style: normal; color: var(--rouge-fonce); background: var(--blanc); padding: 0 2px; }
td.m.autre { background: repeating-linear-gradient(135deg, var(--gris-ligne) 0 5px, var(--blanc) 5px 10px); }
td.m.autre .bar { opacity: .35; }
body.modif td.m:not(.autre) { cursor: cell; }
tr.fini td { color: var(--gris-texte); }
tr.fini td.fixe .nom { color: var(--gris-texte); }
tr.fini td.m .bar { opacity: .45; }
tr.sel td, table.pl tr.sel td.fixe { background: var(--selection); }
td.np { color: var(--statut-perdu-texte); font-weight: 700; }
.vide-tableau { padding: var(--space-6); text-align: center; color: var(--gris-texte); }
/* Pied : bandeau anthracite, total en jaune */
table.pl tfoot td { background: var(--anthracite); color: var(--cote-texte); border-top: 1px solid #333; height: 30px; }
table.pl tfoot td.fixe { background: var(--anthracite); color: var(--blanc); font-weight: 700; border-right-color: #333; }
table.pl tfoot tr.total td { color: var(--jaune); font-weight: 700; }
table.pl tfoot tr.total td.fixe { color: var(--blanc); }
.legende { display: flex; gap: var(--space-5); flex-wrap: wrap; font-size: 12px; color: var(--gris-texte); padding: 10px 14px; border-top: 1px solid var(--bordure); align-items: center; }
.legende i { display: inline-block; width: 26px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.lg-reel { background: var(--statut-gagne-fond); box-shadow: inset 0 -3px 0 var(--statut-gagne-texte); }
.lg-saisi { background: #eeeeec; box-shadow: inset 0 -3px 0 var(--anthracite); }
.lg-prevu { background: var(--montant); box-shadow: inset 0 -3px 0 var(--jaune); }
.lg-retard { background: var(--attention-fond); box-shadow: inset 0 -3px 0 var(--attention-texte); }
.lg-charge { background: var(--anthracite); border-radius: 6px !important; }
.lg-charge2 { background: var(--rouge-fonce); border-radius: 6px !important; margin-left: 6px; }
.lg-autre { background: repeating-linear-gradient(135deg, var(--bordure) 0 3px, var(--blanc) 3px 6px); }
.legende .droite { margin-left: auto; }

/* Fiche du chantier : carte sous le tableau, sans fenêtre */
.tete-fiche { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--gris-ligne); border-bottom: 1px solid var(--bordure); flex-wrap: wrap; }
.tete-fiche b { font: 700 15px var(--font-mont); }
.tete-fiche input.champ { font: 700 14px var(--font-mont); min-width: 260px; }
.tete-fiche .actions { margin-left: auto; display: flex; gap: var(--space-2); align-items: center; }
.fiche { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1.2fr; }
.fiche > div { padding: var(--space-4); border-left: 1px solid var(--bordure-douce); font-size: 13px; min-width: 0; }
.fiche > div:first-child { border-left: 0; }
.fiche dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; align-items: center; }
.fiche dt { color: var(--gris-fer); }
.fiche dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.fiche dd.fort { font-weight: 700; }
.fiche dd input.champ.n { height: 30px; width: 120px; }
.fiche .ligne { display: flex; align-items: center; gap: var(--space-2); margin: 8px 0; flex-wrap: wrap; }
.fiche .champ { height: 32px; max-width: 100%; }
.fiche .note { color: var(--gris-texte); font-size: 12px; margin: 6px 0 0; }
.fiche ul { list-style: none; margin: 0; padding: 0; }
.fiche li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: 4px 0; border-bottom: 1px solid var(--bordure-douce); }
.fiche li .x { border: 0; background: none; color: var(--gris-texte); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 6px; border-radius: var(--radius-sm); }
.fiche li .x:hover { color: var(--rouge); background: var(--pastille-rouge); }
.fiche table.sits { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.fiche table.sits td { padding: 3px 0; border-bottom: 1px solid var(--bordure-douce); }
.fiche table.sits td.n { text-align: right; }
.fiche label { display: inline-flex; align-items: center; gap: 6px; }

/* Listes (chantiers, chefs) */
table.liste { width: 100%; border-collapse: collapse; font: 13px var(--font-saisie); font-variant-numeric: tabular-nums; }
table.liste th { background: var(--gris-ligne); color: var(--gris-texte); font-size: 12px; font-weight: 700; text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--bordure); white-space: nowrap; }
table.liste th.n, table.liste td.n { text-align: right; }
table.liste td { padding: 8px 10px; border-top: 1px solid var(--bordure-douce); }
table.liste tr.cliquable { cursor: pointer; }
table.liste tr.cliquable:hover td { background: var(--montant-pale); }
table.liste tr.fini td { color: var(--gris-texte); }
table.liste input.champ { height: 30px; }
.rapport ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.rapport p { margin: 4px 0; }

#toast { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); background: var(--anthracite); color: #fff; padding: 10px 18px; border-radius: 50px; z-index: 50;
  border-top: 3px solid var(--jaune); font: 13px var(--font-mont); max-width: 80vw; }

@media (max-width: 1200px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fiche { grid-template-columns: 1fr 1fr; }
  .fiche > div:nth-child(3) { border-left: 0; }
  .fiche > div:nth-child(n+3) { border-top: 1px solid var(--bordure-douce); }
}
@media (max-width: 760px) {
  .appli { flex-direction: column; }
  .side { width: auto; height: auto; position: static; }
  main { padding: var(--space-4); }
  .kpis, .fiche { grid-template-columns: 1fr; }
  .fiche > div { border-left: 0; border-top: 1px solid var(--bordure-douce); }
}

/* ===== Menu de gauche au thème d'Études de prix (12/11/2026) : en-tête du menu, entrées en Tahoma 13 px, mêmes tailles qu'Études. Écran seulement. ===== */
@media screen {
.side { gap: 0; padding: 0 0 12px; }
.side .brand { position: relative; padding: 12px 14px; min-height: 62px; box-sizing: border-box; gap: 10px; }
.side .brand img { width: auto; height: 32px; }
.side .brand b { font: 700 15px/1.1 var(--font-mont); letter-spacing: 0; }
.side .brand span { font: 400 12px var(--font-saisie); }
.side .switch { margin: 10px 12px 4px; }
.side .ctx { margin: 8px 12px 0; padding: 10px 12px; }
.side .ctx b { font-size: 14px; }
.side .ctx span { font-family: var(--font-saisie); }
.side nav { padding: 8px 12px; gap: 2px; }
.side .sec { margin: 12px 0 4px; padding: 0 12px; font: 700 11px var(--font-mont); letter-spacing: .08em; }
.side nav button { min-height: 40px; padding: 8px 12px; gap: 12px; font: 400 13px var(--font-saisie); }
.side nav button.on { font-weight: 700; }
.side nav button svg { width: 20px; height: 20px; stroke-width: 1.8; opacity: .85; }
.side nav button.on svg { opacity: 1; }
.side .pied { font-family: var(--font-saisie); }
}

/* ===== Bandeau clair en haut à droite du menu, comme Études de prix et Chantier-Situations (12/11/2026). Écran seulement. ===== */
.pl-droite { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pl-tete { display: none; }
@media screen {
.pl-tete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; min-height: 62px; box-sizing: border-box; padding: 8px 32px;
  background: var(--gris-clair); color: var(--anthracite); border-bottom: 1px solid var(--bordure); }
.pl-titre { font: 700 20px/26px var(--font-mont); letter-spacing: -.3px; }
.pl-annee { margin-left: auto; font: 700 12.5px var(--font-saisie); border: 1px solid var(--bordure-forte); border-radius: 999px; padding: 6px 14px; background: #fff; }
.pl-annee:empty { display: none; }
}

/* ===== Boutons comme dans Études de prix et Chantier-Situations (12/11/2026) : pilule blanche, Tahoma 13 px gras, casse normale ;
   action principale anthracite, rouge au survol. Écran seulement. ===== */
@media screen {
.btn { min-height: 34px; padding: 6px 16px; font: 700 13px/1.2 var(--font-saisie); letter-spacing: 0; text-transform: none; box-shadow: none; }
.btn.petit { min-height: 30px; padding: 4px 14px; }
.btn.principal { font-size: 13px; letter-spacing: 0; text-transform: none; box-shadow: none; border: 1px solid var(--anthracite); }
.btn.principal:hover:not(:disabled) { background: var(--rouge); border-color: var(--rouge); box-shadow: none; }
.btn.secondaire, .btn.danger { border-color: #C9C9C4; }
.btn.secondaire:hover:not(:disabled) { border-color: var(--anthracite); }
.btn.danger { color: #B42318; }
.btn.danger:hover:not(:disabled) { border-color: #B42318; }
}

/* ===== Haut du menu identique à Études de prix et Chantier-Situations (12/11/2026) : filet jaune posé par-dessus
   (il ne pousse plus le menu de 4 px), nom et sous-titre aux mêmes hauteurs, bouton « Réduire le menu ». Écran seulement. ===== */
@media screen {
aside.side { border-top: none; }
.side .brand::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--jaune); }
.side .brand > div { flex: 1; min-width: 0; }
.side .brand b { line-height: 16.5px; }
.side .brand span { display: block; line-height: 16.5px; }
.pl-replier { margin-left: auto; flex: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 6px; width: 26px; height: 24px; cursor: pointer; font: 700 14px/1 var(--font-mont); padding: 0; }
.pl-replier:hover { background: rgba(255,255,255,.18); }
/* menu réduit : icônes seules, sur 56 px comme Chantier-Situations */
body.pl-cote-reduit .side { width: 56px; }
body.pl-cote-reduit .side .brand { justify-content: center; padding: 12px 0; }
body.pl-cote-reduit .side .brand > img, body.pl-cote-reduit .side .brand > div,
body.pl-cote-reduit .side .switch, body.pl-cote-reduit .side .ctx, body.pl-cote-reduit .side .sec, body.pl-cote-reduit .side .pied,
body.pl-cote-reduit .side nav .count { display: none; }
body.pl-cote-reduit .pl-replier { margin: 0; }
body.pl-cote-reduit .side nav { padding: 8px 0; }
body.pl-cote-reduit .side nav button { font-size: 0; gap: 0; justify-content: center; padding: 8px 0; }
}
@media print { .pl-replier { display: none; } }

/* Études ne répond pas : derniers chiffres connus (service Planning séparé, 18/11/2026) */
.pl-alerte { margin: 0 0 12px; border-left: 4px solid #C77700; background: #FFF6E5; color: #5A3A00; }
.side .pied .pl-portail { display: block; margin-top: 6px; color: inherit; text-decoration: underline; }
