/*
 * Statistieken: opmaak volgens het Figma-ontwerp "Dashboard" (bestand AW-Website, frame 18475:31913;
 * ADR 0004 § 8). Tokens bovenaan komen uit de Figma-variabelen. De PHP-componenten gebruiken alleen
 * deze klassen, nooit inline styles (CSP style-src 'self'); beelden staan hier als achtergrond.
 *
 * Contrast: tekst #18171c en #646058 op wit en op #eeece7 >= 4.5:1. Let op: witte tekst op het blauw
 * #409fff uit Figma is 2.8:1 en haalt WCAG AA niet (zie ADR 0004 § 8). Knoppen gebruiken daarom
 * --color-action (#146ecd, 5,1:1 met wit; hover #0f5aa8, 6,9:1), in beheer, rapport en mail (ADR 0005 § 19).
 */

@font-face { font-family: "AW Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "AW Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "AW Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "AW Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "AW Poppins"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/poppins-latin-900-normal.woff2") format("woff2"); }

:root {
	/* Kleur (Figma-variabelen) */
	--color-bg: #eeece7;              /* primary/300 */
	--color-surface: #ffffff;         /* neutrals/0 */
	--color-surface-muted: #f2f2f2;   /* neutrals/50 */
	--color-surface-soft: #f9f9f7;    /* primary/100 */
	--color-sand: #c8bfb0;            /* primary/500 */
	--color-sand-light: #e9e5df;      /* primary/400 */
	--color-text: #18171c;            /* accent/500 */
	--color-text-strong: #0e0e11;     /* accent/600 */
	--color-text-muted: #646058;      /* primary/700 */
	--color-text-soft: #46423c;
	--color-text-footer: #282623;     /* primary/900 */
	--color-border: #e5e5e5;          /* neutrals/100 */
	--color-border-light: #f2f2f2;    /* neutrals/50 */
	--color-primary: #409fff;         /* tertiary/blue/500 */
	--color-primary-light: #b3d9ff;   /* tertiary/blue/400 */
	--color-primary-hover: #146ecd;
	--color-link: #146ecd;
	--color-on-primary: #ffffff;
	--color-action: #146ecd;          /* primaire knop: wit erop 5,1:1 (WCAG AA) */
	--color-action-hover: #0f5aa8;    /* hover: wit erop 6,9:1 */
	--color-secondary: #6c8acf;       /* secondary/500 */
	--color-secondary-light: #f0f3fa; /* secondary/100 */
	--color-secondary-dark: #364568;  /* secondary/700 */
	--color-green: #215a41;           /* tertiary/500 */
	--color-safe: #34c759;            /* "Website veilig & up-to-date" (feedback 23-11) */
	--color-up: #215a41;              /* ▲ in Je best bezochte pagina's (Figma) */
	--color-down: #b42318;            /* ▼ in Je best bezochte pagina's (Figma) */
	/* Waar je bezoekers vandaan komen: Figma (organisch, direct, social, overig); de bronnen die niet in
	   Figma staan krijgen kleuren uit het design system van hetzelfde bestand. */
	--color-source-organic: #18171c;
	--color-source-direct: #409fff;
	--color-source-social: #e0ff4f;
	--color-source-other: #c8bfb0;
	--color-source-maps: #6c8acf;     /* secondary/500 */
	--color-source-referral: #215a41; /* tertiary/500 */
	--color-source-paid: #b3d9ff;     /* tertiary/blue/400 */
	--color-source-email: #646058;    /* primary/700 */
	/* Bloktitels (Figma: Poppins SemiBold 24 / 26,4, letterafstand -0,24) en kleine uitlegteksten
	   (Figma: Poppins Regular 12 / 18, #646058): één stijl voor alle blokken, ook in de mail. */
	--title-size: 24px;
	--title-weight: 600;
	--title-line: 26.4px;
	--title-spacing: -0.24px;
	--note-size: 12px;
	--note-weight: 400;
	--note-line: 18px;
	--color-green-dark: #143627;      /* tertiary/600 */
	--color-focus: #146ecd;
	--color-ok-bg: #e3eee8;
	--color-ok-text: #215a41;
	--color-warning-bg: #fbefd9;
	--color-warning-text: #7a4a00;
	--color-warning-icon: #b86e00;
	--color-error-bg: #fbe7e4;
	--color-error-text: #8a1c12;
	/* Kanalen van aanvragen (ADR 0005 § 18): overal dezelfde kleur, elk ≥ 3:1 tegen wit (WCAG 1.4.11). */
	--color-channel-form: #146ecd;     /* formulier: 5,1:1 */
	--color-channel-phone: #215a41;    /* telefoon: 8,5:1 */
	--color-channel-whatsapp: #6c8acf; /* WhatsApp: 3,4:1 */
	--color-channel-mail: #18171c;     /* e-mail: 17,7:1 */

	/* Letter */
	--font-body: "AW Poppins", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-size-xs: 0.75rem;      /* 12 */
	--font-size-small: 0.875rem;  /* 14 */
	--font-size-base: 1rem;       /* 16 */
	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-bold: 600;
	--font-weight-heavy: 700;
	--font-weight-black: 900;
	--line-height: 1.7;

	/* Ruimte */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--report-gap: 24px;
	--block-pad-y: 58px;
	--block-pad-x: 36px;
	/* Vaste ruimte tussen de onderdelen van een beheerpagina: kop, knoppen, meldingen, kaarten (§ 18). */
	--space-section: var(--space-5);

	/* Vorm */
	--radius-small: 12px;
	--radius: 16px;
	--radius-tile: 24px;
	--radius-large: 40px;   /* border-radius/lg */
	--radius-pill: 999px;
	--border-width: 1px;
	--shadow: 0 10px 30px rgba(40, 38, 35, 0.08);
	--content-width: 72rem;
	--report-width: 616px;
	--tap-size: 44px;
}

/* ---------- Basis ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	position: relative;
	min-height: 100vh;
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--font-size-base);
	line-height: var(--line-height);
	overflow-x: hidden;
}

a {
	color: var(--color-link);
	text-underline-offset: 2px;
}

a:hover {
	color: var(--color-text);
}

:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

h1,
h2,
h3,
p {
	margin: 0;
}

.nowrap {
	white-space: nowrap;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: var(--space-4);
	top: -100px;
	padding: var(--space-2) var(--space-4);
	background: var(--color-surface);
	border-radius: var(--radius-pill);
	z-index: 10;
}

.skip-link:focus {
	top: var(--space-2);
}

.muted {
	color: var(--color-text-muted);
}

.num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* ---------- Achtergrond: houtnerf (blijft staan bij scrollen, Figma "sticky") en vormen ---------- */

.decor {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.decor::before {
	content: "";
	position: fixed;
	inset: 0;
	/* Tegel op de Figma-maat (1512 × 1237), herhaald: vult elke breedte en uitzoomen zonder de
	   lijntjes dikker te maken. Midden boven uitgelijnd, zoals in het ontwerp. */
	background: url("img/textuur.svg") repeat center top / 1512px 1237px;
}


.topbar,
.main,
.footer {
	position: relative;
	z-index: 1;
}

/* De menubalk (en zijn uitklappaneel) ligt altijd boven .main, dat later in de DOM komt. */
.topbar {
	z-index: 3;
}

/* ---------- Kopbalk ---------- */

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3) var(--space-5);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: var(--space-5) var(--space-4) var(--space-3);
}

.topbar__brand {
	display: inline-flex;
	color: var(--color-text);
	text-decoration: none;
}

.logo {
	display: block;
	width: 213px;
	height: 57px;
	background: url("img/logo.svg") no-repeat 0 0 / contain;
}

.topbar__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 var(--space-3);
	border-radius: var(--radius-pill);
	color: var(--color-text);
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-medium);
	text-decoration: none;
}

.topbar__nav a:hover {
	background: var(--color-surface);
}

.topbar__nav a[aria-current="page"] {
	background: var(--color-text);
	color: var(--color-surface);
}

.topbar__user {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	margin-left: auto;
}

.topbar__email {
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
	overflow-wrap: anywhere;
}

/* Rapport: de kop met logo maakt het rapport zelf; de kopbalk is een smal menu erboven dat de
   kop niet omlaag duwt (Figma: logo 40 px van de bovenkant). */
.page--report .topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3; /* boven .main (z-index 1), dat met zijn bovenmarge over de balk ligt */
}

.page--report .topbar__inner {
	flex-wrap: nowrap;
	gap: var(--space-2);
	justify-content: flex-end;
	max-width: calc(var(--report-width) + 64px);
	padding: 2px 36px 0;
}

.page--report .topbar__nav a,
.page--report .topbar__user .button {
	min-height: 32px;
	font-size: var(--font-size-xs);
}

