:root {
  font-family: Inter, system-ui, sans-serif;
  color: #111827;
  background: #f8fafc;
}

body {
  margin: 0;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.panel {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

#controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.7rem;
}

.control {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.control label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.value {
  font-weight: 600;
}

.row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

button {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  background: #f1f5f9;
  cursor: pointer;
}

input,
select {
  padding: 0.45rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}
