/* ── KYNGHALYM FACTORY OS · 80s RETRO RECORDING STUDIO ── */
:root {
  --bg-main: #14110f;
  --bg-card: #1e1915;
  --bg-panel: #26201b;
  --border-color: #383027;
  --border-light: #483e33;
  --text-primary: #f5ede0;
  --text-secondary: #c4b9aa;
  --text-muted: #8c8173;
  
  --neon-red: #ff2a5f;
  --neon-cyan: #00f0ff;
  --neon-purple: #b537f2;
  --neon-yellow: #ffd000;
  --neon-green: #00ff88;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-retro: 'Orbitron', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.theme-studio {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-main);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

/* ── HEADER ── */
.studio-header {
  height: 58px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 16px;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  background: #362227;
  border: 1px solid rgba(255, 42, 95, 0.4);
  border-radius: 6px;
  color: #ff6b8b;
  letter-spacing: 0.05em;
}

.brand-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff, #e2d9cb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.current-task-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2a231d;
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  color: var(--text-secondary);
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

.pulse-dot.paused {
  background: var(--neon-yellow);
  box-shadow: 0 0 8px var(--neon-yellow);
  animation: none;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.header-center {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 440px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.live-indicator.paused {
  color: var(--neon-yellow);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-green);
}

.live-dot.paused {
  background: var(--neon-yellow);
  box-shadow: 0 0 6px var(--neon-yellow);
}

.roadmap-bar-wrap { flex: 1; }
.roadmap-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.roadmap-pct {
  font-weight: 700;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.roadmap-track {
  height: 6px;
  background: #332a22;
  border-radius: 4px;
  overflow: hidden;
}

.roadmap-fill {
  height: 100%;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.4);
  transition: width 0.4s ease;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── TOMBOL MULAI & ISTIRAHAT (PAUSE/RESUME) ── */
.btn-control {
  background: #36281e;
  color: #ffedd5;
  border: 1px solid #7c4826;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-control:hover {
  background: #4a3424;
  border-color: #fb923c;
  transform: translateY(-1px);
}

.btn-control.is-paused {
  background: #143522;
  color: #bbf7d0;
  border-color: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.stat-pill {
  display: flex;
  flex-direction: column;
  background: #2a231d;
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: 8px;
  min-width: 68px;
  text-align: center;
}

.stat-pill.highlight {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.stat-label {
  font-size: 9.5px;
  color: var(--text-muted);
}

.stat-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.btn-stream {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.3);
  transition: all 0.2s;
}

.btn-stream:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* ── MAIN STUDIO GRID ── */
.studio-main {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 12px;
  padding: 12px 14px;
  min-height: 0;
}

/* ── LEFT PANEL: AKTIVITAS LANGSUNG ── */
.panel-activity {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-head h2 {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
}

.badge-count {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  background: #332a22;
  color: var(--neon-cyan);
  border-radius: 10px;
  font-family: var(--font-mono);
}

.activity-feed {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-feed::-webkit-scrollbar { width: 4px; }
.activity-feed::-webkit-scrollbar-thumb { background: #483e33; border-radius: 4px; }

.log-item {
  display: flex;
  gap: 9px;
  padding: 8px;
  background: #26201b;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.35;
  transition: all 0.15s;
}

.log-item:hover {
  background: #302822;
  border-color: #55493d;
}

.log-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.log-content { flex: 1; }
.log-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.log-name { font-weight: 700; color: var(--text-primary); }
.log-time { font-size: 9.5px; color: var(--text-muted); font-family: var(--font-mono); }
.log-action { color: var(--text-secondary); }

/* ── CENTER PANEL: SPACIOUS 80s RECORDING STUDIO ── */
.panel-office {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.office-canvas-container {
  flex: 1;
  position: relative;
  background: radial-gradient(circle at center, #261f19 0%, #110e0c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

/* Speech Bubbles Layer */
.speech-bubbles-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 40;
}

.speech-bubble {
  position: absolute;
  background: #201a14;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  max-width: 260px;
  line-height: 1.3;
  transform: translate(-50%, -100%);
  animation: bubblePop 0.3s ease-out;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #201a14 transparent transparent transparent;
}

@keyframes bubblePop {
  0% { opacity: 0; transform: translate(-50%, -85%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -100%) scale(1); }
}

/* Isometric Studio Scene Container */
.isometric-scene {
  width: 95%;
  max-width: 920px;
  height: 92%;
  min-height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Studio Room Floor */
.room-floor.studio-floor {
  width: 100%;
  height: 100%;
  background: #2d2016; /* Mahogany Parquet */
  border: 4px solid #4a3829;
  border-radius: 28px;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.8), 0 20px 50px rgba(0,0,0,0.6);
  position: relative;
  background-image: 
    linear-gradient(90deg, rgba(0,0,0,0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,0,0,0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow: hidden;
}

/* Back Wall Decor & Awards */
.studio-backwall {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 15;
}

.wall-award {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 16, 12, 0.8);
  border: 1px solid #5a4b3c;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  color: var(--neon-yellow);
}

.award-disc { font-size: 16px; }

/* ON AIR NEON SIGN */
.on-air-sign {
  background: #1a080c;
  border: 2px solid var(--neon-red);
  box-shadow: 0 0 16px rgba(255, 42, 95, 0.6), inset 0 0 10px rgba(255, 42, 95, 0.3);
  padding: 4px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.on-air-sign.paused {
  border-color: #555;
  box-shadow: none;
  background: #14110f;
}

.on-air-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-red);
  animation: onAirBlink 1.2s infinite;
}

.on-air-sign.paused .on-air-dot {
  background: #555;
  box-shadow: none;
  animation: none;
}

@keyframes onAirBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.on-air-text {
  font-family: var(--font-retro);
  font-size: 10.5px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.12em;
}

/* Center Persian Retro Rug */
.studio-rug {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 240px;
  background: radial-gradient(ellipse at center, #591b24 0%, #301016 75%, transparent 100%);
  border: 2px dashed #b8860b;
  border-radius: 30px;
  opacity: 0.75;
}

/* Workstation Layout - NO COLLISIONS! */
.workstation {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 20;
}

.workstation:hover {
  transform: translateY(-3px);
}

.station-header {
  margin-bottom: 4px;
}

.station-badge {
  font-size: 8px;
  font-weight: 800;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.console-badge {
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
}

.desk-surface.studio-desk {
  background: #241c16;
  border: 2px solid #544333;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 1. BOOTH A (TOP-LEFT): RIO "RHODES" ── */
.desk-pingot {
  left: 5%;
  top: 18%;
  width: 150px;
}
.desk-pingot .desk-surface {
  width: 140px;
  height: 60px;
  gap: 8px;
}
.dx7-synth {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--neon-cyan);
  background: #12100e;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #3d3429;
}
.notepad {
  font-size: 9px;
  color: var(--text-secondary);
}

/* ── 2. MAIN STAGE (CENTER): ZACKY "MOOG" ── */
.desk-zaki {
  left: 50%;
  top: 36%;
  transform: translateX(-50%);
  width: 280px;
}
.desk-zaki .desk-surface.master-console-surface {
  width: 260px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px;
  background: #1c1612;
  border-color: #634f3c;
}
.analog-console {
  flex: 1;
  height: 85%;
  background: #14100c;
  border-radius: 4px;
  border: 1px solid #3a3025;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 8px;
}
.faders {
  display: flex;
  justify-content: space-between;
  height: 22px;
}
.faders span {
  width: 3px;
  height: 100%;
  background: #332a22;
  position: relative;
}
.faders span::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 4px;
  background: var(--neon-red);
  left: -2px;
  top: 50%;
  border-radius: 1px;
}
.analog-vu {
  height: 4px;
  background: linear-gradient(90deg, #10b981 60%, #eab308 85%, #ef4444 100%);
  border-radius: 2px;
}

/* Studio Monitor Speakers */
.speaker {
  width: 24px;
  height: 44px;
  background: #0f0d0a;
  border: 2px solid #332a22;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.speaker-cone {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #221c16;
  animation: speakerPulse 0.6s infinite alternate;
}
@keyframes speakerPulse {
  0% { transform: scale(0.9); }
  100% { transform: scale(1.1); box-shadow: 0 0 6px var(--neon-green); }
}

/* ── 3. SUITE B (TOP-RIGHT): TOMMY "NEON" ── */
.desk-tomi {
  right: 5%;
  top: 18%;
  width: 150px;
}
.desk-tomi .desk-surface {
  width: 140px;
  height: 60px;
  gap: 8px;
}
.crt-monitor {
  width: 44px;
  height: 30px;
  background: #0d0a08;
  border: 2px solid #483d30;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.crt-scanline {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #db2777 25%, #0d0a08 85%);
  opacity: 0.6;
  animation: scanlineAnim 1.5s infinite;
}
@keyframes scanlineAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.vhs-tape {
  font-size: 9px;
  font-weight: 800;
  color: var(--neon-yellow);
}

/* ── 4. CORNER 3 (BOTTOM-LEFT): RISKO "MAESTRO" ── */
.desk-risko {
  left: 6%;
  bottom: 8%;
  width: 150px;
}
.desk-risko .desk-surface {
  width: 140px;
  height: 60px;
  gap: 10px;
}
.vinyl-record {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  border: 3px double #554433;
  animation: spinReel 4s linear infinite;
}
.leather-pad {
  font-size: 9px;
  color: var(--text-secondary);
}

/* ── 5. CORNER 4 (BOTTOM-RIGHT): ROXY "DOLBY" ── */
.desk-lulu {
  right: 6%;
  bottom: 8%;
  width: 150px;
}
.desk-lulu .desk-surface {
  width: 140px;
  height: 60px;
  gap: 10px;
}
.prop.reel-to-reel {
  width: 72px;
  height: 44px;
  background: #1a1511;
  border: 1px solid #4a3d30;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.reel-left, .reel-right {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px dashed #9ca3af;
  position: absolute;
  animation: spinReel 3s linear infinite;
}
.reel-left { left: 10px; top: 6px; }
.reel-right { right: 10px; top: 6px; }
@keyframes spinReel { 100% { transform: rotate(360deg); } }
.reel-label {
  font-size: 6px;
  font-weight: 800;
  color: var(--neon-yellow);
  margin-top: 24px;
  font-family: var(--font-mono);
}
.headphones { font-size: 16px; }

/* Center Mic Stage */
.prop.studio-mic {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 25;
}
.mic-stand {
  font-size: 24px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}
.mic-badge {
  font-size: 7.5px;
  font-weight: 800;
  color: var(--neon-yellow);
  background: rgba(0,0,0,0.6);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Character Seat & Avatars */
.character-seat { margin-top: 5px; }
.character {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  transition: all 0.3s;
}
.character.working {
  animation: typingAnim 0.8s infinite alternate ease-in-out;
}
@keyframes typingAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

.character.pingot { background: #2563eb; }
.character.zaki { background: #059669; }
.character.tomi { background: #db2777; }
.character.lulu { background: #d97706; }
.character.risko { background: #7c3aed; }

.char-avatar {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  font-family: var(--font-retro);
}

.desk-nametag {
  margin-top: 4px;
  background: #1f1914;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  padding: 2px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.tag-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-role {
  font-size: 9px;
  color: var(--text-muted);
}

/* Floating Track Banner */
.floating-track-banner {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 20, 16, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  padding: 6px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  z-index: 35;
}

.track-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--neon-yellow);
  font-family: var(--font-mono);
}

.track-title {
  font-weight: 700;
  color: var(--text-primary);
}

.track-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.track-bars span {
  width: 3px;
  background: var(--neon-green);
  border-radius: 2px;
  animation: barAnim 1s infinite alternate;
}

.track-bars span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.track-bars span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.track-bars span:nth-child(3) { height: 9px; animation-delay: 0.2s; }
.track-bars span:nth-child(4) { height: 12px; animation-delay: 0.4s; }
.track-bars span:nth-child(5) { height: 7px; animation-delay: 0.15s; }

@keyframes barAnim {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

/* ── RIGHT PANEL: ROADMAP ── */
.panel-roadmap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: #181410;
}

.tab-btn {
  flex: 1;
  padding: 9px 4px;
  border: none;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.tab-btn.active {
  color: var(--neon-cyan);
  border-bottom-color: var(--neon-cyan);
  background: var(--bg-card);
}

.badge-mini {
  font-size: 9px;
  padding: 1px 5px;
  background: #332820;
  color: var(--neon-yellow);
  border-radius: 8px;
}

.tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.tab-content.hidden { display: none; }

.roadmap-summary { margin-bottom: 12px; }
.roadmap-meta-title { font-size: 11px; font-weight: 700; color: var(--text-primary); }
.roadmap-time-meta { font-size: 9.5px; color: var(--text-muted); }

.roadmap-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.roadmap-item-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}

.roadmap-item-pct {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neon-cyan);
}

.roadmap-item-bar {
  height: 5px;
  background: #332a22;
  border-radius: 3px;
  overflow: hidden;
}

.roadmap-item-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  border-radius: 3px;
}

.output-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.output-card {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #26201b;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.track-cover {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.output-info h4 { font-size: 11.5px; font-weight: 700; }
.output-info p { font-size: 10px; color: var(--text-secondary); margin: 1px 0 4px 0; }

.tag-ready {
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-green);
  border-radius: 4px;
}

.qc-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}

.qc-row {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  background: #26201b;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

/* ── FOOTER: AGENT CARDS ── */
.studio-footer {
  height: 84px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 8px 14px;
  z-index: 50;
}

.agent-card {
  background: #26201b;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.agent-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  font-family: var(--font-retro);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-indicator {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #1e1915;
}
.status-indicator.working { background: var(--neon-green); }
.status-indicator.idle { background: #6b7280; }

.agent-info {
  flex: 1;
  min-width: 0;
}

.agent-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.agent-name {
  font-size: 12px;
  font-weight: 800;
}

.agent-role {
  font-size: 10px;
  color: var(--text-muted);
}

.badge-status {
  font-size: 8.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: auto;
}

.status-working {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-idle {
  background: #332a22;
  color: #9ca3af;
}

.agent-action-text {
  font-size: 10px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.agent-stats-meta {
  font-size: 9px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.btn-control.btn-test-mix {
  background: linear-gradient(135deg, #3b220d, #5c2c10);
  border-color: #f59e0b;
  color: #fef3c7;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}
.btn-control.btn-test-mix:hover {
  background: linear-gradient(135deg, #4d2b10, #78350f);
  border-color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
}
.btn-control.btn-test-mix.loading {
  opacity: 0.7;
  pointer-events: none;
}
