/* Chemical & Process Engineering Interactive Simulation Styles */
.cpe-sim-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: #1e293b;
  font-family: inherit;
}

.cpe-sim-card header {
  margin-bottom: 1rem;
}

.cpe-sim-card .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0284c7;
  margin-bottom: 0.25rem;
}

.cpe-sim-card h3 {
  margin: 0.2rem 0 0.5rem 0;
  font-size: 1.15rem;
  color: #0f172a;
}

.cpe-sim-card .lead {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.cpe-sim-card .controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cpe-sim-card .control-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cpe-sim-card .control-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.cpe-sim-card .control-group input[type="range"] {
  width: 100%;
  accent-color: #0284c7;
  cursor: pointer;
}

.cpe-sim-card .stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cpe-sim-card .stat-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
}

.cpe-sim-card .stat-box small {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cpe-sim-card .stat-box output {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.cpe-sim-card svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.cpe-sim-card .diagnostic-note {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 0.85rem;
  line-height: 1.45;
  padding: 0.5rem 0.75rem;
  background: #f1f5f9;
  border-radius: 4px;
}