.page--report .topbar__nav a[aria-current="page"] {
	background: transparent;
	color: var(--color-text);
	text-decoration: underline;
}

.page--report .topbar__user {
	flex: none;
	margin-left: 0;
}

.page--report .topbar__nav a {
	padding: 0 var(--space-2);
}

.page--report .topbar__email {
	display: none;
}

/* Zonder JavaScript: de menubalk in de normale stroom, links lopen door op een nieuwe regel (geen
   scrollstrook, nooit over het logo). */
html:not(.js) .page--report .topbar {
	position: static;
}

html:not(.js) .page--report .topbar__inner {
	flex-wrap: wrap;
}

/* Hoofdmenu als disclosure (assets/menu.js): op de rapportpagina altijd, elders op smalle
   schermen. Knop "Menu" met uitklappijltje, de links in een paneel eronder. */
.topbar__nav {
	position: relative;
}

.topbar__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 4px 12px;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--color-text);
	font: inherit;
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-bold);
	cursor: pointer;
}

.topbar__toggle::after {
	content: "";
	width: 12px;
	height: 12px;
	background: url("img/chevron.svg") no-repeat center / contain;
	transition: transform 0.15s;
}

.topbar__toggle[aria-expanded="true"]::after {
	transform: rotate(180deg);
}

.topbar__toggle:hover,
.topbar__toggle[aria-expanded="true"] {
	background: rgba(24, 23, 28, 0.06);
}

.page--report .topbar__toggle {
	min-height: 32px;
	font-size: var(--font-size-xs);
}

html.js .page--report .topbar__toggle {
	display: inline-flex;
}

html.js .page--report .topbar__list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 10;
	display: none;
	min-width: 220px;
	padding: 8px;
	background: var(--color-surface);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(40, 38, 35, 0.16);
}

html.js .page--report .topbar__list.is-open {
	display: block;
}

html.js .page--report .topbar__list a {
	display: flex;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: var(--font-size-small);
	text-decoration: none;
}

html.js .page--report .topbar__list a:hover {
	background: var(--color-surface-muted);
}

html.js .page--report .topbar__list a[aria-current="page"] {
	background: var(--color-secondary-light);
	color: var(--color-text);
	font-weight: var(--font-weight-bold);
}

/* ---------- Pagina ---------- */

.main {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: var(--space-5) var(--space-4) var(--space-7);
}

/* Beheer en andere pagina's (niet het rapport): elk onderdeel van de pagina (kop, knoppen, meldingen,
   kaarten, tekst) krijgt dezelfde ruimte tot het vorige. Eén token, geen losse marges (ADR 0005 § 18). */
.main:not(.main--report) > * + * {
	margin-top: var(--space-section);
}

.main:not(.main--report) > .notice {
	margin-bottom: 0;
}

.main--report {
	max-width: calc(var(--report-width) + 64px);
	padding: 32px 32px 0;
}

.page-title {
	margin: 0;
	font-size: 1.8125rem; /* 29, headings/M - H3 */
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
}

.card,
.block,
.upsell {
	position: relative;
	min-width: 0;
	margin: 0;
	background: var(--color-surface);
	border-radius: var(--radius-large);
}

.card {
	margin: 0;
	padding: var(--space-6);
	border-radius: var(--radius-tile);
	box-shadow: var(--shadow);
}

.card--narrow {
	max-width: 34rem;
	margin-left: auto;
	margin-right: auto;
}

.card__title {
	margin: 0 0 var(--space-3);
	font-size: 1.5rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.card__subtitle {
	font-size: 1.125rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.3;
}

.card--danger {
	border: 2px solid var(--color-error-bg);
}

.card > * + * {
	margin-top: var(--space-4);
}

.card > .card__title + *,
.card > .page-title + * {
	margin-top: 0;
}

/* ---------- Knoppen en formulieren ----------
   Eén stijl voor het hele beheer (ADR 0005 § 18):
   - primair (.button--primary): de ene hoofdactie van een formulier of blok (opslaan, versturen);
   - secundair (.button, ook als <a>; .button--secondary is hetzelfde): andere acties; in lijsten
     en per maand klein (.button--small);
   - gevaarlijk (.button--danger): verwijderen, uitschakelen;
   - link (gewone <a>): naar een andere pagina gaan, bijv. "Bewerken" in een tabel. */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: var(--tap-size);
	padding: 10px 20px;
	border: 2px solid var(--color-text);
	border-radius: 900px;
	background: transparent;
	color: var(--color-text-strong);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
}

.button:hover {
	background: var(--color-text);
	color: var(--color-surface);
}

.button--primary {
	border-color: transparent;
	background: var(--color-action);
	color: var(--color-on-primary);
}

.button--primary:hover {
	background: var(--color-action-hover);
	color: var(--color-on-primary);
}

/* Knoppen in het rapport zoals Figma (Button: #409fff, tekst #ffffff; besluit Kai 23-11: Figma is leidend, ook bij
   contrast). Beheer houdt --color-action. */
.page--report .button--primary,
.report-preview .button--primary {
	background: var(--color-primary);
	color: #fff;
}

.page--report .button--primary:hover,
.report-preview .button--primary:hover {
	background: var(--color-primary-hover);
	color: #fff;
}

.button--large {
	min-height: 60px;
	padding: 18px 24px;
	font-size: 1.125rem; /* 18, elements/sizes/button */
}

.button--small {
	min-height: 32px;
	padding: 4px 14px;
	border-width: 1px;
	font-size: var(--font-size-xs);
}

.button--arrow::after {
	content: "";
	flex: none;
	width: 15px;
	height: 12px;
	background: url("img/icoon-pijl.svg") no-repeat center / contain;
}

.button:disabled {
	cursor: progress;
	opacity: 0.7;
}

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

.button--danger:hover {
	background: var(--color-error-text);
	color: var(--color-surface);
}

.button--ghost {
	border-color: transparent;
	background: transparent;
}

.button--ghost:hover {
	background: var(--color-surface);
	color: var(--color-text);
}

/* Momentopnames: per maand Bekijken / Aanpassen / Testen, en apart Versturen (§ 18). */
.snapshot__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-2) var(--space-3);
}

.snapshot__head .card__title {
	margin: 0;
}

.snapshot__groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--space-4) var(--space-5);
}

.snapshot__label {
	margin: 0 0 var(--space-2);
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.snapshot__note {
	margin-top: var(--space-2);
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
}

.snapshot__send {
	padding-top: var(--space-4);
	border-top: var(--border-width) solid var(--color-border);
}

.snapshot__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3) var(--space-4);
	margin-top: var(--space-3);
}

@media (max-width: 600px) {
	.snapshot__groups {
		grid-template-columns: minmax(0, 1fr);
	}

	.snapshot__form .button {
		width: 100%;
	}
}

.inline-form {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	margin: 0;
}

.form {
	display: grid;
	gap: var(--space-4);
}

.field {
	display: grid;
	gap: var(--space-1);
	margin: 0;
	padding: 0;
	border: 0;
}

.field__label {
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-bold);
}

.field__help {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
}

.field__input {
	width: 100%;
	min-height: var(--tap-size);
	padding: var(--space-2) var(--space-3);
	border: var(--border-width) solid #8f877a;
	border-radius: var(--radius-small);
	background: var(--color-surface);
	color: var(--color-text);
	font: inherit;
	font-size: var(--font-size-small);
}

textarea.field__input {
	min-height: 7rem;
}

.field--check {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.field__check,
.checks__item input {
	width: 20px;
	height: 20px;
	accent-color: var(--color-text);
}

.checks {
	display: grid;
	gap: var(--space-2);
}

.checks__item {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--font-size-small);
}

.notice {
	margin: 0 0 var(--space-4);
	padding: var(--space-3) var(--space-4);
	border-radius: var(--radius);
	background: var(--color-surface);
	font-size: var(--font-size-small);
	border-left: 4px solid var(--color-primary-hover);
}

.notice--ok {
	background: var(--color-ok-bg);
	border-left-color: var(--color-ok-text);
	color: var(--color-ok-text);
}

.notice--warning {
	background: var(--color-warning-bg);
	border-left-color: var(--color-warning-text);
	color: var(--color-warning-text);
}

.notice--error {
	background: var(--color-error-bg);
	border-left-color: var(--color-error-text);
	color: var(--color-error-text);
}

.status {
	display: inline-block;
	padding: 2px 10px;
	border-radius: var(--radius-pill);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
}

.status--ok {
	background: var(--color-ok-bg);
	color: var(--color-ok-text);
}

.status--warning,
.status--issues {
	background: var(--color-warning-bg);
	color: var(--color-warning-text);
}

.status--off {
	background: var(--color-sand-light);
	color: var(--color-text-muted);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2) var(--space-3);
}

