.rx-console {
  --rx-ink: #f1c88b;
  min-width: 0;
  color: var(--desk-ink);
}
.rx-console [hidden] { display: none !important; }
.rx-head, .rx-readout, .rx-label, .rx-scale, .rx-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.rx-head { margin: 0 0 22px; }
.rx-head p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--desk-muted); }
.rx-console button { font-family: inherit; }
.rx-console button:disabled { cursor: default; }
.rx-console :is(input, button):focus-visible { outline: 2px solid var(--target-accent); outline-offset: 3px; }
.rx-monitor, .rx-lock {
  flex: none; min-height: 44px;
  border: 1px solid #c8c0ac68; border-radius: 2px;
  font-weight: 600; font-size: 15px;
  padding: 0 16px;
}
.rx-monitor { display: inline-flex; gap: 9px; align-items: center; background: #171818; color: var(--desk-ink); }
.rx-monitor i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #aaa99f; }
.rx-monitor[aria-pressed=true] i { background: #efb56c; border-color: #efb56c; box-shadow: 0 0 7px #e6ae6766; }
.rx-screen {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 65%, #20231d, #151813 70%, #12140f);
  border-block: 1px solid #bfbcae55;
}
.rx-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, #15161218 3px 4px); }
.rx-readout { padding: 16px clamp(12px, 2vw, 28px); color: #bfbfb0; flex-wrap: wrap; }
.rx-readout, .rx-legend { font-size: 14px; }
.rx-readout b { font: 500 18px var(--mono); font-variant-numeric: tabular-nums; color: #f0e8d6; }
.rx-source { color: var(--rx-ink); font-weight: 600; }
.rx-wave { display: block; width: 100%; height: clamp(130px, 17vw, 260px); }
.rx-legend { display: flex; justify-content: flex-end; gap: 18px; padding: 12px clamp(12px, 2vw, 28px); color: #cbc9bb; }
.rx-legend span { display: flex; align-items: center; gap: 6px; }
.rx-legend span::before { content: ''; width: 18px; border-top: 2px solid var(--rx-ink); }
.rx-legend span:nth-child(2)::before { border-top: 1px dashed #f0ebdd; }
.rx-controls { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 6vw, 100px); padding: 27px 0; }
.rx-dial { min-width: 0; }
.rx-label label { font-size: 17px; font-weight: 600; }
.rx-value { color: var(--rx-ink); font: 500 17px var(--mono); }
.rx-dial-row { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 5px; margin-top: 8px; }
.rx-dial-row button { height: 44px; background: transparent; color: var(--desk-ink); border: none; border-radius: 0; font-size: 20px; }
.rx-dial-row button:disabled { color: #838277; }
.rx-dial-row button:hover:not(:disabled) { background: #d4c8ac19; }
.rx-dial input {
  appearance: none; -webkit-appearance: none;
  margin: 0; width: 100%; height: 42px; min-width: 0;
  background: repeating-linear-gradient(90deg, #bcb5a64d 0 1px, transparent 1px 5%) center 8px / 98% 7px no-repeat;
  cursor: pointer; accent-color: var(--rx-ink);
}
.rx-dial input::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, #d3b687 var(--rx-fill), #57584e var(--rx-fill)); }
.rx-dial input::-moz-range-track { height: 3px; background: #57584e; }
.rx-dial input::-moz-range-progress { height: 3px; background: #d3b687; }
.rx-dial input::-webkit-slider-thumb {
  appearance: none; width: 16px; height: 28px; margin-top: -12px;
  background: linear-gradient(90deg, #c3bdad, #f1ead7 45%, #444136 45% 55%, #e3dccb 55%, #afaa9c);
  border: 1px solid #141512; border-radius: 2px;
  box-shadow: 0 2px 4px #000a;
}
.rx-dial input::-moz-range-thumb {
  width: 15px; height: 27px; background: #dcd3bf;
  border: 1px solid #322f26; border-radius: 2px;
}
.rx-scale { margin-inline: 49px; color: var(--desk-quiet); font: 12px var(--mono); }
.rx-help { margin: 9px 0 0; color: var(--desk-muted); font-size: 14px; }
.rx-help[data-aligned=true] { color: var(--rx-ink); }
.rx-bottom { border-top: 1px solid var(--desk-line); padding-top: 18px; }
.rx-status { margin: 0; color: var(--desk-muted); font-size: 15px; }
.rx-lock { background: #e7dfcd; color: #242017; }
.rx-lock:disabled { background: #26251f; color: #aeaa9f; border-color: #5c594e; }
.rx-progress { display: block; width: min(210px, 100%); height: 4px; margin-top: 6px; accent-color: var(--rx-ink); }
@media(max-width: 600px) {
  .rx-controls { grid-template-columns: 1fr; gap: 18px; padding: 18px 0; }
  .rx-readout { gap: 10px; padding: 10px; }
  .rx-head { align-items: flex-start; gap: 10px; }
  .rx-monitor { padding-inline: 10px; }
  .rx-wave { height: 130px; }
}
