/* UH Lijsten */
.uhl { --uhl-accent: #e06400; --uhl-dev: #fdecea; --uhl-line: #e3e7ec; max-width: 1100px; margin: 0 auto; font-size: 16px; }
.uhl-notice { padding: 12px 16px; border-radius: 10px; background: #f3f6f9; border: 1px solid var(--uhl-line); margin: 0 0 14px; }
.uhl-notice.is-ok { background: #ebf7f1; border-color: #bfe3cf; }
.uhl-notice.is-error { background: var(--uhl-dev); border-color: #f2c2bc; }
.uhl-btn { display: inline-block; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--uhl-accent); color: var(--uhl-on-accent, #fff) !important; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.uhl-btn:hover { filter: brightness(1.08); }
.uhl-input { width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid #cfd6de; border-radius: 8px; font: inherit; background: #fff; }
.uhl-link { background: none; border: 0; padding: 0; color: var(--uhl-accent-ink, #a84d00); text-decoration: underline; cursor: pointer; font: inherit; }
.uhl-link.is-danger { color: #c0392b; }
.uhl-fine { color: #6b7280; font-size: 14px; }
.uhl-field { margin: 0 0 14px; }
.uhl-field label { display: grid; gap: 6px; font-weight: 600; }
.uhl-field small { display: block; margin-top: 4px; color: #6b7280; font-weight: 400; }
.uhl-check label { display: flex; gap: 8px; align-items: center; }
.uhl-table { overflow-x: auto; }
.uhl-table table { width: 100%; border-collapse: collapse; }
.uhl-table th, .uhl-table td { padding: 9px 10px; border-bottom: 1px solid var(--uhl-line); text-align: left; vertical-align: middle; }
.uhl-table thead th { font-size: 13px; color: #6b7280; font-weight: 600; }
.uhl-table tr.is-dev td, .uhl-table tr.is-dev th { background: var(--uhl-dev); }
.uhl-table tr.is-muted td { opacity: .55; }
.uhl__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 12px; }
.uhl__head h2 { margin: 0; }
.uhl__head span { color: #6b7280; }
.uhl__manage { margin-left: auto; }
.uhl__dept { margin: 22px 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.uhl__list { border: 1px solid var(--uhl-line); border-radius: 14px; background: #fff; margin: 0 0 12px; }
.uhl__list > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 16px 18px; cursor: pointer; list-style: none; font-size: 18px; }
.uhl__list > summary::-webkit-details-marker { display: none; }
.uhl__list > summary::before { content: "▸"; color: var(--uhl-accent-ink, #a84d00); }
.uhl__list[open] > summary::before { content: "▾"; }
.uhl__list.is-done > summary strong::after { content: " ✓"; color: var(--uhl-accent-ink, #a84d00); }
.uhl__state { color: #6b7280; font-size: 15px; }
.uhl__dev { background: #c0392b; color: #fff; border-radius: 20px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.uhl__form { padding: 0 18px 18px; }
.uhl__shifts { display: flex; gap: 8px; flex-wrap: wrap; }
.uhl__shift { padding: 6px 14px; border: 1.5px solid var(--uhl-accent); border-radius: 20px; text-decoration: none; color: var(--uhl-accent-ink, #a84d00); }
.uhl__shift.is-on { background: var(--uhl-accent); color: var(--uhl-on-accent, #fff); font-weight: 600; }
.uhl__check input { width: 26px; height: 26px; accent-color: var(--uhl-accent); }
/* Afvinken: het hele vakje is aanklikbaar; de verborgen tekst is alleen voor schermlezers. */
.uhl .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.uhl__check { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; margin: -6px; cursor: pointer; border-radius: 10px; }
.uhl__check:hover { background: rgba(255, 125, 5, .08); }
.uhl__check input { margin: 0; cursor: pointer; }
.uhl__num { width: 110px; display: inline-block; }
.uhl__unit { margin-left: 4px; color: #6b7280; }
.uhl__yn { display: inline-flex; gap: 14px; }
.uhl__yn input { width: 20px; height: 20px; }
.uhl__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; justify-content: flex-end; margin-top: 14px; }
.uhl__foot label { display: grid; gap: 4px; font-weight: 600; }
.uhl__who { width: 180px; }
.uhl__tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.uhl__tpl { display: grid; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--uhl-accent); border-radius: 14px; text-decoration: none; color: inherit; }
.uhl__tpl strong { color: var(--uhl-accent-ink, #a84d00); }
.uhl__tpl small { color: #6b7280; }
.uhl__acts { white-space: nowrap; }
.uhl__acts form { display: inline; }
.uhl__inline { display: flex; gap: 10px; align-items: start; flex-wrap: wrap; max-width: 560px; }
.uhl__inline .uhl-input { flex: 1; min-width: 200px; }
.uhl__tokens { list-style: none; padding: 0; display: grid; gap: 6px; }
.uhl__tokens li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--uhl-line); border-radius: 10px; }
.uhl__tokens form { margin: 0; }
.uhl__month a { text-decoration: none; padding: 0 6px; }
.uhl-clock { margin: 10px 0 0; }
/* Tablet: groter, aanraakvriendelijk */
.uhl--tablet { font-size: 18px; }
.uhl--tablet .uhl__list > summary { font-size: 20px; padding: 20px; }
.uhl--tablet .uhl-btn { padding: 14px 26px; font-size: 18px; }
@media (max-width: 700px) {
	.uhl__table thead { display: none; }
	.uhl__table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--uhl-line); }
	.uhl__table th, .uhl__table td { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; padding: 5px 0; }
	.uhl__table td[data-label]::before { content: attr(data-label); color: #6b7280; font-size: 14px; }
	.uhl__table th[scope="row"] { font-weight: 700; }
	.uhl__num { width: 120px; }
}
/* Keukentablet (eigen balk) */
body.uhl-app { margin: 0; background: #eef2f6; color: #1f2a30; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; min-height: 100vh; }
body.uhl-app *, body.uhl-app *::before, body.uhl-app *::after { box-sizing: border-box; }
.uhl-kt { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 16px 10px; background: #16323f; color: #fff; }
.uhl-kt__logo { border-radius: 9px; }
.uhl-kt__title { display: grid; line-height: 1.2; }
.uhl-kt__title strong { font-size: 18px; }
.uhl-kt__title small { color: #b8c7cf; font-size: 13px; }
.uhl-kt .uhl-kt__back { margin-left: auto; color: #fff; font-size: 14px; text-decoration: underline; }
.uhl-kt__clock { margin-left: auto; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.uhl-ktmain { max-width: 1140px; margin: 0 auto; padding: 18px 16px 30px; }
.uhl-ktmain .uhl { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 4px 18px rgba(0, 0, 0, .05); }
.uhl-ktfoot { margin: 20px 0 0; text-align: center; color: #66727a; font-size: 13px; }
.uhl-app--tablet .uhl-ktmain { max-width: none; }
@media (max-width: 600px) { .uhl-ktmain { padding: 12px 10px 24px; } .uhl-ktmain .uhl { padding: 14px; border-radius: 12px; } }