.row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2) var(--space-3);
	padding: var(--space-3) 0;
	border-bottom: var(--border-width) solid var(--color-border);
}

.row__label {
	flex: 1 1 14rem;
}

/* ---------- Tabellen en lijsten ---------- */

.table-wrap {
	position: relative; /* houdt .visually-hidden in de tabel binnen het schuifvak */
	overflow-x: auto;
}

.table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--font-size-small);
}

.table caption {
	text-align: left;
}

.table th,
.table td {
	padding: 14px 12px 14px 0;
	border-bottom: var(--border-width) solid var(--color-border-light);
	text-align: left;
	vertical-align: middle;
}

.table th:last-child,
.table td:last-child {
	padding-right: 0;
}

.table thead th {
	padding-top: 0;
	padding-bottom: 10px;
	border-bottom-color: var(--color-border);
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.table tbody th {
	font-weight: var(--font-weight-medium);
}

.table .num {
	text-align: right;
}

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

.plain-list li {
	padding: var(--space-1) 0;
}

.plain-list--split li {
	display: flex;
	justify-content: space-between;
	gap: var(--space-3);
	border-bottom: var(--border-width) solid var(--color-border);
}

.site-list {
	display: grid;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-list__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2) var(--space-4);
	padding: var(--space-5);
	background: var(--color-surface);
	border-radius: var(--radius-tile);
	box-shadow: var(--shadow);
}

.site-list__link {
	color: var(--color-text);
	font-size: 1.125rem;
	font-weight: var(--font-weight-bold);
}

.site-list__meta {
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
}

.site-list__action {
	margin-left: auto;
	font-size: var(--font-size-small);
}

/* ---------- Rapport: kop en maandkeuze ---------- */

.report-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding: 8px 4px;
	margin: 0 0 var(--report-gap);
}

.report-head__logo {
	flex: none;
	display: inline-flex;
}

.report-head__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	min-width: 0;
	text-align: right;
}

.report-head__sub {
	margin-top: 8px;
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
	line-height: 18px;
	overflow-wrap: anywhere;
}

/* Keuzeformulier in het beheer (site kiezen bij momentopnames). */
.month-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--space-2);
	margin: 0 0 var(--space-4);
}

.month-form .field__input {
	width: auto;
}

/* Maandkeuze als disclosure-menu (ADR 0004 § 8b). Zonder JavaScript: de knop is weg en de maanden
   staan als gewone links onder elkaar. Met JavaScript (html.js, assets/menu.js): knop met
   uitklappijltje en een lijst die opent onder de knop. */
.month-menu {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.month-menu--left {
	align-items: flex-start;
	margin: 0 0 var(--space-4);
}

.month-menu--left .month-menu__list {
	text-align: left;
}

.js .month-menu--left .month-menu__list {
	right: auto;
	left: 0;
}

.month-menu--left .month-menu__toggle {
	margin: 0;
	font-size: var(--font-size-base);
}

/* Figma 18475:31913 (ADR 0005 § 26): witte pil met een blauwe pijl. */
.month-menu__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 34px;
	margin: 0;
	padding: 6px 14px 6px 16px;
	border: var(--border-width) solid var(--color-border);
	border-radius: 999px;
	background: var(--color-surface);
	color: var(--color-text);
	font: inherit;
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-bold);
	line-height: 21px;
	cursor: pointer;
}

.month-menu__toggle::after {
	content: "";
	width: 12px;
	height: 12px;
	background: url("img/chevron-blauw.svg") no-repeat center / contain;
	transition: transform 0.15s;
}

.month-menu__toggle[aria-expanded="true"]::after {
	transform: rotate(180deg);
}

.month-menu__toggle:hover,
.month-menu__toggle[aria-expanded="true"] {
	background-color: var(--color-surface-muted);
}

.month-menu__toggle:focus-visible {
	outline: 2px solid var(--color-action);
	outline-offset: 2px;
}

html:not(.js) .month-menu__toggle {
	display: none;
}

.month-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

.month-menu__link {
	display: block;
	padding: 2px 0;
	color: var(--color-text);
	font-size: var(--font-size-small);
	line-height: 21px;
	text-decoration: none;
}

.month-menu__link:hover {
	text-decoration: underline;
}

.month-menu__link[aria-current="page"] {
	font-weight: var(--font-weight-bold);
}

.js .month-menu__list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 5;
	display: none;
	min-width: 200px;
	max-height: min(360px, 70vh);
	overflow-y: auto;
	padding: 8px;
	background: var(--color-surface);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(40, 38, 35, 0.16);
	text-align: left;
}

.js .month-menu__list.is-open {
	display: block;
}

.js .month-menu__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 10px;
}

.js .month-menu__link:hover {
	background: var(--color-surface-muted);
	text-decoration: none;
}

.js .month-menu__link[aria-current="page"] {
	background: var(--color-secondary-light);
}

.js .month-menu__link[aria-current="page"]::after {
	content: "";
	width: 14px;
	height: 14px;
	background: url("img/icoon-vink-donker.svg") no-repeat center / contain;
}

/* ---------- Rapport: kaarten ---------- */

.report {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--report-gap);
}

.report-hidden {
	margin: 0 0 16px;
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-surface);
	font-size: var(--font-size-small);
}

.report-hidden__summary {
	padding: 10px 16px;
	cursor: pointer;
	font-weight: 600;
}

.report-hidden__summary:focus-visible {
	outline: 2px solid var(--color-action);
	outline-offset: 2px;
	border-radius: var(--radius);
}

.report-hidden__hint {
	color: var(--color-text-muted);
	font-weight: 400;
}

.report-hidden__list {
	margin: 0;
	padding: 0 16px 12px 36px;
	color: var(--color-text-muted);
}

.report-foot {
	margin-top: var(--report-gap);
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
	text-align: center;
}

.block,
.upsell {
	padding: var(--block-pad-y) var(--block-pad-x);
}

.block__title {
	margin: 0 0 20px;
	color: var(--color-text);
	font-size: var(--title-size);
	font-weight: var(--title-weight);
	line-height: var(--title-line);
	letter-spacing: var(--title-spacing);
}

.block__subtitle {
	margin: 20px 0 10px;
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-bold);
	line-height: 1.3;
}

.block__empty,
.block__off {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
}

.block.is-uit {
	background: transparent;
	border: 2px dashed var(--color-sand);
}

/* Eyebrow-titels (Figma: kleine kop boven de grote) */
.block--growth-phase .block__title,
.block--website-score .block__title {
	margin-bottom: 6px;
	font-size: var(--font-size-base);
	line-height: 1.7;
	letter-spacing: 0;
}

.block--growth-phase .block__title {
	opacity: 0.5;
}

