/* E-nummertje, eigen huisstijl (zie HUISSTIJL.md). Papiergrijs met witte vlakken, bijna-zwarte inkt, één accent
   (etiketblauw) voor focus, links en de actieve tab. Kleur verder alleen voor het oordeel. Inter, strak gespatieerd. */
@font-face { font-family: Inter; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--papier: #f5f6f7; --papier-2: #eceef0; --vlak: #fff; --inkt: #0b1215; --inkt-2: #4a5359; --inkt-3: #5f686e;
	--lijn: rgba(11, 18, 21, 0.08); --lijn-2: rgba(11, 18, 21, 0.16);
	--blauw: #0a6fc2; --blauw-was: #e7f2fb; --nacht: #0b1215; --op-nacht: #fff; --nacht-zacht: rgba(255, 255, 255, 0.72); --nacht-lijn: rgba(255, 255, 255, 0.14);
	--ster: #fc734d; --ster-was: #ffefe9; --fout: #c8321f; --tegel: #fff;
	/* Het oordeel: munt, amber, oranje, rood. Met een zachte was voor vlakken. */
	--o1: #2fb380; --o2: #f2b93b; --o3: #f5803e; --o4: #e0453a;
	--v1: #e6f6ef; --v2: #fdf3d8; --v3: #fde9dc; --v4: #fbe2df;
	--schaduw-1: 0 1px 2px rgba(11, 18, 21, 0.05);
	--schaduw-2: 0 2px 4px rgba(11, 18, 21, 0.03), 0 14px 34px -12px rgba(11, 18, 21, 0.16);
	--schaduw-3: 0 4px 10px rgba(11, 18, 21, 0.04), 0 30px 60px -22px rgba(11, 18, 21, 0.3);
	--r-s: 12px; --r-m: 18px; --r-l: 26px;
	--veer: linear(0, 0.094, 0.303, 0.54, 0.752, 0.914, 1.02, 1.076, 1.094, 1.088, 1.068, 1.044, 1.022, 1.006, 0.996, 0.992, 0.993, 0.996, 1);
	--uit: cubic-bezier(0.16, 1, 0.3, 1);
	--f: Inter, -apple-system, "Segoe UI", system-ui, sans-serif;
	--tabs: 0px; --toetsen: 0px;
	color-scheme: light;
}
:root[data-thema="donker"] {
	--papier: #0a1013; --papier-2: #172026; --vlak: #131b20; --inkt: #f1f4f6; --inkt-2: #b3bcc2; --inkt-3: #97a1a8;
	--lijn: rgba(255, 255, 255, 0.09); --lijn-2: rgba(255, 255, 255, 0.18);
	--blauw: #6cbcf2; --blauw-was: #12283a; --nacht: #1b262d; --ster-was: #33201a; --fout: #f27c6b; --tegel: #f1f4f6;
	--v1: #123025; --v2: #382e12; --v3: #3b2416; --v4: #3d1b18;
	--schaduw-1: 0 1px 2px rgba(0, 0, 0, 0.3); --schaduw-2: 0 14px 34px -12px rgba(0, 0, 0, 0.6); --schaduw-3: 0 30px 60px -22px rgba(0, 0, 0, 0.8);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root[data-thema="systeem"] {
		--papier: #0a1013; --papier-2: #172026; --vlak: #131b20; --inkt: #f1f4f6; --inkt-2: #b3bcc2; --inkt-3: #97a1a8;
		--lijn: rgba(255, 255, 255, 0.09); --lijn-2: rgba(255, 255, 255, 0.18);
		--blauw: #6cbcf2; --blauw-was: #12283a; --nacht: #1b262d; --ster-was: #33201a; --fout: #f27c6b; --tegel: #f1f4f6;
		--v1: #123025; --v2: #382e12; --v3: #3b2416; --v4: #3d1b18;
		--schaduw-1: 0 1px 2px rgba(0, 0, 0, 0.3); --schaduw-2: 0 14px 34px -12px rgba(0, 0, 0, 0.6); --schaduw-3: 0 30px 60px -22px rgba(0, 0, 0, 0.8);
		color-scheme: dark;
	}
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
body { margin: 0; background: var(--papier); color: var(--inkt); font: 400 16px/1.5 var(--f); letter-spacing: -0.011em; font-feature-settings: "cv11", "ss01"; caret-color: var(--blauw); overflow-wrap: break-word; }
::selection { background: var(--blauw-was); }
[hidden] { display: none !important; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; touch-action: manipulation; }
input { font: inherit; letter-spacing: inherit; color: var(--inkt); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blauw); outline-offset: 2px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.app { max-width: 520px; margin: 0 auto; }
.scherm { min-height: 100dvh; padding-bottom: calc(var(--tabs) + var(--toetsen) + 28px + env(safe-area-inset-bottom, 0px)); }
.pad { padding-inline: 16px; }
.muted { color: var(--inkt-3); }
.small { font-size: 14px; }
.t1 { font-size: 34px; font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.t2 { font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; }
.ul { text-decoration: underline; text-decoration-color: var(--lijn-2); text-underline-offset: 3px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--s { gap: 10px; }

/* Kop */
.hdr { position: sticky; top: 0; z-index: 6; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; height: calc(64px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 16px 0; background: var(--papier); }
.hdr .tt { text-align: center; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr--links { display: flex; }
.hdr--links .t2 { font-size: 26px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; background: var(--vlak); box-shadow: var(--schaduw-1), inset 0 0 0 1px var(--lijn); transition: transform 0.4s var(--veer); }
.hb:active { transform: scale(0.92); }
.hb--tekst { width: auto; padding: 0 14px; margin-left: -60px; font-weight: 500; font-size: 15px; white-space: nowrap; justify-self: end; }

/* Knoppen: één gevulde hoofdknop per scherm (inkt), de rest rustig */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 500; font-size: 16px; transition: transform 0.4s var(--veer); }
.btn:active { transform: scale(0.97); }
.btn.pri, .btn.blk { background: var(--inkt); color: var(--papier); }
.btn.out { background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn-2); }
.btn.gry { background: var(--papier-2); }
.btn.red { background: var(--fout); color: #fff; }
.btn--merk { justify-content: flex-start; gap: 0; padding: 0 20px; }
.btn--merk svg { flex: none; width: 20px; height: 20px; }
.btn--merk span { flex: 1; margin-right: 20px; text-align: center; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Velden */
.inp { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.inp input { height: 52px; padding: 0 16px; border: 0; border-radius: var(--r-s); background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn-2); font-size: 16px; font-weight: 400; outline-offset: 0; }
.inp input::placeholder, .field input::placeholder { color: var(--inkt-3); }
.field { display: flex; align-items: center; gap: 10px; height: 72px; padding: 0 18px; border-radius: var(--r-l); background: var(--vlak); box-shadow: var(--schaduw-2); color: var(--inkt-3); }
.field input { flex: 1; min-width: 0; height: 60px; border: 0; outline: 0; background: transparent; font-size: 18px; }
.field:focus-within { box-shadow: var(--schaduw-2), inset 0 0 0 2px var(--blauw); }
.fout { color: var(--fout); font-size: 14px; font-weight: 500; }
.vink { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.vink input, .li input[type="checkbox"]:not(.tg) { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--inkt); }

/* Inloggen */
.inlog { padding-top: calc(56px + env(safe-area-inset-top, 0px)); }
.inlog__boven { display: grid; gap: 12px; margin-bottom: 32px; }
.inlog__merk { display: flex; align-items: center; gap: 14px; width: fit-content; margin-bottom: 8px; }
.inlog__merk .merk { flex: none; width: 56px; height: 56px; }
.inlog__merk .t1 { font-size: 36px; line-height: 1; }
.inlog__boven p { font-size: 17px; color: var(--inkt-2); max-width: 32ch; }
.of { display: flex; align-items: center; gap: 12px; color: var(--inkt-3); font-size: 13px; font-weight: 500; }
.of::before, .of::after { content: ""; flex: 1; height: 1px; background: var(--lijn-2); }

/* Onboarding */
.start { padding-bottom: 120px; }
.start__inhoud { padding-top: 16px; }
.start__inhoud section { display: grid; gap: 10px; }
.start__inhoud .muted { margin-bottom: 12px; font-size: 17px; }
.start__onder { position: fixed; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; padding-top: 12px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--papier) 70%, transparent); }

/* Segment */
.seg { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--papier-2); }
.seg button { flex: 1; min-height: 44px; border-radius: 999px; text-align: center; font-size: 15px; font-weight: 500; color: var(--inkt-2); transition: background-color 0.2s ease, color 0.2s ease; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--vlak); color: var(--inkt); box-shadow: var(--schaduw-1), 0 2px 8px rgba(11, 18, 21, 0.08); }

/* Zoeken */
.zoek__boven { display: grid; gap: 12px; padding-top: 4px; }
.nummerveld { display: flex; align-items: center; height: 88px; padding: 0 22px; border-radius: var(--r-l); background: var(--vlak); box-shadow: var(--schaduw-2); font-size: 48px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.nummerveld__e { color: var(--inkt-3); opacity: 0.55; }
.nummerveld__cursor { width: 3px; height: 44px; margin-left: 4px; border-radius: 2px; background: var(--blauw); animation: knipper 1.1s steps(2, start) infinite; }
.nummerveld__open { margin-left: auto; background: var(--papier-2); box-shadow: none; color: var(--inkt-2); }
.nummerveld--dicht { cursor: pointer; }
.nummerveld__hint { margin-left: 14px; font-size: 16px; font-weight: 400; letter-spacing: -0.011em; color: var(--inkt-3); }
@keyframes knipper { to { visibility: hidden; } }
.leeg { padding-top: 20px; overflow-wrap: anywhere; }

/* Lijsten: rijen in een wit vlak */
.gh { padding: 26px 20px 8px; font-size: 13px; font-weight: 500; color: var(--inkt-3); }
.sh { padding: 30px 20px 12px; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.sh--knop { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; }
.grp { display: flex; flex-direction: column; margin: 0 16px; border-radius: var(--r-m); background: var(--vlak); box-shadow: var(--schaduw-1); overflow: hidden; }
.grp:empty { display: none; }
.grp--los { margin: 0; }
.li { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 0 16px; }
.li::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--lijn); }
.li:last-child::after { display: none; }
.li:is(button, a):active { background: var(--papier-2); }
.li .lt { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 11px 0; }
.li .lt b { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.li .lt span { font-size: 14px; color: var(--inkt-3); }
.li .v { flex: none; max-width: 55%; text-align: right; font-size: 15px; color: var(--inkt-3); }
.li.red .lt b { color: var(--fout); }
.chev { flex: none; color: var(--inkt-3); opacity: 0.6; }
.info { flex: none; color: var(--inkt-3); opacity: 0.7; }

/* Rij van een e-nummer */
.er .e { flex: none; display: grid; place-items: center; min-width: 62px; height: 36px; padding: 0 8px; border-radius: 10px; background: var(--papier-2); font-size: 15px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.er .lt b { overflow-wrap: anywhere; }
.er .lt span { display: flex; align-items: center; gap: 6px; }
.er .e.o1 { background: var(--o1); color: #0b1215; } .er .e.o2 { background: var(--o2); color: #0b1215; }
.er .e.o3 { background: var(--o3); color: #0b1215; } .er .e.o4 { background: var(--o4); color: #0b1215; }
.inlog { position: relative; }
.inlog__thema { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--inkt); cursor: pointer; }
.inlog__thema:active { transform: scale(0.92); }
.stip { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--o1); }
.stip.o2 { background: var(--o2); }
.stip.o3 { background: var(--o3); }
.stip.o4 { background: var(--o4); }

/* Pillen en chips */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; background: var(--papier-2); color: var(--inkt); }
.chipr { display: flex; gap: 8px; padding: 4px 16px 6px; overflow-x: auto; scrollbar-width: none; }
.chipr::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn); font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform 0.4s var(--veer); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--inkt); color: var(--papier); box-shadow: none; }
.chip small { color: var(--inkt-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] small { color: inherit; opacity: 0.7; }
.chip--filter { background: var(--papier-2); box-shadow: none; }
.keuzechips { display: flex; flex-wrap: wrap; gap: 8px; }
.keuzechips .chip { background: var(--papier); }
.keuzechips .chip[aria-pressed="true"] { background: var(--inkt); }
.aantal { padding: 12px 20px 0; font-size: 14px; color: var(--inkt-3); }

/* Onderin: cijfertoetsen in een wit vlak, daaronder de zwevende tabbalk */
.onder { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; max-width: 520px; margin: 0 auto; padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.onder > * { pointer-events: auto; }
.onder:has(> :not([hidden]))::before { content: ""; position: absolute; inset: -28px 0 0; z-index: -1; background: linear-gradient(to top, var(--papier) 62%, transparent); }
.toetsen { touch-action: none; transition: transform 0.3s var(--uit); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; padding: 10px; border-radius: var(--r-l); background: var(--vlak); box-shadow: var(--schaduw-2); }
.toetsen .toetsen__dicht { grid-column: 1 / -1; height: 44px; margin: -10px 0 -12px; background: none; cursor: pointer; }
.toetsen__dicht i { width: 40px; height: 5px; border-radius: 3px; background: var(--lijn-2); transition: background-color 0.15s ease; }
.toetsen .toetsen__dicht:active { transform: none; background: none; }
.toetsen__dicht:active i { background: var(--inkt-3); }
.toetsen button { display: grid; place-items: center; height: 50px; border-radius: 14px; background: var(--papier); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: transform 0.35s var(--veer), background-color 0.15s ease; }
.toetsen button:active { transform: scale(0.94); background: var(--papier-2); }
.toetsen .toets--tekst { background: none; font-size: 15px; color: var(--inkt-2); }
.tabs { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--vlak); box-shadow: var(--schaduw-2), inset 0 0 0 1px var(--lijn); }
.tab { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 12px; white-space: nowrap; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--inkt-2); transition: background-color 0.2s ease, color 0.2s ease; }
.tab svg { width: 20px; height: 20px; }
.tab[aria-current="page"] { background: var(--inkt); color: var(--papier); }

