#wc-tool { display: grid; gap: var(--m-4); min-width: 0; }
#wc-tool [hidden] { display: none; }
#wc-tool .wc-velden { display: grid; gap: var(--m-4); background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--hoek); padding: var(--m-4); }
#wc-tool .veld { min-width: 0; }
#wc-tool input, #wc-tool select, #wc-tool textarea { min-width: 0; width: 100%; max-width: 100%; min-height: var(--raak); }
#wc-tool input[type=file] { padding: var(--m-1); }
#wc-tool input::file-selector-button { font: inherit; min-height: var(--raak); color: var(--inkt); background: var(--papier-2); border: 1px solid var(--lijn-veld); border-radius: var(--hoek-klein); cursor: pointer; }
#wc-tool #wc-fout:empty { display: none; }
#wc-fout { font-weight: 650; }
#wc-status { color: var(--inkt-2); }
#wc-resultaat { display: grid; gap: var(--m-4); }
#wc-tool .wc-resultaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: var(--m-4); }
#wc-tool figure { display: flex; flex-direction: column; min-width: 0; gap: var(--m-2); padding-block-start: var(--m-3); border-block-start: 1px solid var(--lijn-veld); }
#wc-tool figcaption, #wc-tool summary { font-family: var(--letter-kop); font-weight: 700; }
#wc-tool canvas { display: block; align-self: center; width: auto; height: auto; max-width: 100%; max-height: 200px; background: repeating-conic-gradient(var(--papier-2) 0 25%, var(--vlak) 0 50%) center / 16px 16px; border: 1px solid var(--lijn); }
#wc-tool figure p { white-space: pre-line; font-size: var(--t-2); font-variant-numeric: tabular-nums; }
#wc-tool figure a { margin-top: auto; }
#wc-tool summary { align-content: center; min-height: var(--raak); list-style: disclosure-closed inside; }
#wc-tool details[open] summary { list-style-type: disclosure-open; }
#wc-kopie { justify-self: start; }
@media (min-width: 760px) { #wc-tool .wc-velden { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
