/* --- ROOT & LAYOUT --- */
.ibeeq-audit-root {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #111418;

  /* Szerokość i układ */
  display: block !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  box-sizing: border-box;

  /* ZMIANA KLUCZOWA: Padding dodany do GŁÓWNEJ RAMKI. 
     To odpycha całą zawartość od krawędzi o 40px. */
  padding: 40px !important;

  /* Efekt karty */
  border-radius: 24px;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* --- CZYSZCZENIE PADDINGÓW WEWNĘTRZNYCH --- */
.ibeeq-header-container {
  background: #ffffff;
  /* Tylko odstęp od dołu */
  padding: 0 0 20px 0 !important;
  border-bottom: none;
}

.ibeeq-quiz-content {
  background: #ffffff;
  /* Zero paddingu, bo ramka (root) już go trzyma */
  padding: 0 !important;
  min-height: 300px;
}

.ibeeq-quiz-footer {
  background: #ffffff;
  /* Odstęp od góry, zero po bokach */
  padding: 30px 0 0 0 !important;
  border-top: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsywność na telefonach */
/* Responsywność - tu tylko ewentualna korekta rogów na mobile */
/* Responsywność na telefonach */
@media (max-width: 768px) {
  .ibeeq-audit-root {
    border-radius: 16px;
    /* Na telefonie zmniejszamy ramkę do 20px */
    padding: 20px !important;
  }

  .ibeeq-header-container,
  .ibeeq-quiz-content,
  .ibeeq-quiz-footer {
    padding: 0 !important;
    /* Upewniamy się, że w środku jest czysto */
  }

  .ibeeq-quiz-footer {
    padding-top: 20px !important;
    /* Tylko odstęp od przycisków */
  }
}

/* --- PROGRESS BAR --- */
.ibeeq-progress-box {
  max-width: 600px;
  margin: 10px auto 0;
}

.ibeeq-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #f3f4f6;
  border-radius: 9999px;
  overflow: hidden;
}

.ibeeq-progress-bar-fill {
  height: 100%;
  background: #136dec;
  border-radius: 9999px;
  transition: width 0.4s ease;
}

/* --- QUESTIONS --- */
.ibeeq-question-title {
  font-size: 32px;
  /* Lekko powiększone dla czytelności */
  font-weight: 800;
  margin: 0 0 12px;
  text-align: center;
  color: #1f2937;
  letter-spacing: -0.02em;
}

.ibeeq-question-desc {
  font-size: 16px;
  color: #6b7280;
  margin: 0 auto 40px;
  /* Większy odstęp od kart */
  text-align: center;
  max-width: 800px;
  line-height: 1.6;
}

.ibeeq-section-container {
  text-align: center;
  margin-bottom: 10px;
}

/* --- OPTIONS GRID --- */
.ibeeq-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  /* Zwiększono z 24px dla lepszego wyglądu na szerokich ekranach */
}

