body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  background: linear-gradient(135deg, #e2d2c3,#f0e2ce, 100%);
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.header h1 {
  margin: 0;
  font-size: 2.5em;
  font-weight: 300;
}

.header p {
  margin: 10px 0 0 0;
  font-size: 1.2em;
  opacity: 0.9;
}

.navigation {
  padding: 20px 30px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breadcrumb {
  font-size: 16px;
  color: #6c757d;
}

.breadcrumb .active {
  color: #2c3e50;
  font-weight: 600;
}

.breadcrumb .separator {
  margin: 0 10px;
  color: #adb5bd;
}

.nav-button {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.nav-button:hover {
  background: #2980b9;
  transform: translateY(-2px);
  opacity: 1;
}

.nav-button:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
}

.content {
  padding: 30px;
}

.scene-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c3e50;
}

.scene-description {
  font-size: 1.1em;
  color: #7f8c8d;
  margin-bottom: 25px;
  line-height: 1.5;
}

.chart-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

.annotation-callout {
  fill: none;
  stroke: #e74c3c;
  stroke-width: 2;
}

.annotation-label {
  background: #e74c3c;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
}

.bar {
  cursor: pointer;
  transition: all 0.3s ease;
}

.bar:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.axis {
  font-size: 12px;
}

.axis-label {
  font-size: 14px;
  font-weight: 500;
  fill: #2c3e50;
}

.tooltip {
  position: absolute;
  padding: 12px;
  background: rgba(0,0,0,0.9);
  color: white;
  border-radius: 5px;
  pointer-events: none;
  font-size: 12px;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.instruction {
  background: #e8f5e8;
  border-left: 4px solid #27ae60;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 0 5px 5px 0;
  font-size: 14px;
  color: #2d5a2d;
}

.loading {
  text-align: center;
  padding: 50px;
  color: #7f8c8d;
  font-size: 18px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.insights-box {
  padding: 25px;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border-radius: 12px;
  border-left: 4px solid #3182ce;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  height: fit-content;
}

.insights-box h4 {
  margin: 0 0 18px 0;
  color: #2d3748;
  font-size: 16px;
  font-weight: 600;
}

.insights-box p {
  margin: 12px 0;
  font-size: 14px;
  color: #4a5568;
  line-height: 1.5;
}

.insights-box strong {
  color: #2d3748;
  font-weight: 600;
}

.chart-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  padding: 20px;
}

.scene-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2d3748;
}

.scene-description {
  font-size: 1.1em;
  color: #718096;
  margin-bottom: 25px;
  line-height: 1.6;
}