
.atv-deck {
  background: var(--surface);
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.atv-deck-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--graphite);
  margin-bottom: 16px;
}
.atv-deck-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.atv-tab {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--graphite);
  background: #0e0e0e;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.atv-tab:hover { border-color: var(--gold); color: var(--text); }
.atv-tab.is-active {
  background: var(--gold);
  color: #090909;
  border-color: var(--gold);
}
.atv-badge-gold {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(238, 160, 43, 0.45);
  color: var(--gold);
  background: rgba(238, 160, 43, 0.08);
}
.atv-preset-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #0d0d0d;
  border: 1px solid #262626;
  margin-bottom: 18px;
}
.atv-preset-label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.atv-preset-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.atv-pill {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--graphite);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.atv-pill:hover, .atv-pill.is-active { border-color: var(--gold); color: var(--gold); }

.atv-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: start;
}
.atv-form { display: flex; flex-direction: column; gap: 14px; }
.atv-member-strip {
  padding: 12px 14px;
  border-radius: 8px;
  background: #0e0e0e;
  border: 1px solid #2b2b2b;
  font-size: 14px;
}
.atv-member-strip > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.atv-strip-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.atv-field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.atv-field-row-2 { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.atv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.atv-field input,
.atv-field select,
.atv-field textarea {
  width: 100%;
  min-height: 44px;
  background: #0b0b0b;
  color: var(--text);
  border: 1px solid var(--graphite);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
}
.atv-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.atv-note-sm { font-size: 12px; color: var(--text-muted); }
.atv-status {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--gold);
  background: rgba(238, 160, 43, 0.1);
  font-size: 14px;
  color: var(--text);
}

.atv-storyboard-stage {
  background: #0d0d0d;
  border: 1px solid var(--graphite);
  border-radius: 8px;
  padding: 18px;
}
.atv-stage-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #262626;
  margin-bottom: 12px;
}
.atv-stage-kicker { font-size: 12px; font-weight: 700; color: var(--gold); display: block; }
.atv-stage-title { font-size: 20px; margin: 4px 0 0; }
.atv-export-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.atv-stage-summary { margin: 0 0 12px; font-size: 14px; color: var(--text-muted); }
.atv-goals-list {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.atv-scenes { display: flex; flex-direction: column; gap: 10px; }
.atv-scene-card {
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid #2a2a2a;
}
.atv-scene-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.atv-timecode {
  font-family: monospace;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(238, 160, 43, 0.16);
  color: var(--gold);
  font-weight: 700;
}
.atv-scene-card p { margin: 4px 0; font-size: 13px; color: var(--text-muted); }
.atv-scene-card strong { color: var(--text); }
.atv-clip-results {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.atv-video-card {
  background: #0d0d0d;
  border: 1px solid var(--graphite);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.atv-video-card video { width: 100%; border-radius: 6px; background: #000; }

@media (max-width: 960px) {
  .atv-studio-grid,
  .atv-field-row,
  .atv-field-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .atv-form-actions, .atv-export-btns { flex-direction: column; align-items: stretch; }
  .atv-form-actions > button, .atv-export-btns > button { width: 100%; }
}
