.act-bay {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.act-viewer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.act-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  flex-wrap: wrap;
}
.act-telemetry strong { color: var(--text); }
.act-telemetry .act-after-label { color: var(--accent); }
.act-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1376 / 768;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.act-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.act-after-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}
.act-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--primary);
  transform: translateX(-1px);
  pointer-events: none;
}
.act-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.act-range-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.act-range {
  flex: 1;
  min-width: 140px;
  accent-color: var(--primary);
  cursor: pointer;
}
.act-quick-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.act-mini-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.act-mini-btn:hover { border-color: var(--primary); }

.act-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.act-step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.act-step-num { color: var(--primary); margin-right: 6px; }
.act-drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  cursor: pointer;
  min-height: 56px;
}
.act-drop:hover { border-color: var(--primary); }
.act-drop-text {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.act-drop-hint { font-size: 12px; color: var(--muted); }
.act-file-input { display: none; }
.act-reset-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.act-reset-link:hover { color: var(--text); }

.act-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.act-chip {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.act-chip:hover { border-color: var(--primary); }
.act-chip[aria-pressed="true"] {
  border-color: var(--primary);
  background: #2a1418;
  color: #ffffff;
}
.act-chip-wide { grid-column: span 2; }

.act-note-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.act-note-input::placeholder { color: var(--muted); }

.act-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.act-meta-line {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.act-status {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.act-status[data-tone="warn"] { border-color: var(--accent); }
.act-status[data-tone="ok"] { border-color: #22c55e; }
.act-download {
  text-align: center;
  font-size: 14px;
}

@media (max-width: 860px) {
  .act-bay { grid-template-columns: 1fr; padding: 16px; }
}
@media (max-width: 640px) {
  .act-chips { grid-template-columns: 1fr; }
  .act-chip-wide { grid-column: auto; }
}