body.frame--report__risk_overview {
  --primary-1000: #1A0F1D;
  --primary-900: #211324;
  --primary-600: #BA68C8;
  --primary-500: #C689D0;
  --primary-400: #CE97D7;
  --primary-300: #D6A5DE;
  --primary-200: #E0C0E8;
  --primary-color: #BA68C8;
  --secondary-color: #C689D0;
  --accent-color: #ef4444;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --dark-color: #ececec;
  --medium-color: #1a1a1a;
  --light-color: #0a0a0a;
  --card-background: #e9e7e7;
  --section-background: #141414;
  --text-primary: #313131;
  --text-secondary: #4e4e4e;
  --text-muted: #707070;
  --border-color: #333333;
  --border-accent: #BA68C8;
  --shadow-color: rgba(0, 0, 0, 0.8);
  --gradient-primary: linear-gradient(135deg, #fafafa 0%, #ffa1ff 50%, #BA68C8 100%);
  --gradient-secondary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  --gradient-header: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 30%, #2a1a2a 70%, #BA68C8 100%);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  font-size: 16px;
  max-width: 210mm;
  margin: 0 auto;
  min-height: 297mm;
  box-shadow: 0 20px 40px var(--shadow-color);
  position: relative;
  /* Responsive adjustments */
}
body.frame--report__risk_overview * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body.frame--report__risk_overview header {
  color: black;
  padding: 60px 40px 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}
body.frame--report__risk_overview header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
body.frame--report__risk_overview header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
body.frame--report__risk_overview header .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 300;
  position: relative;
  z-index: 2;
}
body.frame--report__risk_overview main {
  padding: 50px 40px;
}
body.frame--report__risk_overview .section {
  margin-bottom: 50px;
}
body.frame--report__risk_overview .section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: black;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}
body.frame--report__risk_overview .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
body.frame--report__risk_overview .intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 100%;
}
body.frame--report__risk_overview .risk-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}
body.frame--report__risk_overview .chart-placeholder {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 500;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px var(--shadow-color);
}
body.frame--report__risk_overview .chart-placeholder::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-600);
  border-radius: 50%;
  opacity: 0.2;
}
body.frame--report__risk_overview .risk-definition {
  background: var(--card-background);
  border-left: 4px solid var(--primary-600);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 8px;
  margin: 40px 0;
  box-shadow: 0 2px 4px var(--shadow-color);
}
body.frame--report__risk_overview .risk-definition h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}
body.frame--report__risk_overview .risk-definition p {
  color: var(--text-secondary);
  line-height: 1.7;
}
body.frame--report__risk_overview .risk-definition strong {
  color: var(--primary-400);
  font-weight: 600;
}
body.frame--report__risk_overview .risk-tables {
  display: grid;
  gap: 50px;
  margin-top: 40px;
}
body.frame--report__risk_overview .table-section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
body.frame--report__risk_overview .status-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
body.frame--report__risk_overview .status-open {
  background: rgba(239, 68, 68, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
body.frame--report__risk_overview .status-closed {
  background: rgba(172, 233, 185, 0.15);
  color: var(--success-color);
  border: 1px solid rgba(112, 200, 104, 0.356);
}
body.frame--report__risk_overview .table-placeholder {
  background: var(--dark-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 500;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px var(--shadow-color);
  position: relative;
  overflow: hidden;
}
body.frame--report__risk_overview .table-placeholder::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, transparent 0%, var(--primary-600) 50%, transparent 100%);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.1;
}
body.frame--report__risk_overview .closed-risks-description {
  background: rgba(186, 104, 200, 0.1);
  border: 1px solid rgba(186, 104, 200, 0.3);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  line-height: 1.7;
}
body.frame--report__risk_overview footer {
  margin-top: 60px;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
@media print {
  body.frame--report__risk_overview {
    background: var(--light-color);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    box-shadow: none;
    max-width: none;
    width: 100%;
    margin: 0;
    background: var(--card-background) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.frame--report__risk_overview header {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.frame--report__risk_overview .section, body.frame--report__risk_overview .risk-definition, body.frame--report__risk_overview .risk-descriptor {
    page-break-inside: avoid;
  }
  body.frame--report__risk_overview .risk-charts {
    page-break-inside: avoid;
  }
}
@media (max-width: 768px) {
  body.frame--report__risk_overview {
    margin: 20px;
    max-width: calc(100% - 40px);
  }
  body.frame--report__risk_overview header {
    padding: 40px 20px 30px;
  }
  body.frame--report__risk_overview header h1 {
    font-size: 2.5rem;
  }
  body.frame--report__risk_overview main {
    padding: 30px 20px;
  }
  body.frame--report__risk_overview .risk-charts {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.frame--report__risk_overview .section-title {
    font-size: 2rem;
  }
}

