/* 96.8% Surprise Curve Plot — Office 2026 light */

.sc {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border, #e1dfdd);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text, #1f1f1f);
}

.sc-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  color: var(--text, #1f1f1f);
}

.sc-sub {
  font-size: 0.875rem;
  color: var(--text-muted, #605e5c);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.sc-chart-wrap {
  position: relative;
  width: 100%;
  background: var(--bg-subtle, #f3f2f1);
  border: 1px solid var(--border, #e1dfdd);
  border-radius: 6px;
  padding: 0.5rem;
}

.sc-chart {
  width: 100%;
  height: auto;
  display: block;
}

.sc-grid-line {
  stroke: #d9d7d5;
  stroke-width: 1;
}

.sc-axis-line {
  stroke: #605e5c;
  stroke-width: 1.2;
}

.sc-axis-label {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 11px;
  fill: #605e5c;
  font-weight: 500;
}

.sc-axis-title {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 11px;
  fill: #1f1f1f;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sc-curve-fill {
  fill: rgba(0, 120, 212, 0.08);
}

.sc-curve-line {
  fill: none;
  stroke: var(--accent, #0078d4);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.sc-asymptote {
  stroke: var(--success, #107c10);
  stroke-width: 1.5;
  stroke-dasharray: 6, 4;
  fill: none;
}

.sc-asymptote-label {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  fill: var(--success, #107c10);
  font-weight: 700;
}

.sc-point {
  fill: var(--accent, #0078d4);
  stroke: var(--bg-surface, #ffffff);
  stroke-width: 2;
}

.sc-point.end-point {
  fill: var(--accent-deep, #1a3a5c);
}

.sc-annotation {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  fill: var(--accent-deep, #1a3a5c);
  font-weight: 700;
}

.sc-annotation-line {
  stroke: var(--accent-deep, #1a3a5c);
  stroke-width: 1;
  stroke-dasharray: 2, 3;
}

.sc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.625rem;
  margin: 1.25rem 0 0.875rem;
}

.sc-stat {
  background: var(--bg-subtle, #f3f2f1);
  border: 1px solid var(--border, #e1dfdd);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  text-align: center;
}

.sc-stat.highlight {
  background: linear-gradient(180deg, rgba(0,120,212,0.06), var(--bg-surface, #ffffff));
  border-color: var(--accent, #0078d4);
}

.sc-stat-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent, #0078d4);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.sc-stat.highlight .sc-stat-num {
  color: var(--accent-deep, #1a3a5c);
  font-size: 2rem;
}

.sc-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted, #605e5c);
  font-weight: 600;
}

.sc-caption {
  font-size: 0.8125rem;
  color: var(--text-muted, #605e5c);
  line-height: 1.55;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border, #e1dfdd);
}

.sc-caption code {
  background: var(--bg-subtle, #f3f2f1);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--accent-deep, #1a3a5c);
}
