/* SYSTJEM 11.9.0 — Dagontvangsten, exportcontrole en mobiele financiële weergave */
.accounting-period-shortcuts{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
}
.accounting-period-shortcuts a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:7px 12px;
  border:1px solid var(--line,#ddd6c8);
  border-radius:999px;
  background:#fff;
  color:var(--ink,#1d231f);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}
.accounting-period-shortcuts a:hover{border-color:var(--green,#315b43);color:var(--green,#315b43)}
.accounting-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:16px 0;
}
.accounting-summary>div{
  min-height:88px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:14px;
  border:1px solid var(--line,#ddd6c8);
  border-radius:14px;
  background:#fff;
}
.accounting-summary strong{font-size:25px;line-height:1.1;color:var(--dark,#163a2a)}
.accounting-summary span{margin-top:5px;color:var(--muted,#687067);font-size:12px;font-weight:750}
.accounting-warning{
  margin:14px 0;
  padding:13px 14px;
  border:1px solid #e2b759;
  border-radius:12px;
  background:#fff8df;
  color:#5f4308;
}
.accounting-preview-wrap,.table-scroll{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.accounting-preview{min-width:760px;background:#fff;border:1px solid var(--line,#ddd6c8);border-radius:14px;overflow:hidden}
.accounting-preview th{white-space:nowrap;background:#f1f4ee}
.accounting-preview td{vertical-align:middle}
.accounting-help{margin:12px 0 0!important}
.accounting-history-card{
  margin:20px 0 24px;
  padding:18px;
  border:1px solid var(--line,#ddd6c8);
  border-radius:18px;
  background:#fff;
}
.accounting-history-card .module-heading{margin-bottom:12px}
.accounting-history-card h3{margin:3px 0 5px}
.accounting-history-card p{margin:0;color:var(--muted,#687067)}
.accounting-history-list{display:grid;gap:10px}
.accounting-history-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 14px;
  border:1px solid var(--line,#ddd6c8);
  border-radius:14px;
  background:#fafbf8;
}
.accounting-history-item>div:first-child{display:grid;gap:3px}
.accounting-history-item span,.accounting-history-item small{display:block}
.accounting-history-item small{color:var(--muted,#687067)}
.accounting-history-status{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.accounting-history-status form{margin:0}
.accounting-history-status .btn{min-height:40px}
.accounting-history-status .badge.confirmed{background:#dff2e3!important;color:#245b31!important}
.accounting-settings-card select,.accounting-settings-card input{max-width:100%}

@media(max-width:760px){
  .accounting-summary{grid-template-columns:1fr 1fr}
  .accounting-summary>div:last-child{grid-column:1/-1}
  .accounting-history-item{display:block}
  .accounting-history-status{justify-content:flex-start;margin-top:12px}
  .accounting-history-status form,.accounting-history-status .btn{width:100%}
  .accounting-preview{min-width:0;border:0;background:transparent}
  .accounting-preview thead{display:none}
  .accounting-preview,.accounting-preview tbody,.accounting-preview tr,.accounting-preview td{display:block;width:100%}
  .accounting-preview tr{margin:0 0 12px;padding:12px;border:1px solid var(--line,#ddd6c8);border-radius:14px;background:#fff}
  .accounting-preview td{display:grid;grid-template-columns:minmax(100px,38%) 1fr;gap:10px;padding:7px 0!important;border:0!important}
  .accounting-preview td::before{content:attr(data-label);font-weight:850;color:var(--muted,#687067)}
  .accounting-preview td[colspan]{display:block;text-align:center}
  .accounting-preview td[colspan]::before{display:none}
}
@media(max-width:430px){
  .accounting-summary{grid-template-columns:1fr}
  .accounting-summary>div:last-child{grid-column:auto}
  .accounting-period-shortcuts{display:grid;grid-template-columns:1fr 1fr}
  .accounting-period-shortcuts a{justify-content:center;text-align:center}
  .dexxter-export-actions{display:grid!important;grid-template-columns:1fr!important}
  .dexxter-export-actions .btn{width:100%!important}
}
