/* NOBEARS TV, in NOBEARS-stijl. De lettertypes worden in de pagina zelf geladen (BB Inter, BB Inter Tight). */

:root {
	--ink: #111113;
	--ink-2: #3a3a40;
	--muted: #5e5f6b;
	--faint: #91939f;
	--cream: #f3f3f5; /* achtergrond van de beheeromgeving: licht grijs (was beige #f9f2e9) */
	--cream-2: #e9e9ec;
	--white: #ffffff;
	--line: rgba(17, 17, 19, 0.12);
	--line-strong: rgba(17, 17, 19, 0.24);
	/* Merkkleur van NOBEARS (voor de openbare pagina's) */
	--coral: #f65c46;
	/* Foutmeldingen en storingen blijven rood */
	--coral-strong: #d9361f;
	--rood: #e0442e;
	/* Accent van de beheeromgeving: in te stellen bij Instellingen › Uiterlijk */
	--accent: #10b981;
	--accent-2: #1d6fd8;
	--accent-tekst: #ffffff;
	--accent-verloop: linear-gradient(120deg, var(--accent), var(--accent-2));
	--accent-zacht: color-mix(in srgb, var(--accent) 10%, #ffffff);
	--accent-donker: color-mix(in srgb, var(--accent-2) 70%, #111113);
	--green: #00a65c;
	--forest: #194731;
	--sand: #f7c27a;

	--display: "BB Inter Tight", "Inter Tight", "BB Inter", system-ui, sans-serif;
	--body: "BB Inter", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--r-sm: 8px;
	--r-md: 12px;
	--r-lg: 18px;
	--r-xl: 24px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body.bb-body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--body);
	font-size: 15px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

.bb-body a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.bb-body a:hover { color: var(--coral-strong); }
.bb-body :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bb-body code { font-family: var(--mono); font-size: 0.86em; background: var(--cream-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }

.bb-icoon { width: 18px; height: 18px; flex: none; }

.bb-laden { padding: 48px; color: var(--muted); }

/* ---------- merk ---------- */

.bb-merk { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.bb-merk__scherm {
	position: relative;
	width: 34px; height: 26px;
	border-radius: 8px;
	background: var(--ink);
	display: grid; place-items: center;
}
.bb-merk__scherm::after {
	content: ""; position: absolute; left: 50%; bottom: -5px;
	width: 14px; height: 3px; margin-left: -7px; border-radius: 2px; background: var(--ink);
}
.bb-merk__scherm span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.bb-merk__naam { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }

/* ---------- login ---------- */

.bb-login { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; }
.bb-login__kaart {
	width: 100%; max-width: 480px;
	background: var(--white);
	border-radius: var(--r-xl);
	padding: 40px;
	box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(17, 17, 19, 0.25);
}
.bb-login__kop { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.04; letter-spacing: -0.03em; margin: 28px 0 12px; }
.bb-login__tekst { color: var(--muted); margin: 0 0 28px; font-size: 16px; }
.bb-login__beheer { display: inline-block; margin-top: 24px; font-size: 13px; color: var(--muted) !important; }

/* ---------- knoppen ---------- */

.bb-knop {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 42px; padding: 0 18px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font: 600 14px/1 var(--body);
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.bb-knop:hover { border-color: var(--ink); }
.bb-knop:active { transform: translateY(1px); }
.bb-knop:disabled { opacity: 0.45; cursor: not-allowed; }
.bb-knop--primair { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.bb-knop--primair:hover { background: #2c2c32; border-color: #2c2c32; color: var(--white); }
.bb-knop--ghost { background: transparent; }
.bb-knop--klein { height: 34px; padding: 0 14px; font-size: 13px; }
.bb-knop--breed { width: 100%; }
.bb-knop--groot { height: 52px; padding: 0 24px; font-size: 16px; width: 100%; }
.bb-knop--gevaar { color: var(--coral-strong); border-color: transparent; }
.bb-knop--gevaar:hover { border-color: var(--coral-strong); color: var(--coral-strong); }
.bb-knop--google { background: var(--white); color: var(--ink) !important; }
.bb-knop--google:hover { background: var(--cream); color: var(--ink) !important; }

.bb-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; cursor: pointer; }
.bb-link:hover { color: var(--coral-strong); }

.bb-icoonknop { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--ink); }
.bb-icoonknop:hover { background: var(--cream-2); }

/* ---------- meldingen ---------- */

.bb-melding { padding: 12px 16px; border-radius: var(--r-md); background: var(--cream-2); margin: 0 0 20px; font-size: 14px; }
.bb-melding--fout { background: var(--accent-zacht); color: #8a1d0e; }
.bb-melding--let-op { background: #fcefdc; margin-top: 12px; }

.bb-toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 100;
	transform: translateX(-50%);
	background: var(--ink); color: var(--cream);
	padding: 12px 20px; border-radius: 999px;
	font-weight: 600; font-size: 14px;
	box-shadow: 0 12px 40px -12px rgba(17, 17, 19, 0.5);
	animation: bb-in 0.3s var(--ease);
	transition: opacity 0.3s, transform 0.3s var(--ease);
}
.bb-toast--fout { background: var(--coral-strong); color: var(--white); }
.bb-toast.is-weg { opacity: 0; transform: translate(-50%, 8px); }
@keyframes bb-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- layout ---------- */

.bb-app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }

.bb-zij {
	--zij-tekst: rgba(249, 242, 233, 0.72);
	--zij-zacht: rgba(249, 242, 233, 0.42);
	--zij-lijn: rgba(249, 242, 233, 0.14);
	position: sticky; top: 0; height: 100vh;
	display: flex; flex-direction: column;
	padding: 26px 14px 16px;
	background: var(--ink);
	color: var(--cream);
	overflow-y: auto;
}
.bb-zij .bb-merk { padding: 0 12px 26px; color: var(--cream); }
.bb-zij .bb-merk__scherm, .bb-zij .bb-merk__scherm::after { background: var(--cream); }

.bb-nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }
/* Kopje met een onderbroken lijn, zoals de lijnen in Universum en het label op de schermen. */
.bb-nav__kop {
	display: flex; align-items: center; gap: 10px;
	margin: 22px 12px 8px;
	font-size: 12px; font-weight: 600; color: var(--zij-zacht);
}
.bb-nav__kop::after {
	content: ""; flex: 1; height: 1px;
	background: linear-gradient(90deg, var(--zij-lijn) 0 64%, transparent 64% 70%, var(--zij-lijn) 70% 84%, transparent 84% 90%, var(--zij-lijn) 90% 92%, transparent 92%);
}
.bb-nav__link {
	position: relative;
	display: flex; align-items: center; gap: 11px;
	padding: 8px 12px; border-radius: var(--r-sm);
	color: var(--zij-tekst) !important; text-decoration: none; font-weight: 500;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.bb-nav__link .bb-icoon { width: 17px; height: 17px; opacity: 0.8; }
.bb-nav__link:hover { background: rgba(249, 242, 233, 0.06); color: var(--cream) !important; }
.bb-nav__link.is-actief { background: rgba(249, 242, 233, 0.09); color: var(--cream) !important; font-weight: 600; }
.bb-nav__link.is-actief .bb-icoon { color: var(--accent); opacity: 1; }
.bb-nav__link.is-actief::before {
	content: ""; position: absolute; left: -8px; top: 50%;
	width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent);
}
.bb-nav__tekst { flex: 1; }
.bb-nav__aantal { font-size: 12px; color: var(--zij-zacht); font-variant-numeric: tabular-nums; }

.bb-ik { display: flex; align-items: center; gap: 10px; padding: 14px 12px 4px; border-top: 1px solid var(--zij-lijn); margin-top: 16px; }
.bb-ik__foto { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.bb-ik__foto--leeg { display: grid; place-items: center; background: var(--accent); color: var(--white); font-weight: 700; font-size: 13px; }
.bb-ik__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bb-ik__versie { font-size: 11px; color: var(--zij-zacht); font-variant-numeric: tabular-nums; }
.bb-versie { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 14px; }
.bb-versie__label { font-size: 13px; color: var(--grijs, #6b6560); }
.bb-versie__nummer { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.bb-ik__naam { flex: 1; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cream); }
.bb-ik__uit { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--zij-zacht) !important; }
.bb-ik__uit:hover { background: rgba(249, 242, 233, 0.08); color: var(--accent) !important; }

.bb-hoofd { padding: 36px 48px 80px; min-width: 0; max-width: 1560px; }

.bb-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.bb-kop__titel { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.035em; margin: 0; }
.bb-kop__uitleg { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }
.bb-kop__acties { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.bb-terug { margin-bottom: 14px; }
.bb-terug__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted) !important; text-decoration: none; }
.bb-terug__link:hover { color: var(--ink) !important; }

/* ---------- invoer ---------- */

.bb-invoer {
	width: 100%; min-height: 42px;
	padding: 9px 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-md);
	background: var(--white);
	color: var(--ink);
	font: 400 15px/1.4 var(--body);
}
.bb-invoer:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.bb-invoer--tekst { min-height: 96px; resize: vertical; }
.bb-invoer--mono { font-family: var(--mono); font-size: 13px; }
.bb-invoer--klein { width: auto; min-width: 140px; }
.bb-invoer--datum { width: auto; }
select.bb-invoer { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111113' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

.bb-veld { margin-bottom: 18px; }
.bb-veld__label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.bb-veld__hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.bb-veld__leeg { margin: 0; font-size: 14px; color: var(--muted); }

.bb-schakel { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 14px; }
.bb-schakel__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bb-schakel__baan { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--line-strong); transition: background 0.2s; flex: none; }
.bb-schakel__baan::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform 0.25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.bb-schakel__input:checked + .bb-schakel__baan { background: var(--accent-verloop); }
.bb-schakel__input:checked + .bb-schakel__baan::after { transform: translateX(16px); background: #fff; }
.bb-schakel__input:focus-visible + .bb-schakel__baan { outline: 3px solid var(--accent); outline-offset: 2px; }

.bb-segmenten { display: flex; padding: 3px; border-radius: 999px; background: var(--cream-2); gap: 2px; }
.bb-segment { flex: 1; height: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; font: 500 13px/1 var(--body); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.bb-segment:hover { color: var(--ink); }
.bb-segment.is-actief { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(17, 17, 19, 0.12); }

.bb-datumkiezer { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.bb-datumkiezer__label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--muted); }
.bb-datumvak { margin-bottom: 18px; }

/* ---------- schermen ---------- */

.bb-tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; }
.bb-tegel { display: block; text-decoration: none; color: var(--ink) !important; }
.bb-tegel__beeld {
	position: relative; aspect-ratio: 16 / 9;
	border-radius: var(--r-md); overflow: hidden;
	background: var(--cream-2);
	box-shadow: 0 1px 0 var(--line), 0 16px 32px -24px rgba(17, 17, 19, 0.45);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.bb-tegel:hover .bb-tegel__beeld { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 24px 40px -22px rgba(17, 17, 19, 0.5); }
.bb-tegel__canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s; }
.bb-tegel__canvas.is-klaar { opacity: 1; }
.bb-tegel__onder { display: flex; flex-direction: column; gap: 2px; padding: 12px 2px 0; }
.bb-tegel__naam { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; }
.bb-tegel__naam .bb-icoon { color: var(--accent); }
.bb-tegel__status { font-size: 13px; color: var(--muted); padding-left: 26px; }
.bb-tegel.is-leeg .bb-tegel__status { color: var(--faint); }

/* ---------- editor ---------- */

.bb-editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.bb-voorbeeld { position: sticky; top: 24px; }
.bb-voorbeeld__lijst {
	border-radius: var(--r-lg); overflow: hidden;
	background: var(--ink);
	box-shadow: 0 0 0 10px var(--ink), 0 30px 60px -30px rgba(17, 17, 19, 0.6);
	margin: 10px;
}
.bb-voorbeeld__canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.bb-voorbeeld__status { margin: 22px 10px 0; color: var(--muted); font-size: 14px; }

.bb-paneel { background: var(--white); border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line); }
.bb-paneel__sectie { padding: 22px 22px 6px; border-top: 1px solid var(--line); }
.bb-paneel__sectie:first-child { border-top: 0; }
.bb-paneel__kop { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; margin: 0 0 16px; }

.bb-kieslijst { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; }
.bb-kieslijst__balk { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--cream); font-size: 13px; font-weight: 600; }
.bb-kieslijst__items { max-height: 240px; overflow-y: auto; }
.bb-kies { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); cursor: pointer; }
.bb-kies:hover { background: var(--cream); }
.bb-kies input { accent-color: var(--accent); width: 16px; height: 16px; flex: none; margin: 0; }
.bb-kies__beeld { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: none; }
.bb-kies__beeld--leeg { display: grid; place-items: center; background: var(--cream-2); color: var(--faint); }
.bb-kies__beeld--leeg .bb-icoon { width: 16px; height: 16px; }
.bb-kies__tekst { min-width: 0; display: flex; flex-direction: column; }
.bb-kies__titel { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-kies__meta { font-size: 12px; color: var(--faint); }

.bb-themas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.bb-thema { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); cursor: pointer; font: 500 12px/1.2 var(--body); color: var(--ink-2); text-align: left; }
.bb-thema:hover { border-color: var(--line-strong); }
.bb-thema.is-actief { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); font-weight: 600; }
.bb-thema__staal { position: relative; width: 100%; height: 34px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.bb-thema__staal span { position: absolute; left: 8px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; }

.bb-download { padding-bottom: 16px; }
.bb-download > .bb-veld__hint { margin: 8px 0 16px; }
.bb-download__video { display: flex; gap: 8px; }
.bb-download__video .bb-knop { flex: 1; }
.bb-voortgang { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding: 14px; border-radius: var(--r-md); background: var(--cream); font-size: 13px; }
.bb-voortgang[hidden] { display: none; }
.bb-voortgang__baan { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bb-voortgang__balk { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s linear; }
.bb-voortgang .bb-link { align-self: flex-start; }

/* ---------- gegevens ---------- */

.bb-zoek { position: relative; }
.bb-zoek .bb-icoon { position: absolute; left: 12px; top: 50%; margin-top: -9px; color: var(--faint); }
.bb-invoer--zoek { width: 240px; padding-left: 38px; border-radius: 999px; }

.bb-lijst { background: var(--white); border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.bb-lijst:empty { display: none; }
.bb-lijst__niets { padding: 28px; margin: 0; color: var(--muted); }
.bb-rij {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 18px; align-items: center; gap: 16px;
	width: 100%; padding: 12px 20px;
	border: 0; border-top: 1px solid var(--line); background: transparent;
	font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.bb-rij:first-child { border-top: 0; }
.bb-rij:hover { background: var(--cream); }
.bb-rij.is-verleden { opacity: 0.5; }
.bb-rij__beeld { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.bb-rij__beeld.is-rond { border-radius: 50%; }
.bb-rij__beeld--leeg { display: grid; place-items: center; background: var(--cream-2); color: var(--faint); }
.bb-rij__tekst { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bb-rij__titel { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-rij__sub { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-rij__meta { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bb-rij__actie { color: var(--faint); width: 16px; height: 16px; }
.bb-rij:hover .bb-rij__actie { color: var(--accent); }

.bb-leeg { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 64px 24px; text-align: center; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line); }
.bb-leeg__icoon { width: 36px; height: 36px; color: var(--accent); }
.bb-leeg__tekst { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- modal ---------- */

.bb-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(17, 17, 19, 0.42); animation: bb-fade 0.2s; }
@keyframes bb-fade { from { opacity: 0; } }
.bb-modal__paneel { width: 100%; max-width: 720px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-xl); box-shadow: 0 40px 80px -30px rgba(17, 17, 19, 0.5); animation: bb-op 0.3s var(--ease); }
@keyframes bb-op { from { transform: translateY(14px); opacity: 0; } }
.bb-modal__kop { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px 28px; }
.bb-modal__titel { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.025em; margin: 0; }
.bb-modal__inhoud { padding: 12px 28px 8px; overflow-y: auto; }
.bb-modal__voet { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 20px 20px 28px; border-top: 1px solid var(--line); }
.bb-modal__voet > .bb-knop--primair { margin-left: auto; }
.bb-modal__voet .bb-vul + .bb-knop, .bb-modal__voet .bb-vul + a { margin-left: 0; }

/* Formulieren in twee kolommen: velden met bb-veld--half staan naast elkaar. */
.bb-formulier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.bb-formulier > * { grid-column: 1 / -1; }
.bb-formulier > .bb-veld--half { grid-column: auto; }
@media (max-width: 640px) {
	.bb-formulier { grid-template-columns: 1fr; }
	.bb-formulier > .bb-veld--half { grid-column: 1 / -1; }
}
.bb-vul { flex: 1; }

.bb-upload { position: relative; border-radius: var(--r-md); }
.bb-upload.is-bezig { opacity: 0.5; pointer-events: none; }
.bb-upload.is-slepen .bb-upload__leeg { border-color: var(--accent); background: var(--accent-zacht); }
.bb-upload__leeg { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); background: var(--cream); font: 500 14px/1.4 var(--body); color: var(--ink-2); cursor: pointer; }
.bb-upload__leeg:hover { border-color: var(--ink); }
.bb-upload__leeg .bb-icoon { width: 24px; height: 24px; color: var(--accent); }
.bb-upload__klein { font-size: 12px; color: var(--faint); }
.bb-upload__beeld { display: block; max-width: 100%; max-height: 200px; border-radius: var(--r-md); background: repeating-conic-gradient(var(--cream-2) 0 25%, var(--white) 0 50%) 0 0 / 16px 16px; }
.bb-upload__knoppen { display: flex; gap: 8px; margin-top: 10px; }

/* ---------- instellingen ---------- */

.bb-instellingen { max-width: 820px; }
.bb-kaart { background: var(--white); border-radius: var(--r-lg); padding: 28px; margin-bottom: 20px; box-shadow: 0 1px 0 var(--line); }
.bb-kaart__kop { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 18px; }
.bb-stappen { margin: 0 0 24px; padding-left: 20px; color: var(--ink-2); }
.bb-stappen li { margin-bottom: 8px; }
.bb-kopieer { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.bb-twee { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.bb-kleuren { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 20px; }
.bb-kleur { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.bb-kleur input { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.bb-kleur input::-webkit-color-swatch-wrapper { padding: 0; }
.bb-kleur input::-webkit-color-swatch { border: 1px solid var(--line); border-radius: 8px; }
.bb-kleur__naam { font-weight: 600; font-size: 14px; flex: 1; }
.bb-kleur__hex { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bb-adres { display: flex; align-items: center; gap: 4px; }
.bb-adres__basis { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.bb-bewaarbalk { position: sticky; bottom: 16px; display: flex; justify-content: flex-end; }
.bb-bewaarbalk .bb-knop { box-shadow: 0 12px 30px -12px rgba(17, 17, 19, 0.6); }

/* ---------- beweging, galerij, import ---------- */

.bb-bewegingen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.bb-beweging { display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); cursor: pointer; font: 500 12px/1.2 var(--body); color: var(--ink-2); text-align: left; }
.bb-beweging:hover { border-color: var(--line-strong); }
.bb-beweging.is-actief { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); font-weight: 600; }
.bb-beweging__mini { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; }

.bb-galerij { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bb-galerij.is-bezig { opacity: 0.55; pointer-events: none; }
.bb-galerij.is-slepen { outline: 2px dashed var(--accent); outline-offset: 4px; border-radius: var(--r-md); }
.bb-galerij__item { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--cream-2); }
.bb-galerij__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-galerij__acties { position: absolute; top: 4px; right: 4px; display: flex; gap: 4px; opacity: 0; transition: opacity 0.2s; }
.bb-galerij__item:hover .bb-galerij__acties, .bb-galerij__item:focus-within .bb-galerij__acties { opacity: 1; }
.bb-galerij__knop { width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(17, 17, 19, 0.75); color: var(--cream); cursor: pointer; }
.bb-galerij__knop .bb-icoon { width: 14px; height: 14px; }
.bb-galerij__nieuw { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--cream); font: 500 12px var(--body); color: var(--ink-2); cursor: pointer; }
.bb-galerij__nieuw:hover { border-color: var(--ink); }
.bb-galerij__nieuw .bb-icoon { color: var(--accent); }

.bb-modal__paneel--breed { max-width: 980px; }
.bb-import__uitleg { margin: 0 0 8px; color: var(--ink-2); }
.bb-import .bb-link { display: inline-block; margin-bottom: 18px; }
.bb-bestandskeuze { font: inherit; font-size: 14px; color: var(--muted); max-width: 100%; }
.bb-bestandskeuze::file-selector-button {
	margin-right: 12px; height: 38px; padding: 0 16px;
	border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white);
	font: 600 13px var(--body); color: var(--ink); cursor: pointer;
}
.bb-bestandskeuze::file-selector-button:hover { border-color: var(--ink); }
.bb-import__tabel { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-md); margin-top: 8px; }
.bb-import__tabel:empty { display: none; }
.bb-tabel { width: 100%; border-collapse: collapse; font-size: 13px; }
.bb-tabel th { position: sticky; top: 0; background: var(--cream); text-align: left; font-weight: 600; padding: 8px 10px; }
.bb-tabel td { padding: 7px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.bb-tabel tr.is-fout td, .bb-tabel td.is-fout { color: #8a1d0e; }
.bb-tabel__fout { display: block; font-size: 12px; }

/* ---------- YoDeck ---------- */

.bb-kaart__intro { margin: -8px 0 16px; }
.bb-linkregel { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.bb-linkregel code { flex: 1; min-width: 240px; padding: 10px 12px; }
.bb-afspeellijst { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 18px; overflow: hidden; }
.bb-afspeel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 6px 8px 6px 14px; border-top: 1px solid var(--line); }
.bb-afspeel:first-child { border-top: 0; }
.bb-afspeel.is-uit { background: var(--cream); }
.bb-afspeel.is-uit .bb-afspeel__kies, .bb-afspeel.is-uit .bb-afspeel__status { opacity: 0.5; }
.bb-afspeel__kies { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.bb-afspeel__kies input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.bb-afspeel__kies .bb-icoon { color: var(--accent); }
.bb-afspeel__status { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-afspeel__status.is-leeg { color: var(--faint); font-style: italic; }
.bb-afspeel__pijlen { display: flex; }
.bb-afspeel__pijlen .bb-icoonknop { width: 32px; height: 32px; }
.bb-afspeel__pijlen .bb-icoonknop:disabled { opacity: 0.25; cursor: default; }
.bb-invoer--mini { width: auto; min-height: 34px; padding: 5px 30px 5px 10px; font-size: 13px; background-position: right 10px center; }
.bb-bewaarbalk--los { position: static; margin-top: 8px; }
.bb-losse-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.bb-losse-link { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 600; font-size: 14px; }
.bb-losse-link > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-losse-link .bb-knop { flex: none; }
.bb-losse-link > .bb-icoon { color: var(--accent); }

/* ---------- locaties, displays, bewegingen ---------- */

.bb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.bb-chip input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.bb-chip:has(input:checked) { border-color: var(--ink); background: var(--cream); font-weight: 600; }

.bb-instellingen--breed { max-width: 1040px; }
.bb-displays.bb-lijst { box-shadow: none; border: 1px solid var(--line); }
.bb-display { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line); }
.bb-display:first-child { border-top: 0; }
.bb-display__stip { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.bb-display__stip.is-online { background: var(--green); box-shadow: 0 0 0 4px rgba(0, 166, 92, 0.18); }
.bb-display__stip.is-nieuw { background: transparent; border: 2px solid var(--faint); }
.bb-display__tekst { display: flex; flex-direction: column; min-width: 0; }
.bb-display__naam { font-weight: 600; font-size: 15px; }
.bb-display__sub { font-size: 13px; color: var(--muted); }
.bb-display__status { font-size: 13px; color: var(--muted); white-space: nowrap; }
.bb-display__status.is-online { color: var(--green); font-weight: 600; }
.bb-display__acties { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.bb-stappen__vrij { list-style: none; margin-left: -20px; }
.bb-installeer .bb-linkregel code { font-size: 12px; }

.bb-locatie { display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 0.8fr) minmax(0, 0.8fr) auto auto 38px; gap: 8px; align-items: center; margin-bottom: 8px; }
.bb-locatie--kop { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.bb-locatie__zoekruimte { width: 82px; }
.bb-locaties > .bb-knop { margin-top: 4px; }

.bb-bewegingen-editor { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
.bb-bewegingen-editor .bb-voorbeeld__lijst { margin: 10px; box-shadow: 0 0 0 8px var(--ink); }
.bb-bediening { display: flex; flex-direction: column; gap: 14px; }
.bb-bediening .bb-bewegingen { margin-bottom: 0; }
.bb-schuif { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin-bottom: 14px; }
.bb-schuif__label { font-weight: 600; font-size: 14px; }
.bb-schuif__waarde { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
.bb-schuif__invoer { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.bb-bediening > .bb-knop { align-self: flex-start; }

/* ---------- planning en afspeellijsten ---------- */

.bb-kaart__balk { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bb-kaart__balk .bb-kaart__kop { margin: 0; }
.bb-invoer--code { font-family: var(--mono); font-size: 28px; letter-spacing: 0.12em; text-transform: uppercase; max-width: 240px; }

.bb-lijstkaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bb-lijstkaart { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 132px; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); text-align: left; font: inherit; color: var(--ink); cursor: pointer; overflow: hidden; transition: border-color 0.2s, transform 0.2s var(--ease); }
.bb-lijstkaart:hover { border-color: var(--ink); transform: translateY(-2px); }
.bb-lijstkaart__kleur { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.bb-lijstkaart__naam { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; }
.bb-lijstkaart__sub { font-size: 13px; color: var(--muted); }
.bb-lijstkaart__items { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 10px; }
.bb-lijstkaart__items img, .bb-lijstkaart__ico, .bb-lijstkaart__video { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; display: grid; place-items: center; background: var(--cream-2); color: var(--accent); }
.bb-lijstkaart__items .bb-icoon { width: 14px; height: 14px; }
.bb-lijstkaart--nieuw { align-items: center; justify-content: center; border-style: dashed; border-width: 1.5px; background: var(--cream); color: var(--ink-2); font-weight: 600; }
.bb-lijstkaart--nieuw .bb-icoon { color: var(--accent); }

.bb-regels { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-regels > .bb-veld__hint { margin: 0; padding: 16px; }
.bb-regel { display: grid; grid-template-columns: 22px 12px minmax(0, 1fr) auto auto 38px; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-top: 1px solid var(--line); }
.bb-regel:first-child { border-top: 0; }
.bb-regel.is-uit { background: var(--cream); }
.bb-regel.is-uit .bb-regel__tekst { opacity: 0.5; }
.bb-regel__nr { font-family: var(--mono); font-size: 12px; color: var(--faint); text-align: right; }
.bb-regel__stip { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.bb-regel__tekst { display: flex; flex-direction: column; min-width: 0; }
.bb-regel__naam { font-weight: 600; font-size: 15px; }
.bb-regel__sub { font-size: 13px; color: var(--muted); }
.bb-schakel--klein .bb-schakel__baan { width: 34px; height: 20px; }
.bb-schakel--klein .bb-schakel__baan::after { width: 14px; height: 14px; }
.bb-schakel--klein .bb-schakel__input:checked + .bb-schakel__baan::after { transform: translateX(14px); }

.bb-week__balk { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bb-week__balk .bb-veld__hint { margin: 0; }
.bb-week { display: grid; grid-template-columns: 56px repeat(48, minmax(0, 1fr)); gap: 3px 0; overflow-x: auto; }
.bb-week__hoek { grid-column: 1; }
.bb-week__uur { font-family: var(--mono); font-size: 11px; color: var(--faint); padding-bottom: 4px; }
.bb-week__dag { grid-column: 1; font-size: 12px; font-weight: 600; color: var(--muted); align-self: center; }
.bb-week__vak { height: 26px; min-width: 6px; }
.bb-week__vak.is-uit { background-image: repeating-linear-gradient(45deg, transparent 0 4px, rgba(255,255,255,0.08) 4px 6px); }
.bb-legenda { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; font-weight: 500; }
.bb-legenda__item { display: inline-flex; align-items: center; gap: 8px; }

.bb-tijdvak { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bb-tijdvak span { color: var(--muted); font-size: 14px; }
.bb-chip--dag { min-width: 58px; justify-content: center; }
.bb-chips .bb-link { align-self: center; }

.bb-kleurkeuze { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.bb-kleurkeuze__knop { width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.bb-kleurkeuze__knop.is-actief { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }

.bb-lijsteditor__kop { font-family: var(--display); font-weight: 700; font-size: 16px; margin: 20px 0 10px; }
.bb-lijstitems { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-lijstitems:empty { display: none; }
.bb-lijstitem { display: grid; grid-template-columns: 18px 22px 96px minmax(0, 1fr) auto auto auto 38px; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-top: 1px solid var(--line); background: var(--white); }
.bb-lijstitem:first-child { border-top: 0; }
.bb-lijstitem.is-slepen { opacity: 0.4; }
.bb-lijstitem.is-doel { box-shadow: inset 0 3px 0 var(--accent); }
.bb-lijstitem__greep { color: var(--faint); cursor: grab; display: grid; }
.bb-lijstitem__beeld { width: 96px; height: 54px; border-radius: 6px; object-fit: cover; background: var(--ink); display: block; }
.bb-lijstitem__naam { display: flex; flex-direction: column; font-weight: 600; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bb-lijstitem__soort { font-weight: 500; font-size: 12px; color: var(--muted); }
.bb-schermkeuze { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.bb-schermkeuze__knop { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font: 500 13px var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.bb-schermkeuze__knop span { flex: 1; }
.bb-schermkeuze__knop .bb-icoon { color: var(--accent); width: 16px; height: 16px; }
.bb-schermkeuze__knop:hover { border-color: var(--ink); background: var(--cream); }
.bb-schermkeuze__plus { opacity: 0.4; }
.bb-lijsteditor__media { display: flex; align-items: center; gap: 12px; margin-top: 12px; }

/* ---------- inlogscherm met animatie ---------- */

.bb-body--intro { background: var(--ink); }
.bb-intro { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: var(--ink); color: var(--cream); }
.bb-intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bb-intro__midden { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.bb-intro__logo { display: block; max-width: min(32vmin, 360px); max-height: 14vmin; animation: bb-intro-in 1.4s var(--ease) both; }
.bb-intro__merknaam { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 5.6vmin, 72px); letter-spacing: -0.035em; line-height: 1; animation: bb-intro-in 1.4s var(--ease) both; }
@keyframes bb-intro-in { from { opacity: 0; transform: translateY(10px); } }
.bb-intro__onder { position: absolute; left: 0; right: 0; bottom: max(40px, 7vh); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 20px; text-align: center; animation: bb-intro-in 1.4s 0.4s var(--ease) both; }
.bb-intro__knop {
	display: inline-flex; align-items: center; gap: 12px;
	height: 54px; padding: 0 28px; border-radius: 999px;
	background: var(--cream); color: var(--ink) !important;
	font: 600 16px/1 var(--body); text-decoration: none;
	transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.bb-intro__knop:hover { background: var(--white); transform: translateY(-1px); }
.bb-intro__beheer { font-size: 13px; color: rgba(249, 242, 233, 0.45) !important; text-decoration: none; }
.bb-intro__beheer:hover { color: var(--cream) !important; }
.bb-intro__melding { margin: 0; max-width: 420px; padding: 10px 16px; border-radius: var(--r-md); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--cream); font-size: 14px; }

/* ---------- speler voor YoDeck ---------- */

.bb-body--speler { margin: 0; background: #000; overflow: hidden; cursor: none; }
.bb-body--speler *, .bb-body--speler canvas { cursor: none !important; }
.bb-speler { position: fixed; inset: 0; width: 100vw; height: 100vh; object-fit: contain; display: block; background: #000; }

/* ---------- smal ---------- */

@media (max-width: 1180px) {
	.bb-editor { grid-template-columns: 1fr; }
	.bb-voorbeeld { position: static; }
}

@media (max-width: 860px) {
	.bb-app { grid-template-columns: 1fr; }
	.bb-hoofd { padding: 24px 18px 64px; }
	.bb-kop__titel { font-size: 34px; }
	.bb-twee, .bb-kleuren { grid-template-columns: 1fr; }
	.bb-rij { grid-template-columns: 40px minmax(0, 1fr) 18px; }
	.bb-rij__meta { display: none; }
	.bb-rij__beeld { width: 40px; height: 40px; }
	.bb-regel { grid-template-columns: 12px minmax(0, 1fr) auto; }
	.bb-regel__nr, .bb-regel .bb-afspeel__pijlen { display: none; }
	.bb-lijstitem { grid-template-columns: 64px minmax(0, 1fr) auto 38px; }
	.bb-lijstitem__greep, .bb-lijstitem .bb-regel__nr, .bb-lijstitem .bb-afspeel__pijlen, .bb-lijstitem select:first-of-type:not(:last-of-type) { display: none; }
	.bb-lijstitem__beeld { width: 64px; height: 36px; }
	.bb-display { grid-template-columns: 14px 1fr; }
	.bb-display__status, .bb-display__acties { grid-column: 2; justify-content: flex-start; }
	.bb-locatie { grid-template-columns: 1fr 1fr; }
	.bb-bewegingen-editor { grid-template-columns: 1fr; }
	.bb-afspeel { grid-template-columns: 1fr auto; }
	.bb-afspeel__status { display: none; }
	.bb-invoer--zoek { width: 100%; }
}

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

.bb-upload__fout { margin: 10px 0 0; }

/* ---------- eigen schermen en de ontwerper ---------- */

.bb-sectiekop { margin: 48px 0 20px; }
.bb-sectiekop__titel { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.025em; margin: 0; }
.bb-tegel--nieuw .bb-tegel__beeld { display: grid; place-items: center; background: var(--cream); border: 1.5px dashed var(--line-strong); box-shadow: none; }
.bb-tegel__plus { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.bb-tegel__plus .bb-icoon { width: 28px; height: 28px; color: var(--accent); }

.bb-ont-balk { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.bb-ont-naam { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; border: 1px solid transparent; border-radius: var(--r-md); background: transparent; padding: 4px 10px; margin-left: -10px; min-width: 0; width: min(560px, 60vw); color: var(--ink); }
.bb-ont-naam:hover { border-color: var(--line); }
.bb-ont-naam:focus { outline: none; border-color: var(--ink); background: var(--white); }
.bb-ont-status { font-size: 13px; color: var(--muted); white-space: nowrap; }
.bb-ont-status.is-vuil { color: var(--coral-strong); font-weight: 600; }

.bb-ont { display: grid; grid-template-columns: 196px minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.bb-ont-lagen, .bb-ont-eigenschappen { background: var(--white); border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line); padding: 16px; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
.bb-ont-kop { font-size: 12px; font-weight: 600; color: var(--muted); margin: 4px 0 10px; }
.bb-ont-kop + .bb-ont-toevoegen { margin-bottom: 18px; }
.bb-ont-toevoegen { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bb-ont-toevoegen__knop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font: 500 12px var(--body); color: var(--ink); cursor: pointer; }
.bb-ont-toevoegen__knop:hover { border-color: var(--ink); background: var(--cream); }
.bb-ont-toevoegen__knop .bb-icoon { color: var(--accent); }
.bb-ont-lagen__lijst { display: flex; flex-direction: column; gap: 2px; }
.bb-ont-laag { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--r-sm); cursor: pointer; font-size: 13px; user-select: none; }
.bb-ont-laag:hover { background: var(--cream); }
.bb-ont-laag.is-gekozen { background: var(--ink); color: var(--cream); }
.bb-ont-laag.is-gekozen .bb-icoon { color: var(--accent); }
.bb-ont-laag.is-verborgen .bb-ont-laag__naam { opacity: 0.45; text-decoration: line-through; }
.bb-ont-laag.is-slepen { opacity: 0.4; }
.bb-ont-laag.is-doel { box-shadow: inset 0 2px 0 var(--accent); }
.bb-ont-laag input { accent-color: var(--accent); margin: 0; }
.bb-ont-laag .bb-icoon { width: 15px; height: 15px; flex: none; }
.bb-ont-laag__naam { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bb-ont-podium .bb-voorbeeld__lijst { margin: 10px; }
.bb-ont-stage { position: relative; }
.bb-ont-overlay { position: absolute; inset: 0; cursor: default; touch-action: none; }
.bb-ont-el { position: absolute; outline: 1px dashed transparent; cursor: move; }
.bb-ont-el:hover { outline-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.bb-ont-el.is-beweging { border-radius: 50%; }
.bb-ont-el.is-gekozen { outline: 2px solid var(--accent); outline-offset: 0; }
.bb-ont-hoek { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 3px; background: var(--white); border: 2px solid var(--accent); cursor: nwse-resize; }
.bb-ont-gids { position: absolute; pointer-events: none; background: #3b6fd8; }
.bb-ont-gids--x { top: 0; bottom: 0; width: 1px; }
.bb-ont-gids--y { left: 0; right: 0; height: 1px; }
.bb-ont-tip { margin: 18px 10px 0; }

.bb-ont-paneel__kop { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; }
.bb-ont-paneel__kop .bb-icoon { color: var(--accent); }
.bb-ont-paneel__kop .bb-link { margin-left: auto; }
.bb-ont-paneel .bb-segmenten { flex-wrap: wrap; border-radius: 12px; }
.bb-ont-paneel .bb-segment { flex: 1 1 auto; padding: 0 8px; font-size: 12px; }
.bb-ont-kleuren { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-ont-kleur { height: 32px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font: 500 12px var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.bb-ont-kleur.is-actief { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.bb-ont-kleur--eigen input { width: 18px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.bb-ont-kleurkiezer { width: 64px; height: 38px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: none; }
.bb-ont-maten { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.bb-ont-getal { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.bb-ont-acties { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.bb-ont-acties .bb-knop { padding: 0 10px; }
.bb-ont-media { display: flex; gap: 8px; align-items: center; }
.bb-ont-downloads { margin-top: 10px; padding-top: 4px; border-top: 1px solid var(--line); }
.bb-invoer--getal { width: 100%; min-height: 34px; padding: 5px 8px; font-family: var(--mono); font-size: 13px; }
.bb-schuif__getal { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.bb-schuif__getal .bb-invoer--getal { width: 84px; }

@media (max-width: 1280px) {
	.bb-ont { grid-template-columns: 200px minmax(0, 1fr); }
	.bb-ont-eigenschappen { grid-column: 1 / -1; position: static; max-height: none; }
}
@media (max-width: 860px) {
	.bb-ont { grid-template-columns: 1fr; }
	.bb-ont-lagen { position: static; max-height: none; }
}
.bb-formulier > .bb-veld--half:has(> .bb-schakel) { padding-top: 34px; }

/* ---------- links, iconen ---------- */

.bb-extern-uitleg { margin: 0 0 16px; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.bb-extern-uitleg li { margin-bottom: 4px; }
.bb-upload__knoppen .bb-upload__klein { align-self: center; }
.bb-upload__leeg + .bb-upload__knoppen { margin-top: 8px; }

.bb-icoonveld__knop { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.bb-icoonveld__knop:hover { border-color: var(--ink); }
.bb-icoonveld__voorbeeld { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: var(--cream); color: var(--accent); flex: none; }
.bb-icoonveld__tekst { flex: 1; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-icoonveld__wijzig { font-size: 13px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.bb-icoonkiezer .bb-invoer { margin-bottom: 6px; }
.bb-iconen__vast { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.bb-iconen { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; max-height: 46vh; overflow-y: auto; padding: 2px; }
.bb-icoonkeuze { display: grid; place-items: center; height: 52px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); cursor: pointer; }
.bb-icoonkeuze:hover { border-color: var(--ink); color: var(--accent); }
.bb-icoonkeuze.is-actief { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.bb-icoonkeuze--breed { display: inline-flex; gap: 10px; padding: 0 14px; height: 44px; font: 500 13px var(--body); }
.bb-icoonkeuze--breed svg, .bb-icoonkeuze--breed .bb-icoon { color: var(--accent); }

.bb-schermkeuze__knop.is-erin { opacity: 0.45; cursor: default; background: var(--cream); }
.bb-schermkeuze__knop.is-erin:hover { border-color: var(--line); }
.bb-lijsteditor__volgorde { margin-top: 22px; }

.bb-verjaardag { display: grid; grid-template-columns: minmax(74px, 0.9fr) minmax(0, 1.5fr) minmax(72px, 1fr); gap: 6px; }
.bb-verjaardag .bb-invoer { padding-left: 10px; padding-right: 26px; }

/* ---------- duur en pushen ---------- */

.bb-duur { display: inline-flex; align-items: center; gap: 6px; }
.bb-duur__eigen { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.bb-duur__eigen[hidden] { display: none; }
.bb-invoer--sec { width: 76px; min-height: 34px; padding: 5px 8px; font-family: var(--mono); font-size: 13px; }

.bb-pushknop { position: relative; overflow: hidden; min-width: 116px; }
.bb-pushknop.is-bezig { color: var(--muted); border-color: var(--line); background: var(--cream); opacity: 1; cursor: progress; }
.bb-pushknop.is-bezig::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--accent); transition: width 0.25s linear; }
.bb-pushknop.is-klaar { color: var(--green); border-color: var(--green); opacity: 1; }
.bb-pushknop--alle.is-bezig { color: var(--muted); background: var(--cream); cursor: progress; }

/* ---------- mobiele pagina's: stemmen en ideeën ---------- */

.bb-body--mobiel { background: var(--cream); }
.bb-mobiel { max-width: 560px; margin: 0 auto; padding: 22px 20px 48px; min-height: 100vh; min-height: 100dvh; }
.bb-mobiel__balk { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.bb-mobiel__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.bb-mobiel__label span { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.bb-mobiel__merk { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.bb-mobiel__kop { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 14px; }
.bb-mobiel__tekst { color: var(--ink-2); margin: 0 0 24px; font-size: 16px; }
.bb-mobiel__knop { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream) !important; font: 600 17px var(--body); text-decoration: none; cursor: pointer; }
.bb-mobiel__knop:disabled { background: var(--cream-2); color: var(--muted) !important; cursor: default; }
.bb-mobiel__veld { display: flex; flex-direction: column; gap: 8px; font-weight: 600; margin-bottom: 16px; }
.bb-mobiel__veld textarea { font: 400 16px/1.45 var(--body); padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); resize: vertical; }
.bb-mobiel__veld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(246, 92, 70, 0.25); }
.bb-mobiel__melding { min-height: 22px; margin: 12px 0 0; font-weight: 600; }
.bb-mobiel__melding.is-goed { color: var(--green); }
.bb-mobiel__melding.is-fout { color: var(--coral-strong); }
.bb-mobiel__klein { font-size: 13px; color: var(--muted); margin-top: 28px; }

.bb-stem__vraag { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.025em; margin: 0 0 20px; }
.bb-stem__keuzes { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.bb-stem__keuze {
	--p: 0; position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 120px; padding: 22px 24px; border: 0; border-radius: 26px;
	font: 800 26px/1.08 var(--display); letter-spacing: -0.02em; text-align: left; cursor: pointer;
	transition: transform 0.15s var(--ease);
}
.bb-stem__keuze:active { transform: scale(0.98); }
.bb-stem__keuze--a { background: var(--stem-a, var(--coral)); color: var(--stem-a-tekst, var(--ink)); }
.bb-stem__keuze--b { background: var(--stem-b, var(--ink)); color: var(--stem-b-tekst, var(--cream)); }
.bb-stem__keuze::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); background: rgba(0, 0, 0, 0.12); transition: width 0.6s var(--ease); }
.bb-stem__keuze--b::before { background: rgba(249, 242, 233, 0.12); }
.bb-stem__keuze.is-gestemd:not(.is-gekozen) { opacity: 0.72; }
.bb-stem__keuze.is-gekozen { box-shadow: 0 0 0 4px var(--cream), 0 0 0 7px var(--ink); }
.bb-stem__tekst, .bb-stem__pct { position: relative; }
.bb-stem__pct { font-size: 34px; flex: none; }
.bb-stem__of { align-self: center; font: 800 18px var(--display); color: var(--muted); }
.bb-stem__status { text-align: center; color: var(--ink-2); margin-top: 22px; min-height: 22px; }

/* ---------- ideeën in de app ---------- */

.bb-ideeen__balk { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.bb-ideeen__balk .bb-segmenten { width: 300px; }
.bb-idee { padding: 16px 20px; border-top: 1px solid var(--line); }
.bb-idee:first-child { border-top: 0; }
.bb-idee.is-nieuw { box-shadow: inset 4px 0 0 var(--accent); }
.bb-idee.is-gedaan { opacity: 0.6; }
.bb-idee__kop { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.bb-idee__mail { color: var(--muted) !important; font-size: 13px; }
.bb-idee__tijd { margin-left: auto; font-size: 13px; color: var(--faint); }
.bb-idee__tekst { margin: 8px 0 12px; font-size: 15px; white-space: pre-wrap; }
.bb-idee__acties { display: flex; align-items: center; gap: 10px; }
.bb-idee__acties .bb-segmenten { width: 300px; }

/* ---------- pushen vanuit de zijbalk ---------- */

.bb-push { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 12px; margin: auto 0 0; border-top: 1px solid rgba(249, 242, 233, 0.1); }
.bb-knop--push { position: relative; overflow: hidden; width: 100%; justify-content: center; background: var(--green); color: #fff; border-color: var(--green); font-weight: 600; }
.bb-knop--push:hover:not(:disabled) { background: #00b865; border-color: #00b865; color: #fff; }
.bb-knop--push.is-bezig { background: rgba(249, 242, 233, 0.08); border-color: rgba(249, 242, 233, 0.16); color: rgba(249, 242, 233, 0.7); cursor: progress; opacity: 1; }
.bb-knop--push.is-bezig::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--accent); transition: width 0.25s linear; }
.bb-knop--push.is-klaar { background: #fff; border-color: #fff; color: var(--green); opacity: 1; }
.bb-push__status { min-height: 16px; font-size: 12px; color: rgba(249, 242, 233, 0.55); text-align: center; }
.bb-push__status.is-nieuw { color: var(--cream); }
.bb-push__status.is-nieuw::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--rood); box-shadow: 0 0 0 3px rgba(224, 68, 46, 0.25); vertical-align: 1px; animation: bb-puls 1.6s ease-in-out infinite; }
@keyframes bb-puls { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .bb-push__status.is-nieuw::before { animation: none; } }
.bb-push + .bb-ik { border-top: 0; margin-top: 0; }


/* ---------- toegang ---------- */

.bb-intro__link { display: block; margin-top: 14px; color: rgba(249, 242, 233, 0.6) !important; font-size: 14px; text-align: center; }
.bb-invoer--mails { font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.bb-accounts { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.bb-account { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.bb-account__naam { flex: 1; display: flex; flex-direction: column; font-weight: 600; font-size: 14px; }
.bb-account__naam span { font-weight: 400; font-size: 13px; color: var(--muted); }
.bb-display__waarschuwing { font-size: 12px; color: var(--coral-strong); margin-top: 2px; }
.bb-lijstitem__leeg { font-weight: 500; font-size: 12px; color: var(--coral-strong); white-space: normal; }

.bb-knoppenrij { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }


/* ---------- scherm-editor: direct toevoegen ---------- */

.bb-toevoegblok { display: flex; align-items: center; gap: 14px; margin: -4px 0 18px; }
.bb-voorbeeld__lijst--met-leeg { position: relative; }
.bb-voorbeeld__leeg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 0 8%; pointer-events: none; }
.bb-voorbeeld__leeg[hidden] { display: none; }
.bb-voorbeeld__leeg p { margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(17, 17, 19, 0.75); color: var(--cream); font-size: 14px; }
.bb-voorbeeld__leeg .bb-knop { pointer-events: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.bb-schuifrij { display: flex; align-items: center; gap: 14px; }
.bb-schuifrij .bb-schuif__invoer { flex: 1; }

/* ---------- planning: overzichtelijker ---------- */

.bb-kaart--nu { background: var(--ink); color: var(--cream); }
.bb-kaart--nu .bb-kaart__kop { color: var(--cream); }
.bb-nu { display: flex; flex-direction: column; }
.bb-nu__rij { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(249, 242, 233, 0.12); font-size: 15px; }
.bb-nu__rij:first-child { border-top: 0; }
.bb-nu__display { display: flex; flex-direction: column; font-weight: 600; }
.bb-nu__display small { font-weight: 400; color: rgba(249, 242, 233, 0.6); font-size: 13px; }
.bb-nu__lijst { display: flex; align-items: center; gap: 10px; }
.bb-nu__waarom, .bb-nu__tot { color: rgba(249, 242, 233, 0.7); font-size: 14px; }
.bb-nu__tot { text-align: right; }
.bb-stap { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.bb-stap__nr { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font: 800 17px var(--display); }
.bb-stap__tekst { flex: 1; }
.bb-stap__tekst .bb-kaart__kop { margin: 4px 0 4px; }
.bb-stap__tekst .bb-veld__hint { margin: 0; max-width: 720px; }
.bb-regel__naam { font-weight: 600; }
@media (max-width: 860px) {
	.bb-nu__rij { grid-template-columns: 1fr 1fr; }
	.bb-nu__tot { text-align: left; }
	.bb-stap { flex-wrap: wrap; }
}

/* ---------- uptime ---------- */

.bb-uptime { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-uptime__blok { border-top: 1px solid var(--line); }
.bb-uptime__blok:first-child { border-top: 0; }
.bb-uptime__rij { display: grid; grid-template-columns: 14px minmax(0, 1.3fr) minmax(120px, 1.4fr) auto minmax(0, 0.9fr) auto; gap: 18px; align-items: center; padding: 14px 16px; }
.bb-uptime__rij.is-plat { background: color-mix(in srgb, var(--rood) 7%, transparent); }
.bb-uptime__rij.is-uit { opacity: 0.5; }
.bb-uptime__stip { width: 12px; height: 12px; border-radius: 50%; background: var(--faint); }
.bb-uptime__stip.is-op { background: var(--green); box-shadow: 0 0 0 4px rgba(0, 166, 92, 0.18); }
.bb-uptime__stip.is-plat { background: var(--rood); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rood) 20%, transparent); }
.bb-uptime__naam { display: flex; flex-direction: column; min-width: 0; }
.bb-uptime__naam a { font-size: 13px; color: var(--muted) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-uptime__lijn { display: flex; align-items: flex-end; gap: 1px; height: 30px; }
.bb-uptime__lijn span { flex: 1; min-width: 1px; background: rgba(0, 166, 92, 0.75); border-radius: 1px; }
.bb-uptime__lijn span.is-plat { background: var(--rood); }
.bb-uptime__lijn span.is-leeg { height: 3px; background: var(--line); }
.bb-uptime__cijfers { display: flex; gap: 16px; font: 700 15px var(--display); }
.bb-uptime__cijfers span { display: flex; flex-direction: column; align-items: flex-end; }
.bb-uptime__cijfers small { font: 500 11px var(--body); color: var(--muted); }
.bb-uptime__extra { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.bb-uptime__extra .is-waarschuwing { color: var(--coral-strong); font-weight: 600; }
.bb-uptime__rij.is-plat .bb-uptime__extra span:first-child { color: var(--coral-strong); font-weight: 600; }
.bb-uptime__acties { display: flex; gap: 2px; }
.bb-uptime__incidenten { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 16px 12px 48px; font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) {
	.bb-uptime__rij { grid-template-columns: 14px minmax(0, 1fr) auto; }
	.bb-uptime__lijn, .bb-uptime__extra { display: none; }
}

/* ---------- uptime van de displays ---------- */

.bb-dup { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-dup__blok { padding: 16px 18px; border-top: 1px solid var(--line); }
.bb-dup__blok:first-child { border-top: 0; }
.bb-dup__blok.is-offline { background: color-mix(in srgb, var(--rood) 6%, transparent); }
.bb-dup__kop { display: grid; grid-template-columns: 14px minmax(0, 1fr) minmax(0, 1.6fr) auto auto; gap: 18px; align-items: center; }
.bb-dup__naam, .bb-dup__status { display: flex; flex-direction: column; min-width: 0; }
.bb-dup__naam small, .bb-dup__status small { color: var(--muted); font-size: 13px; }
.bb-dup__status strong { font-weight: 600; }
.bb-dup__blok.is-offline .bb-dup__status strong { color: var(--coral-strong); }
.bb-tijdlijn { margin: 14px 0 0 32px; }
.bb-tijdlijn__balk { position: relative; height: 12px; border-radius: 6px; background: rgba(0, 166, 92, 0.55); overflow: hidden; }
.bb-tijdlijn__stuk { position: absolute; top: 0; bottom: 0; min-width: 3px; }
.bb-tijdlijn__voor { position: absolute; left: 0; top: 0; bottom: 0; background: var(--line); }
.bb-tijdlijn__dagen { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--faint); }
.bb-dup__geschiedenis { margin: 12px 0 0 32px; display: flex; flex-direction: column; gap: 4px; }
.bb-dup__geschiedenis[hidden] { display: none; }
.bb-dup__regel { display: grid; grid-template-columns: 12px 130px 150px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 13px; }
.bb-dup__reden { color: var(--ink-2); }
@media (max-width: 1000px) {
	.bb-dup__kop { grid-template-columns: 14px minmax(0, 1fr) auto; }
	.bb-dup__status { grid-column: 2 / -1; }
	.bb-dup__regel { grid-template-columns: 12px 1fr 1fr; }
	.bb-dup__reden { grid-column: 2 / -1; }
}
.bb-tijdlijn__balk.is-nooit { background: var(--line); }

/* =========================================================
   2.2: rustiger ontwerp met een instelbaar accent
   ========================================================= */

/* Pushknop: verloop, ruime en gelijkmatige maatvoering */
.bb-push { gap: 10px; padding: 18px 10px 14px; margin: auto 0 0; border-top: 1px solid rgba(249, 242, 233, 0.08); }
.bb-knop--push {
	width: 100%; height: 46px; padding: 0 12px; gap: 9px; border: 0; border-radius: 14px; white-space: nowrap;
	background: var(--accent-verloop); color: var(--accent-tekst); font: 600 14px/1 var(--body); letter-spacing: 0;
	box-shadow: 0 6px 18px -8px var(--accent-2);
	transition: transform 0.15s var(--ease), box-shadow 0.2s, filter 0.2s;
}
.bb-knop--push .bb-icoon { width: 17px; height: 17px; }
.bb-knop--push:hover:not(:disabled) { background: var(--accent-verloop); color: var(--accent-tekst); filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 22px -10px var(--accent-2); }
.bb-knop--push:active:not(:disabled) { transform: translateY(0); }
.bb-knop--push.is-bezig { background: rgba(249, 242, 233, 0.07); color: rgba(249, 242, 233, 0.75); box-shadow: none; filter: none; }
.bb-knop--push.is-bezig::after { height: 3px; background: var(--accent-verloop); border-radius: 0 3px 3px 0; }
.bb-knop--push.is-klaar { background: rgba(249, 242, 233, 0.95); color: var(--ink); box-shadow: none; }
.bb-knop--push.is-klaar .bb-icoon { color: var(--accent); }
.bb-push__status { font-size: 12px; line-height: 1.3; }
.bb-push__status:empty { display: none; }

/* Navigatie: actief item met een fijn verloopstreepje */
.bb-nav__link.is-actief .bb-icoon { color: var(--accent); }
.bb-nav__link.is-actief::before { background: var(--accent-verloop); }

/* Algemene kleine elementen */
.bb-pil { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--kleur) 12%, #ffffff); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.bb-pil__stip { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--kleur, var(--accent)); }

/* Planning: licht en rustig */
.bb-kaart--nu { background: var(--white); color: var(--ink); }
.bb-kaart--nu .bb-kaart__kop { color: var(--ink); display: flex; align-items: center; gap: 10px; }
.bb-kaart--nu .bb-kaart__kop::after { content: "live"; font: 600 11px var(--body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-donker); background: var(--accent-zacht); padding: 3px 8px; border-radius: 999px; }
.bb-nu { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-nu__rij { grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.2fr); gap: 20px; padding: 12px 16px; border-top: 1px solid var(--line); }
.bb-nu__rij:first-child { border-top: 0; }
.bb-nu__display { flex-direction: row; align-items: center; gap: 12px; }
.bb-nu__display > span { display: flex; flex-direction: column; min-width: 0; }
.bb-nu__display .bb-icoon { width: 18px; height: 18px; color: var(--faint); flex: none; }
.bb-nu__display small { color: var(--muted); }
.bb-nu__waarom { color: var(--muted); font-size: 13px; text-align: right; }

.bb-stap { align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.bb-stap__label { display: inline-block; font: 600 12px var(--body); letter-spacing: 0.03em; text-transform: uppercase; background: var(--accent-verloop); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 2px; }
.bb-stap__tekst .bb-kaart__kop { margin: 0 0 6px; }
.bb-stap .bb-knop { flex: none; }

.bb-lijstkaart { min-height: 118px; padding: 16px 16px 14px; border-color: var(--line); box-shadow: none; }
.bb-lijstkaart:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-1px); box-shadow: 0 8px 20px -14px rgba(17, 17, 19, 0.35); }
.bb-lijstkaart__kleur { display: none; }
.bb-lijstkaart__naam { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.bb-lijstkaart__sub { padding-left: 18px; }
.bb-lijstkaart__items { padding-left: 18px; gap: 6px; }
.bb-lijstkaart__items img, .bb-lijstkaart__ico, .bb-lijstkaart__video { width: 26px; height: 26px; border-radius: 7px; background: #f1f1f3; color: var(--muted); }
.bb-lijstkaart--nieuw { background: transparent; border-color: var(--line-strong); color: var(--muted); }
.bb-lijstkaart--nieuw:hover { color: var(--ink); }

.bb-regels { border-color: var(--line); }
.bb-regel { grid-template-columns: 22px 10px minmax(0, 1fr) auto auto 38px; padding: 12px 10px 12px 14px; }
.bb-regel .bb-regel__stip { width: 10px; height: 10px; box-shadow: none; }
.bb-regel__naam { font-weight: 600; font-size: 15px; }

/* Weekoverzicht als tijdlijn */
.bb-tl { display: flex; flex-direction: column; gap: 6px; }
.bb-tl__rij { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; }
.bb-tl__rij--kop { margin-bottom: 2px; }
.bb-tl__uren { position: relative; height: 16px; font: 500 11px var(--mono); color: var(--faint); }
.bb-tl__uren span { position: absolute; transform: translateX(-50%); }
.bb-tl__uren span:first-child { transform: none; }
.bb-tl__uren span:last-child { transform: translateX(-100%); }
.bb-tl__dag { font-size: 13px; font-weight: 600; color: var(--muted); }
.bb-tl__rij.is-vandaag .bb-tl__dag { color: var(--ink); }
.bb-tl__spoor {
	position: relative; height: 34px; border-radius: 10px; overflow: hidden;
	background: #f1f1f3 repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(17, 17, 19, 0.06) calc(25% - 1px) 25%);
}
.bb-tl__blok {
	position: absolute; top: 3px; bottom: 3px; border-radius: 7px;
	background: color-mix(in srgb, var(--kleur) 18%, #ffffff); box-shadow: inset 3px 0 0 var(--kleur);
	display: flex; align-items: center; padding: 0 10px; overflow: hidden;
	font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--kleur) 70%, #111113); white-space: nowrap;
}
.bb-tl__blok + .bb-tl__blok { margin-left: 2px; }
.bb-tl__blok.is-uit { background: repeating-linear-gradient(135deg, #e7e7ea 0 6px, #f1f1f3 6px 12px); box-shadow: inset 3px 0 0 #8e8f98; color: var(--muted); }
.bb-tl__blok span { overflow: hidden; text-overflow: ellipsis; }
.bb-tl__nu { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent-verloop); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8); z-index: 2; }
.bb-tl__nu::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.bb-week__balk { margin-bottom: 16px; }
.bb-legenda { gap: 8px; margin-top: 16px; }

/* Instellingen: accentkeuze */
.bb-accenten { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bb-accent { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); font: 600 13px var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.bb-accent:hover { border-color: var(--line-strong); }
.bb-accent.is-actief { border-color: transparent; box-shadow: 0 0 0 2px var(--accent); }
.bb-accent { align-items: stretch; }
.bb-accent__staal { display: block; width: 100%; align-self: stretch; height: 44px; border-radius: 9px; }
.bb-accent-eigen { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.bb-accent-eigen label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.bb-accent-eigen input[type=color] { width: 40px; height: 32px; padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: none; cursor: pointer; }
.bb-accent-voorbeeld { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: var(--r-md); background: var(--ink); }
.bb-accent-voorbeeld .bb-knop--push { width: auto; }

/* ---------- formulier met live voorbeeld ---------- */

.bb-modal__paneel--xl { max-width: 1260px; }
.bb-formvoorbeeld { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
.bb-formvoorbeeld__zijkant { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; }
.bb-formvoorbeeld__kop { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bb-formvoorbeeld__live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); animation: bb-puls 1.6s ease-in-out infinite; }
.bb-formvoorbeeld__scherm { border-radius: 14px; overflow: hidden; background: #111113; box-shadow: 0 18px 40px -22px rgba(17, 17, 19, 0.5), 0 0 0 1px var(--line); aspect-ratio: 16 / 9; }
.bb-formvoorbeeld__canvas { display: block; width: 100%; height: auto; }
.bb-formvoorbeeld__zijkant .bb-veld__hint { margin: 0; }
@media (max-width: 1000px) {
	.bb-formvoorbeeld { grid-template-columns: 1fr; }
	.bb-formvoorbeeld__zijkant { position: static; order: -1; }
}

/* ---------- aangepaste schermen: gegevens in de ontwerper ---------- */

.bb-velden { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; }
.bb-velden__kop { width: 100%; font-size: 12px; font-weight: 600; color: var(--muted); }
.bb-veldchip { height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--accent-zacht); color: var(--accent-donker); font: 500 12px var(--mono); cursor: pointer; }
.bb-veldchip:hover { border-color: var(--accent); }
.bb-ont-bron { padding: 12px 14px; margin-bottom: 18px; border-radius: var(--r-md); background: var(--accent-zacht); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.bb-ont-bron__kop { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 14px; }
.bb-ont-bron__kop .bb-icoon { color: var(--accent-donker); }
.bb-ont-bron > .bb-veld__hint { margin: 0 0 12px; }

/* ---------- bijwerken ---------- */

.bb-bijwerken__zone { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 28px 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); background: #f7f7f8; font: inherit; color: var(--ink-2); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.bb-bijwerken__zone:hover, .bb-bijwerken__zone.is-over { border-color: var(--accent); background: var(--accent-zacht); }
.bb-bijwerken__zone .bb-icoon { width: 24px; height: 24px; color: var(--accent); }
.bb-bijwerken__zone small { color: var(--muted); }
.bb-bijwerken__status:empty { display: none; }
.bb-bijwerken__melding { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 12px 14px; border-radius: var(--r-md); background: #f1f1f3; font-size: 14px; }
.bb-bijwerken__melding.is-klaar, .bb-bijwerken__melding.is-goed { background: var(--accent-zacht); color: var(--accent-donker); font-weight: 600; }
.bb-bijwerken__melding.is-let-op { background: #fff4df; }
.bb-bijwerken__melding.is-fout { background: color-mix(in srgb, var(--rood) 10%, #ffffff); color: var(--coral-strong); font-weight: 600; }
.bb-bijwerken__reserve { margin-top: 18px; }
.bb-bijwerken__rij { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.bb-bijwerken__rij small { flex: 1; color: var(--muted); }

/* ---------- formulieren ---------- */

.bb-formkaarten { display: flex; flex-direction: column; gap: 14px; }
.bb-formkaart { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.bb-formkaart.is-dicht { opacity: 0.7; }
.bb-formkaart__qr { width: 120px; height: 120px; border-radius: 10px; border: 1px solid var(--line); }
.bb-formkaart__tekst { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bb-formkaart__tekst strong { font: 700 20px var(--display); letter-spacing: -0.02em; }
.bb-formkaart__meta { font-size: 13px; color: var(--muted); }
.bb-formkaart__acties { display: flex; gap: 8px; flex-wrap: wrap; }
.bb-formkeuze { display: flex; gap: 8px; align-items: center; }
.bb-formkeuze .bb-invoer { flex: 1; min-width: 0; }
.bb-formbouw { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-formbouw:empty { display: none; }
.bb-formbouw__rij { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto 38px; gap: 10px; align-items: center; padding: 10px; border-top: 1px solid var(--line); }
.bb-formbouw__rij:first-child { border-top: 0; }
.bb-formbouw__velden { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 8px; }
.bb-formbouw__velden .bb-invoer--klein { grid-column: 1 / -1; }
.bb-formbouw__verplicht { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; }
.bb-formbouw__toevoegen { margin: 10px 0 18px; }
.bb-inzendingen { display: flex; flex-direction: column; max-height: 62vh; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.bb-inzending { display: grid; grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1.4fr); gap: 4px 14px; margin: 10px 0 12px; font-size: 14px; }
.bb-inzending dt { color: var(--muted); font-weight: 600; }
.bb-inzending dd { margin: 0; white-space: pre-wrap; }
.bb-qrkader { margin-top: 6px; }
.bb-mobiel__veld input, .bb-mobiel__veld select { font: 400 16px var(--body); min-height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); }
.bb-mobiel__veld input:focus, .bb-mobiel__veld select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 19, 0.12); }
.bb-mobiel__vink { display: flex; gap: 12px; align-items: center; margin: 0 0 18px; font-weight: 600; }
.bb-mobiel__vink input { width: 22px; height: 22px; accent-color: var(--ink); }

/* ---------- voorbeeld bij de huisstijl ---------- */

.bb-stijlvoorbeeld { margin: 4px 0 18px; }
.bb-stijlvoorbeeld__kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bb-stijlvoorbeeld__scherm { border-radius: 12px; overflow: hidden; background: #111113; box-shadow: 0 16px 36px -22px rgba(17, 17, 19, 0.5), 0 0 0 1px var(--line); aspect-ratio: 16 / 9; }
.bb-stijlvoorbeeld__canvas { display: block; width: 100%; height: auto; }
.bb-stijlvoorbeeld .bb-veld__hint { margin-top: 8px; }
.bb-overzetten { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bb-overzetten .bb-veld__hint { margin: 6px 0 0; }
.bb-formvoorbeeld__balk { display: flex; align-items: center; gap: 8px; }
.bb-formvoorbeeld__balk .bb-formvoorbeeld__kop { flex: 1; }
.bb-formvoorbeeld__balk .bb-invoer--klein { width: auto; max-width: 200px; }
.bb-formvoorbeeld__balk .bb-knop.is-actief { background: var(--ink); color: #fff; border-color: var(--ink); }
.bb-display__prestaties { display: block; font-size: 12px; color: var(--muted); }
.bb-display__prestaties.is-traag { color: var(--coral-strong); font-weight: 600; }

/* ---------- pushen bevestigen ---------- */

.bb-pushbevestiging { display: flex; flex-direction: column; gap: 14px; }
.bb-pushbevestiging > .bb-veld__hint { margin: 0; }
.bb-pushlijst { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; max-height: 52vh; overflow-y: auto; }
.bb-pushlijst__groep { padding: 12px 16px; border-top: 1px solid var(--line); }
.bb-pushlijst__groep:first-child { border-top: 0; }
.bb-pushlijst__groep strong { display: block; font-size: 15px; margin-bottom: 4px; }
.bb-pushlijst__groep ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.bb-pushlijst__groep li { margin: 2px 0; }
.bb-pushleeg { margin: 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--accent-zacht); color: var(--accent-donker); font-weight: 600; }
.bb-pushbevestiging__displays { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 13px; color: var(--muted); }
.bb-pushbevestiging__displays .bb-icoon { width: 18px; height: 18px; flex: none; }

/* ---------- displays: prestaties onder de regel, over de hele breedte ---------- */

.bb-display__voet { grid-column: 2 / -1; display: flex; flex-direction: column; gap: 8px; margin-top: -6px; }
.bb-display__labels { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-label { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: #f1f1f3; color: var(--muted); font-size: 12px; font-weight: 600; }
.bb-label.is-traag { background: color-mix(in srgb, var(--rood) 12%, #ffffff); color: var(--coral-strong); }
.bb-display__melding { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--rood) 7%, #ffffff); color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.bb-display__melding .bb-icoon { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--coral-strong); }

/* ---------- showcase-indeling ---------- */

.bb-veld--breed { grid-column: 1 / -1; }
.bb-bento { display: flex; flex-direction: column; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: #f7f7f8; }
.bb-bento__boven { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.bb-bento__kaart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(6, 22px); gap: 4px; padding: 8px; border-radius: 10px; background: #111113; aspect-ratio: 16 / 9; }
.bb-bento__vak { display: flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: rgba(249, 242, 233, 0.12); color: rgba(249, 242, 233, 0.8); font: 600 11px var(--body); cursor: pointer; overflow: hidden; padding: 2px; transition: background 0.15s; }
.bb-bento__vak:hover { background: rgba(249, 242, 233, 0.2); }
.bb-bento__vak.is-hoofd { background: rgba(249, 242, 233, 0.18); }
.bb-bento__vak.is-gekozen { background: var(--accent-verloop); color: var(--accent-tekst); box-shadow: 0 0 0 2px #fff; }
.bb-bento__naast { display: flex; flex-direction: column; gap: 10px; }
.bb-bento__naast .bb-veld__hint { margin: 0; }
.bb-bento__editor { padding-top: 12px; border-top: 1px solid var(--line); }
.bb-knoppenrij--links { justify-content: flex-start; align-items: center; }
@media (max-width: 1100px) { .bb-bento__boven { grid-template-columns: 1fr; } }

/* ---------- indeling bij het scherm en kopjes in formulieren ---------- */

.bb-paneel .bb-bento { padding: 12px; }
.bb-paneel .bb-bento__kaart { grid-template-rows: repeat(6, 16px); }
.bb-bento__rij { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bb-bento__rij .bb-veld__hint { margin: 0; flex: 1; min-width: 160px; }
.bb-bento__uitleg { margin: -6px 0 14px; }
.bb-kleurkeuze { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bb-kleurkeuze__knop { display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font: 600 12px var(--body); color: var(--ink); cursor: pointer; min-width: 0; }
.bb-kleurkeuze__knop.is-actief { border-color: transparent; box-shadow: 0 0 0 2px var(--accent); }
.bb-kleurkeuze__staal { flex: none; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, 0.15); }
.bb-kleurkeuze__staal.is-auto { background: repeating-linear-gradient(135deg, #e7e3de 0 4px, #fff 4px 8px); }
.bb-formkop { grid-column: 1 / -1; margin: 10px 0 -4px; padding-top: 16px; border-top: 1px solid var(--line); }
.bb-formulier > .bb-formkop:first-child, .bb-formulier > .bb-formkop:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.bb-formkop__titel { margin: 0 0 2px; font: 700 16px var(--display); letter-spacing: -0.01em; }
.bb-formkop .bb-veld__hint { margin: 0; }

/* ---------- venster: nog opslaan? ---------- */

.bb-modal__paneel { position: relative; }
.bb-modal__vraag { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(249, 242, 233, 0.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-radius: inherit; z-index: 5; }
.bb-modal__vraagkaart { width: min(420px, 100%); padding: 22px; border-radius: 16px; background: var(--white); box-shadow: 0 24px 60px -20px rgba(17, 17, 19, 0.45), 0 0 0 1px var(--line); }
.bb-modal__vraagkaart h3 { margin: 0 0 6px; font: 700 19px var(--display); letter-spacing: -0.01em; }
.bb-modal__vraagkaart p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.bb-modal__vraagknoppen { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.bb-formkop { margin-bottom: 4px; }
.bb-formkop__titel { margin-bottom: 4px; }
.bb-upload__knoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-veld--half .bb-upload__knoppen .bb-knop { flex: 0 1 auto; }
.bb-veld--half .bb-upload, .bb-veld--half .bb-upload__beeld { max-width: 100%; }

/* ---------- zijbalk: gebundeld ---------- */

.bb-nav__groep { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.bb-nav__pijl { margin-left: 6px; width: 15px !important; height: 15px !important; opacity: 0.55; transition: transform 0.2s var(--ease); }
.bb-nav__blok.is-open .bb-nav__pijl { transform: rotate(180deg); }
.bb-nav__groep .bb-nav__aantal { margin-left: auto; }
.bb-nav__sub { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 6px 18px; padding-left: 8px; border-left: 1px solid rgba(249, 242, 233, 0.12); }
.bb-nav__sub .bb-nav__link { padding-top: 7px; padding-bottom: 7px; font-size: 13.5px; }
.bb-nav__sub .bb-nav__link .bb-icoon { width: 15px; height: 15px; }

/* ---------- tabbladen op gebundelde pagina's ---------- */

.bb-tabs { display: flex; gap: 4px; margin: -8px 0 20px; padding: 4px; border-radius: 12px; background: rgba(17, 17, 19, 0.05); width: fit-content; }
.bb-tabs__tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted) !important; text-decoration: none; }
.bb-tabs__tab:hover { color: var(--ink) !important; }
.bb-tabs__tab.is-actief { background: var(--white); color: var(--ink) !important; box-shadow: 0 1px 3px rgba(17, 17, 19, 0.12); }
.bb-tabs__teller { padding: 1px 7px; border-radius: 999px; background: var(--accent-zacht); color: var(--accent-donker); font-size: 11px; }


/* ---------- brede schermen: zijpanelen in twee kolommen ---------- */

@media (min-width: 1700px) {
	.bb-hoofd { max-width: 2200px; }
	/* Scherm-editor: voorbeeld links, instellingen rechts in twee kolommen */
	.bb-editor { grid-template-columns: minmax(0, 1fr) minmax(600px, 760px); }
	.bb-editor .bb-paneel { column-count: 2; column-gap: 0; column-rule: 1px solid var(--line); }
	.bb-editor .bb-paneel__sectie { break-inside: avoid; border-top: 0; padding-bottom: 14px; }
	.bb-editor .bb-paneel__sectie + .bb-paneel__sectie { border-top: 1px solid var(--line); }
	/* Ontwerper: eigenschappen in twee kolommen */
	.bb-ont { grid-template-columns: 196px minmax(0, 1fr) 580px; }
	.bb-ont-paneel { column-count: 2; column-gap: 22px; }
	.bb-ont-paneel > * { break-inside: avoid; }
	.bb-ont-paneel > .bb-ont-paneel__kop, .bb-ont-paneel > .bb-ont-bron { column-span: all; }
}
.bb-download__video { flex-wrap: wrap; }
.bb-download__video > * { min-width: 0; }
@media (min-width: 1700px) {
	.bb-ont-paneel .bb-download__video .bb-knop, .bb-editor .bb-download__video .bb-knop { flex: 1 1 140px; }
}

/* ---------- brede schermen: meer naast elkaar op alle pagina's ---------- */

@media (min-width: 1700px) {
	.bb-instellingen, .bb-instellingen--breed { max-width: none; }
	/* Pagina's met meerdere kaarten (Instellingen, Planning, Displays): kaarten in twee kolommen */
	.bb-kolommen { column-count: 2; column-gap: 20px; }
	.bb-kolommen > * { break-inside: avoid; }
	.bb-kolommen > .bb-kaart { display: block; margin: 0 0 20px; }
	.bb-kolommen > .bb-kaart--vol, .bb-kolommen > .bb-bewaarbalk, .bb-kolommen > .bb-laden, .bb-kolommen > .bb-melding { column-span: all; }
	/* Uptime per display en formulieren: twee naast elkaar */
	.bb-dup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bb-dup__blok { border-top: 1px solid var(--line); }
	.bb-dup__blok:nth-child(-n+2) { border-top: 0; }
	.bb-dup__blok:nth-child(odd) { border-right: 1px solid var(--line); }
	.bb-formkaarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Schermen-overzicht: meer tegels per rij */
	.bb-tegels { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

/* ---------- 3.4: rustiger ---------- */

/* Zijbalk: geen bolletje meer, het icoon kleurt al mee */
.bb-nav__link.is-actief::before { display: none; }

/* Planning (en Displays): meer ruimte rond de brede kaarten */
@media (min-width: 1700px) {
	.bb-kolommen > .bb-kaart--vol { margin: 12px 0 36px; }
	.bb-kolommen > .bb-kaart--vol:first-child { margin-top: 0; }
}

/* Instellingen: verticale tabbladen */
.bb-vtabs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.bb-vtabs__menu { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.bb-vtabs__tab { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font: 500 14px var(--body); color: var(--ink-2); text-align: left; cursor: pointer; }
.bb-vtabs__tab .bb-icoon { width: 17px; height: 17px; color: var(--faint); flex: none; }
.bb-vtabs__tab:hover { background: #f1f1f3; color: var(--ink); }
.bb-vtabs__tab.is-actief { background: var(--accent-zacht); color: var(--ink); font-weight: 600; }
.bb-vtabs__tab.is-actief .bb-icoon { color: var(--accent); }
.bb-vtabs__inhoud { min-width: 0; max-width: 980px; }
.bb-vtabs__inhoud > [hidden] { display: none !important; }
.bb-vtabs__inhoud > .bb-kaart { margin-bottom: 0; }
@media (max-width: 1000px) {
	.bb-vtabs { grid-template-columns: 1fr; }
	.bb-vtabs__menu { position: static; flex-direction: row; overflow-x: auto; }
	.bb-vtabs__tab { white-space: nowrap; }
}

/* ---------- 3.5 ---------- */

/* Instellingen: opslaanknop onder de inhoud, niet helemaal rechts */
.bb-vtabs__rechts { min-width: 0; max-width: 980px; }
.bb-vtabs__rechts .bb-vtabs__inhoud { max-width: none; }
.bb-vtabs__rechts .bb-bewaarbalk { position: sticky; bottom: 16px; justify-content: flex-end; margin-top: 16px; }
/* Huisstijl: schuifjes niet over de volle breedte */
.bb-vtabs__inhoud .bb-schuifrij { max-width: 460px; }
.bb-schuifjes { max-width: 760px; }
.bb-schuifjes .bb-schuifrij { max-width: none; }

/* Extra beelden: video's */
.bb-galerij__item.is-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111113; }
.bb-galerij__video { display: grid; place-items: center; width: 100%; height: 100%; background: #111113; color: var(--cream); }
.bb-galerij__label { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; background: rgba(17, 17, 19, 0.75); color: #fff; font-size: 11px; font-weight: 600; }
.bb-galerij__label .bb-icoon { width: 12px; height: 12px; }
.bb-galerij__item { position: relative; }

/* Projectformulier: showcase-velden links, voorbeeld rechts */
.bb-showcasegroep { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.bb-showcasegroep .bb-velden { display: flex; flex-direction: column; gap: 0; }
.bb-showcasevoorbeeld { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 0; }
.bb-showcasevoorbeeld__vlak { position: relative; border-radius: 14px; overflow: hidden; background: #111113; aspect-ratio: 560 / 300; }
.bb-showcasevoorbeeld__canvas { display: block; width: 100%; height: auto; }
.bb-showcasevoorbeeld__vlak.is-leeg { background: repeating-linear-gradient(135deg, #efeff1 0 8px, #f6f6f7 8px 16px); }
.bb-showcasevoorbeeld__vlak.is-leeg canvas { visibility: hidden; }
.bb-showcasevoorbeeld__vlak.is-leeg::after { content: attr(data-leeg); position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.bb-showcasevoorbeeld .bb-veld__hint { margin: 0; }
@media (max-width: 900px) { .bb-showcasegroep { grid-template-columns: 1fr; } }
.bb-lijstitem__keuze { max-width: 220px; }
.bb-schermkeuze__knop.is-meer { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--accent-zacht); }

/* ---------- overzicht (startpagina) ---------- */

.bb-overzicht { display: flex; flex-direction: column; gap: 20px; max-width: 1500px; }
.bb-ovz__cijfers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bb-ovz__cijfer { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 0; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); color: var(--ink) !important; text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: transform 0.15s var(--ease), box-shadow 0.15s; }
.bb-ovz__cijfer:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(17, 17, 19, 0.35), 0 1px 0 var(--line); }
.bb-ovz__cijfer strong { font: 800 34px/1 var(--display); letter-spacing: -0.03em; display: flex; align-items: center; min-height: 34px; }
.bb-ovz__cijfer strong .bb-icoon { width: 30px; height: 30px; }
.bb-ovz__cijfer span { font-size: 13px; color: var(--muted); font-weight: 500; }
.bb-ovz__cijfer.is-goed strong { color: var(--green); }
.bb-ovz__cijfer.is-let-op strong { color: var(--coral-strong); }
.bb-ovz__cijfer.is-nieuw strong { color: var(--accent); }
.bb-ovz__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.bb-ovz__blok { padding: 20px 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); min-width: 0; }
.bb-ovz__blok.is-breed { grid-column: span 2; }
.bb-ovz__kop { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.bb-ovz__titel { display: inline-flex; align-items: center; gap: 8px; font: 700 16px var(--display); letter-spacing: -0.01em; }
.bb-ovz__titel .bb-icoon { width: 18px; height: 18px; color: var(--accent); }
.bb-ovz__meer { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted) !important; text-decoration: none; }
.bb-ovz__meer:hover { color: var(--ink) !important; }
.bb-ovz__pijl { width: 14px !important; height: 14px !important; transform: rotate(180deg); }
.bb-ovz__displays { display: flex; flex-direction: column; }
.bb-ovz__display { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 190px; align-items: center; gap: 14px; padding: 11px 8px; border-top: 1px solid var(--line); border-radius: 8px; color: var(--ink) !important; text-decoration: none; }
.bb-ovz__display:first-child { border-top: 0; }
.bb-ovz__display:hover { background: #f7f7f8; }
.bb-ovz__display-tekst { display: flex; flex-direction: column; min-width: 0; }
.bb-ovz__display-tekst strong { font-size: 14px; }
.bb-ovz__display-tekst span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ovz__uptime { display: flex; align-items: center; gap: 8px; }
.bb-ovz__uptime small { width: 48px; text-align: right; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.bb-ovz__dag { position: relative; flex: 1; height: 10px; border-radius: 99px; background: color-mix(in srgb, var(--green) 55%, #ffffff); overflow: hidden; }
.bb-ovz__dag.is-nooit { background: #ebe7e2; }
.bb-ovz__dag-uit { position: absolute; top: 0; bottom: 0; background: var(--coral-strong); }
.bb-ovz__dag-uit.is-gepland { background: #b9b4ad; }
.bb-ovz__lijst { display: flex; flex-direction: column; }
.bb-ovz__rij { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 4px; border-top: 1px solid var(--line); color: var(--ink) !important; text-decoration: none; font-size: 14px; }
.bb-ovz__rij:first-child { border-top: 0; }
.bb-ovz__rij .bb-icoon { width: 16px; height: 16px; color: var(--faint); }
.bb-ovz__rij-tekst { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ovz__rij-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.bb-ovz__leeg, .bb-ovz__tekst { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.bb-ovz__tekst { color: var(--ink-2); }
.bb-ovz__wijz { margin: 0 0 14px; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.bb-ovz__wijz li { margin: 3px 0; }
.bb-ovz__soorten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
.bb-ovz__soort { display: flex; align-items: center; gap: 4px; border-radius: 8px; }
.bb-ovz__soort a { flex: 1; display: flex; align-items: center; gap: 8px; padding: 6px 6px; border-radius: 8px; color: var(--ink) !important; text-decoration: none; font-size: 13.5px; min-width: 0; }
.bb-ovz__soort a:hover { background: #f7f7f8; }
.bb-ovz__soort a .bb-icoon { width: 15px; height: 15px; color: var(--faint); flex: none; }
.bb-ovz__soort a span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ovz__soort a strong { font-size: 12.5px; color: var(--muted); }
.bb-ovz__soort .bb-icoonknop { width: 26px; height: 26px; opacity: 0.55; }
.bb-ovz__soort:hover .bb-icoonknop { opacity: 1; }
.bb-ovz__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-ovz__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #f1f1f3; color: var(--ink-2) !important; text-decoration: none; font-size: 12.5px; font-weight: 600; }
.bb-ovz__chip .bb-icoon { width: 13px; height: 13px; }
.bb-ovz__chip:hover { background: var(--accent-zacht); }
@media (max-width: 1250px) {
	.bb-ovz__cijfers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bb-ovz__raster, .bb-ovz__raster--drie { grid-template-columns: 1fr; }
	.bb-ovz__blok.is-breed { grid-column: auto; }
	.bb-ovz__display { grid-template-columns: 14px minmax(0, 1fr) auto; }
	.bb-ovz__uptime { grid-column: 2 / -1; }
}
.bb-pushvoortgang { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: var(--r-md); background: var(--accent-zacht); }
.bb-pushvoortgang[hidden] { display: none; }
.bb-pushvoortgang__tekst { font-size: 13.5px; font-weight: 600; color: var(--accent-donker); }
.bb-pushvoortgang__balk { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.7); overflow: hidden; }
.bb-pushvoortgang__balk span { display: block; height: 100%; width: 0; background: var(--accent-verloop); transition: width 0.2s; }
.bb-vormen { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.bb-vormen__kop { margin: 0 0 4px; font: 700 16px var(--display); }
.bb-vormen > .bb-veld__hint { margin: 0 0 14px; max-width: 760px; }
.bb-vormen__velden { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .bb-vormen__velden { grid-template-columns: 1fr; } }
.bb-mobiel__verborgen { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- planning: regels in één oogopslag ---------- */

.bb-regel { align-items: center; padding-top: 12px; padding-bottom: 12px; }
.bb-regel__kop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.bb-regel__kop .bb-regel__naam { font-size: 15px; font-weight: 700; }
.bb-regel__uit { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: #3a3a40; color: #fff; font-size: 12px; font-weight: 600; }
.bb-regel__wanneer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.bb-weekstrook { display: inline-flex; gap: 3px; }
.bb-weekstrook__dag { display: inline-grid; place-items: center; width: 26px; height: 22px; border-radius: 6px; background: #efeff1; color: #a8a29b; font-size: 11px; font-weight: 700; text-transform: lowercase; }
.bb-weekstrook__dag.is-aan { background: var(--kleur, var(--accent)); color: #fff; }
.bb-weekstrook__dag.is-vandaag { box-shadow: 0 0 0 2px var(--ink); }
.bb-regel__label { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: #f1f1f3; color: var(--ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.bb-regel__label .bb-icoon { width: 13px; height: 13px; color: var(--faint); }
.bb-regel__label.is-periode { background: color-mix(in srgb, var(--accent) 12%, #ffffff); }
.bb-regel.is-uit .bb-weekstrook__dag.is-aan { background: #c9c4bd; }

/* ---------- live op alle schermen ---------- */

.bb-live__form { display: grid; grid-template-columns: minmax(0, 1fr) 200px auto auto; gap: 10px; align-items: center; }
.bb-live__form .bb-schakel { white-space: nowrap; }
.bb-live.is-live { background: #1a0f10; color: #fff; box-shadow: 0 0 0 2px #e0442e; }
.bb-live__rij { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.bb-live__beeld { width: 200px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #000; display: block; }
.bb-live__tekst { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bb-live__tekst strong { font-size: 16px; }
.bb-live__tekst span { color: rgba(255, 255, 255, 0.75); font-size: 13.5px; }
.bb-live__tekst a { color: #fff !important; }
.bb-live__badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 3px 10px; border-radius: 999px; background: #e0442e; color: #fff !important; font-size: 12px !important; font-weight: 800; letter-spacing: 0.04em; }
.bb-live__badge span { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: bb-puls 1.4s ease-in-out infinite; }
@media (max-width: 1100px) { .bb-live__form, .bb-live__rij { grid-template-columns: 1fr; } }

/* ---------- ontwerper: vaste kolommen in het paneel (niets springt), elementenlijst ---------- */

.bb-ont-paneel { column-count: auto !important; }
.bb-ont-paneel__kolommen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 22px; align-items: start; }
.bb-ont-paneel__kolom { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bb-ont-paneel__kolom > .bb-veld, .bb-ont-paneel__kolom > .bb-schakel { margin: 0; }
@media (min-width: 1700px) { .bb-ont-paneel__kolommen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bb-ont-elementen { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 10px; }
.bb-ont-elementen__knop { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 0; border-radius: 7px; background: none; font: 500 13px var(--body); color: var(--ink); text-align: left; cursor: pointer; }
.bb-ont-elementen__knop:hover { background: var(--accent-zacht); }
.bb-ont-elementen__knop .bb-icoon { width: 15px; height: 15px; color: var(--faint); flex: none; }
.bb-ont-elementen__knop span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ont-elementen__knop.is-verborgen { opacity: 0.45; }
.bb-pushvoortgang__rij { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bb-pushvoortgang .bb-veld__hint { margin: 0; }

/* ---------- ingeklapt blok (Live op alle schermen bij Displays) ---------- */

.bb-inklap { padding: 0; overflow: hidden; }
.bb-inklap__kop { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; font: 700 16px var(--display); }
.bb-inklap__kop::-webkit-details-marker { display: none; }
.bb-inklap__kop > .bb-icoon:first-child { width: 18px; height: 18px; color: var(--accent); }
.bb-inklap__hint { font: 500 13px var(--body); color: var(--muted); }
.bb-inklap__pijl { margin-left: auto; width: 18px !important; height: 18px !important; color: var(--faint); transition: transform 0.2s var(--ease); }
.bb-inklap[open] .bb-inklap__pijl { transform: rotate(180deg); }
.bb-inklap__inhoud { padding: 0 20px 20px; }
.bb-inklap__inhoud .bb-ovz__blok { box-shadow: none; padding: 0; background: none; }
.bb-inklap__inhoud .bb-live.is-live { padding: 16px; background: #1a0f10; }
.bb-inklap__inhoud .bb-ovz__kop { display: none; }

.bb-intro__titel { margin: 0 0 6px; font: 800 28px var(--display); color: #fff; letter-spacing: -0.02em; }
.bb-intro__onder--geweigerd { max-width: 440px; text-align: center; }
.bb-intro__onder--geweigerd .bb-intro__melding strong { color: #fff; }
.bb-buiten { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.bb-buiten .bb-veld { margin: 0; }

/* ---------- zijbalk: Beheer onderaan, boven de pushknop ---------- */

.bb-nav { min-height: 0; }
.bb-nav__beheer { margin-top: auto; display: flex; flex-direction: column; gap: 1px; padding-top: 12px; }


/* ---------- HiBob ---------- */

.bb-hibob__samenvatting { margin: 12px 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.bb-hibob__sites { display: flex; flex-direction: column; gap: 6px; }
.bb-hibob__site { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.bb-hibob__site:first-child { border-top: 0; }
.bb-hibob__uitleg { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.bb-hibob__uitleg summary { cursor: pointer; font-weight: 600; }
.bb-hibob__uitleg ol { margin: 10px 0 0; padding-left: 20px; line-height: 1.6; }

.bb-label--knop { gap: 5px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; }
.bb-label--knop:hover { border-color: var(--accent); color: var(--ink); }
.bb-label--knop .bb-icoon { width: 13px; height: 13px; }
.bb-display__test { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 10px; background: #f1f1f3; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.bb-display__test .bb-icoon { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--accent); }

/* ---------- prestaties ---------- */

.bb-prest { display: flex; flex-direction: column; gap: 18px; }
.bb-prest__balk { max-width: 260px; margin-bottom: 14px; }
.bb-prest__kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bb-prest__uitleg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.bb-prest__sw { display: inline-block; width: 14px; height: 8px; border-radius: 2px; margin-left: 8px; }
.bb-prest__sw.is-gem { height: 3px; background: var(--accent); }
.bb-prest__sw.is-band { background: color-mix(in srgb, var(--accent) 22%, #ffffff); }
.bb-prest__sw.is-dip { width: 8px; border-radius: 50%; background: #e0442e; }
.bb-prest__samen { margin: 6px 0 10px; font-size: 14px; color: var(--ink-2); }
.bb-prest__samen strong.is-rood { color: #e0442e; }
.bb-prest__grafiek { width: 100%; height: auto; display: block; }
.bb-prest__rood { fill: rgba(224, 68, 46, 0.06); }
.bb-prest__lijn { stroke: var(--line); stroke-width: 1; }
.bb-prest__lijn.is-grens { stroke: rgba(224, 68, 46, 0.45); stroke-dasharray: 4 4; }
.bb-prest__as { font: 600 11px var(--body); fill: var(--faint); }
.bb-prest__band { fill: color-mix(in srgb, var(--accent) 18%, transparent); stroke: none; }
.bb-prest__gem { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.bb-prest__punt { fill: var(--accent); }
.bb-prest__dip { fill: #e0442e; stroke: #fff; stroke-width: 1.5; cursor: help; }
.bb-prest__nu { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.5; }

/* ==========================================================================
   NOBEARS TV 0.4.0
   ========================================================================== */

/* ---------- inhoud in het scherm zelf ---------- */

.bb-paneel__sectie--inhoud { padding-bottom: 18px; column-span: all; }
.bb-editor .bb-paneel__sectie--inhoud + .bb-paneel__sectie { border-top: 1px solid var(--line); }
.bb-inhoud__kop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bb-inhoud__kop .bb-paneel__kop { margin: 0; }
.bb-inhoud__aantal { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.bb-inhoud__uitleg { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.bb-inhoud__volgorde { margin: 0 0 12px; }
.bb-inhoud__volgorde .bb-segmenten { max-width: 380px; }
.bb-inhoud__melding { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 8px 12px; border-radius: var(--r-md); background: var(--accent-zacht); font-size: 13px; }
.bb-inhoud__melding .bb-icoon { width: 15px; height: 15px; color: var(--accent-donker); }
.bb-inhoud__zoek { position: relative; margin-bottom: 10px; }
.bb-inhoud__zoek .bb-icoon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--faint); }
.bb-inhoud__zoek .bb-invoer { padding-left: 34px; width: 100%; }
.bb-inhoud__lijst { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-inhoud__rij { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto auto auto; align-items: center; gap: 10px; padding: 7px 6px 7px 10px; border-top: 1px solid var(--line); cursor: pointer; transition: background 0.15s; }
.bb-inhoud__rij:first-child { border-top: 0; }
.bb-inhoud__rij:hover { background: var(--cream); }
.bb-inhoud__rij.is-gekozen { background: var(--accent-zacht); box-shadow: inset 3px 0 0 var(--accent); }
.bb-inhoud__rij.is-uit .bb-inhoud__tekst, .bb-inhoud__rij.is-uit .bb-inhoud__beeld { opacity: 0.45; }
.bb-inhoud__beeld { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.bb-inhoud__beeld.is-rond { border-radius: 50%; }
.bb-inhoud__beeld--leeg { display: grid; place-items: center; background: var(--cream-2); color: var(--faint); }
.bb-inhoud__beeld--leeg .bb-icoon { width: 17px; height: 17px; }
.bb-inhoud__tekst { min-width: 0; display: flex; flex-direction: column; }
.bb-inhoud__titel { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-inhoud__sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-inhoud__stand { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #e8f6ef; color: #0f6b43; }
.bb-inhoud__stand.is-uit { background: #ececee; color: var(--muted); }
.bb-inhoud__stand.is-straks { background: #e6efff; color: #1d4fb0; }
.bb-inhoud__stand.is-tot { background: #fdf1dc; color: #8a5a07; }
.bb-inhoud__rij .bb-icoonknop { width: 32px; height: 32px; color: var(--muted); }
.bb-inhoud__rij .bb-icoonknop:hover { color: var(--ink); }
.bb-inhoud__vast.is-actief { color: var(--accent-donker) !important; background: var(--accent-zacht); }
.bb-inhoud__meer { margin-top: 8px; }
.bb-inhoud__leeg { padding: 22px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); text-align: center; color: var(--muted); font-size: 14px; }
.bb-inhoud__leeg p { margin: 0; }
@media (max-width: 600px) { .bb-inhoud__rij { grid-template-columns: 38px minmax(0, 1fr) auto auto; } .bb-inhoud__stand { display: none; } }

/* ---------- Nieuw: iets toevoegen of zelf ontwerpen ---------- */

button.bb-tegel { padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.bb-nieuwkeuze__kop { font-family: var(--display); font-size: 16px; margin: 4px 0 2px; }
.bb-nieuwkeuze__kop + .bb-veld__hint { margin-top: 0; }
.bb-nieuwkeuze__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 12px 0 22px; }
.bb-nieuwkeuze__knop { display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); cursor: pointer; font: inherit; transition: border-color 0.15s, background 0.15s; }
.bb-nieuwkeuze__knop:hover { border-color: var(--accent); background: var(--accent-zacht); }
.bb-nieuwkeuze__knop .bb-icoon { grid-row: 1 / 3; color: var(--accent); }
.bb-nieuwkeuze__naam { font-weight: 600; font-size: 14px; }
.bb-nieuwkeuze__sub { font-size: 12px; color: var(--muted); }
.bb-nieuwkeuze__zelf { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 16px 18px; border-radius: var(--r-md); background: var(--cream); text-decoration: none; color: var(--ink) !important; }
.bb-nieuwkeuze__zelf:hover { background: var(--cream-2); }
.bb-nieuwkeuze__zelf > span { flex: 1; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.bb-nieuwkeuze__zelf strong { font-size: 15px; color: var(--ink); }
.bb-voorbeeld--met-inhoud { position: static; }
.bb-inhoudkaart { margin: 26px 10px 0; padding: 20px 22px 18px; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line); }

/* ---------- kleurthema's met eigen combinaties ---------- */

.bb-thema__staal i { position: absolute; left: 24px; right: 10px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; opacity: 0.85; }
.bb-thema--eigen .bb-thema__naam::after { content: " ·  eigen"; color: var(--faint); font-weight: 500; }

/* ---------- kleurveld ---------- */

.bb-kleurveld { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bb-kleurveld__staal { position: relative; width: 38px; height: 38px; flex: none; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; overflow: hidden; }
.bb-kleurveld__kiezer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.bb-kleurveld__hex { width: 104px; min-height: 38px; }
.bb-kleurveld__snel { display: flex; flex-wrap: wrap; gap: 5px; flex-basis: 100%; }
.bb-kleurveld__stip { width: 20px; height: 20px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, 0.18); padding: 0; }
.bb-kleurveld__stip:hover { transform: scale(1.15); }

/* ---------- instellingen: kleuren en tekst ---------- */

.bb-kaart__sub { font-family: var(--display); font-size: 15px; font-weight: 700; margin: 26px 0 4px; }
.bb-kaart__sub:first-of-type { margin-top: 6px; }
.bb-palet { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bb-palet__kleur { display: grid; grid-template-columns: auto minmax(160px, 260px) auto; gap: 10px; align-items: center; }
.bb-combis { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bb-combi { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.bb-combi__voorbeeld { aspect-ratio: 16 / 9; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.bb-combi__voorbeeld strong { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; line-height: 1.05; }
.bb-combi__label { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 600; margin-bottom: 6px; }
.bb-combi__label i { width: 6px; height: 6px; border-radius: 50%; }
.bb-combi__accent { font-family: var(--display); font-weight: 700; font-size: 15px; }
.bb-combi__kop { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.bb-combi__kop .bb-invoer { max-width: 260px; }
.bb-combi__kleuren { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bb-combi__kleuren .bb-veld { margin: 0; }
.bb-combi__let-op { margin: 8px 0 0; font-size: 12.5px; color: #8a5a07; }
@media (max-width: 900px) { .bb-combi { grid-template-columns: 1fr; } .bb-combi__kleuren { grid-template-columns: 1fr; } }
.bb-tstijlen { display: flex; flex-direction: column; gap: 10px; }
.bb-tstijl { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.bb-tstijl__kop { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 10px; }
.bb-tstijl__proef { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.bb-tstijl__velden { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.bb-tstijl__veld { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.bb-tstijl__veld .bb-invoer { width: 100%; }
.bb-knoppenrij--links { justify-content: flex-start; margin-top: 6px; }

/* ---------- ontwerper: werkbalk, maat bij het slepen, lagen ---------- */

.bb-ont-overlay.is-slepen .bb-ont-werkbalk { opacity: 0; pointer-events: none; }
.bb-ont-werkbalk { position: absolute; z-index: 3; display: flex; align-items: center; gap: 2px; padding: 3px; transform: translateY(calc(-100% - 8px)); background: var(--ink); color: var(--cream); border-radius: 10px; box-shadow: 0 8px 24px -10px rgba(17, 17, 19, 0.6); white-space: nowrap; transition: opacity 0.15s; }
.bb-ont-werkbalk.is-onder { transform: translateY(8px); }
.bb-ont-werkbalk__naam { padding: 0 8px 0 6px; font-size: 12px; font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.bb-ont-werkbalk__knop { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: var(--cream); cursor: pointer; }
.bb-ont-werkbalk__knop:hover { background: rgba(249, 242, 233, 0.14); }
.bb-ont-werkbalk__knop.is-gevaar:hover { background: var(--rood); }
.bb-ont-werkbalk__knop .bb-icoon { width: 15px; height: 15px; }
.bb-ont-maat { position: absolute; z-index: 4; padding: 3px 8px; border-radius: 6px; background: var(--accent); color: var(--accent-tekst); font: 600 11px/1.4 var(--mono); pointer-events: none; white-space: pre; }
.bb-ont-laag__knop { margin-left: auto; width: 24px; height: 24px; flex: none; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; opacity: 0; }
.bb-ont-laag:hover .bb-ont-laag__knop, .bb-ont-laag.is-gekozen .bb-ont-laag__knop { opacity: 0.7; }
.bb-ont-laag__knop:hover { opacity: 1 !important; background: rgba(127, 127, 127, 0.2); }
.bb-ont-laag__knop .bb-icoon { width: 13px !important; height: 13px !important; }

/* ---------- ontwerper: tekst en opmaak ---------- */

.bb-tekstpaneel { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.bb-tekstpaneel__kop { font-weight: 700; font-size: 14px; }
.bb-tekstpaneel__balk { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.bb-tekstpaneel__opmaak { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--white); font: 600 14px/1 Georgia, serif; color: var(--ink); cursor: pointer; padding: 0; }
.bb-tekstpaneel__opmaak.is-breed { font-family: var(--body); }
.bb-tekstpaneel__opmaak:hover { border-color: var(--ink); }
.bb-tekstpaneel__accent { color: var(--coral); font-family: var(--body); font-weight: 800; }
.bb-tekstpaneel__tip { font-size: 11.5px; color: var(--faint); margin-left: 4px; }
.bb-tekstpaneel__tekst { min-height: 88px; font-size: 14px; }
.bb-tekstpaneel .bb-veld__hint { margin: -4px 0 0; font-size: 11.5px; }
.bb-tekstpaneel__rij { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 8px; }
.bb-tekstpaneel__label { font-size: 13px; color: var(--ink-2); }
.bb-tekstpaneel__rij .bb-invoer { min-height: 38px; padding-top: 6px; padding-bottom: 6px; font-size: 13.5px; }
.bb-tekstpaneel__minis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bb-tekstpaneel__mini { display: flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 10px; border-radius: 10px; background: var(--cream-2); font-size: 12.5px; }
.bb-tekstpaneel__mini span { font-weight: 600; color: var(--ink-2); }
.bb-tekstpaneel__mini input { flex: 1; min-width: 0; width: 40px; border: 0; background: transparent; font: 500 13.5px var(--body); color: var(--ink); padding: 4px 0; -moz-appearance: textfield; }
.bb-tekstpaneel__mini input::-webkit-inner-spin-button { opacity: 0.4; }
.bb-tekstpaneel__mini input:focus { outline: none; }
.bb-tekstpaneel__mini:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.bb-tekstpaneel__mini em { font-style: normal; color: var(--faint); }
.bb-tekstpaneel__knoppen { display: flex; padding: 3px; border-radius: 10px; background: var(--cream-2); gap: 2px; }
.bb-tekstpaneel__knop { flex: 1; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; font: 600 12.5px/1 var(--body); color: var(--ink-2); cursor: pointer; }
.bb-tekstpaneel__knop .bb-icoon { width: 16px; height: 16px; }
.bb-tekstpaneel__knop.is-actief { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(17, 17, 19, 0.14); }
.bb-tekstpaneel__stijlinfo { display: flex; gap: 6px; align-items: flex-start; margin: -2px 0 0; padding: 7px 10px; border-radius: 8px; background: var(--accent-zacht); font-size: 12px; }
.bb-tekstpaneel__stijlinfo .bb-icoon { width: 13px; height: 13px; margin-top: 1px; color: var(--accent-donker); }
.bb-tekstpaneel .bb-kleurveld__hex { width: 92px; min-height: 38px; font-size: 13px; }
.bb-tekstpaneel .bb-kleurveld__staal { width: 38px; height: 38px; }
.bb-kleurveld__stip.is-actief { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.bb-kleurveld__stip.is-gedempt { opacity: 0.55; }
.bb-kleurveld__scheiding { width: 1px; height: 18px; background: var(--line-strong); margin: 1px 2px; }
.bb-tekstpaneel__verloop { height: 22px; padding: 0 10px; border: 0; border-radius: 999px; background: linear-gradient(90deg, #3b82f6, #f65c46); color: #fff; font: 600 11.5px/1 var(--body); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.bb-tekstpaneel__verloop.is-actief { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.bb-tekstpaneel__verloopvak { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: var(--cream); }
.bb-tekstpaneel__verloopvak .bb-kleurveld__snel { display: none; }
.bb-tekstpaneel__mini input { -moz-appearance: textfield; appearance: textfield; }
.bb-tekstpaneel__mini input::-webkit-inner-spin-button, .bb-tekstpaneel__mini input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bb-tekstpaneel__rij { align-items: start; }
.bb-tekstpaneel__label { padding-top: 10px; }

/* ---------- planning: kleuren en vast scherm ---------- */

.bb-lijstkleur { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 4px; max-width: 360px; }
.bb-lijstkleur__knop { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); display: grid; place-items: center; }
.bb-lijstkleur__knop.is-actief { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
.bb-lijstkleur__eigen { background: conic-gradient(#f65c46, #eab308, #10b981, #3b82f6, #a855f7, #f65c46); overflow: hidden; }
.bb-lijstkleur__eigen input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }
.bb-lijstkleur__eigen .bb-icoon { width: 14px; height: 14px; color: #fff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4)); pointer-events: none; }
.bb-regelwat { margin-top: 10px; }
.bb-regelwat__scherm { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 14px; align-items: start; }
.bb-regelwat__mini { width: 192px; height: 108px; border-radius: 10px; background: var(--ink); opacity: 0; transition: opacity 0.3s; }
.bb-regelwat__mini.is-klaar { opacity: 1; }
.bb-regelwat__kies .bb-veld__hint { margin: 6px 0 10px; }
.bb-tl__blok.is-vast { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 6px, transparent 6px 12px); }
@media (max-width: 700px) { .bb-regelwat__scherm { grid-template-columns: 1fr; } }

/* ---------- displays per locatie ---------- */

.bb-displaygroepen { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 14px; }
.bb-displaygroep { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s var(--ease); }
.bb-displaygroep:hover:not(:disabled) { border-color: var(--line-strong); box-shadow: 0 14px 30px -22px rgba(17, 17, 19, 0.5); transform: translateY(-2px); }
.bb-displaygroep:disabled { cursor: default; background: var(--cream); }
.bb-displaygroep.is-storing { border-color: color-mix(in srgb, var(--rood) 45%, transparent); }
.bb-displaygroep__kop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bb-displaygroep__naam { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; }
.bb-displaygroep__naam .bb-icoon { width: 16px; height: 16px; color: var(--accent); }
.bb-displaygroep__stand { padding: 3px 9px; border-radius: 999px; background: #ececee; color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.bb-displaygroep__stand.is-goed { background: #e8f6ef; color: #0f6b43; }
.bb-displaygroep__stand.is-storing { background: #fdeceb; color: #a3261b; }
.bb-displaygroep__lijst { display: flex; flex-direction: column; gap: 6px; }
.bb-displaygroep__display { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 13px; }
.bb-displaygroep__display .bb-display__stip { width: 8px; height: 8px; }
.bb-displaygroep__dnaam { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-displaygroep__nu { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.bb-displaygroep__meer, .bb-displaygroep__leeg { font-size: 12.5px; color: var(--faint); }
.bb-displaygroep__open { display: flex; align-items: center; gap: 4px; margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--accent-donker); }
.bb-displaygroep__open .bb-icoon { width: 14px; height: 14px; }
.bb-displaygroep-lijst .bb-lijst { border-radius: var(--r-md); }
.bb-inhoud__voet { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.bb-rij__meta .bb-inhoud__stand { margin-left: 8px; }

/* ---------- schermen: raster of lijst ---------- */

.bb-weergave { display: flex; padding: 3px; border-radius: 999px; background: var(--cream-2); gap: 2px; }
.bb-weergave__knop { width: 36px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.bb-weergave__knop.is-actief { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(17, 17, 19, 0.12); }
.bb-tegel__extra, .bb-tegel__pijl { display: none; }
.bb-tegels.is-lijst { display: flex; flex-direction: column; gap: 0; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.bb-tegels.is-lijst .bb-tegel { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto 20px; align-items: center; gap: 18px; padding: 10px 18px 10px 12px; border-top: 1px solid var(--line); }
.bb-tegels.is-lijst .bb-tegel:first-child { border-top: 0; }
.bb-tegels.is-lijst .bb-tegel:hover { background: var(--cream); }
.bb-tegels.is-lijst .bb-tegel__beeld { border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.bb-tegels.is-lijst .bb-tegel:hover .bb-tegel__beeld { transform: none; box-shadow: 0 0 0 1px var(--line-strong); }
.bb-tegels.is-lijst .bb-tegel__onder { padding: 0; }
.bb-tegels.is-lijst .bb-tegel__naam { font-size: 16px; }
.bb-tegels.is-lijst .bb-tegel__extra { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.bb-tegels.is-lijst .bb-tegel__pijl { display: block; color: var(--faint); width: 18px; height: 18px; }
.bb-tegels.is-lijst .bb-tegel--nieuw .bb-tegel__beeld { aspect-ratio: 16 / 9; }
.bb-tegels.is-lijst .bb-tegel__plus span { display: none; }
@media (max-width: 640px) { .bb-tegels.is-lijst .bb-tegel { grid-template-columns: 96px minmax(0, 1fr) 20px; } .bb-tegels.is-lijst .bb-tegel__extra { display: none; } }

/* ---------- pagina's met tabbladen: titel en tabbladen in één rij ---------- */

.bb-kop--tabs { align-items: center; margin-bottom: 14px; min-height: 52px; }
.bb-kop--tabs .bb-tabs { margin: 0; flex-wrap: wrap; }
.bb-tabintro { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; min-height: 44px; }
.bb-tabintro .bb-kop__uitleg { margin: 0; }
.bb-displaygroepen { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px; }
.bb-displaygroep { padding: 20px 20px 16px; }
@media (max-width: 760px) { .bb-displaygroepen { grid-template-columns: 1fr !important; } }
.bb-livepagina { display: flex; flex-direction: column; gap: 20px; }

/* ---------- bewegende elementen: vrij verplaatsen en schalen ---------- */

.bb-bw-podium { position: relative; overflow: hidden; }
.bb-bw-vak { position: absolute; border: 2px solid var(--accent); border-radius: 50%; cursor: move; touch-action: none; box-shadow: 0 0 0 9999px rgba(17, 17, 19, 0.08); }
.bb-bw-vak::before { content: ""; position: absolute; inset: 0; border: 1px dashed rgba(255, 255, 255, 0.6); border-radius: 50%; }
.bb-bw-vak.is-slepen { box-shadow: 0 0 0 9999px rgba(17, 17, 19, 0.18); }
.bb-bw-vak__hoek { position: absolute; width: 14px; height: 14px; border-radius: 4px; background: var(--white); border: 2px solid var(--accent); }
.bb-bw-vak__hoek.is-lb { left: 14.6%; top: 14.6%; transform: translate(-50%, -50%); cursor: nwse-resize; }
.bb-bw-vak__hoek.is-rb { right: 14.6%; top: 14.6%; transform: translate(50%, -50%); cursor: nesw-resize; }
.bb-bw-vak__hoek.is-lo { left: 14.6%; bottom: 14.6%; transform: translate(-50%, 50%); cursor: nesw-resize; }
.bb-bw-vak__hoek.is-ro { right: 14.6%; bottom: 14.6%; transform: translate(50%, 50%); cursor: nwse-resize; }
.bb-bw-stand { margin: 0; font: 500 12.5px var(--mono); color: var(--muted); }

/* ---------- instellingen: volle breedte, subtabbladen ---------- */

.bb-instellingen--vol { max-width: none; }
.bb-kaart__kopregel { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.bb-kaart__kopregel .bb-kaart__kop { margin: 0; }
.bb-kaart__kopregel .bb-segmenten { min-width: 260px; }
.bb-subtab[hidden] { display: none; }

/* ---------- klein voorbeeld per display ---------- */

.bb-displaymini { display: block; border-radius: 6px; background: var(--ink); box-shadow: 0 0 0 1px var(--line); flex: none; }
.bb-displaymini.is-groot { width: 128px; height: 72px; }
.bb-displaymini.is-klein { width: 56px; height: 32px; border-radius: 4px; }
.bb-displaymini--leeg { display: grid; place-items: center; color: rgba(249, 242, 233, 0.45); }
.bb-displaymini--leeg .bb-icoon { width: 16px; height: 16px; }
.bb-displaymini.is-klein.bb-displaymini--leeg .bb-icoon { width: 13px; height: 13px; }
.bb-display--met-mini { grid-template-columns: 128px 14px minmax(0, 1fr) auto; }
/* 0.15.9: status onder de naam; de tekstkolom krijgt de breedte */
.bb-display--met-mini .bb-display__tekst { gap: 2px; text-wrap: pretty; }
.bb-display--met-mini .bb-display__tekst .bb-display__status { white-space: normal; margin-bottom: 2px; }
.bb-display--met-mini .bb-display__sub { line-height: 1.45; }
.bb-display__deel { white-space: nowrap; }
@media (max-width: 1100px) {
	.bb-display--met-mini { grid-template-columns: 128px 14px minmax(0, 1fr); }
	.bb-display--met-mini .bb-display__acties { grid-column: 3 / -1; justify-content: flex-start; }
}
.bb-display--met-mini .bb-display__voet { grid-column: 1 / -1; }
.bb-displaygroep__display { grid-template-columns: 56px 10px minmax(0, 1fr) auto !important; }
@media (max-width: 700px) { .bb-display--met-mini { grid-template-columns: 96px 14px minmax(0, 1fr); } .bb-display--met-mini .bb-displaymini.is-groot { width: 96px; height: 54px; } .bb-display--met-mini .bb-display__acties { grid-column: 1 / -1; flex-wrap: nowrap; } .bb-display__deel { white-space: normal; } .bb-display__bekijk span { display: none; } }

/* ---------- sjablonen ---------- */

.bb-sjablonen { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 14px; }
.bb-sjabloon { display: flex; flex-direction: column; gap: 4px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.bb-sjabloon__beeld { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--cream-2); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.15s, transform 0.2s var(--ease); }
.bb-sjabloon:hover .bb-sjabloon__beeld { box-shadow: 0 0 0 2px var(--accent); transform: translateY(-2px); }
.bb-sjabloon__naam { margin-top: 6px; font-weight: 700; font-size: 14px; }
.bb-sjabloon__uitleg { font-size: 12.5px; color: var(--muted); }

/* ---------- nu tonen en prullenbak ---------- */

.bb-nutonen.is-actief { background: #0f1a2b; color: #fff; box-shadow: 0 0 0 2px var(--accent); }
.bb-nutonen.is-actief .bb-live__badge { background: var(--accent); }
.bb-nutonen .bb-knoppenrij { justify-content: flex-start; margin-top: 8px; }
.bb-rij--prul { cursor: default; grid-template-columns: 48px minmax(0, 1fr) auto auto; }
.bb-rij--prul:hover { background: transparent; }
.bb-prul__acties { display: flex; align-items: center; gap: 4px; }
.bb-kop--tabs ~ .bb-tabintro ~ .bb-instellingen, .bb-kop--tabs ~ .bb-instellingen { max-width: none; }

/* =====================================================================
   NOBEARS TV 0.6.0
   ===================================================================== */

/* ---------- ontwerper: rustiger eigenschappenpaneel ---------- */
.bb-ont { grid-template-columns: 200px minmax(0, 1fr) 360px; }
@media (min-width: 1700px) { .bb-ont { grid-template-columns: 220px minmax(0, 1fr) 380px; } }
@media (max-width: 1180px) { .bb-ont { grid-template-columns: 200px minmax(0, 1fr); } }
@media (max-width: 860px) { .bb-ont { grid-template-columns: 1fr; } }
.bb-ont-paneel { column-count: auto !important; display: flex; flex-direction: column; }
.bb-ont-eigenschappen { padding: 0; overflow-x: hidden; }

.bb-ps-kop { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.bb-ps-kop__icoon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--accent-zacht); color: var(--accent-donker); }
.bb-ps-kop__icoon .bb-icoon { width: 17px; height: 17px; }
.bb-ps-kop__naam { flex: 1; min-width: 0; font: 700 15px var(--display); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ps-kop__invoer { flex: 1; min-width: 0; height: 32px; padding: 0 8px; margin-left: -8px; border: 1px solid transparent; border-radius: 8px; background: transparent; font: 700 15px var(--display); letter-spacing: -0.01em; color: var(--ink); }
.bb-ps-kop__invoer:hover { border-color: var(--line); }
.bb-ps-kop__invoer:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px var(--accent-zacht); }
.bb-ps-kop__oog { width: 32px; height: 32px; flex: none; color: var(--muted); }
.bb-ps-kop__oog.is-uit { color: var(--coral-strong); background: rgba(246, 92, 70, 0.1); }
.bb-ps-kop__terug { display: inline-flex; align-items: center; gap: 5px; flex: none; max-width: 150px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 600 12px var(--body); color: var(--ink-2); cursor: pointer; }
.bb-ps-kop__terug span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-ps-kop__terug .bb-icoon { width: 14px; height: 14px; flex: none; }
.bb-ps-kop__terug:hover { border-color: var(--ink); color: var(--ink); }

.bb-ps-lijst { display: flex; flex-direction: column; }
.bb-ps { padding: 16px 16px 18px; border-bottom: 1px solid var(--line); }
.bb-ps:last-child { border-bottom: 0; }
.bb-ps__kop { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.bb-ps__kop h4 { margin: 0; font: 700 11px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.bb-ps__inhoud { display: flex; flex-direction: column; gap: 10px; }
.bb-ps .bb-schakel { font-size: 13.5px; font-weight: 500; gap: 10px; }
.bb-ps__inhoud > .bb-veld { margin: 0; }
.bb-ps__inhoud > .bb-veld .bb-veld__label { font-size: 12.5px; }
.bb-ps__rij { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 10px; }
.bb-ps__label { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.bb-ps__waarde { min-width: 0; }
.bb-ps__twee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bb-ps__drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bb-ps__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bb-ps__hint { margin: 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.bb-ps__uitlijnen { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bb-invoer--ps { width: 100%; min-height: 36px; height: 36px; padding: 0 10px; border-radius: 9px; font-size: 13px; }
select.bb-invoer--ps { padding-right: 28px; background-position: right 8px center; }
.bb-ps textarea.bb-invoer { border-radius: 10px; font-size: 14px; }

/* sleepbaar getal */
.bb-scrub { position: relative; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 9px; background: var(--cream); box-shadow: inset 0 0 0 1px transparent; overflow: hidden; transition: box-shadow 0.12s, background 0.12s; min-width: 0; }
.bb-scrub:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.bb-scrub:focus-within { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 3px var(--accent-zacht); }
.bb-scrub__label { position: relative; z-index: 1; flex: none; font-size: 12px; font-weight: 600; color: var(--muted); cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: none; padding: 8px 0; }
.bb-scrub__label:hover, .bb-scrub.is-slepen .bb-scrub__label { color: var(--accent-donker); }
.bb-scrub__invoer { position: relative; z-index: 1; flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; font: 600 13px var(--body); font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.bb-scrub__invoer:focus { outline: none; }
.bb-scrub__eenheid { position: relative; z-index: 1; flex: none; font-size: 11.5px; color: var(--faint); }
.bb-scrub--balk { cursor: ew-resize; touch-action: none; }
.bb-scrub--balk .bb-scrub__invoer { cursor: ew-resize; }
.bb-scrub--balk:focus-within .bb-scrub__invoer { cursor: text; }
.bb-scrub__vulling { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--accent) 16%, transparent); border-right: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); pointer-events: none; transition: width 0.05s linear; }
.bb-scrub--balk .bb-scrub__label { cursor: inherit; }
.bb-scrub.is-slepen { box-shadow: inset 0 0 0 1.5px var(--accent); }
body:has(.bb-scrub.is-slepen) { cursor: ew-resize; user-select: none; -webkit-user-select: none; }

/* knoppen met iconen of korte tekst, één actief */
.bb-keus { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--cream); min-width: 0; }
.bb-keus__knop { flex: 1 1 0; min-width: 0; height: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 6px; border: 0; border-radius: 7px; background: transparent; font: 600 12px/1 var(--body); color: var(--muted); cursor: pointer; white-space: nowrap; transition: background 0.12s, color 0.12s; }
.bb-keus__knop .bb-icoon { width: 16px; height: 16px; flex: none; }
.bb-keus__knop:hover { color: var(--ink); }
.bb-keus__knop.is-actief { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(17, 17, 19, 0.14), 0 0 0 1px rgba(17, 17, 19, 0.04); }
.bb-keus--klein { padding: 2px; }
.bb-keus--klein .bb-keus__knop { width: 30px; flex: none; height: 28px; padding: 0; }
.bb-keus--klein .bb-keus__knop:hover { background: var(--white); }

/* kleur */
.bb-kleurblok { display: flex; flex-direction: column; gap: 10px; }
.bb-kleurblok__rij { display: flex; align-items: center; gap: 8px; }
.bb-kleurblok .bb-kleurveld__staal { width: 36px; height: 36px; border-radius: 9px; }
.bb-kleurblok .bb-kleurveld__hex { width: 96px; min-height: 36px; height: 36px; padding: 0 10px; font-size: 13px; border-radius: 9px; }
.bb-kleurveld__naam { flex: 1; min-width: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-kleurblok .bb-kleurveld__snel { align-items: center; gap: 5px; }
.bb-kleurblok .bb-kleurveld__stip { width: 19px; height: 19px; transition: transform 0.12s; }
.bb-kleurblok .bb-tekstpaneel__verloop { margin-left: auto; flex: none; }
.bb-ps .bb-tekstpaneel__verloopvak { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: var(--cream); }

/* tekst */
.bb-ps .bb-tekstpaneel__balk { gap: 3px; padding: 3px; border-radius: 10px; background: var(--cream); }
.bb-ps .bb-tekstpaneel__opmaak { width: 32px; height: 30px; border: 0; border-radius: 7px; background: transparent; }
.bb-ps .bb-tekstpaneel__opmaak:hover { background: var(--white); box-shadow: 0 1px 2px rgba(17, 17, 19, 0.12); }
.bb-tekstpaneel__streep { width: 1px; height: 18px; background: var(--line-strong); margin: 0 3px; }
.bb-tekstpaneel__hulp { margin-left: auto; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; font: 700 12px var(--body); color: var(--faint); cursor: pointer; }
.bb-tekstpaneel__hulp:hover, .bb-tekstpaneel__hulp.is-open { background: var(--white); color: var(--ink); }
.bb-ps .bb-tekstpaneel__tekst { min-height: 84px; }
.bb-ps .bb-velden { margin: 0; }
.bb-ps .bb-tekstpaneel__stijlinfo { margin: 0; }

/* animatie-tegels */
.bb-anim { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bb-anim__tegel { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; color: var(--ink-2); transition: border-color 0.12s, background 0.12s; min-width: 0; }
.bb-anim__tegel:hover { border-color: var(--line-strong); background: var(--cream); }
.bb-anim__tegel.is-actief { border-color: var(--accent); background: var(--accent-zacht); color: var(--accent-donker); box-shadow: 0 0 0 1px var(--accent); }
.bb-anim__beeld { display: block; width: 100%; max-width: 48px; aspect-ratio: 3 / 2; }
.bb-anim__beeld svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bb-anim__vlak { fill: currentColor; opacity: 0.85; transform-box: fill-box; transform-origin: center; }
.bb-anim__vlak--stil { opacity: 0.45; }
.bb-anim__rand { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 2 2.5; opacity: 0.5; }
.bb-anim__pijl { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; }
.bb-anim__naam { font: 600 10.5px/1.1 var(--body); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bb-anim__tegel:hover.is-omhoog .bb-anim__vlak { animation: bb-anim-omhoog 1.6s var(--ease) infinite; }
.bb-anim__tegel:hover.is-infaden .bb-anim__vlak { animation: bb-anim-infaden 1.6s ease infinite; }
.bb-anim__tegel:hover.is-zoom .bb-anim__vlak { animation: bb-anim-zoom 1.6s var(--ease) infinite; }
.bb-anim__tegel:hover.is-links .bb-anim__vlak { animation: bb-anim-links 1.6s var(--ease) infinite; }
@keyframes bb-anim-omhoog { 0% { transform: translateY(8px); opacity: 0; } 45%, 100% { transform: none; opacity: 0.85; } }
@keyframes bb-anim-infaden { 0% { opacity: 0; } 50%, 100% { opacity: 0.85; } }
@keyframes bb-anim-zoom { 0% { transform: scale(0.55); opacity: 0; } 45%, 100% { transform: none; opacity: 0.85; } }
@keyframes bb-anim-links { 0% { transform: translateX(-12px); opacity: 0; } 45%, 100% { transform: none; opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) { .bb-anim__vlak { animation: none !important; } }

/* beeld en media */
.bb-ps .bb-ont-media { flex-wrap: wrap; }
.bb-ont-media__voorbeeld { width: 100%; max-height: 120px; object-fit: contain; border-radius: 10px; background: repeating-conic-gradient(var(--cream) 0 25%, var(--white) 0 50%) 0 0 / 16px 16px; box-shadow: inset 0 0 0 1px var(--line); }
.bb-ps .bb-icoonveld__knop { min-height: 44px; border-color: var(--line); border-radius: 10px; }

/* acties onderaan */
.bb-ps-acties { position: sticky; bottom: 0; z-index: 3; display: flex; gap: 4px; padding: 10px 12px; margin-top: auto; background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-top: 1px solid var(--line); }
.bb-ps-acties__knop { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 2px 6px; border: 0; border-radius: 9px; background: transparent; font: 600 10.5px/1.1 var(--body); color: var(--ink-2); cursor: pointer; }
.bb-ps-acties__knop span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-ps-acties__knop .bb-icoon { width: 17px; height: 17px; }
.bb-ps-acties__knop:hover { background: var(--cream); color: var(--ink); }
.bb-ps-acties__knop.is-gevaar { color: var(--coral-strong); }
.bb-ps-acties__knop.is-gevaar:hover { background: rgba(246, 92, 70, 0.1); }
.bb-ps .bb-themaknoppen, .bb-ps .bb-themas { gap: 6px; }

/* ---------- eigen bevestigingsvenster ---------- */
.bb-bevestig { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(17, 17, 19, 0.38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: bb-bevestig-in 0.16s ease; }
.bb-bevestig.is-weg { opacity: 0; transition: opacity 0.15s; }
.bb-bevestig__kaart { width: min(440px, 100%); padding: 24px; border-radius: 18px; background: var(--white); box-shadow: 0 30px 80px -24px rgba(17, 17, 19, 0.55), 0 0 0 1px var(--line); animation: bb-bevestig-kaart 0.22s var(--ease); }
.bb-bevestig__icoon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; background: var(--accent-zacht); color: var(--accent-donker); }
.bb-bevestig__kaart.is-gevaar .bb-bevestig__icoon { background: rgba(246, 92, 70, 0.12); color: var(--coral-strong); }
.bb-bevestig__vraag { margin: 0 0 6px; font: 700 19px/1.25 var(--display); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.bb-bevestig__uitleg { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.bb-bevestig__knoppen { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bb-knop--gevaar-vol { background: var(--coral-strong); border-color: var(--coral-strong); color: #fff; }
.bb-knop--gevaar-vol:hover { background: #b92c18; border-color: #b92c18; color: #fff; }
@keyframes bb-bevestig-in { from { opacity: 0; } }
@keyframes bb-bevestig-kaart { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* ---------- afspeellijst: grotere voorbeelden, instellingen per item ---------- */
.bb-modal__paneel--lijst { max-width: 1180px; }
.bb-lijstitem { grid-template-columns: 18px 22px 160px minmax(0, 1fr) auto auto auto auto auto; gap: 12px; padding: 10px 10px 10px 12px; }
.bb-lijstitem__beeld { width: 160px; height: 90px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.bb-lijstitem.is-open { background: var(--cream); }
.bb-lijstitem__keuzes { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bb-lijstitem__keuzes:empty { display: none; }
.bb-lijstitem__keuzes > span:empty { display: none; }
.bb-lijstitem__instel { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font: 600 12.5px var(--body); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.bb-lijstitem__instel .bb-icoon { width: 15px; height: 15px; }
.bb-lijstitem__instel:hover { border-color: var(--ink); color: var(--ink); }
.bb-lijstitem__instel.is-anders { border-color: var(--accent); background: var(--accent-zacht); color: var(--accent-donker); }
.bb-lijstitem__pijl { transition: transform 0.15s; }
.bb-lijstitem__instel.is-open .bb-lijstitem__pijl { transform: rotate(180deg); }
.bb-lijstitem__anders { font-weight: 500; font-size: 12px; color: var(--accent-donker); white-space: normal; }
.bb-lijstitem__anders:empty { display: none; }
.bb-lijstitem__opties { padding: 4px 16px 18px 64px; background: var(--cream); border-top: 1px dashed var(--line); }
.bb-lijstitem__optieskop { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 10px 0 14px; }
.bb-lijstitem__optieskop p { margin: 0; font-size: 13px; color: var(--ink-2); }
.bb-lijstitem__optiesvelden { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 22px; align-items: start; }
.bb-lijstitem__optiesvelden > .bb-veld { margin: 0; }
.bb-lijstitem__optiesvelden .bb-invoer { background: var(--white); }
@media (max-width: 900px) {
	.bb-lijstitem { grid-template-columns: 96px minmax(0, 1fr) auto 38px; }
	.bb-lijstitem__beeld { width: 96px; height: 54px; }
	.bb-lijstitem__opties { padding-left: 16px; }
}

/* ---------- visuele schermkiezer ---------- */
.bb-schermkiezer { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 14px 8px 8px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: border-color 0.12s, box-shadow 0.12s; }
.bb-schermkiezer:hover { border-color: var(--ink); }
.bb-schermkiezer:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-zacht); }
.bb-schermkiezer__mini { width: 128px; height: 72px; flex: none; border-radius: 8px; background: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.bb-schermkiezer__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bb-schermkiezer__tekst strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-schermkiezer__tekst span { font-size: 12.5px; color: var(--muted); }
.bb-schermkiezer__wissel { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bb-schermkiezer__wissel .bb-icoon { width: 15px; height: 15px; }
.bb-regelwat__vast { display: flex; flex-direction: column; gap: 12px; }
.bb-regelwat__vast > .bb-veld { margin: 0; }
.bb-schermkies { display: flex; flex-direction: column; gap: 16px; }
.bb-schermkies__balk { position: sticky; top: -24px; z-index: 2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 0 10px; background: var(--white); }
.bb-schermkies__zoek { position: relative; flex: 1 1 260px; }
.bb-schermkies__zoek .bb-icoon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); pointer-events: none; }
.bb-schermkies__zoek .bb-invoer { padding-left: 36px; }
.bb-schermkies__balk .bb-segmenten { flex: none; }
.bb-schermkies__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.bb-schermkies__kaart { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 6px 6px 10px; border: 1px solid transparent; border-radius: 14px; background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: background 0.12s, border-color 0.12s; }
.bb-schermkies__kaart:hover { background: var(--cream); }
.bb-schermkies__kaart.is-actief { border-color: var(--accent); background: var(--accent-zacht); }
.bb-schermkies__beeld { position: relative; display: block; border-radius: 9px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--cream-2); aspect-ratio: 16 / 9; }
.bb-schermkies__mini { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.25s; }
.bb-schermkies__mini.is-klaar { opacity: 1; }
.bb-schermkies__vink { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.bb-schermkies__vink .bb-icoon { width: 15px; height: 15px; }
.bb-schermkies__naam { display: flex; align-items: center; gap: 7px; padding: 0 4px; font-size: 13.5px; font-weight: 600; min-width: 0; }
.bb-schermkies__naam span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-schermkies__naam .bb-icoon { width: 15px; height: 15px; flex: none; color: var(--muted); }
.bb-schermkies__soort { position: absolute; top: 14px; left: 14px; padding: 2px 8px; border-radius: 999px; background: rgba(17, 17, 19, 0.72); color: #fff; font-size: 11px; font-weight: 600; }

/* ---------- displays: gegevens van de Pi, overzicht, zonder internet ---------- */
.bb-drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 760px) { .bb-drie { grid-template-columns: 1fr; } }
.bb-formulier__kop { display: flex; align-items: center; gap: 8px; margin: 10px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font: 700 15px var(--display); letter-spacing: -0.01em; }
.bb-formulier__kop .bb-icoon { width: 17px; height: 17px; color: var(--accent-donker); }
.bb-pitabel__vak { overflow-x: auto; margin: 0 -4px; }
.bb-pitabel { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.bb-pitabel th { padding: 10px 9px; text-align: left; font: 700 11px var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); white-space: nowrap; }
.bb-pitabel td { padding: 12px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.bb-pitabel tbody tr { cursor: pointer; transition: background 0.12s; }
.bb-pitabel tbody tr:hover, .bb-pitabel tbody tr:focus-visible { background: var(--cream); outline: none; }
.bb-pitabel tbody tr:last-child td { border-bottom: 0; }
.bb-pitabel__nr { font-variant-numeric: tabular-nums; color: var(--muted); width: 36px; }
.bb-pitabel__mono { font-family: var(--mono); font-size: 12.5px; }
.bb-pitabel__sub { display: block; font-size: 12px; color: var(--muted); font-family: var(--body); }
.bb-pitabel__sub.is-let { color: var(--coral-strong); }
.bb-pitabel__leeg { color: var(--faint); }
.bb-pitabel__net { display: inline-flex; align-items: center; gap: 6px; }
.bb-pitabel__net .bb-icoon { width: 15px; height: 15px; color: var(--muted); }
.bb-pitabel__verb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bb-pitabel__verb.is-online { color: var(--forest); font-weight: 600; }
.bb-pitabel__verb.is-offline { color: var(--coral-strong); }
.bb-pitabel__verb .bb-display__stip { position: static; }
.bb-pitabel__actie { text-align: right; width: 1%; color: var(--faint); }
.bb-pitabel__actie > .bb-icoon { width: 16px; height: 16px; }
.bb-pistatus { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--cream-2); color: var(--ink-2); white-space: nowrap; }
.bb-pistatus.is-nog_niet { background: #dfe7fb; color: #2d4fa8; }
.bb-pistatus.is-bezig { background: #fdf0d2; color: #8a5a00; }
.bb-pistatus.is-klaar { background: #e6e1fb; color: #5137b5; }
.bb-pistatus.is-geinstalleerd { background: #d9f2e2; color: #1a6b3b; }
.bb-pistatus.is-defect { background: #fde2dd; color: #b02a16; }
.bb-pisamen { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.bb-reserve__kop { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.bb-reserve__kop .bb-kaart__kop { margin: 2px 0 4px; }
.bb-reserve__kop .bb-veld__hint { margin: 0; max-width: 820px; }
.bb-reserve__icoon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent-zacht); color: var(--accent-donker); }

/* ---------- rolbeheer ---------- */
.bb-alleenlezen-melding { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--accent-zacht); color: var(--accent-donker); font-size: 14px; font-weight: 500; }
.bb-alleenlezen-melding .bb-icoon { width: 18px; height: 18px; flex: none; }
.bb-paneel > .bb-alleenlezen-melding { margin: 0 0 14px; }
.bb-modal__inhoud > .bb-alleenlezen-melding { margin-bottom: 16px; }
.bb-alleen-lezen [data-alleen-lezen] { cursor: not-allowed; }
.bb-alleen-lezen .bb-knop[data-alleen-lezen], .bb-alleen-lezen .bb-segment[data-alleen-lezen] { opacity: 0.55; }

.bb-rolbeheer { margin-top: 8px; }
.bb-rollen { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.bb-rollen__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-rollen__tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.bb-rollen__tab strong { font-size: 14px; }
.bb-rollen__tab span { font-size: 12px; color: var(--muted); }
.bb-rollen__tab:hover { border-color: var(--line-strong); background: var(--cream); }
.bb-rollen__tab.is-actief { border-color: var(--accent); background: var(--accent-zacht); box-shadow: 0 0 0 1px var(--accent); }
.bb-rollen__tab--nieuw { flex-direction: row; align-items: center; gap: 8px; min-width: 0; border-style: dashed; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.bb-rollen__tab--nieuw .bb-icoon { width: 16px; height: 16px; }
.bb-rollen__rol { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--white); }
.bb-rollen__naam { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 8px; }
.bb-rollen__naam .bb-veld { flex: 1; max-width: 360px; margin: 0; }
.bb-rechten { display: flex; flex-direction: column; }
.bb-rechten__kop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font: 700 11px var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.bb-rechten__rij { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bb-rechten__rij:last-child { border-bottom: 0; }
.bb-rechten__tekst { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bb-rechten__tekst strong { font-size: 14.5px; }
.bb-rechten__tekst span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.bb-rechten__keus { display: flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--cream); justify-self: end; }
.bb-rechten__knop { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; font: 600 12.5px var(--body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.bb-rechten__knop .bb-icoon { width: 15px; height: 15px; }
.bb-rechten__knop:hover { color: var(--ink); }
.bb-rechten__knop.is-actief { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(17, 17, 19, 0.14); }
.bb-rechten__knop.is-0.is-actief { color: var(--coral-strong); }
.bb-rechten__knop.is-1.is-actief { color: #2d4fa8; }
.bb-rechten__knop.is-2.is-actief { color: #1a6b3b; }
.bb-rollen__wie { display: flex; flex-direction: column; gap: 8px; }
.bb-rollen__persoon { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.bb-rollen__mail { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bb-rollen__mail .bb-icoon { width: 16px; height: 16px; color: var(--muted); flex: none; }
@media (max-width: 760px) {
	.bb-rechten__rij { grid-template-columns: 1fr; }
	.bb-rechten__keus { justify-self: start; }
	.bb-rollen__persoon { grid-template-columns: 1fr; }
}
.bb-alleen-lezen .bb-schakel:has(input[data-alleen-lezen]), .bb-alleen-lezen .bb-thema:has(input[data-alleen-lezen]) { opacity: 0.6; cursor: not-allowed; }
.bb-alleen-lezen .bb-bewaarbalk { display: none; }
.bb-arenastatus__lijst { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bb-arenastatus__regel { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; }
.bb-arenastatus__stip { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--coral); }
.bb-arenastatus__regel.is-goed .bb-arenastatus__stip { background: var(--green); }
.bb-arenastatus__fout { display: block; margin-top: 2px; font-size: 12.5px; color: var(--coral-strong); overflow-wrap: anywhere; }
.bb-rechten__open { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; font: 600 12.5px var(--body); color: var(--accent-donker); cursor: pointer; }
.bb-rechten__open .bb-icoon { width: 14px; height: 14px; transition: transform 0.15s; }
.bb-rechten__rij.is-open .bb-rechten__open .bb-icoon { transform: rotate(180deg); }
.bb-rechten__open:hover span { text-decoration: underline; text-underline-offset: 3px; }
.bb-rechten__gemengd { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fdf0d2; color: #8a5a00; font-size: 11px; font-weight: 700; vertical-align: 2px; }
.bb-rechten__keus.is-gemengd { box-shadow: inset 0 0 0 1px #f1d79b; }
.bb-rechten__groep { border-bottom: 1px solid var(--line); }
.bb-rechten__groep > .bb-rechten__rij { border-bottom: 0; }
.bb-rechten__kinderen { margin: 0 0 12px 18px; padding: 4px 0 4px 16px; border-left: 2px solid var(--line); }
.bb-rechten__rij--kind { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.bb-rechten__rij--kind:last-child { border-bottom: 0; }
.bb-rechten__rij--kind .bb-rechten__tekst strong { font-size: 13.5px; font-weight: 600; }
.bb-rechten__rij--kind .bb-rechten__knop { height: 28px; padding: 0 10px; font-size: 12px; }
.bb-anim--zes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-anim__vlak--vol { opacity: 0.6; }
.bb-anim__tegel:hover.is-vol .bb-anim__vlak { animation: bb-anim-vol 1.8s var(--ease) infinite; transform-origin: 75% 55%; }
@keyframes bb-anim-vol { 0%, 30% { transform: none; } 70%, 100% { transform: translate(6px, 2px) scale(0.5); } }
.bb-voorbeeld__hint { display: flex; gap: 8px; margin: 6px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--accent-zacht); color: var(--accent-donker); font-size: 13.5px; line-height: 1.45; }
.bb-voorbeeld__hint[hidden] { display: none; }
.bb-voorbeeld__hint--vestiging { align-items: center; flex-wrap: wrap; gap: 6px; background: var(--wit, #fff); color: inherit; border: 1px solid rgba(17, 17, 19, 0.1); }
.bb-voorbeeld__hint--vestiging .bb-invoer--mini { min-height: 30px; padding-top: 3px; padding-bottom: 3px; }

/* ---------- Displays: kaart met de vestigingen (0.6.9) ---------- */
.bb-displayindeling { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr); gap: 20px; align-items: start; }
.bb-displayindeling__links { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bb-displayindeling__links > .bb-kaart { margin: 0; }
.bb-displayindeling__kaart { position: sticky; top: 20px; min-width: 0; }
@media (max-width: 1100px) { .bb-displayindeling { grid-template-columns: 1fr; } .bb-displayindeling__kaart { position: static; order: -1; } }
.bb-osm__kaart { position: relative; overflow: hidden; border-radius: var(--r-md); background: #e8eaed; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.bb-osm__kaart.is-slepen { cursor: grabbing; }
.bb-osm__tegels, .bb-osm__spelden { position: absolute; inset: 0; }
.bb-osm__tegel { position: absolute; width: 256px; height: 256px; max-width: none; filter: grayscale(1) contrast(0.92) brightness(1.04); pointer-events: none; }
.bb-osm__speld { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 0; padding: 0; border: 0; background: none; cursor: pointer; z-index: 1; }
.bb-osm__speld:hover, .bb-osm__speld:focus-visible { z-index: 2; }
.bb-osm__aantal { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: #6b6d78; color: #ffffff; font: 700 14px/1 var(--body); box-shadow: 0 0 0 3px #ffffff, 0 4px 14px rgba(17, 17, 19, 0.25); }
.bb-osm__speld.is-goed .bb-osm__aantal { background: #0b7a54; }
.bb-osm__speld.is-deels .bb-osm__aantal { background: #a85800; }
.bb-osm__speld.is-storing .bb-osm__aantal { background: #c8321d; }
.bb-osm__label { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; padding: 6px 10px; border-radius: 8px; background: #ffffff; color: var(--ink); font-size: 12.5px; line-height: 1.3; white-space: nowrap; box-shadow: 0 4px 14px rgba(17, 17, 19, 0.16); text-align: left; }
.bb-osm__label strong { font-size: 13px; }
.bb-osm__label span { color: var(--muted); }
.bb-osm__zoom { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 3; }
.bb-osm__knop { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff; color: var(--ink); font: 600 18px/1 var(--body); cursor: pointer; box-shadow: 0 2px 8px rgba(17, 17, 19, 0.1); }
.bb-osm__knop:hover { background: var(--cream); }
.bb-osm__knop svg { width: 16px; height: 16px; }
.bb-osm__bron { position: absolute; right: 0; bottom: 0; padding: 2px 8px; border-top-left-radius: 8px; background: rgba(255, 255, 255, 0.85); color: var(--muted) !important; font-size: 11px; text-decoration: none; z-index: 3; }
.bb-osm__legenda { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.bb-osm__legenda .bb-veld__hint { flex-basis: 100%; margin: 2px 0 0; }
.bb-osm__sleutel { display: inline-flex; align-items: center; gap: 6px; }
.bb-osm__stip { width: 10px; height: 10px; border-radius: 50%; background: #6b6d78; }
.bb-osm__stip.is-goed { background: #0b7a54; }
.bb-osm__stip.is-deels { background: #a85800; }
.bb-osm__stip.is-storing { background: #c8321d; }
.bb-osm__speld.is-links .bb-osm__label { left: auto; right: calc(100% + 10px); }
.bb-osm__speld.is-stil .bb-osm__label { opacity: 0; pointer-events: none; transition: opacity 0.15s; }
.bb-osm__speld.is-stil:hover .bb-osm__label, .bb-osm__speld.is-stil:focus-visible .bb-osm__label { opacity: 1; z-index: 3; }
.bb-displayindeling .bb-reserve .bb-twee { grid-template-columns: 1fr; }
.bb-displayindeling .bb-segmenten { flex-wrap: wrap; border-radius: 18px; }

/* ---------- Foto's van collega's (0.7.0) ---------- */
.bb-fotoinstel { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.bb-fotoinstel__tekst { max-width: 760px; }
.bb-fotoinstel__tekst .bb-veld__hint { margin: 6px 0 10px; }
.bb-fotoinstel__stand, .bb-fotoinstel__adres { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.bb-fotoinstel__stand svg { width: 16px; height: 16px; flex: none; }
.bb-fotoinstel__keus { flex: none; padding-top: 4px; }
.bb-fotokaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.bb-fotokaart { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.bb-fotokaart.is-verborgen .bb-fotokaart__beeld img { opacity: 0.45; filter: grayscale(1); }
.bb-fotokaart.is-wacht { border-color: #c96a00; box-shadow: 0 0 0 2px rgba(201, 106, 0, 0.18); }
.bb-fotokaart__beeld { display: block; aspect-ratio: 4 / 3; background: var(--cream-2); }
.bb-fotokaart__beeld img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-fotokaart__info { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; flex: 1; }
.bb-fotokaart__wie { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bb-fotokaart__wie > div { display: flex; flex-direction: column; min-width: 0; }
.bb-fotokaart__wie strong { font-size: 14px; }
.bb-fotokaart__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.bb-fotokaart__avatar--leeg { display: grid; place-items: center; background: var(--accent); color: var(--accent-tekst); font-weight: 700; font-size: 14px; }
.bb-fotokaart__mail { font-size: 12.5px; color: var(--muted) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-fotokaart__tekst { margin: 0; font-size: 14px; }
.bb-fotokaart__meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.bb-fotokaart__acties { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.bb-fotokaart__knoppen { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bb-fotokaart__stand { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: #ececee; color: var(--muted); font-size: 12px; font-weight: 600; }
.bb-fotokaart__stand.is-goed { background: #e3f4ec; color: #0b6a48; }
.bb-fotokaart__stand.is-wacht { background: #fdf0dc; color: #8a4a00; }
@media (max-width: 760px) { .bb-fotoinstel { flex-direction: column; } }

/* Insturen op de telefoon */
.bb-fotoin__kies { position: relative; display: block; margin: 8px 0 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--white); overflow: hidden; cursor: pointer; }
.bb-fotoin__kies input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bb-fotoin__leeg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 200px; padding: 24px; text-align: center; }
.bb-fotoin__leeg strong { font-size: 17px; }
.bb-fotoin__leeg small { color: var(--muted); font-size: 14px; }
.bb-fotoin__voorbeeld { display: block; width: 100%; max-height: 60vh; object-fit: contain; background: #111113; }
.bb-fotoin__leeg[hidden], .bb-fotoin__voorbeeld[hidden] { display: none; }
.bb-fotoin__plek { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line-strong); }
.bb-fotoin__plekstip { width: 12px; height: 12px; border-radius: 50%; background: var(--faint); flex: none; }
.bb-fotoin__plek[data-stand="zoek"] .bb-fotoin__plekstip { animation: bb-fotoin-puls 1.2s ease-in-out infinite; }
.bb-fotoin__plek[data-stand="goed"] { border-color: #0b7a54; background: #e9f7f0; }
.bb-fotoin__plek[data-stand="goed"] .bb-fotoin__plekstip { background: #0b7a54; }
.bb-fotoin__plek[data-stand="fout"] { border-color: #c8321d; background: #fdeeeb; }
.bb-fotoin__plek[data-stand="fout"] .bb-fotoin__plekstip { background: #c8321d; }
.bb-fotoin__plektekst { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bb-fotoin__plektekst strong { font-size: 16px; color: var(--ink); }
.bb-fotoin__plektekst small { font-size: 13.5px; color: #4a4b55; line-height: 1.4; }
.bb-fotoin__opnieuw { flex: none; height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.bb-fotoin__noot { font-weight: 400; font-size: 13px; color: var(--muted); }
@keyframes bb-fotoin-puls { 50% { opacity: 0.3; } }
.bb-fotoinstel__keus { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bb-fotoinstel__afstand { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.bb-fotoin__regels { margin: 0 0 14px; }
.bb-fotoin__regellijst { margin: 10px 0 0; padding: 12px 14px 12px 32px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line-strong); font-size: 14px; line-height: 1.45; color: #3d3e47; }
.bb-fotoin__regellijst li + li { margin-top: 4px; }
.bb-fotoin__regellijst[hidden] { display: none; }
.bb-fotoin__regelknop { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bb-fotoin__akkoord { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; cursor: pointer; }
.bb-fotoin__akkoord input { width: 24px; height: 24px; flex: none; accent-color: var(--ink); margin: 0; }
.bb-fotoregels { margin-bottom: 20px; }
.bb-fotoregels summary { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; }
.bb-fotoregels summary::-webkit-details-marker { display: none; }
.bb-fotoregels textarea { width: 100%; margin-top: 8px; font: 400 14px/1.5 var(--body); }
.bb-fotoregels__knop { margin-top: 10px; }
.bb-fotoin__labelrij { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bb-fotoin__teller { font-weight: 500; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bb-fotoin__teller.is-vol { color: #b32a17; font-weight: 700; }
/* Insturen: compact, zodat alles op één telefoonscherm past */
.bb-fotoin.bb-mobiel { padding-top: 16px; padding-bottom: 20px; }
.bb-fotoin .bb-mobiel__balk { margin-bottom: 14px; }
.bb-fotoin .bb-mobiel__kop { font-size: 26px; margin-bottom: 6px; }
.bb-fotoin .bb-mobiel__tekst { font-size: 14.5px; line-height: 1.4; margin-bottom: 14px; }
.bb-fotoin .bb-mobiel__veld { margin-bottom: 12px; gap: 6px; }
.bb-fotoin .bb-mobiel__veld input { min-height: 46px; }
.bb-fotoin .bb-mobiel__knop { height: 52px; }
.bb-fotoin .bb-mobiel__melding { margin-top: 8px; min-height: 0; }
.bb-fotoin .bb-mobiel__klein { margin-top: 10px; font-size: 12.5px; }
.bb-fotoin__kies { margin: 0 0 12px; }
.bb-fotoin__leeg { min-height: 0; height: 22vh; max-height: 170px; min-height: 110px; padding: 16px; }
.bb-fotoin__voorbeeld { height: 26vh; max-height: 230px; min-height: 140px; object-fit: contain; }
.bb-fotoin__plek { margin-bottom: 12px; padding: 10px 14px; }
.bb-fotoin__plektekst small:empty { display: none; }
.bb-fotokaart__ongepast { color: #b32a17; }
.bb-fotoblok { margin-bottom: 20px; }
.bb-fotoblok__kop { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; color: #8f2113; }
.bb-fotoblok__kop svg { width: 18px; height: 18px; }
.bb-fotoblok__rij { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.bb-fotokaart__beeld { position: relative; overflow: hidden; }
.bb-fotokaart__beeld img { position: absolute; inset: 0; }

/* Afspeellijst: schermen toevoegen met dezelfde thumbnails als bij Schermen (0.7.7) */
.bb-schermkeuze { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.bb-schermkeuze__knop { flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 0; overflow: hidden; border-radius: var(--r-md); }
.bb-schermkeuze__knop span { flex: initial; }
.bb-schermkeuze__beeld { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; background: var(--ink); }
.bb-schermkeuze__naam { display: flex !important; align-items: center; gap: 6px; padding: 9px 10px; font: 600 13px var(--body); }
.bb-schermkeuze__naam > span:not(.bb-schermkeuze__aantal) { flex: 1 !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-schermkeuze__aantal { flex: none; padding: 2px 7px; border-radius: 999px; background: var(--accent-zacht); color: var(--accent-donker); font-size: 11px; font-weight: 700; }
.bb-schermkeuze__knop.is-erin { opacity: 0.55; }
/* Instellingen per item: duidelijker kop, en zien wat anders is dan bij het scherm */
.bb-lijstitem__optieskop strong { display: block; font-size: 14px; margin-bottom: 2px; }
.bb-lijstitem__optieskop p { max-width: 760px; line-height: 1.45; }
.bb-lijstitem__veld { position: relative; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid transparent; }
.bb-lijstitem__veld.is-anders { border-color: var(--accent); background: var(--white); }
.bb-lijstitem__veld.is-anders::after { content: 'Anders dan bij het scherm'; position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 700; color: var(--accent-donker); }
.bb-lijstitem { grid-template-columns: 18px 22px 200px minmax(0, 1fr) auto auto auto auto auto; }
.bb-lijstitem__beeld { width: 200px; height: 112px; }
@media (max-width: 900px) { .bb-lijstitem { grid-template-columns: 120px minmax(0, 1fr) auto 38px; } .bb-lijstitem__beeld { width: 120px; height: 68px; } }
.bb-bunny__velden { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 18px; margin-top: 10px; }
.bb-bunny__knoppen { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.bb-bunny__uitslag { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--cream); font-size: 14px; }
.bb-bunny__uitslag.is-goed { background: #e3f4ec; color: #0b6a48; }
.bb-bunny__uitslag.is-fout { background: #fdeeeb; color: #8f2113; }
.bb-bunny__uitslag[hidden] { display: none; }
.bb-fotoblok__wie { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bb-fotoblok__acties { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bb-fotoblok__stand { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.bb-fotoblok__stand.is-altijd { background: #8f2113; color: #ffffff; }
.bb-fotoblok__stand.is-tijd { background: #fdeeeb; color: #8f2113; }
.bb-fotoblok__stand.is-vrij { background: #ececee; color: #4a4b55; }
.bb-fotoblok__nieuw { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bb-fotoblok__nieuw > strong { display: block; font-size: 14px; margin-bottom: 8px; }
.bb-fotoblok__nieuwrij { display: grid; grid-template-columns: minmax(0, 1fr) 160px auto; gap: 8px; align-items: center; }
.bb-fotoblok__nieuw .bb-veld__hint { margin: 6px 0 0; }
@media (max-width: 700px) { .bb-fotoblok__nieuwrij { grid-template-columns: 1fr; } }
/* Collega's kiezen (team van een project, 0.9.0) */
.bb-kieslijst__zoekvak { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.bb-kieslijst__zoek { width: 100%; }
.bb-kies__beeld--rond { border-radius: 50%; }
/* Eigen schermen verbergen in het overzicht (0.9.0) */
.bb-tegelvak { position: relative; }
.bb-tegel__oog { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,0.94); color: var(--ink); box-shadow: 0 1px 4px rgba(17,17,19,0.18); cursor: pointer; opacity: 0; transition: opacity .15s; }
.bb-tegel__oog svg { width: 18px; height: 18px; }
.bb-tegelvak:hover .bb-tegel__oog, .bb-tegel__oog:focus-visible, .bb-tegel.is-verborgen + .bb-tegel__oog { opacity: 1; }
@media (hover: none) { .bb-tegel__oog { opacity: 1; } }
.bb-tegel.is-verborgen .bb-tegel__beeld { opacity: .55; }
.bb-tegels.is-lijst .bb-tegelvak + .bb-tegelvak .bb-tegel, .bb-tegels.is-lijst .bb-tegelvak + .bb-tegel { border-top: 1px solid var(--line); }
.bb-tegels.is-lijst .bb-tegelvak:first-child .bb-tegel { border-top: 0; }
.bb-tegels.is-lijst .bb-tegel__oog { top: 50%; transform: translateY(-50%); right: 48px; opacity: 1; background: var(--cream); box-shadow: none; }
.bb-verborgen { margin-top: 28px; }
.bb-verborgen__knop { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.bb-verborgen__knop svg { width: 18px; height: 18px; }
.bb-verborgen .bb-tegels { margin-top: 12px; }
/* Tekstveld met maximum aantal tekens (0.9.3) */
.bb-tekstmax { position: relative; }
.bb-tekstmax .bb-invoer--tekst { width: 100%; padding-bottom: 26px; }
.bb-tekstmax .bb-veld__teller { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: var(--muted, #5e5f6b); pointer-events: none; }
.bb-tekstmax .bb-veld__teller.is-vol { color: #b42318; font-weight: 600; }
/* Bento van de showcase bij een project, met klikbare beeldvakken (0.9.4) */
.bb-bentostil { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.bb-bentostil .bb-formvoorbeeld__kop { margin: 0 0 10px; }
.bb-bentostil__scherm { position: relative; border-radius: 12px; overflow: visible; background: #111113; box-shadow: 0 1px 0 var(--line); }
.bb-bentostil__canvas { display: block; width: 100%; height: auto; border-radius: 12px; }
.bb-bentostil__lagen { position: absolute; inset: 0; }
.bb-bentostil__vak { position: absolute; display: flex; align-items: flex-end; justify-content: flex-start; padding: 6px; border: 2px dashed rgba(255,255,255,0); border-radius: 8px; background: transparent; cursor: pointer; transition: border-color .15s, background .15s; }
.bb-bentostil__vak:hover, .bb-bentostil__vak:focus-visible { border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.1); outline: none; }
.bb-bentostil__label { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,0.94); color: #111113; font: 600 11px var(--body); box-shadow: 0 1px 3px rgba(0,0,0,0.25); opacity: 0; transition: opacity .15s; }
.bb-bentostil__label svg { width: 12px; height: 12px; }
.bb-bentostil__vak:hover .bb-bentostil__label, .bb-bentostil__vak:focus-visible .bb-bentostil__label, .bb-bentostil__vak.is-gekozen .bb-bentostil__label { opacity: 1; }
@media (hover: none) { .bb-bentostil__label { opacity: 1; } }
.bb-vakmenu { position: absolute; z-index: 5; min-width: 220px; max-height: 300px; overflow-y: auto; margin-top: 6px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(17,17,19,0.22), 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 2px; }
.bb-vakmenu__kop { margin: 4px 8px 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.bb-vakmenu__optie { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 14px var(--body); text-align: left; cursor: pointer; }
.bb-vakmenu__optie:hover { background: var(--cream); }
.bb-vakmenu__optie.is-actief { background: var(--cream); font-weight: 700; }
.bb-vakmenu__beeld { width: 44px; height: 30px; flex: none; border-radius: 5px; object-fit: cover; background: #ececee; display: grid; place-items: center; color: var(--muted); }
.bb-vakmenu__beeld svg { width: 16px; height: 16px; }
.bb-kieslijst__geen { margin: 0; padding: 14px 12px; color: var(--muted); font-size: 14px; }
/* Project: tabbladen en indeling in de showcase (0.9.7) */
.bb-tabs--modal { margin: 0 0 20px; }
.bb-tabs--modal .bb-tabs__tab { border: 0; background: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; }
.bb-pindeling { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 1100px) { .bb-pindeling { grid-template-columns: 1fr; } }
.bb-pindeling__scherm { position: relative; border-radius: 14px; background: #111113; box-shadow: 0 1px 0 var(--line); }
.bb-pindeling__canvas { display: block; width: 100%; height: auto; border-radius: 14px; }
.bb-pindeling__lagen { position: absolute; inset: 0; }
.bb-pindeling__vak { position: absolute; display: flex; align-items: flex-start; justify-content: flex-start; padding: 8px; border: 2px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; touch-action: none; transition: border-color .15s, background .15s; }
.bb-pindeling__vak:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.bb-pindeling__vak.is-gekozen { border-color: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,0.35); }
.bb-pindeling__vak.is-gekozen.is-beeld { cursor: grab; }
.bb-pindeling__vak.is-gekozen.is-beeld:active { cursor: grabbing; }
.bb-pindeling__label { display: inline-flex; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.95); color: #111113; font: 600 12px var(--body); box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.bb-pindeling__paneel { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 14px; background: #f7f7f8; border: 1px solid var(--line); }
.bb-pindeling__kop { margin: 0; font-size: 18px; }
.bb-pindeling__paneel .bb-veld__hint { margin: 0; }
.bb-pindeling__status { margin-top: 6px; }
.bb-pindeling__beelden { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bb-pindeling__beeld { display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 2px solid transparent; border-radius: 10px; background: #fff; cursor: pointer; font: 600 12px var(--body); color: var(--ink); text-align: left; }
.bb-pindeling__beeld img, .bb-pindeling__beeldleeg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: #ececee; display: grid; place-items: center; color: var(--muted); }
.bb-pindeling__beeldleeg svg { width: 18px; height: 18px; }
.bb-pindeling__beeld.is-actief { border-color: var(--ink); }
.bb-pindeling__onder { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.bb-pindeling__label { opacity: 0; transition: opacity .15s; }
.bb-pindeling__vak:hover .bb-pindeling__label, .bb-pindeling__vak.is-gekozen .bb-pindeling__label, .bb-pindeling__vak:focus-visible .bb-pindeling__label { opacity: 1; }
@media (hover: none) { .bb-pindeling__label { opacity: 1; } }
/* Kleurkeuze van een vak: knoppen met naam, niet als rondje (0.9.10) */
.bb-kleurkeuze__knop { width: auto; height: auto; border-radius: 8px; box-shadow: none; overflow: hidden; }
.bb-kleurkeuze__knop.is-actief { border-color: transparent; box-shadow: 0 0 0 2px var(--accent); }
.bb-kleurkeuze__naam { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-pindeling__paneel .bb-kleurkeuze { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Inhakers (0.10.0) */
.bb-inhaker__boven { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: start; margin-bottom: 20px; }
@media (max-width: 1000px) { .bb-inhaker__boven { grid-template-columns: 1fr; } }
.bb-inhaker__voorbeeld { display: flex; flex-direction: column; gap: 6px; }
.bb-inhaker__canvas { width: 100%; height: auto; border-radius: 12px; background: #111113; box-shadow: 0 1px 0 var(--line); }
.bb-inhakers { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-inhaker { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--white); }
.bb-inhaker:first-child { border-top: 0; }
.bb-inhaker.is-nu { background: var(--accent-zacht, #eefaf4); }
.bb-inhaker.is-uit .bb-inhaker__naam, .bb-inhaker.is-uit .bb-inhaker__emoji { opacity: .5; }
.bb-inhaker__emoji { font-size: 24px; line-height: 1; text-align: center; }
.bb-inhaker__naam { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bb-inhaker__naam .bb-veld__hint { margin: 0; }
.bb-inhaker__data { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.bb-inhaker__datum { width: 74px; text-align: center; }
.bb-inhaker .bb-schakelaar { margin: 0; }
@media (max-width: 760px) { .bb-inhaker { grid-template-columns: 30px minmax(0, 1fr) auto; } .bb-inhaker__data { grid-column: 2 / -1; } }

/* 0.11.0: inhakers met eigen beelden en vrije transformatie */
.bb-ih-opties { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-start; margin-bottom: 18px; }
.bb-ih-opties > .bb-veld { margin: 0; }
.bb-ih-editor { margin-bottom: 24px; }
.bb-ih-podium { outline: none; touch-action: none; user-select: none; }
.bb-ih-podium:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.bb-ih-podium.is-slepen::after { content: "Laat los om toe te voegen"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 17, 19, 0.55); color: #fff; font-weight: 600; font-size: 18px; }
.bb-ih-canvas { display: block; width: 100%; height: auto; }
.bb-ih-vak { position: absolute; border: 2px solid var(--accent); pointer-events: none; transform-origin: 50% 50%; box-sizing: border-box; }
.bb-ih-vak::before { content: ""; position: absolute; inset: 0; border: 1px dashed rgba(255, 255, 255, 0.7); }
.bb-ih-vak__hoek, .bb-ih-vak__draai { position: absolute; width: 14px; height: 14px; border-radius: 4px; background: var(--white); border: 2px solid var(--accent); pointer-events: auto; touch-action: none; box-sizing: border-box; }
.bb-ih-vak__hoek.is-lb { left: 0; top: 0; transform: translate(-50%, -50%); cursor: nwse-resize; }
.bb-ih-vak__hoek.is-rb { right: 0; top: 0; transform: translate(50%, -50%); cursor: nesw-resize; }
.bb-ih-vak__hoek.is-lo { left: 0; bottom: 0; transform: translate(-50%, 50%); cursor: nesw-resize; }
.bb-ih-vak__hoek.is-ro { right: 0; bottom: 0; transform: translate(50%, 50%); cursor: nwse-resize; }
.bb-ih-vak__draai { left: 50%; top: -30px; border-radius: 50%; transform: translateX(-50%); cursor: grab; width: 16px; height: 16px; }
.bb-ih-vak__draai::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 14px; background: var(--accent); transform: translateX(-50%); }
.bb-ih-titel { margin: 0; display: flex; align-items: center; gap: 4px; text-wrap: pretty; }
.bb-ih-beelden { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-ih-beeld { width: 64px; height: 64px; padding: 4px; border-radius: 10px; border: 2px solid var(--line); cursor: pointer; display: grid; place-items: center; color: var(--ink);
	background: repeating-conic-gradient(#e9e9ec 0% 25%, #fff 0% 50%) 50% / 14px 14px; }
.bb-ih-beeld img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.bb-ih-beeld.is-actief { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.bb-ih-beeld--nieuw { background: var(--white); border-style: dashed; }
.bb-ih-beeld--nieuw:hover { border-color: var(--accent); }
.bb-ih-drop { margin-top: 8px; width: 100%; }
.bb-ih-gekozen { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.bb-ih-gekozen > .bb-veld { margin: 0; }
.bb-ih-gekozen .bb-segmenten { flex-wrap: wrap; }
.bb-ih-knoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-bediening.is-bezig { opacity: .6; pointer-events: none; }
.bb-inhaker { grid-template-columns: 36px minmax(0, 1fr) auto auto auto 36px; }
.bb-inhaker__plek { width: 36px; }
.bb-inhaker__emoji img { width: 30px; height: 30px; object-fit: contain; display: block; margin: 0 auto; }
.bb-inhaker__naamveld { max-width: 240px; font-weight: 600; }
.bb-ih-toevoegen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.bb-ih-toevoegen .bb-veld__hint { margin: 0; text-wrap: pretty; }
@media (max-width: 760px) { .bb-inhaker { grid-template-columns: 30px minmax(0, 1fr) auto; } }
.bb-ih-editor { grid-template-columns: 1fr; gap: 18px; }
.bb-ih-editor .bb-bediening { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; align-items: start; }
.bb-ih-kolom { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bb-ih-kolom > .bb-veld { margin: 0; }
@media (max-width: 760px) { .bb-ih-editor .bb-bediening { grid-template-columns: 1fr; } }
/* 0.11.3: is de kaart breed genoeg, dan staat de bediening rechts naast het voorbeeld (geen gescrol);
   het voorbeeld blijft dan in beeld als de bediening langer is. Smalle kaart: alles onder elkaar. */
.bb-ih-kaart { container-type: inline-size; }
.bb-vtabs__rechts:has(.bb-ih-kaart) { max-width: none; }
.bb-ih-links { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bb-ih-links > .bb-veld { margin: 0 10px; }
/* 0.12.4: lijst als kolom naast het voorbeeld; bediening ernaast (breed) of eronder (middel). */
.bb-ih-editor { display: grid; grid-template-columns: 1fr; grid-template-areas: "voorbeeld" "bediening" "lijst"; gap: 20px; margin-bottom: 8px; }
.bb-ih-lijst { grid-area: lijst; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bb-ih-lijst > .bb-veld__label { margin: 0; }
.bb-ih-editor .bb-ih-links { grid-area: voorbeeld; }
.bb-ih-editor .bb-bediening { grid-area: bediening; display: flex; flex-direction: column; gap: 18px; }
.bb-ih-editor .bb-ih-kolom { gap: 16px; }
@container (min-width: 700px) {
	.bb-ih-editor { grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.6fr); grid-template-areas: "lijst voorbeeld" "lijst bediening"; align-items: start; }
	.bb-ih-editor .bb-ih-links { position: static; }
}
@container (min-width: 1150px) {
	.bb-ih-editor { grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.55fr) minmax(300px, 1fr); grid-template-areas: "lijst voorbeeld bediening"; gap: 24px; }
	.bb-ih-editor .bb-ih-links { position: sticky; top: 16px; }
}
.bb-ih-lijst .bb-inhakers { max-height: none; }
.bb-ih-lijst .bb-inhaker { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 0 10px 0 0; }
.bb-ih-lijst .bb-inhaker.is-actief { background: var(--accent-zacht, #eefaf4); box-shadow: inset 3px 0 0 var(--accent); }
.bb-inhaker__kies { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; padding: 9px 0 9px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.bb-inhaker__kies strong { font-size: 14px; }
.bb-inhaker__kies .bb-veld__hint { font-size: 12px; }
.bb-ih-lijst .bb-inhaker .bb-veld { margin: 0; }
.bb-ih-lijst .bb-schakel__tekst:empty { display: none; }
.bb-ih-kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.bb-ih-kop .bb-veld { margin: 0; }
.bb-ih-kop .bb-inhaker__naamveld { flex: 1; min-width: 160px; max-width: none; }
.bb-ih-iconen { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.bb-ih-iconen > .bb-veld { margin: 0; }
.bb-ih-iconen .bb-veld__hint { margin: 0; text-wrap: pretty; }
.bb-ih-iconen.is-uit .bb-ih-beelden, .bb-ih-iconen.is-uit .bb-veld__hint { opacity: 0.5; }
.bb-ih-iconen.is-slepen { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.bb-ih-beeld--icoon { position: relative; width: 52px; height: 52px; cursor: default; background: var(--cream); }
.bb-ih-iconen .bb-ih-beeld--nieuw { width: 52px; height: 52px; }
.bb-ih-beeld__weg { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.bb-ih-beeld__weg .bb-icoon { width: 12px; height: 12px; }
.bb-ih-lijst .bb-ih-toevoegen { margin-top: 4px; }
.bb-ih-beeld img { width: 50px; height: 50px; max-width: none; max-height: none; }
.bb-inhaker .bb-inhaker__datum { width: 70px; min-width: 0; padding-left: 6px; padding-right: 6px; }
.bb-inhaker .bb-inhaker__naamveld { min-width: 0; width: 100%; }
.bb-inhaker__naam strong { text-wrap: pretty; }

/* HiBob: planning en de cron-regel voor IT (0.11.5) */
.bb-hibob__planning { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.bb-hibob__planning:empty { display: none; }
.bb-hibob__planning p { margin: 0; text-wrap: pretty; }
.bb-hibob__planning details { margin-top: 8px; }
.bb-hibob__planning summary { cursor: pointer; font-weight: 600; }
.bb-hibob__cron { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.06); font-size: 13px; overflow-wrap: anywhere; user-select: all; }

/* Kleurpaletten uit de huisstijlgids (0.12.0) */
.bb-pals { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; container-type: inline-size; }
.bb-pals__groep { margin: 12px 0 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); text-wrap: pretty; }
.bb-pals__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
@container (min-width: 1040px) { .bb-pals__raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (max-width: 460px) { .bb-pals__raster { grid-template-columns: 1fr; } }
.bb-pal { display: flex; flex-direction: column; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.bb-pal .bb-combi__kop { margin: 0; }
.bb-pal .bb-combi__kop .bb-invoer { flex: 1; min-width: 0; max-width: none; }
.bb-pal__voorbeeld { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 3px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bb-pal__voorbeeld strong { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-wrap: pretty; }
.bb-pal__sub { font-size: 10px; font-weight: 600; text-wrap: pretty; }
.bb-pal__tekst { font-size: 9px; line-height: 1.35; opacity: 0.85; max-width: 78%; text-wrap: pretty; }
.bb-pal__steun { position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; }
.bb-pal__rollen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.bb-pal__rol { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: left; }
.bb-pal__rol span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-pal__rol i { flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.bb-pal__rol.is-actief { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.bb-pal__kies:empty { display: none; }
.bb-pal .bb-combi__let-op { margin: 0; text-wrap: pretty; }
.bb-pal .bb-combi__let-op[hidden] { display: none; }

.bb-combi__velden .bb-pal__rollen { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin-bottom: 8px; }
.bb-combi__velden .bb-pal__kies { margin-bottom: 8px; }

.bb-ih-beeld--icoon img, .bb-ih-iconen .bb-ih-beeld img { width: 40px; height: 40px; }

/* ---------- Displays › Plattegrond (0.12.7) ---------- */
.bb-pg { display: flex; flex-direction: column; gap: 16px; }
.bb-pg__boven { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.bb-pg__balk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; }
.bb-pg__opslag { display: flex; align-items: center; gap: 2px; color: var(--muted); font-size: 13px; }
.bb-pg__opslag .bb-icoonknop:disabled { opacity: 0.35; cursor: default; background: transparent; }
.bb-pg__status { margin-left: 8px; white-space: nowrap; }
.bb-pg-verdiepingen { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-pg-verdieping { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bb-pg-verdieping:hover { border-color: var(--line-strong); }
.bb-pg-verdieping.is-actief { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.bb-pg-verdieping .bb-icoon { width: 14px; height: 14px; opacity: 0.8; }
.bb-pg-verdieping--nieuw { border-style: dashed; color: var(--muted); font-weight: 500; }
.bb-pg__werk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1000px) { .bb-pg__werk { grid-template-columns: minmax(0, 1fr) 320px; } }
.bb-pg__plan { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: #f7f7f8; overflow: hidden; }
.bb-pg__svg { display: block; width: 100%; height: clamp(320px, min(68vh, 92vw), 820px); touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.bb-pg__svg:active { cursor: grabbing; }
.bb-pg__plan.is-tekenen .bb-pg__svg { cursor: crosshair; }
.bb-pg-ruimte { cursor: move; }
.bb-pg-ruimte__naam { font-family: var(--display); font-weight: 700; fill: #2a2a2e; pointer-events: none; }
.bb-pg-ruimte__maat { font-family: var(--body); font-weight: 500; fill: var(--muted); pointer-events: none; }
.bb-pg-maat { font-family: var(--body); font-weight: 600; fill: #047857; pointer-events: none; }
.bb-pg-greep--n, .bb-pg-greep--s { cursor: ns-resize; }
.bb-pg-greep--e, .bb-pg-greep--w { cursor: ew-resize; }
.bb-pg-greep--nw, .bb-pg-greep--se { cursor: nwse-resize; }
.bb-pg-greep--ne, .bb-pg-greep--sw { cursor: nesw-resize; }
.bb-pg-display { cursor: pointer; }
.bb-pg-display__naam { font-family: var(--body); font-weight: 700; fill: var(--ink); stroke: #ffffff; paint-order: stroke; stroke-linejoin: round; }
.bb-pg__gereedschap { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: var(--white); box-shadow: 0 1px 2px rgba(17, 17, 19, 0.08), 0 4px 16px rgba(17, 17, 19, 0.08); max-width: calc(100% - 88px); }
.bb-pg-knop { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.bb-pg-knop:hover { background: var(--cream-2); }
.bb-pg-knop.is-actief { background: var(--ink); color: #ffffff; }
.bb-pg-knop--icoon { width: 34px; padding: 0; justify-content: center; }
.bb-pg-knop .bb-icoon { width: 16px; height: 16px; }
.bb-pg__scheiding { width: 1px; height: 22px; margin: 0 4px; background: var(--line); }
.bb-pg__leeg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(360px, calc(100% - 32px)); padding: 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 4px 24px rgba(17, 17, 19, 0.1); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bb-pg__leeg[hidden] { display: none; }
.bb-pg__leeg p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.bb-pg__leeg-icoon { width: 32px; height: 32px; color: var(--muted); }
.bb-pg__plan.is-tekenen .bb-pg__leeg { pointer-events: none; opacity: 0.4; }
.bb-pg__tip { position: absolute; right: 12px; bottom: 10px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); color: var(--muted); font-size: 12px; pointer-events: none; }
@media (max-width: 700px) { .bb-pg__tip { display: none; } .bb-pg-knop span { display: none; } .bb-pg-knop { width: 34px; padding: 0; justify-content: center; } }
.bb-pg__zij { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
@media (min-width: 1000px) { .bb-pg__zij { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; } }
.bb-pg-zij__kop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bb-pg-zij__kop h2 { margin: 0; font-family: var(--display); font-size: 20px; text-wrap: pretty; }
.bb-pg-zij__sub { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); text-wrap: pretty; }
.bb-pg-zij__maten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bb-pg-maatveld { display: flex; align-items: center; gap: 6px; }
.bb-pg-maatveld .bb-invoer { min-width: 0; }
.bb-pg-maatveld span { color: var(--muted); }
.bb-pg-zij__opp { margin: 0; color: var(--muted); }
.bb-pg-zij__opp strong { color: var(--ink); }
.bb-pg-zij__status { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.bb-pg-zij__gegevens { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.bb-pg-zij__gegevens dt { color: var(--muted); }
.bb-pg-zij__gegevens dd { margin: 0; text-wrap: pretty; }
.bb-pg-zij__acties { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.bb-pg-zij__elders summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.bb-pg-zij__elders[open] summary { margin-bottom: 6px; }
.bb-pg .bb-display__stip:not(.is-online):not(.is-nieuw) { background: var(--rood); }
.bb-pg-rij { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; }
.bb-pg-rij[draggable="true"] { cursor: grab; }
.bb-pg-rij:hover { background: var(--cream); }
.bb-pg-rij .bb-display__stip { flex: none; }
.bb-pg-rij__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: inherit; }
.bb-pg-rij__naam { font-weight: 600; font-size: 14px; }
.bb-pg-rij__sub { font-size: 12px; color: var(--muted); text-wrap: pretty; }
.bb-pg-rij__plaats { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.bb-pg-rij__plaats:hover { border-color: var(--ink); }
.bb-pg-rij__plaats .bb-icoon { width: 14px; height: 14px; }
.bb-pg__leeg .bb-pg__leeg-onder { color: var(--muted); font-size: 13px; }
.bb-pg__leeg .bb-pg__leeg-onder[hidden] { display: none; }

/* Plattegrond: inrichting, binnenmuren en kompas (0.12.9) */
.bb-pg-object, .bb-pg-muur { cursor: move; }
.bb-pg-object__tekst { font-family: var(--display); font-weight: 700; pointer-events: none; }
.bb-pg-greep--punt { cursor: crosshair; }
.bb-pg-inr { position: absolute; top: 60px; left: 12px; z-index: 3; width: min(460px, calc(100% - 24px)); max-height: calc(100% - 76px); overflow: auto; padding: 14px; border-radius: 14px; background: var(--white); box-shadow: 0 2px 4px rgba(17, 17, 19, 0.08), 0 12px 32px rgba(17, 17, 19, 0.14); }
.bb-pg-inr[hidden] { display: none; }
.bb-pg-inr__kop { margin: 10px 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.bb-pg-inr__kop:first-child { margin-top: 0; }
.bb-pg-inr__rij { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.bb-pg-inr__ding { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; text-wrap: pretty; cursor: grab; }
.bb-pg-inr__ding:hover { border-color: var(--ink); background: var(--cream); }
.bb-pg-inr__beeld { width: 44px; height: 44px; pointer-events: none; }
.bb-pg-kompas { position: absolute; right: 12px; top: 12px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; filter: drop-shadow(0 2px 6px rgba(17, 17, 19, 0.12)); }
.bb-pg-kompas:disabled { cursor: default; }
.bb-pg-kompas svg { width: 100%; height: 100%; display: block; }
.bb-pg-kompas__roos { transition: transform 0.25s var(--ease); }

.bb-pg-zij__acties .bb-knop--klein { padding-inline: 12px; }

.bb-pg-zij__acties .bb-knop--klein { padding-inline: 12px; }
.bb-pg-greep--draai { cursor: grab; }
.bb-pg-maat--vak { stroke: #ffffff; paint-order: stroke; stroke-linejoin: round; }

/* Instellingen › BigQuery (0.13.1) */
.bb-sql { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; min-height: 140px; resize: vertical; white-space: pre; }

/* Een Pi installeren, stap voor stap (0.13.6) */
.bb-pistap { display: grid; gap: 20px; }
.bb-pistap__balk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; counter-reset: none; }
.bb-pistap__stap button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: var(--r-md, 12px); background: transparent; color: var(--muted); font: inherit; text-align: left; cursor: pointer; }
.bb-pistap__stap button:hover { background: var(--cream); }
.bb-pistap__nr { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-2); color: var(--ink-2); font-weight: 700; font-size: 13px; }
.bb-pistap__nr svg { width: 15px; height: 15px; }
.bb-pistap__naam { display: grid; min-width: 0; line-height: 1.2; }
.bb-pistap__naam strong { font-size: 13px; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-pistap__naam span { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-pistap__stap.is-nu button { background: var(--cream); color: var(--ink); }
.bb-pistap__stap.is-nu .bb-pistap__nr { background: var(--ink); color: var(--white); }
.bb-pistap__stap.is-klaar .bb-pistap__nr { background: #d9f2e2; color: #1a6b3b; }
.bb-pistap__stap.is-klaar button { color: var(--ink-2); }
.bb-pistap__inhoud { display: grid; gap: 14px; min-height: 280px; align-content: start; }
.bb-pistap__inhoud > * { margin: 0; }
.bb-pistap__intro { color: var(--ink-2); text-wrap: pretty; }
.bb-pistap__intro a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--accent-donker); }
.bb-pistap__intro a svg { width: 14px; height: 14px; }
.bb-pistap__hint { font-size: 12.5px; color: var(--muted); text-wrap: pretty; }
.bb-pistap__kopie { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
.bb-pistap__kopie code { padding: 6px 10px; border-radius: var(--r-sm); background: var(--cream); font-family: var(--mono); font-size: 13px; }
.bb-pistap__kopie .bb-invoer { width: 280px; max-width: 100%; height: 38px; }
.bb-icoonknop--klein { width: 32px; height: 32px; color: var(--muted); }
.bb-icoonknop--klein svg { width: 16px; height: 16px; }
.bb-pistap__regel code { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.bb-pistap__punten { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); }
.bb-pistap__keuze { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bb-pistap__optie { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md, 12px); display: grid; gap: 8px; align-content: start; }
.bb-pistap__optie strong { display: inline-flex; align-items: center; gap: 8px; }
.bb-pistap__optie strong svg { width: 16px; height: 16px; }
.bb-pistap__optie p { margin: 0; font-size: 13px; color: var(--muted); text-wrap: pretty; }
.bb-pistap__optie .bb-linkregel { margin: 0; }
.bb-pistap__optie .bb-linkregel code { flex: 1 1 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.bb-pistap__koppel { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bb-pistap__let { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md, 12px); background: #fdf0d2; color: #6b4600; font-size: 13.5px; text-wrap: pretty; }
.bb-pistap__let svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.bb-pistap__checks { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--line); border-radius: var(--r-md, 12px); overflow: hidden; }
.bb-pistap__check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; }
.bb-pistap__check + .bb-pistap__check { border-top: 1px solid var(--line); }
.bb-pistap__check > svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.bb-pistap__check > div { display: grid; gap: 2px; }
.bb-pistap__check strong { font-size: 14px; }
.bb-pistap__check span { font-size: 13px; color: var(--muted); text-wrap: pretty; }
.bb-pistap__check.is-ok > svg { color: #1a8a4a; }
.bb-pistap__check.is-let > svg { color: #b86e00; }
.bb-pistap__check.is-wacht > svg { color: var(--faint); animation: bb-pistap-draai 1.4s linear infinite; }
@keyframes bb-pistap-draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bb-pistap__check.is-wacht > svg { animation: none; } }
.bb-pistap__teller { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
	.bb-pistap__balk { grid-template-columns: repeat(6, auto); overflow-x: auto; }
	.bb-pistap__naam span { display: none; }
	.bb-pistap__keuze { grid-template-columns: 1fr; }
	.bb-pistap__im { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
}

/* Raspberry Pi Imager: elk scherm een eigen, af te vinken stap */
.bb-pistap__imager { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bb-pistap__im { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 14px 16px; align-items: start; }
.bb-pistap__im + .bb-pistap__im { border-top: 1px solid var(--line); }
.bb-pistap__vink { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink-2); font: 700 13px/1 var(--body); cursor: pointer; }
.bb-pistap__vink:hover { border-color: var(--ink); }
.bb-pistap__vink svg { width: 16px; height: 16px; }
.bb-pistap__im.is-af .bb-pistap__vink { background: #d9f2e2; border-color: #d9f2e2; color: #1a6b3b; }
.bb-pistap__im.is-af .bb-pistap__imkop strong { color: var(--muted); }
.bb-pistap__imtekst { display: grid; gap: 6px; min-width: 0; padding-top: 5px; }
.bb-pistap__imkop { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bb-pistap__imkop strong { font-size: 14.5px; }
.bb-pistap__imscherm { font-size: 12px; color: var(--faint); }
.bb-pistap__imwaarde { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.bb-pistap__imwaarde p { margin: 0; color: var(--ink-2); font-size: 14px; text-wrap: pretty; }
.bb-pistap__paar { display: flex; align-items: center; gap: 10px; }
.bb-pistap__paar > span:first-child { min-width: 90px; font-size: 13px; color: var(--muted); }
.bb-pitabel__knoppen { display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; white-space: nowrap; }

/* =========================================================
   Mobiel (0.14.0): bovenbalk met menu, en alles op een telefoon bruikbaar
   ========================================================= */

/* Desktop: de lade doet niets; volgorde zoals altijd (merk, menu, pushen, jij). */
.bb-zij__lade { display: contents; }
.bb-zij__menuknop { display: none; }
.bb-zij > .bb-merk { order: 0; }
.bb-zij .bb-nav { order: 1; }
.bb-zij > .bb-push { order: 2; }
.bb-zij .bb-ik { order: 3; }

@media (max-width: 860px) {
	.bb-app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
	.bb-zij {
		position: sticky; top: 0; z-index: 60; height: 60px; overflow: visible;
		flex-direction: row; align-items: center; gap: 8px; padding: 0 8px 0 16px;
		padding-top: env(safe-area-inset-top); box-sizing: content-box;
		border-bottom: 1px solid rgba(249, 242, 233, 0.08);
	}
	.bb-zij > .bb-merk { flex: 1; min-width: 0; padding: 0; }
	.bb-zij > .bb-push { order: 1; flex: none; padding: 0; margin: 0; border: 0; flex-direction: row; }
	.bb-zij > .bb-push .bb-push__status { display: none; }
	.bb-zij .bb-knop--push { width: auto; height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; box-shadow: none; }
	.bb-zij__menuknop {
		order: 2; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
		background: transparent; color: var(--cream); cursor: pointer;
	}
	.bb-zij__menuknop:hover, .bb-zij__menuknop:focus-visible { background: rgba(249, 242, 233, 0.08); }
	.bb-zij__menuknop .bb-icoon { width: 22px; height: 22px; }
	.bb-zij__lade {
		display: none; position: fixed; left: 0; right: 0; bottom: 0; top: calc(60px + env(safe-area-inset-top));
		flex-direction: column; padding: 12px 14px calc(18px + env(safe-area-inset-bottom));
		background: var(--ink); overflow-y: auto; overscroll-behavior: contain; z-index: 59;
	}
	.bb-zij.is-open .bb-zij__lade { display: flex; animation: bb-lade 0.22s var(--ease); }
	@keyframes bb-lade { from { opacity: 0; transform: translateY(-6px); } }
	.bb-zij__lade .bb-nav { flex: none; }
	.bb-zij__lade .bb-nav__link { padding: 12px 12px; font-size: 16px; }
	.bb-zij__lade .bb-nav__link .bb-icoon { width: 19px; height: 19px; }
	.bb-zij__lade .bb-ik { margin-top: 18px; padding: 16px 12px 4px; }
	html.bb-menu-open, html.bb-menu-open body { overflow: hidden; }
}
@media (max-width: 380px) {
	.bb-zij .bb-merk__naam { display: none; }
}

@media (max-width: 860px) {
	.bb-zij .bb-merk__naam { white-space: nowrap; font-size: 19px; }
	.bb-zij .bb-merk { gap: 10px; }
	/* Pushknop in de balk: kort "Pushen"; tijdens pushen en daarna de echte stand ("Pushen… 12 s", "Bijgewerkt"). */
	.bb-zij .bb-knop--push > span { display: none; }
	.bb-zij .bb-knop--push::before { content: "Pushen"; order: 2; }
	.bb-zij .bb-knop--push.is-bezig > span, .bb-zij .bb-knop--push.is-klaar > span { display: inline; order: 2; }
	.bb-zij .bb-knop--push.is-bezig::before, .bb-zij .bb-knop--push.is-klaar::before { content: none; }
	/* Koppen: titel boven, knoppen eronder op de volle breedte */
	.bb-kop { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 22px; }
	.bb-kop__titel { font-size: 32px; }
	.bb-kop__acties { justify-content: flex-start; }
	/* Tabbladen: één rij die je opzij veegt */
	.bb-tabs { width: auto; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.bb-tabs::-webkit-scrollbar { display: none; }
	.bb-tabs__tab { flex: none; white-space: nowrap; padding: 9px 14px; }
}

@media (max-width: 860px) {
	.bb-kop--tabs .bb-tabs { flex-wrap: nowrap; }
	.bb-tabintro { flex-direction: column; align-items: stretch; gap: 14px; }
	.bb-tabintro .bb-kop__acties { justify-content: flex-start; }
	.bb-stap { flex-direction: column; align-items: stretch; gap: 14px; }
	.bb-stap > .bb-knop, .bb-stap > .bb-kop__acties { align-self: flex-start; }
}
@media (max-width: 860px) {
	.bb-knoppenrij { flex-wrap: wrap; }
	/* Planning: nu op de schermen */
	.bb-nu__rij { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
	.bb-nu__waarom, .bb-nu__tot { grid-column: 1 / -1; padding-left: 30px; text-align: left; font-size: 13px; }
	/* Uptime: naam en geschiedenis boven, dan de status, dan de cijfers */
	.bb-dup__kop { grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px 12px; }
	.bb-dup__kop > .bb-dup__naam { grid-column: 2; grid-row: 1; }
	.bb-dup__kop > .bb-link, .bb-dup__kop > button { grid-column: 3; grid-row: 1; }
	.bb-dup__kop > .bb-dup__status { grid-column: 2 / -1; grid-row: 2; }
	.bb-dup__kop > .bb-uptime__cijfers { grid-column: 2 / -1; grid-row: 3; justify-content: flex-start; gap: 22px; }
	.bb-uptime__cijfers span { align-items: flex-start; }
}
@media (max-width: 860px) {
	.bb-twee { grid-template-columns: minmax(0, 1fr); }
	.bb-twee > * { min-width: 0; }
	.bb-segmenten { flex-wrap: wrap; border-radius: 16px; }
	.bb-kaart > details > summary, .bb-kaart > summary { flex-wrap: wrap; }
	/* Planning: regels */
	.bb-regel { grid-template-columns: 10px minmax(0, 1fr) auto auto; grid-template-areas: "stip tekst schakel bewerk" "stip tekst pijlen pijlen"; gap: 4px 10px; padding: 12px 8px 12px 12px; }
	.bb-regel > .bb-regel__nr { display: none; }
	.bb-regel > .bb-regel__stip { grid-area: stip; align-self: start; margin-top: 6px; }
	.bb-regel > .bb-regel__tekst { grid-area: tekst; min-width: 0; }
	.bb-regel > .bb-schakel { grid-area: schakel; }
	.bb-regel > .bb-afspeel__pijlen { grid-area: pijlen; display: flex; justify-content: flex-end; }
	.bb-regel > .bb-icoonknop:last-child { grid-area: bewerk; }
	.bb-regel__wanneer { gap: 6px; }
	.bb-pitabel__vak { display: none; }
	.bb-kaart .bb-pikaartjes { display: grid; }
}

/* Pi's als kaartjes (alleen mobiel) */
.bb-pikaartjes { display: none; }
.bb-pikaartje { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; padding: 14px 2px; border-bottom: 1px solid var(--line); cursor: pointer; align-items: start; }
.bb-pikaartje:last-child { border-bottom: 0; }
.bb-pikaartje__nr { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; padding-top: 1px; }
.bb-pikaartje__tekst { display: grid; gap: 3px; min-width: 0; }
.bb-pikaartje__tekst strong { font-size: 15px; }
.bb-pikaartje__plek { font-size: 13px; color: var(--muted); text-wrap: pretty; }
.bb-pikaartje__host { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.bb-pikaartje__host .is-let { color: var(--coral-strong); font-family: var(--body); }
.bb-pikaartje__regel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; font-size: 13px; }
.bb-pikaartje__acties { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* Mobiel: vensters als volledig scherm van onderen, met de knoppen altijd onderin bereikbaar */
@media (max-width: 640px) {
	.bb-modal { padding: 0; grid-template-columns: minmax(0, 1fr); place-items: end stretch; align-items: end; }
	.bb-modal__paneel, .bb-modal__paneel--breed, .bb-modal__paneel--xl, .bb-modal__paneel--lijst {
		max-width: none; width: 100%; max-height: calc(100vh - 10px); max-height: calc(100dvh - 10px);
		border-radius: 20px 20px 0 0; animation: bb-vel 0.28s var(--ease);
	}
	@keyframes bb-vel { from { transform: translateY(24px); opacity: 0.6; } }
	.bb-modal__kop { padding: 14px 10px 4px 18px; }
	.bb-modal__titel { font-size: 21px; text-wrap: pretty; }
	.bb-modal__inhoud { padding: 10px 18px 12px; flex: 1 1 auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	.bb-modal__voet { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); gap: 8px; }
	.bb-modal__voet > .bb-vul { display: none; }
	.bb-modal__voet > .bb-knop { flex: 1 1 calc(50% - 8px); justify-content: center; margin-left: 0; }
	.bb-modal__voet > .bb-knop--primair { flex-basis: 100%; order: 10; }
	.bb-modal__vraag { padding: 14px; }
	.bb-vervolg, .bb-modal__voet > span:not(.bb-vul) { flex-basis: 100%; }
}

/* Mobiel: geen inzoomen bij het typen (iOS zoomt bij tekst kleiner dan 16 px), en grotere aanraakvlakken */
@media (max-width: 860px) {
	.bb-invoer, input.bb-invoer, select.bb-invoer, textarea.bb-invoer, .bb-hoofd input[type=text], .bb-hoofd input[type=search], .bb-modal input[type=text], .bb-modal textarea { font-size: 16px; }
	.bb-hoofd { padding: 20px 16px 72px; }
	.bb-kaart { padding: 20px 18px; }
}
@media (pointer: coarse) {
	.bb-icoonknop { min-width: 40px; min-height: 40px; }
	.bb-icoonknop--klein { min-width: 36px; min-height: 36px; }
}
@media (max-width: 860px) {
	.bb-modal { z-index: 70; }
}
@media (max-width: 860px) {
	.bb-formvoorbeeld { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.bb-formulier { grid-template-columns: minmax(0, 1fr); }
	.bb-formulier > * { grid-column: 1 / -1; min-width: 0; }
	.bb-formvoorbeeld__zijkant { position: static; order: -1; }
	.bb-modal__inhoud { overflow-x: hidden; }
}
@media (max-width: 860px) {
	.bb-regel__wanneer .bb-weekstrook { flex-wrap: wrap; }
}
.bb-formulier > .bb-koppelinfo { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--cream); text-wrap: pretty; }
.bb-koppelinfo .bb-icoon { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.bb-pistap__deel { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.bb-pistap__deelnr { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; }
.bb-pistap__keuze--drie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .bb-pistap__keuze--drie { grid-template-columns: 1fr; } }
.bb-link--klein { font-size: 12px; color: var(--ink-2); font-family: var(--body); }
.bb-pg-zij__vorm { display: grid; gap: 10px; margin-top: 6px; justify-items: start; }
.bb-pg-zij__vorm .bb-veld__hint { margin: 0; }
.bb-pg-zij__buren { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-druk + .bb-druk { margin-top: 18px; }

/* ---------- Tv's boven of naast elkaar (0.14.9) ---------- */
.bb-tvg__intro { margin: 0 0 16px; text-wrap: pretty; }
.bb-tvg__muur { display: flex; align-items: center; justify-content: center; margin: 8px 0 4px; padding: 20px 16px; border-radius: var(--r-md); background: var(--cream); }
.bb-tvg__muur.is-boven { flex-direction: column; }
.bb-tvg__muur.is-naast { flex-direction: row; align-items: flex-start; }
.bb-tvg__tv { width: 100%; max-width: 280px; min-width: 0; }
.bb-tvg__muur.is-naast .bb-tvg__tv { flex: 1 1 0; }
.bb-tvg__scherm {
	position: relative; aspect-ratio: 16 / 9; border-radius: 10px; padding: 12px 14px;
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; text-align: center;
	background: var(--ink); color: #fff; box-shadow: 0 0 0 4px #2a2a30 inset;
}
.bb-tvg__tv:not(.is-gekozen) .bb-tvg__scherm { background: var(--white); color: var(--muted); box-shadow: none; border: 2px dashed var(--line-strong); }
.bb-tvg__plek { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.bb-tvg__naam { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; line-height: 1.2; text-wrap: pretty; overflow-wrap: anywhere; }
.bb-tvg__weg { position: absolute; top: 4px; right: 4px; color: inherit; }
.bb-tvg__tv.is-gekozen .bb-tvg__weg:hover { background: rgba(255, 255, 255, 0.14); }
.bb-tvg__tv .bb-invoer { margin-top: 8px; width: 100%; }
.bb-tvg__tussen { display: flex; align-items: center; justify-content: center; flex: none; }
.bb-tvg__muur.is-boven .bb-tvg__tussen { height: 44px; }
.bb-tvg__muur.is-naast .bb-tvg__tussen { width: 44px; align-self: stretch; padding-bottom: 46px; }
.bb-tvg__wissel { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.bb-tvg__erbij { display: flex; justify-content: center; margin: 10px 0 0; }
.bb-tvg__let { margin-top: 14px; }
.bb-tvg__let .bb-melding { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; text-wrap: pretty; }
.bb-tvg__let .bb-melding svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.bb-tvg__voorbeeld { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); }
.bb-tvg__voorbeeldkop { margin: 0 0 6px; font-weight: 600; font-size: 14px; }
.bb-tvg__voorbeeld ul { margin: 0 0 8px; padding-left: 0; list-style: none; font-size: 14px; line-height: 1.6; }
.bb-tvg__voorbeeld .bb-veld__hint { margin: 0; }

.bb-tvmini { display: inline-flex; gap: 4px; flex: none; }
.bb-tvmini.is-boven { flex-direction: column; }
.bb-tvmini__tv { width: 76px; height: 43px; border-radius: 4px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; padding: 3px 5px; box-sizing: border-box; overflow: hidden; }
.bb-tvmini.is-naast .bb-tvmini__tv { width: 60px; height: 34px; }
.bb-tvmini__naam { font-size: 9.5px; font-weight: 600; line-height: 1.15; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.bb-tvmini.is-klein .bb-tvmini__tv { width: 30px; height: 17px; border-radius: 3px; }
.bb-tvmini.is-klein { gap: 3px; }

.bb-tvglijst { display: grid; gap: 4px; }
.bb-tvgrij {
	display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px 12px; margin: 0 -12px; width: calc(100% + 24px);
	border: 0; border-radius: var(--r-md); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.bb-tvgrij:hover { background: var(--cream); }
.bb-tvgrij__tekst { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.bb-tvgrij__naam { font-weight: 600; text-wrap: pretty; }
.bb-tvgrij__sub { font-size: 13px; color: var(--muted); text-wrap: pretty; }
.bb-tvgrij__pijl { flex: none; color: var(--muted); width: 18px; height: 18px; }

.bb-tvgvak__rij { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--cream); }
.bb-tvgvak__tekst { margin: 0; flex: 1; min-width: 0; font-size: 14px; color: var(--ink-2); text-wrap: pretty; }
.bb-tvgvak__icoon { flex: none; color: var(--muted); display: flex; }
.bb-tvgvak__rij .bb-knop { flex: none; }
@media (max-width: 640px) {
	.bb-tvgvak__rij { flex-wrap: wrap; }
	.bb-tvgvak__rij .bb-knop { width: 100%; justify-content: center; }
	.bb-tvg__muur { padding: 16px 10px; }
	.bb-tvg__muur.is-naast .bb-tvg__tussen { width: 32px; }
	.bb-tvg__naam { font-size: 15px; }
}
.bb-tvmini__tv.is-ik { background: var(--accent); }

/* Eén Pi, twee tv's (0.14.14) */
.bb-pitabel__tvs { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 4px; }
.bb-pitabel__tv { display: inline-flex; align-items: center; gap: 6px; padding: 2px 6px; margin-left: -6px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; text-align: left; }
.bb-pitabel__tv:hover { background: var(--cream-2); color: var(--ink); }
.bb-pitabel__tv svg { width: 14px; height: 14px; flex: none; }
.bb-pinoot { margin: 0 0 14px; }

/* Volgorde van de locaties (0.14.15) */
.bb-locatie__schuif { display: flex; flex-direction: column; gap: 0; align-items: center; }
.bb-locatie__schuif .bb-icoonknop { width: 28px; height: 22px; }
.bb-locatie__schuif .bb-icoonknop:disabled { opacity: 0.25; cursor: default; background: none; }
@media (max-width: 640px) {
	.bb-locatie__schuif { flex-direction: row; grid-column: 1 / -1; justify-content: flex-start; gap: 4px; }
	.bb-locatie__schuifkop { display: none; }
}

/* Volgorde van de Pi's (0.14.15) */
.bb-pitabel__greep { width: 32px; padding-right: 0 !important; }
.bb-pitabel__sleep { cursor: grab; color: var(--faint); }
.bb-pitabel__sleep:active { cursor: grabbing; }
.bb-pitabel tr:hover .bb-pitabel__sleep { color: var(--ink-2); }
.bb-pitabel tr.is-gesleept { opacity: 0.45; background: var(--cream); }
.bb-pikaartje__schuif { display: inline-flex; gap: 2px; }

/* ---------- Inlogscherm als kaart (0.14.22) ---------- */
.bb-login { display: grid; place-items: center; padding: 24px 16px; }
.bb-login .bb-intro__canvas { opacity: 0.9; }
.bb-login__kaart {
	position: relative; z-index: 1; width: min(420px, 100%); box-sizing: border-box;
	padding: 40px 36px 32px; border-radius: 28px; background: var(--white); color: var(--ink);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
	display: flex; flex-direction: column; align-items: stretch; text-align: center;
	animation: bb-intro-in 0.9s var(--ease) both;
}
.bb-login__merk { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 28px; }
.bb-login__logo { display: block; max-width: 170px; max-height: 34px; }
.bb-login__merknaam { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.bb-login__tv { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--ink); color: var(--cream); font: 800 12px var(--display); letter-spacing: 0.06em; }
.bb-login__titel { margin: 0 0 8px; font: 800 30px/1.05 var(--display); letter-spacing: -0.03em; color: var(--ink); text-wrap: pretty; }
.bb-login__tekst { margin: 0 0 26px; color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.bb-login__melding { margin: 0 0 20px; padding: 12px 14px; border-radius: var(--r-md); background: color-mix(in srgb, var(--coral) 12%, var(--white)); color: var(--ink); font-size: 14px; line-height: 1.45; text-align: left; text-wrap: pretty; }
.bb-login__google {
	display: flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 20px;
	border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink) !important;
	font: 600 16px var(--body); text-decoration: none; transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.bb-login__google:hover { background: var(--cream); box-shadow: 0 4px 14px rgba(17, 17, 19, 0.1); transform: translateY(-1px); }
.bb-login__google:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; }
.bb-login__google svg { flex: none; }
.bb-login__uitleg { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
.bb-login__link { margin-top: 16px; color: var(--ink-2) !important; font-size: 14px; }
.bb-login__beheer { margin-top: 14px; color: var(--muted) !important; font-size: 12.5px; text-decoration: none; }
.bb-login__beheer:hover { color: var(--ink) !important; text-decoration: underline; }
@media (max-width: 480px) {
	.bb-login__kaart { padding: 32px 22px 26px; border-radius: 22px; }
	.bb-login__titel { font-size: 26px; }
}

/* ---------- Pagina voor collega's: tabbladen en wie er is ingelogd (0.14.22) ---------- */
.bb-tabbalk { display: flex; gap: 4px; padding: 4px; margin: -8px 0 10px; border-radius: 999px; background: var(--cream-2); overflow-x: auto; scrollbar-width: none; }
.bb-tabbalk::-webkit-scrollbar { display: none; }
.bb-tabbalk__tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--ink-2) !important; font: 600 15px var(--body); text-decoration: none; white-space: nowrap; }
.bb-tabbalk__tab:hover { color: var(--ink) !important; background: rgba(255, 255, 255, 0.6); }
.bb-tabbalk__tab.is-actief { background: var(--ink); color: var(--cream) !important; }
.bb-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; font-size: 13px; color: var(--muted); }
.bb-account span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-account a, .bb-account button { flex: none; border: 0; background: none; padding: 0; font: 600 13px var(--body); color: var(--ink-2) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bb-fotoin .bb-account { margin-bottom: 12px; }

/* Beheer: welke tabbladen collega's zien */
.bb-portaal .bb-veld__hint { margin: 4px 0 14px; text-wrap: pretty; }
.bb-portaal__lijst { display: grid; gap: 2px; }
.bb-portaal__rij { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.bb-portaal__rij:first-child { border-top: 0; }
.bb-portaal__stip { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.bb-portaal__rij.is-zichtbaar .bb-portaal__stip { background: var(--green); }
.bb-portaal__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bb-portaal__tekst strong { font-weight: 600; text-wrap: pretty; }
.bb-portaal__tekst small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 640px) {
	.bb-portaal__rij { flex-wrap: wrap; }
	.bb-portaal__rij .bb-segmenten { width: 100%; }
}
.bb-portaal__greep { flex: none; cursor: grab; color: var(--faint); margin-left: -6px; }
.bb-portaal__greep:active { cursor: grabbing; }
.bb-portaal__rij:hover .bb-portaal__greep { color: var(--ink-2); }
.bb-portaal__rij.is-gesleept { opacity: 0.45; }

/* ---------- spelshow (0.15.0): telefoonpagina's in de feeststijl, en de balk van het testscherm ---------- */

html:has(body.bb-body--spel) { background: #071a10; }
body.bb-body.bb-body--spel { min-height: 100vh; background: #071a10 radial-gradient(120% 70% at 50% 0%, #1f6340 0%, #0f3322 55%, #071a10 100%) no-repeat; color: #fdfcfa; }
.bb-body--spel .bb-mobiel__merk, .bb-body--spel .bb-mobiel__label { color: #fdfcfa; }
.bb-body--spel .bb-mobiel__label span { background: #f65c46; }
.bb-body--spel .bb-mobiel__kop { color: #fdfcfa; text-wrap: pretty; }
.bb-body--spel .bb-mobiel__tekst, .bb-body--spel .bb-stem__status { color: rgba(253, 252, 250, 0.84); text-wrap: pretty; }
.bb-body--spel .bb-mobiel__klein { color: rgba(253, 252, 250, 0.6); text-wrap: pretty; }
.bb-body--spel .bb-mobiel__knop { background: #fdfcfa; color: #111113 !important; font-weight: 700; }
.bb-body--spel .bb-mobiel__knop:disabled { background: rgba(253, 252, 250, 0.3); color: rgba(17, 17, 19, 0.7) !important; }
.bb-body--spel .bb-mobiel__melding.is-goed { color: #8acaa5; }
.bb-body--spel .bb-mobiel__melding.is-fout { color: #ffaea2; }
.bb-body--spel .bb-mobiel__veld select { font: 500 17px var(--body); padding: 14px; border-radius: 14px; border: 0; background: #fdfcfa; color: #111113; }
.bb-body--spel .bb-stem__keuze--a { --stem-a: #f65c46; --stem-a-tekst: #111113; }
.bb-body--spel .bb-stem__keuze--b { --stem-b: #c8102e; --stem-b-tekst: #fdfcfa; }
.bb-body--spel .bb-stem__keuze.is-gekozen { box-shadow: 0 0 0 4px #0f3322, 0 0 0 8px #f7c948; }
.bb-body--spel .bb-stem__of { color: rgba(253, 252, 250, 0.6); }
.bb-sp__logo { display: block; width: 100%; height: auto; aspect-ratio: 900 / 560; margin: -10px 0 8px; }
.bb-sp__wie { margin: 0 0 12px; font-size: 15px; color: rgba(253, 252, 250, 0.75); }
.bb-sp__wie strong { color: #fdfcfa; }
.bb-sp__kaart { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: 24px; background: #fdfcfa; color: #111113; margin: 0 0 18px; }
.bb-sp__kaart strong { font: 800 28px/1.05 var(--display); letter-spacing: -0.02em; text-wrap: pretty; }
.bb-sp__kaart small { font-size: 16px; color: rgba(17, 17, 19, 0.72); text-wrap: pretty; }
.bb-sp__nr { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #f65c46; color: #111113; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.bb-sp__tijd { font: 900 64px/1 var(--display); letter-spacing: -0.03em; text-align: center; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.bb-sp__tijd.is-insturen { font-size: 26px; font-weight: 700; color: #f7c948; }
.bb-sp__foto { display: block; width: 100%; border-radius: 20px; margin: 0 0 12px; border: 4px solid #fdfcfa; }
.bb-sp__camera { position: relative; height: 68px; font-size: 19px; }
.bb-sp__bezig { opacity: 0.7; pointer-events: none; }
.bb-sp__vink { position: relative; flex: none; font-size: 28px; }

.bb-sptest { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-radius: 16px; background: rgba(17, 17, 19, 0.88); color: #fdfcfa; font: 500 14px var(--body); backdrop-filter: blur(8px); }
.bb-sptest[hidden] { display: none; }
.bb-sptest__titel { font-family: var(--display); font-weight: 800; margin-right: 6px; }
.bb-sptest__veld { display: inline-flex; align-items: center; gap: 8px; }
.bb-sptest select { font: inherit; padding: 6px 10px; border-radius: 10px; border: 0; background: #fdfcfa; color: #111113; }
.bb-sptest__stand { flex: 1 1 200px; color: #f9d8a5; font-variant-numeric: tabular-nums; }
.bb-sptest button, .bb-sptest a, .bb-sptest__leeg button { font: 600 14px var(--body); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(253, 252, 250, 0.35); background: transparent; color: #fdfcfa; cursor: pointer; text-decoration: none; }
.bb-sptest button:hover, .bb-sptest a:hover { background: rgba(253, 252, 250, 0.12); }
.bb-sptest__leeg { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; background: rgba(17, 17, 19, 0.82); color: #fdfcfa; text-align: center; }
.bb-sptest__leeg[hidden] { display: none; }
.bb-sptest__leeg p { max-width: 520px; font-size: 17px; line-height: 1.5; text-wrap: pretty; margin: 0; }
.bb-sptest__leeg button { background: #fdfcfa; color: #111113; border: 0; padding: 12px 22px; font-size: 16px; }
.bb-body--speler .bb-sptest, .bb-body--speler .bb-sptest *, .bb-body--speler .bb-sptest__leeg, .bb-body--speler .bb-sptest__leeg * { cursor: auto !important; }
.bb-body--speler .bb-sptest button, .bb-body--speler .bb-sptest a, .bb-body--speler .bb-sptest__leeg button { cursor: pointer !important; }

/* Spelshow in de beheeromgeving (0.15.0) */
.bb-spel__status { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.bb-spel__status.is-actief { box-shadow: 0 0 0 2px #2f8a57; }
.bb-spel__logovak { flex: 0 1 340px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 20%, #1f6340 0%, #0f3322 70%, #071a10 100%); padding: 6px 10px; }
.bb-spel__logo { display: block; width: 100%; height: auto; aspect-ratio: 900 / 560; }
.bb-spel__statustekst { flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bb-spel__statustekst .bb-kaart__kop { margin: 0; }
.bb-spel__regel { margin: 0; font-weight: 600; font-size: 17px; text-wrap: pretty; }
.bb-spel__statustekst .bb-veld__hint { margin: 0; text-wrap: pretty; }
.bb-spel__statustekst .bb-knoppenrij { margin-top: 6px; align-items: center; }
.bb-spel__statustekst .bb-schakel { margin-right: 8px; }
.bb-spel__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 20px; }
.bb-spel__subkop { margin-top: 18px; }
.bb-spel__locs { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.bb-spel__vink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.bb-spel__opdrachten { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.bb-spel__opdracht { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--cream); }
.bb-spel__nr { flex: none; width: 28px; height: 28px; margin-top: 8px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.bb-spel__opdrachtvelden { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; }
@media (max-width: 720px) { .bb-spel__opdrachtvelden { grid-template-columns: 1fr; } }
.bb-spel__opdracht .bb-icoonknop { margin-top: 6px; }
.bb-spel__captains { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bb-spel__captain { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 10px; padding: 12px 14px; border-radius: 14px; background: var(--cream); align-items: center; }
.bb-spel__captain strong { grid-column: 1; }
.bb-spel__wie { grid-column: 1; color: var(--ink-2); font-size: 14px; }
.bb-spel__wie.is-leeg { color: var(--muted); }
.bb-spel__captainknoppen { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 4px; }
.bb-spel__ronde { padding: 14px 0; border-top: 1px solid var(--line); }
.bb-spel__rondekop { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.bb-spel__rondekop .bb-veld__hint { margin: 0; text-wrap: pretty; }
.bb-spel__fotos { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-spel__foto { position: relative; margin: 0; width: 170px; }
.bb-spel__foto img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.bb-spel__foto figcaption { font-size: 13px; font-weight: 600; margin-top: 4px; }
.bb-spel__foto .bb-icoonknop { position: absolute; top: 6px; right: 6px; background: var(--white); }
.bb-spel a.bb-knop--primair, .bb-spel a.bb-knop--primair:hover { color: var(--cream); text-decoration: none; }
.bb-regel__label.is-voorrang { background: #fde7e3; color: #8a2414; }

/* Logboek van een display (0.15.8) */
.bb-logboek { display: grid; gap: 12px; }
.bb-logboek__opties { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.bb-logboek__opties .bb-veld { margin: 0; }
.bb-logboek__tekst { width: 100%; min-height: 360px; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; overflow: auto; resize: vertical; text-wrap: nowrap; }

/* Tv's verspreid in dezelfde ruimte (0.15.12): tegels naast elkaar, zo nodig op meer regels, zonder wisselknoppen */
.bb-tvg__muur.is-ruimte { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; align-items: start; }
.bb-tvmini.is-ruimte { flex-wrap: wrap; max-width: 168px; }

/* Overzicht: displays per vestiging (0.15.16) */
.bb-ovz__vestiging + .bb-ovz__vestiging { margin-top: 18px; }
.bb-ovz__vestiging-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 4px 6px; }
.bb-ovz__vestiging-kop strong { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #52525b; }
.bb-ovz__vestiging-kop span { font-size: 13px; color: #52525b; }
.bb-ovz__vestiging-kop span.is-let-op { color: #b3261e; font-weight: 600; }

/* Stemverloop van een dilemma (0.15.17) */
.bb-stemverloop { display: grid; gap: 12px; }
.bb-stemverloop__totaal { margin: 0; }
.bb-stemverloop__lijst { display: grid; max-height: 46vh; overflow: auto; border: 1px solid #e4e4e7; border-radius: 12px; }
.bb-stemverloop__rij { display: grid; grid-template-columns: 110px 1fr auto auto; align-items: center; gap: 12px; padding: 8px 12px; border-top: 1px solid #f0f0f2; font-size: 14px; }
.bb-stemverloop__rij:first-child { border-top: 0; }
.bb-stemverloop__rij.is-verdacht { background: #fdecea; color: #7a1a12; }
.bb-stemverloop__tijd { font-variant-numeric: tabular-nums; }
.bb-stemverloop__ab { color: #52525b; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bb-stemverloop__rij.is-verdacht .bb-stemverloop__ab { color: #7a1a12; }
@media (max-width: 560px) { .bb-stemverloop__rij { grid-template-columns: 1fr auto; } .bb-stemverloop__ab { grid-column: 1; } }
