/* Koopovereenkomst en KAO ronde */
/* KAO: model kiezen, nakijken, Scrive */
.kpick {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.kp-h {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}
.kp-l {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}
.kp-l .hint {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.kpick .ofsel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin: 0;
}
.kopt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  min-width: 0;
}
.kopt:hover {
  border-color: var(--ink-3);
}
.kopt.on {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.kopt input {
  position: absolute;
  left: 14px;
  top: 15px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  margin: 0;
}
.kopt b {
  font-size: 14.5px;
}
.kopt small {
  color: var(--ink-3);
  font-size: 12.5px;
}
.kopt .bdg {
  align-self: flex-start;
  margin-top: 4px;
}
.kft tr.miss td {
  background: var(--bad-bg);
  color: var(--bad);
}
.kft td {
  padding: 5px 6px;
  font-size: 13px;
}
.kws {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}
@media (max-width: 1100px) {
  .kws {
    grid-template-columns: 1fr;
  }
}
.kws-ctl {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kws-ctl select {
  width: 100%;
}
.kdoc {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.kdoc iframe {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  border: 0;
  background: #fff;
}
.kdoc-f {
  font-size: 12px;
  color: var(--ink-3);
  padding: 6px 10px;
  border-top: 1px solid var(--line);
}
.ksteps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ksteps div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  padding: 3px 0;
}
.ksteps i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex: none;
}
.ksteps div.y {
  color: var(--ok);
}
.ksteps div.y i {
  background: var(--ok);
  border-color: var(--ok);
}
.ksteps div.c {
  color: var(--ink);
  font-weight: 600;
}
.ksteps div.c i {
  background: var(--accent);
  border-color: var(--accent);
}
.ksteps small {
  color: var(--ink-3);
  font-weight: 400;
  margin-left: auto;
}
.ksig {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13px;
}
.ksig small {
  color: var(--ink-3);
}
.kpaper {
  background: #fff;
  color: #1c1917;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px clamp(16px, 5vw, 48px);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13.5px;
  line-height: 1.55;
  box-shadow: 0 1px 0 var(--line);
}
.kpaper h3 {
  text-align: center;
  font-size: 18px;
  margin: 6px 0 2px;
}
.kpaper h4 {
  text-align: center;
  font-size: 14px;
  margin: 10px 0;
}
.kpaper .c {
  text-align: center;
  margin: 0;
}
.kpaper table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 12.5px;
}
.kpaper td {
  border: 1px solid #d6d3d1;
  padding: 4px 8px;
}
.kpaper td:first-child {
  color: #57534e;
  width: 30%;
}
.kpaper mark {
  background: #fde2e2;
  color: #9b1c1c;
  padding: 0 2px;
  border-radius: 3px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
}
.kpaper .muted {
  color: #857f78;
}
.kp-proef {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 12.5px;
  background: #fff4da;
  color: #7a4a00;
  border-radius: 8px;
  padding: 6px 10px;
  margin: -8px 0 12px;
}
.kbar .hint {
  color: inherit;
  opacity: 0.75;
}
.ktbl tr[data-kk] {
  cursor: pointer;
}
.ktbl small.bad {
  color: var(--bad);
}
.rec-body.wide {
  grid-template-columns: minmax(0, 1fr) !important;
}
.rec-body.wide > .side {
  display: none;
}
.kpaper table {
  table-layout: fixed;
}
.kpaper td {
  overflow-wrap: anywhere;
}
.kpaper table {
  min-width: 0 !important;
  width: 100% !important;
}
/* Kopervakken nalopen voor het klaarzetten in Scrive */
.ksig-f {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}
.ksig-f label {
  min-width: 90px;
  font-size: 12px;
  color: var(--ink-3);
}
.ksig-f input {
  width: 100%;
}
