/*
 * De stijl van de app. Eén bestand, variabelen bovenaan, mobiel eerst. Grote knoppen, weinig
 * per scherm. De kleur en het logo zijn die van de bezorgapp (besluit 24-09-2026).
 */

:root {
	--brand: #3e92da;
	--brand-dark: #2f74af;
	--brand-light: #e6f1fb;
	--bg: #f2f4f7;
	--card: #ffffff;
	--text: #1f2933;
	--muted: #6b7280;
	--line: #e2e6eb;
	--ok: #2e9e5b;
	--warn: #e39b1b;
	--danger: #d64545;
	--danger-light: #fdecec;

	--topbar-h: 56px;
	--bottombar-h: 64px;
	--radius: 12px;
	--gap: 16px;
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}

button, input { font: inherit; }

/* ── De bovenbalk ─────────────────────────────────────────────────────────────────── */

.topbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: calc(var(--topbar-h) + var(--safe-top));
	padding: var(--safe-top) var(--gap) 0;
	background: var(--brand);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 20;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.topbar__logo {
	height: 32px;
	width: auto;
	display: block;
}

.topbar__logo-button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.status__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--ok);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .35);
}

.status--offline .status__dot { background: var(--danger); }
.status--pending .status__dot { background: var(--warn); }

/* ── De inhoud ────────────────────────────────────────────────────────────────────── */

.content {
	padding: calc(var(--topbar-h) + var(--safe-top) + var(--gap)) var(--gap) calc(var(--bottombar-h) + var(--safe-bottom) + var(--gap));
	max-width: 640px;
	margin: 0 auto;
	min-height: 100vh;
}

.content--plain {
	padding-bottom: var(--gap);
}

.screen-title {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 700;
}

.screen-subtitle {
	margin: 0 0 var(--gap);
	color: var(--muted);
	font-size: 15px;
}

/* ── Kaarten ──────────────────────────────────────────────────────────────────────── */

.card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 14px 16px;
	margin-bottom: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
	border-left: 5px solid var(--line);
}

.card--priority-HIGH { border-left-color: var(--warn); }
.card--priority-URGENT { border-left-color: var(--danger); }

.card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.card__time {
	font-weight: 700;
	font-size: 17px;
}

.card__title {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 600;
}

.card__line {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}

.card__note {
	margin: 8px 0 0;
	padding: 8px 10px;
	background: var(--brand-light);
	border-radius: 8px;
	font-size: 14px;
}

.card__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 10px;
	font-size: 14px;
}

.chips {
	display: inline-flex;
	gap: 6px;
	flex-wrap: wrap;
}

.chip {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: var(--line);
	color: var(--text);
	white-space: nowrap;
}

.chip--department { background: var(--brand-light); color: var(--brand-dark); }
.chip--priority-HIGH { background: #fdf1dc; color: #9a6300; }
.chip--priority-URGENT { background: var(--danger-light); color: var(--danger); }
.chip--status { background: var(--brand); color: #fff; }
.chip--status-PLANNED { background: var(--line); color: var(--text); }
.chip--status-DONE { background: var(--ok); color: #fff; }

/* ── Lege toestand, foutmelding, laden ────────────────────────────────────────────── */

.empty {
	text-align: center;
	color: var(--muted);
	padding: 48px 16px;
}

.empty__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 6px;
}

.alert {
	padding: 12px 14px;
	border-radius: var(--radius);
	margin-bottom: 12px;
	font-size: 15px;
}

.alert--error {
	background: var(--danger-light);
	color: #8a2b2b;
}

.loading {
	text-align: center;
	color: var(--muted);
	padding: 32px 0;
}

/* ── Knoppen en formulieren ───────────────────────────────────────────────────────── */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 20px;
	border-radius: var(--radius);
	border: 0;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	background: var(--brand);
	color: #fff;
	width: 100%;
}

.button:active { background: var(--brand-dark); }
.button:disabled { opacity: .6; cursor: default; }

.button--secondary {
	background: var(--card);
	color: var(--brand-dark);
	border: 1px solid var(--line);
}

.button--secondary:active { background: var(--brand-light); }

.field {
	margin-bottom: 14px;
}

.field__label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}

.field__input {
	width: 100%;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	font-size: 17px;
}

.field__input:focus {
	outline: 2px solid var(--brand);
	outline-offset: 0;
	border-color: var(--brand);
}

/* ── Aanmelden ────────────────────────────────────────────────────────────────────── */

.login {
	padding-top: 24px;
}

.login__logo {
	display: block;
	max-width: 220px;
	margin: 0 auto 28px;
}

.login__title {
	text-align: center;
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 600;
}

/* ── De onderbalk ─────────────────────────────────────────────────────────────────── */

