/* SCOTUS Analytics — Chart Styles */

.chart-container {
  position: relative;
  width: 100%;
}

/* Prediction Gauge */
.gauge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.gauge-canvas {
  display: block;
}

.gauge-label {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.gauge-value {
  font-family: var(--font-data);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.gauge-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Justice Dot Plot */
.dot-plot-container {
  position: relative;
  padding: var(--space-lg) 0;
}

.dot-plot-axis {
  height: 2px;
  background: var(--border-light);
  position: relative;
  margin: var(--space-2xl) 0 var(--space-lg);
}

.dot-plot-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.dot-plot-dot {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 1;
}

.dot-plot-dot:hover {
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 2;
}

/* Methodology Comparison Grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.method-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
  text-align: center;
  border-top: 4px solid var(--border-light);
}

.method-card-spaeth { border-top-color: #636e72; }
.method-card-sentiment { border-top-color: var(--sentiment-engagement); }
.method-card-elp { border-top-color: var(--accent-blue); }

.method-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.method-name {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.method-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.method-prediction {
  font-family: var(--font-data);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Comparison Table Cells */
.cell-petitioner { background: rgba(45, 125, 210, 0.12); color: var(--color-petitioner); font-weight: 600; }
.cell-respondent { background: rgba(192, 57, 43, 0.12); color: var(--color-respondent); font-weight: 600; }
.cell-neutral { background: rgba(149, 165, 166, 0.12); color: var(--color-neutral); font-weight: 600; }
.cell-uncertain { background: rgba(243, 156, 18, 0.12); color: var(--confidence-medium); font-weight: 600; }

/* Outcome Scenarios */
.scenario-bar {
  display: flex;
  height: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--space-xs);
}

.scenario-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  min-width: 30px;
  transition: width 0.6s ease;
}
