/* Clinical-style report page — mobile-first, only active inside .report-page */
.report-page {
  --report-border: #e2e8f0;
  --report-muted: #64748b;
  --report-heading: #0f172a;
  --risk-normal-bg: #d1fae5;
  --risk-normal-text: #065f46;
  --risk-normal-border: #10b981;
  --risk-attention-bg: #fef3c7;
  --risk-attention-text: #92400e;
  --risk-attention-border: #f59e0b;
  --risk-high-bg: #fee2e2;
  --risk-high-text: #991b1b;
  --risk-high-border: #ef4444;
  font-size: 14px;
  max-width: 100%;
  overflow-x: hidden;
}
.report-page .premium-clinical-wrap { min-width: 0; }
.report-page .section-card { min-width: 0; }
@media (max-width: 639px) {
  .report-page .report-category-bar-track { max-width: 100%; }
  .report-page .report-tile-value { word-break: break-word; }
}
.report-page .section-body,
.report-page .section-title,
.report-page .alert-medical .alert-text { font-size: 14px; }
@media (min-width: 640px) {
  .report-page .section-body { font-size: 0.875rem; }
  .report-page .section-title { font-size: 0.9375rem; }
}

/* Mobil-first: padding azaltılmış, font min 14px */
.report-page #analyze-result-body {
  padding: 0.75rem 1rem;
  font-size: 14px;
}
@media (min-width: 640px) {
  .report-page #analyze-result-body {
    padding: 1rem 1.5rem;
  }
}

/* KPI kartları: mobilde 2x2 grid */
.report-page .report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.report-page .report-kpi-grid .kpi-card {
  min-height: 44px;
  font-size: 14px;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--report-border);
  background: #fff;
}
.dark .report-page .report-kpi-grid .kpi-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(226, 232, 240, 0.15);
}
@media (min-width: 640px) {
  .report-page .report-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* Grafikler: mobilde alt alta */
.report-page .report-charts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.report-page .report-charts .chart-item {
  min-height: 44px;
  font-size: 14px;
  padding: 0.75rem;
}
@media (min-width: 640px) {
  .report-page .report-charts {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Premium klinik: Genel Sağlık Skoru, Risk Gauge, Trend — mobilde gauge üstte trend altta */
.report-page .health-score-card .health-score-value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}
.report-page .health-score-card .health-score-band {
  margin-top: 0.25rem;
}
.report-page .gauge-section .gauge-wrap {
  max-width: 120px;
  margin: 0.35rem 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.05));
}
.report-page .gauge-section--compact .gauge-wrap {
  max-width: 64px;
  max-height: 40px;
  margin: 0.25rem auto;
}
.report-page .gauge-section--compact .gauge-svg {
  width: 100%;
  height: auto;
  max-height: 40px;
}
.report-page .gauge-svg {
  width: 100%;
  height: auto;
  display: block;
}
.report-page .gauge-section .gauge-score {
  font-size: 14px;
  font-weight: 800;
}
.report-page .gauge-section--compact .gauge-score {
  font-size: 11px;
}
.report-page .gauge-svg .gauge-bg {
  stroke: #e5e7eb;
}
.report-page .gauge-svg .gauge-fill.low {
  stroke: #22c55e;
}
.report-page .gauge-svg .gauge-fill.mid {
  stroke: #f59e0b;
}
.report-page .gauge-svg .gauge-fill.high {
  stroke: #ef4444;
}
.report-page .gauge-svg .gauge-score {
  fill: currentColor;
  font-family: inherit;
}
.report-page .trend-section .trend-message {
  margin: 0.25rem 0 0;
}

/* Clinical Notice — premium fallback when structured lab values are not available */
.report-page .clinical-notice-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  margin: 0 0 1rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 100%;
}
.dark .report-page .clinical-notice-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.report-page .clinical-notice-card .clinical-notice-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(14, 165, 164, 0.12);
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.dark .report-page .clinical-notice-card .clinical-notice-icon {
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
}
.report-page .clinical-notice-card .clinical-notice-content {
  flex: 1;
  min-width: 0;
}
.report-page .clinical-notice-card .clinical-notice-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.dark .report-page .clinical-notice-card .clinical-notice-title {
  color: #f1f5f9;
}
.report-page .clinical-notice-card .clinical-notice-body {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 0.5rem;
}
.dark .report-page .clinical-notice-card .clinical-notice-body {
  color: #94a3b8;
}
.report-page .clinical-notice-card .clinical-notice-helper {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0 0 1rem;
}
.dark .report-page .clinical-notice-card .clinical-notice-helper {
  color: #64748b;
}
.report-page .clinical-notice-card .clinical-notice-cta {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #0d9488;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.report-page .clinical-notice-card .clinical-notice-cta:hover {
  background: #0f766e;
}
@media (min-width: 640px) {
  .report-page .clinical-notice-card {
    padding: 1.75rem 1.75rem 1.5rem;
  }
}

/* Premium clinical wrapper: locked overlay + CTA */
.report-page .premium-clinical-wrap {
  position: relative;
}
.report-page .report-premium-locked .premium-locked-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 1rem;
  padding: 1rem;
}
.dark .report-page .report-premium-locked .premium-locked-overlay {
  background: rgba(15, 23, 42, 0.8);
}
.report-page .premium-lock-ico {
  font-size: 2rem;
  opacity: 0.8;
}
.report-page .premium-locked-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--report-heading);
}
.dark .report-page .premium-locked-text { color: #e2e8f0; }
.report-page .premium-cta-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: #0EA5A4;
  color: #fff;
  text-decoration: none;
}
.report-page .premium-cta-btn:hover {
  background: #0d9493;
  color: #fff;
}

