/* Outil « plan de trésorerie sur 12 mois » : tableau modifiable, première colonne collante, défilement horizontal du tableau seul */
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] .tr-depart{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 16px;margin-bottom:14px}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] .tr-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;border-radius:12px;max-width:100%}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:14px;margin:0}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr th,.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr td{padding:6px 4px;border:0;border-bottom:1px solid #eee;background:#fff;vertical-align:middle;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr thead th{background:#1D1D1B;color:#fff;font-size:12px;font-weight:700;padding:8px 6px}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr th:first-child,.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr td:first-child{position:sticky;left:0;z-index:2;text-align:left;width:150px;min-width:150px;max-width:150px;white-space:normal;padding:6px 8px;box-shadow:1px 0 0 #e4e4de;font-weight:600;font-size:13px;line-height:1.3}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr thead th:first-child{background:#1D1D1B;z-index:3}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr input{width:84px;padding:7px 6px;text-align:right;font:600 16px Inter,sans-serif;border-radius:8px;box-sizing:border-box}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr td.tr-calc{color:#555;padding-right:10px;min-width:92px}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr td.tr-tot{font-weight:700;padding:6px 10px;background:#f4f4f4}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr tr.tr-solde td{font-weight:800;border-bottom:0}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr td.neg{color:#8a1f1f;background:#ffe0e0}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr td.bas{background:#FCEA69;color:#1D1D1B;box-shadow:inset 0 0 0 2px #1D1D1B}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr td.neg.bas{background:#ffb3b3;color:#8a1f1f}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] button.tr-copie{display:block;margin-top:4px;padding:0;border:0;background:none;font:600 12px Inter,sans-serif;color:#555;text-decoration:underline;cursor:pointer;text-align:left}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] button.tr-copie:hover{color:#1D1D1B}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] .tr-graph{margin:16px 0 4px;background:#fff;border-radius:12px;padding:10px}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] .tr-graph svg{display:block;width:100%;height:auto;max-width:100%;margin:0}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] .tr-actions{margin:14px 0 0}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] .tr-actions button.pepit-btn{display:inline-block;padding:10px 18px;border:0;border-radius:999px;font:600 14px Inter,sans-serif;background:#1D1D1B;color:#fff;cursor:pointer}
@media (max-width:640px){
  .hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr th:first-child,.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr td:first-child{width:100px;min-width:100px;max-width:100px;font-size:12px;padding:6px}
  .hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] table.tr input{width:74px}
}
.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] input,.hero-modele-post .wysiwyg .pepit-outil[data-outil="tresorerie"] select{box-sizing:border-box;max-width:100%}
