/* ==========================================================================
   IA NO FÁCIL • FÁBRICA DE AGENTES - EXACT REFERENCE FIDELITY & SCALE
   ========================================================================== */

:root {
  /* Colors from Reference Screenshot */
  --bg-deep: #050811;
  --bg-office: #070c18;
  --bg-desk: #101827;
  --border-desk: #1e293b;

  /* Neon Glow Palettes */
  --neon-blue: #0099ff;
  --neon-purple: #9d4edd;
  --neon-pink: #ff2a85;
  --neon-orange: #ff7700;
  --neon-cyan: #00f3ff;
  --neon-green: #00ff88;
  --neon-red: #ff3366;
  --neon-yellow: #ffd000;

  /* Fonts */
  --font-retro: 'Press Start 2P', monospace;
  --font-pixel: 'Silkscreen', monospace;
  --font-tech: 'Chakra Petch', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

/* 100vh Strict Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background-color: var(--bg-deep);
  color: #e2e8f0;
  font-family: var(--font-tech);
  image-rendering: pixelated;
  user-select: none;
}

/* CRT Screen Effect - DISABLED FOR CLEAN VISUAL CLARITY */
.crt-overlay {
  display: none !important;
}

/* Master Layout */
.office-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ==========================================================================
   LEFT RETRO SIDEBAR (COM FONTAWESOME)
   ========================================================================== */

.sidebar-retro {
  width: 52px;
  height: 100vh;
  background: #04060c;
  border-right: 2px solid #111a2c;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 6px;
  z-index: 50;
  flex-shrink: 0;
}

.mini-app-badge {
  width: 32px;
  height: 32px;
  background: var(--neon-yellow);
  color: #000;
  font-family: var(--font-retro);
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 var(--neon-cyan);
}

.sidebar-icons-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  width: 100%;
  flex: 1;
  margin-top: 14px;
}

.side-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background: #080d17;
  border: 1px solid #162238;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.side-icon-btn .fa-icon {
  font-size: 16px;
}

.side-icon-btn:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  transform: scale(1.05);
}

.side-icon-btn.active {
  background: #0f192c;
  color: var(--neon-yellow);
  border-color: var(--neon-yellow);
}

.side-badge {
  display: none !important;
}

.icon-tooltip {
  position: absolute;
  left: 46px;
  background: #070d17;
  border: 1px solid var(--neon-cyan);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 3px 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 100;
}

.side-icon-btn:hover .icon-tooltip { opacity: 1; }