.bottombar {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	height: calc(var(--bottombar-h) + var(--safe-bottom));
	padding: 8px var(--gap) calc(8px + var(--safe-bottom));
	background: var(--card);
	border-top: 1px solid var(--line);
	display: flex;
	gap: 8px;
	z-index: 20;
}

.bottombar[hidden] { display: none; }

.bottombar__button {
	flex: 1;
	min-height: 48px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--text);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.bottombar__button--primary {
	background: var(--brand);
	color: #fff;
	border-color: var(--brand);
}

.bottombar__button:active { background: var(--brand-light); }

/* ── Het menu (zijpaneel van links, zoals in de bezorgapp) ────────────────────────── */

.menu {
	position: fixed;
	inset: 0;
	z-index: 30;
}

.menu[hidden] { display: none; }

.menu__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .4);
}

.menu__panel {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: min(85vw, 340px);
	background: var(--card);
	display: flex;
	flex-direction: column;
	box-shadow: 2px 0 12px rgba(0, 0, 0, .2);
}

.menu__head {
	background: var(--brand);
	color: #fff;
	padding: calc(var(--safe-top) + 14px) var(--gap) 14px;
}

.menu__name {
	font-size: 18px;
	font-weight: 700;
	margin: 12px 0 2px;
}

.menu__sub {
	font-size: 14px;
	opacity: .9;
}

.menu__body {
	padding: var(--gap);
	flex: 1;
}

.menu__item {
	display: block;
	width: 100%;
	text-align: left;
	padding: 14px 4px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none;
	font-size: 17px;
	cursor: pointer;
}

.menu__foot {
	padding: var(--gap);
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

/* ── Secties op het startscherm ───────────────────────────────────────────────────── */

.section { margin-bottom: 28px; }

.section__title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
}

.section__count {
	display: inline-block;
	min-width: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-size: 13px;
	text-align: center;
	line-height: 24px;
}

.section__day {
	margin: 12px 0 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
}

.section__day::first-letter { text-transform: uppercase; }

.card--tap { cursor: pointer; }
.card--tap:active { background: var(--brand-light); }

.card__flag {
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 600;
}

.card__flag--warn { color: #9a6300; }
.card__flag--danger { color: var(--danger); }

.chip--wo-NEW, .chip--wo-PLANNED { background: var(--line); color: var(--text); }
.chip--wo-WAITING { background: #fdf1dc; color: #9a6300; }
.chip--wo-REVIEW { background: #e4e0fb; color: #4b3fa3; }
.chip--wo-CLOSED { background: var(--ok); color: #fff; }
.chip--wo-CANCELED { background: var(--danger-light); color: var(--danger); }

.alert--warn { background: #fdf1dc; color: #6f4700; }
.alert--info { background: var(--brand-light); color: var(--brand-dark); }

/* ── Opdrachtdetail ───────────────────────────────────────────────────────────────── */

.detail-head { margin-bottom: 14px; }

.detail-head__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: var(--muted);
	font-size: 14px;
	margin-bottom: 6px;
}

.detail-head__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
}

.panel {
	background: var(--card);
	border-radius: var(--radius);
	padding: 14px 16px;
	margin-bottom: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.panel__title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
}

.panel__text { margin: 0; white-space: pre-line; }
.panel__text--muted { color: var(--muted); }

.kv {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(96px, 35%) 1fr;
	gap: 6px 12px;
	font-size: 15px;
}

.kv dt { color: var(--muted); }
.kv dd { margin: 0; white-space: pre-line; }
.kv a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }

.visit {
	border-top: 1px solid var(--line);
	padding-top: 12px;
	margin-top: 12px;
}

.visit:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.visit__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.visit__when { font-weight: 600; }

.visit__subtitle {
	margin: 12px 0 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: .03em;
}

.employees { list-style: none; margin: 8px 0 0; padding: 0; }

.employees__item {
	padding: 6px 0;
	font-size: 15px;
}

.employees__item--mine .employees__name { font-weight: 700; }

.employees__name { display: block; }

.employees__stamps {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 6px;
	margin-top: 4px;
}

.stamp {
	font-size: 13px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--bg);
	color: var(--text);
}

.stamp--total { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }

.materials { list-style: none; margin: 0; padding: 0; }
.materials__item { padding: 4px 0; font-size: 15px; }
.materials__qty { display: inline-block; min-width: 72px; font-weight: 600; }

.photos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 8px;
}

.photo {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	cursor: pointer;
}

.photo__img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	background: var(--bg);
}

.photo--placeholder, .photo--file {
	cursor: default;
}