/* Eén e-nummer */
.hero { --o: var(--o1); margin: 4px 16px 0; padding: 22px 20px 20px; border-radius: var(--r-l); background: var(--nacht); color: var(--op-nacht); box-shadow: var(--schaduw-3); }
.hero.o2 { --o: var(--o2); }
.hero.o3 { --o: var(--o3); }
.hero.o4 { --o: var(--o4); }
.hero__boven { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.hero .t1 { font-size: 56px; font-variant-numeric: tabular-nums; }
.d__naam { margin-top: 6px; font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.hero .pill { max-width: 100%; white-space: normal; text-align: left; margin-top: 12px; background: var(--nacht-lijn); color: var(--op-nacht); }
.structuur { display: grid; place-items: center; width: 104px; height: 104px; padding: 10px; border-radius: 20px; background: var(--tegel); }
.structuur img { width: 100%; height: 100%; object-fit: contain; }
/* Smalle telefoon: naast de structuurformule moet het nummer nog passen. */
@media (max-width: 359px) {
	.hero .t1 { font-size: 48px; }
	.structuur { width: 76px; height: 76px; padding: 8px; border-radius: 16px; }
}
.schaal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 22px; }
.schaal span { display: grid; gap: 8px; font-size: 12px; font-weight: 500; color: var(--nacht-zacht); text-align: center; }
.schaal span::before { content: ""; height: 6px; border-radius: 3px; background: var(--nacht-lijn); transform-origin: left; }
.schaal span.aan { color: var(--op-nacht); }
.schaal span.aan::before { background: var(--o); animation: vul 0.7s var(--uit) 0.1s backwards; }
@keyframes vul { from { transform: scaleX(0); } }
.hero__oordeel { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.hero__oordeel i { width: 14px; height: 14px; border-radius: 50%; background: var(--o); }
.hero__reden { margin-top: 6px; font-size: 17px; line-height: 1.45; color: var(--nacht-zacht); }
.hero__noot { margin-top: 10px; font-size: 13px; color: var(--nacht-zacht); opacity: 0.8; }
.letop { display: grid; gap: 2px; margin: 12px 16px 0; padding: 14px 18px; border-radius: var(--r-m); background: var(--v2); }
.letop b { font-size: 13px; font-weight: 600; }
.tekst { padding: 0 20px; }
.tekst p + p { margin-top: 10px; }
.voet { padding: 28px 20px 0; font-size: 13px; color: var(--inkt-3); }

.tegels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px; }
.tegel { position: relative; display: grid; gap: 2px; align-content: start; min-height: 104px; padding: 16px; border-radius: var(--r-m); background: var(--vlak); box-shadow: var(--schaduw-1); text-align: left; transition: transform 0.4s var(--veer); }
.tegel:active { transform: scale(0.97); }
.tegel svg.ic { width: 22px; height: 22px; margin-bottom: 10px; color: var(--inkt-2); }
.tegel small { font-size: 13px; font-weight: 500; color: var(--inkt-3); }
.tegel b { font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.tegel .info { position: absolute; top: 14px; right: 14px; }
.tegel--breed { grid-column: 1 / -1; min-height: 0; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.tegel--breed svg.ic { grid-row: 1 / 3; margin: 0; }

.uit { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 0 16px; padding: 18px; border-radius: var(--r-m); background: var(--v1); }
.uit svg { grid-row: 1 / 3; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--o1); color: #0b1215; }
.uit b { align-self: end; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.uit p { grid-column: 1 / -1; margin-top: 8px; font-size: 16px; line-height: 1.5; }
.uit.o2 { background: var(--v2); } .uit.o2 svg { background: var(--o2); }
.uit.o3 { background: var(--v3); } .uit.o3 svg { background: var(--o3); }
.uit.o4 { background: var(--v4); } .uit.o4 svg { background: var(--o4); color: #fff; }

.etiket { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; }
.etiket span { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; max-width: 100%; overflow-wrap: anywhere; padding: 8px 14px; border-radius: 999px; background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn); font-size: 15px; font-weight: 500; }
.etiket small { flex: none; color: var(--inkt-3); font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }

.cijfer, .balken { margin: 0 16px; padding: 18px; border-radius: var(--r-m); background: var(--vlak); box-shadow: var(--schaduw-1); }
.cijfer strong { display: block; font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cijfer strong small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; letter-spacing: -0.011em; color: var(--inkt-3); }
.cijfer p { margin-top: 10px; font-size: 15px; }
.cijfer dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; }
.cijfer dl div { padding: 12px 14px; border-radius: var(--r-s); background: var(--papier); }
.cijfer dt { font-size: 13px; color: var(--inkt-3); }
.cijfer dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.balken { display: grid; gap: 14px; }
.balk { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; }
.balk b { font-weight: 500; overflow-wrap: anywhere; }
.balk span { color: var(--inkt-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.balk i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--papier-2); overflow: hidden; }
.balk i::after { content: ""; display: block; width: var(--b); height: 100%; border-radius: 3px; background: var(--inkt); }

/* Vlakken op de detailpagina: het etiket, de producten en de herkomst elk in een eigen wit vlak */
.vak { margin: 0 16px; padding: 18px; border-radius: var(--r-m); background: var(--vlak); box-shadow: var(--schaduw-1); }
.vak .etiket { padding: 0; }
.vak .etiket span { background: var(--papier); box-shadow: none; }
.vak__noot { margin-top: 14px; font-size: 13px; color: var(--inkt-3); }
.vak--lijst { padding: 0; overflow: hidden; }
.vak__kop { padding: 18px 18px 16px; }
.vak__kop strong { display: block; font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.vak__kop span { display: block; margin-top: 6px; font-size: 14px; color: var(--inkt-3); }
.vak--lijst .balk { grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 8px 10px; width: 100%; padding: 13px 18px 15px; box-shadow: inset 0 1px 0 var(--lijn); text-align: left; }
.vak--lijst button.balk:active { background: var(--papier-2); }
.vak--lijst .balk em { width: 18px; }
.vak--rij { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.vak--rij svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--papier); color: var(--inkt-2); }
.vak--rij p { font-size: 16px; line-height: 1.5; }
.weet ul { margin: 0; padding-left: 20px; }
.weet li { font-size: 16px; line-height: 1.5; }
.weet li + li { margin-top: 12px; }
.weet small { display: block; margin-top: 2px; font-size: 13px; color: var(--inkt-3); }
.vb { display: grid; gap: 0; margin: 0; padding: 0; border-radius: var(--r-s); background: var(--papier); list-style: none; }
.vb li { padding: 13px 16px; font-size: 16px; font-weight: 500; }
.vb li + li { box-shadow: inset 0 1px 0 var(--lijn); }

/* Startscherm */
.kaarten { display: flex; gap: 10px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.kaarten::-webkit-scrollbar { display: none; }
.kaart { flex: none; scroll-snap-align: start; scroll-margin-left: 16px; display: grid; align-content: space-between; gap: 22px; width: 216px; min-height: 156px; padding: 18px; border-radius: var(--r-l); background: var(--vlak); box-shadow: var(--schaduw-1); transition: transform 0.4s var(--veer); }
.kaart:active { transform: scale(0.97); }
.kaart:first-child { background: var(--blauw-was); box-shadow: none; }
.kaart b { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.kaart em { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--inkt); color: var(--papier); }
.kaart em svg { opacity: 1; color: inherit; }

/* Beoordelen, compact boven "Laatst bekeken" */
.vraag { display: flex; align-items: center; gap: 4px; margin: 16px 16px 0; padding: 6px 6px 6px 16px; border-radius: var(--r-m); background: var(--ster-was); }
.vraag__doe { flex: 1; display: flex; align-items: center; gap: 14px; min-height: 52px; text-align: left; }
.vraag__doe > span:last-child { display: grid; font-size: 14px; color: var(--inkt-2); }
.vraag__doe b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--inkt); }
.vraag__bel { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--v1); color: var(--inkt); }
.vraag .sterren { display: flex; gap: 1px; color: var(--ster); }
.vraag .sterren svg { width: 17px; height: 17px; }
.vraag__weg { background: none; box-shadow: none; color: var(--inkt-2); }

/* Beoordelen */
.beoordeel { display: grid; gap: 4px; justify-items: start; width: calc(100% - 32px); margin: 20px 16px 0; padding: 20px; border-radius: var(--r-l); background: var(--ster-was); text-align: left; transition: transform 0.4s var(--veer); }
.beoordeel:active { transform: scale(0.98); }
.beoordeel b { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.beoordeel > span { color: var(--inkt-2); font-size: 15px; }
.beoordeel .sterren { display: flex; gap: 4px; margin-bottom: 10px; color: var(--ster); }
.sterren svg { width: 30px; height: 30px; }
.beoordeel em { margin-top: 14px; padding: 10px 18px; border-radius: 999px; background: var(--inkt); color: var(--papier); font-style: normal; font-weight: 500; font-size: 15px; }

/* Account */
.a__kop { display: grid; gap: 4px; padding: 4px 20px 18px; }
/* Betaalmuur: het nachtvlak met het aanbod, één prijs, wat je krijgt, en de koopknop vast onderin. */
.muur { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
.muur__kop { margin: 4px 16px 0; padding: 20px 20px 24px; border-radius: var(--r-l); background: var(--nacht); color: var(--op-nacht); box-shadow: var(--schaduw-3); }
.muur__teller { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-s); background: var(--nacht-lijn); font-size: 14px; color: var(--nacht-zacht); }
.muur__teller b { color: var(--op-nacht); font-weight: 600; font-variant-numeric: tabular-nums; }
.muur__teller i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--o1); }
.muur__teller.op i { background: var(--o3); }
.muur__kop .t1 { margin-top: 22px; }
.muur__kop p.sub { margin-top: 12px; font-size: 17px; line-height: 1.45; color: var(--nacht-zacht); }
.schaal--vier { margin-top: 24px; }
.schaal--vier span { color: var(--op-nacht); }
.schaal--vier span::before { background: var(--o1); }
.schaal--vier span:nth-child(2)::before { background: var(--o2); }
.schaal--vier span:nth-child(3)::before { background: var(--o3); }
.schaal--vier span:nth-child(4)::before { background: var(--o4); }
.muur__keuzes { display: grid; gap: 8px; margin: 12px 16px 0; }
.keuze { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: var(--r-m); background: var(--vlak); box-shadow: var(--schaduw-1), inset 0 0 0 1px var(--lijn); text-align: left; transition: transform 0.4s var(--veer), box-shadow 0.2s ease; }
.keuze:active { transform: scale(0.98); }
.keuze[aria-checked="true"] { box-shadow: var(--schaduw-2), inset 0 0 0 2px var(--inkt); }
.keuze i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--lijn-2); }
.keuze[aria-checked="true"] i { box-shadow: inset 0 0 0 7px var(--inkt); }
.keuze b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.keuze small { display: block; font-size: 14px; line-height: 1.35; color: var(--inkt-3); }
.keuze strong { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.muur__keuzes { gap: 14px; margin-top: 18px; }
.keuze { position: relative; }
.keuze--top { box-shadow: var(--schaduw-2), inset 0 0 0 1px var(--lijn-2); }
.keuze--top[aria-checked="true"] { box-shadow: var(--schaduw-3), inset 0 0 0 2px var(--inkt); }
.keuze > .propil { position: absolute; top: -11px; right: 16px; padding: 5px 11px; font-size: 12px; font-style: normal; box-shadow: 0 0 0 3px var(--papier); }
.keuze__meer { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 2px; padding-top: 14px; box-shadow: inset 0 1px 0 var(--lijn); }
.keuze__paginas { display: flex; }
.keuze__paginas img { display: block; width: 54px; height: auto; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--lijn-2), 0 6px 14px -6px rgba(11, 18, 21, 0.35); }
.keuze__paginas img + img { margin-left: -30px; }
.keuze__paginas img:nth-child(1) { z-index: 2; transform: rotate(-4deg); }
.keuze__paginas img:nth-child(2) { z-index: 1; }
.keuze__paginas img:nth-child(3) { transform: rotate(4deg); }
.keuze__punten { display: grid; gap: 3px; font-size: 13px; line-height: 1.35; color: var(--inkt-2); }
.keuze__punten span { padding-left: 14px; position: relative; }
.keuze__punten span::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--o1); }
.muur__prijs { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 18px 20px; border-radius: var(--r-m); background: var(--vlak); box-shadow: var(--schaduw-2); }
.muur__prijs b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.muur__prijs span { font-size: 14px; color: var(--inkt-3); }
.muur__prijs strong { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.muur__lijst { display: flex; flex-direction: column; margin: 0 16px; padding: 0; border-radius: var(--r-m); background: var(--vlak); box-shadow: var(--schaduw-1); }
.muur__lijst li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 18px; list-style: none; font-size: 16px; line-height: 1.4; }
.muur__lijst li + li { box-shadow: inset 0 1px 0 var(--lijn); }
.muur__lijst svg { margin-top: 1px; color: var(--o1); }
.muur__lijst span { display: block; font-size: 14px; color: var(--inkt-3); }
.muur__koop { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; display: flex; flex-direction: column; gap: 8px; max-width: 520px; margin: 0 auto; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--papier); box-shadow: 0 -1px 0 var(--lijn); text-align: center; }
.pro--koop { width: calc(100% - 32px); text-align: left; transition: transform 0.4s var(--veer); }
.pro--lijst { margin-top: 12px; }
.sh .propil, .btn .propil { margin-left: 8px; vertical-align: 3px; }
.pro--koop:active { transform: scale(0.98); }
.pro--koop .chev { flex: none; margin-left: auto; color: var(--nacht-zacht); }

