/* tabellen-overzicht 16 nov 2026: overzichtelijker, geen inhoudelijke wijziging */
.tbl,.cmp-wrap{overflow-x:visible;max-width:100%}
.tbl table,.ptable,.cmp{min-width:0 !important}
.tbl thead th,.ptbl thead th,.ptable thead th,.cmp thead th{
  background:#1F2735 !important;color:#fff !important;border-color:#1F2735 !important;
  font-weight:700;padding:1rem 1.25rem;text-align:left;vertical-align:bottom
}
.tbl th,.tbl td,.ptable th,.ptable td,.cmp th,.cmp td{
  padding:1rem 1.25rem;vertical-align:top
}
.tbl tbody tr:nth-child(even) th,.tbl tbody tr:nth-child(even) td,
.ptable tbody tr:nth-child(even) th,.ptable tbody tr:nth-child(even) td{
  background:color-mix(in srgb, var(--ink) 5%, #fff)
}
.tbl td.n,.ptable td.n,.cmp td.n,.tbl td.prijs{
  text-align:right;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)
}
.tbl td.n .small,.ptable td.n .small,.tbl td.prijs .eenheid{
  display:block;font-weight:400;font-size:.82rem;line-height:1.3;margin-top:.15rem;color:var(--ink-3)
}
.tbl-noot,.tbl + .small,.cmp-wrap + .small{
  margin:.15rem 2px 0;color:var(--ink-3)
}

@media (max-width:700px){
  .tbl,.cmp-wrap{box-shadow:none !important;border:0 !important;background:transparent !important;border-radius:0 !important;overflow:visible !important;margin:1rem 0 1.3rem}
  .tbl table,.ptable,.cmp{min-width:0 !important;width:100%}
  caption.cap,.cmp caption,.tbl caption{
    display:block;width:100%;max-width:100%;box-sizing:border-box;
    padding:.2rem .1rem .8rem !important;background:transparent !important;border:0 !important;
    font:700 1.05rem/1.3 var(--fh);color:var(--ink);text-align:left
  }
  .tbl thead,.ptable thead,.cmp thead,.ptbl thead{
    display:block !important;position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0
  }
  .tbl table,.tbl tbody,.tbl tbody tr,
  .ptable,.ptable tbody,.ptable tbody tr,
  .cmp,.cmp tbody,.cmp tbody tr{
    display:block !important;width:100%;max-width:100%;grid-template-columns:none !important
  }
  .tbl tbody tr,.ptable tbody tr,.cmp tbody tr{
    margin:0 0 .85rem;padding:1rem 1.1rem 1.05rem;
    border:1px solid var(--rand, var(--line, #E6DED3)) !important;border-radius:var(--r, 14px);
    box-shadow:0 1px 2px rgba(27,34,48,.05);background:#fff !important
  }
  .tbl tbody th,.tbl tbody td,.ptable tbody th,.ptable tbody td,.cmp tbody th,.cmp tbody td{
    display:block !important;width:100%;max-width:100%;grid-column:auto !important;
    border:0 !important;padding:.15rem 0 !important;background:transparent !important;
    text-align:left !important;color:var(--ink) !important;font-size:1rem
  }
  .tbl tbody th,.ptable tbody th,.cmp tbody th,
  .tbl tbody td:first-child,.ptable tbody td:first-child,.cmp tbody td:first-child{
    font-size:1.05rem;font-weight:700;color:var(--ink);padding-bottom:.3rem !important
  }
  .tbl td.n,.ptable td.n,.cmp td.n,.tbl td.prijs{
    font-size:1.45rem;line-height:1.2;font-weight:700;margin:.2rem 0 .35rem;text-align:left !important
  }
  .tbl td.n .small,.ptable td.n .small,.tbl td.prijs .eenheid{font-size:.86rem}
  .tbl td[data-label]::before,.ptable td[data-label]::before,.cmp td[data-label]::before,
  .tbl td[data-l]::before,.ptable td[data-l]::before,.cmp td[data-l]::before{
    content:attr(data-label);display:block;font:700 .78rem/1.3 var(--fb);letter-spacing:.02em;
    text-transform:none;color:var(--ink-2);margin:.45rem 0 .15rem
  }
  /* als alleen data-l bestaat (oude cmp) blijft content hieronder werken */
  .cmp td[data-l]::before{content:attr(data-l)}
  .tbl tbody th[data-label]::before,.tbl tbody td:first-child[data-label]::before,
  .ptable tbody th[data-label]::before,.ptable tbody td:first-child[data-label]::before,
  .cmp tbody th[data-label]::before,.cmp tbody td:first-child[data-label]::before{content:none}
  .tbl-noot,.tbl + .small,.cmp-wrap + .small{border:0;padding:.2rem .15rem 0;background:transparent}
}

@media (min-width:701px){
  .tbl td.n,.ptable td.n,.cmp td.n,.tbl td.prijs .bedrag{white-space:nowrap}
  .tbl td.n .small,.ptable td.n .small{white-space:normal}
}
