/* ============================================================
   LEAGL Website Compliance Scanner — Huisstijl CSS
   Primary: #5245AD | Navy: #222035 | Goud: #C8A96E
   Match met leagl.be (Roboto, paars accent)
   ============================================================ */

:root {
  --lg-blue: #5245AD;
  --lg-blue-light: #ECEAF6;
  --lg-navy: #222035;
  --lg-gold: #C8A96E;
  --lg-gray-bg: #F8F7FC;
  --lg-gray-border: #E0DDD6;
  --lg-gray-text: #6B7280;
  --lg-white: #FFFFFF;
}
  --navy: #222035;
  --navy-light: #2D2A47;
  --navy-lighter: #3A3660;
  --gold: #C8A96E;
  --gold-dark: #8A6830;
  --gold-light: #F7F5F0;
  --white: #FFFFFF;
  --gray-50: #F7F5F0;
  --gray-100: #F0EDE7;
  --gray-200: #E0DDD6;
  --gray-300: #CCC9C2;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1A1A1A;
  --red: #DC2626;
  --red-dark: #B91C1C;
  --red-bg: #FEE2E2;
  --red-bd: #FECACA;
  --orange: #D97706;
  --orange-bg: #FEF3C7;
  --orange-bd: #FDE68A;
  --green: #C8A96E;
  --green-light: #F7F5F0;
  --blue-info: #1D4ED8;
  --blue-info-bg: #DBEAFE;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FFFFFF;
  color: #1A1A1A;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--navy); }

