/* Ouest Industries – planification. Couleurs reprises de l'outil d'origine. */
:root {
  --marine: #1a3a5c; --marine-2: #2d5a8a; --bleu: #3d7dca; --fond: #f0f4f8; --carte: #fff;
  --texte: #1a2b3c; --texte-2: #4a5e72; --gris: #8a99aa; --bord: #e4e9f0; --bord-2: #edf1f7;
  --vert: #16a34a; --vert-f: #dcfce7; --orange: #d97706; --orange-f: #fef3c7; --rouge: #dc2626; --rouge-f: #fee2e2;
  --info: #64748b; --info-f: #f1f5f9;
}
* { box-sizing: border-box; }
html { font-size: 14px; }
body { margin: 0; font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; background: var(--fond); color: var(--texte); min-height: 100vh; }
a { color: var(--bleu); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.45rem; margin: 0; color: var(--texte); font-weight: 700; }
h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--texte); font-weight: 700; }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* ── En-tête et navigation ── */
.entete { background: var(--marine); color: #fff; display: flex; align-items: center; gap: 16px; padding: 0 24px; height: 56px; }
.logo { font-weight: 800; letter-spacing: 1.5px; font-size: 1.05rem; }
.sep { width: 1px; height: 24px; background: rgba(255,255,255,.25); }
.entete-titre { opacity: .8; }
.entete-droite { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; opacity: .95; }
.utilisateur { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: .85rem; }
.utilisateur:hover { background: rgba(255,255,255,.22); }
.nav { background: #fff; border-bottom: 1px solid var(--bord); display: flex; gap: 2px; padding: 0 16px; overflow-x: auto; position: sticky; top: 0; z-index: 20; }
.nav a { padding: 13px 14px; color: var(--texte-2); font-weight: 600; font-size: .93rem; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.nav a:hover { color: var(--marine); background: #f7f9fc; text-decoration: none; }
.nav a.actif { color: var(--marine); border-bottom-color: var(--bleu); }
.nav .icone { opacity: .6; }
.badge { background: var(--rouge); color: #fff; border-radius: 10px; font-size: .72rem; padding: 1px 7px; font-weight: 700; }
.contenu { padding: 22px 24px 40px; max-width: 1700px; margin: 0 auto; }

/* ── Structure ── */
.page-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-tete .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fil { font-size: .85rem; color: var(--gris); margin-bottom: 6px; }
.carte { background: var(--carte); border: 1px solid var(--bord-2); border-radius: 10px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.carte.sans-marge { padding: 0; overflow: hidden; }
.carte.sans-marge > h2, .carte.sans-marge > .vide { margin: 16px 20px; }
.carte-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; flex-wrap: wrap; }
.carte:not(.sans-marge) .carte-tete { padding: 0 0 10px; }
.carte-tete h2 { margin: 0; }
.titre-section { margin: 24px 0 12px; }
.defile { overflow-x: auto; }
.vide { padding: 36px 20px; text-align: center; color: var(--gris); }
.vide.petit { padding: 16px; }
.texte { color: var(--texte-2); line-height: 1.5; margin: 0 0 12px; }
.petit { font-size: .84rem; }
.gris { color: var(--gris); }
.rouge { color: var(--rouge); }
.fort { font-weight: 700; color: var(--marine); }
.ref { color: var(--bleu); font-weight: 700; }
.nowrap { white-space: nowrap; }
.zone-danger { text-align: right; margin-top: 10px; }

/* ── Indicateurs ── */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpis.interne { padding: 16px 20px 0; }
.kpi { background: #fff; border: 1px solid var(--bord-2); border-radius: 10px; padding: 14px 18px; box-shadow: 0 1px 4px rgba(0,0,0,.05); color: inherit; display: block; }
a.kpi:hover { text-decoration: none; border-color: var(--bleu); }
.kpi-val { font-size: 1.6rem; font-weight: 800; color: var(--marine); }
.kpi-lib { font-size: .78rem; color: var(--gris); text-transform: uppercase; letter-spacing: .4px; margin-top: 3px; }
.kpi.rouge { border-left: 4px solid var(--rouge); } .kpi.rouge .kpi-val { color: var(--rouge); }
.kpi.orange { border-left: 4px solid var(--orange); } .kpi.orange .kpi-val { color: var(--orange); }

/* ── Boutons, champs ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid #d3dce8; background: #fff; color: var(--marine); border-radius: 7px; font-size: .92rem; font-weight: 600; cursor: pointer; }
.btn:hover { background: #f3f6fa; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: wait; }
.btn.primaire { background: var(--marine); border-color: var(--marine); color: #fff; }
.btn.primaire:hover { background: var(--marine-2); }
.btn.danger { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.btn.danger-lien { border-color: transparent; color: var(--rouge); background: none; }
.btn.danger-lien:hover { background: var(--rouge-f); }
.btn.lien { border-color: transparent; background: none; color: var(--bleu); padding: 4px 8px; }
.btn.petit { padding: 4px 10px; font-size: .82rem; }
.btn.gauche { margin-right: auto; }
input, select, textarea { font-family: inherit; font-size: .95rem; padding: 7px 10px; border: 1.5px solid #d3dce8; border-radius: 7px; background: #fafbfc; color: var(--texte); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--bleu); background: #fff; }
input[type=search] { min-width: 260px; }
input[type=file] { border: 1.5px dashed #c5d0de; padding: 12px; width: 100%; background: #f9fbfd; cursor: pointer; }
.champ { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.champ > span { font-size: .8rem; font-weight: 600; color: var(--texte-2); }
.champ.plein { grid-column: 1 / -1; }
.champ.court { max-width: 280px; }
.champ small { font-size: .8rem; }
.case { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; cursor: pointer; line-height: 1.4; }
.case input { margin-top: 3px; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.segments { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.segments label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.sous-titre { font-weight: 700; font-size: .85rem; color: var(--texte-2); text-transform: uppercase; letter-spacing: .4px; margin: 6px 0 8px; }
.bascule { display: inline-flex; border: 1.5px solid #d3dce8; border-radius: 8px; overflow: hidden; }
.bascule button { padding: 7px 14px; border: none; background: #f5f8fc; color: var(--texte-2); font-weight: 600; cursor: pointer; }
.bascule button + button { border-left: 1px solid #d3dce8; }
.bascule button.actif { background: var(--marine); color: #fff; }

/* ── Tableaux ── */
.tableau { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tableau th { background: var(--marine); color: #fff; text-align: left; padding: 9px 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .3px; font-weight: 700; white-space: nowrap; }
.tableau td { padding: 8px 12px; border-bottom: 1px solid var(--bord-2); vertical-align: middle; }
.tableau tbody tr:nth-child(even) td { background: #fafbfd; }
.tableau.cliquable tbody tr { cursor: pointer; }
.tableau.cliquable tbody tr:hover td { background: #eef4fd; }
.tableau tfoot td { font-weight: 700; background: #edf3fb; border-top: 2px solid #dce4ee; }
.tableau tfoot tr.cumul td { background: #f5f8fc; font-weight: 600; }
.tableau.compact td, .tableau.compact th { padding: 6px 10px; }
.tableau .d { text-align: right; font-variant-numeric: tabular-nums; }
.tableau .c { text-align: center; }
.tableau .fixe { position: sticky; left: 0; z-index: 1; background: #fff; }
.tableau th.fixe { background: var(--marine); z-index: 2; }
.tableau tfoot .fixe { background: #edf3fb; }
.tableau tr.fini td { opacity: .55; }
.tableau tr.prevision td { color: var(--texte-2); }
.tableau th.mois-courant { background: var(--vert); }
.fg td.hl { background: #eef4fd !important; }
.fg th.hl { background: var(--marine-2) !important; }
.fg td.hl-x { background: #d4e5fa !important; font-weight: 700; }
.barre { height: 8px; background: var(--bord-2); border-radius: 4px; overflow: hidden; min-width: 60px; }
.barre > div { height: 100%; border-radius: 4px; }

/* ── Pastilles ── */
.pastille { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: .74rem; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.pastille.critique { background: var(--rouge-f); color: #991b1b; }
.pastille.attention { background: var(--orange-f); color: #92400e; }
.pastille.info, .pastille.neutre { background: var(--info-f); color: var(--info); }
.pastille.ok { background: var(--vert-f); color: #166534; }
.st-aff-en_cours { background: #dbeafe; color: #1e40af; }
.st-aff-planifie { background: #f3e8ff; color: #6b21a8; }
.st-aff-termine { background: var(--vert-f); color: #166534; }

/* ── Statuts d'étapes ── */
.statuts td { padding: 6px 6px; }
.etape { display: inline-flex; flex-direction: column; align-items: center; min-width: 78px; padding: 5px 6px; border-radius: 6px; border: 1.5px solid transparent; font-size: .76rem; font-weight: 700; cursor: pointer; line-height: 1.2; }
.etape small { font-weight: 500; opacity: .8; font-size: .72rem; }
.etape:hover { filter: brightness(.95); border-color: rgba(0,0,0,.15); }
.etape.vide { color: #c8d1dc; cursor: default; background: none; }
.etape.st-a_faire { background: #f1f5f9; color: #64748b; }
.etape.st-en_cours { background: #dbeafe; color: #1d4ed8; }
.etape.st-termine { background: var(--vert-f); color: #15803d; }
.etape.st-bloque { background: var(--rouge-f); color: #b91c1c; border-color: #fca5a5; }
.lien-ouvrage { background: none; border: none; padding: 0; color: var(--texte); font-weight: 600; cursor: pointer; text-align: left; font-size: .92rem; }
.lien-ouvrage:hover { color: var(--bleu); text-decoration: underline; }
.choix-statut { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 16px; }
.choix-statut label { border: 2px solid var(--bord); border-radius: 8px; padding: 10px 6px; text-align: center; font-weight: 700; cursor: pointer; font-size: .9rem; }
.choix-statut input { display: none; }
.choix-statut label:has(input:checked) { border-color: currentColor; }
.choix-statut .st-a_faire { color: #64748b; } .choix-statut .st-a_faire:has(input:checked) { background: #f1f5f9; }
.choix-statut .st-en_cours { color: #1d4ed8; } .choix-statut .st-en_cours:has(input:checked) { background: #dbeafe; }
.choix-statut .st-termine { color: #15803d; } .choix-statut .st-termine:has(input:checked) { background: var(--vert-f); }
.choix-statut .st-bloque { color: #b91c1c; } .choix-statut .st-bloque:has(input:checked) { background: var(--rouge-f); }
.rappel { background: #f5f8fc; border-radius: 8px; padding: 10px 12px; font-size: .9rem; color: var(--texte-2); line-height: 1.6; }

/* ── Alertes ── */
.liste-alertes { list-style: none; margin: 0; padding: 0; }
.liste-alertes li { padding: 8px 10px; border-left: 3px solid transparent; border-bottom: 1px solid var(--bord-2); font-size: .9rem; line-height: 1.5; }
.liste-alertes li.al-critique { border-left-color: var(--rouge); }
.liste-alertes li.al-attention { border-left-color: var(--orange); }
.liste-alertes li.al-info { border-left-color: #cbd5e1; }
.tableau.alertes tr.al-critique td:first-child { border-left: 3px solid var(--rouge); }
.tableau.alertes tr.al-attention td:first-child { border-left: 3px solid var(--orange); }
.filtres-gravite { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.filtres-gravite button { border: 1.5px solid #d3dce8; background: #fff; border-radius: 20px; padding: 6px 14px; font-weight: 600; cursor: pointer; color: var(--texte-2); }
.filtres-gravite button.actif { background: var(--marine); border-color: var(--marine); color: #fff; }

/* ── Tableau de bord ── */
.grille-tdb { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cartes-affaires { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.carte-affaire { background: #fff; border: 1px solid var(--bord-2); border-radius: 10px; padding: 16px 18px; color: inherit; box-shadow: 0 1px 4px rgba(0,0,0,.05); display: block; }
.carte-affaire:hover { text-decoration: none; border-color: var(--bleu); box-shadow: 0 4px 14px rgba(26,58,92,.1); }
.ca-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ca-nom { font-weight: 700; margin: 2px 0; }
.ca-av { display: flex; justify-content: space-between; font-size: .82rem; color: var(--texte-2); margin-bottom: 5px; }
.ca-pied { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; border-top: 1px solid var(--bord-2); padding-top: 10px; text-align: center; }
.ca-pied b { display: block; font-size: 1.05rem; color: var(--marine); }
.ca-pied .rouge b { color: var(--rouge); }
.ca-pied span { font-size: .72rem; color: var(--gris); }
.charge-mini { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: .82rem; }
.charge-mini th { font-weight: 600; color: var(--gris); font-size: .75rem; }
.charge-mini th.maintenant { color: var(--vert); }
.charge-mini td { text-align: center; padding: 6px 2px; border-radius: 4px; }
.charge-mini td:first-child { text-align: left; font-weight: 600; }
.histo { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 18px; }
.histo-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.histo-barre { width: 100%; max-width: 48px; background: #9dbbe0; border-radius: 4px 4px 0 0; min-height: 2px; }
.histo-barre.courant { background: var(--vert); }
.histo-val { font-size: .74rem; color: var(--texte-2); font-weight: 600; margin-bottom: 3px; }
.histo-lib { font-size: .74rem; color: var(--gris); margin-top: 4px; }

/* ── Charge ── */
.effectifs { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.effectif { display: inline-flex; align-items: center; gap: 8px; }
.pas { display: inline-flex; border: 1.5px solid #d3dce8; border-radius: 8px; overflow: hidden; }
.pas button { width: 30px; border: none; background: #f5f8fc; color: var(--marine); font-size: 1.1rem; cursor: pointer; }
.pas button:hover { background: #e3ecf7; }
.pas input { width: 46px; border: none; border-radius: 0; text-align: center; font-weight: 700; padding: 5px; -moz-appearance: textfield; }
.pas input::-webkit-inner-spin-button { -webkit-appearance: none; }
table.charge { border-collapse: separate; border-spacing: 3px; font-size: .88rem; }
table.charge th, table.charge td { padding: 8px 6px; text-align: center; white-space: nowrap; min-width: 56px; border-radius: 5px; }
table.charge thead th { background: var(--marine); color: #fff; font-size: .8rem; }
table.charge thead th span { display: block; font-size: .7rem; font-weight: 400; opacity: .7; }
table.charge thead th.maintenant { background: var(--vert); }
table.charge .fixe { position: sticky; left: 0; z-index: 1; text-align: left; min-width: 170px; background: #fff; font-weight: 700; }
table.charge thead .fixe { background: var(--marine); }
table.charge td.fixe span { display: block; font-size: .75rem; font-weight: 400; color: var(--gris); }
.ch-ok { background: var(--vert-f); color: #166534; }
.ch-tension { background: var(--orange-f); color: #92400e; }
.ch-surcharge { background: var(--rouge-f); color: #991b1b; font-weight: 700; }
.ch-vide { background: #f5f7fa; color: #c0c9d4; }
.legende-charge { display: flex; gap: 18px; margin: 14px 0 6px; font-size: .86rem; color: var(--texte-2); flex-wrap: wrap; }
.legende-charge i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }

/* ── Gantt / planning (SVG) ── */
.gantt { display: block; font-family: inherit; }
.gantt .g-sem { stroke: var(--bord-2); }
.gantt .g-mois-l { stroke: #d5dee9; }
.gantt .g-txt { font-size: 9.5px; fill: #9aa7b6; }
.gantt .g-mois { font-size: 11px; fill: var(--texte-2); font-weight: 700; }
.gantt .g-alt { fill: #f9fafb; }
.gantt .g-lib { font-size: 11px; fill: var(--texte); cursor: pointer; }
.gantt .g-ref { font-size: 11.5px; fill: var(--marine); font-weight: 700; cursor: pointer; }
.gantt .g-ligne { cursor: pointer; }
.gantt .g-ligne:hover { fill: rgba(61,125,202,.06); }
.gantt .g-zone { fill: #e8eef6; cursor: pointer; }
.gantt .g-prevu { fill: #94a3b8; opacity: .6; }
.gantt .g-barre { cursor: pointer; }
.gantt .g-termine { opacity: .45; }
.gantt .g-a_faire { opacity: .85; }
.gantt .g-bloque { stroke: var(--rouge); stroke-width: 2.5; }
.gantt .g-en_cours { stroke: var(--marine); stroke-width: 1.2; }
.gantt .g-auj { stroke: var(--rouge); stroke-width: 1.5; stroke-dasharray: 5 3; }
.gantt .g-auj-t { font-size: 9.5px; fill: var(--rouge); font-weight: 700; }
.gantt .g-sep { stroke: #dce4ee; stroke-width: 1.5; }
.gantt .g-reception { fill: var(--marine); }
.legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--texte-2); }
.legende i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.legende .l-prevu { height: 3px; background: #94a3b8; vertical-align: 2px; }
.legende .l-auj { width: 0; border-left: 2px dashed var(--rouge); border-radius: 0; }
.legende .l-reception { background: var(--marine); transform: rotate(45deg) scale(.8); }

/* ── Saisie d'un ouvrage ── */
.durees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; margin-bottom: 12px; }
.duree { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .9rem; }
.duree i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.duree input { width: 76px; text-align: right; }
.types-ouvrage { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.types-ouvrage .champ { flex: 1; min-width: 240px; margin: 0; }
.case-champ .case { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.apercu { background: #f5f8fc; border-radius: 8px; padding: 10px; margin-bottom: 12px; }
.apercu .tableau th { background: #e3eaf3; color: var(--texte-2); }
.apercu .tableau td { font-size: .8rem; background: #fff; }

/* ── Facturation ── */
.grille-fact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; padding: 0 20px 16px; }

/* ── Import depuis l'ERP ── */
.resume-import { background: #f5f8fc; border-radius: 8px; padding: 10px 14px; margin: 8px 0 12px; }
.utilisateur-nom { font-weight: 600; }
/* Page de connexion : rien d'autre à l'écran que le formulaire */
body.page-connexion { background: var(--marine); }
body.page-connexion .entete, body.page-connexion .nav { display: none; }
.connexion { max-width: 340px; margin: 14vh auto 0; background: #fff; border-radius: 12px; padding: 30px 28px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.connexion-logo { font-weight: 800; letter-spacing: 1.5px; color: var(--marine); text-align: center; font-size: 1.1rem; }
.connexion-titre { text-align: center; color: var(--gris); margin: 4px 0 22px; }
.connexion input { width: 100%; }
.connexion .btn { width: 100%; justify-content: center; margin-top: 6px; padding: 10px; }
.connexion-erreur { color: var(--rouge); font-size: .88rem; text-align: center; min-height: 1.3em; margin-top: 10px; }

/* ── Fenêtres, notifications, info-bulles ── */
.modale-fond { position: fixed; inset: 0; background: rgba(15,30,50,.45); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; }
.modale { background: #fff; border-radius: 12px; width: 100%; max-width: 520px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modale.large { max-width: 760px; }
.modale-tete { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--bord-2); }
.modale-titre { font-weight: 700; font-size: 1.1rem; }
.modale-sous-titre { font-size: .85rem; color: var(--gris); margin-top: 2px; }
.modale-fermer { border: none; background: none; font-size: 1.6rem; line-height: 1; color: var(--gris); cursor: pointer; }
.modale-corps { padding: 16px 20px 4px; }
.modale-pied { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--bord-2); }
.toast { position: fixed; bottom: 22px; right: 22px; background: var(--vert); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: .25s; z-index: 200; pointer-events: none; max-width: 480px; }
.toast.visible { opacity: 1; transform: none; }
.toast.erreur { background: var(--rouge); }
.toast.info { background: var(--marine-2); }
.tooltip { position: fixed; z-index: 300; background: #1a2b3c; color: #fff; padding: 8px 11px; border-radius: 7px; font-size: .82rem; line-height: 1.5; max-width: 380px; pointer-events: none; opacity: 0; transition: opacity .1s; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.tooltip.visible { opacity: 1; }
.tooltip .tt-ligne { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.2); }

/* ── Écrans étroits ── */
@media (max-width: 900px) {
  .contenu { padding: 16px; }
  .grille-tdb, .grille-fact, .grille-2 { grid-template-columns: 1fr; }
  .durees { grid-template-columns: 1fr 1fr; }
  .entete { padding: 0 16px; } .entete-titre, .sep, #date-jour { display: none; }
  input[type=search] { min-width: 0; width: 100%; }
}
@media print {
  .entete, .nav, .actions, .zone-danger, button { display: none !important; }
  body { background: #fff; } .carte { box-shadow: none; break-inside: avoid; }
}