.photo--placeholder > span:first-child, .photo__file {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	border-radius: 8px;
	background: var(--bg);
	color: var(--muted);
	font-size: 12px;
	padding: 6px;
	text-align: center;
	word-break: break-word;
}

.photo__caption { font-size: 12px; color: var(--muted); }

.comment { padding: 8px 0; border-top: 1px solid var(--line); }
.comment:first-of-type { border-top: 0; }
.comment__meta { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.comment__text { white-space: pre-line; }

.timeline { list-style: none; margin: 0; padding: 0; }

.timeline__item {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 2px 8px;
	padding: 6px 0;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.timeline__item:first-child { border-top: 0; }
.timeline__when { color: var(--muted); }
.timeline__who { font-weight: 600; }
.timeline__what { grid-column: 2; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(0, 0, 0, .92);
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox__img {
	max-width: 100vw;
	max-height: 100vh;
	object-fit: contain;
}

.lightbox__close {
	position: absolute;
	top: calc(var(--safe-top) + 12px);
	right: 12px;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .9);
	font-weight: 600;
	cursor: pointer;
}

/* ── Uitvoering: de statusknoppen ─────────────────────────────────────────────────── */

.button--action {
	margin-top: 12px;
	background: var(--ok);
}

.button--action:active { background: #24804a; }

.button--big {
	min-height: 64px;
	font-size: 20px;
}

.button--small {
	width: auto;
	min-height: 40px;
	font-size: 15px;
	padding: 0 14px;
	margin-top: 8px;
}

.panel--execution {
	border: 2px solid var(--ok);
}

.execution__visit + .execution__visit {
	border-top: 1px solid var(--line);
	margin-top: 14px;
	padding-top: 14px;
}

.execution__label {
	font-weight: 600;
	margin-bottom: 4px;
}

.execution__state {
	color: var(--muted);
	font-size: 15px;
}

.execution__skip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}

.execution__skip-label {
	font-size: 14px;
	color: var(--muted);
	margin-top: 8px;
}

.alert .button--small { display: block; margin-top: 10px; }

/* ── Bezoek afronden ──────────────────────────────────────────────────────────────── */

.button--choice { margin-top: 12px; }
.button--choice:not(.button--action) { background: var(--warn); }
.button--choice:not(.button--action):active { background: #b87d12; }

.field__input--area {
	min-height: 96px;
	padding: 12px 14px;
	resize: vertical;
	line-height: 1.4;
}

.choices { display: flex; flex-direction: column; gap: 8px; }

.choice {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	cursor: pointer;
}

.choice:has(.choice__input:checked) {
	border-color: var(--brand);
	background: var(--brand-light);
}

.choice__input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.choice__label { font-size: 17px; }

.segmented {
	display: flex;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--card);
}

.segmented__option { flex: 1; }
.segmented__option input { position: absolute; opacity: 0; width: 0; height: 0; }

.segmented__option span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	font-size: 15px;
	font-weight: 600;
	border-left: 1px solid var(--line);
	cursor: pointer;
}

.segmented__option:first-child span { border-left: 0; }
.segmented__option input:checked + span { background: var(--brand); color: #fff; }

.kv--summary { margin-bottom: 16px; }

.panel form, form.panel { margin-bottom: 12px; }
form .button--big { margin-top: 8px; }

/* ── Ruimte tussen knoppen die onder elkaar staan ────────────────────────────────── */

.button + .button,
form + .button,
.alert + .button,
.button + form { margin-top: 12px; }

/* ── Werkbon en materialen ────────────────────────────────────────────────────────── */

.report-status {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--muted);
}

.materials--edit .materials__item--row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 0;
	border-top: 1px solid var(--line);
}

.materials--edit .materials__item--row:first-child { border-top: 0; }
.materials__text { flex: 1; }
.materials__pending { color: var(--muted); }

.materials__buttons { display: flex; gap: 6px; flex-shrink: 0; }
.materials__buttons .button--small { margin-top: 0; }

.materials__item--editing { padding: 8px 0; border-top: 1px solid var(--line); }

.material-form { margin-top: 8px; }

.material-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.material-form__buttons { display: flex; gap: 8px; }
.material-form__buttons .button--small { margin-top: 0; }

.button--danger { color: var(--danger); }

.panel .kv + .kv { margin-top: 8px; }

/* ── Historie compact: één regel per gebeurtenis (24-09-2026) ─────────────────────── */

.timeline__item {
	display: block;
	padding: 5px 0;
	font-size: 14px;
	line-height: 1.35;
}

.timeline__when { display: inline; margin-right: 6px; white-space: nowrap; }
.timeline__who { display: inline; margin-right: 6px; }
.timeline__who:not(:empty)::after { content: ' ·'; font-weight: 400; color: var(--muted); }
.timeline__what { display: inline; }

