/**
 * SYNATIX Report Styles
 * synatix.com – Schwarz/Weiß Layout für Berichte & Exporte
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --report-black: #000000;
  --report-white: #ffffff;
  --report-gray-100: #f5f5f5;
  --report-gray-200: #e5e5e5;
  --report-gray-400: #a3a3a3;
  --report-gray-600: #525252;
  --report-gray-800: #262626;
  --report-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body.report-page {
  font-family: var(--report-font);
  font-size: 11pt;
  line-height: 1.5;
  color: var(--report-black);
  background: var(--report-white);
  max-width: 210mm;
  margin: 0 auto;
  padding: 20mm;
}

/* Report Header – SYNATIX Branding */
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--report-black);
}

.report-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-logo img,
.report-logo svg {
  height: 32px;
  width: auto;
}

.report-logo-text {
  font-size: 18pt;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--report-black);
}

.report-meta {
  text-align: right;
  font-size: 9pt;
  color: var(--report-gray-600);
}

.report-meta a {
  color: var(--report-black);
  text-decoration: none;
}

/* Report Title */
.report-title {
  font-size: 16pt;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--report-black);
}

.report-subtitle {
  font-size: 10pt;
  color: var(--report-gray-600);
  margin-bottom: 24px;
}

/* Sections */
.report-section {
  margin-bottom: 24px;
}

.report-section h3 {
  font-size: 11pt;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--report-gray-200);
  color: var(--report-black);
}

.report-section p {
  margin-bottom: 8px;
}

/* Tables */
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10pt;
  margin: 12px 0;
}

.report-table th,
.report-table td {
  padding: 8px 12px;
  text-align: left;
  border: 1px solid var(--report-gray-200);
}

.report-table th {
  background: var(--report-black);
  color: var(--report-white);
  font-weight: 600;
}

.report-table tr:nth-child(even) {
  background: var(--report-gray-100);
}

.report-table .text-right { text-align: right; }
.report-table .fw-600 { font-weight: 600; }

/* Footer */
.report-footer {
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid var(--report-gray-200);
  font-size: 8pt;
  color: var(--report-gray-600);
  text-align: center;
}

.report-footer a {
  color: var(--report-black);
  text-decoration: none;
}

/* Print */
@media print {
  body.report-page {
    padding: 15mm;
  }
  .report-header { break-after: avoid; }
  .report-section { break-inside: avoid; }
}
