/* Leermiddelenplein Tools */
.lmpt {
	--lmpt-ink: var(--wp--preset--color--primary, #2456c9);
	--lmpt-ink-deep: #1b43a3;
	--lmpt-soft: #eef3ff;
	--lmpt-text: #16213a;
	--lmpt-muted: #5c6977;
	--lmpt-line: #e6e9f1;
	--lmpt-warn: #fff6e0;
	--lmpt-warn-edge: #f2b200;
	margin: 28px 0;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--lmpt-line);
	border-radius: 16px;
	box-shadow: 0 1px 0 rgba(20, 40, 70, .05), 0 10px 24px -14px rgba(20, 40, 70, .25);
	color: var(--lmpt-text);
}
.lmpt__title { margin: 0 0 6px; font-size: 1.4rem; line-height: 1.25; font-weight: 800; }
.lmpt__intro { margin: 0 0 16px; color: var(--lmpt-muted); }
.lmpt__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.lmpt__field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; }
.lmpt__field label { font-weight: 600; font-size: .9rem; }
.lmpt__field input,
.lmpt__field select {
	font: inherit; padding: 10px 12px; border: 1px solid #c9d2df; border-radius: 10px;
	background: #fff; color: var(--lmpt-text); min-height: 44px; width: 100%; box-sizing: border-box;
}
.lmpt__field input:focus,
.lmpt__field select:focus { outline: none; border-color: var(--lmpt-ink); box-shadow: 0 0 0 3px rgba(36, 86, 201, .25); }
.lmpt__btn {
	font: inherit; font-weight: 700; color: #fff; background: var(--lmpt-ink); border: 0;
	border-radius: 12px; padding: 0 20px; min-height: 44px; cursor: pointer; flex: 0 0 auto;
}
.lmpt__btn:hover,
.lmpt__btn:focus-visible { background: var(--lmpt-ink-deep); }
.lmpt__btn:focus-visible { outline: 2px solid var(--lmpt-ink-deep); outline-offset: 2px; }
.lmpt__result { margin-top: 20px; padding: 18px; background: var(--lmpt-soft); border-radius: 12px; }
.lmpt__big { margin: 0; font-size: 1.8rem; font-weight: 800; color: var(--lmpt-ink); line-height: 1.15; }
.lmpt__sub { margin: 4px 0 14px; color: var(--lmpt-muted); }
.lmpt__flag {
	margin: 0 0 14px; padding: 12px 14px; background: var(--lmpt-warn);
	border-left: 4px solid var(--lmpt-warn-edge); border-radius: 8px; font-size: .95rem;
}
.lmpt__err { margin: 0; color: #b42318; font-weight: 600; }
.lmpt__table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: 10px; overflow: hidden; }
.lmpt__table caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.lmpt__table th,
.lmpt__table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lmpt-line); }
.lmpt__table tbody th { font-weight: 600; width: 38%; }
.lmpt__table thead th { background: var(--lmpt-soft); }
.lmpt__table tr:last-child th,
.lmpt__table tr:last-child td { border-bottom: 0; }
.lmpt details { margin-top: 14px; }
.lmpt summary { cursor: pointer; font-weight: 600; color: var(--lmpt-ink); }
.lmpt__years ul { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.lmpt__years li { display: flex; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid var(--lmpt-line); border-radius: 8px; padding: 6px 10px; }
.lmpt__years p,
.lmpt__agegrid p { font-size: .9rem; color: var(--lmpt-muted); }
.lmpt__agegrid { margin-top: 10px; }
.lmpt__note { margin: 14px 0 0; font-size: .85rem; color: var(--lmpt-muted); }
/* Breuken */
.lmpt__field label { display: flex; flex-direction: column; gap: 4px; }
.lmpt__field--wide { flex: 2 1 260px; }
.lmpt__field--s { flex: 0 1 110px; }
.lmpt__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.lmpt__btn--warm { background: #f28c28; }
.lmpt__btn--warm:hover,
.lmpt__btn--warm:focus-visible { background: #d97610; }
.lmpt__btn--ghost { background: #fff; color: var(--lmpt-ink); border: 1.5px solid var(--lmpt-ink); }
.lmpt__btn--ghost:hover,
.lmpt__btn--ghost:focus-visible { background: var(--lmpt-soft); }
.lmpt__btn:disabled { opacity: .5; cursor: not-allowed; }
.lmpt__check { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.lmpt__check input { width: 18px; height: 18px; }
.lmpt-sheet { margin-top: 18px; padding: 18px; background: var(--lmpt-soft); border-radius: 12px; }
.lmpt-sheet__title { margin: 0 0 12px; font-weight: 700; }
.lmpt-sheet__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; align-items: start; }
.lmpt-item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--lmpt-line); border-radius: 10px; padding: 10px 12px; font-size: 1.1rem; }
.lmpt-item--pic { flex-direction: column; align-items: flex-start; }
.lmpt-item__n { font-size: .75rem; color: var(--lmpt-muted); min-width: 16px; }
.lmpt-item__q { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lmpt-item--pic .lmpt-item__q { flex-direction: column; align-items: flex-start; }
.lmpt-ans { font: inherit; width: 86px; padding: 6px 8px; border: 1.5px solid #c9d2df; border-radius: 8px; min-height: 40px; background: #fff; }
select.lmpt-ans { width: 64px; }
.lmpt-ans:focus { outline: none; border-color: var(--lmpt-ink); box-shadow: 0 0 0 3px rgba(36, 86, 201, .25); }
.lmpt-item.is-ok { border-color: #1f9d55; background: #effaf3; }
.lmpt-item.is-bad { border-color: #d83a3a; background: #fdf1f1; }
.lmpt-item__a { font-weight: 700; color: var(--lmpt-ink); display: inline-flex; align-items: center; gap: 4px; }
.lmpt-score { margin: 12px 0 0; font-weight: 700; }
.lmpt-fr { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lmpt-fr span:first-child { border-bottom: 2px solid currentColor; padding: 0 3px; }
.lmpt-fr span:last-child { padding: 0 3px; }
.lmpt-q-t { font-size: .85rem; color: var(--lmpt-muted); }
.lmpt-pic { display: block; max-width: 100%; height: auto; }
.lmpt-blank { display: inline-block; width: 26px; height: 26px; border: 1.5px dashed #9aa6b8; border-radius: 4px; vertical-align: middle; }
/* Rekensommen: cijferen en geld */
.lmpt-stack { display: inline-flex; flex-direction: column; align-items: flex-end; font-family: "Courier New", ui-monospace, monospace; font-size: 1.3rem; line-height: 1.3; letter-spacing: 2px; font-weight: 600; }
.lmpt-stack span:last-child { border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.lmpt-stack i { font-style: normal; margin-right: 8px; }
.lmpt-money { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.lmpt-coin, .lmpt-note { display: block; flex: none; }
/* Klok */
.lmpt-clock { display: block; }
.lmpt-digi { font-family: "Courier New", ui-monospace, monospace; font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; background: #1c2333; color: #7CFFB2; border-radius: 8px; padding: 4px 14px; display: inline-block; }
.lmpt-q-w { font-weight: 700; font-size: 1.1rem; }
.lmpt-item--klok { align-items: stretch; }
.lmpt-item--klok .lmpt-item__q { align-items: center; text-align: center; width: 100%; }
.lmpt-k-mc { display: grid; gap: 6px; width: 100%; }
.lmpt-k-mc .lmpt-ds-opt { font-size: .95rem; min-height: 40px; }
/* Doorstroomtoets */
.lmpt-ds-count { margin: 0 0 14px; padding: 10px 14px; background: var(--lmpt-warn); border-left: 4px solid var(--lmpt-warn-edge); border-radius: 8px; }
.lmpt-ds-count:empty { display: none; }
.lmpt-ds-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lmpt-ds-tab { font: inherit; font-weight: 700; padding: 10px 16px; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--lmpt-ink); background: #fff; color: var(--lmpt-ink); cursor: pointer; }
.lmpt-ds-tab[aria-selected="true"] { background: var(--lmpt-ink); color: #fff; }
.lmpt-ds-tab:focus-visible { outline: 2px solid var(--lmpt-ink-deep); outline-offset: 2px; }
.lmpt-ds-clock { margin: 12px 0; font-weight: 700; color: var(--lmpt-muted); font-variant-numeric: tabular-nums; }
.lmpt-ds-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: q; }
.lmpt-ds-q { counter-increment: q; position: relative; background: #fff; border: 1.5px solid var(--lmpt-line); border-radius: 12px; padding: 14px 16px 14px 48px; }
.lmpt-ds-q::before { content: counter(q); position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--lmpt-soft); color: var(--lmpt-ink); font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.lmpt-ds-dom { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--lmpt-muted); margin-bottom: 4px; }
.lmpt-ds-text { font-size: 1.2rem; line-height: 1.5; font-weight: 500; }
.lmpt-ds-ans { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; font-size: .9rem; }
.lmpt-ds-ans input { font: inherit; width: 140px; padding: 8px 10px; border: 1.5px solid #c9d2df; border-radius: 8px; min-height: 42px; }
.lmpt-ds-ans input:focus { outline: none; border-color: var(--lmpt-ink); box-shadow: 0 0 0 3px rgba(36, 86, 201, .25); }
.lmpt-ds-opts { display: grid; gap: 6px; margin-top: 8px; }
.lmpt-ds-opt { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1.5px solid var(--lmpt-line); border-radius: 10px; cursor: pointer; min-height: 44px; }
.lmpt-ds-opt input { width: 18px; height: 18px; flex: none; }
.lmpt-ds-opt:has(input:checked) { border-color: var(--lmpt-ink); background: var(--lmpt-soft); }
.lmpt-ds-opt.is-good { border-color: #1f9d55; background: #effaf3; }
.lmpt-ds-q.is-ok { border-color: #1f9d55; }
.lmpt-ds-q.is-bad { border-color: #d83a3a; }
.lmpt-ds-fb { margin: 8px 0 0; font-size: .92rem; }
.lmpt-ds-q.is-ok .lmpt-ds-fb { color: #17703d; }
.lmpt-ds-q.is-bad .lmpt-ds-fb { color: #a12626; }
.lmpt-ds-res { margin-top: 12px; }
.lmpt-mini { border-collapse: collapse; margin: 8px 0; font-size: .95rem; }
.lmpt-mini th,
.lmpt-mini td { border: 1px solid #c9d2df; padding: 4px 10px; text-align: center; }
.lmpt-mini th { background: var(--lmpt-soft); }
@media (max-width: 520px) {
	.lmpt { padding: 18px 16px; }
	.lmpt__btn { width: 100%; }
	.lmpt__table tbody th { width: 45%; }
	.lmpt__big { font-size: 1.5rem; }
	.lmpt__years ul { grid-template-columns: repeat(2, 1fr); }
}
