/* AXIOM CDA 9.6.75 — tableaux lisibles des écritures comptables */
.accounting-entries-panel{display:grid;gap:18px}
.accounting-entries-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.accounting-entries-heading h2{margin:0}
.accounting-entries-heading p{margin:5px 0 0;color:#6c7a91}
.accounting-journal{overflow:hidden;border:1px solid #dfe6f0;border-radius:14px;background:#fff}
.accounting-journal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:#f7f9fd;border-bottom:1px solid #dfe6f0}
.accounting-journal-head>div{display:flex;align-items:center;gap:10px}
.accounting-journal-head h3{margin:0;font-size:1rem}
.accounting-journal-code,.journal-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#e9efff;color:#2f4ed0;font-weight:900}
.accounting-journal-code{min-width:42px;min-height:34px;padding:6px 9px}
.journal-pill{min-width:34px;padding:4px 7px;font-size:.75rem}
.accounting-balance{padding:5px 9px;border-radius:999px;font-size:.74rem;font-weight:850}
.accounting-balance.is-balanced{background:#e7f7ed;color:#17683d}
.accounting-balance.is-unbalanced{background:#fff0f2;color:#a52439}
.accounting-entries-table-wrap{overflow-x:auto}
.accounting-entries-table{width:100%;border-collapse:collapse;min-width:850px}
.accounting-entries-table th,.accounting-entries-table td{padding:12px 14px;border-bottom:1px solid #e8edf4;text-align:left;vertical-align:top}
.accounting-entries-table thead th{background:#fff;color:#53627a;font-size:.75rem;text-transform:uppercase;letter-spacing:.03em}
.accounting-entries-table tbody tr:hover{background:#fafbfe}
.accounting-entries-table .money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.accounting-entries-table tfoot th{background:#f7f9fd;border-bottom:0;color:#13264a}
.accounting-entries-empty{margin:0;padding:24px;border:1px dashed #cbd5e3;border-radius:12px;text-align:center;color:#6c7a91}
@media(max-width:700px){
  .accounting-entries-heading{align-items:stretch;flex-direction:column}
  .accounting-entries-heading .btn{width:100%;text-align:center}
  .accounting-journal-head{align-items:flex-start}
  .accounting-entries-table{min-width:0}
  .accounting-entries-table thead{display:none}
  .accounting-entries-table tbody,.accounting-entries-table tr,.accounting-entries-table td{display:block}
  .accounting-entries-table tbody tr{padding:10px 13px;border-bottom:1px solid #dfe6f0}
  .accounting-entries-table tbody td{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;padding:5px 0;border:0;text-align:left!important;white-space:normal!important}
  .accounting-entries-table tbody td::before{content:attr(data-label);color:#6c7a91;font-size:.72rem;font-weight:800;text-transform:uppercase}
  .accounting-entries-table tfoot,.accounting-entries-table tfoot tr{display:table;width:100%}
  .accounting-entries-table tfoot th{padding:10px 8px;font-size:.78rem}
  .accounting-entries-table tfoot th:first-child{display:none}
}