/* Limited preview gate (tek analiz / aylık): tıklanabilir kapı + chevron */
.report-page .report-limited-gate {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 2px dashed rgba(14, 165, 164, 0.4);
  border-radius: 12px;
  background: rgba(14, 165, 164, 0.06);
  text-align: center;
}
.dark .report-page .report-limited-gate {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(14, 165, 164, 0.08);
}
.report-page .report-limited-gate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #0EA5A4;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.1s;
}
.dark .report-page .report-limited-gate-link { color: #2dd4bf; }
.report-page .report-limited-gate-link:hover {
  color: #0d9488;
  transform: translateY(-1px);
}
.dark .report-page .report-limited-gate-link:hover { color: #5eead4; }
.report-page .report-limited-gate-chevron {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Report section icons (outline, monochrome) */
.report-page .report-sec-icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.report-page .report-sec-icon svg { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; color: #0d9488; }
.dark .report-page .report-sec-icon svg { color: #2dd4bf; }
.report-page .report-disclaimer-card .report-refined-disclaimer { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--report-muted); }
.report-page .report-executive-text { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--report-heading); }
.dark .report-page .report-executive-text { color: #e2e8f0; }
.report-page .report-tiles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .report-page .report-tiles-grid { grid-template-columns: repeat(4, 1fr); } }
.report-page .report-tile { border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 12px; padding: 0.75rem 1rem; background: #fafbfc; display: flex; flex-direction: column; gap: 0.25rem; }
.dark .report-page .report-tile { background: rgba(30, 41, 59, 0.4); border-color: rgba(71, 85, 105, 0.3); }
.report-page .report-tile-ico { display: inline-flex; width: 20px; height: 20px; color: #0d9488; }
.report-page .report-tile-ico svg { width: 18px; height: 18px; }
.report-page .report-tile-label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--report-muted); }
.report-page .report-tile-value { font-size: 0.9375rem; font-weight: 700; color: var(--report-heading); }
.dark .report-page .report-tile-value { color: #f1f5f9; }
.report-page .report-sec-icon-sub { margin-top: 1rem; }
.report-page .report-key-area-item { padding: 0.5rem 0; border-bottom: 1px solid rgba(226, 232, 240, 0.5); font-size: 0.8125rem; }
.report-page .report-key-area-item:last-child { border-bottom: none; }
.dark .report-page .report-key-area-item { border-bottom-color: rgba(71, 85, 105, 0.3); }
.report-page .report-key-area-param { font-weight: 700; color: var(--report-heading); display: block; margin-bottom: 0.25rem; }
.report-page .report-key-area-why, .report-page .report-key-area-focus { display: block; font-size: 0.75rem; color: var(--report-muted); margin-top: 0.2rem; }
.report-page .report-bullets { margin: 0; padding-left: 1.25rem; }
.report-page .report-bullets li { margin: 0.25rem 0; }
.report-page .trend-placeholder { font-style: italic; }

/* Sonuç odaklı: hareket, stres, uyku, sıvı (web raporu) */
.report-page .report-lifestyle-blocks .report-lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
}
@media (max-width: 520px) {
  .report-page .report-lifestyle-blocks .report-lifestyle-grid {
    grid-template-columns: 1fr;
  }
}
.report-page .report-lifestyle-block {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.6);
}
.dark .report-page .report-lifestyle-block {
  border-color: rgba(226, 232, 240, 0.12);
  background: rgba(30, 41, 59, 0.3);
}
.report-page .report-lifestyle-movement { border-left: 4px solid #0EA5A4; }
.report-page .report-lifestyle-stress { border-left: 4px solid #8b5cf6; }
.report-page .report-lifestyle-sleep { border-left: 4px solid #6366f1; }
.report-page .report-lifestyle-hydration { border-left: 4px solid #0ea5e9; }
.report-page .report-lifestyle-block .section-title { margin-bottom: 0.35rem; }
.report-page .report-lifestyle-block .section-body { margin-top: 0.25rem; }

/* Kategorize parametreler: yan yana kartlar, mobil uyumlu */
.report-page .report-legend-inline {
  font-size: 0.75rem;
  color: var(--report-muted);
  margin: 0 0 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.report-page .report-legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.report-page .report-legend-dot.report-badge--optimal { background: #22c55e; }
.report-page .report-legend-dot.report-badge--border { background: #eab308; }
.report-page .report-legend-dot.report-badge--high { background: #ef4444; }
.report-page .report-category-section {
  margin-bottom: 1.5rem;
}
.report-page .report-category-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.report-page .report-category-section-title svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #0EA5A4;
}
/* PDF tarzı parametre kartları — analiz sonucunda her değer ayrı kart */
.report-page .report-biomarker-grid--multi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
@media (min-width: 640px) {
  .report-page .report-biomarker-grid--multi {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .report-page .report-biomarker-grid--multi {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .report-page .report-biomarker-grid--multi {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.report-page .report-biomarker-card {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 1rem 1.1rem;
  background: #fff;
  min-height: 0;
}
.dark .report-page .report-biomarker-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.report-page .report-biomarker-card--normal { border-left: 4px solid #22c55e; background: rgba(34, 197, 94, 0.04); }
.report-page .report-biomarker-card--border { border-left: 4px solid #eab308; background: rgba(234, 179, 8, 0.05); }
.report-page .report-biomarker-card--risk { border-left: 4px solid #ef4444; background: rgba(239, 68, 68, 0.04); }
.dark .report-page .report-biomarker-card--normal { background: rgba(34, 197, 94, 0.08); }
.dark .report-page .report-biomarker-card--border { background: rgba(234, 179, 8, 0.08); }
.dark .report-page .report-biomarker-card--risk { background: rgba(239, 68, 68, 0.08); }

/* Category score bars */
.report-page .report-category-bars-section .report-category-bars { display: flex; flex-direction: column; gap: 0.65rem; }
.report-page .report-category-bar-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; }
.report-page .report-category-bar-label { min-width: 6rem; color: var(--report-heading); font-weight: 500; }
.dark .report-page .report-category-bar-label { color: #e2e8f0; }
.report-page .report-category-bar-track { flex: 1; height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; max-width: 180px; }
.dark .report-page .report-category-bar-track { background: rgba(51, 65, 85, 0.6); }
.report-page .report-category-bar-fill { height: 100%; background: #0EA5A4; border-radius: 4px; transition: width 0.3s ease; opacity: 0.85; }
.dark .report-page .report-category-bar-fill { background: #2dd4bf; opacity: 0.9; }
.report-page .report-category-bar-value { min-width: 2rem; text-align: right; font-weight: 600; color: #0d9488; font-size: 0.8125rem; }
.dark .report-page .report-category-bar-value { color: #2dd4bf; }

/* Risk distribution bar */
.report-page .report-distribution-section .report-distribution-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #e2e8f0; max-width: 100%; margin-bottom: 0.5rem; }
.dark .report-page .report-distribution-section .report-distribution-bar { background: rgba(51, 65, 85, 0.5); }
.report-page .report-dist-seg { min-width: 4px; transition: width 0.25s ease; }
.report-page .report-dist-normal { background: #94a3b8; }
.report-page .report-dist-borderline { background: #f59e0b; opacity: 0.85; }
.report-page .report-dist-attention { background: #0EA5A4; opacity: 0.9; }
.dark .report-page .report-dist-attention { background: #2dd4bf; }
.report-page .report-distribution-legend { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; font-size: 0.75rem; color: var(--report-muted); }
.report-page .report-dist-legend-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.report-page .report-dist-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.report-page .report-dist-dot.report-dist-normal { background: #94a3b8; }
.report-page .report-dist-dot.report-dist-borderline { background: #f59e0b; }
.report-page .report-dist-dot.report-dist-attention { background: #0EA5A4; }

/* Radar chart */
.report-page .report-radar-wrap { display: flex; justify-content: center; padding: 0.5rem 0; }
.report-page .report-radar-svg { width: 100%; max-width: 200px; height: auto; }
.report-page .report-radar-bg { fill: none; stroke: #e2e8f0; stroke-width: 1; }
.dark .report-page .report-radar-bg { stroke: rgba(71, 85, 105, 0.5); }
.report-page .report-radar-axis { stroke: #cbd5e1; stroke-width: 1; }
.dark .report-page .report-radar-axis { stroke: rgba(100, 116, 139, 0.5); }
.report-page .report-radar-fill { fill: rgba(14, 165, 164, 0.12); stroke: none; }
.dark .report-page .report-radar-fill { fill: rgba(45, 212, 191, 0.15); }
.report-page .report-radar-stroke { fill: none; stroke: #0EA5A4; stroke-width: 1.5; }
.dark .report-page .report-radar-stroke { stroke: #2dd4bf; }

/* Top attention areas */
.report-page .report-attention-list { display: flex; flex-direction: column; gap: 0.5rem; }
.report-page .report-attention-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; font-size: 0.8125rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(226, 232, 240, 0.5); }
.report-page .report-attention-item:last-child { border-bottom: none; }
.dark .report-page .report-attention-item { border-bottom-color: rgba(71, 85, 105, 0.4); }
.report-page .report-attention-test { font-weight: 600; color: var(--report-heading); }
.dark .report-page .report-attention-test { color: #e2e8f0; }
.report-page .report-attention-action { color: var(--report-muted); font-size: 0.75rem; }
.dark .report-page .report-attention-action { color: #94a3b8; }

/* Trend bar chart */
.report-page .trend-chart { margin-top: 0.5rem; }
.report-page .trend-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--report-muted);
  margin-bottom: 0.5rem;
}
.report-page .trend-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
  font-size: 0.8125rem;
}
.report-page .trend-bar-date {
  min-width: 4.5rem;
  color: var(--report-muted);
}
.report-page .trend-bars {
  display: flex;
  gap: 4px;
  flex: 1;
  max-width: 200px;
}
.report-page .trend-bar {
  height: 12px;
  min-width: 4px;
  border-radius: 4px;
}
.report-page .trend-bar.ldl { background: #3b82f6; }
.report-page .trend-bar.glucose { background: #0EA5A4; }
.report-page .trend-bar.crp { background: #f59e0b; }

/* Free plan: gauge ve trend blur */
.report-page .report-premium-blur {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

/* Value bar satırları (değer kartları): mobilde 2 sütun grid isteğe bağlı; font min 14px */
.report-page .value-bar-row {
  font-size: 14px;
  padding: 0.625rem 0.75rem !important;
  min-height: 44px;
}
.report-page .value-bar-row .text-sm { font-size: 14px !important; }

/* Slider kartları: swipe ile çalışır */
.report-page .report-slider {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x;
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  margin: 0 -0.5rem;
}
.report-page .report-slider .report-slide {
  flex: 0 0 min(85%, 320px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.report-page .report-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--report-border);
}
.dark .report-page .report-header {
  background: var(--norya-card, #1a2744);
  border-bottom-color: rgba(226, 232, 240, 0.2);
}

.report-page .report-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.report-page .report-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}
.report-page .report-brand-text {
  line-height: 1.3;
}
.report-page .report-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--report-heading);
}
.dark .report-page .report-brand-name { color: #e2e8f0; }
.report-page .report-brand-ai {
  color: var(--norya-brand);
}
.report-page .report-brand-sub {
  font-size: 0.75rem;
  color: var(--report-muted);
}
.report-page .report-header-center {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  padding: 0 0.5rem;
}
.report-page .report-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--report-heading);
  margin: 0 0 0.25rem 0;
}
.dark .report-page .report-title { color: #e2e8f0; }
.report-page .report-subtitle {
  font-size: 0.8125rem;
  color: var(--report-muted);
  margin: 0;
}
.report-page .report-meta {
  font-size: 0.75rem;
  color: var(--report-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.report-page .report-meta > div {
  white-space: nowrap;
}
/* Mobil: header dikey stack, dokunma hedefleri (min 44px), meta taşma yok */
@media (max-width: 640px) {
  .report-page .report-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  .report-page .report-brand {
    justify-content: center;
  }
  .report-page .report-header-center {
    padding: 0;
  }
  .report-page .report-meta {
    justify-content: center;
  }
  .report-page .report-meta > div {
    white-space: normal;
    word-break: break-word;
  }
  .report-page .report-actions {
    padding: 0.625rem 1rem;
    gap: 0.5rem;
  }
  .report-page .report-actions .btn-secondary,
  .report-page .report-actions .btn-primary {
    min-height: 44px;
    padding: 0.625rem 1rem;
    flex: 1 1 auto;
    min-width: 0;
  }
  .report-page .section-card {
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
  }
  .report-page .section-title {
    font-size: 14px;
  }
  .report-page .alert-medical {
    padding: 0.625rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 14px;
  }
  .report-page .risk-legend {
    font-size: 14px;
    padding: 0.5rem 0.75rem;
  }
}

.report-page .report-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--report-border), transparent);
  margin: 0;
}
.dark .report-page .report-divider { background: linear-gradient(to right, transparent, rgba(226,232,240,0.3), transparent); }

.report-page .report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--report-border);
}
.dark .report-page .report-actions {
  background: rgba(15, 23, 42, 0.5);
  border-bottom-color: rgba(226, 232, 240, 0.15);
}
.report-page .report-actions .btn-secondary,
.report-page .report-actions .btn-primary {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--report-border);
  background: #fff;
  color: var(--report-heading);
  transition: background 0.2s, color 0.2s;
}
.dark .report-page .report-actions .btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(226, 232, 240, 0.2);
  color: #e2e8f4;
}
.report-page .report-actions .btn-secondary:hover {
  background: #f1f5f9;
  border-color: var(--norya-brand);
  color: var(--norya-brand);
}
.dark .report-page .report-actions .btn-secondary:hover {
  background: rgba(224, 122, 95, 0.15);
  border-color: var(--norya-brand);
  color: var(--norya-brand);
}
.report-page .report-actions .btn-primary {
  background: var(--norya-brand);
  border-color: var(--norya-brand);
  color: #fff;
}
.report-page .report-actions .btn-primary:hover {
  filter: brightness(1.08);
}

.report-page .alert-medical {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  margin: 0 0 1rem 0;
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 0 0.375rem 0.375rem 0;
}
.dark .report-page .alert-medical {
  background: rgba(245, 158, 11, 0.15);
  border-left-color: #f59e0b;
}
.report-page .alert-medical .alert-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
}
.report-page .alert-medical .alert-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #92400e;
}
.dark .report-page .alert-medical .alert-text { color: #fcd34d; }

.report-page .section-card {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--report-border);
  border-radius: 0.5rem;
  page-break-inside: avoid;
}
.dark .report-page .section-card {
  background: rgba(30, 41, 59, 0.4);
  border-color: rgba(226, 232, 240, 0.15);
}
.report-page .section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--report-heading);
  margin: 0 0 0.5rem 0;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--report-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dark .report-page .section-title { color: #e2e8f0; border-bottom-color: rgba(226,232,240,0.2); }
.report-page .section-title .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--norya-brand);
  flex-shrink: 0;
}
.report-page .section-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--report-heading);
}
.dark .report-page .section-body { color: #cbd5e1; }

.report-page .risk-banner,
.report-page .risk-normal,
.report-page .risk-attention,
.report-page .risk-high {
  padding: 0.625rem 0.875rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-left: 4px solid;
}
.report-page .risk-normal {
  background: var(--risk-normal-bg);
  color: var(--risk-normal-text);
  border-left-color: var(--risk-normal-border);
}
.report-page .risk-attention {
  background: var(--risk-attention-bg);
  color: var(--risk-attention-text);
  border-left-color: var(--risk-attention-border);
}
.report-page .risk-high {
  background: var(--risk-high-bg);
  color: var(--risk-high-text);
  border-left-color: var(--risk-high-border);
}

.report-page .report-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--report-border);
  font-size: 0.75rem;
  color: var(--report-muted);
  text-align: center;
}
.dark .report-page .report-footer { border-top-color: rgba(226,232,240,0.2); }

/* ========== Ultra premium doctor-grade report UI ========== */
.report-page {
  --report-radius: 20px;
  --report-radius-sm: 12px;
  --report-shadow: 0 4px 24px rgba(14, 165, 164, 0.06);
  --report-section-gap: 56px;
}
@media (max-width: 767px) {
  .report-page { --report-section-gap: 40px; }
}

/* Rapor sayfası: her zaman görünen aksiyon bloğu (İndir + Doktoruma götür) */
.report-actions-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.report-actions-inline .report-action-btn--primary.report-action-btn--locked {
  background: #94a3b8;
  cursor: not-allowed;
  opacity: 0.9;
}

/* Raporumu indir — analiz sonucu ekranında EN ÜSTTE, mutlaka görünsün */
.report-download-cta {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(14, 165, 164, 0.06);
  display: flex !important;
  visibility: visible !important;
}
.report-download-cta--prominent {
  padding: 1.25rem 1.5rem;
  background: rgba(14, 165, 164, 0.12);
  border-bottom: 2px solid rgba(14, 165, 164, 0.25);
}
.dark .report-download-cta {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: rgba(14, 165, 164, 0.08);
}
.dark .report-download-cta--prominent {
  background: rgba(14, 165, 164, 0.15);
  border-bottom-color: rgba(14, 165, 164, 0.3);
}
.report-download-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: 100%;
  width: 100%;
}
.report-download-cta-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--report-heading, #0f172a);
  width: 100%;
  margin-bottom: 0.25rem;
}
.dark .report-download-cta-label { color: #e2e8f0; }
.report-download-cta-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.report-download-main-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  background: #0EA5A4;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
}
.report-download-main-btn--large {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  min-height: 48px;
  min-width: 180px;
}
.report-download-main-btn:hover { filter: brightness(1.08); }
.report-download-main-btn.report-download-main-btn--locked {
  background: #94a3b8;
  cursor: pointer;
  opacity: 0.9;
}
.report-download-secondary-btn {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  color: #0EA5A4;
  border: 2px solid #0EA5A4;
  cursor: pointer;
  transition: background 0.2s, filter 0.2s;
}
.report-download-secondary-btn:hover { background: rgba(14, 165, 164, 0.08); filter: brightness(1.05); }
.dark .report-download-secondary-btn { color: #2dd4bf; border-color: #2dd4bf; }
.dark .report-download-secondary-btn:hover { background: rgba(45, 212, 191, 0.12); }
.report-download-link {
  font-size: 0.8125rem;
  color: #0EA5A4;
  text-decoration: underline;
  margin-left: auto;
}
.report-download-link:hover { text-decoration: none; }
.dark .report-download-link { color: #2dd4bf; }
.report-download-link.report-download-link--locked {
  color: #64748b;
}

/* Report PDF download: loading state — tek indirme, duplicate koruma */
[data-report-download-pdf].report-download-loading,
.report-download-main-btn.report-download-loading,
.btn-report-pdf.report-download-loading,
.report-action-btn.report-download-loading {
  pointer-events: none;
  cursor: wait;
  opacity: 0.85;
  min-width: 8.5rem;
}
.report-download-main-btn--large.report-download-loading {
  min-width: 11rem;
}
[data-report-download-pdf].report-download-loading:hover,
.report-download-main-btn.report-download-loading:hover,
.btn-report-pdf.report-download-loading:hover {
  filter: none;
}
.report-download-loading .report-download-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  vertical-align: -0.15em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: report-download-spin 0.7s linear infinite;
}
@keyframes report-download-spin {
  to { transform: rotate(360deg); }
}

/* 1) Sticky report bar */
.report-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}
.dark .report-sticky-bar {
  background: var(--norya-card, #1a2744);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.report-sticky-bar.report-sticky-bar--compact {
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.dark .report-sticky-bar.report-sticky-bar--compact {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.report-sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.report-sticky-bar-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.report-sticky-bar.report-sticky-bar--compact .report-sticky-bar-logo {
  height: 1.5rem;
}
.report-sticky-bar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--report-heading, #0f172a);
}
.dark .report-sticky-bar-title { color: #e2e8f0; }
.report-sticky-bar.report-sticky-bar--compact .report-sticky-bar-title {
  font-size: 0.875rem;
}
.report-sticky-bar-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.6875rem;
  color: var(--report-muted, #64748b);
}
.report-sticky-bar-pill {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(14, 165, 164, 0.08);
  color: var(--report-muted);
  white-space: nowrap;
}
.dark .report-sticky-bar-pill {
  background: rgba(45, 212, 191, 0.12);
  color: #94a3b8;
}
.report-sticky-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.report-sticky-bar .btn-report-pdf,
.report-sticky-bar .btn-report-doctor,
.report-sticky-bar .btn-report-share,
.report-sticky-bar .btn-report-upgrade {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, filter 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.report-sticky-bar .btn-report-pdf,
.report-sticky-bar .btn-report-upgrade { border: none; }
.report-sticky-bar .btn-report-pdf {
  background: #0EA5A4;
  color: #fff;
}
.report-sticky-bar .btn-report-pdf:hover { filter: brightness(1.08); }
.report-sticky-bar .btn-report-pdf.btn-report-pdf--locked {
  background: #94a3b8;
  cursor: not-allowed;
  opacity: 0.85;
}
.report-sticky-bar .btn-report-doctor {
  background: transparent;
  color: #0EA5A4;
  border: 2px solid #0EA5A4;
}
.report-sticky-bar .btn-report-doctor:hover { filter: brightness(1.05); background: rgba(14, 165, 164, 0.08); }
.dark .report-sticky-bar .btn-report-doctor { color: #2dd4bf; border-color: #2dd4bf; }
.dark .report-sticky-bar .btn-report-doctor:hover { background: rgba(45, 212, 191, 0.12); }
.report-sticky-bar .btn-report-share {
  background: transparent;
  color: var(--report-heading, #0f172a);
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.report-sticky-bar .btn-report-share:hover { background: rgba(0, 0, 0, 0.04); }
.dark .report-sticky-bar .btn-report-share { color: #e2e8f0; border-color: rgba(255,255,255,0.15); }
.dark .report-sticky-bar .btn-report-share:hover { background: rgba(255,255,255,0.06); }
.report-sticky-bar .btn-report-upgrade {
  background: linear-gradient(135deg, #0EA5A4 0%, #0d9488 100%);
  color: #fff;
}
.report-sticky-bar .btn-report-upgrade:hover { filter: brightness(1.08); }
@media (max-width: 767px) {
  .report-sticky-bar-pills { display: none; }
  .report-sticky-bar { padding: 0.75rem 1rem; }
  .report-sticky-bar-title { font-size: 0.875rem; }
  .report-sticky-bar .btn-report-share { display: none; }
}

/* 2) Hero block */
.report-hero {
  padding: 3rem 1.5rem;
  background: linear-gradient(160deg, rgba(14, 165, 164, 0.06) 0%, rgba(13, 148, 136, 0.03) 50%, transparent 100%);
  border-radius: 0 0 var(--report-radius) var(--report-radius);
  margin-bottom: var(--report-section-gap);
  position: relative;
  overflow: hidden;
}
.dark .report-hero {
  background: linear-gradient(160deg, rgba(14, 165, 164, 0.1) 0%, rgba(13, 148, 136, 0.05) 50%, transparent 100%);
}
.report-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(14, 165, 164, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.report-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.report-hero-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--report-heading, #0f172a);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.dark .report-hero-title { color: #f1f5f9; }
.report-hero-sub {
  font-size: 1rem;
  color: var(--report-muted, #64748b);
  margin: 0;
  line-height: 1.5;
}
.dark .report-hero-sub { color: #94a3b8; }
@media (max-width: 767px) {
  .report-hero { padding: 2rem 1rem; margin-bottom: 2.5rem; }
  .report-hero-title { font-size: 1.375rem; }
  .report-hero-sub { font-size: 0.9375rem; }
}

/* 3) Score summary card — kompakt, yeşil gauge küçük */
.report-score-summary {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--report-radius);
  box-shadow: var(--report-shadow);
  margin-bottom: var(--report-section-gap);
  overflow: hidden;
}
.dark .report-score-summary {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
}
.report-score-stats--elite {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: linear-gradient(180deg, rgba(14, 165, 164, 0.04) 0%, transparent 100%);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dark .report-score-stats--elite {
  background: linear-gradient(180deg, rgba(14, 165, 164, 0.06) 0%, transparent 100%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
@media (min-width: 480px) {
  .report-score-stats--elite {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.25rem 1.5rem;
  }
}
.report-score-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .report-score-stats { grid-template-columns: repeat(4, 1fr); }
}
.report-score-stat {
  padding: 0.5rem 0.75rem;
  background: transparent;
  border-radius: 0;
  border: none;
  text-align: left;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.report-score-stats--elite .report-score-stat {
  padding: 0.5rem 0;
}
.report-score-stats--elite .report-score-stat:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.dark .report-score-stats--elite .report-score-stat:not(:last-child) {
  border-right-color: rgba(255, 255, 255, 0.08);
}
@media (min-width: 480px) {
  .report-score-stats--elite .report-score-stat { padding: 0 1rem; }
  .report-score-stats--elite .report-score-stat:first-child { padding-left: 0; }
}
.report-score-stat-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--report-heading);
  line-height: 1.2;
}
.report-score-stats--elite .report-score-stat-value {
  font-size: 1.5rem;
}
.dark .report-score-stat-value { color: #e2e8f0; }
.report-score-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--report-muted);
  margin-top: 0;
}
.report-score-stats--elite .report-score-stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
}
.dark .report-score-stat-label { color: #94a3b8; }
.report-score-stat--optimal .report-score-stat-value { color: #059669; }
.dark .report-score-stat--optimal .report-score-stat-value { color: #34d399; }
.report-score-stat--attention .report-score-stat-value { color: #d97706; }
.dark .report-score-stat--attention .report-score-stat-value { color: #fbbf24; }
.report-score-stat--critical .report-score-stat-value { color: #dc2626; }
.dark .report-score-stat--critical .report-score-stat-value { color: #f87171; }
.report-score-stat--unknown .report-score-stat-value { color: #64748b; }
.dark .report-score-stat--unknown .report-score-stat-value { color: #94a3b8; }
.report-score-radial {
  width: 44px;
  height: 44px;
  margin: 0.35rem auto 0.5rem;
  flex-shrink: 0;
  padding: 0 0.25rem;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.05));
}
.report-score-radial .gauge-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.report-score-radial .gauge-bg,
.report-score-radial .gauge-fill {
  stroke-width: 4;
}
.report-score-radial .gauge-score {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .report-score-radial {
    width: 52px;
    height: 52px;
    margin: 0.35rem auto 0.5rem;
  }
  .report-score-radial .gauge-score {
    font-size: 13px;
  }
}

/* 4) Attention needed block — premium elite (white card, info icon, Detaylara git) */
.report-attention-block {
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid #0EA5A4;
  border-radius: var(--report-radius);
  margin-bottom: var(--report-section-gap);
  box-shadow: var(--report-shadow);
}
.dark .report-attention-block {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
  border-left-color: #2dd4bf;
}
.report-attention-block-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--report-heading);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dark .report-attention-block-title { color: #e2e8f0; }
.report-attention-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(14, 165, 164, 0.15);
  color: #0EA5A4;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.dark .report-attention-info-icon {
  background: rgba(45, 212, 191, 0.2);
  color: #2dd4bf;
}
/* Dikkat Gerekli — renkli kartlar (teker teker) */
.report-attention-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 480px) {
  .report-attention-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .report-attention-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.report-attention-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.report-attention-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.report-attention-card--high {
  border-left: 4px solid #ef4444;
  background: rgba(239, 68, 68, 0.06);
}
.dark .report-attention-card--high {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}
.report-attention-card--low {
  border-left: 4px solid #eab308;
  background: rgba(234, 179, 8, 0.06);
}
.dark .report-attention-card--low {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.2);
}
.report-attention-card-param {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--report-heading);
}
.dark .report-attention-card-param { color: #e2e8f0; }
.report-attention-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.report-attention-card--high .report-attention-card-badge { background: #fee2e2; color: #991b1b; }
.report-attention-card--low .report-attention-card-badge { background: #fef3c7; color: #92400e; }
.dark .report-attention-card--high .report-attention-card-badge { background: rgba(239, 68, 68, 0.35); color: #fca5a5; }
.dark .report-attention-card--low .report-attention-card-badge { background: rgba(234, 179, 8, 0.3); color: #fcd34d; }
.report-attention-card-value {
  font-size: 0.8125rem;
  color: var(--report-muted);
  font-weight: 500;
}
.dark .report-attention-card-value { color: #94a3b8; }
.report-attention-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0EA5A4;
  margin-top: 0.25rem;
}
.report-attention-card-link:hover { text-decoration: underline; }
.dark .report-attention-card-link { color: #2dd4bf; }
.report-attention-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.report-attention-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.875rem;
  line-height: 1.4;
}
.report-attention-item:last-child { border-bottom: none; padding-bottom: 0; }
.report-attention-param { font-weight: 600; color: var(--report-heading); }
.dark .report-attention-param { color: #e2e8f0; }
.report-attention-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.report-attention-badge--high { background: #fee2e2; color: #991b1b; }
.dark .report-attention-badge--high { background: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.report-attention-badge--low { background: #dbeafe; color: #1e40af; }
.dark .report-attention-badge--low { background: rgba(59, 130, 246, 0.3); color: #93c5fd; }
.report-attention-link {
  color: #0EA5A4;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8125rem;
  margin-left: auto;
}
.report-attention-link:hover { text-decoration: underline; }
.dark .report-attention-link { color: #2dd4bf; }
@media (min-width: 640px) {
  .report-attention-block { padding: 1.75rem 2rem; }
}

/* 5) Category summary — premium elite global */
.report-category-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--report-heading);
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.dark .report-category-summary-title { color: #e2e8f0; }
.report-category-summary-desc {
  font-size: 0.9375rem;
  color: var(--report-muted);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.dark .report-category-summary-desc { color: #94a3b8; }
.report-category-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: var(--report-section-gap);
}
@media (min-width: 768px) {
  .report-category-cards { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.report-category-card {
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(10, 25, 41, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: left;
}
.report-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 165, 164, 0.1);
}
.dark .report-category-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.report-category-card-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  color: #0EA5A4;
}
.dark .report-category-card-icon { color: #2dd4bf; }
.report-category-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--report-heading);
  margin: 0 0 0.5rem;
}
.dark .report-category-card-title { color: #e2e8f0; }
.report-category-card-meta {
  font-size: 0.8125rem;
  color: var(--report-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.dark .report-category-card-meta { color: #94a3b8; }
.report-category-card-bar {
  height: 6px;
  background: rgba(14, 165, 164, 0.15);
  border-radius: 4px;
  overflow: hidden;
}
.report-category-card-bar-fill {
  height: 100%;
  background: #0EA5A4;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.dark .report-category-card-bar-fill { background: #2dd4bf; }
.report-category-card--normal { border-left: 4px solid #22c55e; background: linear-gradient(to right, rgba(34, 197, 94, 0.06), transparent); }
.report-category-card--border { border-left: 4px solid #eab308; background: linear-gradient(to right, rgba(234, 179, 8, 0.08), transparent); }
.report-category-card--risk { border-left: 4px solid #ef4444; background: linear-gradient(to right, rgba(239, 68, 68, 0.08), transparent); }
.dark .report-category-card--normal { border-left-color: #4ade80; }
.dark .report-category-card--border { border-left-color: #facc15; }
.dark .report-category-card--risk { border-left-color: #f87171; }
.report-category-card-recommendation { font-size: 0.75rem; color: var(--report-muted); margin: 0.5rem 0 0; line-height: 1.4; }
.dark .report-category-card-recommendation { color: #94a3b8; }

/* Domain cards (Kardiyovasküler, Metabolik, Vitamin, Enflamasyon) — renkli kart + öneri */
.report-page .report-domain-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 640px) { .report-page .report-domain-cards { grid-template-columns: repeat(4, 1fr); } }
.report-page .report-domain-card {
  padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(10,25,41,0.04);
}
.dark .report-page .report-domain-card { border-color: rgba(255,255,255,0.06); }
.report-page .report-domain-card--normal { border-left: 4px solid #22c55e; background: linear-gradient(to right, rgba(34, 197, 94, 0.07), transparent); }
.report-page .report-domain-card--border { border-left: 4px solid #eab308; background: linear-gradient(to right, rgba(234, 179, 8, 0.08), transparent); }
.report-page .report-domain-card--risk { border-left: 4px solid #ef4444; background: linear-gradient(to right, rgba(239, 68, 68, 0.08), transparent); }
.dark .report-page .report-domain-card--normal { border-left-color: #4ade80; }
.dark .report-page .report-domain-card--border { border-left-color: #facc15; }
.dark .report-page .report-domain-card--risk { border-left-color: #f87171; }
.report-page .report-domain-card-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.report-page .report-domain-card-header .report-sec-icon { flex-shrink: 0; }
.report-page .report-domain-card-title { font-weight: 700; font-size: 0.875rem; color: var(--report-heading); flex: 1; }
.report-page .report-domain-card-score { font-weight: 800; font-size: 0.9375rem; color: #0EA5A4; }
.report-page .report-domain-card-bar { height: 6px; background: rgba(14,165,164,0.12); border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; }
.report-page .report-domain-card-bar-fill { height: 100%; border-radius: 4px; background: #0EA5A4; transition: width 0.3s ease; }
.report-page .report-domain-card-recommendation { font-size: 0.75rem; color: var(--report-muted); margin: 0; line-height: 1.4; }
.dark .report-page .report-domain-card-recommendation { color: #94a3b8; }

/* Parametre kategorisi bölümleri (Hemogram, Karaciğer, vb.) — renkli kenarlık + öneri */
.report-page .report-category-section--normal { border-left: 4px solid #22c55e; padding-left: 1rem; margin-left: 0; background: linear-gradient(to right, rgba(34, 197, 94, 0.05), transparent); border-radius: 0 12px 12px 0; padding: 1rem 1rem 1rem 1.25rem; }
.report-page .report-category-section--border { border-left: 4px solid #eab308; padding-left: 1rem; background: linear-gradient(to right, rgba(234, 179, 8, 0.06), transparent); border-radius: 0 12px 12px 0; padding: 1rem 1rem 1rem 1.25rem; }
.report-page .report-category-section--risk { border-left: 4px solid #ef4444; padding-left: 1rem; background: linear-gradient(to right, rgba(239, 68, 68, 0.06), transparent); border-radius: 0 12px 12px 0; padding: 1rem 1rem 1rem 1.25rem; }
.report-page .report-category-section-recommendation { font-size: 0.8125rem; color: var(--report-muted); margin: 0 0 0.75rem; line-height: 1.4; }
.dark .report-page .report-category-section-recommendation { color: #94a3b8; }

/* 6) Biomarker / parameter grid — premium elite clinician-style */
.report-params-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--report-heading);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.dark .report-params-title { color: #e2e8f0; }
.report-biomarker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: var(--report-section-gap);
}
@media (min-width: 768px) {
  .report-biomarker-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .report-biomarker-grid { grid-template-columns: repeat(3, 1fr); }
}
.report-biomarker-card {
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(10, 25, 41, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 0;
}
.report-biomarker-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 165, 164, 0.08);
}
.dark .report-biomarker-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.report-biomarker-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.report-biomarker-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--report-heading);
}
.dark .report-biomarker-card-name { color: #e2e8f0; }
.report-biomarker-card-score {
  font-size: 0.875rem;
  color: var(--report-muted);
  margin-bottom: 0.5rem;
}
.report-biomarker-card-score strong {
  color: var(--report-heading);
  font-weight: 800;
}
.report-biomarker-card--normal .report-biomarker-card-score strong { color: #15803d; }
.report-biomarker-card--border .report-biomarker-card-score strong { color: #a16207; }
.report-biomarker-card--risk .report-biomarker-card-score strong { color: #b91c1c; }
.dark .report-biomarker-card-score { color: #94a3b8; }
.dark .report-biomarker-card--normal .report-biomarker-card-score strong { color: #4ade80; }
.dark .report-biomarker-card--border .report-biomarker-card-score strong { color: #fcd34d; }
.dark .report-biomarker-card--risk .report-biomarker-card-score strong { color: #f87171; }
.report-biomarker-card-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--report-heading);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.dark .report-biomarker-card-value { color: #f1f5f9; }
.report-biomarker-card-ref {
  font-size: 0.8125rem;
  color: var(--report-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.dark .report-biomarker-card-ref { color: #94a3b8; }
.report-biomarker-card-bar-wrap {
  position: relative;
  height: 10px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 5px;
  overflow: visible;
  margin-bottom: 0.75rem;
}
.report-biomarker-card-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  max-width: 100%;
  border-radius: 5px;
  transition: width 0.3s ease;
  z-index: 1;
}
.report-biomarker-card-bar-marker { z-index: 2; }
.report-biomarker-card--normal .report-biomarker-card-bar-fill { background: rgba(34, 197, 94, 0.5); }
.report-biomarker-card--border .report-biomarker-card-bar-fill { background: rgba(234, 179, 8, 0.5); }
.report-biomarker-card--risk .report-biomarker-card-bar-fill { background: rgba(239, 68, 68, 0.5); }
.report-biomarker-card-bar-marker {
  position: absolute;
  top: 0;
  height: 100%;
  width: 4px;
  background: #0EA5A4;
  border-radius: 2px;
  margin-left: -2px;
  transition: left 0.2s ease;
}
.dark .report-biomarker-card-bar-marker { background: #2dd4bf; }
.report-biomarker-card-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--report-muted);
}
.dark .report-biomarker-card-desc { color: #94a3b8; }
.report-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}
.report-badge--optimal { background: #d1fae5; color: #065f46; }
.dark .report-badge--optimal { background: rgba(16, 185, 129, 0.25); color: #6ee7b7; }
.report-badge--high { background: #fee2e2; color: #991b1b; }
.dark .report-badge--high { background: rgba(239, 68, 68, 0.25); color: #fca5a5; }
.report-badge--low { background: #dbeafe; color: #1e40af; }
.dark .report-badge--low { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.report-badge--unknown { background: #f1f5f9; color: #475569; }
.dark .report-badge--unknown { background: rgba(100, 116, 139, 0.3); color: #94a3b8; }
.report-badge--border { background: #fef3c7; color: #92400e; }
.dark .report-badge--border { background: rgba(245, 158, 11, 0.25); color: #fcd34d; }

/* 7) Premium gate (blur + lock) */
.report-premium-gate {
  position: relative;
  border-radius: var(--report-radius);
  overflow: hidden;
  margin-bottom: var(--report-section-gap);
}
.report-premium-gate-content {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  min-height: 120px;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--report-radius);
}
.dark .report-premium-gate-content {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
}
.report-premium-gate.report-premium-gate--unlocked .report-premium-gate-content {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}
.report-premium-gate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.85) 100%);
  border-radius: var(--report-radius);
}
.dark .report-premium-gate-overlay {
  background: linear-gradient(to bottom, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.9) 100%);
}
.report-premium-gate.report-premium-gate--unlocked .report-premium-gate-overlay {
  display: none;
}
.report-premium-gate-icon {
  font-size: 2rem;
  opacity: 0.9;
}
.report-premium-gate-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--report-heading);
}
.dark .report-premium-gate-label { color: #e2e8f0; }
.report-premium-gate-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  background: #0EA5A4;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
}
.report-premium-gate-cta:hover { filter: brightness(1.08); color: #fff; }
.dark .report-premium-gate-cta { background: #14b8a6; }

/* 8) Upgrade section CTA */
.report-upgrade-section {
  padding: 2.5rem 1.5rem;
  background: linear-gradient(145deg, rgba(14, 165, 164, 0.08) 0%, rgba(13, 148, 136, 0.04) 100%);
  border: 1px solid rgba(14, 165, 164, 0.2);
  border-radius: var(--report-radius);
  margin-bottom: var(--report-section-gap);
  text-align: center;
}
.dark .report-upgrade-section {
  background: linear-gradient(145deg, rgba(14, 165, 164, 0.12) 0%, rgba(13, 148, 136, 0.06) 100%);
  border-color: rgba(45, 212, 191, 0.25);
}
.report-upgrade-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--report-heading);
  margin: 0 0 0.5rem;
}
.dark .report-upgrade-section-title { color: #f1f5f9; }
.report-upgrade-section-desc {
  font-size: 0.9375rem;
  color: var(--report-muted);
  margin: 0 0 1.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.dark .report-upgrade-section-desc { color: #94a3b8; }
.report-upgrade-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--report-heading);
}
.dark .report-upgrade-list { color: #cbd5e1; }
.report-upgrade-list li { display: flex; align-items: center; gap: 0.35rem; }
.report-upgrade-guarantee {
  font-size: 0.8125rem;
  color: var(--report-muted);
  margin-bottom: 1rem;
}
.dark .report-upgrade-guarantee { color: #94a3b8; }
.report-upgrade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  background: #0EA5A4;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
  text-decoration: none;
}
.report-upgrade-btn:hover { filter: brightness(1.08); color: #fff; }
.dark .report-upgrade-btn { background: #14b8a6; }

/* Report hero badges — premium elite */
.report-hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.report-hero-premium-badge,
.report-hero-demo-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.report-hero-premium-badge {
  background: rgba(14, 165, 164, 0.2);
  color: #0d9488;
}
.dark .report-hero-premium-badge { background: rgba(45, 212, 191, 0.25); color: #2dd4bf; }
.report-hero-demo-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}
.dark .report-hero-demo-badge { background: rgba(251, 191, 36, 0.2); color: #fcd34d; }
.report-hero-premium-badge.hidden,
.report-hero-demo-badge.hidden { display: none !important; }

/* Upgrade section — elite card (rakip tarzı teal kutu) */
.report-upgrade-section--elite { padding: 0; background: transparent; border: none; }
.report-upgrade-elite-card {
  padding: 2rem 1.75rem;
  background: linear-gradient(145deg, #0EA5A4 0%, #0d9488 100%);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(14, 165, 164, 0.25);
  margin-bottom: var(--report-section-gap);
}
.dark .report-upgrade-elite-card {
  background: linear-gradient(145deg, #0f766e 0%, #0d9488 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.report-upgrade-elite-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.5rem;
}
.report-upgrade-section--elite .report-upgrade-section-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}
.report-upgrade-section--elite .report-upgrade-section-desc {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.25rem;
}
.report-upgrade-list--elite {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.report-upgrade-list--elite li { color: #fff; }
.report-upgrade-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.report-upgrade-section--elite .report-upgrade-guarantee {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
}
.report-upgrade-btn--elite {
  background: #fff;
  color: #0d9488;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.report-upgrade-btn--elite:hover {
  filter: brightness(0.98);
  color: #0d9488;
  background: #fff;
}

/* 9) Floating upgrade CTA — WhatsApp FAB'ın üstünde, çakışmasın diye yukarıda */
.report-floating-upgrade {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  background: #0EA5A4;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(14, 165, 164, 0.35);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.report-floating-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 165, 164, 0.4);
  color: #fff;
}
.report-floating-upgrade.report-floating-upgrade--hidden { display: none; }
@media (max-width: 767px) {
  .report-floating-upgrade {
    bottom: 4.25rem;
    right: 1rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

/* Section anchor for scroll */
.report-section-anchor { scroll-margin-top: 5rem; }

/* Print / PDF: hide no-print, A4 margin 16mm */
@media print {
  .report-page .no-print,
  .no-print {
    display: none !important;
  }
  .report-floating-upgrade,
  .report-sticky-bar { position: static; }
  @page {
    size: A4;
    margin: 16mm;
  }
}
