:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: rgba(17, 20, 27, 0.9);
  --panel-strong: #141821;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f1eb;
  --muted: #9399a7;
  --faint: #5f6572;
  --acid: #d7ff4b;
  --acid-dim: rgba(215, 255, 75, 0.14);
  --cyan: #62e8f4;
  --cyan-dim: rgba(98, 232, 244, 0.12);
  --danger: #ff775f;
  --radius: 18px;
  --sans: Inter, "Segoe UI Variable", "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1050px;
  background:
    radial-gradient(circle at 82% 5%, rgba(98, 232, 244, 0.08), transparent 28rem),
    radial-gradient(circle at 20% 30%, rgba(215, 255, 75, 0.035), transparent 35rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
select,
input[type="range"] {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 16, 0.82);
  backdrop-filter: blur(18px);
  -webkit-app-region: drag;
}

.topbar button,
.brand {
  -webkit-app-region: no-drag;
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  width: max-content;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 36px;
  height: 36px;
}

.brand-mark i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--acid);
  box-shadow: 0 0 15px rgba(215, 255, 75, 0.4);
}

.brand-mark i:nth-child(1),
.brand-mark i:nth-child(5) { height: 11px; }
.brand-mark i:nth-child(2),
.brand-mark i:nth-child(4) { height: 24px; }
.brand-mark i:nth-child(3) { height: 34px; }

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.headphone-note {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.transport {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.button-primary {
  background: var(--acid);
  color: #111408;
  box-shadow: 0 8px 30px rgba(215, 255, 75, 0.12);
}

.button-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button-ghost {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.compact {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.transport-button {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 164px;
  justify-content: center;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.is-playing .play-icon {
  width: 10px;
  height: 10px;
  border: 0;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%);
}

main {
  width: min(1420px, 92vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 6vw;
  align-items: center;
  min-height: 500px;
  padding: 68px 1vw 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-size: clamp(43px, 4.8vw, 76px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 em {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-copy {
  max-width: 530px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.frequency-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(98, 232, 244, 0.05), rgba(215, 255, 75, 0.02));
}

.frequency-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent, #000 25%, #000 75%, transparent);
  opacity: 0.25;
}

#scopeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ear,
.difference {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ear > span,
.difference > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.ear strong {
  display: inline;
  font-family: var(--mono);
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: -0.07em;
}

.ear small {
  margin-left: 5px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.ear-left strong { color: var(--cyan); text-shadow: 0 0 30px rgba(98, 232, 244, 0.18); }
.ear-right strong { color: var(--acid); text-shadow: 0 0 30px rgba(215, 255, 75, 0.18); }

.difference {
  min-width: 102px;
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.7);
}

.difference > span { margin-bottom: 3px; font-size: 7px; }
.difference strong { font-family: var(--mono); font-size: 12px; }

.workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  padding-bottom: 70px;
}

.panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.panel-engine,
.panel-export {
  grid-column: 1 / -1;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 27px;
}

.panel-header > div:first-child {
  display: flex;
  gap: 14px;
  align-items: center;
}

.panel-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
}

.panel h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.panel-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

label > span,
.select-shell > span,
fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

select,
input[type="number"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  transition: border-color 160ms ease, background 160ms ease;
}

select:hover,
input[type="number"]:hover {
  border-color: var(--line-strong);
}

select option {
  background: #161922;
}

.select-shell {
  min-width: 205px;
}

.control-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}

.control-label label {
  font-size: 13px;
  font-weight: 700;
}

.number-unit {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 112px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.number-unit input {
  height: 36px;
  padding-right: 0;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  text-align: right;
}

.number-unit span {
  padding: 0 10px 0 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

input[type="range"] {
  --range-progress: 30%;
  width: 100%;
  height: 4px;
  margin: 10px 0;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(to right, var(--cyan) var(--range-progress), rgba(255, 255, 255, 0.1) var(--range-progress));
}

.accent-range input[type="range"],
.mixer label:nth-child(3) input[type="range"] {
  background: linear-gradient(to right, var(--acid) var(--range-progress), rgba(255, 255, 255, 0.1) var(--range-progress));
}

input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  appearance: none;
  border: 4px solid var(--panel-strong);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 14px rgba(98, 232, 244, 0.4);
}

.accent-range input[type="range"]::-webkit-slider-thumb,
.mixer label:nth-child(3) input[type="range"]::-webkit-slider-thumb {
  background: var(--acid);
  box-shadow: 0 0 0 1px var(--acid), 0 0 14px rgba(215, 255, 75, 0.35);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
}

.wave-bands span:not(:last-child)::after {
  content: " ·";
  color: var(--faint);
}

.mini-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-grid {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.frequency-bank {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.frequency-bank strong,
.converter strong {
  display: block;
  font-size: 12px;
}

.frequency-bank > div > span,
.converter > div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.frequency-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.frequency-chips button {
  flex: 0 0 auto;
  min-width: 54px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.frequency-chips button:hover,
.frequency-chips button.active {
  border-color: rgba(215, 255, 75, 0.5);
  background: var(--acid-dim);
  color: var(--acid);
}

.switch {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch > span {
  position: relative;
  width: 36px;
  height: 20px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.switch > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 180ms ease, background 180ms ease;
}

.switch input:checked + span {
  border-color: rgba(215, 255, 75, 0.45);
  background: var(--acid-dim);
}

.switch input:checked + span::after {
  transform: translateX(16px);
  background: var(--acid);
  box-shadow: 0 0 9px rgba(215, 255, 75, 0.5);
}

.switch b {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.input-with-unit {
  position: relative;
}

.input-with-unit input {
  padding-right: 42px;
}

.input-with-unit span {
  position: absolute;
  top: 50%;
  right: 12px;
  margin: 0;
  transform: translateY(-50%);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}

.modulation-preview {
  position: relative;
  height: 58px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 49.8%, var(--line) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49%, var(--line) 50%, transparent 51%);
}

.modulation-line {
  position: absolute;
  inset: 8px;
  opacity: 0.35;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 40' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 C25 -3 50 -3 75 20 S125 43 150 20 S200 -3 225 20 S275 43 300 20 S350 -3 400 20' fill='none' stroke='%23d7ff4b' stroke-width='1.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.modulation-preview > span {
  position: absolute;
  right: 12px;
  bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.random-bounds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

fieldset {
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

fieldset > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

fieldset label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: center;
}

fieldset label > span {
  margin: 0;
  font-size: 8px;
}

fieldset input {
  height: 34px !important;
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.full-button {
  width: 100%;
}

.panel .full-button {
  margin-top: 18px;
}

.icon-button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}

.drop-zone {
  display: grid;
  width: 100%;
  min-height: 130px;
  place-content: center;
  border: 1px dashed rgba(98, 232, 244, 0.3);
  border-radius: 13px;
  background: var(--cyan-dim);
  color: var(--text);
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease;
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: var(--cyan);
  background: rgba(98, 232, 244, 0.17);
}

.upload-icon {
  display: grid;
  width: 33px;
  height: 33px;
  margin: 0 auto 10px;
  place-items: center;
  border: 1px solid rgba(98, 232, 244, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 18px;
}

.drop-zone strong {
  font-size: 13px;
}

.drop-zone small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.track-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 80px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.track-card[hidden] {
  display: none;
}

.track-art {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan-dim), var(--acid-dim));
  color: var(--cyan);
}

.track-info {
  min-width: 0;
}

.track-info strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-info > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.track-wave {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 18px;
  margin-top: 4px;
  overflow: hidden;
}

.track-wave i {
  display: block;
  width: 2px;
  border-radius: 3px;
  background: rgba(98, 232, 244, 0.45);
}

.small-switch b {
  font-size: 8px;
}

.audio-options {
  margin-top: 14px;
}

.converter {
  display: grid;
  grid-template-columns: 1fr 110px auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.converter button {
  height: 42px;
}

.elapsed {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.mixer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.14);
}

.mixer label {
  display: grid;
  grid-template-columns: 50px 1fr 38px;
  gap: 10px;
  align-items: center;
}

.mixer label > span {
  margin: 0;
}

.mixer output {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-align: right;
}

.export-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.export-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.export-note {
  margin: 13px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
  text-transform: uppercase;
}

.progress-wrap {
  margin-top: 20px;
}

.progress-wrap > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-track i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--acid));
  transition: width 120ms linear;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  min-height: 100px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

footer p {
  margin: 0;
  text-align: center;
}

footer span:last-child {
  text-align: right;
}

.toast-region {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 48px));
}

.toast {
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--acid);
  border-radius: 10px;
  background: #181c24;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 11px;
  animation: toast-in 180ms ease both;
}

.toast.error {
  border-left-color: var(--danger);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
}

.safety-dialog {
  width: min(510px, calc(100vw - 40px));
  padding: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(215, 255, 75, 0.08), transparent 20rem),
    #12151c;
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
}

.safety-dialog::backdrop {
  background: rgba(2, 4, 7, 0.78);
  backdrop-filter: blur(12px);
}

.safety-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 27px;
  place-items: center;
  border: 1px solid rgba(215, 255, 75, 0.35);
  border-radius: 50%;
  background: var(--acid-dim);
  color: var(--acid);
  font-size: 22px;
}

.safety-dialog h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
}

.safety-dialog p:not(.eyebrow),
.safety-dialog li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.safety-dialog ul {
  padding-left: 18px;
}

@media (max-width: 1180px) {
  .hero {
    gap: 3vw;
  }
  .frequency-stage {
    min-height: 270px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .panel-engine,
  .panel-export {
    grid-column: auto;
  }
  .control-stack {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Compact website layout; original audio controls and engine remain intact. */
body{min-width:0}.topbar{min-height:58px;padding-inline:20px}.topbar .brand strong{font-size:18px}.topbar .brand small{font-size:8px}
main{width:calc(100% - 32px);max-width:1480px}.hero{min-height:205px;padding:20px 0;gap:25px;grid-template-columns:.85fr 1.15fr}.hero h1{font-size:clamp(29px,3.2vw,45px)}.hero-copy{font-size:12px;margin-top:12px;line-height:1.6}.hero .eyebrow{margin-bottom:10px}.frequency-stage{min-height:175px}.frequency-stage canvas{max-height:155px}.workspace{gap:12px;padding-bottom:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:16px;border-radius:10px}.panel-header{gap:10px;margin-bottom:15px}.panel h2{font-size:21px}.control-stack{gap:16px}.control-label{gap:10px}.panel-engine,.panel-export{grid-column:1/-1}.panel-engine .control-stack{grid-template-columns:repeat(2,minmax(0,1fr))}footer{padding:15px 0}.safety-dialog{max-width:calc(100vw - 28px);padding:24px}
@media(max-width:760px){.topbar{position:relative;padding:8px 12px;grid-template-columns:1fr auto}.topbar nav{display:none}.hero{grid-template-columns:1fr;gap:10px}.frequency-stage{min-height:145px}.workspace,.panel-engine .control-stack{grid-template-columns:1fr}.hero h1{font-size:35px}.panel{padding:14px}.hero-copy{max-width:none}.topbar .transport{flex-wrap:wrap}.safety-dialog h2{font-size:29px}}