@media (max-width: 900px) {
  .ibeeq-options-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ibeeq-option {
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Upewnia się, że karty są równej wysokości */
}

.ibeeq-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

.ibeeq-option.selected {
  border-color: #136dec;
  box-shadow: 0 0 0 4px rgba(19, 109, 236, 0.1);
}

.ibeeq-option-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: #136dec;
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.ibeeq-option.selected .ibeeq-option-check {
  display: flex;
}

/* ZDJĘCIA W KARTACH */
.ibeeq-option-thumb {
  width: 100%;
  /* ZMIANA: Aspect ratio zamiast height. Zdjęcie skaluje się proporcjonalnie */
  aspect-ratio: 16 / 9;
  height: auto;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.ibeeq-option-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Usuwa puste miejsce pod obrazkiem */
}

.ibeeq-thumb-fallback {
  color: #94a3b8;
}

.ibeeq-thumb-fallback .material-symbols-outlined {
  font-size: 48px;
}

.ibeeq-option>div:last-child {
  padding: 24px;
  /* Większy padding tekstu */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ibeeq-option-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  color: #1e293b;
}

.ibeeq-option-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* --- BUTTONS --- */
.ibeeq-btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.ibeeq-btn-primary {
  background: #136dec;
  color: #fff;
}

.ibeeq-btn-primary:hover {
  background: #0f58c2;
  transform: translateY(-1px);
}

.ibeeq-btn-primary:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

.ibeeq-btn-secondary {
  background: #f1f5f9;
  color: #475569;
}

.ibeeq-btn-secondary:hover {
  background: #e2e8f0;
}

/* --- FORMS (LEAD FORM) --- */
.lead-modern-container {
  display: flex;
  flex-direction: row;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.lead-modern-left {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lead-modern-right {
  flex: 1;
  position: relative;
  background: #0f172a;
  min-height: 500px;
}

.lead-modern-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.2);
  pointer-events: none;
}

.lead-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-status-card {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* Reszta stylów formularza i inputów */
.form-input {
  width: 100%;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 8px;
  box-sizing: border-box;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #136dec;
  box-shadow: 0 0 0 3px rgba(19, 109, 236, 0.1);
}

.form-input.error {
  border-color: #ef4444;
}

.error-msg {
  color: #ef4444;
  font-size: 12px;
  text-align: left;
  display: none;
  margin-bottom: 12px;
}

.lead-title-box {
  margin-bottom: 24px;
}

.lead-h2 {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 10px 0;
  line-height: 1.1;
}

.lead-sub {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
}

.lead-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 6px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Mobile Lead Form */
@media (max-width: 900px) {
  .lead-modern-container {
    flex-direction: column-reverse;
  }

  .lead-modern-right {
    min-height: 250px;
  }

  .lead-modern-left {
    padding: 30px;
  }

  .lead-status-card {
    display: none;
    /* Ukryj kartę statusu na małym mobile, żeby nie zasłaniała zdjęcia */
  }
}

/* --- PREMIUM PDF REPORT STYLES (Scoped .pp-*) --- */
/* Based on Raport Premium 2026 Template */

/* Base Typography for PDF */
.pp-page {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  /* --text-dark */
  background: #fff;
  width: 210mm;
  height: 297mm;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  /* Reset from previous .pdf-page if needed or coexist */
}

/* Colors Variables (using Scoped Props if supported or hardcoded) */
/* Hardcoding for reliability in PDF generation */
.pp-page {
  --pp-primary: #0f172a;
  --pp-accent: #2563eb;
  --pp-bg-light: #f8fafc;
  --pp-text-dark: #1e293b;
  --pp-text-mid: #475569;
  --pp-text-light: #94a3b8;
  --pp-ok-bg: #dcfce7;
  --pp-ok-text: #166534;
  --pp-mid-bg: #fef9c3;
  --pp-mid-text: #854d0e;
  --pp-bad-bg: #fee2e2;
  --pp-bad-text: #991b1b;
}

.pp-container {
  padding: 50px;
  height: 100%;
  background: #f8fafc;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.pp-white-bg {
  background: #fff;
}

.pp-h1 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.pp-h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.pp-h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 15px 0;
}

.pp-p {
  font-size: 14px;
  color: #475569;
  margin: 0 0 15px 0;
  line-height: 1.6;
  text-align: justify;
}

.pp-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border: 1px solid #f1f5f9;
}

.pp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.pp-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

/* COVER PAGE */
.pp-cover {
  display: flex;
  height: 100%;
  padding: 0;
  background: #fff;
}

.pp-cover-content {
  flex: 1;
  padding: 80px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.pp-badge {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.pp-cover-title {
  font-size: 48px;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 20px;
  font-weight: 800;
}

.pp-cover-sub {
  font-size: 18px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 60px;
}

.pp-cover-data {
  background: #fff;
  padding: 30px;
  border-left: 4px solid #2563eb;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-radius: 0 12px 12px 0;
  max-width: 80%;
}

.pp-data-lbl {
  font-size: 12px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}

.pp-data-val {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
}

.pp-data-val:last-child {
  margin-bottom: 0;
}

.pp-cover-img-wrap {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
}

.pp-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(37, 99, 235, 0.4) 100%);
}

/* INTRO */
.pp-intro-highlight {
  border-left: 3px solid #2563eb;
  padding-left: 20px;
  font-style: italic;
  color: #1e293b;
  margin: 30px 0;
  font-size: 15px;
}

/* EXECUTIVE SUMMARY */
.pp-score-hero {
  text-align: center;
  padding: 40px;
  background: #0f172a;
  color: white;
  border-radius: 12px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.pp-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid #2563eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
}

.pp-score-interp {
  text-align: left;
  max-width: 50%;
}

.pp-score-interp h3 {
  color: #fff;
  margin-bottom: 5px;
}

.pp-score-interp p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  text-align: left;
  margin: 0;
}

.pp-sum-title {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
}

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

.pp-sum-list li {
  margin-bottom: 10px;
  padding-left: 15px;
  position: relative;
  font-size: 12px;
  line-height: 1.4;
  color: #334155;
}

.pp-sum-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #2563eb;
}

/* ANALYSIS PAGE */
.pp-q-header {
  margin-bottom: 25px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 15px;
}

