/* Ansichten der Bühne: EQ, Signalweg, Frequenz-Spielwiese */
.eq-head { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.ch-tabs { display: flex; gap: 6px; }
.ch-tab {
  display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border-radius: 6px;
  background: #2a2b2f; border: 2px solid var(--line-2); color: var(--fg-2); font-size: 14px;
}
.ch-tab i { width: 10px; height: 10px; border-radius: 50%; }
.ch-tab b { color: #fff; }
.ch-tab.sel { border-color: #fff; background: #3a3c41; color: #fff; }

.eq-btns { display: flex; gap: 6px; }
.tf-btn {
  min-height: 40px; min-width: 76px; padding: 0 14px; border: 0; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 800; font-size: 17px; letter-spacing: .02em; color: #cfd2d8; background: #3a3c41;
}
.tf-btn.lit { background: linear-gradient(#49d04d, #238c29); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.tf-btn:disabled { opacity: .45; }
.eq-tools { display: flex; gap: 6px; margin-left: auto; }
.tf-small { min-height: 40px; padding: 0 14px; border-radius: 6px; background: #2a2b2f; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }

.band-panel { flex: 1 1 auto; display: flex; align-items: center; gap: 8px 12px; background: #17181a; border-radius: 6px; padding: 4px 10px; flex-wrap: wrap; }
.band-name { min-width: 112px; font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #fff; }
.band-name::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); margin-right: 8px; }
.band-name[data-hpf="1"]::before { background: var(--green); }
.enc-group { display: flex; gap: 10px; flex-wrap: wrap; }
.enc { display: flex; align-items: center; gap: 6px; }
.enc-label { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--fg-3); min-width: 30px; text-align: right; }
.enc-row { display: flex; align-items: center; gap: 3px; }
.enc-val {
  min-width: 58px; height: 34px; border-radius: 6px; background: #0e0f11; border: 1px solid var(--line-2);
  font: 700 16px var(--font-mono); color: #fff; touch-action: none; cursor: ns-resize; font-variant-numeric: tabular-nums;
}
.enc-step { width: 32px; height: 34px; border-radius: 6px; background: #2c2e32; border: 1px solid var(--line-2); font-size: 20px; line-height: 1; padding: 0; }
.enc.dis { opacity: .35; }

.eq-canvas-wrap { position: relative; flex: 1 1 auto; min-height: 100px; border-radius: 6px; background: #101113; overflow: hidden; }
.eq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.eq-hint { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); padding: 8px 14px; border-radius: 6px; background: rgba(0, 0, 0, .85); border: 1px solid var(--line-2); font-size: 14px; pointer-events: none; white-space: nowrap; }

/* Signalweg */
.view-flow { justify-content: space-between; gap: 10px; }
.flow-row { display: flex; align-items: center; padding: 6px 0; }
.flow-node {
  flex: none; width: 90px; min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 4px; border-radius: 8px; background: #2b2d31; border: 2px solid var(--line-2); color: var(--fg-2); font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center;
}
.flow-node.seen { border-color: var(--green-2); color: #fff; }
.flow-node.active { border-color: #fff; background: #373a3f; color: #fff; }
.flow-arrow { flex: 1 1 0; min-width: 6px; height: 3px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.view-flow.playing .flow-arrow { background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 12px); animation: flow .5s linear infinite; }
@keyframes flow { to { background-position: 12px 0; } }
.flow-info { flex: 1 1 auto; min-height: 0; overflow: auto; background: #17181a; border-radius: 6px; padding: 12px 16px; }
.flow-info p { margin: 0 0 8px; color: var(--fg-2); max-width: 62ch; }
.flow-info b { color: #fff; }
.flow-info-title { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.flow-count { font-size: 13px; color: var(--green); font-weight: 700; }

/* Frequenz-Spielwiese */
.view-freq { gap: 6px; }
.fz-map { position: relative; flex: none; padding: 0 6px 2px; }
.fz-axis { position: relative; height: 18px; }
.fz-axis span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--fg-3); }
.fz-axis span::after { content: ""; position: absolute; left: 50%; top: 16px; height: 186px; width: 1px; background: rgba(255, 255, 255, .07); }
.fz-rows { position: relative; }
.fz-row { position: relative; height: 26px; margin-top: 4px; }
.fz-bar {
  position: absolute; top: 0; bottom: 0; min-width: 18px; padding: 0 8px; border-radius: 7px; text-align: left; white-space: nowrap;
  background: #2d62c6; border: 1px solid #5f93ee; color: #fff; font-size: 12px; font-weight: 600;
}
.fz-bar span { position: relative; }
.fz-bar.seen { background: #258a35; border-color: var(--green); }
.fz-bar.active { outline: 2px solid #fff; }
.fz-caption { margin: 2px 4px; color: var(--fg-2); font-size: 14px; min-height: 40px; }
.fz-caption b { color: #fff; }
.fz-test { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #17181a; border-radius: 6px; padding: 8px 12px; margin-top: auto; }
.fz-test-title { font-weight: 800; letter-spacing: .04em; }
.fz-test input[type="range"] { flex: 1 1 140px; min-width: 120px; height: 34px; }
.fz-out { min-width: 82px; font: 700 15px var(--font-mono); color: #fff; }
.fz-result { color: var(--yellow); font-weight: 700; }
