.controls-panel {
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: start;
  height: 100vh;
  padding: 30px 26px 40px;
  overflow-y: auto;
  background: var(--panel);
  border-right: 1px solid var(--line);
  scrollbar-color: var(--line) transparent;
}

.intro { padding-bottom: 24px; }
.intro > p:last-child { margin-bottom: 0; color: var(--muted); max-width: 34rem; }

.quick-start {
  margin-bottom: 20px;
  padding: 18px;
  background: #10130f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quick-start h2 { font-size: 1.15rem; }
.quick-start > p:not(.step) { margin-bottom: 14px; color: var(--muted); font-size: .88rem; }

.button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-raised);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

button:hover { border-color: var(--accent); background: #30372d; }
button:active { transform: translateY(1px); }
button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 720; }
button.primary:hover { background: #e6ff9d; }

.control-section { border-top: 1px solid var(--line); }
.control-section:last-child { border-bottom: 1px solid var(--line); }

.control-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 15px 1px;
  font-size: .95rem;
  font-weight: 680;
  letter-spacing: 0;
}

.control-heading span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font: 700 .68rem var(--mono);
}

.control-group { padding: 0 1px 18px; }

label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 5px;
  color: var(--muted);
  font-size: .82rem;
}

output { color: var(--ink); font: .76rem var(--mono); }

select,
input[type="number"] {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #10130f;
}

input[type="range"] { width: 100%; accent-color: var(--accent); }
input:disabled,
select:disabled { opacity: .38; cursor: not-allowed; }

.toggle { min-height: 34px; }
.toggle input { width: 18px; height: 18px; accent-color: var(--accent); }

.microcopy {
  margin: 8px 0 15px;
  color: var(--muted);
  font: .72rem/1.45 var(--mono);
}

.final-actions { margin-top: 20px; }
