/* Beheer: vaste activa en afschrijvingen (beheer/activa.js). Zelfde tokens als beheer.css. */
.act { min-width: 0; }
.act .getal, .act-tegels dd, .act-uitkomst { font-variant-numeric: tabular-nums; }
.act .knop-klein { min-height: 44px; }
.act h2:focus { outline: none; }
.act-kop h2 { margin-bottom: 4px; }
.act-kop .sub { margin: 0; max-width: 64ch; }
.act-keuze { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.act-keuze .veld { margin: 0; }
.act-keuze select { width: auto; min-width: 110px; }

/* Tegels */
.act-tegels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.act-tegels > div { background: #fff; border: 1px solid var(--lijn-zacht); border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.act-tegels dt { font-size: .82rem; color: var(--grijs); }
.act-tegels dd { margin: 2px 0 0; font: 400 1.4rem/1.25 var(--kopfont); overflow-wrap: anywhere; }
@media (max-width: 1100px) { .act-tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .act-tegels { gap: 8px; } .act-tegels > div { padding: 12px; } .act-tegels dd { font-size: 1.1rem; } }

/* Lijst */
.act-tabel td { vertical-align: top; }
.act .tabel-wrap { position: relative; }
.act-tabel td.getal { padding-top: 14px; }
.act-stuklink { display: inline-flex; align-items: center; min-height: 44px; font-size: .86rem; }
.act-tabel .c-oms { min-width: 180px; overflow-wrap: anywhere; }
.act-tabel th, .act-tabel td { padding-left: 8px; padding-right: 8px; }
.act-tabel th:first-child, .act-tabel td:first-child { padding-left: 0; }
.act-tabel th:last-child, .act-tabel td:last-child { padding-right: 0; }
.act-tabel .c-oms strong { font-weight: 600; }
.act-tabel .c-actie { width: 1%; }
.act-rood { color: var(--rood); }
.act-rood:hover { border-color: var(--rood); }
.act-weg { margin-left: auto; }
.act-geboekt-noot { margin: 12px 0 0; }
.act-lbl { display: none; }
.act-pil-klaar { background: var(--groen-vlak); color: var(--groen); margin-left: 4px; }
.act-pil-uit { background: var(--vlak); color: #3A4757; margin-left: 4px; }
.act-noot { margin: 12px 0 0; }

@media (max-width: 1100px) {
  .act-tabel thead { display: none; }
  .act-tabel, .act-tabel tbody, .act-tabel tfoot { display: block; }
  .act-tabel tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--lijn-zacht); }
  .act-tabel td { border: 0; padding: 0; }
  .act-tabel td.getal { padding-top: 0; text-align: left; }
  .act-tabel .c-oms { grid-column: 1 / -1; min-width: 0; }
  .act-lbl { display: block; font-size: .78rem; color: var(--grijs); }
  .act-tabel .c-actie { grid-column: 1 / -1; width: auto; margin-top: 6px; }
  .act-tabel tfoot tr { border-bottom: 0; }
  .act-tabel tfoot td:first-child { grid-column: 1 / -1; }
  .act-tabel tfoot .c-actie { display: none; }
  .act-tabel tfoot .act-lbl { font-weight: 400; }
  .act-tabel tfoot td { border-top: 0; }
}

/* Formulier */
.act-form-kaart { border-color: var(--lijn); }
.act-velden { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.act-v-oms { grid-column: span 2; }
@media (max-width: 900px) { .act-velden { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .act-velden { grid-template-columns: minmax(0, 1fr); } .act-v-oms { grid-column: auto; } }
.act-stuk-veld { max-width: 720px; }
.act-gekozen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--lijn); border-radius: 8px; background: var(--vlak-licht); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.act-gekozen > span { min-width: 0; }
.act-docrek { margin-top: 8px; padding: 10px 14px; border: 1px solid var(--lijn); border-left: 3px solid var(--amber); border-radius: 8px; background: #fff; }
.act-docrek-keuze { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; font-weight: 600; cursor: pointer; }
.act-docrek-keuze input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--diep); }
.act-docrek p { margin: 4px 0 0 30px; }
.act-docs { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--lijn-zacht); border-radius: 8px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.act-docs:empty { display: none; }
.act-docs li + li { border-top: 1px solid var(--lijn-zacht); }
.act-doc { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; width: 100%; min-height: 48px; padding: 10px 14px; border: 0; background: #fff; font: inherit; color: var(--tekst); text-align: left; cursor: pointer; }
.act-doc:hover { background: var(--vlak-licht); }
.act-doc:focus-visible { outline-offset: -3px; }
.act-doc > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.act-doc .getal { flex-shrink: 0; }
.act-docs-leeg { padding: 12px 14px; color: var(--grijs); font-size: .9rem; }
.act-uitkomst { min-height: 1.5em; margin: 2px 0 14px; color: var(--grijs); }
.act-uitkomst strong { color: var(--tekst); font-weight: 600; }

/* Boeking */
.act-gb { min-height: 44px; display: inline-flex; align-items: center; }
.act-post-kop { margin: 0 0 6px; }
.act-post td { padding: 0 10px; height: 44px; }
.act-post th:first-child, .act-post td:first-child { padding-left: 0; }
.act-post th:last-child, .act-post td:last-child { padding-right: 0; }
.act-post .c-oms { overflow-wrap: anywhere; }
.act-oms-sub { display: none; }
.act-post tfoot td { border-top: 2px solid var(--diep); padding: 10px; height: auto; }
.act-reknaam { color: var(--grijs); }
.act-boek-knoppen { margin-top: 16px; }
.act-boek-knoppen .knop { white-space: normal; text-align: center; }
@media (max-width: 560px) {
  .act-reknaam, .act-post .c-oms { display: none; }
  .act-oms-sub { display: block; overflow-wrap: break-word; }
  .act-post td.getal { width: 1%; }
  .act-post td { height: auto; padding-top: 8px; padding-bottom: 8px; }
  .act-weg { margin-left: 0; }
  .act-post td, .act-post th { padding-left: 6px; padding-right: 6px; }
  .act-post td:first-child, .act-post th:first-child { padding-left: 0; }
  .act-post td:last-child, .act-post th:last-child { padding-right: 0; }
  .act-keuze { width: 100%; }
  .act-keuze .knop { flex: 1 1 auto; }
}