/* =================== NAVIGATIE =================== */
.nav, .nav-light {
  background: #FFFFFF;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid #E0DDD6;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand, .nav-brand-light {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.brand-leagl { color: var(--navy); }
.nav-brand-light sup { font-size: 9px; font-weight: 500; color: var(--gray-500); vertical-align: super; }
.nav-brand-light span { color: var(--gold); }

.nav-links-light {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links-light a, .nav-link-btn {
  color: var(--gray-500);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.nav-links-light a:hover, .nav-link-btn:hover { color: var(--navy); }

.nav-dash-btn {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  transition: var(--transition);
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.nav-dash-btn:hover { background: var(--navy-lighter) !important; }

/* =================== KNOPPEN =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--navy-lighter);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,26,46,0.3);
}

.btn-primary.lg { padding: 0.85rem 1.75rem; font-size: 0.95rem; }

.btn-scan-cta, .btn-scan-cta.full {
  width: 100%;
  display: block;
  padding: 0.9rem 1.5rem;
  background: var(--navy);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-scan-cta:hover {
  background: var(--navy-lighter);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,26,46,0.3);
}

.btn-scan-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =================== LANDING PAGINA =================== */
.landing-light body, body.landing-light { background: #FFFFFF; }

.hero-light {
  background: #F7F5F0;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-light-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-light-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { order: -1; }
}

.hero-left { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.35);
  color: #8A6830;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: #1A1A1A;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero-title span { color: var(--gold); }

.hero-checklist {
  list-style: none;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.check-icon {
  width: 22px;
  height: 22px;
  background: rgba(200,169,110,0.15);
  color: var(--gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-trust-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Form card */
.scan-form-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-card-header-scan {
  background: var(--navy);
  padding: 1.25rem 1.75rem;
}

.form-card-header-scan h2 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.form-card-header-scan p {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
}

.form-card-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field { display: flex; flex-direction: column; gap: 0.3rem; }

.field input, .field select, .field textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--gray-800);
  background: white;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.field input:focus, .field select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,26,46,0.08);
}

.field input::placeholder { color: var(--gray-400); }

.error-msg {
  font-size: 0.75rem;
  color: var(--red);
  display: none;
}

.field.has-error input { border-color: var(--red); }
.field.has-error .error-msg { display: block; }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.consent-box-light {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.85rem 1rem;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

.consent-box-light input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}

.consent-box-light label {
  font-size: 0.8rem;
  color: var(--gray-600);
  cursor: pointer;
  line-height: 1.5;
}

.consent-box-light label a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

/* Trust section below form */
.trust-section {
  max-width: 1020px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-card h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0.25rem; }
.trust-card p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; }

/* =================== LOADING PAGINA =================== */
.loading-page, .loading-page-light {
  min-height: 100vh;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem 7rem;
}

.loading-card, .loading-card-light {
  background: #FFFFFF;
  border: 1px solid #E0DDD6;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

/* Spinner */
.spinner-wrap, .spinner-wrap-light {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.75rem;
  position: relative;
}

.loading-scanner { width: 80px; height: 80px; margin: 0 auto 2rem; position: relative; }

.loading-ring, .spinner-ring-light {
  width: 80px;
  height: 80px;
  border: 3px solid #E0DDD6;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
}

.loading-ring-2, .spinner-ring-2-light {
  width: 60px;
  height: 60px;
  border: 3px solid #F0EDE7;
  border-bottom-color: rgba(200,169,110,0.4);
  border-radius: 50%;
  animation: spin 1.5s linear infinite reverse;
  position: absolute;
  top: 10px;
  left: 10px;
}

.loading-icon-center, .spinner-icon-light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-card h2, .loading-card-light h2 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.loading-card > p, .loading-card-light > p {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
}

/* Loading steps */
.loading-steps, .loading-steps-light {
  text-align: left;
  margin-bottom: 1.75rem;
}

.loading-step, .loading-step-light {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 0;
  border-bottom: 1px solid #E0DDD6;
  opacity: 0.4;
  transition: var(--transition);
}

.loading-step:last-child, .loading-step-light:last-child { border-bottom: none; }

.loading-step.active, .loading-step-light.active { opacity: 1; }
.loading-step.done, .loading-step-light.done { opacity: 0.7; }

.step-icon, .step-icon-light {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: #F0EDE7;
  color: var(--gray-400);
}

.loading-step.active .step-icon,
.loading-step-light.active .step-icon-light {
  background: rgba(200,169,110,0.2);
  color: var(--gold-dark);
  animation: pulse-icon 1.5s ease-in-out infinite;
}

.loading-step.done .step-icon,
.loading-step-light.done .step-icon-light {
  background: rgba(200,169,110,0.15);
  color: var(--gold);
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.step-text { flex: 1; }
.step-label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.step-sub, .step-sublabel { font-size: 0.75rem; color: var(--gray-500); }
.loading-step.active .step-sub,
.loading-step-light.active .step-sub { color: var(--gray-600); }

/* Progress bar */
.progress-bar-wrap, .progress-wrap-light {
  background: #E0DDD6;
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
}

.progress-bar, .progress-fill-light {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 100px;
  width: 0%;
  transition: width 0.5s ease;
}

.progress-label, .progress-pct {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: right;
  margin-top: 6px;
}

/* =================== RESULTATEN PAGINA =================== */
.results-page { background: #FFFFFF; min-height: 100vh; }

.results-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
}

/* Score hero */
.score-hero {
  background: #222035;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.score-hero h2 { color: #FFFFFF; }
.score-hero .badge-gray { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }

.score-circle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
}

.score-circle-wrap svg { transform: rotate(-90deg); }

.score-circle-bg {
  fill: none;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 5;
}

.score-circle-fill {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.score-circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1;
}

.score-num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.score-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.score-info { flex: 1; min-width: 0; }

.score-summary {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.score-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.score-meta a { color: #C8A96E !important; }

/* Contact confirm */
.contact-confirm {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.badge-critical { background: var(--red-bg); color: var(--red-dark); }
.badge-high { background: var(--orange-bg); color: #92400E; }
.badge-medium { background: var(--orange-bg); color: var(--orange); }
.badge-low { background: rgba(200,169,110,0.15); color: var(--gold-dark); }
.badge-green { background: rgba(107,174,138,0.15); color: #2D7A56; }
.badge-navy { background: rgba(26,26,46,0.08); color: var(--navy); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* Urgent actions */
.urgent-actions {
  background: #FFF1F1;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.urgent-header {
  background: var(--red);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.urgent-header h3 { color: white; font-size: 0.95rem; }

.urgent-body { padding: 0.75rem 1rem; }

.urgent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.45rem 0;
  border-bottom: 1px solid #FECACA;
}

.urgent-item:last-child { border-bottom: none; }

.urgent-num {
  width: 24px;
  height: 24px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.urgent-text h4 { font-size: 0.88rem; color: var(--gray-800); margin-bottom: 3px; }
.urgent-text p { font-size: 0.78rem; color: #991B1B; }

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Cards */
.card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.pillar-name { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }
.pillar-score { font-size: 1.1rem; font-weight: 800; }
.pillar-weight { font-size: 0.72rem; color: var(--gray-400); margin-top: 4px; }

.progress-bar-wrap { background: var(--gray-100); border-radius: 100px; height: 6px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 100px; transition: width 1s ease; }
.pbar-green { background: #6BAE8A; }
.pbar-orange { background: var(--orange); }
.pbar-red { background: var(--red); }

/* Findings */
.finding-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.finding-head {
  padding: 0.9rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  background: white;
  transition: background 0.15s;
}

.finding-head:hover { background: var(--gray-50); }

.finding-head-text { flex: 1; }
.finding-head-title { font-size: 0.88rem; font-weight: 600; color: var(--gray-800); margin-top: 4px; }

.finding-chevron {
  font-size: 0.65rem;
  color: var(--gray-400);
  transition: transform 0.2s;
  margin-top: 6px;
  flex-shrink: 0;
}

.finding-card.open .finding-chevron { transform: rotate(180deg); }

.finding-body {
  display: none;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.finding-card.open .finding-body { display: block; }
.finding-body p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.55; margin-bottom: 0.75rem; }

.finding-meta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.finding-meta-item {
  font-size: 0.77rem;
  color: var(--gray-500);
}

.finding-meta-item strong { color: var(--gray-700); }

/* Quick wins */
.qw-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow-sm);
}

.qw-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.9rem 1rem;
  background: var(--gold-light);
  border-bottom: 1px solid var(--gray-200);
}

.qw-num {
  width: 26px;
  height: 26px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qw-head-text h4 { font-size: 0.88rem; color: var(--navy); }

.qw-body { padding: 0.9rem 1rem; }
.qw-body p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; margin-bottom: 0.6rem; }

.qw-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
  border: 1px solid;
}

.alert-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.alert-green { background: rgba(107,174,138,0.08); border-color: rgba(107,174,138,0.25); color: #1A4730; }
.alert-green strong { color: #1A4730; }
.alert-red { background: var(--red-bg); border-color: var(--red-bd); color: var(--red-dark); }
.alert-red strong { color: var(--red-dark); }
.alert-navy { background: rgba(26,26,46,0.05); border-color: rgba(26,26,46,0.15); color: var(--navy); }
.alert-navy strong { color: var(--navy); }

/* CTA banner */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-banner h3 { color: white; font-size: 1.05rem; margin-bottom: 0.3rem; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 0.85rem; max-width: 500px; }

/* Disclaimer */
.disclaimer-bar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0.85rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.disclaimer-bar .icon { flex-shrink: 0; }

/* =================== ERROR PAGINA =================== */
.error-page {
  max-width: 500px;
  margin: 6rem auto;
  text-align: center;
  padding: 2rem;
}

.error-page h1 { font-size: 4rem; color: var(--navy); margin-bottom: 0.5rem; }
.error-page p { color: var(--gray-500); margin-bottom: 1.5rem; }

/* =================== LOGIN PAGINA =================== */
.login-page {
  min-height: 100vh;
  background: #F7F5F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-card {
  background: #FFFFFF;
  border: 1px solid #E0DDD6;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.login-logo { text-align: center; margin-bottom: 2rem; }

.login-logo-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
}

.login-logo h2 { color: var(--navy); font-size: 1.1rem; }
.login-logo p { color: var(--gray-500); font-size: 0.85rem; }

.login-card label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); display: block; margin-bottom: 4px; }

.login-card input {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #E0DDD6;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: #1A1A1A;
  background: white;
  width: 100%;
  outline: none;
  transition: var(--transition);
}

.login-card input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
}

.login-card input::placeholder { color: var(--gray-400); }

.login-error {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #991B1B;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 1rem;
  display: none;
}

/* =================== DASHBOARD =================== */
.dashboard-layout { display: flex; min-height: 100vh; }

.dashboard-sidebar {
  width: 240px;
  background: #FFFFFF;
  border-right: 1px solid #E0DDD6;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-brand { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid #E0DDD6; margin-bottom: 1rem; }
.sidebar-brand h3 { color: var(--navy); font-size: 0.95rem; }
.sidebar-brand p { color: var(--gray-500); font-size: 0.78rem; }

.sidebar-nav { flex: 1; padding: 0 0.75rem; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 2px;
}

.nav-item:hover { background: var(--gray-50); color: var(--navy); }
.nav-item.active { background: rgba(200,169,110,0.12); color: var(--navy); font-weight: 600; }

.sidebar-footer { padding: 1rem 1.5rem 0; border-top: 1px solid #E0DDD6; }

.dashboard-main { flex: 1; overflow: auto; }

.dashboard-header {
  background: white;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-header h1 { font-size: 1.2rem; color: var(--navy); }
.dashboard-header p { font-size: 0.83rem; color: var(--gray-500); }

.dashboard-body { padding: 2rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: white;
  border: 1px solid #E0DDD6;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.stat-card { border-top: 3px solid #C8A96E; }
.stat-card-link { display: block; text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.stat-card-link:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.10); border-color: #C8A96E; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500); margin-bottom: 0.5rem; }
.stat-sub { font-size: 0.8rem; color: var(--gray-400); }

/* Table card */
.table-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid #E0DDD6; overflow: hidden; }
.table-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E0DDD6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.table-card-header h3 { font-size: 0.95rem; color: var(--navy); }

/* Sidebar extras */
.nav-section-label {
  font-size: 0.68rem; font-weight: 700; color: #9CA3AF;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.75rem 1rem 0.25rem;
}
.btn-logout {
  display: block; width: 100%; padding: 0.6rem 1rem;
  background: none; border: 1.5px solid #E0DDD6; border-radius: 8px;
  color: var(--gray-500); font-size: 0.83rem; font-weight: 600;
  cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: inherit; text-align: center; text-decoration: none;
}
.btn-logout:hover { border-color: #DC2626; color: #DC2626; background: #FEF2F2; }

/* Login page */
.db-login-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem; background: #FFFFFF;
}
.db-login-card {
  background: #fff; border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid #E0DDD6; border-top: 3px solid #5245AD;
  padding: 2.5rem; max-width: 400px; width: 100%;
}
.db-login-card label { color: #374151; font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 0.35rem; }
.db-login-card input { background: #FFFFFF; border-color: #E0DDD6; color: #1A1A1A; }
.db-login-card input:focus { border-color: #C8A96E; box-shadow: 0 0 0 3px rgba(200,169,110,0.15); }
.btn-db-login {
  width: 100%; padding: 0.85rem; background: #222035; color: white;
  border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.04em; cursor: pointer; transition: background 0.2s;
  font-family: inherit; text-transform: uppercase;
}
.btn-db-login:hover { background: #2A2A4E; }
.db-login-error {
  background: #FEE2E2; border: 1px solid #FECACA; color: #B91C1C;
  padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.85rem;
  margin-top: 1rem; display: none;
}

/* Table */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #E0DDD6;
  text-align: left;
  background: var(--gray-50);
}

td {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

tr:hover td { background: var(--gray-50); }

/* =================== ANIMATIES =================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.4s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* =================== PRINT =================== */
@media print {
  .no-print { display: none !important; }
  .nav, .nav-light { position: static; }
  .tab-panel { display: block !important; }
  .tabs-nav { display: none; }
  .finding-body { display: block !important; }
  .urgent-header {
    background: var(--red) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .urgent-header h3 { color: white !important; }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 640px) {
  .score-hero { flex-direction: column; text-align: center; }
  .hero-light { padding: 2.5rem 1.25rem; }
  .results-layout { padding: 1rem; }
  .cta-banner { flex-direction: column; text-align: center; }
  .nav, .nav-light { padding: 0 1rem; }
  .nav-links-light { gap: 0.75rem; }
  .dashboard-sidebar { display: none; }
}

/* ============================================================
   LG- COMPONENTS — Contract Scanner Exact Match
   ============================================================ */

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== LG Navigatie (3-kolom grid zoals contract scanner) ===== */
.lg-nav {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0px 4px 12px 0px rgba(82,69,173,0.10);
  padding: 0.75vw 1.5vw;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.lg-nav-inner {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.lg-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.lg-brand-logo {
  height: 95px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .lg-brand-logo { height: 46px; }
}

.lg-nav-tagline {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--lg-blue);
  text-transform: uppercase;
  text-align: center;
  grid-column: 2;
  white-space: nowrap;
}

.lg-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.lg-nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--lg-blue);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.lg-nav-link:hover { opacity: 0.65; }

.lg-nav-icon {
  color: var(--lg-blue);
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lg-nav-icon:hover { opacity: 1; }

.lg-nav-dash {
  background: var(--lg-navy);
  color: #FFFFFF !important;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.lg-nav-dash:hover { background: #2A2A4E; }

@media (max-width: 860px) {
  .lg-nav-links { display: none; }
  .lg-nav-inner { grid-template-columns: 1fr auto; }
  .lg-nav-tagline { display: none; }
}

/* ===== LG Hero ===== */
.lg-hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 0 2rem 6rem;
  background: #FFFFFF;
}

.lg-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .lg-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .lg-hero { padding: 2rem 1.25rem; align-items: flex-start; }
}

/* ===== LG Headline ===== */
.lg-headline {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--lg-blue);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.lg-headline span {
  color: var(--lg-blue);
}

.lg-headline .lg-headline-sub {
  color: #1A1A1A;
}

/* ===== LG Bullets ===== */
.lg-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lg-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #1A1A1A;
  font-weight: 400;
  line-height: 1.6;
}

.lg-bullets li svg {
  color: var(--lg-blue);
  flex-shrink: 0;
}

/* ===== LG Trust badges ===== */
.lg-trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.lg-trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--lg-gray-border);
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1A1A1A;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.lg-trust-badge svg { color: var(--lg-blue); flex-shrink: 0; }

/* ===== LG Form card ===== */
.lg-form-card {
  background: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  overflow: hidden;
  border: 1px solid var(--lg-gray-border);
  border-top: 3px solid var(--lg-blue);
  padding: 2rem;
}

/* ── Language switcher ───────────────────────────────────── */
.lg-lang-switch {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.lg-lang-btn {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lg-lang-btn:hover {
  background: #e5e7eb;
  color: #222035;
}
.lg-lang-btn.active {
  background: #222035;
  color: #fff;
  border-color: #222035;
}

.lg-field {
  margin-bottom: 0.75rem;
  position: relative;
}

.lg-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.lg-input {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--lg-gray-border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--lg-navy);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}

.lg-input:focus {
  border-color: var(--lg-blue);
  box-shadow: 0 0 0 3px rgba(82,69,173,0.12);
}

.lg-input::placeholder { color: #94A3B8; }

/* GDPR */
.lg-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--lg-gray-text);
  line-height: 1.5;
  margin-bottom: 1rem;
  cursor: pointer;
}

.lg-gdpr input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 1px;
  accent-color: var(--lg-blue);
  cursor: pointer;
}

.lg-gdpr a { color: var(--lg-blue); font-weight: 600; text-decoration: none; }

/* CTA knop */
.lg-cta {
  width: 100%;
  padding: 0.9rem;
  background: var(--lg-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  font-family: inherit;
  text-transform: uppercase;
}

.lg-cta:hover {
  background: #3d3190;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(82,69,173,0.35);
}

.lg-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Error msg */
.lg-field .error-msg {
  font-size: 0.75rem;
  color: #DC2626;
  display: none;
  margin-top: 3px;
}

.lg-field.has-error .lg-input { border-color: #DC2626; }
.lg-field.has-error .error-msg { display: block; }

/* ===== LG Footer ===== */
.lg-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: #6B7280;
  background: #FFFFFF;
  border-top: 1px solid #E0DDD6;
}

.lg-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  margin-bottom: 0.75rem;
}

.lg-footer-links a { color: var(--lg-blue); text-decoration: none; font-weight: 500; }
.lg-footer-links a:hover { text-decoration: underline; }
.lg-footer-links span { color: #E0DDD6; }
.lg-footer-disclaimer { font-size: 0.75rem; color: #9CA3AF; margin-top: 0.5rem; }

/* ============================================================
   DASHBOARD COMPONENTEN
   ============================================================ */

/* Card elevated (login) */
.card-elevated {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  border: 1px solid #E0DDD6;
}

.card-elevated h2 { color: #222035; }
.card-elevated p { color: #6B7280; }
.card-elevated label { font-size: 0.85rem; font-weight: 600; color: #374151; display: block; margin-bottom: 4px; }
.card-elevated input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #E0DDD6;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #222035;
  background: #FFFFFF;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
  margin-bottom: 12px;
}
.card-elevated input:focus { border-color: #5245AD; box-shadow: 0 0 0 3px rgba(82,69,173,0.12); }

.nav-brand-icon {
  width: 28px;
  height: 28px;
  background: #222035;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Dashboard layout */
.dashboard-layout { display: flex; min-height: 100vh; background: #F7F5F0; }

/* Sidebar */
.sidebar {
  width: 220px;
  background: #222035;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 8px;
}

.sidebar-nav { flex: 1; padding: 8px 12px; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 2px;
}

.sidebar-link:hover { background: rgba(255,255,255,0.07); color: #FFFFFF; }
.sidebar-link.active { background: rgba(61,82,168,0.35); color: #FFFFFF; font-weight: 600; }
.sidebar-icon { font-size: 1rem; }

/* Main content */
.dash-main { flex: 1; overflow: auto; min-width: 0; }

.dash-topbar {
  background: #FFFFFF;
  padding: 14px 24px;
  border-bottom: 1px solid #E0DDD6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.dash-topbar h2 { font-size: 1.05rem; color: #222035; font-weight: 700; }

.dash-body { padding: 24px; }

/* KPI grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 1000px) { .kpi-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

.kpi-card {
  background: #FFFFFF;
  border: 1px solid #E0DDD6;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.kpi-label { font-size: 0.75rem; font-weight: 600; color: #6B7280; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.kpi-value { font-size: 1.75rem; font-weight: 800; color: #222035; }
.kpi-red .kpi-value { color: #DC2626; }
.kpi-orange .kpi-value { color: #D97706; }
.kpi-green .kpi-value { color: #16A34A; }

/* Data table */
.data-table-wrap {
  background: #FFFFFF;
  border: 1px solid #E0DDD6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.data-table-toolbar {
  padding: 12px 16px;
  border-bottom: 1px solid #E0DDD6;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.data-table-toolbar input,
.data-table-toolbar select {
  padding: 7px 12px;
  border: 1.5px solid #E0DDD6;
  border-radius: 7px;
  font-size: 0.85rem;
  color: #222035;
  background: #FFFFFF;
  outline: none;
  font-family: inherit;
}

.data-table-toolbar input { min-width: 240px; }
.data-table-toolbar input:focus,
.data-table-toolbar select:focus { border-color: #5245AD; }

.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  padding: 10px 16px;
  border-bottom: 1px solid #E0DDD6;
  text-align: left;
  background: #F7F5F0;
}

.data-table td {
  font-size: 0.85rem;
  color: #374151;
  padding: 11px 16px;
  border-bottom: 1px solid #F0EDE7;
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: #F7F5F0; cursor: pointer; }

/* Detail grid */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }

/* Info panel */
.info-panel {
  background: #FFFFFF;
  border: 1px solid #E0DDD6;
  border-radius: 10px;
  padding: 16px;
}

.info-panel h3 { font-size: 0.88rem; color: #222035; margin-bottom: 12px; }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px solid #F0EDE7;
  font-size: 0.82rem;
}

.info-row:last-child { border-bottom: none; }
.info-label { color: #6B7280; font-weight: 500; flex-shrink: 0; margin-right: 12px; }
.info-value { color: #222035; font-weight: 500; text-align: right; }

/* Form elements in dashboard */
.field { margin-bottom: 12px; }
.field label, .status-select + label { font-size: 0.82rem; font-weight: 600; color: #374151; display: block; margin-bottom: 4px; }

.status-select, .notes-area {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #E0DDD6;
  border-radius: 7px;
  font-size: 0.85rem;
  color: #222035;
  background: #FFFFFF;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.status-select:focus, .notes-area:focus { border-color: #5245AD; }
.notes-area { min-height: 80px; resize: vertical; }

/* Buttons in dashboard */
.btn-dark, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-dark { background: #222035; color: #FFFFFF; }
.btn-dark:hover { background: #2A2A4E; }
.btn-secondary { background: #FFFFFF; color: #222035; border: 1.5px solid #E0DDD6; }
.btn-secondary:hover { border-color: #222035; background: #F7F5F0; }
.btn-dark.full, .btn-secondary.full { width: 100%; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #E0DDD6;
  font-size: 0.82rem;
  color: #6B7280;
}

.pagination-btns { display: flex; gap: 4px; }

.page-btn {
  padding: 5px 10px;
  border: 1px solid #E0DDD6;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}

.page-btn:hover, .page-btn.active { background: #222035; color: #FFFFFF; border-color: #222035; }

/* badge-orange */
.badge-orange { background: #FEF3C7; color: #92400E; }

/* ============================================================
   LEAGL Report — Design System (rpt-*)
   Fonts: Roboto (body) · Roboto Mono (labels/meta/code)
   ============================================================ */

body.rpt-page {
  font-family: 'Roboto', sans-serif;
  background: #F5F2EC;
  color: #0A0F1E;
  font-size: 15px;
}

/* Animations */
@keyframes rptFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rpt-a  { animation: rptFadeUp 0.4s ease both; }
.rpt-d1 { animation-delay: 0.05s; }
.rpt-d2 { animation-delay: 0.15s; }
.rpt-d3 { animation-delay: 0.25s; }

/* Wrapper */
.rpt-wrap {
  --rpt-navy:        #222035;
  --rpt-navy-mid:    #2D2A47;
  --rpt-blue:        #2E5FA3;
  --rpt-blue-light:  #3D7DD4;
  --rpt-cream:       #F5F2EC;
  --rpt-cream-dark:  #EAE6DC;
  --rpt-ink:         #0A0F1E;
  --rpt-muted:       #6B7280;
  --rpt-red:         #C0392B;
  --rpt-red-light:   #FDECEA;
  --rpt-amber:       #D97706;
  --rpt-amber-light: #FEF3C7;
  --rpt-green:       #166534;
  --rpt-green-mid:   #16A34A;
  --rpt-green-light: #DCFCE7;
  --rpt-border:      rgba(15,31,61,0.12);
}

/* ── Top bar ───────────────────────────────────────────────── */
.rpt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 48px;
  background: var(--rpt-cream-dark);
  border-bottom: 1px solid var(--rpt-border);
}
.rpt-topbar-actions { display: flex; gap: 10px; align-items: center; }
.rpt-topbar-btn {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--rpt-border);
  background: #FFFFFF;
  color: var(--rpt-navy);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.rpt-topbar-btn:hover { background: var(--rpt-cream-dark); }

/* ── Header ────────────────────────────────────────────────── */
.rpt-header {
  background: var(--rpt-navy);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,31,61,0.35);
}
.rpt-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,95,163,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.rpt-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.rpt-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rpt-logo {
  display: flex;
  align-items: center;
}
.rpt-logo img {
  height: 53px;
  width: auto;
  display: block;
}
.rpt-header-meta {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.7;
}
.rpt-header-body {
  padding: 32px 48px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.rpt-header-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rpt-blue-light);
  margin-bottom: 8px;
}
.rpt-client-name {
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.rpt-client-url {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}
.rpt-tag-row { display: flex; gap: 8px; margin-top: 14px; }
.rpt-tag {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.5);
}

/* ── Gauge ─────────────────────────────────────────────────── */
.rpt-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.rpt-gauge-top-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.rpt-gauge-svg { width: 200px; height: 110px; overflow: visible; }
.rpt-verdict {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(22,101,52,0.25);
  border: 1px solid rgba(22,101,52,0.45);
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #86EFAC;
}
.rpt-verdict::before { content: '●'; font-size: 7px; color: #4ADE80; }
.rpt-verdict.blue  { background: rgba(46,95,163,0.25); border-color: rgba(46,95,163,0.45); color: #93c5fd; }
.rpt-verdict.blue::before  { color: #60a5fa; }
.rpt-verdict.amber { background: rgba(217,119,6,0.25);  border-color: rgba(217,119,6,0.45);  color: #fcd34d; }
.rpt-verdict.amber::before { color: #fbbf24; }
.rpt-verdict.red   { background: rgba(192,57,43,0.25);  border-color: rgba(192,57,43,0.45);  color: #fca5a5; }
.rpt-verdict.red::before   { color: #f87171; }

/* ── Body ──────────────────────────────────────────────────── */
.rpt-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 48px;
}

/* ── Section label ─────────────────────────────────────────── */
.rpt-section-block { display: block; }

.rpt-section-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rpt-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rpt-section-label::after { content: ''; flex: 1; height: 1px; background: var(--rpt-border); }

/* ── Score matrix ──────────────────────────────────────────── */
.rpt-score-matrix {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-bottom: 32px;
  background: var(--rpt-border);
  border: 1px solid var(--rpt-border);
}
.rpt-matrix-cell {
  background: white;
  padding: 16px 14px 18px;
  position: relative;
}
.rpt-matrix-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rpt-ink);
  margin-bottom: 8px;
  line-height: 1.4;
}
.rpt-matrix-score {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.rpt-matrix-weight {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  color: var(--rpt-muted);
  margin-top: 5px;
}
.rpt-score-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--rpt-cream-dark); }
.rpt-score-bar-fill { height: 100%; }
.rpt-s-green { color: var(--rpt-green-mid); }
.rpt-s-blue  { color: var(--rpt-blue); }
.rpt-s-amber { color: var(--rpt-amber); }
.rpt-s-red   { color: var(--rpt-red); }

/* ── Findings ──────────────────────────────────────────────── */
.rpt-findings { display: flex; flex-direction: column; gap: 2px; margin-bottom: 32px; }
.rpt-finding-card {
  background: white;
  border-left: 3px solid transparent;
  display: grid;
  grid-template-columns: 190px 1fr 110px;
}
.rpt-finding-card.high     { border-left-color: var(--rpt-red); }
.rpt-finding-card.critical { border-left-color: var(--rpt-red); }
.rpt-finding-card.medium   { border-left-color: var(--rpt-amber); }
.rpt-finding-sev {
  padding: 18px 14px;
  border-right: 1px solid var(--rpt-border);
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #FAFAFA;
}
.rpt-sev-badge {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 2px 7px;
  width: fit-content;
}
.rpt-sev-badge.high, .rpt-sev-badge.critical { color: var(--rpt-red);   background: var(--rpt-red-light); }
.rpt-sev-badge.medium { color: var(--rpt-amber); background: var(--rpt-amber-light); }
.rpt-finding-cat {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rpt-muted);
  line-height: 1.4;
}
.rpt-finding-body { padding: 18px 22px; }
.rpt-finding-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--rpt-ink);
  margin-bottom: 5px;
  line-height: 1.2;
}
.rpt-finding-desc { font-size: 12px; color: var(--rpt-muted); line-height: 1.6; }
.rpt-finding-meta {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rpt-border);
}
.rpt-meta-key {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rpt-muted);
  display: block;
  margin-bottom: 2px;
}
.rpt-meta-val {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: var(--rpt-ink);
}
.rpt-finding-effort {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 3px;
  border-left: 1px solid var(--rpt-border);
}
.rpt-effort-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rpt-muted);
}
.rpt-effort-value {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: var(--rpt-ink);
  font-weight: 500;
}

/* ── Strengths ─────────────────────────────────────────────── */
.rpt-strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 32px;
  background: var(--rpt-border);
  border: 1px solid var(--rpt-border);
}
.rpt-strength-item {
  background: var(--rpt-green-light);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-left: 3px solid var(--rpt-green-mid);
}
.rpt-strength-icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; color: var(--rpt-green-mid); }
.rpt-strength-text { font-size: 12px; color: var(--rpt-green); line-height: 1.45; }

/* ── Scripts ───────────────────────────────────────────────── */
.rpt-scripts { display: flex; gap: 2px; margin-bottom: 32px; flex-wrap: wrap; }
.rpt-script-pill {
  background: white;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rpt-ink);
  border: 1px solid var(--rpt-border);
}
.rpt-script-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rpt-amber); flex-shrink: 0; }

/* ── CMP ───────────────────────────────────────────────────── */
.rpt-cmp {
  background: #EFF6FF;
  border: 1px solid rgba(46,95,163,0.15);
  border-left: 3px solid var(--rpt-blue);
  padding: 14px 16px;
  margin-bottom: 32px;
}
.rpt-cmp-title { font-size: 13px; font-weight: 600; color: var(--rpt-navy); margin-bottom: 4px; }
.rpt-cmp-desc  { font-size: 12px; color: var(--rpt-muted); line-height: 1.4; }

/* ── Action plan ───────────────────────────────────────────── */
.rpt-action-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 36px; }
.rpt-action-item {
  background: white;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  border: 1px solid var(--rpt-border);
}
.rpt-action-num {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--rpt-navy-mid);
  padding: 16px;
  border-right: 1px solid var(--rpt-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rpt-cream);
}
.rpt-action-content { padding: 16px 20px; }
.rpt-action-title { font-weight: 600; font-size: 13px; color: var(--rpt-ink); margin-bottom: 4px; }
.rpt-action-desc  { font-size: 12px; color: var(--rpt-muted); line-height: 1.5; }
.rpt-action-right {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  border-left: 1px solid var(--rpt-border);
  min-width: 96px;
}
.rpt-action-time { font-family: 'Roboto Mono', monospace; font-size: 11px; color: var(--rpt-navy); font-weight: 500; }
.rpt-action-type { font-family: 'Roboto Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rpt-muted); }

/* ── CTA ───────────────────────────────────────────────────── */
.rpt-cta-block {
  background: var(--rpt-navy);
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 -2px 12px rgba(15,31,61,0.15);
}
.rpt-cta-label { font-family: 'Roboto Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rpt-blue-light); margin-bottom: 7px; }
.rpt-cta-title { font-weight: 600; font-size: 24px; color: white; line-height: 1.2; margin-bottom: 7px; }
.rpt-cta-sub   { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.55; }
.rpt-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--rpt-navy);
  padding: 12px 22px;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s;
}
.rpt-cta-btn:hover { background: var(--rpt-cream); }

/* ── Disclaimer ────────────────────────────────────────────── */
.rpt-manual-review-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fefce8;
  border: 1.5px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #78350f;
  line-height: 1.5;
}
.rpt-manual-review-banner strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 4px;
}
.rpt-manual-review-banner p {
  margin: 0;
  font-size: 12px;
  color: #78350f;
}
.rpt-manual-review-icon {
  font-size: 18px;
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 1px;
}

.rpt-disclaimer {
  padding: 12px 48px;
  border-top: 1px solid var(--rpt-border);
  background: var(--rpt-cream);
}
.rpt-disclaimer p {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: var(--rpt-muted);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.rpt-disclaimer-title {
  font-size: 11px !important;
  font-weight: 600;
  color: var(--rpt-text) !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  @page { size: A4; margin: 0; }
  * { animation: none !important; opacity: 1 !important; transform: none !important; }
  body { background: white; font-size: 11px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rpt-topbar, .rpt-cta-block { display: none !important; }
  .rpt-header { box-shadow: none; }
  .rpt-header-top  { padding: 12px 28px; }
  .rpt-header-body { padding: 18px 28px 22px; gap: 28px; }
  .rpt-client-name { font-size: 34px; }
  .rpt-gauge-svg   { width: 150px; height: 82px; }
  .rpt-body        { max-width: 100%; padding: 20px 28px; }
  .rpt-section-label { margin-bottom: 7px; }
  .rpt-score-matrix  { margin-bottom: 18px; }
  .rpt-matrix-cell   { padding: 11px 10px 13px; }
  .rpt-matrix-score  { font-size: 24px; }
  .rpt-matrix-weight { font-size: 8px; }
  .rpt-findings      { margin-bottom: 18px; }
  .rpt-finding-card  { grid-template-columns: 155px 1fr 88px; }
  .rpt-finding-sev   { padding: 12px 11px; }
  .rpt-finding-body  { padding: 12px 16px; }
  .rpt-finding-title { font-size: 13px; }
  .rpt-finding-desc  { font-size: 10.5px; line-height: 1.5; }
  .rpt-finding-effort { padding: 12px 11px; }
  .rpt-finding-meta  { margin-top: 7px; padding-top: 7px; gap: 14px; }
  .rpt-strengths     { margin-bottom: 18px; }
  .rpt-strength-item { padding: 9px 13px; }
  .rpt-strength-text { font-size: 10.5px; }
  .rpt-scripts       { margin-bottom: 18px; }
  .rpt-script-pill   { padding: 7px 13px; font-size: 10px; }
  .rpt-action-list   { margin-bottom: 20px; }
  .rpt-action-item   { grid-template-columns: 42px 1fr auto; }
  .rpt-action-num    { font-size: 18px; padding: 11px; }
  .rpt-action-content { padding: 11px 15px; }
  .rpt-action-title  { font-size: 11.5px; }
  .rpt-action-desc   { font-size: 10.5px; }
  .rpt-action-right  { padding: 11px 13px; min-width: 80px; }
  .rpt-disclaimer    { padding: 8px 28px; }
  /* Juristcheck banner: compact in print, knop verbergen */
  .rpt-manual-review-banner { padding: 8px 12px; margin-bottom: 12px; gap: 8px; }
  .rpt-manual-review-banner strong { font-size: 11px; margin-bottom: 2px; }
  .rpt-manual-review-banner p { font-size: 10px; margin: 2px 0 !important; }
  .rpt-manual-review-banner a { display: none !important; }
  .rpt-manual-review-icon { font-size: 14px; }
  /* Decoratief element verbergen in print — overlapt datum en gauge */
  .rpt-header::before, .rpt-header::after { display: none !important; }
  /* Header overflow zichtbaar zodat gauge-SVG niet wordt afgeknipt */
  .rpt-header { overflow: visible; }
  /* Gauge en header-inhoud boven eventuele achtergronden */
  .rpt-gauge-wrap { position: relative; z-index: 2; }
  .rpt-header-top, .rpt-header-body { position: relative; z-index: 2; }
  /* Header compacter: meer ruimte voor findings op pagina 1 */
  .rpt-header-top  { padding: 10px 28px; }
  .rpt-header-body { padding: 14px 28px 18px; gap: 24px; }
  .rpt-client-name { font-size: 28px; }
  .rpt-gauge-svg   { width: 130px; height: 72px; }
  .rpt-body        { padding: 16px 28px; }
  /* Individuele kaarten blijven samen — secties mogen vrij over pagina's lopen */
  .rpt-finding-card, .rpt-action-item, .rpt-strength-item, .rpt-matrix-cell { page-break-inside: avoid; break-inside: avoid; }
  /* Score matrix past op één pagina — container vermijdt split */
  .rpt-score-matrix { page-break-inside: avoid; break-inside: avoid; }
  /* Strengths en action list NIET als geheel vasthouden: dit veroorzaakte lege pagina's */
  .rpt-strengths, .rpt-action-list { break-inside: auto; }
  /* Sectielabels niet als laatste element op een pagina */
  .rpt-section-label { page-break-after: avoid; break-after: avoid; }
  /* Findings lijst vrij laten stromen */
  .rpt-findings { break-before: auto; }
  /* Sectieblok: label blijft samen met eerste content */
  .rpt-section-block { break-inside: avoid-page; }
  .rpt-section-block .rpt-section-label { page-break-after: avoid; break-after: avoid; }
}