.pp-q-num {
  font-size: 14px;
  font-weight: 800;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pp-q-title {
  font-size: 32px;
  margin: 5px 0 10px 0;
  font-weight: 800;
  color: #0f172a;
}

.pp-q-meta {
  font-size: 15px;
  color: #64748b;
}

.pp-status-card {
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.pp-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.pp-stat-ok {
  background: #dcfce7;
  color: #166534;
}

.pp-stat-mid {
  background: #fef9c3;
  color: #854d0e;
}

.pp-stat-bad {
  background: #fee2e2;
  color: #991b1b;
}

.pp-sel-opt {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.pp-stat-int {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}

.pp-q-img-box {
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pp-q-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-desc-box {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.pp-desc-h {
  font-size: 14px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 10px;
}

.pp-rec-card {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-left: 4px solid #2563eb;
  padding: 20px;
  border-radius: 12px;
}

.pp-rec-h {
  color: #2563eb;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 16px;
}

/* ROADMAP */
.pp-road-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.pp-road-col {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border-top: 4px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pp-road-col.now {
  border-top-color: #ef4444;
}

.pp-road-col.soon {
  border-top-color: #eab308;
}

.pp-road-col.later {
  border-top-color: #22c55e;
}

.pp-road-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #94a3b8;
}

.pp-road-time {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

/* ABOUT */
.pp-about-pg {
  background: #0f172a;
  color: #fff;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pp-about-h {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.pp-about-txt {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 800px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.pp-srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.pp-srv-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  color: #fff;
}

.pp-srv-t {
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

.pp-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* FOOTER for Pages */
.pp-pg-footer {
  position: absolute;
  bottom: 20px;
  right: 50px;
  font-size: 10px;
  color: #cbd5e1;
}

/* --- PREMIUM PDF REPORT STYLES (SCOPED) --- */
.pdf-mode {
  --primary-blue: #0f172a;
  --accent-blue: #2563eb;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #94a3b8;

  --status-ok-bg: #dcfce7;
  --status-ok-text: #166534;
  --status-mid-bg: #fef9c3;
  --status-mid-text: #854d0e;
  --status-bad-bg: #fee2e2;
  --status-bad-text: #991b1b;

  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --card-radius: 12px;

  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* PRINT SETTINGS */
@page {
  size: A4;
  margin: 16mm;
}

.pdf-mode * {
  box-sizing: border-box;
}

.pdf-mode .page-break {
  page-break-after: always;
  break-after: page;
}

.pdf-mode .page-container {
  padding: 50px;
  box-sizing: border-box;
  width: 210mm;
  height: 297mm;
  /* Force A4 height */
  overflow: hidden;
  /* Prevent spillover */
  background: var(--bg-light);
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pdf-mode .section,
.pdf-mode .card,
.pdf-mode .q-block,
.pdf-mode .recommendation-card,
.pdf-mode .roadmap-col,
.pdf-mode .ibeeq-block {
  break-inside: avoid;
  page-break-inside: avoid;
}

.pdf-mode h1,
.pdf-mode h2,
.pdf-mode h3,
.pdf-mode h4 {
  break-after: avoid;
  page-break-after: avoid;
}

.pdf-mode p,
.pdf-mode ul,
.pdf-mode ol {
  orphans: 3;
  widows: 3;
}

.pdf-mode .white-bg {
  background: #fff;
}

.pdf-mode h1,
.pdf-mode h2,
.pdf-mode h3,
.pdf-mode h4 {
  margin-top: 0;
  color: var(--primary-blue);
  font-weight: 800;
}

.pdf-mode h1 {
  font-size: 36px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.pdf-mode h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.pdf-mode h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.pdf-mode p {
  margin-bottom: 15px;
  color: var(--text-medium);
  margin-top: 0;
}

.pdf-mode .card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 30px;
  border: 1px solid #f1f5f9;
  break-inside: avoid;
  page-break-inside: avoid;
}

.pdf-mode h1,
.pdf-mode h2,
.pdf-mode h3 {
  break-after: avoid;
  page-break-after: avoid;
}

.pdf-mode p,
.pdf-mode ul,
.pdf-mode ol {
  orphans: 3;
  widows: 3;
}

.pdf-mode .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.pdf-mode .grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

/* 1. COVER */
.pdf-mode .cover-page {
  display: flex;
  height: 297mm;
  padding: 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.pdf-mode .cover-content {
  flex: 1;
  padding: 80px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.pdf-mode .report-badge {
  display: inline-block;
  background: var(--accent-blue);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  width: fit-content;
}

.pdf-mode .cover-title {
  font-size: 48px;
  line-height: 1.1;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.pdf-mode .cover-subtitle {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 60px;
}

.pdf-mode .cover-data-card {
  background: #fff;
  padding: 30px;
  border-left: 4px solid var(--accent-blue);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  max-width: 80%;
}

.pdf-mode .data-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
}

.pdf-mode .data-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0px;
}

.pdf-mode .cover-image-section {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
}

.pdf-mode .cover-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
}

/* 2. INTRO */
.pdf-mode .intro-text p {
  margin-bottom: 25px;
  font-size: 15px;
  text-align: justify;
}

.pdf-mode .intro-text h3 {
  margin-top: 35px;
  color: var(--accent-blue);
}

.pdf-mode .intro-highlight {
  border-left: 3px solid var(--accent-blue);
  padding-left: 20px;
  font-style: italic;
  color: var(--text-dark);
  margin: 30px 0;
}

/* 3. EXECUTIVE SUMMARY */
.pdf-mode .score-hero {
  text-align: center;
  padding: 40px;
  background: var(--primary-blue);
  color: white;
  border-radius: var(--card-radius);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.pdf-mode .score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid var(--accent-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
}

.pdf-mode .score-interp {
  text-align: left;
  max-width: 50%;
}

.pdf-mode .score-interp h3 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 22px;
}

.pdf-mode .summary-card-title {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-medium);
}

.pdf-mode .icon-ok {
  color: var(--status-ok-text);
}

.pdf-mode .icon-bad {
  color: var(--status-bad-text);
}

.pdf-mode .icon-pot {
  color: var(--accent-blue);
}

.pdf-mode .summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdf-mode .summary-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}

.pdf-mode .summary-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 4. ANALYSIS */
.pdf-mode .q-header {
  margin-bottom: 30px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 20px;
}

.pdf-mode .q-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pdf-mode .q-title {
  font-size: 32px;
  margin: 5px 0 10px 0;
}

.pdf-mode .short-areas-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdf-mode .q-area-desc {
  font-size: 16px;
  color: var(--text-medium);
}

.pdf-mode .q-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  margin-bottom: 30px;
  align-items: start;
}

.pdf-mode .q-content-grid>div:first-child {
  min-width: 0;
}

.pdf-mode .status-card {
  padding: 25px;
  border-radius: var(--card-radius);
  margin-bottom: 20px;
}

.pdf-mode .status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
}

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

.pdf-mode .status-mid {
  background: var(--status-mid-bg);
  color: var(--status-mid-text);
}

.pdf-mode .status-bad {
  background: var(--status-bad-bg);
  color: var(--status-bad-text);
}

.pdf-mode .q-selected-option {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.pdf-mode .q-status-interp {
  font-size: 14px;
  font-weight: 500;
}

.pdf-mode .q-image-container {
  height: auto;
  /* Reset fixed height container, rely on .report-photo */
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
  padding: 0;
  background: #fff;
}

.pdf-mode .report-photo {
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f7;
  border: 1px solid #e2e8f0;
}

.pdf-mode .report-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.pdf-mode .report-photo.is-contain img {
  object-fit: contain;
}

.pdf-mode .q-image {
  /* Deprecated in new structure but kept for safety */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdf-mode .detailed-description {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: var(--card-radius);
}

.pdf-mode .detailed-description h4 {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 15px;
}

.pdf-mode .recommendation-card {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-left: 4px solid var(--accent-blue);
}

.pdf-mode .rec-title {
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

/* ROADMAP */
.pdf-mode .roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  margin-top: 40px;
}

.pdf-mode .roadmap-col {
  background: #fff;
  padding: 25px;
  border-radius: var(--card-radius);
  border-top: 4px solid #e2e8f0;
}

.pdf-mode .roadmap-col.now {
  border-top-color: var(--status-bad-text);
}

.pdf-mode .roadmap-col.soon {
  border-top-color: var(--status-mid-text);
}

.pdf-mode .roadmap-col.later {
  border-top-color: var(--status-ok-text);
}

.pdf-mode .roadmap-col h4::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.pdf-mode .roadmap-col.now h4::before {
  background: var(--status-bad-text);
}

.pdf-mode .roadmap-col.soon h4::before {
  background: var(--status-mid-text);
}

.pdf-mode .roadmap-col.later h4::before {
  background: var(--status-ok-text);
}

/* Executive Summary Extras */
.pdf-mode .biz-takeaway {
  font-weight: 700;
  color: var(--primary-blue);
  border-left: 4px solid var(--accent-blue);
  padding-left: 15px;
  margin: 20px 0;
  font-size: 15px;
}

.pdf-mode .biz-impact-frame {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-top: 20px;
}

.pdf-mode .biz-impact-title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.pdf-mode .biz-impact-list li {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.pdf-mode .roadmap-header {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--text-light);
}

.pdf-mode .roadmap-time {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

/* ABOUT */
.pdf-mode .about-footer {
  background: var(--primary-blue);
  color: white;
  padding: 60px 50px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pdf-mode .about-footer h2 {
  color: white;
}

.pdf-mode .about-footer p {
  color: #cbd5e1;
}

.pdf-mode .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.pdf-mode .service-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

/* FOOTER for Pages */
.pp-pg-footer {
  position: absolute;
  bottom: 20px;
  right: 50px;
  font-size: 10px;
  color: #cbd5e1;
}