.wt-tool { display: grid; gap: 1.25rem; min-width: 0; }
.wt-werk { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); border: 1px solid var(--lijn); border-radius: 1rem; overflow: hidden; background: var(--vlak); }
.wt-invoer, .wt-resultaat { min-width: 0; padding: clamp(1rem, 3vw, 2rem); }
.wt-invoer { align-content: start; }
.wt-invoer textarea, #wt-kopie { width: 100%; min-height: 7rem; resize: vertical; }
.wt-invoer small { color: var(--inkt-2); }
#wt-fout:empty, #wt-status:empty, .wt-tool [hidden] { display: none; }
.wt-resultaat { background: var(--papier-2); }
.wt-cijfers { margin: 0 0 1.25rem; font-variant-numeric: tabular-nums; }
.wt-cijfers > div { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--lijn-veld); }
.wt-cijfers dt { font-weight: 600; }
.wt-cijfers dd { margin: 0; font-size: 1.2rem; }
.wt-cijfers div:first-child dd { font-size: 2rem; line-height: 1; font-weight: 700; }
.wt-tool button { max-width: 100%; min-width: 44px; min-height: 44px; white-space: normal; }
#wt-status { margin: 0.7rem 0 0; }
.wt-tool h3 { margin: 0; }
.wt-tabelvak { min-width: 0; max-width: 100%; overflow: auto; }
.wt-tabel { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wt-tabel th, .wt-tabel td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--lijn); text-align: right; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.wt-tabel th:first-child { text-align: left; }
.wt-tabel thead { background: var(--papier-2); }
.wt-methode { border-top: 1px solid var(--lijn); }
.wt-methode summary { align-content: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.wt-methode p { max-width: 70ch; }
@media (max-width: 48rem) {
  .wt-werk { grid-template-columns: minmax(0, 1fr); }
  .wt-tabel th, .wt-tabel td { padding-inline: 0.4rem; }
}
