/*
 * Ekmekci-huisstijl: gedeeld door de Kern en alle apps.
 * Apps gebruiken deze klassen (of de componenten in FJ.ui) en geen eigen
 * kleuren, zodat alles er hetzelfde uitziet. Hoofdkleur: --fj-brand.
 */

@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/barlow-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/barlow-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/barlow-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/barlow-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/barlow-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/barlow-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Merkfonts (brandbook): Flange BQ voor koppen, Saniretro voor subkopjes (alleen hoofdletters). */
@font-face { font-family: "Flange BQ"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/flange-bq-bold.woff2) format("woff2"); }
@font-face { font-family: "Saniretro"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/saniretro-regular.woff2) format("woff2"); }

:root {
	--fj-brand: #007f7c;
	--fj-brand-strong: color-mix(in srgb, var(--fj-brand) 82%, #000);
	--fj-brand-soft: color-mix(in srgb, var(--fj-brand) 10%, #fff);
	--fj-brand-softer: color-mix(in srgb, var(--fj-brand) 5%, #fff);
	--fj-ink: #1c2423;
	--fj-ink-2: #4c5655;
	--fj-ink-3: #7f8a86;
	--fj-line: #e6dfcc;
	--fj-line-2: #efe9d9;
	--fj-fill: #f7f3e7;
	--fj-bg: #ffffff;
	--fj-danger: #e86643;
	--fj-danger-soft: #f7d6d2;
	--fj-warn: #51344d;
	--fj-warn-soft: #f1ebd8;
	--fj-ok: #007f7c;
	--fj-radius: 16px;
	--fj-radius-s: 12px;
	--fj-shadow: 0 1px 2px rgba(19, 32, 27, .04), 0 8px 24px -12px rgba(19, 32, 27, .12);
	--fj-deeg: #f1ebd8;
	--fj-salie: #c7dbd9;
	--fj-terracotta: #e86643;
	--fj-goud: #d2a237;
	--fj-aubergine: #51344d;
	--fj-perzik: #f7d6d2;
	--fj-head: "Flange BQ", "Barlow", ui-sans-serif, system-ui, sans-serif;
	--fj-kop: "Saniretro", "Barlow", ui-sans-serif, system-ui, sans-serif;
	--fj-font: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fj-safe-top: env(safe-area-inset-top, 0px);
	--fj-safe-bottom: env(safe-area-inset-bottom, 0px);
	--fj-nav-h: 64px;
	--fj-max: 560px;
	color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
/* Geen zoom bij dubbeltikken; tekstgrootte niet automatisch aanpassen. */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, button, a, input, select, label { touch-action: manipulation; }
body {
	background: var(--fj-bg);
	color: var(--fj-ink);
	font-family: var(--fj-font);
	font-size: 15px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overscroll-behavior-y: none;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--fj-brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- opstartscherm ---------- */
.fj-splash { position: fixed; inset: 0; display: grid; place-items: center; background: #fff; }
.fj-splash img { width: min(220px, 60vw); animation: fj-pulse 1.4s ease-in-out infinite; }
@keyframes fj-pulse { 50% { opacity: .55; } }

/* ---------- frame ---------- */
.fj-app { min-height: 100%; display: flex; flex-direction: column; }
.fj-top {
	position: sticky; top: 0; z-index: 20;
	padding: calc(var(--fj-safe-top) + 10px) 12px 10px;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.fj-top.is-scrolled { border-bottom-color: var(--fj-line); }
.fj-top-in { max-width: var(--fj-max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 46px; }
.fj-top-slot { display: flex; justify-content: center; align-items: center; min-width: 0; }
.fj-topbtn { width: 50px; height: 46px; border: 0; border-radius: 13px; background: transparent; color: var(--fj-ink-2); display: grid; justify-items: center; align-content: center; gap: 2px; cursor: pointer; }
.fj-topbtn:active { background: var(--fj-fill); }
.fj-topbtn span { font-size: 10.5px; font-weight: 650; line-height: 1; }
.fj-top-logo { justify-self: center; height: 27px; width: auto; max-width: 100%; }
.fj-top-title { justify-self: center; font-weight: 750; font-size: 16px; letter-spacing: -.01em; }
.fj-main {
	flex: 1;
	width: 100%;
	max-width: var(--fj-max);
	margin: 0 auto;
	padding: 6px 16px calc(var(--fj-nav-h) + var(--fj-safe-bottom) + 28px);
}
.fj-main.is-wide { max-width: 920px; }

.fj-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-top: 1px solid var(--fj-line);
	padding-bottom: var(--fj-safe-bottom);
}
.fj-nav-in { max-width: var(--fj-max); margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: var(--fj-nav-h); }
.fj-nav button {
	border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	color: var(--fj-ink-3); font-size: 11px; font-weight: 650; letter-spacing: .01em; position: relative;
}
.fj-nav button svg { width: 22px; height: 22px; }
.fj-nav button[aria-current="page"] { color: var(--fj-brand); }
.fj-nav button[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--fj-brand); }
.fj-nav .is-hub { color: var(--fj-ink-2); }

/* ---------- icoon ---------- */
.fj-icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- typografie ---------- */
.fj-h1 { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 10px 0 4px; text-wrap: balance; }
.fj-h2 { font-size: 19px; font-weight: 780; letter-spacing: -.015em; margin: 0; }
.fj-sub { color: var(--fj-ink-2); margin: 0; }
.fj-muted { color: var(--fj-ink-3); }
.fj-label { font-size: 11.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--fj-ink-3); margin: 26px 2px 10px; display: flex; justify-content: space-between; align-items: center; }
.fj-num { font-variant-numeric: tabular-nums; }

/* ---------- knoppen ---------- */
.fj-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: var(--fj-radius-s); padding: 13px 18px; min-height: 48px;
	font-weight: 720; font-size: 15px; background: var(--fj-brand); color: #fff;
	transition: transform .08s, background .15s, opacity .15s;
}
.fj-btn:active { transform: scale(.98); }
.fj-btn:disabled { opacity: .45; cursor: default; }
.fj-btn.is-block { width: 100%; }
.fj-btn.is-soft { background: var(--fj-brand-soft); color: var(--fj-brand-strong); }
.fj-btn.is-ghost { background: var(--fj-fill); color: var(--fj-ink); }
/* 2.19: geen witte tekst op oranje (te weinig contrast): roze vlak, aubergine tekst en een oranje rand (brandbook). */
.fj-btn.is-danger { background: #F7D6D2; color: #51344D; box-shadow: inset 0 0 0 2px #E86643; font-weight: 700; font-size: 16px; }
.fj-btn.is-danger.is-small { background: #F7D6D2; color: #51344D; font-size: 13.5px; }
.fj-btn.is-danger:hover:not(:disabled) { box-shadow: inset 0 0 0 3px #E86643; }
.fj-btn.is-small { min-height: 36px; padding: 7px 12px; font-size: 13.5px; border-radius: 10px; }
.fj-iconbtn {
	width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--fj-ink);
	display: grid; place-items: center;
}
.fj-iconbtn:hover { background: var(--fj-fill); }
.fj-iconbtn.is-filled { background: var(--fj-fill); }
.fj-row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.fj-row-btns > * { flex: 1 1 140px; }

/* ---------- velden ---------- */
.fj-field { display: grid; gap: 6px; margin-bottom: 14px; }
.fj-field > span { font-size: 13px; font-weight: 650; color: var(--fj-ink-2); }
.fj-field small { color: var(--fj-ink-3); font-size: 12.5px; }
.fj-input, .fj-select, .fj-textarea {
	width: 100%; border: 1.5px solid var(--fj-line); border-radius: var(--fj-radius-s); background: #fff;
	padding: 12px 14px; font-size: 16px; min-height: 48px; transition: border-color .15s;
}
/* iOS geeft datum- en tijdvelden een eigen minimale breedte; daardoor kon een onderblad zijwaarts schuiven. */
.fj-input, .fj-select { min-width: 0; max-width: 100%; }
.fj-input[type="date"], .fj-input[type="time"], .fj-input[type="datetime-local"] { -webkit-appearance: none; appearance: none; display: block; text-align: left; }
.fj-input::-webkit-date-and-time-value { text-align: left; }
.fj-field { min-width: 0; }
.fj-input:focus, .fj-select:focus, .fj-textarea:focus { outline: none; border-color: var(--fj-brand); }
.fj-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2385938e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.fj-error { background: var(--fj-danger-soft); color: var(--fj-aubergine); box-shadow: inset 4px 0 0 var(--fj-danger); border-radius: var(--fj-radius-s); padding: 10px 12px; font-size: 13.5px; font-weight: 600; margin: 0 0 12px; }
.fj-hint { background: var(--fj-warn-soft); color: var(--fj-warn); border-radius: var(--fj-radius-s); padding: 10px 12px; font-size: 13.5px; display: flex; gap: 8px; align-items: flex-start; }
.fj-hint.is-brand { background: var(--fj-brand-softer); color: var(--fj-brand-strong); }

/* ---------- lijsten ---------- */
.fj-list { background: #fff; border: 1px solid var(--fj-line); border-radius: var(--fj-radius); overflow: hidden; }
.fj-item {
	display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
	padding: 13px 14px; background: none; border: 0; border-bottom: 1px solid var(--fj-line-2); min-height: 54px;
}
.fj-item:last-child { border-bottom: 0; }
button.fj-item:hover, a.fj-item:hover { background: var(--fj-brand-softer); }
a.fj-item { color: inherit; text-decoration: none; }
.fj-item > .fj-icon { color: var(--fj-ink-2); }
.fj-item-main { flex: 1; min-width: 0; }
.fj-item-title { font-weight: 650; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fj-item-sub { color: var(--fj-ink-3); font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fj-item-end { color: var(--fj-ink-3); font-size: 13.5px; display: flex; align-items: center; gap: 6px; flex: none; }
.fj-item.is-danger { color: var(--fj-aubergine); font-weight: 700; }
.fj-item.is-danger > .fj-icon { color: var(--fj-danger); }

/* ---------- avatar ---------- */
.fj-avatar {
	width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden;
	display: grid; place-items: center; font-weight: 800; font-size: 14px;
	background: var(--fj-brand-soft); color: var(--fj-brand-strong);
}
.fj-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- badges en chips ---------- */
.fj-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 750; padding: 3px 8px; border-radius: 99px; background: var(--fj-fill); color: var(--fj-ink-2); white-space: nowrap; }
.fj-badge.is-brand { background: var(--fj-brand-soft); color: var(--fj-brand-strong); }
.fj-badge.is-danger { background: var(--fj-danger-soft); color: var(--fj-aubergine); }
.fj-badge.is-warn { background: var(--fj-warn-soft); color: var(--fj-warn); }
.fj-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fj-chip { border: 1.5px solid var(--fj-line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 650; color: var(--fj-ink-2); }
.fj-chip[aria-pressed="true"] { background: var(--fj-ink); border-color: var(--fj-ink); color: #fff; }

/* ---------- segmenten ---------- */
.fj-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--fj-fill); border-radius: 13px; padding: 3px; gap: 2px; margin: 4px 0 14px; }
.fj-seg button { border: 0; background: none; border-radius: 10px; padding: 9px 8px; font-weight: 700; font-size: 13.5px; color: var(--fj-ink-2); }
.fj-seg button[aria-pressed="true"] { background: #fff; color: var(--fj-ink); box-shadow: 0 1px 3px rgba(19, 32, 27, .1); }
.fj-seg button:disabled { opacity: .4; cursor: default; }

/* ---------- schakelaar ---------- */
.fj-toggle { position: relative; width: 46px; height: 28px; flex: none; }
.fj-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.fj-toggle span { position: absolute; inset: 0; border-radius: 99px; background: #d5dedb; transition: background .15s; }
.fj-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.fj-toggle input:checked + span { background: var(--fj-brand); }
.fj-toggle input:checked + span::after { transform: translateX(18px); }
.fj-toggle input:focus-visible + span { outline: 2px solid var(--fj-brand); outline-offset: 2px; }

/* ---------- kaarten ---------- */
.fj-card { background: #fff; border: 1px solid var(--fj-line); border-radius: var(--fj-radius); padding: 16px; }
.fj-card.is-tint { background: var(--fj-brand-softer); border-color: transparent; }
.fj-empty { text-align: center; padding: 36px 20px; color: var(--fj-ink-3); }
.fj-empty .fj-icon { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--fj-ink-3); display: block; }
.fj-empty b { display: block; color: var(--fj-ink); font-size: 15.5px; margin-bottom: 4px; }

/* ---------- tabel (sheet-weergave voor apps) ---------- */
.fj-table-wrap { overflow: auto; border: 1px solid var(--fj-line); border-radius: var(--fj-radius); max-height: 70vh; }
.fj-table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; font-size: 13.5px; }
.fj-table th, .fj-table td { padding: 10px 12px; border-bottom: 1px solid var(--fj-line-2); text-align: left; white-space: nowrap; background: #fff; }
.fj-table th { position: sticky; top: 0; z-index: 2; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--fj-ink-3); background: var(--fj-fill); }
.fj-table th:first-child, .fj-table td:first-child { position: sticky; left: 0; z-index: 1; font-weight: 650; box-shadow: 1px 0 0 var(--fj-line); }
.fj-table th:first-child { z-index: 3; }
.fj-table td.is-num, .fj-table th.is-num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- onderblad (sheet) ---------- */
.fj-sheet-back { position: fixed; inset: 0; z-index: 60; background: rgba(13, 22, 18, .38); display: flex; align-items: flex-end; justify-content: center; animation: fj-fade .18s ease-out; }
.fj-sheet {
	width: 100%; max-width: var(--fj-max); max-height: calc(100% - var(--fj-safe-top) - 24px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
	background: #fff; border-radius: 22px 22px 0 0; padding: 8px 18px calc(22px + var(--fj-safe-bottom));
	animation: fj-up .22s cubic-bezier(.2, .8, .2, 1);
}
.fj-sheet-grip { width: 38px; height: 4px; border-radius: 4px; background: #d8e0dd; margin: 4px auto 10px; }
.fj-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fj-sheet-head h3 { margin: 0; font-size: 18px; font-weight: 780; letter-spacing: -.01em; }
@media (min-width: 640px) {
	.fj-sheet-back { align-items: center; padding: 24px; }
	.fj-sheet { border-radius: 22px; padding-bottom: 22px; }
}
@keyframes fj-fade { from { opacity: 0; } }
@keyframes fj-up { from { transform: translateY(40px); opacity: .6; } }

/* ---------- melding (toast) ---------- */
.fj-toast {
	position: fixed; left: 50%; bottom: calc(var(--fj-nav-h) + var(--fj-safe-bottom) + 14px); transform: translateX(-50%); z-index: 80;
	background: var(--fj-ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-weight: 650; font-size: 14px;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); max-width: calc(100% - 32px); animation: fj-up .2s ease-out;
}
.fj-toast.is-error { background: var(--fj-danger); }

/* ---------- code-invoer ---------- */
.fj-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 6px 0 18px; }
.fj-code i { aspect-ratio: 1 / 1.18; border: 1.5px solid var(--fj-line); border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 22px; font-weight: 800; transition: border-color .12s, transform .12s; }
.fj-code i.is-filled { border-color: var(--fj-brand); }
.fj-code i.is-next { border-color: var(--fj-ink-3); }
.fj-code.is-shake { animation: fj-shake .35s; }
@keyframes fj-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.fj-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fj-pad button { border: 0; border-radius: 14px; background: var(--fj-fill); padding: 13px 0; font-size: 21px; font-weight: 650; min-height: 54px; }
.fj-pad button:active { background: var(--fj-line); }
.fj-pad button.is-plain { background: none; }
.fj-pad button:disabled { opacity: .35; }
.fj-code-hidden { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }

/* ---------- inlogscherm ---------- */
.fj-login { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: calc(var(--fj-safe-top) + 40px) 22px calc(var(--fj-safe-bottom) + 24px); }
.fj-login-in { width: 100%; max-width: 380px; display: flex; flex-direction: column; }
.fj-login-logo { width: min(240px, 70%); align-self: center; margin: 12px 0 40px; }
.fj-login h1 { font-size: 23px; margin: 0 0 4px; font-weight: 800; letter-spacing: -.02em; }
.fj-login p.fj-sub { margin-bottom: 22px; }

/* ---------- hub ---------- */
.fj-greet { margin: 14px 2px 2px; }
.fj-greet small { display: block; color: var(--fj-ink-3); font-size: 13.5px; font-weight: 600; }
.fj-greet h1 { font-size: 27px; line-height: 1.12; font-weight: 820; letter-spacing: -.028em; margin: 4px 0 0; }
.fj-greet h1 span { color: var(--fj-brand); }
.fj-today {
	margin-top: 18px; border-radius: 20px; padding: 16px 16px 14px; color: #fff; position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--fj-brand) 0%, var(--fj-brand-strong) 100%);
}
.fj-today::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .08); }
.fj-today small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.fj-today b { display: block; font-size: 19px; font-weight: 780; letter-spacing: -.01em; margin: 4px 0 2px; position: relative; z-index: 1; }
.fj-today span { font-size: 14px; opacity: .92; position: relative; z-index: 1; }
.fj-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 14px; position: relative; z-index: 1; }
.fj-week i, .fj-week button { font-style: normal; text-align: center; font-size: 11px; font-weight: 700; padding: 6px 0 5px; border-radius: 9px; background: rgba(255, 255, 255, .1); opacity: .75; }
.fj-week .has { opacity: 1; background: rgba(255, 255, 255, .2); }
.fj-week .is-today { background: #fff; color: var(--fj-brand-strong); opacity: 1; }
.fj-week em { display: block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 3px auto 0; font-style: normal; }
.fj-week button { border: 0; color: inherit; font-family: inherit; cursor: pointer; }
.fj-week button.is-picked { outline: 2px solid #fff; outline-offset: -2px; opacity: 1; }
.fj-today-day { position: relative; z-index: 1; min-height: 52px; padding-right: 30px; }
.fj-today-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.fj-today-x:active { background: rgba(255,255,255,.22); }
.fj-today-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 4px; }
.fj-today-row b { margin: 0; font-size: 17px; }
.fj-today-row span { white-space: nowrap; }
.fj-today-none { opacity: .8; }
.fj-week .fj-dots { display: flex; justify-content: center; gap: 3px; height: 4px; margin-top: 3px; opacity: 1; font-size: 0; }
.fj-week .fj-dots em { margin: 0; flex: none; }
.fj-today-row.is-more { width: 100%; border: 0; background: none; color: inherit; font: inherit; padding: 0; text-align: left; cursor: pointer; }
.fj-today-row.is-more b { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.fj-today-row.is-more b svg { flex: none; opacity: .75; }
.fj-today-more { position: relative; z-index: 1; margin: 2px 0 6px; font-size: 13.5px; line-height: 1.4; opacity: .95; }
.fj-today-more p { margin: 2px 0; white-space: pre-line; overflow-wrap: anywhere; }
.fj-today-loc { display: flex; align-items: center; gap: 6px; font-weight: 650; color: inherit; text-decoration: none; margin: 3px 0; width: fit-content; max-width: 100%; }
.fj-today .fj-today-loc span { font-size: 13.5px; opacity: 1; overflow-wrap: anywhere; }
a.fj-today-loc span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fj-today-loc svg { flex: none; opacity: .85; }
.fj-today-item + .fj-today-item { margin-top: 8px; }
.fj-weeknav { display: flex; align-items: center; gap: 6px; margin-top: 10px; position: relative; z-index: 1; }
.fj-weeknav-btn { flex: none; width: 34px; height: 32px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.fj-weeknav-btn:active { background: rgba(255, 255, 255, .24); }
.fj-today .fj-weeknav-mid { flex: 1; min-width: 0; text-align: center; font-size: 13px; font-weight: 750; opacity: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fj-today .fj-weeknav-mid small { font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .8; margin-left: 6px; }
.fj-weeknav-now { flex: none; border: 0; border-radius: 999px; background: #fff; color: var(--fj-brand-strong); font: inherit; font-size: 12.5px; font-weight: 750; padding: 7px 11px; cursor: pointer; }

.fj-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fj-appcard {
	border: 1px solid var(--fj-line); background: #fff; border-radius: 20px; padding: 16px 14px 14px; text-align: left;
	display: flex; flex-direction: column; gap: 14px; min-height: 128px; transition: border-color .15s, transform .08s, box-shadow .15s;
}
.fj-appcard:hover { border-color: color-mix(in srgb, var(--fj-brand) 40%, var(--fj-line)); box-shadow: var(--fj-shadow); }
.fj-appcard:active { transform: scale(.985); }
.fj-appicon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--fj-brand); color: #fff; }
.fj-appicon .fj-icon { width: 23px; height: 23px; }
.fj-appcard.is-dark .fj-appicon { background: var(--fj-ink); }
.fj-appcard b { font-size: 16px; font-weight: 750; letter-spacing: -.01em; display: block; }
.fj-appcard small { color: var(--fj-ink-3); font-size: 12.5px; display: block; margin-top: 2px; line-height: 1.3; }
.fj-apps.is-one { grid-template-columns: 1fr; }
.fj-appicon { position: relative; }
.fj-newdot { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: #E86643; box-shadow: 0 0 0 2px #fff; }
.fj-apps.is-one .fj-appcard { flex-direction: row; align-items: center; min-height: 0; }

/* ---------- profiel ---------- */
.fj-profile { text-align: center; padding: 18px 0 6px; }
.fj-profile .fj-avatar { width: 96px; height: 96px; font-size: 34px; margin: 0 auto; }
.fj-avatar-wrap { position: relative; width: 96px; margin: 0 auto 12px; }
.fj-avatar-edit { position: absolute; right: -4px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: var(--fj-ink); color: #fff; display: grid; place-items: center; }
.fj-avatar-edit .fj-icon { width: 16px; height: 16px; }
.fj-profile h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- logboek ---------- */
.fj-timeline { position: relative; }
.fj-day { font-size: 12px; font-weight: 750; color: var(--fj-ink-3); letter-spacing: .06em; text-transform: uppercase; margin: 18px 2px 6px; }
.fj-ev { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 2px; border-bottom: 1px solid var(--fj-line-2); }
.fj-ev .fj-avatar { width: 32px; height: 32px; font-size: 12px; }
.fj-ev-dot { width: 32px; height: 32px; border-radius: 10px; background: var(--fj-fill); color: var(--fj-ink-2); display: grid; place-items: center; }
.fj-ev-dot .fj-icon { width: 16px; height: 16px; }
.fj-ev b { font-weight: 650; font-size: 14px; display: block; }
.fj-ev small { color: var(--fj-ink-3); font-size: 12.5px; }
.fj-ev time { color: var(--fj-ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; padding-top: 2px; }

/* ---------- rechten ---------- */
.fj-perm { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--fj-line-2); }
.fj-perm:last-child { border-bottom: 0; }
.fj-perm span { flex: 1; min-width: 0; font-size: 14px; }
.fj-tri { display: grid; grid-auto-flow: column; background: var(--fj-fill); border-radius: 10px; padding: 2px; flex: none; }
.fj-tri button { border: 0; background: none; font-size: 12px; font-weight: 700; padding: 6px 9px; border-radius: 8px; color: var(--fj-ink-3); }
.fj-tri button[aria-pressed="true"] { background: #fff; color: var(--fj-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.fj-tri button[aria-pressed="true"].is-on { color: var(--fj-ok); }
.fj-tri button[aria-pressed="true"].is-off { color: var(--fj-danger); }

.fj-codebox { font-size: 34px; font-weight: 800; letter-spacing: .2em; text-align: center; padding: 16px; border-radius: 16px; background: var(--fj-brand-softer); color: var(--fj-brand-strong); font-variant-numeric: tabular-nums; margin: 6px 0 14px; }

.fj-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--fj-line); border-top-color: var(--fj-brand); animation: fj-rot .7s linear infinite; margin: 40px auto; }
@keyframes fj-rot { to { transform: rotate(360deg); } }

.fj-stack { display: grid; gap: 12px; }
.fj-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- galerij ---------- */
.fj-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
@media (min-width: 700px) { .fj-gal { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fj-gal-tile { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--fj-fill); cursor: pointer; }
.fj-gal-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fj-gal-tile.is-picked { outline: 3px solid var(--fj-brand); outline-offset: -3px; }
.fj-gal-tile.is-picked img { opacity: .75; }
.fj-gal-flag { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 750; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--fj-warn); }
.fj-gal-check { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.25); display: grid; place-items: center; color: #fff; }
.fj-gal-tile.is-picked .fj-gal-check { background: var(--fj-brand); }
.fj-gal-bar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 16px; background: var(--fj-ink); color: #fff; font-weight: 650; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 5; }
.fj-gal-bar .fj-btn.is-danger { background: #F7D6D2; color: #51344D; box-shadow: inset 0 0 0 2px #E86643; }
.fj-gal-bar .fj-btn:disabled { opacity: .45; }
.fj-gal-big { display: block; border-radius: 14px; overflow: hidden; background: var(--fj-fill); }
.fj-gal-big img { display: block; width: 100%; max-height: 60vh; object-fit: contain; }
.fj-gal-info { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--fj-ink-2); margin-bottom: 12px; }
.fj-gal-info .fj-icon { flex: none; margin-top: 1px; color: var(--fj-brand); }
.fj-diag { margin: 0 0 12px; font-size: 12.5px; color: var(--fj-ink-2); }
.fj-diag summary { cursor: pointer; font-weight: 650; }
.fj-diag pre { white-space: pre-wrap; word-break: break-all; background: var(--fj-fill); border-radius: 10px; padding: 10px; margin: 8px 0; font-size: 12px; }

/* ---------- ontwerpsysteem (Desktop 2.0): FJ.ui.Page, Toolbar, Section, Row, Stats, MasterDetail ----------
 * Nieuwe klassen; ze werken ook op de telefoon (eenvoudig), maar zijn bedoeld voor de computer.
 * De desktopmaten staan verderop in de media query. */
.fj-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 10px 0 14px; }
.fj-page-titles { min-width: 0; flex: 1 1 230px; }
.fj-page-eyebrow { display: block; color: var(--fj-ink-3); font-size: 13px; font-weight: 650; margin-bottom: 2px; }
.fj-page-title { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.fj-page-sub { color: var(--fj-ink-2); margin: 4px 0 0; }
.fj-page-actions { display: flex; gap: 8px; flex-wrap: wrap; flex: none; align-items: center; }
.fj-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.fj-toolbar-fill { flex: 1; }
.fj-search { position: relative; display: flex; align-items: center; flex: 1 1 220px; min-width: 0; color: var(--fj-ink-3); }
.fj-search > .fj-icon { position: absolute; left: 13px; pointer-events: none; }
.fj-search-in { width: 100%; min-width: 0; border: 1.5px solid var(--fj-line); border-radius: var(--fj-radius-s); background: #fff; padding: 9px 36px 9px 40px; font-size: 16px; min-height: 44px; color: var(--fj-ink); transition: border-color .15s, box-shadow .15s; }
.fj-search-in:focus { outline: none; border-color: var(--fj-brand); }
.fj-search-in::-webkit-search-cancel-button { display: none; }
.fj-search-x { position: absolute; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--fj-ink-3); display: grid; place-items: center; }
.fj-search-x:hover { background: var(--fj-fill); color: var(--fj-ink); }
.fj-tbtn { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 40px; padding: 0 13px; border: 1.5px solid var(--fj-line); border-radius: 11px; background: #fff; color: var(--fj-ink-2); font-weight: 680; font-size: 13.5px; white-space: nowrap; transition: border-color .12s, color .12s, background .12s; }
.fj-tbtn.is-on { border-color: var(--fj-brand); color: var(--fj-brand-strong); background: var(--fj-brand-softer); }
.fj-tbtn:disabled { opacity: .45; cursor: default; }
.fj-viewsw { display: inline-flex; flex: none; background: var(--fj-fill); border-radius: 11px; padding: 3px; gap: 2px; }
.fj-viewsw button { width: 36px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--fj-ink-3); display: grid; place-items: center; }
.fj-viewsw button[aria-pressed="true"] { background: #fff; color: var(--fj-ink); box-shadow: 0 1px 3px rgba(19, 32, 27, .1); }
.fj-section { margin-top: 26px; }
.fj-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 0 2px 10px; }
.fj-section-title { font-size: 16px; font-weight: 780; letter-spacing: -.012em; margin: 0; }
.fj-section-sub { color: var(--fj-ink-3); font-size: 13.5px; margin: 2px 0 0; }
.fj-section-actions { display: flex; gap: 8px; flex: none; }
.fj-setrow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 14px; background: none; border: 0; border-bottom: 1px solid var(--fj-line-2); min-height: 56px; color: inherit; }
.fj-setrow:last-child { border-bottom: 0; }
.fj-setrow > .fj-icon { color: var(--fj-ink-2); }
.fj-setrow-main { flex: 1; min-width: 0; }
.fj-setrow-label { display: block; font-weight: 650; }
.fj-setrow-sub { display: block; color: var(--fj-ink-3); font-size: 13px; line-height: 1.4; margin-top: 1px; }
.fj-setrow-ctl { flex: none; display: flex; align-items: center; gap: 8px; color: var(--fj-ink-2); font-size: 14px; }
.fj-setrow-go { color: var(--fj-ink-3); }
.fj-setrow.is-danger { color: var(--fj-aubergine); font-weight: 700; }
.fj-setrow.is-danger > .fj-icon { color: var(--fj-danger); }
.fj-setrow.is-stack { flex-wrap: wrap; }
.fj-setrow.is-stack .fj-setrow-ctl { flex: 1 1 100%; }
.fj-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fj-stat { display: flex; flex-direction: column; gap: 4px; text-align: left; border: 1px solid var(--fj-line); background: #fff; border-radius: var(--fj-radius); padding: 14px; color: inherit; min-width: 0; }
.fj-stat-label { display: flex; align-items: center; gap: 6px; color: var(--fj-ink-2); font-size: 13px; font-weight: 650; }
.fj-stat-label .fj-icon { color: var(--fj-ink-3); }
.fj-stat-value { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.fj-stat-sub { color: var(--fj-ink-3); font-size: 12.5px; }
.fj-stat.is-brand .fj-stat-value { color: var(--fj-brand-strong); }
/* Tegels volgens het brandbook: waarschuwing = aubergine cijfer met gouden rand links, rood = oranje (#E86643). */
.fj-stat.is-warn { box-shadow: inset 4px 0 0 #D2A237; }
.fj-stat.is-warn .fj-stat-value { color: #51344D; }
.fj-stat.is-danger .fj-stat-value { color: #E86643; }
.fj-empty-action { margin-top: 14px; display: flex; justify-content: center; gap: 8px; }

/* =====================================================================
 * DESKTOP (vanaf 1024px breed, alleen op schermen)
 *
 * Alles hieronder staat achter een media query of gebruikt klassen die de
 * Kern alleen op desktop tekent. Op telefoon en tablet verandert er niets.
 * De regels gelden alleen binnen het portaal (<html class="fj-kern">),
 * niet op andere pagina's die fj.css gebruiken.
 *
 * Voor apps (zie LEES-MIJ, "Desktopweergave voor ontwikkelaars"):
 *   .fj-desk-grid   raster met automatisch aantal kolommen (--fj-desk-col, standaard 300px)
 *   .fj-desk-2col   twee gelijke kolommen     .fj-desk-3col  drie kolommen
 *   .fj-desk-side   inhoud + zijkolom rechts (--fj-desk-aside, standaard 360px); <aside> blijft staan bij scrollen
 *   .fj-desk-sticky blijft bovenaan staan bij scrollen (onder de kop van de app)
 *   .fj-form        formulier niet breder dan --fj-form-max (720px)
 *   .fj-desk-only / .fj-mob-only   alleen op desktop / alleen op telefoon tonen
 *   .fj-table.is-data (of FJ.ui.Table)   gegevenstabel over de volle breedte
 *   .fj-dock        vaste actiebalk onderaan de inhoudskolom
 * ===================================================================== */

:root { --fj-side-w: 0px; --fj-form-max: 720px; }

/* Vaste actiebalk voor apps (nieuw): op telefoon boven het menu, op desktop onderaan de inhoud. */
.fj-dock {
	position: fixed; left: 50%; transform: translateX(-50%); z-index: 25;
	bottom: calc(var(--fj-nav-h) + var(--fj-safe-bottom) + 10px);
	width: calc(100% - 24px); max-width: calc(var(--fj-max) - 8px);
	display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px;
	border-radius: 16px; background: var(--fj-ink); color: #fff; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55);
}
.fj-dock-space { height: 80px; }

@media (max-width: 1023.98px) {
	.fj-desk-only { display: none !important; }
}

/* gegevenstabel (ook bruikbaar op telefoon: scrolt dan zijwaarts) */
.fj-table-wrap.is-data { max-height: none; background: #fff; }
.fj-table.is-data { width: 100%; }
.fj-table.is-data th:first-child, .fj-table.is-data td:first-child { position: static; box-shadow: none; }
.fj-table.is-data td { vertical-align: middle; }
.fj-table.is-data td.is-wrap { white-space: normal; min-width: 240px; }
.fj-table.is-data tbody tr:last-child td { border-bottom: 0; }
.fj-table.is-data tr.is-click { cursor: pointer; }
.fj-table.is-data tr.is-click:hover td { background: var(--fj-brand-softer); }
.fj-table.is-data tr.is-click:focus-visible { outline: 2px solid var(--fj-brand); outline-offset: -2px; }
.fj-cell-who { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.fj-cell-app { display: inline-flex; align-items: center; gap: 8px; color: var(--fj-ink-2); }
.fj-cell-badges { display: inline-flex; gap: 4px; flex-wrap: wrap; }

@media screen and (min-width: 1024px) {
	:root.fj-kern {
		--fj-a-w: 248px;     /* hoofdmenu */
		--fj-b-w: 236px;     /* onderdelen van de geopende app */
		--fj-side-w: var(--fj-a-w);
		--fj-nav-h: 0px;
		--fj-max: 760px;
		--fj-d-max: 1180px;
		--fj-d-wide: 1440px;
		--fj-d-pad: 36px;
		--fj-sheet-w: 600px;
	}
	html.fj-kern { touch-action: auto; }
	.fj-kern body { overscroll-behavior-y: auto; font-size: 15px; }
	.fj-kern .fj-mob-only { display: none !important; }

	/* ---------- frame (Desktop 2.0): hoofdmenu | onderdelen van de app | inhoud ---------- */
	.fj-kern .fj-d { display: flex; height: 100vh; height: 100dvh; }
	.fj-kern .fj-d-side {
		flex: none; width: var(--fj-a-w); display: flex; flex-direction: column; gap: 2px; min-height: 0; overflow-y: auto; scrollbar-width: thin;
		padding: 16px 12px 14px; background: #f6f8f7; border-right: 1px solid var(--fj-line);
	}
	.fj-kern .fj-d-logo { border: 0; background: none; padding: 10px 10px 18px; display: block; width: 100%; text-align: left; border-radius: 12px; }
	.fj-kern .fj-d-logo:hover { background: rgba(255, 255, 255, .7); }
	/* logo nooit bijsnijden of uitrekken: breedte bepaalt, hoogte volgt */
	.fj-kern .fj-d-logo-full { display: block; width: 100%; max-width: 196px; height: auto; max-height: 44px; object-fit: contain; object-position: left center; }
	.fj-kern .fj-d-logo-mark { display: none; width: 36px; height: 36px; object-fit: contain; margin: 0 auto; }
	.fj-kern .fj-d-nav { display: grid; gap: 2px; }
	.fj-kern .fj-d-nav.is-foot { padding-top: 10px; border-top: 1px solid var(--fj-line); }
	.fj-kern .fj-d-group { font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--fj-ink-3); padding: 16px 10px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.fj-kern .fj-d-sep { height: 1px; background: var(--fj-line); margin: 10px 8px; }
	.fj-kern .fj-d-fill { flex: 1; min-height: 16px; }
	.fj-kern .fj-d-link {
		display: flex; align-items: center; gap: 11px; width: 100%; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 10px;
		background: none; color: var(--fj-ink-2); font-weight: 650; font-size: 14.5px; text-align: left; transition: background .12s, color .12s;
	}
	.fj-kern .fj-d-link > .fj-icon { width: 20px; height: 20px; margin: 0 4px; }
	.fj-kern .fj-d-link-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.fj-kern .fj-d-link:hover { background: #fff; color: var(--fj-ink); box-shadow: 0 0 0 1px var(--fj-line) inset; }
	.fj-kern .fj-d-link[aria-current="page"] { background: var(--fj-brand-soft); color: var(--fj-brand-strong); box-shadow: none; }
	.fj-kern .fj-d-link:focus-visible { outline-offset: -2px; }
	.fj-kern .fj-d-link .fj-avatar { margin: 0 1px; }
	.fj-kern .fj-d-link.is-fold { min-height: 34px; font-size: 13px; color: var(--fj-ink-3); font-weight: 600; }
	.fj-kern .fj-d-link.is-fold > .fj-icon { width: 18px; height: 18px; }
	.fj-kern .fj-d-ico { position: relative; width: 28px; height: 28px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--fj-brand); color: #fff; }
	.fj-kern .fj-d-ico .fj-newdot { width: 9px; height: 9px; top: -2px; right: -2px; }
	.fj-kern .fj-d-ico .fj-icon { width: 16px; height: 16px; }
	.fj-kern .fj-d-ico.is-dark { background: var(--fj-ink); }
	.fj-kern .fj-d-ico.is-big { width: 40px; height: 40px; border-radius: 12px; }
	.fj-kern .fj-d-ico.is-big .fj-icon { width: 21px; height: 21px; }
	.fj-kern .fj-d-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .45; flex: none; margin: 0 11px 0 11px; }
	.fj-kern .fj-d-badge { flex: none; min-width: 20px; text-align: center; font-size: 11.5px; font-weight: 750; padding: 1px 7px; border-radius: 99px; background: var(--fj-fill); color: var(--fj-ink-2); font-variant-numeric: tabular-nums; }
	.fj-kern .fj-d-link[aria-current="page"] .fj-d-badge { background: #fff; color: var(--fj-brand-strong); }

	/* kolom 2: onderdelen van de app */
	.fj-kern .fj-d-app { flex: 1; min-width: 0; display: flex; }
	:root.fj-kern:has(.fj-d-app.has-sub) { --fj-side-w: calc(var(--fj-a-w) + var(--fj-b-w)); }
	.fj-kern .fj-d-sub {
		flex: none; width: var(--fj-b-w); min-height: 0; overflow-y: auto; scrollbar-width: thin;
		padding: 14px 12px 20px; background: #fff; border-right: 1px solid var(--fj-line);
	}
	.fj-kern .fj-d-sub-head { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; text-align: left; padding: 6px 8px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--fj-line-2); border-radius: 12px 12px 0 0; }
	.fj-kern .fj-d-sub-head b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
	.fj-kern .fj-d-sub-head small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--fj-ink-3); font-size: 12.5px; line-height: 1.3; margin-top: 1px; }
	.fj-kern .fj-d-sub-head:hover b { color: var(--fj-brand-strong); }
	.fj-kern .fj-d-sub .fj-d-group { padding-top: 18px; }
	.fj-kern .fj-d-sub-group:first-of-type > .fj-d-group { padding-top: 12px; }
	.fj-kern .fj-d-sub-group { display: grid; gap: 1px; }
	.fj-kern .fj-d-link.is-sub { min-height: 36px; font-size: 14px; padding: 5px 10px; }
	.fj-kern .fj-d-link.is-sub > .fj-icon { width: 18px; height: 18px; margin: 0 3px; }
	.fj-kern .fj-d-link.is-sub:hover { background: var(--fj-fill); box-shadow: none; }
	.fj-kern .fj-d-link.is-sub[aria-current="page"] { background: var(--fj-brand-soft); }
	.fj-kern .fj-d-sub-load { display: grid; gap: 8px; padding: 14px 10px; }
	.fj-kern .fj-d-sub-load span { height: 14px; border-radius: 7px; background: var(--fj-fill); }
	.fj-kern .fj-d-sub-load span:nth-child(2) { width: 70%; }
	.fj-kern .fj-d-sub-load span:nth-child(3) { width: 82%; }

	/* Zolang er een venster open is, zijn de menu's gedimd; klikken sluit het venster. */
	.fj-kern .fj-d-dim { display: none; position: fixed; left: 0; top: 0; bottom: 0; width: var(--fj-a-w); z-index: 59; background: rgba(13, 22, 18, .38); animation: fj-fade .18s ease-out; }
	.fj-kern .fj-d-sub .fj-d-dim { left: var(--fj-a-w); width: var(--fj-b-w); }
	.fj-kern .fj-d:has(.fj-d-pane .fj-sheet-back) .fj-d-dim { display: block; }

	/* De inhoudskolom scrolt zelf en is het kader voor position: fixed in apps. */
	.fj-kern .fj-d-pane { position: relative; flex: 1; min-width: 0; min-height: 0; overflow: hidden; transform: translateZ(0); background: #fff; }
	.fj-kern .fj-d-scroll { height: 100%; overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; overscroll-behavior: contain; }
	html.fj-kern.fj-sheet-open .fj-d-scroll { overflow-y: hidden; }

	/* balk boven de inhoud van een app: terug + pad */
	.fj-kern .fj-d-bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--fj-line-2); }
	.fj-kern .fj-d-bar-in { max-width: calc(var(--fj-d-max) + 2 * var(--fj-d-pad)); margin: 0 auto; padding: 0 var(--fj-d-pad); height: 52px; display: flex; align-items: center; gap: 12px; }
	.fj-kern .fj-d-app.is-wide .fj-d-bar-in { max-width: calc(var(--fj-d-wide) + 2 * var(--fj-d-pad)); }
	.fj-kern .fj-d-app.is-full .fj-d-bar-in { max-width: none; }
	.fj-kern .fj-d-back { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--fj-line); background: #fff; color: var(--fj-ink); display: grid; place-items: center; transition: background .12s, border-color .12s; }
	.fj-kern .fj-d-back:hover { background: var(--fj-fill); border-color: #d0dad6; }
	.fj-kern .fj-d-crumbs { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 13.5px; color: var(--fj-ink-3); font-weight: 600; }
	.fj-kern .fj-d-crumbs li { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; }
	.fj-kern .fj-d-crumbs li > .fj-icon { opacity: .7; }
	.fj-kern .fj-d-crumbs button { border: 0; background: none; padding: 4px 6px; margin: 0 -2px; border-radius: 7px; color: inherit; font: inherit; }
	.fj-kern .fj-d-crumbs button:hover { color: var(--fj-ink); background: var(--fj-fill); }
	.fj-kern .fj-d-crumbs [aria-current="page"] { color: var(--fj-ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }

	/* inhoud */
	.fj-kern .fj-main { max-width: calc(var(--fj-d-max) + 2 * var(--fj-d-pad)); padding: 26px var(--fj-d-pad) 64px; }
	.fj-kern .fj-main.is-wide { max-width: calc(var(--fj-d-wide) + 2 * var(--fj-d-pad)); }
	.fj-kern .fj-main.is-full { max-width: none; }

	/* oude vaste balken van apps (bottom: --fj-nav-h) staan nu onderaan de inhoudskolom */
	.fj-kern .fj-dock { bottom: 18px; width: calc(100% - 2 * var(--fj-d-pad)); }
	.fj-kern .fj-dock-space { height: 84px; }

	/* ---------- hulpklassen voor apps ---------- */
	.fj-kern .fj-desk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--fj-desk-col, 300px)), 1fr)); gap: var(--fj-desk-gap, 14px); align-items: start; }
	.fj-kern .fj-desk-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fj-desk-gap, 28px); align-items: start; }
	.fj-kern .fj-desk-3col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fj-desk-gap, 20px); align-items: start; }
	.fj-kern .fj-desk-side { display: grid; grid-template-columns: minmax(0, 1fr) var(--fj-desk-aside, 360px); gap: var(--fj-desk-gap, 28px); align-items: start; }
	.fj-kern .fj-desk-side > aside, .fj-kern .fj-desk-sticky { position: sticky; top: calc(var(--fj-d-head-h, 0px) + 18px); }
	.fj-kern .fj-desk-grid > .fj-list, .fj-kern .fj-desk-grid > .fj-card { margin: 0; }
	.fj-kern .fj-form { max-width: var(--fj-form-max); }
	.fj-kern .fj-d-page { max-width: 1000px; }

	/* ---------- ontwerpsysteem op de computer: pagina, werkbalk, secties, kaarten ---------- */
	.fj-kern .fj-page.is-read { max-width: 760px; }
	.fj-kern .fj-page.is-center { max-width: 760px; margin: 0 auto; }
	.fj-kern .fj-page-head { margin: 2px 0 22px; align-items: flex-end; gap: 24px; }
	.fj-kern .fj-page-title { font-size: 28px; }
	.fj-kern .fj-page-sub { font-size: 15px; margin-top: 6px; max-width: 70ch; }
	.fj-kern .fj-page-actions { gap: 10px; }
	.fj-kern .fj-page-actions .fj-btn { min-height: 42px; padding: 9px 16px; font-size: 14.5px; }
	.fj-kern .fj-toolbar { gap: 10px; margin: 0 0 18px; flex-wrap: nowrap; }
	.fj-kern .fj-toolbar .fj-search { flex: 0 1 340px; }
	.fj-kern .fj-toolbar .fj-seg { margin: 0; min-width: 220px; }
	.fj-kern .fj-toolbar .fj-select { width: auto; min-width: 180px; min-height: 40px; padding-top: 7px; padding-bottom: 7px; font-size: 14px; }
	.fj-kern .fj-tbtn:hover:not(:disabled) { border-color: #cfd9d5; color: var(--fj-ink); }
	.fj-kern .fj-tbtn.is-on:hover { color: var(--fj-brand-strong); border-color: var(--fj-brand); }
	.fj-kern .fj-viewsw button:hover:not([aria-pressed="true"]) { color: var(--fj-ink); }
	.fj-kern .fj-search-in { min-height: 40px; font-size: 14.5px; }
	.fj-kern .fj-section { margin-top: 40px; }
	.fj-kern .fj-page-head + .fj-section, .fj-kern .fj-section:first-child { margin-top: 0; }
	.fj-kern .fj-section-head { margin-bottom: 12px; }
	.fj-kern .fj-section-title { font-size: 17px; }
	.fj-kern .fj-setrow { padding: 14px 16px; }
	.fj-kern button.fj-setrow:hover { background: var(--fj-brand-softer); }
	.fj-kern .fj-stats { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
	.fj-kern .fj-stat { padding: 16px 18px; }
	.fj-kern .fj-stat-value { font-size: 28px; }
	.fj-kern button.fj-stat:hover { border-color: color-mix(in srgb, var(--fj-brand) 40%, var(--fj-line)); box-shadow: var(--fj-shadow); }
	.fj-kern .fj-empty.is-panel { border: 1.5px dashed var(--fj-line); border-radius: var(--fj-radius); padding: 48px 24px; }

	/* lijst links, detail rechts */
	.fj-kern .fj-md {
		display: grid; grid-template-columns: var(--fj-md-list, 360px) minmax(0, 1fr); border: 1px solid var(--fj-line); border-radius: 18px; overflow: hidden; background: #fff;
		height: calc(100dvh - var(--fj-d-head-h, 52px) - var(--fj-md-top, 190px)); min-height: 460px;
	}
	.fj-kern .fj-md-list { border-right: 1px solid var(--fj-line); overflow-y: auto; scrollbar-width: thin; min-height: 0; }
	.fj-kern .fj-md-list > .fj-list { border: 0; border-radius: 0; }
	.fj-kern .fj-md-list .fj-search { flex: none; } /* 2.11.4: zoekveld in een kolom niet uitrekken */
	.fj-kern .fj-md-detail { overflow-y: auto; scrollbar-width: thin; min-height: 0; padding: 24px 28px 28px; }
	.fj-kern .fj-md-detail.is-empty { display: grid; place-items: center; }
	.fj-kern .fj-page-foot { margin-top: 28px; display: flex; gap: 10px; align-items: center; }
	.fj-kern .fj-logo-prev { flex: none; width: 220px; height: 64px; border: 1px dashed var(--fj-line); border-radius: 12px; display: grid; place-items: center; padding: 10px 14px; background: #fff; }
	.fj-kern .fj-logo-prev img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
	.fj-kern .fj-gal-store { margin-top: 40px; max-width: 760px; }
	.fj-kern .fj-me { display: flex; align-items: center; gap: 20px; padding: 20px 22px; }
	.fj-kern .fj-me .fj-avatar-wrap { width: 76px; margin: 0; flex: none; }
	.fj-kern .fj-me .fj-avatar { width: 76px; height: 76px; font-size: 26px; }
	.fj-kern .fj-me .fj-avatar-edit { width: 30px; height: 30px; }
	.fj-kern .fj-me-main { flex: 1; min-width: 0; }
	.fj-kern .fj-me-main h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
	.fj-kern .fj-me-main p { margin: 8px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
	.fj-kern .fj-me + .fj-section { margin-top: 36px; }
	.fj-kern .fj-item.is-active { background: var(--fj-brand-softer); box-shadow: inset 3px 0 0 var(--fj-brand); }

	/* ---------- typografie en ruimte ---------- */
	.fj-kern .fj-h1 { font-size: 28px; margin-top: 4px; }
	.fj-kern .fj-label { margin-top: 28px; }

	/* ---------- hover, focus, cursor ---------- */
	.fj-kern summary, .fj-kern select, .fj-kern label:has(> input[type="file"]), .fj-kern [role="button"], .fj-kern .fj-toggle input { cursor: pointer; }
	.fj-kern .fj-btn { transition: transform .08s, background .15s, opacity .15s, filter .15s, box-shadow .15s; }
	.fj-kern .fj-btn:hover:not(:disabled) { filter: brightness(.94); }
	.fj-kern .fj-btn:focus-visible { outline-offset: 3px; border-radius: var(--fj-radius-s); }
	.fj-kern .fj-iconbtn:hover { background: var(--fj-fill); }
	.fj-kern .fj-iconbtn.is-filled:hover { background: var(--fj-line); }
	.fj-kern .fj-chip { cursor: pointer; transition: border-color .12s, color .12s, background .12s; }
	.fj-kern .fj-chip:hover:not([aria-pressed="true"]) { border-color: var(--fj-ink-3); color: var(--fj-ink); }
	.fj-kern .fj-seg button:hover:not([aria-pressed="true"]):not(:disabled) { color: var(--fj-ink); background: rgba(255, 255, 255, .55); }
	.fj-kern .fj-tri button:hover:not([aria-pressed="true"]) { color: var(--fj-ink); }
	.fj-kern .fj-item:focus-visible { outline-offset: -2px; border-radius: 0; }
	.fj-kern .fj-input:hover:not(:focus):not(:disabled), .fj-kern .fj-select:hover:not(:focus):not(:disabled), .fj-kern .fj-textarea:hover:not(:focus):not(:disabled) { border-color: #d0dad6; }
	.fj-kern .fj-input:focus, .fj-kern .fj-select:focus, .fj-kern .fj-textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--fj-brand) 16%, transparent); }
	.fj-kern .fj-input, .fj-kern .fj-select { min-height: 44px; padding-top: 10px; padding-bottom: 10px; font-size: 15px; }
	.fj-kern .fj-appcard:focus-visible { outline-offset: 2px; border-radius: 20px; }
	.fj-kern .fj-d-scroll, .fj-kern .fj-sheet { scrollbar-width: thin; scrollbar-color: #cfd8d4 transparent; }

	/* ---------- vensters (sheets): dialoog in het midden of paneel rechts ---------- */
	.fj-kern .fj-sheet-back { align-items: center; padding: 32px; }
	.fj-kern .fj-sheet {
		max-width: var(--fj-sheet-w); max-height: calc(100% - 32px); border-radius: 20px;
		padding: 0 26px 26px; box-shadow: 0 30px 80px -24px rgba(13, 22, 18, .45);
	}
	.fj-kern .fj-sheet:focus { outline: none; }
	.fj-kern .fj-sheet-grip { display: none; }
	.fj-kern .fj-sheet-head { position: sticky; top: 0; z-index: 3; background: #fff; margin: 0 -26px 14px; padding: 20px 26px 10px; }
	.fj-kern .fj-sheet-head h3 { font-size: 19px; }
	.fj-kern .fj-sheet.is-s { max-width: 440px; }
	.fj-kern .fj-sheet.is-l { max-width: 820px; }
	.fj-kern .fj-sheet.is-xl { max-width: 1100px; }
	.fj-kern .fj-sheet-back.is-side { justify-content: flex-end; align-items: stretch; padding: 0; }
	.fj-kern .fj-sheet.is-side { max-width: 560px; height: 100%; max-height: none; border-radius: 0; box-shadow: -24px 0 60px -30px rgba(13, 22, 18, .45); animation: fj-side .24s cubic-bezier(.2, .8, .2, 1); }
	.fj-kern .fj-sheet.is-side.is-l { max-width: 760px; }
	.fj-kern .fj-sheet.is-side.is-s { max-width: 440px; }
	/* code-invoer in een venster of bij inloggen: compacter */
	.fj-kern .fj-sheet .fj-pad button, .fj-kern .fj-login .fj-pad button { min-height: 48px; padding: 10px 0; font-size: 19px; }
	.fj-kern .fj-pad button:hover:not(:disabled):not(.is-plain) { background: var(--fj-line); }

	/* ---------- melding ---------- */
	.fj-kern .fj-toast { bottom: 24px; left: calc(50% + var(--fj-side-w) / 2); }

	/* ---------- inloggen ---------- */
	.fj-kern .fj-login { justify-content: center; min-height: 100vh; background: radial-gradient(1200px 600px at 50% -10%, var(--fj-brand-soft), transparent 70%), var(--fj-fill); }
	.fj-kern .fj-login-in { max-width: 420px; background: #fff; border: 1px solid var(--fj-line); border-radius: 24px; padding: 34px 34px 26px; box-shadow: var(--fj-shadow); }
	.fj-kern .fj-login-logo { margin: 0 0 30px; width: min(220px, 70%); }

	/* ---------- hub ---------- */
	.fj-kern .fj-dash { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
	.fj-kern .fj-dash-side { display: grid; gap: 16px; position: sticky; top: 26px; }
	.fj-kern .fj-hub .fj-page-head { margin-bottom: 30px; }
	.fj-kern .fj-hub .fj-page-title { font-size: 32px; letter-spacing: -.03em; }
	.fj-kern .fj-hub .fj-page-title span { color: var(--fj-brand); }
	.fj-kern .fj-hub .fj-page-eyebrow { font-size: 13.5px; margin-bottom: 4px; }
	.fj-kern .fj-dash .fj-today { margin-top: 0; }
	.fj-kern .fj-apps.is-desk { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
	.fj-kern .fj-apps.is-desk .fj-appcard { position: relative; min-height: 148px; padding: 18px 16px 16px; }
	.fj-kern .fj-appcard { cursor: pointer; }
	.fj-kern .fj-appcard:hover { transform: translateY(-1px); }
	.fj-kern .fj-appcard-go { position: absolute; right: 16px; top: 20px; color: var(--fj-ink-3); opacity: 0; transition: opacity .15s, transform .15s; }
	.fj-kern .fj-appcard:hover .fj-appcard-go, .fj-kern .fj-appcard:focus-visible .fj-appcard-go { opacity: 1; transform: translateX(2px); color: var(--fj-brand); }
	.fj-kern .fj-dash-card { padding: 16px 18px; }
	.fj-kern .fj-dash-card h2 { margin: 0 0 8px; font-size: 15px; font-weight: 780; }
	.fj-kern .fj-dash-card .fj-between { margin-bottom: 4px; }
	.fj-kern .fj-dash-card .fj-between h2 { margin: 0; }
	.fj-kern .fj-dash-day { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--fj-line-2); }
	.fj-kern .fj-dash-day:first-of-type { border-top: 0; }
	.fj-kern .fj-dash-day > span { font-size: 12px; font-weight: 800; color: var(--fj-ink-3); text-transform: none; padding-top: 2px; }
	.fj-kern .fj-dash-day > span { white-space: nowrap; }
	.fj-kern .fj-dash-day > span small { display: inline; margin-left: 3px; font-size: 11px; font-weight: 650; text-transform: none; }
	.fj-kern .fj-dash .fj-today-row.is-more:hover b { text-decoration: underline; }
	.fj-kern .fj-dash-day.is-today > span { color: var(--fj-brand); }
	.fj-kern .fj-dash-day p { margin: 0 0 2px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
	.fj-kern .fj-dash-day p small { color: var(--fj-ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
	.fj-kern .fj-dash-ev { padding: 8px 0; border-top: 1px solid var(--fj-line-2); }
	.fj-kern .fj-dash-ev:first-of-type { border-top: 0; }
	.fj-kern .fj-dash-ev b { display: block; font-size: 13.5px; font-weight: 650; }
	.fj-kern .fj-dash-ev small { color: var(--fj-ink-3); font-size: 12px; }
	.fj-kern .fj-dash-card .fj-spin { margin: 16px auto; }

	/* ---------- logboek, beheer ---------- */
	.fj-kern .fj-d-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
	.fj-kern .fj-d-filters .fj-seg { margin: 0; min-width: 240px; }
	.fj-kern .fj-d-filters .fj-select { width: auto; min-width: 200px; }
	.fj-kern .fj-d-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 18px; flex-wrap: wrap; }
	.fj-kern .fj-d-toolbar-end { display: flex; gap: 10px; align-items: center; }
	.fj-kern .fj-d-search { width: 260px; }
	.fj-kern .fj-table.is-data { font-size: 14px; }
	.fj-kern .fj-table.is-data th, .fj-kern .fj-table.is-data td { padding: 11px 14px; }

	/* ---------- profiel ---------- */
	.fj-kern .fj-d-profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1000px; }
	.fj-kern .fj-d-profile > .fj-h1 { grid-column: 1 / -1; margin-bottom: -14px; }
	.fj-kern .fj-d-profile .fj-profile { padding: 28px 20px 24px; margin-top: 28px; }

	/* ---------- galerij ---------- */
	.fj-kern .fj-gal { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
	.fj-kern .fj-gal-tile { transition: transform .12s, box-shadow .12s; }
	.fj-kern .fj-gal-tile:hover { transform: translateY(-1px); box-shadow: var(--fj-shadow); }
	.fj-kern .fj-gal-bar { bottom: 18px; max-width: 720px; margin-left: auto; margin-right: auto; }
}
/* Hoofdmenu als smalle strook met alleen iconen: vanzelf op smalle computerschermen
 * (1024-1279px), en op grotere schermen als iemand het menu inklapt (.fj-d.is-rail). */
@media screen and (min-width: 1024px) and (max-width: 1279.98px) {
	:root.fj-kern { --fj-a-w: 72px; --fj-b-w: 224px; --fj-d-pad: 28px; }
	.fj-kern .fj-d-link.is-fold { display: none; }
	.fj-kern .fj-d-side { padding: 14px 10px; align-items: stretch; }
	.fj-kern .fj-d-side .fj-d-logo { padding: 6px 0 14px; }
	.fj-kern .fj-d-logo-full { display: none; }
	.fj-kern .fj-d-logo-mark { display: block; }
	.fj-kern .fj-d-side .fj-d-link { justify-content: center; padding: 6px 0; }
	.fj-kern .fj-d-side .fj-d-link-t, .fj-kern .fj-d-side .fj-d-badge { display: none; }
	.fj-kern .fj-d-side .fj-d-group { height: 1px; padding: 0; margin: 10px 8px; background: var(--fj-line); font-size: 0; }
	.fj-kern .fj-d-side .fj-d-link > .fj-icon { margin: 0; }
}
@media screen and (min-width: 1280px) {
	:root.fj-kern:has(.fj-d.is-rail) { --fj-a-w: 72px; }
	.fj-kern .fj-d.is-rail > .fj-d-side { padding: 14px 10px; align-items: stretch; }
	.fj-kern .fj-d.is-rail > .fj-d-side .fj-d-logo { padding: 6px 0 14px; }
	.fj-kern .fj-d.is-rail .fj-d-logo-full { display: none; }
	.fj-kern .fj-d.is-rail .fj-d-logo-mark { display: block; }
	.fj-kern .fj-d.is-rail > .fj-d-side .fj-d-link { justify-content: center; padding: 6px 0; }
	.fj-kern .fj-d.is-rail > .fj-d-side .fj-d-link-t, .fj-kern .fj-d.is-rail > .fj-d-side .fj-d-badge { display: none; }
	.fj-kern .fj-d.is-rail > .fj-d-side .fj-d-group { height: 1px; padding: 0; margin: 10px 8px; background: var(--fj-line); font-size: 0; }
	.fj-kern .fj-d.is-rail > .fj-d-side .fj-d-link > .fj-icon { margin: 0; }
}
@keyframes fj-side { from { transform: translateX(48px); opacity: .6; } }

/* Afdrukken: alleen de inhoud, zonder zijbalk en kop. */
@media print {
	.fj-d-side, .fj-d-sub, .fj-d-bar { display: none !important; }
	.fj-d, .fj-d-app, .fj-d-pane, .fj-d-scroll { display: block; height: auto; overflow: visible; transform: none; }
}

/* ======================= wisselknop en rollen (2.3.0) ======================= */
/* Wisselknop op de hub (bijv. tussen werelden). */
.fj-wissel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; padding: 3px; margin: 6px 0 2px; background: var(--fj-fill); border-radius: 14px; }
.fj-wissel button { border: 0; background: none; border-radius: 11px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--fj-ink-2); cursor: pointer; font: inherit; }
.fj-wissel button b { font-size: 14px; letter-spacing: .02em; }
.fj-wissel button small { font-size: 11.5px; color: var(--fj-ink-3); font-weight: 600; }
.fj-wissel button[aria-pressed="true"] { background: var(--fj-brand); color: #fff; box-shadow: 0 1px 4px rgba(19, 32, 27, .14); }
.fj-wissel button[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.fj-wissel button:disabled { cursor: progress; }
.fj-wissel.is-desk { margin: 0; min-width: 300px; }
.fj-wissel.is-desk:has(button:nth-child(3)) { min-width: 330px; }
.fj-wissel.is-desk:has(button:nth-child(3)) button { flex-direction: column; gap: 0; padding: 6px 12px; }
.fj-wissel.is-desk button { flex-direction: row; gap: 8px; padding: 9px 14px; }
/* Rollen kiezen (meerdere tegelijk). */
.fj-rolepick { display: flex; flex-wrap: wrap; gap: 6px; }
.fj-rolepick button { border: 1.5px solid var(--fj-line); background: #fff; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--fj-ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.fj-rolepick button[aria-pressed="true"] { border-color: var(--fj-brand); background: var(--fj-brand-soft); color: var(--fj-brand-ink, var(--fj-ink)); }
.fj-rolepick button small { font-size: 11px; color: var(--fj-ink-3); font-weight: 700; }
.fj-icon-prev { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; border: 1px solid var(--fj-line); flex: none; display: block; }
.fj-icon-prev img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ================= Ekmekci-huisstijl (brandbook 2025) =================
 * Koppen in Flange BQ, subkopjes in Saniretro (alleen hoofdletters), tekst in
 * Barlow. Blad Groen en Deeg zijn de hoofdkleuren; Terracotta, Zonnegoud en
 * Aubergine zijn accenten. Flange en Saniretro hebben één gewicht: daarom
 * font-weight 400, zodat de browser ze niet kunstmatig dikker maakt. */
.fj-h1, .fj-greet h1, .fj-login h1, .fj-page-title, .fj-h2, .fj-section-title, .fj-sheet-head h3, .fj-dash-card h2 {
	font-family: var(--fj-head); font-weight: 400; letter-spacing: .005em;
}
.fj-greet h1 { font-size: 31px; line-height: 1.08; }
.fj-login h1 { font-size: 27px; }
.fj-h1 { font-size: 29px; }
.fj-h2, .fj-section-title { font-size: 22px; }
.fj-label, .fj-page-eyebrow, .fj-today small, .fj-greet small {
	font-family: var(--fj-kop); font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
}
.fj-label { font-size: 13px; color: var(--fj-ink-2); }
.fj-greet small { font-size: 13px; color: var(--fj-ink-2); }
.fj-greet h1 span { color: var(--fj-terracotta); }
.fj-splash, .fj-login { background: var(--fj-deeg); }
html:has(.fj-login), html:has(.fj-login) body { background: var(--fj-deeg); }
.fj-login-logo { width: min(250px, 72%); }
.fj-btn { font-weight: 600; }

/* ================= Ekmekci-huisstijl 1.1: wereldhuisjes en de look van ekmekci.nl =================
 * Deeg als achtergrond met witte vlakken, tekst en koppen in Aubergine, subkopjes in
 * Saniretro (Blad Groen), primaire knoppen in Aubergine, strakke hoeken zoals op de
 * website, en de wereldhuisjes als icoon, strook en plein (brandbook, grafische elementen). */
:root {
	--fj-ink: #3f2a3c;
	--fj-ink-2: #6a5566;
	--fj-ink-3: #8f7f8b;
	--fj-line: #e4dcc6;
	--fj-line-2: #ece5d2;
	--fj-fill: #f6f1e3;
	--fj-radius: 10px;
	--fj-radius-s: 7px;
	--fj-shadow: 0 1px 2px rgba(81, 52, 77, .05), 0 10px 26px -14px rgba(81, 52, 77, .22);
}
body, html.fj-kern body { background: var(--fj-deeg); color: var(--fj-ink); }

/* Huisjes */
.fj-huisje { position: relative; display: inline-block; flex: none; line-height: 0; }
.fj-huisje > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fj-huisje-in { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; display: grid; place-items: center; color: #fff; line-height: 1; font-family: var(--fj-kop); }
.fj-huisje-in .fj-icon { width: 46%; height: auto; }
.fj-strook { display: flex; align-items: flex-end; overflow: hidden; line-height: 0; pointer-events: none; }
.fj-strook svg { flex: none; height: 100%; display: block; }

/* Koppen en subkopjes zoals op ekmekci.nl */
.fj-h1, .fj-greet h1, .fj-login h1, .fj-page-title, .fj-h2, .fj-section-title, .fj-sheet-head h3, .fj-dash-card h2, .fj-section-head h2 { color: var(--fj-aubergine); }
.fj-greet h1 span, .fj-kern .fj-hub .fj-page-title span { color: var(--fj-brand); }
.fj-label, .fj-page-eyebrow, .fj-greet small { color: var(--fj-brand); }

/* Knoppen: primair in Aubergine, strak */
.fj-btn { background: var(--fj-aubergine); border-radius: 6px; }
.fj-btn.is-soft { background: color-mix(in srgb, var(--fj-aubergine) 9%, #fff); color: var(--fj-aubergine); }
.fj-btn.is-ghost { background: #fff; color: var(--fj-aubergine); box-shadow: inset 0 0 0 1.5px var(--fj-line); }
.fj-btn.is-small { border-radius: 5px; }

/* Vlakken: wit op deeg */
.fj-list, .fj-card, .fj-stat, .fj-table-wrap { background: #fff; }

/* App-tegels als de "Direct naar"-blokken op ekmekci.nl: huisje, kop in Flange, gekleurde onderrand */
.fj-appcard { border-radius: 6px; border: 0; border-bottom: 5px solid var(--fj-app, var(--fj-brand)); box-shadow: 0 1px 0 var(--fj-line); align-items: flex-start; }
.fj-appcard:hover { box-shadow: var(--fj-shadow); border-color: var(--fj-app, var(--fj-brand)); }
.fj-appicon { width: auto; height: auto; background: none; border-radius: 0; display: block; }
.fj-appcard b { font-family: var(--fj-head); font-weight: 400; font-size: 20px; color: var(--fj-aubergine); letter-spacing: 0; }
.fj-appcard small { color: var(--fj-ink-2); }
.fj-apps.is-one .fj-appcard { gap: 16px; }
.fj-appicon .fj-newdot { top: 2px; right: -4px; }

/* Weekkaart: Blad Groen met de Ekmekci strook onderaan (zoals op de koffiebeker) */
.fj-today { border-radius: 10px; background: var(--fj-brand); padding-bottom: 46px; }
.fj-today::after { display: none; }
.fj-today-strook { position: absolute; left: 14px; right: 14px; bottom: 0; z-index: 0; opacity: .95; }
.fj-today small, .fj-today .fj-weeknav-mid small { font-family: var(--fj-kop); }
.fj-today b { font-family: var(--fj-head); font-weight: 400; letter-spacing: 0; }
.fj-week i, .fj-week button, .fj-weeknav-btn, .fj-today-x { border-radius: 5px; }
.fj-weeknav-now { border-radius: 5px; color: var(--fj-brand); }

/* Inlogscherm als "Ekmekci plein": huisjes langs de rand, het logo in het midden */
.fj-login { position: relative; overflow: hidden; }
.fj-plein { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.fj-plein .fj-strook { position: absolute; }
.fj-plein .is-b { left: 0; right: 0; bottom: 0; }
.fj-plein .is-t { left: 0; right: 0; top: 0; transform: rotate(180deg); }
.fj-plein .is-l, .fj-plein .is-r { display: none; }
.fj-login-in { position: relative; z-index: 1; }
.fj-login { padding-top: calc(var(--fj-safe-top) + 78px); padding-bottom: calc(var(--fj-safe-bottom) + 70px); }

/* Hoofdmenu op de computer: huisje per app */
.fj-kern .fj-d-ico.is-huis { background: none; width: 28px; height: 28px; border-radius: 0; display: flex; align-items: flex-end; justify-content: center; overflow: visible; }
.fj-kern .fj-d-ico.is-huis .fj-huisje { margin-bottom: -6px; }
.fj-kern .fj-d-ico.is-huis .fj-huisje-in .fj-icon { width: 60%; }
.fj-kern .fj-d-ico.is-huis.is-big { width: 40px; height: 40px; }

@media screen and (min-width: 1024px) {
	.fj-kern .fj-d-side { background: #fbf8ef; }
	.fj-kern .fj-d-sub { background: #fffdf8; }
	.fj-kern .fj-d-pane { background: var(--fj-deeg); }
	.fj-kern .fj-d-link[aria-current="page"] { background: #fff; color: var(--fj-aubergine); box-shadow: inset 3px 0 0 var(--fj-brand), 0 0 0 1px var(--fj-line) inset; }
	.fj-kern .fj-login { background: var(--fj-deeg); }
	.fj-kern .fj-login-in { border-radius: 8px; border: 0; box-shadow: var(--fj-shadow); }
	.fj-kern .fj-plein .is-l, .fj-kern .fj-plein .is-r { display: flex; position: absolute; top: 50%; left: 50%; width: 100vh; }
	.fj-kern .fj-plein .is-l { transform: translate(calc(-50vw - 50% + var(--fj-plein) / 2), -50%) rotate(90deg); }
	.fj-kern .fj-plein .is-r { transform: translate(calc(50vw - 50% - var(--fj-plein) / 2), -50%) rotate(-90deg); }
	.fj-kern .fj-plein .is-l, .fj-kern .fj-plein .is-r { clip-path: inset(0 calc(var(--fj-plein) + 14px)); }
	.fj-kern .fj-apps.is-desk .fj-appcard { border-radius: 6px; min-height: 170px; }
	.fj-kern .fj-dash-card, .fj-kern .fj-card { border-radius: 8px; }
}
.fj-huisje-in { display: flex; align-items: center; justify-content: center; }
.fj-huisje-in .fj-icon { width: 48%; height: auto; max-width: 26px; margin: 0; }
.fj-appicon .fj-huisje-in .fj-icon { max-width: 24px; }
.fj-plein .is-t { justify-content: flex-end; }
.fj-top, .fj-header, .fj-appbar { background: #fbf8ef; }
.fj-huisje-in { height: 64%; }
/* App-huisjes klein houden, ongeveer zo groot als het oude app-icoon. */
.fj-appicon .fj-huisje-in .fj-icon { max-width: 18px; width: 64%; }
.fj-apps .fj-appcard { min-height: 0; gap: 12px; }
@media screen and (min-width: 1024px) {
	.fj-kern .fj-apps.is-desk .fj-appcard { min-height: 148px; }
}

/* App-tegels weer zoals voorheen (afgerond, dunne rand), met een klein huisje als icoon. */
.fj-appcard, .fj-kern .fj-apps.is-desk .fj-appcard { border: 1px solid var(--fj-line); border-radius: 20px; box-shadow: none; }
.fj-appcard:hover { border-color: color-mix(in srgb, var(--fj-brand) 40%, var(--fj-line)); box-shadow: var(--fj-shadow); }
.fj-appcard b { font-family: var(--fj-font); font-weight: 750; font-size: 16px; color: var(--fj-ink); letter-spacing: -.01em; }
.fj-apps .fj-appcard { min-height: 116px; gap: 12px; }
.fj-apps.is-one .fj-appcard { min-height: 0; }
@media screen and (min-width: 1024px) { .fj-kern .fj-apps.is-desk .fj-appcard { min-height: 130px; } }
/* Icoon midden in de romp van het huisje (het vierkante deel onder het dak). */
.fj-huisje-in { height: 57.5%; }
.fj-appicon .fj-huisje-in .fj-icon, .fj-kern .fj-d-ico.is-huis .fj-huisje-in .fj-icon { width: 60%; max-width: 14px; height: auto; }

/* Koppen in Flange BQ Bold (rechtop), zoals op ekmekci.nl. Het font heeft één gewicht; dit bestand wordt voor elk gewicht gebruikt. */
.fj-h1, .fj-greet h1, .fj-login h1, .fj-page-title, .fj-h2, .fj-section-title, .fj-sheet-head h3, .fj-dash-card h2 { font-style: normal; letter-spacing: -.015em; }
.fj-greet h1, .fj-kern .fj-hub .fj-page-title { letter-spacing: -.012em; }

/* Kop van het Ekmekci plein (zoals ekmekci.nl): logo in het midden, huisjes links en rechts, groene lijn eronder */
.fj-kop { background: #fbf8ef; border-bottom: 4px solid var(--fj-brand); padding: calc(var(--fj-safe-top) + 10px) 10px 0; position: relative; z-index: 5; }
.fj-kop-in { max-width: var(--fj-max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; }
.fj-kop-side { display: flex; align-items: flex-end; gap: 10px; }
.fj-kop-side.is-l { justify-content: flex-end; }
.fj-kop-side.is-r { justify-content: flex-start; }
.fj-kop-huis { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; padding: 0 0 6px; color: var(--fj-aubergine); cursor: pointer; min-width: 40px; font: inherit; }
.fj-kop-huis small { font-family: var(--fj-kop); font-size: 9.5px; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; max-width: 64px; overflow: hidden; text-overflow: ellipsis; }
.fj-kop-huis.is-on small { color: var(--fj-brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.fj-kop-huis .fj-huisje { transition: transform .15s ease; }
.fj-kop-huis:hover .fj-huisje, .fj-kop-huis:focus-visible .fj-huisje { transform: translateY(-2px); }
.fj-kop-huis .fj-newdot { position: absolute; top: 4px; right: 6px; }
.fj-kop-huis.is-deco { cursor: default; }
.fj-kop-logo { border: 0; background: none; padding: 0 0 8px; cursor: pointer; line-height: 0; }
.fj-kop-logo img { height: 52px; width: auto; display: block; }
.fj-kop.is-desk { margin: -26px calc(-1 * var(--fj-d-pad)) 8px; grid-column: 1 / -1; padding-top: 14px; }
.fj-kop.is-desk .fj-kop-side { gap: 18px; }
.fj-kop.is-desk .fj-kop-logo img { height: 66px; }
.fj-kop.is-desk .fj-kop-huis small { font-size: 10.5px; max-width: 90px; }
@media (max-width: 370px) { .fj-kop-logo img { height: 44px; } .fj-kop-side { gap: 6px; } .fj-kop-huis { min-width: 34px; } }

/* Meekijken als kandidaat */
.fj-meekijk { position: fixed; z-index: 90; left: 50%; transform: translateX(-50%); bottom: calc(var(--fj-safe-bottom, 0px) + 84px); display: flex; align-items: center; gap: 10px; background: var(--fj-aubergine); color: #fff; border-radius: 999px; padding: 7px 7px 7px 16px; box-shadow: 0 8px 26px rgba(81, 52, 77, .35); max-width: calc(100vw - 20px); }
.fj-meekijk .fj-mk-tx { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.fj-meekijk .fj-mk-kort { display: none; }
.fj-meekijk .fj-mk-info { display: none; }
.fj-meekijk b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fj-meekijk small { font-size: 12px; opacity: .8; }
.fj-meekijk button { border: 0; border-radius: 999px; background: #fff; color: var(--fj-aubergine); font: inherit; font-weight: 750; font-size: 14px; padding: 9px 16px; cursor: pointer; flex: none; }
@media (min-width: 900px) { .fj-meekijk { bottom: 22px; } }

/* Logo met "breakfast · lunch · dinner": iets hoger, zodat de onderregel leesbaar blijft */
.fj-top-logo { height: 40px; }
.fj-kern .fj-d-logo-full { max-height: 64px; max-width: 170px; }
/* Logo bovenin het menu op de computer: gecentreerd */
.fj-kern .fj-d-logo { text-align: center; }
.fj-kern .fj-d-logo-full { margin: 0 auto; object-position: center; }

/* 1.4 · huisjesbalk in de apps (telefoon) */
.fj-top:has(.fj-strip) { padding-bottom: 0; }
.fj-strip { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 8px -12px 0; padding: 0 10px 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.fj-strip::-webkit-scrollbar { display: none; }
.fj-strip-huis { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 58px; padding: 4px 4px 6px; border: 0; border-radius: 12px; background: none; color: var(--fj-aubergine); font: inherit; cursor: pointer; scroll-snap-align: center; }
.fj-strip-huis small { font-family: var(--fj-kop); font-size: 9.5px; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.fj-strip-huis.is-on { background: var(--fj-salie, #C7DBD9); }
.fj-strip-huis.is-on small { color: var(--fj-brand); font-weight: 700; }
.fj-strip-huis .fj-newdot { position: absolute; top: 2px; right: 12px; }
@media print { .fj-strip { display: none; } }

/* 1.4 · meekijken als… */
.fj-mk-role { margin-bottom: 12px; }
.fj-mk-role h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 15px; color: var(--fj-aubergine); }
.fj-mk-role h3 small { font-size: 12px; color: #8F7F8B; font-weight: 400; }
.fj-mk-person { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; margin-bottom: 4px; border: 1px solid var(--fj-line-2, #EDE6D3); border-radius: 12px; background: #fff; color: var(--fj-aubergine); font: inherit; text-align: left; cursor: pointer; }
.fj-mk-person > span:not(.fj-avatar) { flex: 1; font-weight: 600; }
.fj-mk-person .fj-avatar { flex: none; }
.fj-mk-person:hover { border-color: var(--fj-brand); }
.fj-mk-person svg { color: var(--fj-brand); }

/* 2.0 · vestigingen */
.fj-vestpick { display: flex; flex-wrap: wrap; gap: 6px; }
.fj-chipbtn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border: 1px solid var(--fj-line, #E3DCC8); border-radius: 999px; background: #fff; color: var(--fj-ink-2); font: inherit; font-size: 13.5px; cursor: pointer; }
.fj-chipbtn.is-on { background: var(--fj-salie, #C7DBD9); border-color: var(--fj-brand); color: var(--fj-brand); font-weight: 600; }
.fj-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 420px) { .fj-row2 { grid-template-columns: 1fr; } }
.fj-wereld { margin-bottom: 8px; }
.fj-mailprev { width: 100%; height: 70vh; min-height: 480px; border: 1px solid var(--fj-line, #E3DCC8); border-radius: 12px; background: #F1EBD8; }
.fj-linkbtn { border: 0; background: none; padding: 0; color: var(--fj-brand); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* 2.3 · plein per rol: kerncijfers en aandacht */
.fj-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.fj-stats.is-desk { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 4px 0 22px; }
.fj-stat { display: grid; gap: 2px; align-content: start; padding: 12px 14px; border: 1px solid var(--fj-line-2, #EDE6D3); border-radius: 16px; background: #fff; color: var(--fj-aubergine); font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.fj-stat:hover { border-color: var(--fj-brand); }
.fj-stat b { font-family: var(--fj-kop); font-size: 28px; line-height: 1.05; color: var(--fj-brand); }
.fj-stat b.is-small { font-family: var(--fj-kop); font-weight: inherit; font-size: 18px; line-height: 1.2; padding: 4px 0 2px; }
.fj-stat span { font-size: 13px; font-weight: 600; }
.fj-stat small { font-size: 12px; color: var(--fj-ink-3, #8F7F8B); overflow: hidden; text-overflow: ellipsis; }
.fj-stat.is-warn b { color: #51344D; }
.fj-aandacht.is-mobile { margin: 10px 0 4px; }
.fj-aandacht h2 { margin: 0; }
.fj-aandacht-n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #E86643; color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.fj-aandacht-it { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid var(--fj-line-2, #EDE6D3); background: none; color: var(--fj-aubergine); font: inherit; text-align: left; cursor: pointer; }
.fj-aandacht-it:first-of-type { margin-top: 8px; }
.fj-aandacht-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--fj-salie, #C7DBD9); color: var(--fj-brand); display: inline-flex; align-items: center; justify-content: center; }
.fj-aandacht-it.is-warn .fj-aandacht-ic { background: #F7D6D2; color: #E86643; }
.fj-aandacht-tx { flex: 1; display: grid; gap: 1px; min-width: 0; }
.fj-aandacht-tx b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.fj-aandacht-tx small { font-size: 12.5px; color: var(--fj-ink-3, #8F7F8B); }

/* 2.3 · Gebruikers: splitsen op rol en vestiging */
.fj-chiprow { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; margin-bottom: 6px; scrollbar-width: none; }
.fj-chiprow::-webkit-scrollbar { display: none; }
.fj-chiprow button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--fj-line); background: #fff; color: var(--fj-aubergine); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.fj-chiprow button[aria-current="page"] { background: var(--fj-brand); border-color: var(--fj-brand); color: #fff; }
.fj-chiprow small { font-size: 11.5px; font-weight: 700; opacity: .7; }
.fj-vestfilter { width: auto; min-width: 190px; max-width: 280px; height: 40px; }

/* 2.5 · meekijken per functie */
.fj-mk-roles { display: grid; gap: 8px; }
.fj-mk-rolebtn { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 0 10px; padding: 12px 14px; border: 1px solid var(--fj-line); border-radius: 14px; background: #fff; color: var(--fj-aubergine); font: inherit; text-align: left; cursor: pointer; }
.fj-mk-rolebtn b { font-size: 15px; }
.fj-mk-rolebtn small { grid-column: 1; font-size: 12.5px; color: var(--fj-ink-3, #8F7F8B); }
.fj-mk-rolebtn svg { grid-row: 1 / span 2; grid-column: 2; }
.fj-mk-rolebtn:disabled { opacity: .5; cursor: default; }
.fj-mk-rolebtn:hover:not(:disabled) { border-color: var(--fj-brand); }

/* 2.5 · kleinere kerncijfers op de telefoon */
@media (max-width: 760px) {
	.fj-stats:not(.is-desk) { gap: 6px; margin: 10px 0 4px; }
	.fj-stats:not(.is-desk) .fj-stat { padding: 8px 10px; border-radius: 12px; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; }
	.fj-stats:not(.is-desk) .fj-stat b { font-size: 20px; grid-row: span 2; }
	.fj-stats:not(.is-desk) .fj-stat b.is-small { font-size: 14px; padding: 0; max-width: 84px; }
	.fj-stats:not(.is-desk) .fj-stat span { font-size: 11.5px; line-height: 1.25; font-weight: 600; }
	.fj-stats:not(.is-desk) .fj-stat small { display: none; }
}
/* 2.5 · kerncijfers op de computer iets compacter */
.fj-stats.is-desk { gap: 8px; margin: 0 0 16px; }
/* 2.7: compacte balkjes op de pc: getal links, label rechts */
.fj-stats.is-desk .fj-stat { padding: 8px 12px; border-radius: 12px; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; row-gap: 0; }
.fj-stats.is-desk .fj-stat b { font-size: 20px; grid-row: span 2; }
.fj-stats.is-desk .fj-stat b.is-small { font-size: 14px; padding: 0; max-width: 110px; }
.fj-stats.is-desk .fj-stat span { font-size: 12px; line-height: 1.25; }
.fj-stats.is-desk .fj-stat small { font-size: 11.5px; white-space: nowrap; }

/* 2.8 · werelden: eigen kleur, label en keuzepagina */
.fj-wereld button[aria-pressed="true"] { background: var(--c, var(--fj-brand)); }
[data-wereld] .fj-kop { border-bottom-color: var(--fj-wereld); }
[data-wereld] .fj-top { box-shadow: inset 0 4px 0 var(--fj-wereld); }
[data-wereld] .fj-d-side { box-shadow: inset 4px 0 0 var(--fj-wereld); }
.fj-wchip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--fj-aubergine, #51344D); border-radius: 999px; padding: 4px 10px 4px 8px; font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.fj-wchip b { font-weight: 700; color: var(--c); filter: brightness(.85); }
.fj-wchip small { color: var(--fj-ink-3, #8F7F8B); font-size: 11.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.fj-wchip svg { color: var(--fj-ink-3, #8F7F8B); flex: none; }
.fj-wchip-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.fj-wchip.is-band { display: flex; width: fit-content; margin: 6px auto 0; }
.fj-wchip.is-side { display: flex; margin: 0 4px 12px; justify-content: flex-start; }
.fj-d.is-rail .fj-wchip.is-side b, .fj-d.is-rail .fj-wchip.is-side small, .fj-d.is-rail .fj-wchip.is-side svg { display: none; }
.fj-d.is-rail .fj-wchip.is-side { justify-content: center; padding: 6px; margin: 0 auto 12px; }
.fj-wchip.is-side small { flex: 1; text-align: left; }
.fj-wpick { display: grid; gap: 10px; margin-top: 14px; }
.fj-wpick-it { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 14px 16px; border: 1px solid var(--fj-line, #E3DCC8); border-left: 6px solid var(--c); border-radius: 16px; background: #fff; color: var(--fj-aubergine, #51344D); font: inherit; cursor: pointer; }
.fj-wpick-it:hover, .fj-wpick-it.is-on { border-color: var(--c); box-shadow: 0 2px 10px color-mix(in srgb, var(--c) 18%, transparent); }
.fj-wpick-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.fj-wpick-tx { flex: 1; min-width: 0; display: grid; gap: 1px; }
.fj-wpick-tx b { font-family: var(--fj-head); font-weight: 400; font-size: 21px; line-height: 1.1; color: var(--c); filter: brightness(.85); }
.fj-wpick-tx small { font-family: var(--fj-kop); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--fj-ink-2); font-weight: 400; }
.fj-wpick-tx span { font-size: 13px; color: var(--fj-ink-3, #8F7F8B); line-height: 1.35; margin-top: 3px; }
.fj-wpick-it em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--c); white-space: nowrap; }
.fj-wfirst { min-height: 100vh; display: flex; flex-direction: column; background: var(--fj-fill, #F1EBD8); }
.fj-wfirst-in { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: calc(var(--fj-safe-top, 0px) + 36px) 20px 30px; display: flex; flex-direction: column; }
.fj-wfirst h1 { font-family: var(--fj-head); font-weight: 400; font-size: 32px; line-height: 1.05; margin: 0 0 8px; color: var(--fj-aubergine, #51344D); }
.fj-wfirst h1 span { color: var(--fj-brand); }
.fj-wfirst .fj-login-logo { margin: 0 0 26px; }
.fj-veilig { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--fj-line, #E3DCC8); background: #fff; }
.fj-veilig b { display: block; font-family: var(--fj-head); font-weight: 400; font-size: 20px; margin-bottom: 4px; }
.fj-veilig p { margin: 0 0 8px; color: var(--fj-ink-2); font-size: 14px; line-height: 1.45; }
.fj-veilig small { color: var(--fj-ink-3, #8F7F8B); font-size: 12.5px; }
.fj-veilig.is-ok { border-color: #007F7C; background: color-mix(in srgb, #C7DBD9 35%, #fff); }
.fj-veilig.is-ok > svg { color: #007F7C; }
.fj-veilig.is-fout { border-color: #E86643; background: color-mix(in srgb, #F7D6D2 45%, #fff); }
.fj-veilig.is-fout > svg { color: #E86643; }
.fj-veilig.is-warn { border-color: #D2A237; background: color-mix(in srgb, #F1EBD8 70%, #fff); }
.fj-veilig.is-warn > svg { color: #D2A237; }

/* 2.9: "Meer" op de telefoon: de overige onderdelen van een app als tegels per groep */
.fj-meer { margin: 0 0 18px; }
.fj-meer-h { font-family: var(--fj-kop); font-weight: 400; text-transform: uppercase; letter-spacing: .07em; font-size: 12.5px; color: var(--fj-ink-3); margin: 0 0 8px; }
.fj-meer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fj-meer-t { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--fj-line); border-radius: 14px; font: inherit; color: var(--fj-aubergine, #51344D); text-align: left; cursor: pointer; }
.fj-meer-t b { font-size: 14px; line-height: 1.25; }
.fj-meer-i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--fj-brand) 12%, #fff); color: var(--fj-brand); }
.fj-aandacht-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 4px; }
.fj-aandacht-f .fj-chip { padding: 4px 10px; font-size: 12.5px; cursor: pointer; }
.fj-aandacht-f .fj-chip.is-on { border-color: var(--fj-brand); color: var(--fj-brand); background: color-mix(in srgb, var(--fj-brand) 8%, #fff); }
.fj-aandacht-sel { width: auto; min-height: 32px; height: 32px; padding: 2px 28px 2px 10px; font-size: 12.5px; }

/* 2.9.2: meekijken als functie */
.fj-mk-functie { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #C7DBD9; color: #51344D; }
.fj-mk-functie b { font-family: var(--fj-head); font-weight: 400; font-size: 20px; }
.fj-mk-functie small { font-size: 13px; }
.fj-mk-functie-r { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.fj-mk-functie-r .fj-select { flex: 1 1 180px; width: auto; background-color: #fff; }
/* 2.9.8: label bij urgente aandachtspunten */
.fj-aandacht-urg { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 999px; background: #E86643; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; }
/* 2.10: rollenscherm */
.fj-rechten-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin: 4px 0 10px; }
.fj-rechten-top b { font-size: 14px; }
.fj-rechten-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fj-rechten-kopie { width: auto; min-width: 200px; height: 36px; min-height: 36px; font-size: 13.5px; }
.fj-rechten-zoek { margin-bottom: 6px; }
.fj-rechten-gkop { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.fj-rechten-n { font-weight: 500; opacity: .6; margin-left: 4px; }
.fj-rechten-alles { display: inline-flex; gap: 12px; font-size: 12.5px; padding-bottom: 6px; }
.fj-rechten-sub { padding: 10px 14px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fj-muted, #777); background: var(--fj-bg-soft, #faf7ef); }
.fj-rechten-gev { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 999px; background: #F7D6D2; color: #a8371a; font-size: 11px; font-weight: 700; vertical-align: 1px; }

/* ===== 2.11: plein — "Jouw volgende stap" en een scrollbare "Aandacht vereist" ===== */
.fj-hero { display: flex; align-items: center; gap: 14px; background: #51344D; color: #fff; border-radius: 16px; padding: 12px 14px 12px 12px; margin: 4px 0 14px; cursor: default; }
.fj-hero[role="link"] { cursor: pointer; }
.fj-hero[role="link"]:focus-visible { outline: 3px solid #D2A237; outline-offset: 2px; }
.fj-hero-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: #F7D6D2; color: #51344D; display: grid; place-items: center; }
.fj-hero-tx { flex: 1; min-width: 0; }
.fj-hero-eyebrow { font-family: var(--fj-kop); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; color: #F7D6D2; margin: 0; }
.fj-kern .fj-hero h2, .fj-hero h2 { font: 700 16.5px/1.25 Barlow, sans-serif; letter-spacing: 0; margin: 1px 0 0; color: #fff; }
.fj-hero-sub { margin: 1px 0 0; color: rgba(255,255,255,.8); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fj-hero-prog { flex: none; width: 110px; }
.fj-hero-prog small { display: block; font-size: 11.5px; color: rgba(255,255,255,.78); margin-bottom: 4px; text-align: right; }
.fj-hero-bar { height: 5px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; }
.fj-hero-bar i { display: block; height: 100%; background: #D2A237; border-radius: 99px; }
.fj-hero-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; background: #E86643; color: #fff; border-radius: 10px; padding: 9px 14px; font: 700 14px/1 Barlow, sans-serif; }
.fj-hero.is-klaar { background: #007F7C; }
.fj-hero.is-klaar .fj-hero-ic { background: #C7DBD9; color: #007F7C; }
.fj-hero.is-klaar .fj-hero-eyebrow { color: #C7DBD9; }
.fj-hero.is-klaar .fj-hero-btn { background: #F1EBD8; color: #51344D; }

.fj-kern .fj-aandacht, .fj-aandacht { background: #fff; border-radius: 16px; padding: 14px 16px 10px; margin: 0 0 18px; border: 1px solid rgba(81,52,77,.08); }
.fj-aandacht.is-mobile { margin: 0 0 16px; }
.fj-aandacht-kop { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.fj-kern .fj-aandacht-kop h2, .fj-aandacht-kop h2 { font-family: var(--fj-head); font-weight: 400; font-size: 18px; margin: 0; color: #51344D; }
.fj-aandacht-f { margin: 4px 0 6px; }
/* ongeveer 5 regels zichtbaar, de rest scrollt — met een zichtbare scrollbalk */
.fj-aandacht-lijst { max-height: 286px; overflow-y: auto; overscroll-behavior: contain; margin: 2px -6px 0 0; padding-right: 6px; scrollbar-width: thin; scrollbar-color: #C7DBD9 transparent; }
.fj-aandacht-lijst::-webkit-scrollbar { width: 6px; }
.fj-aandacht-lijst::-webkit-scrollbar-thumb { background: #C7DBD9; border-radius: 99px; }
.fj-aandacht-lijst::-webkit-scrollbar-track { background: transparent; }
.fj-aandacht-lijst:focus-visible { outline: 2px solid #007F7C; outline-offset: 2px; border-radius: 8px; }
.fj-aandacht-gkop { font-family: var(--fj-kop); text-transform: uppercase; letter-spacing: .07em; font-size: 10.5px; color: #007F7C; margin: 10px 0 2px; }
.fj-aandacht-groep:first-child .fj-aandacht-gkop { margin-top: 4px; }
.fj-aandacht .fj-aandacht-it { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 7px 4px 7px 10px; margin: 0; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid rgba(81,52,77,.06); border-radius: 0; }
.fj-aandacht .fj-aandacht-it:first-of-type { margin-top: 0; }
.fj-aandacht .fj-aandacht-it:hover { background: rgba(241,235,216,.5); }
.fj-aandacht-it.is-kritiek { border-left-color: #E86643; }
.fj-aandacht-it.is-actie { border-left-color: #D2A237; }
.fj-aandacht-it.is-info { border-left-color: #C7DBD9; }
.fj-aandacht .fj-aandacht-ic { width: auto; height: auto; background: none; color: #51344D; border-radius: 0; }
.fj-aandacht .fj-aandacht-tx b { font-size: 14px; font-weight: 600; color: #2b1f29; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fj-aandacht .fj-aandacht-tx small { font-size: 12px; color: #7a6f7b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 2.17.8: de subregel mag over twee regels (op de telefoon niet afgekapt na één regel). */
.fj-aandacht .fj-aandacht-tx small { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.fj-urg { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 8px 2px 6px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.fj-urg.is-kritiek { background: #E86643; color: #fff; }
.fj-urg.is-info { background: #DDEAE8; color: #00504e; }

@media (max-width: 700px) {
	.fj-hero { flex-wrap: wrap; padding: 12px; }
	.fj-hero-prog { display: none; }
	.fj-hero-btn { width: 100%; justify-content: center; padding: 11px; }
	.fj-hero-sub { white-space: normal; }
	.fj-aandacht.is-mobile { padding: 12px 12px 6px; }
	.fj-aandacht-lijst { max-height: 300px; }
	.fj-aandacht .fj-aandacht-tx b { white-space: normal; }
	.fj-urg { padding: 2px 7px 2px 5px; font-size: 10.5px; }
}

/* 2.11.3: bladeren in "Jouw volgende stap" */
.fj-hero-nav { flex: none; display: flex; align-items: center; gap: 6px; }
.fj-hero-nav small { font-size: 12px; color: rgba(255,255,255,.82); min-width: 44px; text-align: center; white-space: nowrap; }
.fj-hero-pijl { width: 30px; height: 30px; border-radius: 9px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.fj-hero-pijl:hover { background: rgba(255,255,255,.18); }
.fj-hero-pijl:focus-visible { outline: 2px solid #D2A237; outline-offset: 1px; }
.fj-hero-krit { display: inline-block; margin-left: 6px; background: #E86643; color: #fff; border-radius: 99px; padding: 0 7px; font-family: Barlow, sans-serif; font-weight: 700; letter-spacing: 0; text-transform: none; font-size: 10.5px; }
@media (max-width: 700px) {
	.fj-hero-nav { order: 5; width: 100%; justify-content: center; }
}
/* 2.11.4: Instellingen › Rechten per app */
.fj-rechten { overflow-x: auto; border: 1px solid var(--fj-line); border-radius: 16px; background: #fff; }
.fj-rechten table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.fj-rechten th { position: sticky; top: 0; background: var(--fj-fill); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--fj-ink-2); padding: 10px 8px; text-align: center; white-space: nowrap; }
.fj-rechten th:first-child, .fj-rechten td:first-child { text-align: left; min-width: 260px; position: sticky; left: 0; background: #fff; }
.fj-rechten th:first-child { background: var(--fj-fill); }
.fj-rechten td { padding: 9px 8px; border-top: 1px solid var(--fj-line); vertical-align: middle; }
.fj-rechten td.is-danger { color: #51344D; font-weight: 700; }
.fj-rechten td.is-danger::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E86643; margin-right: 6px; vertical-align: 1px; }
.fj-rechten-c { text-align: center; }
.fj-rechten-c input { width: 18px; height: 18px; accent-color: var(--fj-brand); cursor: pointer; }
.fj-rechten-kop td { background: #F1EBD8 !important; font-weight: 700; font-size: 12px; color: #51344D; text-transform: uppercase; letter-spacing: .04em; }
/* 2.12: apps indelen */
.fj-appskop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fj-indelen { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; min-height: 36px; padding: 6px 10px; margin: -6px -10px; border-radius: 10px; }
.fj-indelen:hover { background: var(--fj-brand-softer); }
.fj-volg { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.fj-volg li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #E5E0D0; border-radius: 14px; background: #fff; cursor: grab; user-select: none; }
.fj-volg li.is-sleep { opacity: .55; border-style: dashed; border-color: #007F7C; background: #F1EBD8; }
.fj-volg li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fj-volg-grip { color: #a8a39a; display: inline-flex; }
.fj-volg-nr { width: 22px; height: 22px; border-radius: 50%; background: #F1EBD8; color: #51344D; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fj-volg li:nth-child(-n+3) .fj-volg-nr { background: #007F7C; color: #fff; }
.fj-volg-knop { display: inline-flex; gap: 2px; }
.fj-volg-reset { display: block; margin: 12px auto 0; }
.fj-volg-std { display: grid; gap: 4px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #F1EBD8; }
.fj-volg-std small { color: #5d5a55; font-size: 13px; }
.fj-volg-std span { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
/* 2.13: Eerst afhandelen */
.fj-aandacht-lijst.is-kort { max-height: none; overflow: visible; margin-right: 0; padding-right: 0; }
.fj-aandacht-alles .fj-aandacht-lijst { max-height: 420px; }
.fj-aandacht-uitleg { margin: 0 0 8px; font-size: 13px; color: #77736c; }
.fj-urg-tel { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.fj-urg-tel span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: #F1EBD8; color: #51344D; font-size: 12.5px; font-weight: 700; }
.fj-urg-tel i { width: 8px; height: 8px; border-radius: 50%; background: #C7DBD9; }
.fj-urg-tel .is-kritiek i { background: #E86643; }
.fj-urg-tel .is-te_laat i { background: #F0A48E; }
.fj-urg-tel .is-vandaag i { background: #D2A237; }
.fj-urg-tel .is-actie i { background: #fff; border: 2px solid #007F7C; width: 6px; height: 6px; }
.fj-urg.is-te_laat { background: #F7D6D2; color: #51344D; }
.fj-urg.is-te_laat .fj-icon { color: #E86643; }
.fj-urg.is-vandaag { background: #F1EBD8; color: #51344D; }
.fj-urg.is-vandaag .fj-icon { color: #D2A237; }
.fj-urg.is-actie { background: #E4EEED; color: #00605E; }
.fj-urg.is-info { background: #EEE9DB; color: #77736c; }
.fj-aandacht-it.is-te_laat { border-left-color: #F0A48E; }
.fj-aandacht-it.is-vandaag { border-left-color: #D2A237; }
.fj-aandacht-it.is-actie { border-left-color: #C7DBD9; }
.fj-aandacht-it.is-kritiek { background: #FDF0EC; }
.fj-aandacht-it.is-info .fj-aandacht-tx b { font-weight: 500; color: #5d5a55; }
.fj-x { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 99px; background: #51344D; color: #fff; font-family: Barlow, sans-serif; font-size: 11px; font-weight: 800; vertical-align: 2px; }
.fj-hero .fj-x { background: rgba(255,255,255,.2); }
.fj-hero-krit.is-te_laat { background: #F7D6D2; color: #51344D; }
.fj-hero-krit.is-vandaag { background: #D2A237; color: #fff; }
.fj-aandacht-meer { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin: 10px 0 0; padding: 10px; border: 1px dashed #C7DBD9; border-radius: 12px; background: #FAF7EE; color: #007F7C; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.fj-aandacht-meer.is-info { border-style: solid; border-color: #EEE9DB; color: #77736c; background: #fff; }
.fj-aandacht-alles { margin-top: 10px; }
.fj-aandacht-alles .fj-aandacht-f { display: grid; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #FAF7EE; margin: 0 0 8px; }
.fj-aandacht-fr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fj-aandacht-fr > span { width: 64px; font-size: 12px; font-weight: 700; color: #77736c; }
.fj-aandacht-fr .fj-aandacht-sel { max-width: 260px; }
.fj-aandacht-legenda { margin: 10px 0 4px; font-size: 12px; color: #8a867e; line-height: 1.5; }
@media (max-width: 700px) { .fj-aandacht-fr > span { width: 100%; } .fj-aandacht-legenda { display: none; } }
/* 2.18.1: "Ander aan zet" als eigen label onder het soortlabel; op de telefoon de legenda achter "Wat betekent dit?". */
.fj-urg-kol { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.fj-urg.is-ander { background: #fff; color: #51344D; box-shadow: inset 0 0 0 1px #C7DBD9; }
.fj-urg.is-ander .fj-icon { color: #007F7C; }
.fj-aandacht-wat { display: none; }
.fj-aandacht-wat-tx { display: none; }
@media (max-width: 700px) {
	.fj-aandacht-wat { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; margin: 6px 0 0; padding: 8px 4px; border: 0; background: none; color: #007F7C; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; text-align: left; }
	.fj-aandacht-wat .fj-icon:last-child { margin-left: auto; }
	.fj-aandacht-wat-tx { display: block; margin: 0 0 8px; font-size: 12.5px; color: #51344D; line-height: 1.5; }
}

/* 2.14.1 Zoeken: vergrootglas rechtsboven + zoekvenster */
.fj-zoekknop { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #C7DBD9; background: #fff; color: #007F7C; cursor: pointer; box-shadow: 0 2px 8px rgba(81, 52, 77, .08); transition: background .15s, color .15s; }
.fj-zoekknop:hover, .fj-zoekknop:focus-visible { background: #007F7C; color: #fff; border-color: #007F7C; }
.fj-zoekknop.is-kop { position: absolute; right: max(14px, calc((100% - var(--fj-max, 1200px)) / 2 + 6px)); top: calc(var(--fj-safe-top, 0px) + 12px); z-index: 2; }
.fj-zoekknop.is-bar { margin-left: auto; width: 38px; height: 38px; flex: none; }
.fj-zoekvenster { position: fixed; inset: 0; z-index: 2000; background: rgba(81, 52, 77, .42); display: flex; justify-content: center; align-items: flex-start; padding: max(10vh, calc(var(--fj-safe-top, 0px) + 16px)) 12px 16px; animation: fjZoekIn .12s ease-out; }
@keyframes fjZoekIn { from { opacity: 0; } to { opacity: 1; } }
html.fj-zoek-open { overflow: hidden; }
.fj-zoek { width: min(660px, 100%); }
.fj-zoek-veld { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #007F7C; border-radius: 18px; padding: 0 10px 0 16px; height: 58px; color: #007F7C; box-shadow: 0 18px 50px rgba(81, 52, 77, .28); cursor: text; }
.fj-zoek-veld input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 17px Barlow, system-ui, sans-serif; color: #51344D; height: 100%; }
.fj-zoek-veld input::placeholder { color: #9a8f93; }
.fj-zoek-veld input::-webkit-search-cancel-button { display: none; }
.fj-zoek-veld kbd { font: 600 11.5px Barlow, sans-serif; color: #7a6f73; background: #F1EBD8; border-radius: 6px; padding: 3px 7px; }
.fj-zoek-x { border: 0; background: none; color: #7a6f73; padding: 6px; cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.fj-zoek-x:hover { background: #F1EBD8; }
.fj-zoek-lijst { margin-top: 8px; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(81, 52, 77, .22); max-height: min(60vh, 520px); overflow: auto; padding: 6px; }
.fj-zoek-leeg { padding: 14px 12px; color: #7a6f73; font-size: 14px; line-height: 1.5; }
.fj-zoek-leeg small { color: #9a8f93; font-size: 12.5px; }
.fj-zoek-r { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; text-align: left; padding: 9px 10px; border-radius: 12px; cursor: pointer; font: inherit; color: #51344D; }
.fj-zoek-r.is-sel { background: #EEF5F4; }
.fj-zoek-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #C7DBD9; color: #005c5a; display: grid; place-items: center; }
.fj-zoek-r.is-sel .fj-zoek-ic { background: #007F7C; color: #fff; }
.fj-zoek-t { flex: 1; min-width: 0; }
.fj-zoek-t b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fj-zoek-t small { display: block; color: #7a6f73; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fj-zoek-s { flex: none; text-align: right; font-size: 11.5px; font-weight: 700; color: #007F7C; text-transform: uppercase; letter-spacing: .03em; }
.fj-zoek-s small { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; color: #9a8f93; font-size: 11.5px; }
@media (max-width: 520px) { .fj-zoek-s { display: none; } .fj-zoek-veld { height: 52px; } .fj-zoekknop.is-kop { width: 36px; height: 36px; right: 8px; top: calc(var(--fj-safe-top, 0px) + 6px); } }
.fj-greet { position: relative; }
.fj-zoekknop.is-greet { position: absolute; right: 0; top: 4px; width: 46px; height: 46px; }

/* 2.15 Rondleiding */
.fj-rl { position: fixed; inset: 0; z-index: 2100; pointer-events: auto; }
.fj-rl-dim { position: absolute; inset: 0; background: rgba(81, 52, 77, .55); animation: fjZoekIn .15s ease-out; }
.fj-rl-gat { position: absolute; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(81, 52, 77, .55); outline: 3px solid #D2A237; outline-offset: 0; transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.fj-rl-kaart { position: absolute; left: 50%; transform: translateX(-50%); width: min(420px, calc(100% - 24px)); background: #fff; border-radius: 20px; padding: 18px 18px 16px; box-shadow: 0 24px 60px rgba(81, 52, 77, .35); border: 1px solid #51344D; animation: fjRlIn .2s ease-out; color: #51344D; }
.fj-rl-kaart.is-onder { bottom: 12px; }
.fj-rl-kaart.is-boven { top: 12px; }
.fj-rl-kaart.is-midden { top: 50%; bottom: auto; transform: translate(-50%, -50%); }
/* 1c: eerst onzichtbaar meten, daarna boven, onder of naast het onderdeel zetten. */
.fj-rl-kaart.is-meten { top: 12px; visibility: hidden; }
.fj-rl-kaart.is-naast { transform: none; }
@keyframes fjRlIn { from { opacity: 0; } to { opacity: 1; } }
.fj-rl-kop { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fj-rl-ic { width: 40px; height: 40px; border-radius: 12px; background: #F1EBD8; color: #007F7C; display: grid; place-items: center; flex: none; }
.fj-rl-kop small { font-family: var(--fj-kop); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #007F7C; }
/* 1d: Overslaan minstens 44 × 44 px, in aubergine. */
.fj-rl-x { margin: -6px -8px -6px auto; min-width: 44px; min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 12px; font: 600 15px Barlow, system-ui, sans-serif; color: #51344D; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fj-rl-x:hover, .fj-rl-x:focus-visible { background: #F1EBD8; }
.fj-rl-kaart h2 { font-family: var(--fj-head); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0 0 6px; color: #51344D; }
.fj-rl-kaart p { font: 400 16px/1.5 Barlow, system-ui, sans-serif; margin: 0 0 14px; color: rgba(81, 52, 77, .85); }
.fj-rl-voet { display: flex; align-items: center; gap: 10px; }
.fj-rl-dots { display: flex; gap: 5px; flex: 1; flex-wrap: wrap; }
.fj-rl-dots i { width: 7px; height: 7px; border-radius: 50%; background: #C7DBD9; }
.fj-rl-dots i.is-aan { background: #007F7C; width: 18px; border-radius: 4px; }
.fj-rl-terug { background: none; border: 0; font: 600 15px Barlow, system-ui, sans-serif; color: #007F7C; cursor: pointer; padding: 0 8px; min-height: 44px; }

/* 2.16 Alleen lezen */
.fj-meekijk.is-lezen { background: #007F7C; padding-right: 18px; box-shadow: 0 8px 26px rgba(0, 127, 124, .3); }

/* 2: balken "Alleen lezen" en "Meekijken". Zolang er een balk staat, krijgt de pagina onderaan extra ruimte. */
html.fj-met-balk .fj-main { padding-bottom: calc(var(--fj-nav-h) + var(--fj-safe-bottom) + 28px + 72px); }
/* Laptop: de balk staat op één regel (titel en uitleg naast elkaar). */
@media (min-width: 900px) {
	.fj-meekijk .fj-mk-tx { flex-direction: row; align-items: baseline; gap: 10px; }
	.fj-meekijk small { white-space: nowrap; }
}
/* Laptop met zijmenu: onderaan de inhoudskolom een vaste strook voor de balk, zodat de balk nooit over
   tegels of knoppen ligt. De balk staat midden in de inhoudskolom. */
@media screen and (min-width: 1024px) {
	html.fj-met-balk.fj-kern .fj-main { padding-bottom: 64px; }
	html.fj-met-balk.fj-kern .fj-d-scroll { height: calc(100% - 64px); }
	html.fj-met-balk.fj-kern .fj-d-pane { background: var(--fj-deeg, #F1EBD8); }
	.fj-kern .fj-meekijk { left: calc(var(--fj-side-w) + (100vw - var(--fj-side-w)) / 2); bottom: 10px; max-width: calc(100vw - var(--fj-side-w) - 32px); }
}
/* Telefoon: compact op één regel, over de volle breedte. */
@media (max-width: 899px) {
	.fj-meekijk { left: 10px; right: 10px; transform: none; max-width: none; min-height: 48px; padding: 4px 4px 4px 14px; }
	.fj-meekijk .fj-mk-tx { flex: 1; min-width: 0; }
	.fj-meekijk b { display: block; min-width: 0; }
	.fj-meekijk small, .fj-meekijk .fj-mk-lang { display: none; }
	.fj-meekijk .fj-mk-kort { display: inline; }
	.fj-meekijk b { font-size: 14.5px; }
	.fj-meekijk.is-lezen { padding-right: 4px; }
	.fj-meekijk .fj-mk-info { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; }
}

/* 6: cijfertegels: lange labels lopen over twee regels door, zonder een woord middenin af te breken
   (eventueel met een afbreekstreepje op een Nederlandse lettergreep). */
.fj-stat span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: normal; word-break: normal; -webkit-hyphens: auto; hyphens: auto; min-width: 0; font-size: 13px; line-height: 1.25; }

/* Datums zijn geen kopjes: Barlow in kleine letters ("21 nov"), Saniretro alleen voor echte kopjes. */
.fj-stat b.is-small, .fj-stat b.is-datum { font-family: Barlow, system-ui, sans-serif; font-weight: 700; text-transform: none; letter-spacing: 0; }
.fj-stat b.is-small { font-size: 19px; }
.fj-stat b.is-datum { font-size: 24px; white-space: nowrap; }
.fj-today .fj-weeknav-mid small { font-family: Barlow, system-ui, sans-serif; text-transform: none; letter-spacing: 0; }

/* 7: groepskopjes in het zijmenu (laptop) in Saniretro, zoals op de telefoon. */
.fj-kern .fj-d-group { font-family: var(--fj-kop); font-weight: 400; letter-spacing: .06em; font-size: 13px; color: var(--fj-brand); }

/* 4: Beheer → Weekoverzicht */
.fj-wo-direct { display: flex; align-items: center; gap: 6px; margin: 0 2px 10px; font-size: 13px; color: var(--fj-brand); font-weight: 600; }
.fj-wo-wanneer { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
.fj-wo-wanneer .fj-select { width: 100%; }
@media (min-width: 700px) { .fj-wo-wanneer { grid-template-columns: 1fr 1fr; column-gap: 14px; } }
.fj-wo-voorbeeld { margin-top: 12px; }
.fj-wo-vkop { display: flex; align-items: center; gap: 8px; color: var(--fj-aubergine); margin-bottom: 4px; }
.fj-wo-voorbeeld p { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--fj-ink-2); white-space: normal; }
.fj-wo-uitslag { display: grid; gap: 3px; background: #F1EBD8; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; font-size: 14px; line-height: 1.4; white-space: normal; overflow-wrap: break-word; }
.fj-wo-uitslag small { color: var(--fj-ink-3); font-size: 12.5px; }

/* Telefoon: knoppen in een pagina- of sectiekop blijven binnen de breedte (niets schuift zijwaarts). */
@media (max-width: 700px) {
	.fj-page-actions { flex: 1 1 auto; min-width: 0; max-width: 100%; }
	.fj-page-actions > * { max-width: 100%; }
	.fj-section-head { flex-wrap: wrap; }
	.fj-section-head > div:first-child { flex: 1 1 200px; min-width: 0; }
	.fj-section-actions { flex-wrap: wrap; max-width: 100%; }
}

/* Ronde 4: pleintegels. Cijfers in Flange BQ (de "1" leest niet als "l"); kritiek en waarschuwing vallen direct op. */
.fj-stat b { font-family: var(--fj-head); font-weight: 400; letter-spacing: 0; }
.fj-stat.is-warn { background: color-mix(in srgb, #D2A237 12%, #fff); box-shadow: inset 4px 0 0 #D2A237; }
.fj-stat.is-warn b { color: #51344D; }
.fj-stat.is-danger { background: #fff; border-color: #E86643; box-shadow: inset 5px 0 0 #E86643; }
.fj-stat.is-danger b { color: #E86643; }
.fj-stat.is-danger span { color: #51344D; font-weight: 700; }
/* Telefoon: tekstknoppen die je los aantikt (toevoegen, weghalen, "Alle … →", "Rapport") zijn minstens 36px hoog. */
@media (max-width: 640px) { .fj-linkbtn.is-tap { display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px; } }

/* 2.17.4: sluitknop van een blad (sheet) 44 × 44 px; 2.17.5: op alle breedtes */
.fj-sheet-head .fj-iconbtn { width: 44px; height: 44px; flex: none; }


/* ======================= 2.19 rondleiding per app, tellers, Meer tegels ======================= */
.fj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Teller bij een menu-item op de telefoon (onderbalk en Meer). */
.fj-nav-ic { position: relative; display: inline-flex; }
.fj-nav-badge { position: absolute; top: -8px; left: calc(100% + 1px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #51344D; color: #fff; font: 700 11px/18px Barlow, system-ui, sans-serif; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #fff; }
.fj-meer-i { position: relative; }
.fj-meer-i .fj-nav-badge { top: -6px; left: auto; right: -8px; }
/* Knop Rondleiding: telefoon in de bovenbalk, laptop in de balk boven de inhoud. */
.fj-top-slot .fj-rlknop-m { width: auto; min-width: 50px; padding: 0 4px; }
.fj-rlknop { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--fj-line); border-radius: 10px; background: #fff; color: #51344D; font: 600 13.5px Barlow, system-ui, sans-serif; cursor: pointer; flex: none; margin-left: auto; }
.fj-rlknop .fj-icon { color: #007F7C; }
.fj-rlknop:hover, .fj-rlknop:focus-visible { background: #F1EBD8; }
.fj-rlknop + .fj-zoekknop { margin-left: 0; }
/* Kaartje van de rondleiding: korte lijst met onderdelen, een noot en "even laden". */
.fj-rl-lijst { list-style: none; margin: -6px 0 14px; padding: 0; display: grid; gap: 6px; max-height: 42vh; overflow-y: auto; }
.fj-rl-lijst li { display: grid; gap: 1px; padding: 6px 10px; border-radius: 10px; background: #F1EBD8; font: 400 14px/1.35 Barlow, system-ui, sans-serif; color: #51344D; }
.fj-rl-lijst b { font-weight: 700; }
.fj-rl-noot { display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px !important; line-height: 1.4 !important; margin: -6px 0 14px !important; color: #007F7C !important; }
.fj-rl-noot .fj-icon { flex: none; margin-top: 2px; }
/* Meer tegels op het plein. */
.fj-stats-meer { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 40px; margin: -2px 0 10px; border: 1px dashed var(--fj-line); border-radius: 12px; background: none; color: #51344D; font: 650 13.5px Barlow, system-ui, sans-serif; cursor: pointer; }
.fj-stats-meer:hover, .fj-stats-meer:focus-visible { background: #F1EBD8; }
.fj-stats-meer .fj-icon { color: #007F7C; }
/* Bevestigen met een danger-knop: dikkere rand, zodat het duidelijk is. */
.fj-row-btns .fj-btn.is-danger { box-shadow: inset 0 0 0 3px #E86643; }
/* Telefoon: lijstje alleen namen, nooit scrollen in het kaartje. */
.fj-rl-lijst.is-kort { max-height: none; overflow: visible; gap: 4px; }
.fj-rl-lijst.is-kort li { padding: 4px 10px; }
.fj-rl-lijst li.is-meer { background: none; padding: 2px 10px; color: rgba(81, 52, 77, .85); }
/* Telefoon: Seg- en Toggle-knoppen minstens 40 px aanraakvlak. */
@media (max-width: 1023px) {
	.fj-seg button { min-height: 40px; }
	.fj-toggle input { top: -6px; bottom: -6px; left: -4px; right: -4px; width: auto; height: auto; }
}
/* 2.19: appstrook op de telefoon leesbaar (minstens 11 px); lange namen worden afgekort. */
.fj-strip-huis small { font-size: 11px; max-width: 76px; }
/* Rondleiding: zoeken naar het onderdeel zonder tekst; na 0,8 s een rustige indicator. */
.fj-rl-wacht { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; opacity: 0; animation: fjRlWacht .2s ease-out .8s forwards; }
.fj-rl-wacht span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid rgba(241, 235, 216, .35); border-top-color: #F1EBD8; animation: fjSpin .9s linear infinite; }
@keyframes fjRlWacht { to { opacity: 1; } }
@keyframes fjSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fj-rl-wacht span { animation: none; } }