/* ── Foto's toevoegen en opmerkingen plaatsen ─────────────────────────────────────── */

.photo-adder { margin-top: 12px; }
.photo-adder .photos { margin-bottom: 12px; }
.photo-adder .button { margin-top: 8px; }

.comment-form { margin-top: 12px; }
.comment-form .button { margin-top: 8px; }
.comment-form .field__input--area { min-height: 64px; }

/* ── Handtekening (tekenvlak bij gereed melden, en de getekende handtekening in het dossier) ── */

.signature__hint { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.signature__canvas {
	display: block;
	width: 100%;
	height: 180px;
	border: 1px dashed #9aa6b2;
	border-radius: 8px;
	background: #fff;
	touch-action: none;
	cursor: crosshair;
}
.signature .button { margin-top: 8px; }
.signature__img {
	display: block;
	width: 100%;
	max-width: 420px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
}
.signature__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	max-width: 420px;
	border-radius: 8px;
	background: var(--bg);
	color: var(--muted);
	font-size: 14px;
}
.signature__caption { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* ── Updateprompt en installatie ──────────────────────────────────────────────────── */

.update {
	position: fixed;
	top: calc(var(--topbar-h) + var(--safe-top));
	left: 0; right: 0;
	z-index: 19;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px var(--gap);
	background: #fdf1dc;
	color: #6f4700;
	font-size: 14px;
	border-bottom: 1px solid #f0d9a8;
}

.update[hidden] { display: none; }

.update__button {
	min-height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: var(--brand);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.menu__hint {
	margin: 0 0 8px;
	padding: 10px 4px;
	font-size: 14px;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
}

.content--update { padding-top: calc(var(--topbar-h) + var(--safe-top) + var(--gap) + 48px); }

/* ── Meldingen ────────────────────────────────────────────────────────────────────── */

.badge {
	display: inline-block;
	min-width: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--danger);
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
}

.card--unread { border-left-color: var(--brand); background: var(--brand-light); }
.menu__hint--error { color: var(--danger); }

.choice--disabled { opacity: .55; cursor: default; }

.diag { margin-top: 8px; text-align: left; }
.diag summary { cursor: pointer; }
.diag__pre { white-space: pre-wrap; font-size: 11px; line-height: 1.3; margin: 6px 0 0; max-height: 40vh; overflow: auto; }

.lightbox__loading { color: #fff; font-size: 16px; }

/* ── Taken (module Taken, ONTWERP-taken.md) ───────────────────────────────────────── */

/* De ene regel naar het andere startscherm: Taken vanaf Mijn opdrachten, of andersom. */
.linkrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	margin: 0 0 var(--gap);
	padding: 12px 16px;
	border: 0;
	border-radius: var(--radius);
	background: var(--brand-light);
	color: var(--brand-dark);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.linkrow:active { background: #d5e7f8; }
.linkrow__arrow { font-size: 22px; line-height: 1; }

.slot__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 8px;
}

.slot__time { font-size: 20px; font-weight: 700; }
.slot__count { font-size: 14px; font-weight: 600; color: var(--muted); }
.slot__count--done { color: var(--ok); }
.slot--future .slot__time { color: var(--muted); }

.tasklist {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
	overflow: hidden;
}

/* Eén taak op één tijdstip: links de naam (opent het detail), rechts de afvinkknop. */
.task {
	display: flex;
	align-items: stretch;
	border-left: 5px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.task:last-child { border-bottom: 0; }
.task--due { border-left-color: var(--warn); }
.task--done { border-left-color: var(--ok); }

.task__main {
	flex: 1;
	min-width: 0;
	min-height: 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 10px 4px 10px 11px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.task__main:active { background: var(--brand-light); }
.task__name { font-size: 16px; font-weight: 600; }
.task__meta { font-size: 14px; color: var(--muted); min-height: 1em; }
.task--due .task__meta { color: #9a6300; font-weight: 600; }

/* De afvinkknop: een raakvlak van 64 bij 64 met de cirkel erin. Afgevinkt is het geen knop meer. */
.task__check {
	flex: none;
	width: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
}

button.task__check { cursor: pointer; }
button.task__check:active { background: var(--brand-light); }

.task__mark {
	width: 40px;
	height: 40px;
	border: 2px solid var(--muted);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

.task--due .task__mark { border-color: var(--warn); }
.task--done .task__mark { border-color: var(--ok); background: var(--ok); }
/* Nog in de wachtrij: het vinkje staat er, maar open, tot de server het heeft. */
.task--pending .task__mark { background: none; color: var(--ok); }

.task-state--done { color: var(--ok); font-weight: 600; }

.task-hint { margin: 10px 0 0; font-size: 14px; }
