/* =====================================================================
   FrontLine Cards — renderer stylesheet
   Eén bron voor scherm én print. Alle maten in mm conform de A6-specificatie.
   Kaart: A6 105 × 148 mm | header 14mm | informatievoet achter | 2 gaten ⌀5mm | boorzone 17mm
   ===================================================================== */

.flc-card, .flc-card * { box-sizing: border-box; margin: 0; padding: 0; }

.flc-card {
	--flc-accent: #D92B3A; /* wordt per kaart gezet door de renderer */
	width: 105mm;
	height: 148mm;
	background: #fff;
	color: #111;
	font-family: 'Inter', sans-serif;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	/* Hufterproof tegen thema-styling: kaart erft nooit uitlijning of regelafstand */
	text-align: left;
	line-height: 1.4;
	letter-spacing: normal;
}

/* Schermweergave: afgeronde hoeken, schaduw, boorgat-indicator */
.flc-card--screen {
	border-radius: 5mm;
	box-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.flc-card--screen .flc-hole {
	position: absolute;
	left: 7.5mm; top: 7.5mm;
	width: 5mm; height: 5mm;
	border-radius: 50%;
	background: #f3f4f6;
	border: 1px dashed #9ca3af;
	z-index: 5;
}
/* Achterkant gespiegeld: beide gaten rechts, centrum 10mm van de rand. */
.flc-card--back .flc-hole { left: auto; right: 7.5mm; }
.flc-card--print .flc-hole { display: none; }

/* ------------------------------------------------------------------ */
/* Header met snijveilige bovenruimte voor titel, ondertitel en icoon. */
.flc-header {
	height: 14mm;
	flex: 0 0 14mm;
	background: var(--flc-accent);
	color: #fff;
	display: flex;
	align-items: center;
	padding: 3mm 8mm;
	gap: 2.5mm;
}
.flc-header .flc-title {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 900;
	font-size: 14pt;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1 1 auto;
	min-width: 0;
}
.flc-header .flc-subtitle {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 6.5pt;
	text-transform: uppercase;
	letter-spacing: .05em;
	opacity: .9;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.flc-header .flc-titlewrap { flex: 1 1 auto; min-width: 0; }
.flc-header .flc-icon {
	width: 7.5mm; height: 7.5mm;
	flex: 0 0 auto;
}
.flc-header .flc-icon svg { width: 100%; height: 100%; display: block; }

/* ------------------------------------------------------------------ */
/* Doorlopende boorzone: 17mm links voor, rechts achter.
   De andere zijde heeft 6mm snijmarge. */
.flc-content {
	flex: 1 1 auto;
	min-height: 0;
	padding: 4mm 6mm 5mm 17mm;
	overflow: hidden;
	position: relative;
}
.flc-content--back { padding-left: 6mm; padding-right: 17mm; }
.flc-blocks { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0 4mm; }
.flc-block { width: 100%; margin-bottom: 1.8mm; }
.flc-block--half { width: calc(50% - 2mm); }

/* Blok: stap-rij */
.flc-step { display: flex; gap: 2.2mm; align-items: flex-start; padding-bottom: 1.4mm; border-bottom: 0.2mm solid #e5e7eb; }
.flc-step > div:last-child { flex: 1 1 auto; min-width: 0; }
.flc-block:last-child .flc-step { border-bottom: none; }
.flc-step .flc-step-letter {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 900;
	font-size: 13pt;
	line-height: 1;
	color: var(--flc-accent);
	min-width: 6mm;
	text-align: center;
	padding-top: .3mm;
}
.flc-step .flc-step-title { font-weight: 700; font-size: 8.5pt; line-height: 1.3; margin-bottom: .4mm; }
.flc-step .flc-step-text  { white-space: pre-line; font-weight: 400; font-size: 8.5pt; line-height: 1.4; color: #333; }

/* Blok: sectiekop */
.flc-section {
	display: flex; align-items: center; gap: 1.5mm;
	font-weight: 800; font-size: 6.5pt; letter-spacing: .08em;
	text-transform: uppercase; color: var(--flc-accent);
	margin-top: 1mm;
}
.flc-section::after { content: ''; flex: 1; height: 0.3mm; background: var(--flc-accent); opacity: .35; }

/* Blok: term/waarde-rijen */
.flc-termvalue { font-size: 8.5pt; line-height: 1.4; }
.flc-termvalue .flc-tv-row { display: flex; gap: 2mm; padding: .5mm 0; border-bottom: 0.2mm dotted #d1d5db; }
.flc-termvalue .flc-tv-row:last-child { border-bottom: none; }
.flc-termvalue .flc-tv-term { font-weight: 700; flex: 0 0 38%; }
.flc-termvalue .flc-tv-value { flex: 1; color: #333; }

/* Blok: checklist */
.flc-checklist { font-size: 8.5pt; line-height: 1.4; }
.flc-checklist .flc-check-row { display: flex; gap: 1.8mm; align-items: flex-start; padding: .6mm 0; }
.flc-checklist .flc-check-box {
	width: 3mm; height: 3mm; flex: 0 0 auto;
	border: 0.35mm solid #111; border-radius: 0.6mm; margin-top: .3mm;
}

/* Blok: tabel */
.flc-table { width: 100%; border-collapse: collapse; font-size: 8pt; line-height: 1.3; }
.flc-table th {
	background: var(--flc-accent); color: #fff;
	font-weight: 700; text-align: left;
	padding: .8mm 1.5mm; font-size: 6.5pt;
}
.flc-table td { padding: .8mm 1.5mm; border-bottom: 0.2mm solid #e5e7eb; vertical-align: top; }
.flc-table tr:nth-child(even) td { background: #f8f9fa; }

/* Blok: afbeelding — vaste hoogte in mm (gezet inline door flc-renderer.js;
   breedte volgt uit de blokbreedte, 82mm vol / 39mm half), zodat een upload
   op de aangegeven maat exact 1:1 print (bijv. een gekalibreerde meetafbeelding). object-fit:contain voorkomt vervorming bij een afwijkende
   beeldverhouding — dan blijft de afbeelding proportioneel en ontstaat er
   witruimte. Controleer de effectieve maat van de beeldinhoud. */
.flc-image { width: 100%; overflow: hidden; border-radius: 1mm; }
.flc-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.flc-image-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	text-align: center; line-height: 1.3;
	border: 0.3mm dashed #9ca3af; border-radius: 1mm;
	color: #6b7280; font-size: 6.5pt;
	background: #f8f9fa;
}
.flc-image-caption { font-size: 6.5pt; color: #666; font-style: italic; margin-top: .8mm; text-align: center; }

/* Blok: keypoint */
.flc-keypoint {
	background: #f1f5f9;
	border-left: 1mm solid var(--flc-accent);
	border-radius: 0 1mm 1mm 0;
	padding: 1.6mm 2mm;
	font-size: 8pt; line-height: 1.4;
}
.flc-keypoint .flc-keypoint-title { font-weight: 800; font-size: 6.5pt; text-transform: uppercase; letter-spacing: .05em; color: var(--flc-accent); margin-bottom: .6mm; }

/* Blok: vrije tekst */
.flc-text { white-space: pre-line; font-size: 8.5pt; line-height: 1.45; color: #222; }

/* Voetnoot "Ook relevant voor" (achterkant) */
.flc-alsofor { font-size: 6.5pt; font-style: italic; color: #666; margin-top: 1mm; }

/* ------------------------------------------------------------------ */
/* Kaartinformatie staat horizontaal onderaan, buiten de actiestappen.
   16,5mm informatieblok achter; de 5mm snijmarge en 17mm boorzone blijven vrij. */
.flc-footer { flex: 0 0 21.5mm; height: 21.5mm; padding: 0 17mm 5mm 6mm; }
.flc-content--back { padding-top: 2mm; padding-bottom: 0; }
.flc-footer-panel { height: 16.5mm; border-top: .3mm solid #cbd5e1; background: #f3f5f7; display: flex; align-items: center; gap: 2mm; padding: .5mm 2mm; }
.flc-footer .flc-qr { flex: 0 0 15mm; width: 15mm; height: 15mm; padding: 2mm; background: #fff; }
.flc-qr img, .flc-qr canvas { width: 100%!important; height: 100%!important; display: block; }
.flc-footer-copy { flex: 1; min-width: 0; max-height: 15mm; color: #374151; line-height: 1.25; }
.flc-footer-brand { font-family: 'Roboto Condensed', sans-serif; font-size: 7pt; font-weight: 900; letter-spacing: .02em; }
.flc-footer-version { font-size: 6pt; margin-top: .6mm; }
.flc-footer-label { font-size: 5.5pt; letter-spacing: .04em; margin-top: .6mm; }
.flc-footer-status { font-size: 5.5pt; margin-top: .4mm; }

/* ------------------------------------------------------------------ */
/* Overflow-indicator (alleen scherm/editor): rode zone waar inhoud    */
/* buiten het kaartformaat valt                                        */
.flc-card--overflow::after {
	content: 'PAST NIET — herverdeel of splits de kaart';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	background: rgba(217,43,58,.92);
	color: #fff;
	font-size: 8pt; font-weight: 800; text-align: center;
	padding: 1.5mm 0;
	z-index: 10;
}

/* ------------------------------------------------------------------ */
/* Embed op de site: voor- en achterkant naast elkaar                  */
.flc-embed { display: flex; flex-wrap: wrap; gap: 8mm; justify-content: center; padding: 4mm 0; }

/* Bestelsectie — eigen call-to-action-blok direct onder de kaart, in de
   accentkleur van déze kaart (--flc-accent, inline gezet per kaart). */
.flc-order-section {
	max-width: 420px; margin: 0 auto 24px; padding: 20px 24px;
	text-align: center; font-family: 'Inter', sans-serif;
	background: #fafafa; border: 1px solid #e5e7eb; border-radius: 8px;
}
.flc-order-section h3 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
	font-size: 14px; margin: 0 0 14px; color: #111;
}
.flc-order-section .flc-order-btn {
	display: inline-block; background: var(--flc-accent, #D92B3A) !important;
	color: #fff !important; padding: 12px 32px; border-radius: 6px;
	font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px;
	text-decoration: none; border: none; cursor: pointer; line-height: 1.2;
}
.flc-order-section .flc-order-btn:hover { opacity: .88; }

/* ------------------------------------------------------------------ */
/* Publieke pagina-aanvullingen (web-only, geen onderdeel van de       */
/* fysieke kaart): verdieping, gerelateerde kaarten, feedbackformulier */
/* en — altijd als laatste — de bronvermelding.                        */
.flc-extras { max-width: 640px; margin: 0 auto; padding: 8px 16px 32px; font-family: 'Inter', sans-serif; }
.flc-extras-section { margin-top: 28px; }
.flc-extras-section h3 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
	font-size: 14px; margin: 0 0 10px; padding-bottom: 6px;
	border-bottom: 2px solid #e5e7eb;
}
.flc-extras-section ul { list-style: none; margin: 0; padding: 0; }
.flc-extras-section li { padding: 6px 0; border-bottom: 1px solid #f0f0f1; font-size: 14px; }
.flc-extras-section li:last-child { border-bottom: none; }
.flc-extras-kind { color: #888; font-size: 12px; margin-left: 6px; }
.flc-extras-section.flc-sources { opacity: .85; }
.flc-extras-section.flc-sources h3 { font-size: 12px; }
.flc-extras-section.flc-sources li { font-size: 12px; }

.flc-extras-section.flc-authors { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flc-authors-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: .05em; }
.flc-author { display: inline-flex; align-items: center; gap: 8px; color: #555; text-decoration: none; font-size: 13px; }
a.flc-author:hover { text-decoration: underline; }
.flc-author-photo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ------------------------------------------------------------------ */
/* PRINT: pagina van 111×154mm = kaart + 3mm bleed rondom.              */
/* De kaart zelf blijft exact 105×148mm; accentstroken lopen af via     */
/* aparte bleed-lagen achter de kaart.                                 */
.flc-print-page {
	width: 111mm;
	height: 154mm;
	position: relative;
	background: #fff;
	overflow: hidden;
	break-after: page;
	page-break-after: always;
	break-inside: avoid;
}
.flc-print-page:last-child { break-after: auto; page-break-after: auto; }
.flc-print-page .flc-bleed-top {
	position: absolute; top: 0; left: 0; right: 0;
	height: 17mm; /* 3mm bleed + 14mm header */
}
.flc-print-page .flc-card {
	position: absolute;
	top: 3mm; left: 3mm;
	border-radius: 0; /* rechthoekige afloop; 5mm rondhoeken zijn fysieke afwerking */
	box-shadow: none;
}

@media print {
	@page { size: 111mm 154mm; margin: 0; }
	body { margin: 0; }
	.flc-no-print { display: none !important; }
	.flc-print-page { margin: 0; }
	body, .flc-card { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Toolbar op de print-pagina (niet mee geprint) */
.flc-print-toolbar {
	position: sticky; top: 0; z-index: 100;
	background: #111; color: #fff;
	padding: 12px 20px;
	font-family: 'Inter', sans-serif; font-size: 13px;
	display: flex; align-items: center; gap: 16px;
	flex-wrap: wrap;
}
.flc-print-toolbar button {
	background: #D92B3A; color: #fff; border: 0;
	padding: 8px 18px; border-radius: 4px;
	font-weight: 700; cursor: pointer; font-size: 13px;
}
.flc-print-toolbar button:disabled { opacity: .5; cursor: not-allowed; }
.flc-print-help { padding: 12px 20px; background: #fff; color: #333; font: 13px/1.5 'Inter', sans-serif; }

/* Real action lists: hanging indent keeps each action visually distinct. */
.flc-step-items { list-style: none; margin: 0; padding: 0; font-size: 8.5pt; line-height: 1.4; color: #333; }
.flc-step-items li { position: relative; padding-left: 3.6mm; margin: 0 0 .5mm; white-space: pre-line; }
.flc-step-items li:last-child { margin-bottom: 0; }
.flc-step-text + .flc-step-items { margin-top: .6mm; }

/* Optional full-width action layout; existing step cards keep their spacing. */
.flc-step--stacked { display:grid; grid-template-columns:6mm 1fr; gap:0 1mm; padding-bottom:1mm; }
.flc-step--stacked > div:last-child { display:contents; }
.flc-step--stacked .flc-step-letter { grid-column:1; grid-row:1; min-width:0; text-align:left; align-self:center; padding:0; font-size:12pt; }
.flc-step--stacked .flc-step-title { grid-column:2; grid-row:1; align-self:center; background:color-mix(in srgb,var(--flc-accent) 8%,white); padding:.35mm 0; margin:0; font-size:9pt; line-height:1.25; }
.flc-step--stacked .flc-step-text { grid-column:1 / -1; margin-top:1mm; }
.flc-step--stacked .flc-step-items { grid-column:1 / -1; min-width:0; width:100%; list-style:none; padding:0; margin-top:1mm; font-size:8.5pt; line-height:1.25; }
.flc-step--stacked .flc-step-items li { position:relative; padding-left:2.8mm; margin-bottom:.15mm; }
.flc-step-items li::before { content:''; position:absolute; left:0; top:.55mm; width:2mm; height:2mm; border:.25mm solid currentColor; border-radius:.25mm; box-sizing:border-box; }
.flc-step--unlabelled > div { min-width:0; flex:1; }
.flc-step--stacked.flc-step--unlabelled .flc-step-title { grid-column:1 / -1; }
.flc-step--stacked .flc-step-items li:last-child { margin-bottom:0; }
.flc-block:has(> .flc-step--stacked) { margin-bottom:1.5mm; }
.flc-block:last-child:has(> .flc-step--stacked) { margin-bottom:0; }
.flc-block:last-child .flc-step--stacked { padding-bottom:0; }

/* Explicit compact spacing; never shrink the text or auto-fit content. */
.flc-step--compact { padding-bottom:.5mm; }
.flc-step--compact .flc-step-title { padding:.2mm 0; }
.flc-step--compact .flc-step-items { margin-top:.5mm; line-height:1.15; }
.flc-step--compact .flc-step-items li { padding-left:2.5mm; }
.flc-block:has(> .flc-step--compact) { margin-bottom:.5mm; }
.flc-block:last-child:has(> .flc-step--compact) { margin-bottom:0; }
.flc-block:last-child .flc-step--compact { padding-bottom:0; }

/* Unified heading band: the marker and title are one visual unit. */
.flc-step--stacked .flc-step-title { background:transparent; padding-left:1mm; padding-right:.6mm; }
.flc-step--stacked .flc-step-letter { text-align:center; font-size:10pt; }
.flc-visual-heading { display:flex; gap:1.5mm; align-items:center; background:color-mix(in srgb,var(--flc-accent) 10%,white); border-left:.65mm solid var(--flc-accent); padding:.7mm 1mm; font-size:8.5pt; line-height:1.2; }
.flc-visual-letter { color:var(--flc-accent); font-size:10pt; min-width:4mm; text-align:center; }
.flc-fields dl { margin:0; }
.flc-fields--roomy .flc-field-row { font-size:10pt; line-height:1.3; padding:2mm 1.3mm; }
.flc-fields--roomy .flc-visual-heading { font-size:10pt; padding:1.2mm 1.3mm; }
.flc-field-row { display:grid; grid-template-columns:36% 1fr; gap:2mm; padding:.8mm 1mm; border-bottom:.2mm solid #dce1e7; font-size:8.5pt; line-height:1.2; break-inside:avoid; }
.flc-field-row:nth-child(even) { background:#f5f7fa; }
.flc-field-row dt { font-weight:600; }
.flc-field-row dd { margin:0; white-space:pre-wrap; }
.flc-field-row dt,.flc-field-row dd { min-width:0; overflow-wrap:anywhere; }
.flc-decision { border:.3mm solid #64748b; border-radius:1mm; font-size:8.5pt; line-height:1.2; break-inside:avoid; }
.flc-decision-condition { padding:.7mm 1.2mm; background:#e9edf2; font-weight:700; border-bottom:.2mm solid #b8c2cf; }
.flc-decision-question { font-weight:700; padding:1mm 1.2mm; }
.flc-decision-checks { list-style:none; padding:0 1.2mm; margin:0 0 1mm; }
.flc-decision-checks li { padding:.3mm 0 .3mm 2.3mm; position:relative; }
.flc-decision-checks li::before { content:'□'; position:absolute; left:0; }
.flc-decision-outcomes { display:grid; grid-template-columns:1fr 1fr; border-top:.25mm solid #64748b; }
.flc-decision-outcomes > div { padding:1mm 1.2mm; display:flex; gap:1mm; align-items:baseline; min-width:0; }
.flc-decision-outcomes > div+div { border-left:.25mm solid #64748b; }
.flc-decision-outcomes b { white-space:nowrap; }
.flc-decision-outcomes span { white-space:pre-wrap; overflow-wrap:anywhere; }
/* Both cells share a continuous background, including in print. */
.flc-step--stacked { column-gap:0; }
.flc-step--stacked .flc-step-letter { background:color-mix(in srgb,var(--flc-accent) 10%,white); align-self:stretch; display:flex; align-items:center; justify-content:center; border-left:.65mm solid var(--flc-accent); }
.flc-step--stacked .flc-step-title { background:color-mix(in srgb,var(--flc-accent) 10%,white); align-self:stretch; display:flex; align-items:center; }
.flc-step--unlabelled .flc-step-title { border-left:.65mm solid var(--flc-accent); }
.flc-decision-checks li { padding-top:.15mm; padding-bottom:.15mm; }
.flc-step--compact .flc-step-text { line-height:1.2; margin-top:.5mm; }

/* Shared action typography and visible parent/child relationships (screen + print). */
.flc-entry-list { font-size:8.5pt; line-height:1.32; color:#20252c; }
.flc-entry-group + .flc-entry-group { margin-top:.8mm; }
.flc-entry { display:flex; gap:1.6mm; align-items:flex-start; min-width:0; }
.flc-entry-marker { flex:0 0 2.6mm; width:2.6mm; line-height:1.32; text-align:center; color:var(--flc-accent); font-weight:700; }
.flc-entry--check .flc-entry-marker { height:2.6mm; border:.25mm solid #242a33; border-radius:.5mm; margin-top:.35mm; }
.flc-entry--bullet .flc-entry-marker { color:currentColor; }
.flc-entry--note .flc-entry-marker { display:none; }
.flc-entry--decision .flc-entry-text,.flc-entry--result .flc-entry-text { font-weight:600; }
.flc-entry-text { flex:1; min-width:0; white-space:pre-line; overflow-wrap:break-word; }
.flc-nested { margin:.7mm 0 1mm 1.3mm; padding:.3mm 0 .9mm 2.7mm; border-left:.2mm solid #cbd3df; border-bottom:.2mm solid #dce2ea; border-radius:0 0 0 .6mm; }
.flc-step--stacked .flc-entry-list { grid-column:1 / -1; width:100%; margin-top:1.2mm; }
.flc-step:not(.flc-step--stacked) .flc-entry-list { margin-top:.8mm; }
.flc-step--heading-only { border-bottom:0; padding-bottom:0; }
.flc-step--heading-only .flc-step-title { margin-bottom:0; }
.flc-step--stacked .flc-step-title { color:var(--flc-title-color, var(--flc-accent)); font-size:8.5pt; font-weight:750; }
.flc-step .flc-step-letter,.flc-visual-letter { color:var(--flc-title-color, var(--flc-accent)); }
.flc-step--stacked .flc-step-title,.flc-step--stacked .flc-step-letter { background:color-mix(in srgb,var(--flc-title-color,var(--flc-accent)) 8%,white); }
.flc-step--stacked .flc-step-letter,.flc-step--unlabelled .flc-step-title { border-left-color:var(--flc-title-color,var(--flc-accent)); }
.flc-section,.flc-keypoint .flc-keypoint-title,.flc-visual-heading strong,.flc-decision-question,.flc-step:not(.flc-step--stacked) .flc-step-title { color:var(--flc-title-color,var(--flc-accent)); }
.flc-section::after { background:var(--flc-title-color,var(--flc-accent)); }
.flc-keypoint { border-left-width:.65mm; padding:1.7mm 2mm; }
.flc-keypoint-text { white-space:pre-line; }
.flc-keypoint .flc-entry-list { margin-top:1mm; }
.flc-attention { display:inline-flex; align-items:center; justify-content:center; width:3mm; height:3mm; border:.25mm solid currentColor; border-radius:50%; font-size:8pt; }
.flc-decision { border:.2mm solid #d2dae5; border-left:.65mm solid var(--flc-title-color,var(--flc-accent)); border-radius:0 .7mm .7mm 0; }
.flc-decision-condition { background:#f1f4f8; border-bottom:0; }
.flc-decision-question { padding:1.2mm 1.5mm; }
.flc-decision > .flc-entry-list { padding:0 1.5mm 1mm; }
.flc-decision-branches { margin:0 1.5mm 1.2mm; border-left:.2mm solid #cbd3df; border-bottom:.2mm solid #dce2ea; padding:0 0 1mm 2mm; }
.flc-decision-branch + .flc-decision-branch { margin-top:1.1mm; }
.flc-decision-branch strong,.flc-decision-branch span { display:block; white-space:pre-line; }
.flc-decision-branch span { margin-top:.4mm; padding-left:2mm; }
/* Explicit density settings: same 8.5pt type; no automatic fitting. */
.flc-step--compact .flc-entry-list { line-height:1.15; margin-top:.5mm; }
.flc-step--compact .flc-entry-marker { line-height:1.15; }
.flc-step--compact .flc-entry-group + .flc-entry-group { margin-top:.15mm; }
.flc-step--compact .flc-nested { margin-top:.25mm; margin-bottom:.2mm; padding-top:.1mm; padding-bottom:.15mm; }
.flc-step--compact { border-bottom:0; padding-bottom:0; }
.flc-step--compact .flc-step-title { padding-top:.1mm; padding-bottom:.1mm; }
.flc-step--tight .flc-entry-list,.flc-step--tight .flc-entry-marker { line-height:1.1; }

/* Helder: one style for the builder, website and print. Legacy cards opt in. */
.flc-card--clear { --flc-body-size:10pt; --flc-heading-size:12pt; --flc-leading:1.2; color:#151a21; }
.flc-card--clear.flc-card--compact { --flc-body-size:8.5pt; --flc-heading-size:9pt; --flc-leading:1.16; }
.flc-card--clear .flc-header { height:12mm;flex-basis:12mm;padding:1.5mm 7mm; }
.flc-card--clear .flc-header .flc-title { font-size:15pt;line-height:1.15; }
.flc-card--clear .flc-header .flc-subtitle { font-size:5.7pt;letter-spacing:.035em;margin-top:.4mm; }
.flc-card--clear .flc-header .flc-icon { width:6.5mm;height:6.5mm; }
.flc-card--clear .flc-content { padding:3.5mm 6mm 5mm 17mm; }
.flc-card--clear .flc-content--back { padding:3mm 17mm 0 6mm; }
.flc-card--clear .flc-block { margin-bottom:0; }
.flc-card--clear .flc-blocks { row-gap:3mm; }
.flc-card--clear .flc-block+.flc-block { margin-top:0; }
.flc-card--clear .flc-step--stacked { grid-template-columns:8mm 1fr;gap:0 1.8mm;padding:0;border:0; }
.flc-card--clear .flc-step--stacked .flc-step-letter { font:900 22pt/1 'Roboto Condensed',sans-serif;min-height:7mm;background:none;border:0;padding:0;align-self:center;justify-content:flex-start; }
.flc-card--clear.flc-card--compact .flc-step-letter { font-size:17pt;min-height:6mm; }
.flc-card--clear .flc-step--stacked .flc-step-title { font:800 var(--flc-heading-size)/1.15 Inter,sans-serif;letter-spacing:.025em;text-transform:uppercase;min-height:7mm;padding:.6mm 0;color:var(--flc-title-color,var(--flc-accent));background:none;border:0; }
.flc-card--clear.flc-card--compact .flc-step-title { min-height:6mm; }
.flc-card--clear .flc-step--stacked .flc-entry-list { margin-top:1.4mm; }
.flc-card--clear .flc-entry-list,.flc-card--clear .flc-step-text,.flc-card--clear .flc-text,.flc-card--clear .flc-termvalue,.flc-card--clear .flc-table,.flc-card--clear .flc-field-row,.flc-card--clear .flc-decision { font-family:Arial,sans-serif;font-size:var(--flc-body-size);line-height:var(--flc-leading);color:#151a21; }
.flc-card--clear .flc-entry { gap:1.8mm; }
.flc-card--clear .flc-entry-marker { width:2.6mm;flex-basis:2.6mm;line-height:var(--flc-leading); }
.flc-card--clear .flc-entry--check .flc-entry-marker { border:.22mm solid #1e2935;border-radius:.65mm;width:2.6mm;height:2.6mm;margin-top:.45mm; }
.flc-card--clear .flc-entry-group+.flc-entry-group { margin-top:.6mm; }
.flc-card--clear.flc-card--compact .flc-entry-group+.flc-entry-group { margin-top:.25mm; }
.flc-card--clear .flc-nested { border-left:.25mm solid #bac6d7;border-bottom:0;border-radius:0;margin:.85mm 0 .9mm 1.3mm;padding:.3mm 0 .2mm 3.2mm; }
.flc-card--clear .flc-keypoint { position:relative;padding:2mm 2.3mm 2.1mm;background:#eef4ff;border:0;border-radius:1.7mm;font:400 var(--flc-body-size)/1.3 Arial,sans-serif;color:#1e2935; }
.flc-card--clear .flc-keypoint:has(.flc-attention) { padding-left:8mm; }
.flc-card--clear .flc-keypoint-title { display:block;font:800 var(--flc-heading-size)/1.2 Inter,sans-serif;letter-spacing:.025em;text-transform:uppercase;color:var(--flc-title-color,var(--flc-accent));margin-bottom:1.1mm; }
.flc-card--clear.flc-card--compact .flc-keypoint-title { font-size:var(--flc-heading-size); }
.flc-card--clear .flc-attention { position:absolute;left:2mm;top:2mm;display:flex;width:4.4mm;height:4.4mm;background:var(--flc-title-color,var(--flc-accent));color:white;border:0;border-radius:1mm;font:800 10pt/1 Inter,sans-serif; }
.flc-card--clear .flc-section,.flc-card--clear .flc-visual-heading { font-size:var(--flc-heading-size);font-weight:800;text-transform:uppercase;line-height:1.2; }
.flc-card--clear .flc-visual-letter { font:900 22pt/1 'Roboto Condensed',sans-serif; }
.flc-card--clear .flc-table th { font-size:var(--flc-body-size);background:#eef4ff;color:#151a21; }
.flc-card--clear .flc-decision-question { font-weight:700; }
.flc-card--clear .flc-decision-branches { display:block; }
.flc-card--clear .flc-footer { height:10.5mm;flex-basis:10.5mm;padding:0 17mm 5mm 6mm; }
.flc-card--clear .flc-footer-panel { height:5.5mm;background:white;border:0;gap:0;padding:0; }
.flc-card--clear .flc-footer .flc-qr { position:absolute;right:2.5mm;bottom:5mm;width:14.5mm;height:14.5mm;padding:0;background:white; }
.flc-card--clear .flc-qr svg { display:block;width:100%;height:100%; }
.flc-card--clear .flc-footer-copy { line-height:1.1;max-height:none; }
.flc-card--clear .flc-footer-brand { font:800 6.7pt/1.1 Inter,sans-serif;letter-spacing:0; }
.flc-card--clear .flc-footer-version { font:400 5.8pt/1.1 Inter,sans-serif;margin-top:.4mm;color:#4b5563; }
.flc-disclaimer { position:absolute;top:calc(var(--flc-hole-middle) - 30mm);left:8.7mm;height:60mm;writing-mode:vertical-rl;transform:rotate(180deg);display:flex;align-items:center;justify-content:center;white-space:nowrap;font:400 5.5pt/1 Inter,sans-serif;color:#9ca3af;letter-spacing:.015em; }
.flc-card--back .flc-disclaimer { left:auto;right:8.7mm; }
.flc-continuation { font:600 7pt/1.2 Inter,sans-serif;color:var(--flc-accent);margin-top:2mm; }
.flc-print-page:has(.flc-card--clear) .flc-bleed-top { height:15mm; }

.flc-card--clear .flc-decision-question {font-size:var(--flc-heading-size);text-transform:uppercase;line-height:1.2;}
.flc-card--clear .flc-decision-branches {border-bottom:0;border-radius:0;}
.flc-card--clear .flc-visual-heading {background:none;border:0;padding:.6mm 0;margin-bottom:1.4mm;gap:1.8mm;}
.flc-card--clear .flc-visual-letter {min-width:8mm;text-align:left;}
.flc-card--clear .flc-table td {font-size:var(--flc-body-size);}
.flc-card--clear .flc-step--unlabelled {grid-template-columns:1fr;}
.flc-card--clear .flc-content--back .flc-continuation:first-child {margin-top:0;margin-bottom:2mm;}

.flc-card--clear .flc-fields--roomy .flc-visual-heading {font-size:var(--flc-heading-size);}

.flc-card--clear.flc-card--compact .flc-blocks {row-gap:2.4mm;}
.flc-card--clear.flc-card--compact .flc-entry-group+.flc-entry-group {margin-top:.2mm;}
.flc-card--clear.flc-card--compact .flc-nested {margin-top:.5mm;margin-bottom:.5mm;}
.flc-card--clear.flc-card--compact .flc-continuation {margin-top:1mm;}
.flc-card--clear.flc-card--compact .flc-content--back .flc-continuation:first-child {margin-top:0;margin-bottom:1mm;}

/* Callout variants are explicit; existing untyped callouts keep their appearance. */
.flc-card--clear .flc-keypoint--info {--flc-callout:#1a56db;background:#eef4ff;}
.flc-card--clear .flc-keypoint--attention {--flc-callout:#1a56db;background:#eef4ff;}
.flc-card--clear .flc-keypoint--warning {--flc-callout:#925400;background:#fff7e6;}
.flc-card--clear .flc-keypoint--tip {--flc-callout:#08746b;background:#edf8f5;}
.flc-card--clear [class*="flc-keypoint--"] .flc-keypoint-title {color:var(--flc-title-color,var(--flc-callout));}
.flc-card--clear [class*="flc-keypoint--"] .flc-attention {background:var(--flc-title-color,var(--flc-callout));}
.flc-card--clear .flc-keypoint--info .flc-attention {border-radius:50%;}
.flc-card--clear .flc-keypoint--warning .flc-attention {clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0;padding-top:.8mm;}
.flc-card--clear .flc-keypoint--tip .flc-attention {border-radius:50%;}
/* Shared square heading geometry: both cells stretch to the same grid row. */
.flc-card--clear .flc-step--band {--flc-head-box:9mm;grid-template-columns:var(--flc-head-box) 1fr;gap:0;}
.flc-card--clear.flc-card--compact .flc-step--band {--flc-head-box:6mm;}
.flc-card--clear .flc-step--band .flc-step-letter {display:grid;place-items:center;place-content:center;align-self:stretch;min-width:0;min-height:var(--flc-head-box);width:var(--flc-head-box);padding:0;margin:0;text-align:center;background:var(--flc-title-color,var(--flc-accent));color:white;border:0;border-radius:0;line-height:1;}
.flc-card--clear.flc-card--compact .flc-step--band .flc-step-letter {font-size:15pt;}
.flc-card--clear .flc-step--band .flc-step-title {display:flex;align-items:center;min-height:var(--flc-head-box);margin:0;padding:.5mm 1.6mm;line-height:1.15;letter-spacing:.01em;background:color-mix(in srgb,var(--flc-title-color,var(--flc-accent)) 9%,white);color:var(--flc-title-color,#172132);border:0;border-radius:0;}
.flc-card--clear .flc-step--band.flc-step--unlabelled {grid-template-columns:1fr;}
.flc-card--clear .flc-fields--band .flc-visual-heading {--flc-head-box:9mm;display:grid;grid-template-columns:var(--flc-head-box) 1fr;gap:0;padding:0;background:color-mix(in srgb,var(--flc-title-color,var(--flc-accent)) 9%,white);}
.flc-card--clear.flc-card--compact .flc-fields--band .flc-visual-heading {--flc-head-box:6mm;}
.flc-card--clear .flc-fields--band .flc-visual-letter {display:grid;place-items:center;place-content:center;min-height:var(--flc-head-box);min-width:0;align-self:stretch;background:var(--flc-title-color,var(--flc-accent));color:white;}
.flc-card--clear.flc-card--compact .flc-fields--band .flc-visual-letter {font-size:15pt;}
.flc-card--clear .flc-fields--band .flc-visual-heading strong {padding:.5mm 1.6mm;color:var(--flc-title-color,#172132);align-self:center;}
.flc-card--clear .flc-fields--band .flc-visual-heading:not(:has(.flc-visual-letter)) {grid-template-columns:1fr;min-height:var(--flc-head-box);}
/* Secondary identity is grey; the code itself keeps full black/white contrast. */
.flc-card--clear .flc-footer-copy {color:#8a929c;}
.flc-card--clear .flc-footer-brand {color:#7b8490;}
.flc-card--clear .flc-footer-version {color:#8a929c;}

/* One subject can contain six physical cards. Single-card geometry stays unchanged. */
.flc-header-marker{display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:.3mm;min-width:8mm;}
.flc-part-number{font:700 6.5pt/1 'Inter',sans-serif;white-space:nowrap;color:inherit;}
.flc-embed--multi{display:block;}
.flc-physical-card{display:flex;flex-wrap:wrap;justify-content:center;gap:8mm;scroll-margin-top:24px;margin:0 0 32px;}
.flc-part-heading{flex:0 0 100%;margin:0;font:700 20px/1.3 'Roboto Condensed',sans-serif;}
.flc-parts-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;}
.flc-parts-nav a{padding:9px 12px;border:1px solid currentColor;text-decoration:none;color:inherit;font:600 14px/1.3 'Inter',sans-serif;}
.flc-parts-nav a:focus-visible{outline:3px solid #1a56db;outline-offset:3px;}