.sound-chip-btn {
  width: 36px;
  height: 36px;
  background: #080d17;
  border: 1px solid #162238;
  color: var(--neon-yellow);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sound-chip-btn:hover {
  border-color: var(--neon-cyan);
  transform: scale(1.05);
}

/* ==========================================================================
   TOP HEADER
   ========================================================================== */

.factory-screen {
  flex: 1;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(circle at 45% 35%, #0b1222 0%, #060a14 70%, #03050a 100%);
}

.header-retro {
  height: 44px;
  background: #050811;
  border-bottom: 2px solid #111a2c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
  z-index: 20;
}

.header-branding { display: flex; align-items: center; gap: 10px; }

.yellow-logo-box {
  width: 24px;
  height: 24px;
  background: var(--neon-yellow);
  color: #000;
  font-family: var(--font-retro);
  font-size: 9px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}

.header-titles { display: flex; align-items: baseline; gap: 6px; }
.title-main { font-family: var(--font-pixel); font-size: 14px; font-weight: 700; color: var(--neon-yellow); }
.dot-separator { color: #3b5072; }
.title-fabrica { color: var(--neon-cyan); }
.title-sub { font-size: 11px; color: #64748b; }

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

.autopilot-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 3px 6px;
}

.auto-label { font-family: var(--font-pixel); font-size: 8px; color: var(--neon-green); }
.pixel-switch { position: relative; width: 24px; height: 12px; }
.pixel-switch input { display: none; }
.switch-box { position: absolute; inset: 0; background: #1e293b; cursor: pointer; }
.switch-box::after { content: ''; position: absolute; top: 1px; left: 1px; width: 8px; height: 8px; background: #64748b; }
.pixel-switch input:checked + .switch-box { background: #008f4c; }
.pixel-switch input:checked + .switch-box::after { left: 13px; background: var(--neon-green); }
.auto-badge { font-family: var(--font-retro); font-size: 7px; color: var(--neon-green); }

.retro-action-btn {
  font-family: var(--font-pixel);
  font-size: 8.5px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #f1f5f9;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
}

.retro-action-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.35);
  transform: translateY(-1px);
}

.retro-action-btn.btn-header-ai {
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  background: rgba(14, 116, 144, 0.22) !important;
}

.retro-action-btn.btn-header-ai:hover {
  background: rgba(14, 116, 144, 0.45) !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
}

.retro-action-btn.btn-header-settings {
  border-color: #22c55e !important;
  color: #4ade80 !important;
  background: rgba(22, 101, 52, 0.22) !important;
}

.retro-action-btn.btn-header-settings:hover {
  background: rgba(22, 101, 52, 0.45) !important;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.4) !important;
}

.retro-action-btn.btn-header-factory {
  border-color: #f59e0b !important;
  color: #fde047 !important;
  background: rgba(180, 83, 9, 0.22) !important;
}

.retro-action-btn.btn-header-factory:hover {
  background: rgba(180, 83, 9, 0.45) !important;
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.4) !important;
}

.badge-unposted-btn {
  font-family: var(--font-pixel);
  font-size: 7.5px;
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
}

.badge-unposted-btn:hover {
  background: rgba(0, 243, 255, 0.15);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  border-style: solid;
  transform: scale(1.03);
}

/* Mini Job Banner */
.job-mini-strip {
  height: 28px;
  background: rgba(8, 13, 24, 0.9);
  border-bottom: 1px solid #141f33;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  flex-shrink: 0;
  font-size: 11px;
}

.job-pill-tag { font-family: var(--font-pixel); font-size: 8px; color: #94a3b8; }
.job-file-name { font-family: var(--font-code); font-weight: bold; color: var(--neon-cyan); max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.job-stage-name { background: rgba(255, 208, 0, 0.12); border: 1px solid var(--neon-yellow); color: var(--neon-yellow); font-family: var(--font-retro); font-size: 7px; padding: 1px 5px; }

.job-progress-wrapper { display: flex; align-items: center; gap: 6px; flex: 1; max-width: 200px; }
.job-progress-track { flex: 1; height: 5px; background: #080d18; border: 1px solid #1b2842; overflow: hidden; }
.job-progress-bar { height: 100%; background: linear-gradient(90deg, #00ff88, #ffd000); }
.job-perc { font-family: var(--font-retro); font-size: 7px; color: var(--neon-yellow); }

.btn-fire-tiny {
  margin-left: auto;
  font-family: var(--font-pixel);
  font-size: 8px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  border: 1px solid #000;
  padding: 2px 6px;
  cursor: pointer;
}

/* ==========================================================================
   OFFICE WORKSPACE & RIGHT PANEL WRAPPER
   ========================================================================== */

.office-workspace-wrapper {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* ==========================================================================
   SPACIOUS & ELEGANT SCENERY ROW (BEM DISTRIBUÍDO E ELEGANTE!)
   ========================================================================== */

.office-scenery-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  gap: 36px;
  margin-bottom: 16px;
  padding: 8px 36px;
  background: linear-gradient(180deg, rgba(12, 20, 36, 0.75) 0%, rgba(7, 12, 24, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 10;
}

.decor-water-station-unit {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

/* 1. Water Cooler */
.decor-water-cooler {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.water-bottle-glass {
  width: 26px;
  height: 30px;
  background: linear-gradient(135deg, #0099ff 0%, #0055ff 100%);
  border: 2px solid #00f3ff;
  border-radius: 4px 4px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.45);
}

.water-reflection {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 4px;
  height: 18px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

.water-bubble {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: bubble-up 2s infinite ease-in;
}
.b1 { left: 6px; bottom: 0; animation-delay: 0.2s; }
.b2 { right: 5px; bottom: 0; animation-delay: 1.1s; }

@keyframes bubble-up {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-22px); opacity: 0; }
}

.cooler-dispenser-base {
  width: 28px;
  height: 22px;
  background: #0f1c33;
  border: 2px solid #000;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dispenser-square {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 1px solid #000;
}

.decor-server-cabinet {
  width: 26px;
  height: 42px;
  background: #060b17;
  border: 2px solid #16243d;
  display: flex;
  align-items: flex-start;
  padding: 4px;
}

.led-dot { width: 5px; height: 5px; border-radius: 50%; }
.l-cyan { background: #00f3ff; box-shadow: 0 0 6px #00f3ff; }

/* 2. Status Color Blocks */
.retro-color-blocks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blocks-top-row {
  display: flex;
  gap: 5px;
}

.block-sq {
  width: 26px;
  height: 26px;
  border: 2px solid #000;
}

.block-green { background: #00ff88; box-shadow: 0 0 8px rgba(0, 255, 136, 0.5); }
.block-purple { background: #9d4edd; box-shadow: 0 0 8px rgba(157, 78, 221, 0.5); }
.block-magenta { background: #ff2a85; box-shadow: 0 0 8px rgba(255, 42, 133, 0.5); }

.block-bar {
  width: 88px;
  height: 10px;
  background: #111a2d;
  border: 2px solid #000;
  overflow: hidden;
}

.block-bar-fill { height: 100%; background: var(--neon-yellow); box-shadow: 0 0 6px var(--neon-yellow); }

/* 3. Digital Clock */
.decor-digital-clock {
  width: 34px;
  height: 34px;
  background: #3b82f6;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 1px 0 #000;
}

.clock-face {
  position: relative;
  width: 22px;
  height: 22px;
  background: #e0f2fe;
  border: 1px solid #000;
  border-radius: 50%;
}

.clock-hand { position: absolute; left: 50%; top: 50%; transform-origin: left center; }
.h-red { width: 8px; height: 2px; background: #ef4444; transform: rotate(-45deg); }
.h-black { width: 6px; height: 2px; background: #000; transform: rotate(45deg); }

/* 4. Coffee Poster (Bold Yellow Frame) */
.decor-coffee-poster {
  width: 48px;
  height: 52px;
  background: #ffd000;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-poster-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coffee-cup-pixel {
  position: relative;
}

.steam-line {
  width: 2px;
  height: 6px;
  background: #000;
  position: absolute;
  top: -8px;
  animation: steam 1.2s infinite alternate;
}
.s1 { left: 4px; }
.s2 { left: 11px; animation-delay: 0.5s; }

@keyframes steam { from { transform: translateY(0); } to { transform: translateY(-3px); } }

.cup-body {
  width: 20px;
  height: 15px;
  background: #000;
  border-radius: 0 0 2px 2px;
}

.cup-handle {
  position: absolute;
  right: -5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: 2px solid #000;
  border-left: none;
}

/* 5. Starry Window */
.decor-constellation {
  width: 96px;
  height: 48px;
  background: #060b17;
  border: 2px solid #142036;
  position: relative;
  box-shadow: 2px 2px 0 #000;
}

.constellation-frame { width: 100%; height: 100%; position: relative; }
.star { position: absolute; width: 3px; height: 3px; background: #ffd000; box-shadow: 0 0 5px #ffd000; border-radius: 50%; }
.s1 { top: 8px; left: 14px; }
.s2 { top: 26px; left: 26px; }
.s3 { top: 16px; left: 48px; }
.s4 { top: 10px; left: 72px; }
.s5 { top: 30px; left: 82px; }
.s6 { top: 34px; left: 44px; }
.s7 { top: 6px; left: 36px; }
.s8 { top: 32px; left: 12px; }

/* 6. Lounge Yellow Robot (Far Right) */
.decor-lounge-robot {
  position: relative;
}

.lounge-sofa-blue {
  width: 58px;
  height: 44px;
  background: #0055ff;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 2px 2px 0 #000;
}

.head-yellow {
  width: 30px;
  height: 28px;
  background: #ffd000;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eyes-dark .eye { background: #000; }

/* ==========================================================================
   OFFICE FLOOR & WORKSTATIONS (PROMINENT, DETAILED ROBOT BODIES & HANDS)
   ========================================================================== */

.office-floor {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 4px 16px;
  position: relative;
  overflow: hidden;
}

.stations-lane {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  position: relative;
  width: 100%;
}

.pixel-workstation {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 154px;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.pixel-workstation:hover {
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.45));
}

/* Backdrop glow on active station */
.highlighted-desk .desk-active-backdrop {
  position: absolute;
  top: -14px;
  bottom: -8px;
  left: -8px;
  right: -8px;
  background: rgba(157, 78, 221, 0.22);
  border: 1px solid rgba(255, 42, 133, 0.45);
  border-radius: 6px;
  box-shadow: 0 0 25px rgba(255, 42, 133, 0.3);
  z-index: 1;
}

/* Rounded Speech Bubble */
.station-speech-bubble {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #000000;
  font-family: var(--font-pixel);
  font-size: 8px;
  font-weight: bold;
  padding: 5px 9px;
  border: 2px solid #000000;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 40;
}

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

.station-speech-bubble.visible,
.pixel-workstation:hover .station-speech-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* DESK HARDWARE CONTAINER */
.desk-hardware {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 144px;
  height: 90px;
  z-index: 5;
  margin-bottom: 6px;
}

/* LEFT: MAIN WORK MONITOR */
.main-desk-monitor {
  width: 44px;
  height: 38px;
  background: #080d19;
  border: 3px solid #000;
  position: relative;
  margin-bottom: 10px;
  z-index: 4;
}

.monitor-stand {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 6px;
  background: #1e293b;
  border: 1px solid #000;
}

.screen-glow {
  width: 100%;
  height: 100%;
  background: #04070f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.screen-blue { border-left: 2px solid var(--neon-blue); }
.screen-purple { border-left: 2px solid var(--neon-purple); }
.screen-magenta { border-left: 2px solid var(--neon-pink); }
.screen-cyan { border-left: 2px solid var(--neon-cyan); }
.screen-green { border-left: 2px solid var(--neon-green); }
.screen-red { border-left: 2px solid var(--neon-red); }
.screen-dark { border-left: 2px solid #334155; }

.screen-matrix-code {
  font-family: var(--font-retro);
  font-size: 6px;
  color: var(--neon-cyan);
}

/* ==========================================================================
   ANIMATED COMPUTER MONITORS (ÍCONES ANIMADOS DO QUE CADA ROBÔ FAZ)
   ========================================================================== */

.monitor-screen-ui {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5px;
  padding: 1px;
  user-select: none;
  background: radial-gradient(circle at center, rgba(14, 25, 48, 0.9) 0%, rgba(4, 7, 15, 0.98) 100%);
}

.monitor-icon-wrap {
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.monitor-screen-text {
  font-family: var(--font-retro);
  font-size: 4.8px;
  letter-spacing: 0.3px;
  color: #fff;
  opacity: 0.85;
  text-shadow: 0 0 3px currentColor;
  white-space: nowrap;
}

/* 1. Robô 1: Download Animado (Seta descendo em loop contínuo) */
.monitor-anim-download {
  color: var(--neon-cyan);
  animation: anim-pc-download 1.1s infinite ease-in-out;
  filter: drop-shadow(0 0 5px var(--neon-cyan));
}
@keyframes anim-pc-download {
  0% { transform: translateY(-3px); opacity: 0.55; }
  50% { transform: translateY(1.5px) scale(1.1); opacity: 1; filter: drop-shadow(0 0 8px var(--neon-cyan)); }
  100% { transform: translateY(-3px); opacity: 0.55; }
}

/* 2. Robô 2: Whisper / Legendas (Pulso fonético / Closed Caption) */
.monitor-anim-subtitles {
  color: var(--neon-purple);
  animation: anim-pc-subtitles 1.3s infinite ease-in-out;
  filter: drop-shadow(0 0 5px var(--neon-purple));
}
@keyframes anim-pc-subtitles {
  0%, 100% { transform: scale(0.88); opacity: 0.65; }
  50% { transform: scale(1.18); opacity: 1; filter: drop-shadow(0 0 9px var(--neon-purple)); }
}

/* 3. Robô 3: Copywriting & Títulos IA (Varinha mágica / Brilhos piscantes) */
.monitor-anim-copy {
  color: var(--neon-yellow);
  animation: anim-pc-copy 1.25s infinite ease-in-out;
  filter: drop-shadow(0 0 6px var(--neon-yellow));
}
@keyframes anim-pc-copy {
  0%, 100% { transform: rotate(-8deg) scale(0.92); opacity: 0.7; }
  50% { transform: rotate(12deg) scale(1.2); opacity: 1; filter: drop-shadow(0 0 10px var(--neon-yellow)); }
}

/* 4. Robô 4: Renderização 9:16 (Scanner / Celular vertical pulsante) */
.monitor-anim-render {
  color: var(--neon-pink);
  animation: anim-pc-render 1.4s infinite ease-in-out;
  filter: drop-shadow(0 0 6px var(--neon-pink));
}
@keyframes anim-pc-render {
  0%, 100% { transform: scaleY(0.9) scaleX(0.95); opacity: 0.7; }
  50% { transform: scaleY(1.16) scaleX(1.05); opacity: 1; filter: drop-shadow(0 0 9px var(--neon-pink)); }
}

/* 5. Robô 5: Galeria Local (Corte salvo / Filme / Galeria flutuando) */
.monitor-anim-gallery {
  color: var(--neon-cyan);
  animation: anim-pc-gallery 1.5s infinite ease-in-out;
  filter: drop-shadow(0 0 5px var(--neon-cyan));
}
@keyframes anim-pc-gallery {
  0%, 100% { transform: translateY(0) scale(0.92); opacity: 0.75; }
  50% { transform: translateY(-2.5px) scale(1.1); opacity: 1; filter: drop-shadow(0 0 8px var(--neon-green)); }
}

/* 6. Robô 6: Agendamento & Fila (Relógio neon girando / pulsando) */
.monitor-anim-clock {
  color: var(--neon-green);
  animation: anim-pc-clock 2s infinite ease-in-out;
  filter: drop-shadow(0 0 5px var(--neon-green));
}
@keyframes anim-pc-clock {
  0%, 100% { transform: rotate(0deg) scale(0.92); opacity: 0.75; }
  25% { transform: rotate(14deg) scale(1.08); }
  50% { transform: rotate(0deg) scale(1.16); filter: drop-shadow(0 0 9px var(--neon-green)); opacity: 1; }
  75% { transform: rotate(-14deg) scale(1.08); }
}

/* 7. Robô 7: Publicação & Redes Sociais (Foguete / Upload em ascensão rápida) */
.monitor-anim-publish {
  color: #ff0055;
  animation: anim-pc-publish 1.05s infinite ease-in-out;
  filter: drop-shadow(0 0 7px #ff0055);
}
@keyframes anim-pc-publish {
  0% { transform: translateY(2px) scale(0.9); opacity: 0.6; }
  50% { transform: translateY(-3px) scale(1.2); opacity: 1; filter: drop-shadow(0 0 11px #ff0055); }
  100% { transform: translateY(2px) scale(0.9); opacity: 0.6; }
}

/* Acelera a animação do monitor quando o robô correspondente está trabalhando */
.pixel-workstation.working .main-desk-monitor {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}
.pixel-workstation.working .monitor-icon-wrap {
  animation-duration: 0.55s !important;
  filter: drop-shadow(0 0 12px currentColor) !important;
}

/* ==========================================================================
   FULL BODY ROBOT WORKER (HEAD + CHEST + ARMS + HANDS + CHAIR)
   ========================================================================== */

.robot-worker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 6;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.18s ease;
}

.robot-worker:hover {
  transform: translateY(-3px) scale(1.05);
  filter: drop-shadow(0 0 12px var(--neon-cyan));
}

.desk-hardware {
  cursor: pointer;
}

/* Robot Head (Large Box with Glowing Outline) */
.robot-head {
  width: 34px;
  height: 30px;
  background: #090e1a;
  border: 3px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
  position: relative;
}

.robot-blue .robot-head { border-color: var(--neon-blue); box-shadow: 0 0 10px var(--neon-blue); }
.robot-purple .robot-head { border-color: var(--neon-purple); box-shadow: 0 0 10px var(--neon-purple); }
.robot-pink .robot-head { border-color: var(--neon-pink); box-shadow: 0 0 14px var(--neon-pink); }
.robot-orange .robot-head { border-color: var(--neon-orange); box-shadow: 0 0 10px var(--neon-orange); }
.robot-cyan .robot-head { border-color: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); }
.robot-green .robot-head { border-color: var(--neon-green); box-shadow: 0 0 10px var(--neon-green); }
.robot-red .robot-head { border-color: var(--neon-red); box-shadow: 0 0 10px var(--neon-red); }

/* Glowing Rectangular Eyes */
.pixel-eyes {
  display: flex;
  gap: 5px;
}

.pixel-eyes .eye {
  width: 9px;
  height: 5px;
  border-radius: 1px;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  display: block;
  transition: all 0.25s ease;
}

/* CLOSED EYES / SLEEPING ON WAITING STATIONS */
.pixel-eyes .eye.eye-closed {
  height: 2px !important;
  background: #334155 !important;
  box-shadow: none !important;
  transform: translateY(1px);
}

/* Distinct glowing neon eyes per station color when awake */
.robot-blue .eye:not(.eye-closed) { background: var(--neon-blue); box-shadow: 0 0 6px var(--neon-blue); }
.robot-purple .eye:not(.eye-closed) { background: var(--neon-purple); box-shadow: 0 0 6px var(--neon-purple); }
.robot-pink .eye:not(.eye-closed) { background: var(--neon-pink); box-shadow: 0 0 8px var(--neon-pink); }
.robot-orange .eye:not(.eye-closed) { background: var(--neon-orange); box-shadow: 0 0 6px var(--neon-orange); }
.robot-cyan .eye:not(.eye-closed) { background: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); }
.robot-green .eye:not(.eye-closed) { background: var(--neon-green); box-shadow: 0 0 6px var(--neon-green); }
.robot-red .eye:not(.eye-closed) { background: var(--neon-red); box-shadow: 0 0 6px var(--neon-red); }

/* Working Robot Focused Eyes & Shimmer */
.robot-worker.working .eye:not(.eye-closed) {
  animation: eye-work-pulse 0.7s infinite alternate ease-in-out;
}

@keyframes eye-work-pulse {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.15); filter: brightness(1.4); }
}

/* Antenna sparks above Station 3 */
.antenna-sparks {
  position: absolute;
  top: -10px;
  display: flex;
  gap: 6px;
}

.antenna-sparks span {
  width: 2px;
  height: 6px;
  background: var(--neon-pink);
  box-shadow: 0 0 6px var(--neon-pink);
  animation: spark 0.4s infinite alternate;
}

@keyframes spark {
  from { opacity: 0.3; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(-2px); }
}

/* ROBOT TORSO & CHEST POWER CORE */
.robot-torso-full {
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
}

.robot-chest {
  width: 24px;
  height: 14px;
  background: #111a2d;
  border: 2px solid #000;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chest-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #334155;
}

.robot-blue .chest-core { background: var(--neon-blue); box-shadow: 0 0 4px var(--neon-blue); }
.robot-purple .chest-core { background: var(--neon-purple); box-shadow: 0 0 4px var(--neon-purple); }
.robot-pink .chest-core { background: var(--neon-pink); box-shadow: 0 0 6px var(--neon-pink); }
.active-pulse { animation: core-pulse 0.8s infinite alternate; }

@keyframes core-pulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* ARTICULATED ROBOT ARMS & MECHANICAL HANDS */
.robot-arms-row {
  width: 38px;
  display: flex;
  justify-content: space-between;
  margin-top: -8px;
  position: relative;
  z-index: 6;
}

.robot-arm {
  width: 8px;
  height: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.robot-arm .hand {
  width: 6px;
  height: 4px;
  background: #cbd5e1;
  border: 1px solid #000;
  margin-top: auto;
}

.robot-pink .hand { background: var(--neon-pink); }

/* Rapid Typing Animation when Working */
.typing-l { animation: hand-type 0.16s infinite alternate ease-in-out; }
.typing-r { animation: hand-type 0.16s infinite alternate-reverse ease-in-out; }

@keyframes hand-type {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

/* ERGONOMIC OFFICE CHAIR FULL (BACKREST + HEADREST + ARMRESTS) */
.office-chair-full {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  z-index: -1;
  pointer-events: none;
}

.chair-back {
  width: 32px;
  height: 32px;
  background: #090e1a;
  border: 2px solid #1e293b;
  border-radius: 4px;
  margin: 0 auto;
}

.chair-arm {
  position: absolute;
  top: 14px;
  width: 3px;
  height: 12px;
  background: #334155;
  border: 1px solid #000;
}
.chair-arm.left { left: 0; }
.chair-arm.right { right: 0; }

/* RIGHT: MINI PC TOWER */
.mini-pc-tower {
  width: 16px;
  height: 32px;
  background: #080d19;
  border: 2px solid #000;
  margin-bottom: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 3px;
  z-index: 4;
}

.pc-slot-led {
  width: 6px;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 4px var(--neon-cyan);
  margin-top: 4px;
}

/* DESK MAT & LEGS */
.desk-mat {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 7px;
  background: #111a2d;
  border-top: 2px solid #233454;
  border-bottom: 2px solid #000;
  z-index: 2;
}

.desk-leg {
  position: absolute;
  bottom: -2px;
  width: 4px;
  height: 8px;
  background: #0b111e;
  border: 1px solid #000;
  z-index: 1;
}
.leg-left { left: 8px; }
.leg-right { right: 8px; }

/* UNDER-DESK LABELS & PROGRESS BARS */
.station-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  z-index: 5;
}

.check-box {
  width: 14px;
  height: 14px;
  background: #070d18;
  border: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-retro);
  font-size: 8px;
}

.check-box.checked {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: #000;
  font-weight: bold;
}

.station-name-text {
  font-family: var(--font-retro);
  font-size: 8px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.yellow-glow {
  color: var(--neon-yellow);
  text-shadow: 0 0 8px var(--neon-yellow);
}

.text-muted { color: #64748b; }

.station-progress-line {
  width: 130px;
  height: 6px;
  background: #0a0f1d;
  border: 1px solid #000;
  margin-top: 4px;
  z-index: 5;
  overflow: hidden;
}

.st-line-fill { height: 100%; transition: width 0.3s; }
.st-line-fill.green { background: var(--neon-green); box-shadow: 0 0 6px var(--neon-green); }
.st-line-fill.yellow { background: var(--neon-yellow); box-shadow: 0 0 8px var(--neon-yellow); }

/* ==========================================================================
   YELLOW DASHED TRACK & COURIER BOT WITH SLEEP/STANDBY AT DESK
   ========================================================================== */

.floor-guide-lane {
  position: relative;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  margin: 4px 0;
  z-index: 10;
}

.dashed-track-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  border-top: 2px dashed rgba(255, 208, 0, 0.9);
  box-shadow: 0 0 8px rgba(255, 208, 0, 0.4);
}

/* ENLARGED COURIER BOT */
.courier-robot-token.enlarged-courier {
  position: absolute;
  top: -8px;
  left: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 25;
  transition: left 1.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.courier-antenna {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: -1px;
}

.antenna-tip {
  width: 6px;
  height: 6px;
  background: var(--neon-cyan);
  border: 1px solid #000;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse-tip 1s infinite alternate;
}

@keyframes pulse-tip {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 4px var(--neon-cyan)); }
}

.antenna-rod {
  width: 2px;
  height: 6px;
  background: #475569;
  border: 1px solid #000;
  border-top: none;
}

.courier-head-box {
  width: 38px;
  height: 30px;
  background: #cbd5e1;
  border: 3px solid #000;
  box-shadow: inset 0 -3px 0 #94a3b8, 2px 2px 0 #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.head-ear {
  position: absolute;
  top: 8px;
  width: 3px;
  height: 10px;
  background: #64748b;
  border: 1px solid #000;
}
.ear-left { left: -5px; }
.ear-right { right: -5px; }

.courier-face-screen {
  width: 28px;
  height: 18px;
  background: #080e1a;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 6px rgba(0, 243, 255, 0.2);
}

.courier-eyes {
  display: flex;
  gap: 6px;
}

.eye-pixel {
  width: 6px;
  height: 6px;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
  border-radius: 1px;
  position: relative;
  animation: courier-blink 3.5s infinite;
  transition: all 0.2s ease;
}

@keyframes courier-blink {
  0%, 96%, 100% { transform: scaleY(1); }
  98% { transform: scaleY(0.15); }
}

.courier-neck {
  width: 12px;
  height: 3px;
  background: #334155;
  border: 1px solid #000;
  border-top: none;
}

.courier-chassis {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1px;
}

.courier-cart-tray {
  width: 46px;
  height: 24px;
  background: #1e293b;
  border: 2px solid #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 #000;
  overflow: hidden;
}

.cart-headlight {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 3px;
  height: 5px;
  background: var(--neon-yellow);
  box-shadow: 0 0 6px var(--neon-yellow);
  transition: all 0.3s ease;
}

.cart-side-bars {
  position: absolute;
  inset: 0;
  border-top: 2px solid #475569;
  border-bottom: 2px solid #0f172a;
  pointer-events: none;
}

.docs-tray-container {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.doc-page {
  position: relative;
  border: 1px solid #000;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.page-white {
  width: 16px;
  height: 18px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px;
}

.doc-line {
  height: 2px;
  background: #334155;
}

.page-yellow {
  width: 14px;
  height: 16px;
  background: #fde047;
}

.folder-tab {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 3px;
  background: #fde047;
  border: 1px solid #000;
  border-bottom: none;
}

.page-cyan {
  width: 10px;
  height: 14px;
  background: #38bdf8;
}

.courier-wheel-assembly {
  display: flex;
  gap: 22px;
  margin-top: 2px;
}

.courier-wheel {
  width: 10px;
  height: 10px;
  background: #090d16;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: roll-spokes 0.4s linear infinite;
}

.hubcap {
  width: 3px;
  height: 3px;
  background: #94a3b8;
  border-radius: 50%;
  border: 1px solid #000;
}

@keyframes roll-spokes {
  100% { transform: rotate(360deg); }
}

.courier-nametag {
  font-family: var(--font-retro);
  font-size: 6px;
  font-weight: bold;
  color: var(--neon-yellow);
  background: #000000;
  border: 1px solid var(--neon-yellow);
  padding: 1px 4px;
  margin-top: 3px;
  white-space: nowrap;
  box-shadow: 1px 1px 0 #000;
}

/* ==========================================================================
   COURIER STANDBY MODE (DESLIGADO QUANDO ENTREGA NA MESA!)
   ========================================================================== */

.courier-robot-token.courier-standby .antenna-tip {
  background: #334155 !important;
  box-shadow: none !important;
  animation: none !important;
}

.courier-robot-token.courier-standby .cart-headlight {
  background: #111827 !important;
  box-shadow: none !important;
}

.courier-robot-token.courier-standby .courier-wheel {
  animation: none !important;
}

.courier-robot-token.courier-standby .eye-pixel {
  height: 2px !important;
  background: #334155 !important;
  animation: none !important;
  transform: translateY(2px) !important;
}

.courier-robot-token.courier-standby .docs-tray-container {
  opacity: 0 !important;
  transform: scale(0.6) !important;
}

.courier-robot-token.courier-standby .courier-nametag {
  color: #64748b;
  border-color: #334155;
}

/* ==========================================================================
   RIGHT AGENTS STATUS PANEL
   ========================================================================== */

.right-agents-panel {
  width: 160px;
  height: 100%;
  background: #050811;
  border-left: 2px solid #111a2d;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  flex-shrink: 0;
  z-index: 15;
}

.panel-header-title {
  font-family: var(--font-retro);
  font-size: 9px;
  color: var(--neon-yellow);
  font-weight: bold;
}

.panel-sub-title {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
}

.mini-progress-pill-bar {
  width: 100%;
  height: 6px;
  background: #111a2d;
  border: 1px solid #000;
  margin-bottom: 14px;
  overflow: hidden;
}

.pill-fill {
  height: 100%;
  background: var(--neon-yellow);
}

.agents-status-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.agent-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.agent-item.active-agent {
  background: rgba(255, 42, 133, 0.15);
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.3);
}

.agent-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-blue { background: var(--neon-blue); }
.dot-purple { background: var(--neon-purple); }
.dot-pink { background: var(--neon-pink); box-shadow: 0 0 6px var(--neon-pink); }
.dot-orange { background: var(--neon-orange); }
.dot-cyan { background: var(--neon-cyan); }
.dot-green { background: var(--neon-green); }
.dot-red { background: var(--neon-red); }

.agent-name { font-size: 11px; font-weight: 500; color: #cbd5e1; }
.agent-item.active-agent .agent-name { color: #ffffff; font-weight: bold; }

.agent-state { margin-left: auto; font-family: var(--font-retro); font-size: 7px; color: var(--neon-green); }
.agent-state-badge { margin-left: auto; font-family: var(--font-retro); font-size: 7px; color: var(--neon-yellow); }
.agent-state-idle { margin-left: auto; font-size: 9px; color: #475569; }

.panel-bottom-stats {
  border-top: 1px solid #142036;
  padding-top: 8px;
  font-size: 10px;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==========================================================================
   ULTRA-SLIM BOTTOM STRIP
   ========================================================================== */

.bottom-slim-strip {
  height: 26px;
  background: #04060c;
  border-top: 1px solid #111a2d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
  z-index: 30;
}

.strip-left { display: flex; align-items: center; gap: 8px; flex: 1; overflow: hidden; }
.strip-live-led { width: 6px; height: 6px; border-radius: 50%; background: var(--neon-green); box-shadow: 0 0 6px var(--neon-green); }
.strip-title { font-family: var(--font-retro); font-size: 7px; color: var(--neon-cyan); }
.strip-ticker-text { font-family: var(--font-code); font-size: 11px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip-right { display: flex; align-items: center; gap: 10px; }
.strip-metric { font-family: var(--font-code); font-size: 11px; color: #cbd5e1; }
.strip-expand-btn { font-family: var(--font-pixel); font-size: 8px; background: #0e172a; color: var(--neon-yellow); border: 1px solid #1e293b; padding: 2px 6px; cursor: pointer; }

/* Expandable Drawer */
.terminal-slide-drawer {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  height: 180px;
  background: #04070f;
  border-top: 2px solid var(--neon-cyan);
  display: none;
  flex-direction: column;
  z-index: 40;
}

.terminal-slide-drawer.open { display: flex; }
.drawer-header { height: 26px; background: #090e1c; border-bottom: 1px solid #16243d; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-family: var(--font-pixel); font-size: 8px; color: var(--neon-cyan); }
.drawer-body { flex: 1; padding: 6px 12px; overflow-y: auto; font-family: var(--font-code); font-size: 11px; display: flex; flex-direction: column; gap: 3px; }
.btn-tiny { background: #121c30; border: 1px solid #233554; color: #cbd5e1; font-family: var(--font-pixel); font-size: 8px; padding: 2px 5px; cursor: pointer; }
.log-line { display: flex; gap: 8px; }
.log-time { color: #5a6e8c; }
.log-src { color: var(--neon-cyan); font-weight: bold; }
.log-line.info { color: #cbd5e1; }
.log-line.success { color: var(--neon-green); }
.log-line.warning { color: var(--neon-yellow); }

/* ==========================================================================
   GORGEOUS VISUAL INSPECTOR MODAL (SEM JSON CRU!)
   ========================================================================== */

.modal-inspector-styled {
  max-width: 1050px;
  width: 92vw;
  max-height: 88vh;
}

.modal-inspector-styled .agent-hero-banner {
  padding: 10px 14px;
  margin-bottom: 8px;
  gap: 14px;
}

.modal-inspector-styled .visual-metrics-grid {
  gap: 8px;
  margin-bottom: 8px;
}

.modal-inspector-styled .v-card {
  padding: 8px 12px;
  gap: 10px;
}

.modal-inspector-styled .v-card-icon {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.modal-inspector-styled .agent-avatar-box {
  width: 44px;
  height: 44px;
}

.agent-hero-banner {
  background: linear-gradient(135deg, #0e192e 0%, #080f1d 100%);
  border: 2px solid #1e3256;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.agent-avatar-box {
  width: 48px;
  height: 48px;
  background: #060b16;
  border: 2px solid #00f3ff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.3);
}

.mini-avatar-head {
  width: 26px;
  height: 24px;
  background: #090e1a;
  border: 2px solid #ff2a85;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.avatar-eye {
  width: 6px;
  height: 4px;
  background: #ff2a85;
  box-shadow: 0 0 4px #ff2a85;
}

.agent-hero-info {
  flex: 1;
}

.agent-step-tag {
  font-family: var(--font-retro);
  font-size: 8px;
  color: var(--neon-cyan);
  margin-bottom: 2px;
}

.agent-title-display {
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
}

.agent-role-desc {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.agent-status-badge-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-family: var(--font-retro);
  font-size: 8px;
  padding: 4px 8px;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
  animation: core-pulse 0.8s infinite alternate;
}

/* Visual Metrics Grid */
.visual-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.v-card {
  background: #070d19;
  border: 1px solid #16243d;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-card-icon {
  width: 32px;
  height: 32px;
  background: #101c33;
  border: 1px solid #1e3357;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 14px;
}

.v-card-data {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: #64748b;
}

.v-val {
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
}

.code-accent {
  font-family: var(--font-code);
  color: var(--neon-yellow);
}

/* Visual Output Box */
.visual-output-container {
  background: #060a14;
  border: 1px solid #16243d;
  border-radius: 6px;
  overflow: hidden;
}

.output-header-bar {
  background: #09101f;
  border-bottom: 1px solid #16243d;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--neon-cyan);
}

.status-indicator-tag {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
  font-family: var(--font-retro);
  font-size: 7px;
  padding: 2px 6px;
}

.output-content-styled {
  padding: 14px;
  font-size: 12px;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Inspector Visual Output Components (Rich & Visual) */
.insp-preview-quote-box {
  background: #091122;
  border-left: 3px solid var(--neon-cyan);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #e2e8f0;
  line-height: 1.4;
  font-size: 11px;
}

.insp-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.insp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #1e3357;
  background: #08101f;
  color: #cbd5e1;
}

.insp-pill.cyan { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(0, 243, 255, 0.08); }
.insp-pill.green { border-color: var(--neon-green); color: var(--neon-green); background: rgba(0, 255, 136, 0.08); }
.insp-pill.yellow { border-color: var(--neon-yellow); color: var(--neon-yellow); background: rgba(255, 208, 0, 0.08); }
.insp-pill.purple { border-color: var(--neon-purple); color: var(--neon-purple); background: rgba(157, 78, 221, 0.08); }
.insp-pill.pink { border-color: var(--neon-pink); color: var(--neon-pink); background: rgba(255, 42, 133, 0.08); }

.insp-title-copy-card {
  background: #080e1b;
  border: 1px solid var(--neon-yellow);
  padding: 10px 12px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.insp-title-text {
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.insp-path-box {
  background: #050a14;
  border: 1px solid #142036;
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--font-code);
  font-size: 10px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.insp-sub-live-preview {
  background: #03060d;
  border: 2px dashed #1e3256;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.sub-pill {
  display: inline-block;
  padding: 2px 6px;
  margin: 0 3px;
  border-radius: 3px;
}
.sub-pill.neon-green { color: #000; background: var(--neon-green); font-weight: bold; transform: scale(1.08); }
.sub-pill.neon-yellow { color: #000; background: var(--neon-yellow); font-weight: bold; transform: scale(1.08); }

.insp-timeline-track {
  background: #080f1d;
  border: 1px solid #162542;
  border-radius: 4px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.insp-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.insp-social-item {
  background: #08101e;
  border: 1px solid #1a2942;
  border-radius: 6px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-align: center;
}

.insp-social-item i {
  font-size: 20px;
}

.badge-online {
  font-family: var(--font-retro);
  font-size: 7px;
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid var(--neon-green);
  padding: 1px 5px;
  border-radius: 3px;
}

/* Modals Standard Layout */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.active { display: flex; }
.modal-card { background: #080d19; border: 3px solid var(--neon-cyan); box-shadow: 0 0 25px rgba(0, 243, 255, 0.25), 6px 6px 0 #000; width: 100%; max-width: 620px; max-height: 85vh; display: flex; flex-direction: column; }
.modal-lg { max-width: 800px; }
.modal-preview-card { max-width: 760px; }
.modal-header { padding: 10px 14px; background: #0c1426; border-bottom: 2px solid #16243d; display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-family: var(--font-pixel); font-size: 12px; font-weight: bold; color: var(--neon-cyan); }
.modal-close {
  background: rgba(255, 0, 85, 0.12);
  border: 1px solid rgba(255, 0, 85, 0.45);
  color: #ff2a55;
  font-size: 15px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 0 8px rgba(255, 42, 85, 0.3);
}
.modal-close:hover {
  background: #ff2a55;
  color: #ffffff;
  border-color: #ff2a55;
  box-shadow: 0 0 14px rgba(255, 42, 85, 0.85);
  transform: scale(1.1);
}
.modal-body { padding: 14px; overflow-y: auto; flex: 1; }
.modal-description { font-size: 12px; color: #94a3b8; margin-bottom: 12px; }
.modal-section-title { font-family: var(--font-pixel); font-size: 9px; color: var(--neon-yellow); margin: 14px 0 6px; padding-bottom: 2px; border-bottom: 1px dashed #1a2742; }
.modal-footer { padding: 8px 14px; background: #050811; border-top: 1px solid #121c30; display: flex; justify-content: space-between; }

/* MODAL STATION INSPECTOR - WIDESCREEN & COMPACT FIT */
#modal-station-inspector .modal-card {
  max-width: 960px;
  width: 92vw;
  max-height: 94vh;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.35), 8px 8px 0 #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
}

#modal-station-inspector .modal-body {
  padding: 8px 14px;
  overflow-y: auto !important;
  max-height: calc(94vh - 44px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) #050810;
}

#modal-station-inspector .modal-body::-webkit-scrollbar {
  width: 5px;
}
#modal-station-inspector .modal-body::-webkit-scrollbar-track {
  background: #050810;
}
#modal-station-inspector .modal-body::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 3px;
}

#modal-station-inspector .agent-hero-banner {
  padding: 6px 10px !important;
  margin-bottom: 4px !important;
  gap: 10px !important;
}

#modal-station-inspector .agent-avatar-box {
  width: 36px !important;
  height: 36px !important;
}

#modal-station-inspector .mini-avatar-head {
  width: 24px !important;
  height: 20px !important;
}

#modal-station-inspector .agent-step-tag {
  font-size: 8px !important;
}

#modal-station-inspector .agent-title-display {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

#modal-station-inspector .agent-role-desc {
  font-size: 10px !important;
  line-height: 1.3 !important;
}

#modal-station-inspector .visual-metrics-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 4px !important;
  margin-bottom: 4px !important;
}

#modal-station-inspector .v-card {
  padding: 4px 8px !important;
  gap: 6px !important;
}

#modal-station-inspector .v-card-icon {
  width: 24px !important;
  height: 24px !important;
  font-size: 11px !important;
}

#modal-station-inspector .v-label {
  font-size: 7.5px !important;
}

#modal-station-inspector .v-val {
  font-size: 10.5px !important;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#modal-station-inspector .output-header-bar {
  padding: 4px 8px !important;
  font-size: 9px !important;
}

#modal-station-inspector .visual-output-container {
  overflow: visible;
  margin-bottom: 0 !important;
}

/* ==========================================================================
   MODAL DO 2º ANDAR: INGESTÃO INTELIGENTE WIDESCREEN & UPLOAD LATERAL
   ========================================================================== */
#modal-floor2-ingest .modal-card {
  max-width: 1050px;
  width: 92vw;
  max-height: 88vh;
  box-shadow: 0 0 35px rgba(255, 0, 127, 0.3), 8px 8px 0 #000;
  display: flex;
  flex-direction: column;
}

#modal-floor2-ingest .modal-body {
  padding: 12px 18px;
  overflow-y: auto;
  max-height: calc(88vh - 46px);
}

.floor2-ingest-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}

.detected-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-retro);
  font-size: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.detected-platform-badge.youtube {
  background: rgba(255, 0, 0, 0.18);
  border: 1px solid #ff0000;
  color: #ff4d4d;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
.detected-platform-badge.drive {
  background: rgba(0, 242, 254, 0.18);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}
.detected-platform-badge.upload {
  background: rgba(0, 255, 136, 0.18);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}
.detected-platform-badge.empty {
  background: rgba(100, 116, 139, 0.15);
  border: 1px solid #334155;
  color: #94a3b8;
}

.yt-preview-card {
  background: #050811;
  border: 1px solid #1e293b;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
  transition: all 0.2s ease;
}
.yt-preview-card:hover {
  border-color: var(--neon-cyan);
}
.yt-thumb-box {
  width: 100%;
  height: 160px;
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.yt-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-duration-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-family: var(--font-retro);
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #334155;
}
.yt-uploader-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--neon-cyan);
  font-size: 8px;
  font-family: var(--font-retro);
  padding: 2px 6px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.dropzone-retro {
  background: rgba(8, 13, 25, 0.85);
  border: 2px dashed #334155;
  border-radius: 8px;
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.dropzone-retro:hover, .dropzone-retro.drag-over {
  border-color: var(--neon-green);
  background: rgba(0, 255, 136, 0.05);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
  transform: translateY(-1px);
}
.dropzone-icon {
  font-size: 32px;
  color: var(--neon-green);
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}
.dropzone-retro:hover .dropzone-icon {
  transform: scale(1.15);
}
.dropzone-title {
  font-family: var(--font-retro);
  font-size: 10px;
  color: #fff;
  margin-bottom: 4px;
}
.dropzone-sub {
  font-size: 9px;
  color: #94a3b8;
  line-height: 1.3;
}
.dropzone-pill {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-size: 8px;
  font-family: var(--font-retro);
  padding: 3px 8px;
  border-radius: 4px;
}

#modal-station-inspector .output-content-styled {
  padding: 4px 6px;
  gap: 4px;
}

/* Forms */
.retro-form { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: flex; gap: 8px; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.flex-3 { flex: 3; }
.form-group { display: flex; flex-direction: column; gap: 3px; }
.form-group label { font-family: var(--font-pixel); font-size: 8px; color: #94a3b8; }
.form-group input, .form-group select { background: #050810; border: 1px solid #16243d; color: #fff; font-family: var(--font-code); font-size: 11px; padding: 6px 8px; outline: none; }
.form-btn-container { display: flex; align-items: flex-end; }

/* Buttons */
.retro-btn { font-family: var(--font-pixel); font-size: 9px; font-weight: bold; padding: 6px 12px; border: 2px solid #000; box-shadow: 2px 2px 0 #000; cursor: pointer; }
.btn-sm { padding: 3px 6px; font-size: 8px; }
.btn-cyan { background: var(--neon-cyan); color: #000; }
.btn-yellow { background: var(--neon-yellow); color: #000; }
.btn-fire { background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; }
.btn-gray { background: #1a2438; color: #e2e8f0; border-color: #2a3a57; }
.btn-full { width: 100%; }

/* Lists in Modals */
.drive-folders-list, .music-list-table, .schedule-list { display: flex; flex-direction: column; gap: 6px; }
.drive-item-card, .music-row, .schedule-row { background: #050a14; border: 1px solid #142036; padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; }
.drive-title, .music-track-name { font-weight: bold; font-size: 12px; color: #fff; }
.drive-url { font-family: var(--font-code); font-size: 10px; color: var(--neon-cyan); }
.drive-badge-status { font-family: var(--font-retro); font-size: 7px; color: var(--neon-green); background: rgba(0, 255, 136, 0.1); padding: 1px 4px; }

/* 9:16 Shorts Preview */
.preview-body-layout { display: flex; gap: 16px; }
.phone-mockup { width: 200px; height: 390px; background: #020408; border: 4px solid #1a263d; border-radius: 24px; padding: 6px; display: flex; flex-direction: column; position: relative; flex-shrink: 0; box-shadow: 0 0 15px rgba(0, 243, 255, 0.2); }
.phone-speaker { width: 32px; height: 3px; background: #334155; margin: 0 auto 3px; border-radius: 2px; }
.phone-screen { flex: 1; background: #000; border-radius: 14px; overflow: hidden; position: relative; }
.mock-video-canvas { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 8px; }
.video-bg-animation { position: absolute; inset: 0; background: linear-gradient(180deg, #141c2e 0%, #080d19 50%, #03050a 100%); }
.preview-subtitles-overlay { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); width: 90%; text-align: center; font-family: var(--font-pixel); font-size: 10px; font-weight: bold; text-shadow: 2px 2px 0 #000; }
.sub-word { display: inline-block; margin: 0 2px; color: #fff; }
.word-highlight { color: var(--neon-green); transform: scale(1.15); }
.word-highlight-yellow { color: var(--neon-yellow); transform: scale(1.18); }
.phone-overlay-meta { position: relative; z-index: 5; font-size: 8px; line-height: 1.3; }
.phone-author { font-weight: bold; color: #fff; }
.phone-caption { color: #cbd5e1; font-size: 8px; }
.phone-music { color: var(--neon-cyan); font-size: 7px; }

.preview-details-panel { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.panel-subtitle { font-family: var(--font-pixel); font-size: 10px; color: var(--neon-cyan); }
.copy-box { background: #04070f; border: 1px solid #142036; padding: 6px 8px; font-family: var(--font-code); font-size: 11px; color: #fff; }
.copy-box.highlighted { border-color: var(--neon-yellow); color: var(--neon-yellow); }
.btn-copy-chip { align-self: flex-start; background: #0e172a; border: 1px solid #1e293b; color: var(--neon-cyan); font-family: var(--font-pixel); font-size: 7px; padding: 2px 5px; cursor: pointer; }
.detail-row-flex { display: flex; gap: 6px; margin-top: 4px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery-card { background: #050a14; border: 1px solid #142036; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.gallery-thumb-container { height: 110px; background: #02050b; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.gallery-title { font-size: 10px; font-weight: bold; color: #fff; line-height: 1.3; }

/* Toast */
.toast-container { position: fixed; bottom: 30px; right: 16px; z-index: 10000; display: flex; flex-direction: column; gap: 6px; }
.toast { background: #070d19; border: 2px solid var(--neon-cyan); box-shadow: 2px 2px 0 #000; padding: 6px 10px; font-size: 11px; color: #fff; display: flex; align-items: center; gap: 6px; animation: slide-toast 0.2s ease-out; }
.toast.success { border-color: var(--neon-green); color: var(--neon-green); }
.toast.warning { border-color: var(--neon-yellow); color: var(--neon-yellow); }

@keyframes slide-toast { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ==========================================================================
   DEDICATED PAGES MASTER LAYOUTS (GALERIA, NICHOS, MÚSICAS, AGENDA)
   ========================================================================== */

/* Quick Niche Selector in Header */
.niche-quick-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #060b17;
  border: 1px solid var(--neon-cyan);
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

.niche-quick-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 4px;
}

.niche-select-header {
  background: #02050b;
  border: 1px solid #1a2a44;
  color: #ffd000;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  outline: none;
  cursor: pointer;
}

/* Dedicated Page Screen Container (Scrollable, full page) */
.dedicated-screen {
  flex: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #040813;
  overflow: hidden;
}

.dedicated-content-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-hero-banner {
  background: linear-gradient(135deg, #0b1426 0%, #060c18 100%);
  border: 2px solid #172744;
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.page-hero-title {
  font-family: var(--font-pixel);
  font-size: 16px;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 3px;
}

.page-hero-stats {
  display: flex;
  gap: 14px;
}

.stat-box {
  background: #04070f;
  border: 1px solid #142238;
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-retro);
  font-size: 12px;
  color: var(--neon-yellow);
}

.stat-label {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: #64748b;
  text-transform: uppercase;
}

/* ==========================================================================
   1. NICHOS & FONTES DRIVE DEDICATED STYLES
   ========================================================================== */

.niche-dashboard-grid {
  display: block;
  width: 100%;
}

.niche-form-card {
  background: #070e1c;
  border: 2px solid #1a2c4e;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.niche-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.niche-card-item {
  background: #081122;
  border: 2px solid #192a47;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  position: relative;
}

.niche-card-item.active-niche {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.25);
  background: linear-gradient(135deg, #09172c 0%, #07101e 100%);
}

.niche-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.niche-card-title {
  font-family: var(--font-tech);
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
}

.niche-active-badge {
  font-family: var(--font-retro);
  font-size: 7px;
  padding: 2px 6px;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.niche-drive-path {
  font-family: var(--font-code);
  font-size: 10px;
  color: #38bdf8;
  background: #03060c;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #121e33;
  display: flex;
  align-items: center;
  gap: 6px;
  word-break: break-all;
}

.niche-theme-box {
  font-size: 11px;
  color: #cbd5e1;
  background: #040813;
  border-left: 2px solid var(--neon-yellow);
  padding: 6px 10px;
}

.niche-tags-pillbox {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.niche-tag-chip {
  font-family: var(--font-pixel);
  font-size: 7px;
  background: #0f1c33;
  border: 1px solid #1e3357;
  color: var(--neon-cyan);
  padding: 2px 6px;
  border-radius: 3px;
}

.niche-actions-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ==========================================================================
   2. GALERIA DEDICADA COM FEED VERTICAL 9:16 & ONDE FOI PUBLICADO
   ========================================================================== */

.gallery-filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #070e1c;
  border: 1px solid #16243d;
  padding: 8px 14px;
  border-radius: 6px;
}

.filter-pills-list {
  display: flex;
  gap: 8px;
}

.filter-btn {
  background: #0c1729;
  border: 1px solid #1c3052;
  color: #94a3b8;
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: #142542;
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

.gallery-cards-grid-916 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.video-card-vertical {
  background: #070d19;
  border: 2px solid #16243d;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.video-card-vertical:hover {
  transform: translateY(-3px);
  border-color: var(--neon-cyan);
  box-shadow: 0 6px 20px rgba(0, 243, 255, 0.25);
}

.video-thumb-viewport {
  position: relative;
  width: 100%;
  height: 280px;
  background: linear-gradient(180deg, #16233d 0%, #060b17 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  overflow: hidden;
}

.video-scanline {
  display: none !important;
}

.thumb-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.thumb-duration-badge {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #334155;
  color: #ffffff;
  font-family: var(--font-code);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
}

.thumb-views-badge {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
}

.thumb-center-play {
  align-self: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 243, 255, 0.2);
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 0 16px var(--neon-cyan);
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: transform 0.2s ease;
}

.thumb-center-play:hover {
  transform: scale(1.15);
  background: var(--neon-cyan);
  color: #000;
}

.thumb-subs-preview {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 9px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
}

.video-info-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.video-title-bold {
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.3;
}

.video-meta-sub {
  font-size: 11px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
}

/* ONDE FOI PUBLICADO - CHIPS COLORIDOS */
.published-platforms-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #040812;
  border: 1px solid #142238;
  border-radius: 6px;
  padding: 8px;
}

.platforms-title-tag {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: #94a3b8;
  text-transform: uppercase;
}

.platform-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.platform-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}

.p-yt { color: #ff0000; }
.p-ig { color: #e1306c; }
.p-tk { color: #00f2fe; }

.badge-posted {
  font-family: var(--font-retro);
  font-size: 7px;
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.1);
  padding: 1px 5px;
  border-radius: 2px;
}

.badge-scheduled {
  font-family: var(--font-retro);
  font-size: 7px;
  color: var(--neon-yellow);
  background: rgba(255, 208, 0, 0.1);
  padding: 1px 5px;
  border-radius: 2px;
}

.badge-unposted {
  font-family: var(--font-retro);
  font-size: 7px;
  color: #64748b;
  background: rgba(100, 116, 139, 0.1);
  padding: 1px 5px;
  border-radius: 2px;
}

.badge-processing {
  font-family: var(--font-retro);
  font-size: 7px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 1px 6px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: processing-pulse 1.5s ease-in-out infinite;
}

@keyframes processing-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(245, 158, 11, 0.3); }
  50% { opacity: 0.7; box-shadow: 0 0 10px rgba(245, 158, 11, 0.6); }
}


/* ==========================================================================
   3. MÚSICAS & UPLOAD DEDICATED STYLES
   ========================================================================== */

.music-dashboard-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
}

.drag-drop-zone {
  background: #070e1c;
  border: 2px dashed #20365e;
  border-radius: 8px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.drag-drop-zone.dragover, .drag-drop-zone:hover {
  border-color: var(--neon-cyan);
  background: #0a1529;
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.2);
}

.drag-icon {
  font-size: 32px;
  color: var(--neon-cyan);
}

.player-console-card {
  background: #081122;
  border: 2px solid var(--neon-cyan);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.2);
}

.sound-waveform-anim {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.sound-waveform-anim .bar {
  width: 4px;
  background: var(--neon-cyan);
  border-radius: 1px;
  animation: wave-bounce 0.6s infinite alternate ease-in-out;
}

/* ==========================================================================
   4. CALENDÁRIO COMPLETO & AGENDA COM PAINEL LATERAL
   ========================================================================== */

.calendar-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  height: 100%;
}

.calendar-matrix-card {
  background: #070e1c;
  border: 2px solid #162540;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calendar-month-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-month-title {
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--neon-yellow);
}

.calendar-grid-table {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day-header {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: #64748b;
  text-align: center;
  padding: 4px;
}

.cal-day-cell {
  background: #040813;
  border: 1px solid #142238;
  border-radius: 6px;
  min-height: 68px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.cal-day-cell:hover {
  border-color: var(--neon-cyan);
  background: #091224;
}

.cal-day-cell.selected {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 12px rgba(255, 208, 0, 0.4);
  background: #0e1b33;
}

.cal-day-cell.has-posts {
  border-color: rgba(0, 255, 136, 0.6);
}

.cal-day-num {
  font-family: var(--font-retro);
  font-size: 9px;
  color: #cbd5e1;
}

.cal-day-cell.selected .cal-day-num {
  color: var(--neon-yellow);
}

.cal-badge-posts {
  font-family: var(--font-pixel);
  font-size: 7px;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 2px 4px;
  border-radius: 3px;
  align-self: flex-start;
  margin-top: 4px;
}

/* Painel Lateral do Dia */
.day-inspector-panel {
  background: #070e1c;
  border: 2px solid #1a2c4e;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.day-panel-title {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--neon-cyan);
  border-bottom: 1px solid #162540;
  padding-bottom: 8px;
}

.day-post-card {
  background: #040812;
  border: 1px solid #162642;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.day-post-time {
  font-family: var(--font-retro);
  font-size: 10px;
  color: var(--neon-yellow);
  display: flex;
  align-items: center;
  gap: 6px;
}

.day-post-title {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   5. TWO-FLOOR FACTORY SYSTEM & DUAL MONITOR (PISO 1 & PISO 2)
   ========================================================================== */

/* Floor Switcher Buttons in Header */
.floor-switcher-group {
  display: flex;
  gap: 4px;
  background: #040812;
  border: 1px solid #16243d;
  padding: 3px;
  border-radius: 6px;
}

.floor-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  font-family: var(--font-pixel);
  font-size: 8px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.floor-tab-btn:hover {
  color: #cbd5e1;
}

.floor-tab-btn.active {
  background: #0c1830;
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.25);
}

.floor-tab-btn#btn-floor-2.active {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.35);
}

/* Floor Active Neon Banner */
.floor-banner-strip {
  background: #03060e;
  border-bottom: 1px solid #101c30;
  padding: 4px 16px;
  display: flex;
  align-items: center;
}

.floor-sign-badge {
  font-family: var(--font-pixel);
  font-size: 8px;
  font-weight: bold;
  color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid var(--neon-cyan);
  padding: 2px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

.floor-sign-badge.floor-2-sign {
  color: var(--neon-purple);
  border-color: var(--neon-purple);
  background: rgba(157, 78, 221, 0.12);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

/* Floor 2 Ambient Lighting & Widescreen Accents */
.factory-screen.floor-2-theme {
  background: radial-gradient(circle at 50% 20%, #150a24 0%, #06040e 100%);
}

.factory-screen.floor-2-theme .header-retro {
  border-bottom-color: var(--neon-purple);
}

.factory-screen.floor-2-theme .monitor-screen {
  border-color: var(--neon-purple);
}

/* Dual Floor Monitor Widget */
.dual-floor-monitor-box {
  background: #040711;
  border: 1px solid #142238;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.monitor-header {
  font-family: var(--font-pixel);
  font-size: 7px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.monitor-floor-row {
  background: #070e1c;
  border: 1px solid #162640;
  border-radius: 4px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.monitor-floor-row:hover {
  border-color: #38bdf8;
}

.monitor-floor-row.active-monitor {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

.m-floor-tag {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.m-dot.live.purple {
  background: var(--neon-purple);
  box-shadow: 0 0 5px var(--neon-purple);
}

.m-file-name {
  font-family: var(--font-code);
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-prog-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-bar {
  flex: 1;
  height: 4px;
  background: #0a1122;
  border-radius: 2px;
  overflow: hidden;
}

.m-bar-fill.green {
  height: 100%;
  background: var(--neon-green);
}

.m-bar-fill.purple {
  height: 100%;
  background: var(--neon-purple);
}

.m-perc {
  font-family: var(--font-retro);
  font-size: 8px;
  color: #cbd5e1;
}

/* ==========================================================================
   6. ANTI-DUPLICATION LEDGER & TABLE STYLES (NICHOS.HTML)
   ========================================================================== */

.page-tab-btn {
  background: #081122;
  border: 1px solid #1a2c4e;
  color: #94a3b8;
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.page-tab-btn.active, .page-tab-btn:hover {
  background: #101d36;
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.antidup-dashboard-view {
  background: #070e1c;
  border: 2px solid #1a2c4e;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.antidup-info-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #040812;
  border-left: 3px solid var(--neon-green);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
}

.antidup-title {
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.antidup-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.antidup-table-container {
  overflow-x: auto;
}

.retro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.retro-table th {
  background: #040710;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: #94a3b8;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid #16243d;
}

.retro-table td {
  padding: 12px;
  border-bottom: 1px solid #142036;
  vertical-align: middle;
}

.retro-table tr:hover {
  background: rgba(0, 243, 255, 0.03);
}

.badge-source-tag {
  font-family: var(--font-pixel);
  font-size: 7px;
  background: #0d182e;
  border: 1px solid #1f3459;
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ==========================================================================
   7. 2-STEP GALLERY VIEW & EPISODE SLICED CARDS (GALERIA.HTML)
   ========================================================================== */

/* Etapa 1: Cards de Nichos */
.gallery-niche-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.niche-gallery-card-item {
  background: #081122;
  border: 2px solid #1a2c4e;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.niche-gallery-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 6px 20px rgba(0, 243, 255, 0.25);
}

.niche-gcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.niche-gcard-title {
  font-family: var(--font-tech);
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.niche-gcard-theme {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

.niche-gcard-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #38bdf8;
  background: #040710;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #121e33;
}

/* Etapa 2: Top Bar do Nicho */
.niche-detail-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #070e1c;
  border: 1px solid #16243d;
  padding: 10px 16px;
  border-radius: 8px;
}

.niche-active-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.niche-title-label {
  font-family: var(--font-tech);
  font-size: 15px;
  font-weight: bold;
  color: var(--neon-cyan);
}

.niche-sub-theme {
  font-size: 11px;
  color: #94a3b8;
}

.niche-quick-tabs-list {
  display: flex;
  gap: 6px;
}

/* Compact Viewport - Cabendo 100% na Tela */
.gallery-compact-viewport {
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
}

/* Episode Master Card */
.video-card-vertical.episode-master-card {
  border-color: var(--neon-purple);
  box-shadow: 0 4px 14px rgba(157, 78, 221, 0.25);
}

.video-thumb-viewport.episode-thumb {
  background: linear-gradient(180deg, #24113b 0%, #090514 100%);
}

/* Modal Cinematográfico das Partes do Episódio */
.ep-parts-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #050812;
  border: 1px solid #16243d;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.ep-parts-meta-strip strong {
  color: #ffffff;
}

.ep-parts-horizontal-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.ep-part-card-horizontal {
  width: 220px;
  flex-shrink: 0;
  background: #08101e;
  border: 1px solid #1a2b47;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-part-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep-part-num-badge {
  font-family: var(--font-retro);
  font-size: 7px;
  background: rgba(157, 78, 221, 0.2);
  border: 1px solid var(--neon-purple);
  color: var(--neon-purple);
  padding: 2px 5px;
  border-radius: 2px;
}

.ep-part-title {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   8. DEDICATED EPISODE SUBPAGE (EPISODIO.HTML) & ISOLATED NICHE VIEW
   ========================================================================== */

/* Breadcrumb Trail */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 12px;
  margin-bottom: 12px;
  background: #050813;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #142036;
}

.crumb-link {
  color: var(--neon-cyan);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.crumb-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.crumb-sep {
  color: #475569;
  font-size: 11px;
}

.crumb-current {
  color: #cbd5e1;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 500px;
}

/* Episode Hero Banner */
.episode-page-hero {
  background: linear-gradient(135deg, #130a24 0%, #060a16 100%);
  border: 2px solid var(--neon-purple);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 0 25px rgba(157, 78, 221, 0.2);
}

.ep-hero-main-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ep-badge-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ep-badge-pill {
  font-family: var(--font-retro);
  font-size: 7px;
  color: #ffffff;
  background: var(--neon-purple);
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: bold;
}

.ep-badge-niche {
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--neon-cyan);
  background: #0c182e;
  border: 1px solid #1a3257;
  padding: 2px 8px;
  border-radius: 3px;
}

.ep-hero-title {
  font-family: var(--font-tech);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(157, 78, 221, 0.5);
  margin: 0;
  line-height: 1.3;
}

.ep-meta-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.ep-chip {
  background: #040711;
  border: 1px solid #132039;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ep-chip strong {
  color: #ffffff;
}

.ep-hero-actions-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  min-width: 250px;
}

/* Section Header in Episode Subpage */
.ep-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #15223a;
  flex-wrap: wrap;
  gap: 10px;
}

.ep-platforms-pill-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
}

/* Grid of Sliced Shorts on Episode Subpage */
.episode-parts-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

/* Gallery Section Titles */
.section-divider-title {
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #070e1b;
  border-left: 3px solid var(--neon-cyan);
  border-radius: 0 4px 4px 0;
}

.niche-platforms-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-chip {
  background: #0c1626;
  border: 1px solid #1e3352;
  color: #38bdf8;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-tech);
  transition: all 0.15s ease;
}

.btn-copy-chip:hover {
  background: var(--neon-cyan);
  color: #000;
  border-color: var(--neon-cyan);
}

/* ==========================================================================
   MOBILE & TOUCH RESPONSIVE DESIGN (TABLETS & SMARTPHONES)
   Suporte completo a telas verticais e dispositivos móveis (360px - 768px)
   ========================================================================== */

/* Mobile Touch Hint Badge */
.mobile-touch-hint {
  display: none;
}

@media (max-width: 900px) {
  /* Oculta o painel lateral de métricas duplicadas para liberar largura máxima */
  .right-agents-panel {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* --- Master Layout Mobile --- */
  .office-layout {
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
    position: relative;
  }

  /* --- Bottom Navigation Dock on Mobile (Barra de navegação inferior estilo app nativo) --- */
  .sidebar-retro {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 56px !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 8px !important;
    border-right: none !important;
    border-top: 2px solid #16243d !important;
    background: rgba(4, 6, 12, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 1000 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7) !important;
  }

  .sidebar-top-logo {
    display: none !important;
  }

  .sidebar-icons-list {
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 0 !important;
    gap: 6px !important;
  }

  .side-icon-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    border-color: #1e293b !important;
  }

  .side-icon-btn .fa-icon {
    font-size: 18px !important;
  }

  .icon-tooltip {
    display: none !important;
  }

  .sidebar-bottom-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 4px !important;
  }

  .sound-chip-btn {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  /* --- Screen Viewports on Mobile --- */
  .factory-screen,
  .dedicated-screen {
    width: 100vw !important;
    height: calc(100vh - 56px) !important;
    height: calc(100dvh - 56px) !important;
    max-height: calc(100dvh - 56px) !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
  }

  .dedicated-content-scroll {
    padding: 10px 10px 24px !important;
    gap: 12px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* --- Header Retro on Mobile --- */
  .header-retro {
    height: auto !important;
    min-height: 46px !important;
    padding: 6px 10px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .header-branding {
    gap: 6px !important;
  }

  .yellow-logo-box {
    width: 26px !important;
    height: 26px !important;
    font-size: 10px !important;
  }

  .title-main {
    font-size: 11px !important;
  }

  .title-sub {
    display: none !important;
  }

  .header-right-zone {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .floor-switcher-group {
    display: flex !important;
    gap: 4px !important;
  }

  .floor-tab-btn {
    font-size: 8px !important;
    padding: 4px 6px !important;
  }

  .niche-quick-chip {
    padding: 2px 6px !important;
    font-size: 9px !important;
  }

  .niche-select-header {
    font-size: 9px !important;
    max-width: 105px !important;
  }

  .autopilot-chip {
    padding: 2px 6px !important;
    font-size: 9px !important;
  }

  .retro-action-btn {
    font-size: 8px !important;
    padding: 4px 8px !important;
  }

  /* --- Office Workspace & Floor Scrolling on Mobile --- */
  .office-workspace-wrapper {
    flex: 1 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
  }

  /* Scrollbar retro estilizada para feedback de toque */
  .office-workspace-wrapper::-webkit-scrollbar {
    height: 4px;
  }
  .office-workspace-wrapper::-webkit-scrollbar-track {
    background: #040813;
  }
  .office-workspace-wrapper::-webkit-scrollbar-thumb {
    background: #00f3ff;
    border-radius: 2px;
  }

  .office-floor {
    min-width: 680px !important;
    width: max-content !important;
    padding: 4px 10px 10px !important;
    overflow: visible !important;
  }

  .stations-lane {
    min-width: 680px !important;
    justify-content: space-between !important;
  }

  .conveyor-belt-strip,
  .courier-cart-track,
  .office-scenery-row {
    min-width: 680px !important;
  }

  /* Badge indicador de arrasto horizontal no celular */
  .mobile-touch-hint {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.08);
    border: 1px dashed rgba(0, 243, 255, 0.4);
    border-radius: 4px;
    padding: 3px 8px;
    margin: 2px auto;
    text-align: center;
    animation: pulseTouchHint 2s infinite ease-in-out;
  }

  @keyframes pulseTouchHint {
    0%, 100% { opacity: 0.7; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
  }

  /* Floor Banner Strip & Bottom Strip */
  .floor-banner-strip {
    font-size: 8px !important;
    padding: 2px 8px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .bottom-slim-strip {
    height: 24px !important;
    padding: 0 8px !important;
  }

  .strip-metric {
    display: none !important;
  }

  .strip-ticker-text {
    font-size: 9px !important;
  }

  .strip-expand-btn {
    font-size: 8px !important;
    padding: 2px 6px !important;
  }

  /* Gaveta de logs abre logo acima da barra inferior de navegação */
  .terminal-slide-drawer {
    bottom: 56px !important;
    max-height: 55vh !important;
  }

  /* --- Modals & Popups on Mobile --- */
  .modal-backdrop {
    padding: 6px !important;
    align-items: flex-end !important;
  }

  .modal-card,
  .modal-lg,
  .modal-preview-card,
  #modal-station-inspector .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 -4px 30px rgba(0, 243, 255, 0.3) !important;
  }

  #modal-station-inspector .modal-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-height: calc(92dvh - 95px) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .modal-inspector-styled .agent-hero-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .modal-inspector-styled .hero-meta-right {
    align-self: flex-start !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
  }

  .modal-inspector-styled .visual-metrics-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .form-row {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .preview-body-layout {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .phone-mockup {
    width: 170px !important;
    height: 320px !important;
    margin: 0 auto !important;
  }

  .modal-close {
    width: 34px !important;
    height: 34px !important;
    font-size: 16px !important;
  }

  .modal-footer {
    flex-direction: column !important;
    gap: 6px !important;
  }

  .modal-footer .retro-btn {
    width: 100% !important;
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* --- Dedicated Screens & Grid Layouts on Mobile --- */
  .page-hero-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .page-hero-title {
    font-size: 13px !important;
  }

  .page-hero-stats {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }

  .stat-box {
    flex: 1 !important;
    padding: 6px !important;
    min-width: 0 !important;
  }

  .stat-num {
    font-size: 15px !important;
  }

  /* Nichos Cards List */
  .niche-cards-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .page-nav-tabs-row {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
    gap: 6px !important;
  }

  .page-tab-btn {
    flex-shrink: 0 !important;
    font-size: 8px !important;
    padding: 6px 10px !important;
  }

  /* Galeria Grid */
  .gallery-cards-grid-916,
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .gallery-filter-bar {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
    gap: 6px !important;
  }

  .gallery-filter-btn {
    flex-shrink: 0 !important;
    font-size: 8px !important;
    padding: 5px 8px !important;
  }

  /* Agenda Calendar */
  .calendar-page-layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .calendar-matrix-card {
    padding: 10px !important;
  }

  .calendar-month-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .calendar-grid-table {
    gap: 2px !important;
  }

  .cal-day-cell {
    min-height: 42px !important;
    padding: 3px !important;
    font-size: 8px !important;
  }

  /* Músicas Dashboard */
  .music-dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .drag-drop-zone {
    padding: 16px 10px !important;
  }

  .music-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .music-actions {
    width: 100% !important;
    justify-content: flex-end !important;
  }

  /* Episódio Parts Grid & Hero */
  .episode-page-hero {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px !important;
  }

  .ep-hero-title {
    font-size: 14px !important;
  }

  .ep-hero-actions-box {
    width: 100% !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .ep-hero-actions-box .retro-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .episode-parts-page-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ep-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .ep-meta-chips-row {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
}

/* Extra Small Phones (<= 420px: iPhone SE, Galaxy A, etc.) */
@media (max-width: 420px) {
  .modal-inspector-styled .visual-metrics-grid {
    grid-template-columns: 1fr !important;
  }

  .v-card {
    padding: 8px 10px !important;
  }

  .page-hero-title {
    font-size: 11px !important;
  }

  .floor-tab-btn {
    font-size: 7.5px !important;
    padding: 3px 5px !important;
  }
}