.pro { display: flex; align-items: center; gap: 14px; margin: 0 16px; padding: 18px; border-radius: var(--r-l); background: var(--nacht); color: var(--op-nacht); box-shadow: var(--schaduw-3); }
.pro span { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--o1); color: #0b1215; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.pro p { font-size: 14px; line-height: 1.4; color: var(--nacht-zacht); }
.pro b { display: block; color: var(--op-nacht); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.tg { flex: none; appearance: none; position: relative; width: 50px; height: 30px; margin: 0; border-radius: 15px; background: var(--lijn-2); transition: background-color 0.2s ease; cursor: pointer; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.45s var(--veer); }
.tg:checked { background: var(--o1); }
.tg:checked::after { transform: translateX(20px); }
.versie { padding: 28px 16px 0; text-align: center; font-size: 13px; color: var(--inkt-3); }
.formulier { display: grid; gap: 16px; padding: 12px 16px 0; }
details.li { display: block; padding: 0; }
details.li summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 16px; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
details.li summary::-webkit-details-marker { display: none; }
details.li .chev { transition: transform 0.3s var(--uit); }
details.li[open] .chev { transform: rotate(90deg); }
details.li p { padding: 0 16px 18px; color: var(--inkt-2); }

/* Uitleg */
.artikel { padding: 8px 20px 0; overflow-wrap: anywhere; }
.artikel h2 { margin-bottom: 14px; font-size: 32px; font-weight: 600; line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
.artikel h3 { margin: 26px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.artikel p { margin-bottom: 12px; font-size: 17px; line-height: 1.55; color: var(--inkt-2); }
.artikel ul { margin: 0 0 12px; padding-left: 20px; font-size: 17px; line-height: 1.55; color: var(--inkt-2); }
.artikel li { margin-bottom: 6px; }
.artikel .bron { margin-top: 24px; font-size: 13px; color: var(--inkt-3); }
.uitleg__intro { padding: 4px 20px 16px; }
.uitleg__intro p { margin-top: 8px; font-size: 17px; color: var(--inkt-2); }

/* Venster van onderen en melding */
.sheet { width: 100%; max-width: 520px; max-height: 88dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: var(--r-l) var(--r-l) 0 0; background: var(--vlak); color: var(--inkt); overflow: hidden; transition: transform 0.35s var(--uit); }
.sheet[open] { display: flex; flex-direction: column; animation: op 0.5s var(--uit); }
/* De greep bovenaan: het venster is naar beneden weg te slepen. Bij het openen zakt de greep heel even, als wenk. */
.sheet__greep { flex: none; display: grid; place-items: center; height: 26px; touch-action: none; cursor: grab; }
.sheet__greep i { width: 40px; height: 5px; border-radius: 3px; background: var(--lijn-2); animation: wenk 0.9s var(--uit) 0.55s backwards; }
@keyframes wenk { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(5px); } }
.sheet__x { position: absolute; top: 14px; right: 12px; z-index: 1; background: var(--papier-2); box-shadow: none; color: var(--inkt-2); }
.sheet__in { display: grid; gap: 12px; align-content: start; min-height: 0; padding: 4px 20px calc(22px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; }
.sheet__in > h2:first-child { display: flex; align-items: center; min-height: 40px; padding-right: 48px; touch-action: none; }
.sheet .btn { flex: none; }
.propil { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--o1); color: #0b1215; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.2; }
.sheet .gh .propil { margin-left: 6px; vertical-align: 1px; }
.sheet::backdrop { background: rgba(4, 8, 10, 0.5); }
.sheet .gh { padding: 8px 0 6px; }
.sheet p { color: var(--inkt-2); }
@keyframes op { from { transform: translateY(100%); } }
.melding { position: fixed; left: 16px; right: 16px; bottom: calc(var(--tabs) + var(--toetsen) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 30; max-width: 488px; margin: 0 auto; padding: 13px 18px; border-radius: 999px; background: var(--inkt); color: var(--papier); font-size: 14px; font-weight: 500; text-align: center; box-shadow: var(--schaduw-3); animation: op 0.5s var(--uit); }

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}

/* Favorieten en delen */
.hdr--acties { grid-template-columns: 96px 1fr 96px; }
.hdr__acties { display: flex; gap: 8px; justify-content: flex-end; }
#detail-hart[aria-pressed="true"] { color: var(--o4); }
#detail-hart[aria-pressed="true"] path { fill: currentColor; }
.tab:not([aria-current="page"]) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tab { position: relative; }
.mapkop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 20px 8px; }
.mapkop h2 { display: flex; align-items: baseline; min-width: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.mapkop h2 span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mapkop small { flex: none; font-size: 13px; font-weight: 500; color: var(--inkt-3); margin-left: 8px; }
.mapleeg { padding: 4px 20px 0; color: var(--inkt-3); font-size: 15px; }
.favleeg { padding: 28px 20px 0; display: grid; gap: 10px; }
.favleeg p { color: var(--inkt-2); max-width: 30em; }
.mapkies { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 14px; border-radius: var(--r-s); background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn-2); font-size: 16px; font-weight: 500; text-align: left; }
.mapkies i { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.8px var(--inkt-3); }
.mapkies[aria-pressed="true"] i { box-shadow: none; background: var(--o1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.500l3.500 3.500L16 8' fill='none' stroke='%230b1215' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.mapkies span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mapkies small { color: var(--inkt-3); font-weight: 400; }
.mapnieuw { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.mapnieuw .btn { width: auto; }
.deelbeeld { width: min(100%, 240px); margin-inline: auto; border-radius: 14px; box-shadow: var(--schaduw-2); }
.deeltekst { padding: 12px 14px; border-radius: var(--r-s); background: var(--papier-2); font-size: 15px; overflow-wrap: anywhere; user-select: all; }

/* Onboarding: eerst wat de app doet */
.start__intro .merk { width: 64px; height: 64px; margin-bottom: 10px; border-radius: 15px; }
.start__intro .er { cursor: default; }
.start__onder { display: grid; gap: 4px; }
/* Links op de betaalmuur, taal met vlag, begrippen met uitleg, kleur op de tegels */
.muur__links { display: flex; justify-content: center; gap: 0 20px; flex-wrap: wrap; }
.muur__al { margin-top: 12px; }
.muur__links button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; color: var(--inkt-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.muur__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--inkt-2); text-decoration: underline; text-underline-offset: 3px; }
.grp--na { margin-top: 14px; }
.vlag { flex: none; border-radius: 3px; box-shadow: 0 0 0 1px var(--lijn-2); margin-right: 8px; vertical-align: -2px; }
.li > .vlag { margin-right: 4px; }
.begrip { display: inline; padding: 0; font: inherit; color: inherit; text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: pointer; }
button.pill { cursor: pointer; }
.kaart:nth-child(3) { background: color-mix(in srgb, var(--o1) 16%, var(--vlak)); box-shadow: none; }
.kaart:nth-child(5) { background: color-mix(in srgb, var(--o2) 20%, var(--vlak)); box-shadow: none; }
.kaart:nth-child(7) { background: color-mix(in srgb, var(--o3) 16%, var(--vlak)); box-shadow: none; }
button.pill, .begrip { position: relative; }
button.pill::after, .begrip::after { content: ""; position: absolute; inset: -10px -4px; }

/* Vensters: de inhoud blijft binnen het venster, ook als een invoerveld of knop breder wil zijn (Android). */
.sheet__in { grid-template-columns: minmax(0, 1fr); }
.sheet__in > * { min-width: 0; max-width: 100%; }
.mapnieuw { grid-template-columns: minmax(0, 1fr) auto; }
.inp input, .field input { min-width: 0; width: 100%; box-sizing: border-box; }
.mapkies { box-sizing: border-box; }

/* Privacyverklaring en voorwaarden in een venster */
.juridisch { display: grid; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--inkt-2); }
.juridisch h2, .juridisch h3 { margin-top: 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--inkt); }
.juridisch h3 { font-size: 15px; }
.juridisch ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.juridisch address { font-style: normal; }
.juridisch a { color: var(--blauw); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.juridisch .heel { white-space: nowrap; }
/* Goed om te weten: de eerste tegel is uitgelicht, en de rij komt rustig binnen als je hem voor het eerst ziet. */
.kaart--top { width: 248px; background: linear-gradient(150deg, #0b1215 10%, #14503f 100%) !important; color: #fff; box-shadow: var(--schaduw-2) !important; }
.kaart--top em { background: #fff; color: #0b1215; }
.kaart__label { justify-self: start; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--o1); color: #0b1215; font-size: 12px; font-weight: 600; }
.kaart--top { align-content: space-between; }
@media (prefers-reduced-motion: no-preference) {
	.kaart { animation: kaart-binnen 0.6s var(--uit) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
	.kaart em { transition: transform 0.4s var(--veer); }
	.kaart:active em { transform: translateX(4px); }
}
@keyframes kaart-binnen { from { opacity: 0; transform: translateX(22px); } }
