html{--mat-sys-background: #faf9fd;--mat-sys-error: #ba1a1a;--mat-sys-error-container: #ffdad6;--mat-sys-inverse-on-surface: #f2f0f4;--mat-sys-inverse-primary: #abc7ff;--mat-sys-inverse-surface: #2f3033;--mat-sys-on-background: #1a1b1f;--mat-sys-on-error: #ffffff;--mat-sys-on-error-container: #93000a;--mat-sys-on-primary: #ffffff;--mat-sys-on-primary-container: #00458f;--mat-sys-on-primary-fixed: #001b3f;--mat-sys-on-primary-fixed-variant: #00458f;--mat-sys-on-secondary: #ffffff;--mat-sys-on-secondary-container: #3e4759;--mat-sys-on-secondary-fixed: #131c2b;--mat-sys-on-secondary-fixed-variant: #3e4759;--mat-sys-on-surface: #1a1b1f;--mat-sys-on-surface-variant: #44474e;--mat-sys-on-tertiary: #ffffff;--mat-sys-on-tertiary-container: #0000ef;--mat-sys-on-tertiary-fixed: #00006e;--mat-sys-on-tertiary-fixed-variant: #0000ef;--mat-sys-outline: #74777f;--mat-sys-outline-variant: #c4c6d0;--mat-sys-primary: #005cbb;--mat-sys-primary-container: #d7e3ff;--mat-sys-primary-fixed: #d7e3ff;--mat-sys-primary-fixed-dim: #abc7ff;--mat-sys-scrim: #000000;--mat-sys-secondary: #565e71;--mat-sys-secondary-container: #dae2f9;--mat-sys-secondary-fixed: #dae2f9;--mat-sys-secondary-fixed-dim: #bec6dc;--mat-sys-shadow: #000000;--mat-sys-surface: #faf9fd;--mat-sys-surface-bright: #faf9fd;--mat-sys-surface-container: #efedf0;--mat-sys-surface-container-high: #e9e7eb;--mat-sys-surface-container-highest: #e3e2e6;--mat-sys-surface-container-low: #f4f3f6;--mat-sys-surface-container-lowest: #ffffff;--mat-sys-surface-dim: #dbd9dd;--mat-sys-surface-tint: #005cbb;--mat-sys-surface-variant: #e0e2ec;--mat-sys-tertiary: #343dff;--mat-sys-tertiary-container: #e0e0ff;--mat-sys-tertiary-fixed: #e0e0ff;--mat-sys-tertiary-fixed-dim: #bec2ff;--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}.material-icons-outlined{font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased}.modale-fond{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1000}.modale-boite{background:#fff;border-radius:10px;padding:1.5rem;max-width:440px;width:calc(100% - 2rem);box-shadow:0 10px 30px #00000040}.modale-boite h4{display:flex;align-items:center;gap:.5rem;margin:0 0 .75rem;font-size:1.05rem}.modale-icone-avertissement{color:#d97706}.modale-boite p{margin:0 0 1.25rem;color:#374151;line-height:1.4}.modale-actions{display:flex;justify-content:flex-end;gap:.75rem}.modale-boite-large{max-width:560px}.bilan-resync{text-align:center;animation:bilan-entree .25s ease-out}.bilan-resync h4{justify-content:center;font-size:1.25rem}.bilan-resync .bilan-sous-titre{margin-bottom:1rem}.bilan-emoji{font-size:3rem;line-height:1;margin-bottom:.5rem}.bilan-tuiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem;margin-bottom:1.25rem}.bilan-tuile{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.75rem .5rem;border-radius:12px;background:#ecfdf5;color:#047857}.bilan-tuile-vide{background:#f3f4f6;color:#9ca3af}.bilan-nombre{font-size:1.6rem;font-weight:700;line-height:1.1}.bilan-etiquette{font-size:.75rem}.bilan-actions{justify-content:center}@keyframes bilan-entree{0%{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}.modale-icone-certificat{color:#2563eb}.btn-avertissement{background:#d97706;color:#fff;border:1px solid #d97706;border-radius:8px;padding:.55rem 1.1rem;cursor:pointer;font-weight:600}.btn-avertissement:hover{background:#b45309;border-color:#b45309}.avertissement-signature-invalide{display:flex;align-items:center;gap:.4rem;margin:.5rem 0 0;padding:.5rem .75rem;background:#fef3c7;color:#92400e;border-radius:6px;font-size:.9rem}html{scrollbar-gutter:stable;overflow-y:scroll}body{font-family:system-ui,sans-serif;margin:0;color:#1a1a1a}table{width:100%;border-collapse:collapse;margin-bottom:1.5rem}.tableau-scroll{max-height:420px;overflow-y:auto;margin-bottom:1.5rem;border:1px solid #e0e0e0;border-radius:4px}.tableau-scroll table{margin-bottom:0}.tableau-scroll thead th{position:sticky;top:0;background-color:#fff;z-index:1}th,td{text-align:left;padding:.5rem;border-bottom:1px solid #e0e0e0}th.th-triable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}th.th-triable:hover{background-color:#f1f5f9}.th-triable-contenu{display:inline-flex;align-items:center;gap:.3rem}.icone-tri{font-size:1.05rem;height:1.05rem;width:1.05rem;color:#94a3b8}th.th-triable.th-tri-actif .icone-tri{color:#2563eb}.statut-cell mat-icon,.icone-cell mat-icon{cursor:default;vertical-align:middle}.statut-cell .icone-alerte-facture{margin-left:.35rem}.th-documents{width:2rem}form{display:flex;flex-direction:column;gap:.75rem;max-width:480px}form label{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem}form input,form select{padding:.4rem .6rem;font-size:1rem;border:1px solid #cbd5e1;border-radius:6px;font-family:inherit}form input:focus,form select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.actions input[type=text]{padding:.4rem .6rem;font-size:.92rem;border:1px solid #cbd5e1;border-radius:6px;font-family:inherit}.actions input[type=text]:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}fieldset{display:flex;flex-direction:column;gap:.75rem;border:1px solid #ddd;border-radius:4px;padding:.75rem}.filtre{display:flex;align-items:flex-end;flex-wrap:wrap;gap:1.25rem;margin-bottom:1.25rem;padding:.9rem 1.15rem;background:linear-gradient(180deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:14px}.filtre-groupe{display:flex;flex-direction:column;gap:.3rem}.filtre-groupe label{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:700}.filtre-champ{display:flex;align-items:center;gap:.4rem;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:.4rem .85rem;box-shadow:0 1px 2px #0f172a0a;transition:border-color .15s,box-shadow .15s}.filtre-champ:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.filtre-champ-actif{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px #2563eb1f}.filtre-label-actif{color:#2563eb}.filtre-reinitialiser{display:inline-flex;align-items:center;gap:.35rem;align-self:center;border:1px solid #93c5fd;background:#eff6ff;color:#1d4ed8;font-size:.85rem;font-weight:600;padding:.4rem .75rem;border-radius:999px;cursor:pointer}.filtre-reinitialiser:hover{background:#dbeafe}.filtre-reinitialiser mat-icon{font-size:1.05rem;height:1.05rem;width:1.05rem}.filtre-champ mat-icon{color:#94a3b8;font-size:1.15rem;height:1.15rem;width:1.15rem;flex:none}.filtre-champ select,.filtre-champ input{border:none;outline:none;background:transparent;font-size:.95rem;color:#1a1a1a}.filtre-champ select{min-width:190px}.filtre-recherche input{min-width:280px}.filtre-champ input[type=search]::-webkit-search-cancel-button{display:none}.filtre-effacer{display:inline-flex;align-items:center;justify-content:center;border:none;background:none;padding:0;margin:0;color:#94a3b8}.filtre-effacer:hover{color:#475569}.filtre-effacer mat-icon{font-size:1.05rem;height:1.05rem;width:1.05rem}.filtre-compte{margin-left:auto;align-self:center;font-size:.85rem;font-weight:600;color:#475569;background:#e2e8f0;padding:.3rem .75rem;border-radius:999px;white-space:nowrap}.filtre-compte-actif{color:#1d4ed8;background:#dbeafe}.actions-liste{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.demarrage-bon{margin-bottom:1.25rem;padding:1rem 1.25rem;background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid #e2e8f0;border-radius:14px}.demarrage-bon-ouvert{padding:1.25rem 1.5rem}.demarrage-bon-choix{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}.demarrage-bon-separateur{color:#94a3b8;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.zone-depot{flex:1 1 320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-height:70px;padding:.6rem 1rem;background:#fff;color:#64748b;text-align:center;border:2px dashed #cbd5e1;border-radius:12px;transition:border-color .15s,background-color .15s,color .15s}.zone-depot mat-icon{color:#94a3b8}.zone-depot-note{font-size:.78rem;color:#94a3b8}.zone-depot-survolee{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.zone-depot-survolee mat-icon{color:#2563eb}.fiche-nouveau-bon .fiche-entete{margin-bottom:.75rem}.fiche-nouveau-bon{border-radius:10px}.zone-depot-mini{min-height:44px;margin-bottom:1rem;padding:.4rem .75rem;flex-direction:row;gap:.5rem;font-size:.85rem}.zone-depot-mini mat-icon{font-size:1.2rem;height:1.2rem;width:1.2rem}.zone-depot-mini .zone-depot-note{font-size:.78rem}.fichier-joint{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.35rem .5rem .35rem .85rem;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:999px;font-size:.85rem;transition:box-shadow .15s}.fichier-joint.zone-depot-survolee{box-shadow:0 0 0 2px #2563eb}.zone-depot-projet{flex:none;box-sizing:border-box;width:100%;margin-bottom:1rem}.zone-depot-desactivee{opacity:.6;pointer-events:none}.fichier-joint button{display:inline-flex;align-items:center;padding:.15rem;border:none;background:none;box-shadow:none;color:inherit}.fichier-joint mat-icon{font-size:1.05rem;height:1.05rem;width:1.05rem}.formulaire-bon{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.25rem 1.5rem;max-width:none;width:100%}.formulaire-bon .groupe-champ{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem}.formulaire-bon .champ-pleine-largeur{grid-column:1 / -1}.formulaire-bon .ligne-nom-description{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,2fr);gap:0 1.5rem}.formulaire-bon fieldset{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.25rem 1.5rem}.formulaire-bon .actions{grid-column:1 / -1;margin-bottom:0}tr.selectionnee{background-color:#dbeafe;box-shadow:inset 4px 0 #2563eb}tr.selectionnee td{color:#1e3a8a}tbody tr.ligne-cliquable{cursor:pointer}tbody tr.ligne-cliquable:hover{background-color:#f8fafc}tbody tr.ligne-cliquable.selectionnee:hover{background-color:#cfe4fd}.fiche{border:1px solid #ddd;border-radius:4px;padding:1rem;margin-top:1rem}.info-fiche{color:#555;margin-top:-.5rem}.fiche-entete{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.75rem}.fiche-entete h3{margin:0}.statut-badge{display:inline-flex;align-items:center;gap:.35rem;border:1px solid;border-radius:999px;padding:.2rem .75rem;font-size:.85rem;font-weight:600;flex:none}.statut-badge mat-icon{font-size:1.1rem;height:1.1rem;width:1.1rem}.fiche-entete-statut{display:contents}.fiche-bon>.fiche-entete>h3{flex-basis:100%}.fiche-bon>.fiche-entete>.fiche-entete-statut{display:flex;flex-wrap:wrap;gap:.5rem;width:100%}.fiche-bon .statut-badge{flex-shrink:1}.raison-refus-actuelle{display:inline-flex;align-items:center;gap:.35rem;margin:0;font-size:.85rem;color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:999px;padding:.2rem .75rem;text-align:left}.raison-refus-actuelle mat-icon{flex:none;font-size:1.05rem;height:1.05rem;width:1.05rem;color:#dc2626;margin-top:.1rem}.historique-motif-refus{font-size:.85rem;color:#991b1b}.historique-note{font-size:.85rem;color:#475569;white-space:pre-wrap}.historique-signature{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.25rem;font-size:.8rem}.signature-empreinte{display:inline-flex;align-items:center;gap:.25rem;font-family:Consolas,Courier New,monospace;color:#6b7280;cursor:help}.signature-empreinte mat-icon{font-size:16px;width:16px;height:16px}button.lien-verifier-signature{padding:.25rem .7rem;color:#2563eb;border-color:#93b4f5;font-size:.8rem}.signature-en-cours{color:#6b7280}.signature-erreur{color:#991b1b}.signature-valide,.signature-invalide,.signature-partielle,.signature-vide{display:inline-flex;align-items:center;gap:.3rem;font-weight:600}.signature-valide{color:#16a34a}.signature-invalide{color:#dc2626}.signature-partielle{color:#d97706}.signature-vide{color:#94a3b8;font-weight:500}.signature-valide mat-icon,.signature-invalide mat-icon,.signature-partielle mat-icon,.signature-vide mat-icon{font-size:16px;width:16px;height:16px}.cellule-signature{text-align:center}.signature-compte{font-size:.8rem;font-variant-numeric:tabular-nums}.note-approbation{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem;margin-bottom:.75rem}.note-approbation textarea{resize:vertical}.fiche-lecture{display:flex;flex-direction:column;gap:1.25rem;max-width:640px}.fiche-lecture--avec-historique{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);align-items:start;gap:1.25rem 2rem;max-width:none}.fiche-lecture-principal{display:flex;flex-direction:column;gap:1.25rem;min-width:0}.groupe-fiche-historique{padding-top:1rem;border-top:1px solid #e5e7eb}.fiche-lecture--avec-historique .groupe-fiche-historique{grid-column:2;grid-row:1 / -1;padding-top:0;border-top:none;padding-left:1.5rem;border-left:1px solid #e5e7eb}@media(max-width:900px){.fiche-lecture--avec-historique{grid-template-columns:minmax(0,1fr)}.fiche-lecture--avec-historique .groupe-fiche-historique{grid-column:1;grid-row:auto;padding-left:0;padding-top:1rem;border-left:none;border-top:1px solid #e5e7eb}}.groupe-fiche h4{margin:0 0 .5rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}.fiche-bon{max-width:none;gap:1rem}.fiche-entete-actions{display:flex;align-items:center;gap:.75rem;margin-left:auto}.fiche-entete-actions button{display:inline-flex;align-items:center;gap:.35rem}.fiche-bon .carte-fiche{border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 1px 2px #0000000a;padding:.75rem 1rem 1rem;min-width:0}.carte-fiche-entete{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;min-height:2.25rem;margin:0 0 .75rem;padding-bottom:.5rem;border-bottom:1px solid #f1f5f9}.carte-fiche-entete h4{margin:0}.carte-fiche-entete button{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;padding:.3rem .6rem}.fiche-bon .carte-fiche dl{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.fiche-bon .carte-fiche dl+dl{margin-top:.75rem;padding-top:.75rem;border-top:1px dashed #e5e7eb}.fiche-bon .details-bon{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.fiche-bon .montants-bon{display:flex;flex-wrap:wrap;gap:.6rem 2.5rem}.fiche-bon .montants-bon .champ-fournisseur{flex:1 1 220px}.fiche-bon .montants-bon .champ-total{margin-left:auto;text-align:right}.fiche-bon .montants-bon .champ-total dd{font-size:1.25rem}.fiche-bon .circuit-signatures{flex-direction:row;flex-wrap:wrap}.fiche-bon .circuit-signatures li{flex:1 1 220px}.fiche-bon .ajout-document{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem;margin-top:1rem;padding:.7rem .9rem;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.fiche-bon .ajout-document.zone-depot-survolee{border-color:#2563eb;background:#eff6ff}.fiche-bon .ajout-document-titre{font-weight:600;font-size:.9rem}.fiche-bon .ajout-document label{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem}.fiche-bon .ajout-document-aide,.documents-vide{color:#94a3b8}.fiche-bon .ajout-document-note{flex-basis:100%}.documents-vide{display:flex;align-items:center;gap:.4rem;margin:.25rem 0 0}.compte-section{display:inline-block;min-width:1.3rem;padding:0 .4rem;margin-left:.3rem;border-radius:999px;background:#e2e8f0;color:#475569;font-size:.75rem;text-align:center}.table-documents{width:100%;border-collapse:collapse}.table-documents th{text-align:left;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;padding:.3rem .5rem;border-bottom:1px solid #e5e7eb}.table-documents td{padding:.2rem .5rem;border-bottom:1px solid #f1f5f9;vertical-align:middle}.table-documents .cellule-type-document>*,.table-documents .cellule-document-nom>*{vertical-align:middle}.table-documents .cellule-type-document{width:1%;white-space:nowrap}.table-documents .cellule-document-nom{width:40%;max-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-documents .cellule-document-nom mat-icon{margin-right:.4rem}.table-documents .cellule-type-document>*+*{margin-left:.5rem}.table-documents .col-actions-documents{text-align:right;white-space:nowrap;line-height:0}.btn-icone-doc{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:none;background:none;color:#4b5563;border-radius:6px;cursor:pointer;vertical-align:middle}.btn-icone-doc mat-icon{font-size:1.2rem;width:1.2rem;height:1.2rem}.btn-icone-doc:hover:not(:disabled){background:#f3f4f6}.btn-icone-doc:disabled{opacity:.4;cursor:default}.btn-icone-doc-ok{color:#166534}.btn-icone-doc-danger{color:#b3261e}.btn-icone-doc.btn-icone-doc-action{margin:0 .15rem;border:1px solid currentColor;font-weight:600}.btn-icone-doc.btn-icone-doc-action.btn-icone-doc-ok{background:#dcfce7;color:#166534}.btn-icone-doc.btn-icone-doc-action.btn-icone-doc-ok:hover:not(:disabled){background:#bbf7d0}.btn-icone-doc.btn-icone-doc-action.btn-icone-doc-danger{background:#fee2e2;color:#b3261e}.btn-icone-doc.btn-icone-doc-action.btn-icone-doc-danger:hover:not(:disabled){background:#fecaca}.table-documents .cellule-date-document{white-space:nowrap}.icone-info-doc{font-size:1.2rem;width:1.2rem;height:1.2rem;vertical-align:middle;color:#92400e}.table-documents .col-actions-documents select{font-size:.85rem;padding:.15rem .3rem;vertical-align:middle}.table-documents .col-actions-documents .btn-danger-filled{font-size:.85rem;padding:.25rem .55rem}.lien-facture{display:inline-flex;align-items:center;gap:.2rem;margin-left:.5rem;padding:.05rem .5rem .05rem .3rem;border-radius:999px;background:#dbeafe;color:#1e40af;font-size:.75rem;font-weight:600}.lien-facture mat-icon{font-size:.95rem;width:.95rem;height:.95rem}.doc-statut{display:inline-flex;align-items:center;gap:.25rem;margin:0;padding:.05rem .55rem .05rem .3rem;border-radius:999px;font-size:.78rem;font-weight:600}.doc-statut mat-icon{font-size:1rem;width:1rem;height:1rem}.doc-statut-attente,.doc-statut-a-saisir{background:#fef3c7;color:#92400e}.doc-statut-ok{background:#dcfce7;color:#166534}.doc-statut-refuse{background:#fee2e2;color:#991b1b}.doc-statut-detail{display:block;margin:.15rem 0 0 .5rem;color:#64748b;white-space:normal}.table-documents .col-actions-documents .motif-refus{width:14rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.separateur-fiche{border:none;border-top:1px solid #e5e7eb;margin:1.25rem 0}.circuit-signatures{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.circuit-signatures li{display:flex;align-items:flex-start;gap:.6rem;padding:.4rem .6rem;border-radius:6px;background:#f8fafc}.circuit-etape-icone{flex-shrink:0;color:#94a3b8}.circuit-etape-obtenue .circuit-etape-icone{color:#16a34a}.circuit-etape-invalidee .circuit-etape-icone{color:#d97706}.circuit-etape-refusee .circuit-etape-icone{color:#dc2626}.circuit-etape-contenu{display:flex;flex-direction:column;gap:.05rem;min-width:0}.approbation-document+.approbation-document{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e5e7eb}.approbation-document-entete{display:flex;flex-direction:column;gap:.15rem;margin-bottom:.5rem;overflow-wrap:anywhere;font-size:.85rem}.circuit-etape-role{font-weight:600;font-size:.9rem}.circuit-etape-approbateur{font-size:.8rem;color:#6b7280;overflow-wrap:anywhere}.circuit-etape-note{font-size:.8rem;color:#6b7280;font-style:italic;overflow-wrap:anywhere}.entete-groupe-fiche{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}.entete-groupe-fiche h4{margin-bottom:0}button.bouton-verifier-signatures{display:inline-flex;align-items:center;gap:.35rem;font-size:.8rem;padding:.3rem .6rem}.modale-certificats{max-width:720px;max-height:calc(100dvh - 2rem);box-sizing:border-box;display:flex;flex-direction:column}.liste-certificats{list-style:none;margin:0 0 1.25rem;padding:0;display:flex;flex-direction:column;gap:.4rem;min-height:0;overflow-y:auto}.certificat{display:flex;align-items:flex-start;gap:.6rem;padding:.5rem .65rem;border-radius:8px;background:#f8fafc;border:1px solid #e5e7eb}.certificat-invalide{background:#fffbeb;border-color:#fde68a}.certificat-icone{flex-shrink:0;color:#16a34a}.certificat-icone-invalide{color:#d97706}.certificat-contenu{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.15rem .75rem;min-width:0;width:100%}.certificat-type,.certificat-meta{grid-column:1 / -1;font-size:.75rem;color:#6b7280}.certificat-meta{display:flex;flex-wrap:wrap;gap:.15rem 1rem}.certificat-approbateur{grid-column:1 / -1}.certificat-etat{grid-column:2;grid-row:2;align-self:center;font-size:.75rem}.certificat-titre{font-weight:600;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.certificat-contenu{grid-template-columns:minmax(0,1fr)}.certificat-etat{grid-column:1;grid-row:auto}}.certificat-approbateur,.certificat-date,.certificat-empreinte{font-size:.8rem;color:#6b7280;overflow-wrap:anywhere}.groupe-fiche dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem 1.5rem;margin:0}.champ-fiche{display:flex;flex-direction:column;gap:.1rem}.champ-fiche dt{font-size:.8rem;color:#6b7280}.champ-fiche dd{margin:0;font-size:1rem}.lien-drilldown{color:#2563eb;text-decoration:none}.lien-drilldown:hover,.lien-drilldown:focus-visible{text-decoration:underline}.icone-inline{font-size:1.1rem;height:1.1rem;width:1.1rem;vertical-align:text-bottom;margin-right:.25rem}.historique{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;max-width:56rem}.historique li{position:relative;display:flex;gap:.75rem;align-items:flex-start;padding-bottom:.9rem}.historique li:not(:last-child):before{content:"";position:absolute;left:.575rem;top:1.4rem;bottom:.15rem;width:2px;background:#e5e7eb}.historique li:last-child{padding-bottom:0}.historique-icone{flex:none;font-size:1.15rem;width:1.15rem;height:1.15rem}.historique-contenu{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .75rem}.historique-contenu>:not(.historique-titre):not(.historique-date){flex-basis:100%}.historique-titre{font-weight:600;font-size:.9rem;color:#374151}.historique-date,.historique-detail{font-size:.78rem;color:#6b7280}.sous-titre{color:#555;margin-top:-.5rem;margin-bottom:1.25rem}.actions{display:flex;gap:.75rem}.erreur,.erreur-champ{color:#b3261e}button{cursor:pointer;font-family:inherit;font-size:.92rem;font-weight:600;line-height:1.2;padding:.55rem 1.1rem;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#1e293b;transition:background-color .15s,border-color .15s,box-shadow .15s,transform .05s}button:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}button:has(>mat-icon){display:inline-flex;align-items:center;justify-content:center;gap:.35rem}button>mat-icon{flex:none}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed;transform:none}button.btn-primary{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 1px 3px #2563eb4d}button.btn-primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}button.btn-success{background:#16a34a;border-color:#16a34a;color:#fff;box-shadow:0 1px 3px #16a34a4d}button.btn-success:hover:not(:disabled){background:#15803d;border-color:#15803d}button.btn-danger{background:#fff;border-color:#fca5a5;color:#dc2626}button.btn-danger:hover:not(:disabled){background:#fef2f2;border-color:#dc2626}button.btn-danger-filled{background:#dc2626;border-color:#dc2626;color:#fff;box-shadow:0 1px 3px #dc26264d}button.btn-danger-filled:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}button.btn-ghost,label.btn-ghost{display:inline-flex;align-items:center;gap:.35rem;cursor:pointer;font-size:.92rem;font-weight:600;line-height:1.2;padding:.55rem 1.1rem;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#1e293b}button.btn-ghost:hover:not(:disabled),label.btn-ghost:hover{background:#f1f5f9;border-color:#94a3b8}button.bouton-fichier{display:inline-flex;align-items:center;gap:.4rem}button.bouton-fichier.bouton-fichier-desactive,label.btn-ghost.bouton-fichier-desactive{opacity:.5;cursor:not-allowed;pointer-events:none}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}.snackbar-erreur{--mat-snackbar-container-color: #fbbf24;--mat-snackbar-supporting-text-color: #3b2a00;--mat-snack-bar-button-color: #3b2a00}.snackbar-succes{--mat-snackbar-container-color: #16a34a;--mat-snackbar-supporting-text-color: #fff;--mat-snack-bar-button-color: #fff}.snackbar-confirmation{display:flex;align-items:center;gap:.75rem;width:100%}.snackbar-confirmation__icone{flex:none;color:#fff}.snackbar-confirmation__message{flex:1 1 auto;color:#fff}.snackbar-confirmation__fermer{flex:none;background:none;border:none;color:#fff;font:inherit;font-weight:500;letter-spacing:.0178571429em;text-transform:uppercase;cursor:pointer;padding:.25rem .5rem}.snackbar-confirmation__fermer:hover{text-decoration:underline}.table-items{width:100%;border-collapse:collapse;font-size:.9rem}.table-items th,.table-items td{padding:.35rem .5rem;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle}.table-items thead th{font-weight:600;color:#4b5563;white-space:nowrap}.table-items input,.table-items select{width:100%;box-sizing:border-box}.table-items .col-item-quantite,.table-items .col-item-prix,.table-items .col-item-montant{width:8rem}.table-items .col-item-actions{width:2.5rem}.table-items .cellule-montant{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.table-items .table-items-vide{color:#6b7280;font-style:italic}.table-items tfoot td{border-bottom:none;font-weight:600}.table-items .table-items-total-libelle{text-align:right}.btn-ajouter-item{margin-top:.5rem}.btn-icone{display:inline-flex;align-items:center;justify-content:center;padding:.15rem;border:none;background:none;color:#6b7280;cursor:pointer;border-radius:4px}.btn-icone:hover{background-color:#f3f4f6;color:#b91c1c}.titre-section-formulaire{margin:.5rem 0 .25rem;font-size:.95rem;color:#374151}.bloc-taxes{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem 1.5rem}.bloc-taxes label{display:flex;flex-direction:column;gap:.25rem;max-width:9rem}.bloc-taxes .actions-taxes{display:flex;gap:.75rem}.bloc-taxes .actions-taxes button.btn-ghost{background:#f8fafc;border-color:#cbd5e1}.bloc-taxes .actions-taxes button.btn-ghost:hover:not(:disabled){background:#e2e8f0;border-color:#94a3b8}.bloc-taxes .total-calcule{margin:0 0 0 auto;font-variant-numeric:tabular-nums}.case-a-cocher{display:flex;flex-direction:row;align-items:center;gap:.4rem;font-weight:400}.case-a-cocher input{width:auto}.note-champ{color:#6b7280}.icone-achat{color:#0e7490}.cellule-compte-documents{white-space:nowrap}.pastille-documents{display:inline-flex;align-items:center;gap:.25rem;padding:.1rem .5rem;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:600;font-size:.85rem}.pastille-documents mat-icon{font-size:1rem;width:1rem;height:1rem}.attente-jours{margin-left:.3rem;color:#6b7280;font-size:.8rem}.approbation-corps{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;align-items:start}.approbation-corps--apercu{grid-template-columns:minmax(0,1fr) minmax(320px,46%)}.approbation-colonne{min-width:0}.panneau-apercu{position:sticky;top:1rem;display:flex;flex-direction:column;height:min(80vh,900px);border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 1px 2px #0000000a;overflow:hidden}.panneau-apercu-entete{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-bottom:1px solid #f1f5f9;background:#f8fafc}.panneau-apercu-nom{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;font-size:.9rem}.panneau-apercu-cadre{flex:1 1 auto;width:100%;border:none}.panneau-apercu-message{margin:0;padding:1rem;color:#6b7280}@media(max-width:1100px){.approbation-corps--apercu{grid-template-columns:minmax(0,1fr)}.panneau-apercu{position:static;height:60vh}}.table-items-lecture{width:100%;font-size:.85rem}.liste-documents-approbation{display:flex;flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none}.document-approbation{border:1px solid #e5e7eb;border-radius:8px;padding:.6rem .8rem;background:#fff}.document-approbation--a-signer{border-color:#2563eb;background:#f8fbff}.document-approbation--apercu{box-shadow:0 0 0 2px #2563eb40}.document-approbation--remplace{opacity:.7}.document-entete{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem}.document-icone{color:#64748b}.document-identite{display:flex;flex-direction:column;min-width:0;flex:1 1 240px}.document-identite .document-nom{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.document-meta{color:#6b7280;font-size:.8rem}.document-badges{display:flex;gap:.35rem}.badge-document{display:inline-flex;align-items:center;gap:.2rem;padding:.1rem .5rem;border-radius:999px;font-size:.75rem;font-weight:600}.badge-document mat-icon{font-size:.95rem;width:.95rem;height:.95rem}.badge-a-signer{background:#dbeafe;color:#1d4ed8}.badge-reference{background:#f1f5f9;color:#475569}.badge-remplace{background:#fef3c7;color:#92400e}.document-actions{display:flex;gap:.35rem;margin-left:auto}.document-approbation .circuit-signatures{margin-top:.6rem}.circuit-etape-date,.circuit-etape-motif{color:#6b7280;font-size:.8rem}.bloc-decision{margin-top:.75rem;padding-top:.75rem;border-top:1px dashed #cbd5e1}.bloc-decision .actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