.block--opportunity .block__title {
	margin-bottom: 16px;
	color: var(--color-link);
	font-size: 0.8125rem;
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Hero */
.block--hero.is-data {
	padding: 44px 40px;
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.block--hero.is-data .block__title {
	margin-bottom: 16px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8125rem;
	font-weight: var(--font-weight-medium);
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hero__value {
	font-size: 2.375rem; /* 38 */
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.pill {
	display: inline-block;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	color: var(--color-text);
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-medium);
	line-height: 1.5;
}

.pill--light {
	background: var(--color-primary-light);
	font-weight: var(--font-weight-bold);
}

.pill--white {
	background: var(--color-surface);
}

/* "Website veilig & up-to-date": groen zoals het FaceTime-icoon (#34c759) met witte tekst, beide gekozen
   door Kai (1.5.1). Contrast 2,2:1, onder WCAG AA; bewust zo besloten. */
.pill--safe {
	background: var(--color-safe);
	color: #fff;
}

/* Kerncijfers: losse tegels zonder kaart */
.block--kpis.is-data {
	padding: 0;
	background: transparent;
}

.block--kpis.is-data .block__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.kpis {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

.kpi {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	min-height: 140px;
	padding: 24px;
	overflow: hidden;
	background: var(--color-surface);
	border-radius: var(--radius-tile);
	box-shadow: var(--shadow);
}

.kpi dd {
	margin: 0;
}

.kpi__label {
	position: relative;
	z-index: 1;
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.kpi__value {
	position: relative;
	z-index: 1;
	font-size: 2.25rem; /* 36 */
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.kpi__note {
	position: relative;
	z-index: 1;
	font-size: 0.8125rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.kpi--mascot .kpi__note {
	max-width: 58%;
}

/* Mascottes (Figma, met knipperlus 2,7 s) */
.mascot {
	position: absolute;
	display: block;
	content-visibility: auto;
	contain-intrinsic-size: auto 155px;
	pointer-events: none;
}

.mascot__frame {
	position: absolute;
	inset: 0;
	background: no-repeat center / contain;
}

.mascot--blink .mascot__frame {
	opacity: 0;
}

.mascot--blink .mascot__frame--1 {
	opacity: 1;
	animation: blink-1 2.7s linear infinite;
}

.mascot--blink .mascot__frame--2 {
	animation: blink-2 2.7s linear infinite;
}

.mascot--blink .mascot__frame--3 {
	animation: blink-3 2.7s linear infinite;
}

.mascot--blink .mascot__frame--4 {
	animation: blink-4 2.7s linear infinite;
}

@keyframes blink-1 {
	0%, 7.4% { opacity: 1; }
	7.41%, 44.43% { opacity: 0; }
	44.44%, 100% { opacity: 1; }
}

@keyframes blink-2 {
	0%, 7.4% { opacity: 0; }
	7.41%, 14.8% { opacity: 1; }
	14.81%, 37.03% { opacity: 0; }
	37.04%, 44.43% { opacity: 1; }
	44.44%, 100% { opacity: 0; }
}

@keyframes blink-3 {
	0%, 14.8% { opacity: 0; }
	14.81%, 22.21% { opacity: 1; }
	22.22%, 29.62% { opacity: 0; }
	29.63%, 37.03% { opacity: 1; }
	37.04%, 100% { opacity: 0; }
}

@keyframes blink-4 {
	0%, 22.21% { opacity: 0; }
	22.22%, 29.62% { opacity: 1; }
	29.63%, 100% { opacity: 0; }
}

.kpi__mascot {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.mascot--kpi {
	top: 26px;
	right: -33px;
	width: 155px;
	height: 155px;
	transform: scaleX(-1);
}

.mascot--kpi .mascot__frame--1 { background-image: url("img/kpi-vis-1.webp"); }
.mascot--kpi .mascot__frame--2 { background-image: url("img/kpi-vis-2.webp"); }
.mascot--kpi .mascot__frame--3 { background-image: url("img/kpi-vis-3.webp"); }
.mascot--kpi .mascot__frame--4 { background-image: url("img/kpi-vis-4.webp"); }

.mascot--writer {
	bottom: 10px;
	left: -137px;
	width: 274px;
	height: 155px;
	transform: scaleX(-1);
}

.mascot--writer .mascot__frame--1 { background-image: url("img/schrijver-1.webp"); }
.mascot--writer .mascot__frame--2 { background-image: url("img/schrijver-2.webp"); }
.mascot--writer .mascot__frame--3 { background-image: url("img/schrijver-3.webp"); }
.mascot--writer .mascot__frame--4 { background-image: url("img/schrijver-4.webp"); }

.mascot--whale {
	right: -76px;
	bottom: 40px;
	width: 225px;
	height: 225px;
}

.mascot--whale .mascot__frame {
	background-image: url("img/walvis.webp");
}

/* Groeifase */
.block--growth-phase {
	padding: 48px var(--block-pad-x) 40px;
	overflow: hidden;
}

.phase__title {
	font-size: 1.8125rem; /* 29 */
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
}

.phase__intro {
	margin-top: 6px;
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
}

.phases {
	display: flex;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.phases__step {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: 12px 4px 14px;
	border: 2px solid transparent;
	border-radius: var(--radius-tile);
	font-size: var(--font-size-small);
	text-align: center;
}

.phases__step--current {
	background: var(--color-secondary-light);
	border-color: var(--color-secondary);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-bold);
}

.phases__step--todo {
	color: var(--color-text-muted);
}

.phases__fish {
	display: block;
	width: 96px;
	height: 96px;
	max-width: 100%;
	content-visibility: auto;
	contain-intrinsic-size: auto 96px;
}

.phases__step--todo .phases__fish {
	opacity: 0.35;
}

.phases__img {
	display: block;
	width: 100%;
	height: 100%;
	background: no-repeat center / contain;
}

.phases__img--1 { background-image: url("img/fase-1.webp"); }
.phases__img--2 { background-image: url("img/fase-2.webp"); }
.phases__img--3 { background-image: url("img/fase-3.webp"); }
.phases__img--4 { background-image: url("img/fase-4.webp"); }

.phases__label {
	line-height: 1.7;
}

.phases__number {
	display: block;
}

.progress {
	height: 8px;
	margin-top: 20px;
	overflow: hidden;
	background: var(--color-bg);
	border-radius: var(--radius-pill);
}

.progress__bar {
	display: block;
	height: 100%;
	background: var(--color-secondary);
	border-radius: var(--radius-pill);
}

.progress--1 .progress__bar { width: 17.5%; }
.progress--2 .progress__bar { width: 42.5%; }
.progress--3 .progress__bar { width: 67.5%; }
.progress--4 .progress__bar { width: 100%; }

/* Aanvragen per maand: staven */
.bars {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	height: 200px;
	border-bottom: var(--border-width) solid var(--color-border);
}

.bars__col {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	min-width: 0;
	height: 100%;
}

.bars__value {
	font-size: 0.8125rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.bars__bar {
	display: block;
	width: 56px;
	max-width: 100%;
	height: 0;
}

/* Gestapelde staaf: per kanaal een stuk (SVG, alleen attributen). */
.bars__stack {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.bars__col--current .bars__value {
	color: var(--color-primary-hover);
}

.chart-key--form { fill: var(--color-channel-form); background: var(--color-channel-form); }
.chart-key--phone { fill: var(--color-channel-phone); background: var(--color-channel-phone); }
.chart-key--whatsapp { fill: var(--color-channel-whatsapp); background: var(--color-channel-whatsapp); }
.chart-key--mail { fill: var(--color-channel-mail); background: var(--color-channel-mail); }

/* Legenda als knoppen: hover, focus of tik licht een kanaal of bron uit (assets/menu.js). */
.legend {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-3);
	margin: var(--space-4) 0 0;
	padding: 0;
	list-style: none;
}

.legend__item {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 32px;
	margin: 0;
	padding: 2px 10px 2px 6px;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: var(--font-size-small);
	line-height: 1.5;
	text-align: left;
	cursor: pointer;
}

.legend__item:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

.legend__swatch {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 4px;
}

.legend__value {
	font-weight: var(--font-weight-bold);
}

.chart__info {
	min-height: 1.5em;
	margin-top: var(--space-2);
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
}

.chart.has-active [data-key]:not(.is-active) {
	opacity: 0.3;
}

.chart .legend__item.is-active {
	background: var(--color-sand-light);
}

/* Het actieve stuk wordt iets groter met een rand in zijn eigen kleur; de klikbare vorm blijft
   precies het stuk zelf (pointer-events: fill, geen transform). */
.chart rect {
	pointer-events: fill;
	stroke-width: 0;
	vector-effect: non-scaling-stroke;
	paint-order: stroke;
}

.chart-key--form { stroke: var(--color-channel-form); }
.chart-key--phone { stroke: var(--color-channel-phone); }
.chart-key--whatsapp { stroke: var(--color-channel-whatsapp); }
.chart-key--mail { stroke: var(--color-channel-mail); }

.chart rect.is-active {
	stroke-width: 4px;
}

@media (prefers-reduced-motion: no-preference) {
	.chart [data-key] {
		transition: opacity 0.15s ease;
	}
}

/* Zoektermen: top 5; de rest klapt uit in dezelfde tabel, de knop staat eronder (§ 19). Zonder
   JavaScript staan alle rijen er en is de knop verborgen. */
.is-collapsed .more__extra {
	display: none;
}

.more__toggle {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-size);
	margin-top: var(--space-2);
	padding: 0;
	border: 0;
	background: none;
	color: var(--color-link);
	font: inherit;
	font-weight: var(--font-weight-bold);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.more__toggle[hidden] {
	display: none;
}

.more__toggle:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

.bars__bar--5 { height: calc((100% - 26px) * 0.05); }
.bars__bar--10 { height: calc((100% - 26px) * 0.1); }
.bars__bar--15 { height: calc((100% - 26px) * 0.15); }
.bars__bar--20 { height: calc((100% - 26px) * 0.2); }
.bars__bar--25 { height: calc((100% - 26px) * 0.25); }
.bars__bar--30 { height: calc((100% - 26px) * 0.3); }
.bars__bar--35 { height: calc((100% - 26px) * 0.35); }
.bars__bar--40 { height: calc((100% - 26px) * 0.4); }
.bars__bar--45 { height: calc((100% - 26px) * 0.45); }
.bars__bar--50 { height: calc((100% - 26px) * 0.5); }
.bars__bar--55 { height: calc((100% - 26px) * 0.55); }
.bars__bar--60 { height: calc((100% - 26px) * 0.6); }
.bars__bar--65 { height: calc((100% - 26px) * 0.65); }
.bars__bar--70 { height: calc((100% - 26px) * 0.7); }
.bars__bar--75 { height: calc((100% - 26px) * 0.75); }
.bars__bar--80 { height: calc((100% - 26px) * 0.8); }
.bars__bar--85 { height: calc((100% - 26px) * 0.85); }
.bars__bar--90 { height: calc((100% - 26px) * 0.9); }
.bars__bar--95 { height: calc((100% - 26px) * 0.95); }
.bars__bar--100 { height: calc(100% - 26px); } /* 26px: ruimte voor het getal erboven */

.bars__labels {
	display: flex;
	gap: 14px;
	margin-top: 6px;
}

.bars__label {
	flex: 1 1 0;
	min-width: 0;
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
	line-height: 1.5;
	text-align: center;
}

/* Stempel "Ambachtelijke Websites": rechts naast de titel, in een eigen rij boven de grafiek, zodat
   hij nooit over staven of getallen valt (ADR 0005 § 19; eerst op de Figma-plek over de grafiek). De
   maten binnenin zijn verhoudingen van de Figma-maat (187,34 px, binnenrand 20 px). */
.stamp {
	--stamp-size: 112px;
	position: relative;
	display: block;
	width: var(--stamp-size);
	height: var(--stamp-size);
	background: var(--color-primary);  /* Figma: #409fff (bovenste vulling) */
	border-radius: 50%;
	box-shadow: 0 10px 42.3px rgba(0, 0, 0, 0.25); /* Figma: drop shadow 0,10 blur 42,3, 25% */
	transform: rotate(15deg);          /* Figma -15° (tegen de klok in = rechtsom in CSS) */
	pointer-events: none;
}

.stamp__ring,
.stamp__mark {
	position: absolute;
	background: no-repeat center / contain;
}

.stamp__ring {
	inset: calc(var(--stamp-size) * 0.1068);
	background-image: url("img/stempel-tekst.svg");
}

.stamp__mark {
	top: calc(var(--stamp-size) * (0.1068 + 0.7865 * 0.267));
	left: calc(var(--stamp-size) * (0.1068 + 0.7865 * 0.3018));
	width: calc(var(--stamp-size) * 0.7865 * 0.3906);
	height: calc(var(--stamp-size) * 0.7865 * 0.467);
	background-image: url("img/stempel-merk.svg");
}

/* Titel en stempel in de eerste rij, de grafiek eronder over de volle breedte. */
.block--requests-by-month.is-data {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: var(--space-4);
	align-items: start;
}

.block--requests-by-month.is-data > * {
	grid-column: 1 / -1;
}

.block--requests-by-month.is-data > .block__title {
	grid-column: 1;
	grid-row: 1;
	align-self: center;
}

.block--requests-by-month.is-data > .stamp {
	grid-column: 2;
	grid-row: 1;
	margin: -24px -8px 12px 0;
}

/* Desktop: de sticker op de Figma-plek (187 px, rechtsboven half over de rand van het blok; middelpunt op
   590,5 × 139,5 van het blok van 616 px). Smaller dan 840 px blijft hij klein naast de titel. */
@media (min-width: 840px) {
	.block--requests-by-month.is-data {
		position: relative;
	}

	.block--requests-by-month.is-data > .stamp {
		--stamp-size: 187px;
		position: absolute;
		top: 46px;
		right: -68px;
		margin: 0;
		z-index: 1;
	}
}

/* Lopende maand: één melding met de periode (feedback 23-11), in de stijl van de infovlakken in Figma
   (#f9f9f7, radius 16, padding 16 × 18, Poppins 14 / 21). */
.report-partial {
	max-width: var(--report-width);
	margin: 0 auto var(--report-gap);
	padding: 16px 18px;
	background: var(--color-surface-soft);
	border-radius: var(--radius);
	color: var(--color-text);
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-medium);
	line-height: 21px;
}

/* Zoektermen en pagina's */
.table--terms,
.table--pages {
	table-layout: fixed;
	font-size: 0.9375rem; /* 15 */
	line-height: 1.5;
}

.table--terms thead th:first-child,
.table--pages thead th:first-child {
	width: auto;
}

.table--terms thead th:not(:first-child) {
	width: 92px;
}

.table--pages thead th:not(:first-child) {
	width: 96px;
}

.table--terms td,
.table--pages td {
	font-weight: var(--font-weight-normal);
}

.trend {
	font-weight: var(--font-weight-bold);
	white-space: nowrap;
}

.trend--up,
.trend--new,
.trend--down {
	/* Zwart, geen nadruk op plus of min (besluit Kai, ADR 0005 § 27.6); het pijltje blijft. */
	color: var(--color-text);
}

.trend--flat {
	color: var(--color-text-muted);
}

.toppage__title {
	display: block;
	font-weight: var(--font-weight-medium);
}

.page-path {
	display: block;
	color: var(--color-text-muted);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-normal);
	overflow-wrap: anywhere;
}

/* Bezoekersbronnen */
.sources__bar {
	display: block;
	width: 100%;
	height: 20px;
	border-radius: var(--radius-pill);
	overflow: hidden;
}

.sources {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.sources__item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.sources__swatch {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 4px;
}

.sources__label {
	flex: 1 1 auto;
	min-width: 0;
}

.sources__value {
	font-weight: var(--font-weight-heavy);
	font-variant-numeric: tabular-nums;
}

.sources__part--organic { fill: var(--color-source-organic); stroke: var(--color-source-organic); }
.sources__part--direct { fill: var(--color-source-direct); stroke: var(--color-source-direct); }
.sources__part--social { fill: var(--color-source-social); stroke: var(--color-source-social); }
.sources__part--other { fill: var(--color-source-other); stroke: var(--color-source-other); }
.sources__part--maps { fill: var(--color-source-maps); stroke: var(--color-source-maps); }
.sources__part--referral { fill: var(--color-source-referral); stroke: var(--color-source-referral); }
.sources__part--paid { fill: var(--color-source-paid); stroke: var(--color-source-paid); }
.sources__part--email { fill: var(--color-source-email); stroke: var(--color-source-email); }
.sources__swatch--organic { background: var(--color-source-organic); }
.sources__swatch--direct { background: var(--color-source-direct); }
.sources__swatch--social { background: var(--color-source-social); }
.sources__swatch--other { background: var(--color-source-other); }
.sources__swatch--maps { background: var(--color-source-maps); }
.sources__swatch--referral { background: var(--color-source-referral); }
.sources__swatch--paid { background: var(--color-source-paid); }
.sources__swatch--email { background: var(--color-source-email); }

/* Banner "Online zichtbaar" (Figma 18491:32612): video in de vorm "Union", titel Poppins Black 62/110%, wit, gecentreerd */
.banner {
	position: relative;
	display: grid;
	place-items: center;
	margin: 0;
	aspect-ratio: 616 / 297;
	container-type: inline-size;
	border-radius: var(--radius-large);
	overflow: hidden;
	-webkit-mask: url("img/online-zichtbaar-masker.svg") no-repeat center / 100% 100%;
	mask: url("img/online-zichtbaar-masker.svg") no-repeat center / 100% 100%;
}

.banner__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

.banner__title {
	position: relative;
	margin: 0;
	padding: 0 5.84cqw; /* 36 / 616 */
	color: #fff;
	font-size: 10.065cqw; /* 62 / 616 */
	font-weight: 900;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
}

/* Websitescore: ringen */
/* Kop en uitleg (Figma: Headings/M – H3 29 px, Paragraph/Small 14 px, tekstkleur) */
.score-head__title {
	font-size: 1.8125rem; /* 29 */
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
}

.score-head__intro {
	margin-top: 6px;
	font-size: var(--font-size-small);
	line-height: 1.7;
}

/* Kleine uitlegtekst onder een blok (Figma: Regular 12 / 18, #646058), overal dezelfde (feedback 23-11). */
.block__note {
	margin: 20px 0 0;
	color: var(--color-text-muted);
	font-size: var(--note-size);
	font-weight: var(--note-weight);
	line-height: var(--note-line);
}

.scores {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 0;
	text-align: center;
}

.score__ring {
	position: relative;
	display: block;
	width: 132px;
	max-width: 100%;
	aspect-ratio: 1;
	margin-bottom: 10px;
}

.score__svg {
	display: block;
	width: 100%;
	height: 100%;
}

.score__track {
	stroke: rgba(24, 23, 28, 0.4);
}

.score__arc {
	stroke: var(--color-text);
}

.score__value {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.98rem; /* 15,68 */
	font-weight: var(--font-weight-bold);
}

.score__label {
	font-size: 1.125rem; /* 18, headings/S - H4 */
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
}

.score__note {
	display: block;
	font-size: var(--font-size-small);
	line-height: 1.7;
}

/* Nieuwe content en Bedrijfsprofiel: tegels */
.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

.tiles--small {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.tile {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 20px 22px;
	background: var(--color-secondary-light);
	border-radius: var(--radius-tile);
	color: var(--color-secondary-dark);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.tile dd {
	margin: 0;
}

.tile__label {
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-normal);
	line-height: 1.5;
}

.tile__value {
	color: var(--color-text);
	font-size: 2.25rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
}

.tiles--small .tile__value {
	font-size: 1.75rem;
}

/* Bedrijfsprofiel: vijf tegels als 3 + 2, de tweede rij gecentreerd (geen leeg gat); per rij even hoog. */
.tiles--gbp {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tiles--gbp .tile {
	grid-column: span 2;
	padding: 18px 20px;
}

.tiles--gbp .tile:nth-child(4):nth-last-child(2) {
	grid-column: 2 / span 2;
}

.tiles--gbp .tile:nth-child(5):last-child {
	grid-column: 4 / span 2;
}

.tiles--gbp .tile__label {
	text-wrap: balance;
}

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

.tile__list li + li {
	margin-top: 2px;
}

.tile a {
	color: var(--color-secondary-dark);
}

.block--new-content {
	min-height: 330px;
}

/* Rijen (onderhoud, wijzigingen, zoektermen bedrijfsprofiel) */
.facts,
.list-rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.facts__row {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	column-gap: 14px;
	align-items: start;
	padding: 16px 18px;
	background: var(--color-surface-muted);
	border-radius: var(--radius);
}

.facts__icon {
	grid-row: 1 / span 2;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--color-green) url("img/icoon-vink.svg") no-repeat center / 14px 14px;
}

.facts__icon--warning {
	background-color: var(--color-warning-icon);
	background-image: url("img/icoon-let-op.svg");
}

.facts__icon--pending {
	background-color: var(--color-sand-light);
	background-image: url("img/icoon-klok.svg");
	background-size: 15px 15px;
}

.facts__row dt {
	font-size: 0.9375rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.facts__row dd {
	margin: 0;
	padding-top: 4px;
	color: var(--color-text-soft);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.facts__row .status {
	padding: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
	font-weight: var(--font-weight-normal);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.chip {
	padding: 4px 10px;
	background: var(--color-surface);
	border-radius: var(--radius-pill);
	color: var(--color-text);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
	line-height: 1.5;
}

.list-rows__item {
	display: flex;
	justify-content: space-between;
	gap: var(--space-3);
	padding: 14px 18px;
	background: var(--color-surface-muted);
	border-radius: var(--radius);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.list-rows__item .num {
	font-weight: var(--font-weight-bold);
}

.reviews {
	margin: 16px 0 0;
	color: var(--color-text-soft);
	font-size: var(--font-size-small);
}

/* Kans van de maand */
.opportunity__term {
	font-size: 1.625rem; /* 26 */
	font-weight: var(--font-weight-bold);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.opportunity__meta,
.opportunity__text {
	margin-top: 16px;
	color: var(--color-text-soft);
	font-size: var(--font-size-base);
	line-height: 1.5;
}

.opportunity__meta {
	margin-top: 16px;
	font-weight: var(--font-weight-medium);
}

.opportunity__text {
	margin-top: 8px;
}

/* Upsell */
.upsell {
	background: var(--color-sand);
}

.upsell__title {
	font-size: 1.75rem; /* 28 */
	font-weight: var(--font-weight-bold);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.upsell__text {
	margin-top: 20px;
	color: rgba(24, 23, 28, 0.8);
	font-size: var(--font-size-base);
	line-height: 1.5;
}

.upsell__actions {
	margin-top: 28px;
}

.upsell--mascot .upsell__title,
.upsell--mascot .upsell__text {
	max-width: 400px;
}

.upsell--mascot {
	min-height: 330px;
}

/* Wil je groeien? (Figma 18475:32324): pil, investering, knop. Pil zoals Figma 18475:32325: #409fff, tekst #e8e8e8. */
.upsell__pill {
	display: inline-block;
	margin: 0 0 20px;
	padding: 6px 14px;
	background: var(--color-primary);
	border-radius: var(--radius-pill);
	color: #e8e8e8;
	font-size: 0.8125rem;
	font-weight: var(--font-weight-bold);
	line-height: 19.5px;
}

.upsell--groei .upsell__title {
	font-size: 1.75rem; /* 28 / 32,2 */
	line-height: 32.2px;
}

.upsell__invest {
	max-width: 400px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(24, 23, 28, 0.15);
}

.upsell__price-label {
	margin: 0;
	color: rgba(24, 23, 28, 0.75);
	font-size: 0.8125rem;
	line-height: 19.5px;
}

.upsell__price {
	margin: 2px 0;
	font-size: 1.375rem;
	line-height: 33px;
}

.upsell__price strong {
	font-weight: var(--font-weight-bold);
}

.upsell__price-unit {
	font-size: var(--font-size-small);
}

/* Aanbrengen: klein, rustig blok onder Wil je groeien? */
.refer {
	padding: 32px var(--block-pad-x);
	background: var(--color-surface);
	border-radius: var(--radius-large);
}

.refer__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.35;
}

.refer__text {
	margin: 8px 0 0;
	color: var(--color-text-soft);
	font-size: var(--font-size-small);
	line-height: 21px;
}

.refer__actions {
	margin: 16px 0 0;
}

/* ---------- Voet ---------- */

.footer {
	width: 944px;
	max-width: 100%;
	margin: 180px auto 0;
	padding: 58px 36px;
	background: var(--color-sand);
	border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	gap: var(--space-6);
}

.footer__cta {
	flex: 0 1 417px;
}

.footer__title {
	color: var(--color-text-footer);
	font-size: 2.9375rem; /* 47, headings/L - H2 */
	font-weight: var(--font-weight-black);
	line-height: 1.1;
	text-transform: uppercase;
}

.footer__line {
	display: block;
}

.footer__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

/* LinkedIn (Figma: vierkant #0b65c3, radius 20, padding 20, icoon 20 px) */
.footer__linkedin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 20px;
	background: #0b65c3;
}

.footer__linkedin:hover {
	background: #084f99;
}

.footer__linkedin::before {
	content: "";
	width: 20px;
	height: 20px;
	background: url("img/linkedin.svg") no-repeat center / contain;
}

.footer__meta {
	flex: 0 1 392px;
}

.footer__address {
	color: rgba(40, 38, 35, 0.85);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.footer__address a {
	color: var(--color-text-footer);
}

.footer__note {
	margin-top: 14px;
	color: rgba(40, 38, 35, 0.75);
	font-size: var(--font-size-xs);
	line-height: 1.5;
}

/* ---------- Groter scherm ---------- */


/* ---------- Telefoon en smal scherm ---------- */

@media (max-width: 899px) {
	html.js .topbar__toggle {
		display: inline-flex;
	}

	.topbar__nav {
		margin-left: auto;
	}

	html.js .topbar__list {
		position: absolute;
		top: calc(100% + 6px);
		right: 0;
		z-index: 10;
		display: none;
		min-width: 220px;
		padding: 8px;
		background: var(--color-surface);
		border-radius: var(--radius);
		box-shadow: 0 10px 30px rgba(40, 38, 35, 0.16);
	}

	html.js .topbar__list.is-open {
		display: block;
	}

	html.js .topbar__list a {
		display: flex;
		min-height: 40px;
		padding: 8px 12px;
		border-radius: 10px;
	}

	html.js .topbar__list a[aria-current="page"] {
		background: var(--color-secondary-light);
		color: var(--color-text);
		font-weight: var(--font-weight-bold);
	}

	.topbar__user {
		margin-left: 0;
	}

	.topbar__email {
		display: none;
	}

	.topbar__inner {
		flex-wrap: nowrap;
		gap: var(--space-2);
	}

	.topbar__brand {
		flex: 0 1 auto;
		min-width: 0;
	}

	.topbar__brand .logo {
		max-width: 100%;
	}

	/* Beheertabellen als kaartjes: elke rij een blok, cellen onder elkaar (geen scrollstrook). */
	.main:not(.main--report) .table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.main:not(.main--report) .table,
	.main:not(.main--report) .table tbody,
	.main:not(.main--report) .table tr,
	.main:not(.main--report) .table th,
	.main:not(.main--report) .table td {
		display: block;
		width: 100%;
	}

	.main:not(.main--report) .table tr {
		padding: var(--space-3) 0;
		border-bottom: var(--border-width) solid var(--color-border);
	}

	.main:not(.main--report) .table th,
	.main:not(.main--report) .table td {
		padding: 2px 0;
		border: 0;
		text-align: left;
	}

	.main:not(.main--report) .table .actions {
		display: flex;
		margin-top: var(--space-2);
	}
}

/* Stempel en walvis steken op de Figma-plek ± 90 en 76 px buiten de kolom; past dat niet naast de
   kolom, dan binnen de kaart (stempel kleiner rechtsboven), zodat er nooit horizontaal gescrold wordt. */
@media (max-width: 839px) {
	.mascot--whale {
		right: -8px;
	}

	.stamp {
		--stamp-size: 76px;
	}

	.block--requests-by-month.is-data > .stamp {
		margin: -12px -4px 8px 0;
	}
}

@media (max-width: 719px) {
	:root {
		--report-gap: 16px;
		--block-pad-y: 36px;
		--block-pad-x: 20px;
		--radius-large: 28px;
	}

	.main--report {
		padding-left: 16px;
		padding-right: 16px;
	}

	.page--report .topbar__inner {
		padding: 2px 10px 0;
	}

	.main--report {
		padding-top: 36px;
	}

	.topbar__inner {
		padding: var(--space-4) var(--space-4) var(--space-2);
	}

	.card {
		padding: var(--space-5) var(--space-4);
	}

	.logo {
		width: 150px;
		height: 40px;
	}

	.report-head {
		padding: 4px 0;
	}

	.block--hero.is-data {
		padding: 32px 24px;
	}

	.hero__value {
		font-size: 1.875rem;
	}

	.kpis {
		gap: 12px;
	}

	.kpi {
		min-height: 0;
		padding: 18px 16px;
	}

	.kpi__value {
		font-size: 1.75rem;
	}

	.kpi--mascot .kpi__note {
		max-width: 62%;
	}

	.mascot--kpi {
		top: 30px;
		right: -36px;
		width: 110px;
		height: 110px;
	}

	.block--growth-phase {
		padding: 32px var(--block-pad-x) 28px;
	}

	.phase__title,
	.score-head__title {
		font-size: 1.5rem;
	}

	.phases {
		gap: 4px;
	}

	.phases__step {
		padding: 8px 2px 10px;
		border-radius: 16px;
		font-size: var(--font-size-xs);
	}

	.phases__step--current {
		font-size: 0.8125rem;
	}

	.phases__fish {
		width: 56px;
		height: 56px;
	}

	.bars {
		gap: 8px;
		height: 170px;
	}

	.bars__labels {
		gap: 8px;
	}



	.block--requests-by-month .block__title {
		max-width: calc(100% - 96px);
	}

	.table--terms,
	.table--pages {
		font-size: var(--font-size-small);
	}

	.table--terms thead th:not(:first-child) {
		width: 58px;
	}

	.table--pages thead th:not(:first-child) {
		width: 64px;
	}

	.table thead th {
		font-size: 0.625rem;
		letter-spacing: 0.02em;
	}

	.sources {
		grid-template-columns: minmax(0, 1fr);
	}

	.scores {
		gap: 8px;
	}

	.score__ring {
		width: 88px;
	}

	.score__label {
		font-size: var(--font-size-base);
	}

	.score__note {
		font-size: var(--font-size-xs);
		line-height: 1.4;
	}

	.tiles {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.tiles--small {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tiles--gbp {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tiles--gbp .tile,
	.tiles--gbp .tile:nth-child(4):nth-last-child(2) {
		grid-column: span 2;
	}

	.tiles--gbp .tile:nth-child(5):last-child {
		grid-column: 2 / span 2;
	}

	.block--new-content {
		min-height: 0;
	}

	.mascot--writer {
		display: none;
	}

	.upsell--mascot {
		min-height: 0;
		padding-bottom: 150px;
	}

	.upsell--mascot .upsell__title,
	.upsell--mascot .upsell__text {
		max-width: none;
	}

	.mascot--whale {
		right: -8px;
		bottom: -12px;
		width: 150px;
		height: 150px;
	}

	.upsell__title {
		font-size: 1.5rem;
	}

	.button--large {
		min-height: 52px;
		padding: 14px 20px;
		font-size: var(--font-size-base);
	}

	.footer {
		margin-top: 96px;
		padding: 40px 20px;
	}

	.footer__inner {
		flex-direction: column;
	}

	.footer__cta,
	.footer__meta {
		flex: none;
	}

	.footer__title {
		font-size: 2.125rem;
	}
}

@media (max-width: 380px) {
	.kpis {
		grid-template-columns: minmax(0, 1fr);
	}
}

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

/* ======================================================================
   Fase 1 (ADR 0005 § 22, Figma 18475:31913): ondertitels, vergelijkingen,
   direct contact, kliktegels, top-pagina's, content, onderhoud, Bedrijfsprofiel,
   kans van de maand en AI-blok (beheervoorbeeld).
   ====================================================================== */

:root {
	--color-blue-soft: #ecf5ff;       /* tertiary/blue/100: rondje achter een icoon */
}

.block__intro {
	margin: -16px 0 20px;
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.block--hero.is-data .block__title {
	text-transform: uppercase;
}

.hero__text {
	margin: 16px 0 0;
	color: var(--color-on-primary);
	font-size: 1.0625rem; /* 17 */
	line-height: 1.5;
}

/* Vergelijking met vorige maand */
.delta {
	color: var(--color-text);
	font-size: 0.8125rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

/* "▲ 3 meer dan 1–10 oktober" (ADR 0005 § 26) mag afbreken in een smalle tegel; in tabellen niet. */
td .delta {
	white-space: nowrap;
}

.clicktile__note,
.kpi__note {
	line-height: 1.35;
}

.clicktile__note .delta,
.kpi__note .delta {
	display: inline-block;
	line-height: 1.35;
}

.delta--up,
.delta--down,
.delta--neutral {
	/* Alle vergelijkingen zwart, geen nadruk op plus of min (besluit Kai, ADR 0005 § 26.7 en § 27.6). */
	color: var(--color-text);
}

/* Direct contact via je website en kliktegels (ook Bedrijfsprofiel) */
.contact {
	margin-top: 32px;
}

.contact__title {
	margin: 0;
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.contact__intro {
	margin: 2px 0 12px;
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.clicktiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.clicktile {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 18px;
	background: var(--color-surface-soft);
	border-radius: var(--radius);
}

.clicktile dd {
	margin: 0;
}

.clicktile__label {
	margin-top: 6px;
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.clicktile__value {
	font-size: 1.75rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.2;
}

.icon-badge {
	display: block;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-blue-soft) no-repeat center / 18px 18px;
}

.icon-badge--telefoon { background-image: url("img/icoon-telefoon.svg"); }
.icon-badge--mail { background-image: url("img/icoon-mail.svg"); }
.icon-badge--whatsapp { background-image: url("img/icoon-whatsapp.svg"); }
.icon-badge--route { background-image: url("img/icoon-route.svg"); }
.icon-badge--website { background-image: url("img/icoon-website.svg"); }

.contact__how {
	display: flex;
	gap: 12px;
	margin: 12px 0 0;
	padding: 16px 18px;
	background: var(--color-surface-soft);
	border-radius: var(--radius);
	color: var(--color-text-soft);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.contact__pair {
	white-space: nowrap;
}

.contact__how strong {
	flex: none;
	color: var(--color-text);
	font-weight: var(--font-weight-heavy);
}


/* Je best bezochte pagina's: Bezoekers met ▲/▼, Aanvragen, Kliks */
.table--pages thead th:not(:first-child) {
	text-align: left;
}

.table--pages td.num,
.table--pages th.num {
	text-align: left;
}

.toppage__visitors {
	margin-right: 8px;
}

.delta--small {
	font-size: 0.8125rem;
}

/* Je best bezochte pagina's: gekleurde ▲/▼ zoals in Figma (feedback 23-11; de rest blijft zwart). */
.delta--color.delta--up {
	color: var(--color-up);
}

.delta--color.delta--down {
	color: var(--color-down);
}

/* Nieuwe content: twee blauwe tegels */
.tiles--content .tile__note {
	margin: 0;
	overflow-wrap: anywhere;
}

/* Wij hebben het geregeld: titel en toelichting per rij */
.facts__body {
	min-width: 0;
}

.facts__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.facts__note {
	margin: 4px 0 0;
	color: var(--color-text-soft);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.facts__row {
	background: var(--color-surface-muted);
}

.chip--more {
	background: transparent;
}

/* Google Bedrijfsprofiel */
.gbp-views,
.gbp-reviews {
	padding: 20px 22px;
	background: var(--color-surface-soft);
	border-radius: var(--radius);
}

.gbp-views {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 12px;
}

.gbp-views__label {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.gbp-views__value,
.gbp-reviews__value {
	margin: 0;
	font-size: 2.25rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
}

.gbp-split {
	display: flex;
	gap: 3px;
	height: 12px;
	margin-top: 10px;
	overflow: hidden;
	border-radius: var(--radius-pill);
}

.gbp-split__search {
	background: var(--color-text);
}

.gbp-split__maps {
	flex: 1;
	background: var(--color-primary);
}

.gbp-split--0 .gbp-split__search { width: 0; }
.gbp-split--5 .gbp-split__search { width: 5%; }
.gbp-split--10 .gbp-split__search { width: 10%; }
.gbp-split--15 .gbp-split__search { width: 15%; }
.gbp-split--20 .gbp-split__search { width: 20%; }
.gbp-split--25 .gbp-split__search { width: 25%; }
.gbp-split--30 .gbp-split__search { width: 30%; }
.gbp-split--35 .gbp-split__search { width: 35%; }
.gbp-split--40 .gbp-split__search { width: 40%; }
.gbp-split--45 .gbp-split__search { width: 45%; }
.gbp-split--50 .gbp-split__search { width: 50%; }
.gbp-split--55 .gbp-split__search { width: 55%; }
.gbp-split--60 .gbp-split__search { width: 60%; }
.gbp-split--65 .gbp-split__search { width: 65%; }
.gbp-split--70 .gbp-split__search { width: 70%; }
.gbp-split--75 .gbp-split__search { width: 75%; }
.gbp-split--80 .gbp-split__search { width: 80%; }
.gbp-split--85 .gbp-split__search { width: 85%; }
.gbp-split--90 .gbp-split__search { width: 90%; }
.gbp-split--95 .gbp-split__search { width: 95%; }
.gbp-split--100 .gbp-split__search { width: 100%; }

.gbp-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.gbp-legend strong {
	margin-left: 8px;
	font-weight: var(--font-weight-heavy);
}

.gbp-legend__dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 8px;
	border-radius: 4px;
	vertical-align: -1px;
}

.gbp-legend__dot--search { background: var(--color-text); }
.gbp-legend__dot--maps { background: var(--color-primary); }

.block--google-business-profile .clicktiles {
	margin-bottom: 12px;
}

.gbp-reviews {
	display: flex;
	align-items: center;
	gap: 20px;
}

.gbp-reviews__score {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gbp-reviews__divider {
	align-self: stretch;
	width: 1px;
	background: var(--color-border);
}

.gbp-reviews__title {
	margin: 0;
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.gbp-reviews__note {
	margin: 2px 0 0;
	color: var(--color-text-muted);
	font-size: var(--font-size-small);
	line-height: 1.5;
}

.stars {
	width: 88px;
	height: 16px;
	margin: 0;
	background: url("img/icoon-ster.svg") repeat-x left center / 18px 16px;
}

.stars--0 { width: 0; }
.stars--1 { width: 18px; }
.stars--2 { width: 36px; }
.stars--3 { width: 54px; }
.stars--4 { width: 72px; }
.stars--5 { width: 88px; }

/* Kans van de maand (beheervoorbeeld) */
.opportunity__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0;
}

/* AI-blok (beheervoorbeeld, Figma 18475:32324) */
.ai {
	background: var(--color-sand);
}

.ai__eyebrow {
	display: inline-block;
	margin: 0 0 20px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--color-action);
	color: var(--color-on-primary);
	font-size: 0.8125rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.ai__questions,
.ai__points {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.ai__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--radius);
	background: rgba(24, 23, 28, 0.08);
	font-size: var(--font-size-small);
	line-height: 1.4;
}

.ai__result {
	flex: none;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	background: rgba(24, 23, 28, 0.14);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.ai__points li {
	position: relative;
	padding-left: 20px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.ai__points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--color-action);
	font-weight: var(--font-weight-heavy);
}

.ai__price {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(24, 23, 28, 0.15);
}

.ai__price-label {
	margin: 0;
	color: rgba(24, 23, 28, 0.8);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.ai__price-value {
	margin: 2px 0;
	font-size: 1.875rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.1;
}

.ai__price-value span {
	font-size: 0.9375rem;
	font-weight: var(--font-weight-normal);
}

.preview-note {
	margin: 0 0 12px;
}

@media (max-width: 719px) {
	.block__intro {
		margin-top: -14px;
	}

	.hero__text {
		font-size: var(--font-size-base);
	}

	.clicktiles {
		gap: 8px;
	}

	.clicktile {
		padding: 14px 12px;
	}

	.clicktile__value {
		font-size: 1.5rem;
	}

	.clicktile__note .delta {
		white-space: normal;
	}

	.contact__how {
		flex-direction: column;
		gap: 2px;
	}

	.gbp-reviews {
		gap: 14px;
		padding: 18px;
	}

	.ai__question {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 380px) {
	.clicktiles {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Aanvragen per maand: titel en ondertitel links, de stempel ernaast over beide rijen. */
.block--requests-by-month.is-data > .block__title {
	align-self: end;
	margin-bottom: 4px;
}

.block--requests-by-month.is-data > .block__intro {
	grid-column: 1;
	grid-row: 2;
	margin: 0 0 20px;
}

.block--requests-by-month.is-data > .stamp {
	grid-row: 1 / span 2;
}

/* Desktop: absoluut ten opzichte van het blok zelf, niet van het rastervak (anders staat hij 58 px te laag t.o.v. Figma). */
@media (min-width: 840px) {
	.block--requests-by-month.is-data > .stamp {
		grid-area: auto;
	}
}

/* Je best bezochte pagina's: vaste kolombreedtes (Figma 236/116/96/96 van 544). */
.table--pages th:nth-child(1) { width: 43%; }
.table--pages th:nth-child(2) { width: 21%; }
.table--pages th:nth-child(3),
.table--pages th:nth-child(4) { width: 18%; }

@media (max-width: 719px) {
	.table--pages th:nth-child(1) { width: 38%; }
	.table--pages th:nth-child(2) { width: 22%; }
	.table--pages th:nth-child(3) { width: 24%; }
	.table--pages th:nth-child(4) { width: 16%; }

	.table--pages thead th {
		letter-spacing: 0;
	}
}

/* Beheer: tijdelijk niet beschikbaar, uitleg groeifase en GEO, gegevens uit de wizard (ADR 0005 § 22). */
.unavailable,
.wizard-facts {
	margin: var(--space-4) 0;
	padding: var(--space-4);
	border-radius: var(--radius);
	background: var(--color-surface-soft);
}

.unavailable__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 6px 0;
	padding: 0;
	list-style: none;
}

.snapshot__explain {
	margin-top: var(--space-4);
}

.explain {
	margin-top: var(--space-2);
}

.explain summary {
	cursor: pointer;
	font-weight: var(--font-weight-bold);
}

.facts-list {
	display: grid;
	grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
	gap: 6px 16px;
	margin: 6px 0;
}

.facts-list dt {
	color: var(--color-text-muted);
}

.facts-list dd {
	margin: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 719px) {
	.facts-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.facts-list dd {
		margin-bottom: 6px;
	}
}

/* ---------- Beheer → Upsells en Voorwaarden (1.5.3) ---------- */

.lead {
	max-width: 70ch;
	margin: 0 0 12px;
	font-size: 1rem;
	line-height: 1.6;
}

.upsell-card__condition {
	margin: -4px 0 16px;
	color: var(--color-text-muted);
}

.upsell-card__example {
	margin: 0 0 16px;
	font-size: var(--font-size-small);
}

/* De echte rapportblokken, op de breedte van het rapport (Figma 616 px) en op de grond van het rapport. */
.report-preview {
	max-width: 616px;
	padding: 16px;
	border-radius: var(--radius-large);
	background: var(--color-bg);
}

.button.is-preview {
	cursor: default;
	pointer-events: none;
}

.preview-label {
	display: inline-block;
	align-self: center;
	margin-left: 8px;
	padding: 2px 8px;
	border: 1px dashed var(--color-text-muted);
	border-radius: var(--radius-pill);
	color: var(--color-text-muted);
	font-size: 0.75rem;
	line-height: 1.5;
	vertical-align: middle;
}

.upsell-card__mail {
	margin-top: 16px;
}

.upsell-card__mail summary,
.why summary {
	cursor: pointer;
	color: var(--color-action);
	font-weight: var(--font-weight-medium);
}

.mail-frame {
	display: block;
	width: 100%;
	max-width: 640px;
	height: 760px;
	margin-top: 12px;
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
}

.mail-frame--small {
	height: 300px;
}

.table--compact th,
.table--compact td {
	padding-top: 8px;
	padding-bottom: 8px;
	vertical-align: top;
}

.why p {
	margin: 6px 0 0;
	font-size: var(--font-size-small);
}

.rules {
	margin: 12px 0 0;
	padding-left: 20px;
	line-height: 1.6;
}

.rules li + li {
	margin-top: 6px;
}

@media (max-width: 600px) {
	.report-preview {
		padding: 8px;
	}

	.mail-frame {
		height: 820px;
	}
}
