/* ==========================================================================
   ALINHA HUB — DASHBOARD KANBAN AUDIOVISUAL & MUSICAL
   Design System: Minimalista, Técnico & Profissional (Linear / DaVinci inspired)
   Layout Full Viewport Height (100% Zoom, Zero Vazio Preto, Colunas Fluidas)
   ========================================================================== */

:root {
  /* Escala Base do Dashboard (16px = 100% por padrão para visual nítido e confortável) */
  --app-font-size: 16px;

  /* Cores Base Matte & Alta Definição */
  --bg-main: #090a0e;
  --bg-header: #0d0f15;
  --bg-column: #11141c;
  --bg-card: #161922;
  --bg-card-hover: #1c212d;
  --bg-surface-elevated: #1f2533;
  --bg-input: #0c0e14;

  /* Bordas Ultra-sutis */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(255, 255, 255, 0.18);
  --border-focus: #eab308;

  /* Tipografia & Contrastes */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Identidades Calibradas da Equipe Alinha Hub */
  --color-daniel: #a855f7;       /* Roxo Elétrico: Color Grading & Direção */
  --color-daniel-bg: rgba(168, 85, 247, 0.14);
  --color-smoke: #f59e0b;        /* Ouro / Âmbar: Gravação, Mix & Master */
  --color-smoke-bg: rgba(245, 158, 11, 0.14);
  --color-triplog: #f43f5e;       /* Carmesim / Coral Neon: Beatmaking */
  --color-triplog-bg: rgba(244, 63, 94, 0.14);
  --color-livingston: #06b6d4;   /* Ciano / Turquesa: Artista & Edição */
  --color-livingston-bg: rgba(6, 182, 212, 0.14);
  --color-will: #84cc16;         /* Verde Lima Neon: Edição & Luz */
  --color-will-bg: rgba(132, 204, 22, 0.14);

  /* Status Globais */
  --color-accent: #eab308;
  --color-accent-glow: rgba(234, 179, 8, 0.2);
  --color-danger: #ef4444;
  --color-success: #10b981;

  /* Raios e Transições */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 9px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  --transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Reset Global & Full Viewport Fix */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--app-font-size, 18px);
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

body {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}

/* --------------------------------------------------------------------------
   1 ÚNICA BARRA SUPERIOR PROFISSIONAL (PADRÃO LINEAR / TRELLO)
   -------------------------------------------------------------------------- */
.studio-header {
  height: 52px;
  min-height: 52px;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.brand-area:hover {
  background: rgba(255, 255, 255, 0.04);
}

.header-logo-container {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.brand-area:hover .header-logo-container {
  border-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent-glow);
  transform: scale(1.05);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.header-console-icon {
  color: var(--color-accent);
  display: block;
}

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

.brand-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.brand-title span { color: var(--color-accent); margin-left: 2px; }

.brand-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--color-accent);
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

.header-search {
  position: relative;
  width: 250px;
}

.header-search .search-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  opacity: 0.5;
}

.header-search input {
  width: 100%;
  height: 32px;
  background: #121520;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 26px 0 28px;
  color: var(--text-primary);
  font-size: 0.78rem;
  outline: none;
  transition: var(--transition);
}

.header-search input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-glow);
  background: #171b28;
  width: 290px;
}

.clear-search-btn {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: var(--transition);
  z-index: 2;
}

.clear-search-btn:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.member-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 3px 6px;
  border-radius: var(--radius-pill);
  max-width: 100%;
  overflow-x: auto;
}

.member-filter-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.member-filter-pill:hover { color: #fff; }
.member-filter-pill.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.member-filter-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.member-filter-avatar:hover { transform: scale(1.12); }
.member-filter-avatar.daniel { background: var(--color-daniel-bg); color: var(--color-daniel); border-color: rgba(168, 85, 247, 0.4); }
.member-filter-avatar.smoke { background: var(--color-smoke-bg); color: var(--color-smoke); border-color: rgba(245, 158, 11, 0.4); }
.member-filter-avatar.triplo_g { background: var(--color-triplog-bg); color: var(--color-triplog); border-color: rgba(244, 63, 94, 0.4); }
.member-filter-avatar.livingston { background: var(--color-livingston-bg); color: var(--color-livingston); border-color: rgba(6, 182, 212, 0.4); }
.member-filter-avatar.will { background: var(--color-will-bg); color: var(--color-will); border-color: rgba(132, 204, 22, 0.4); }

.member-filter-avatar.is-custom {
  background: var(--member-custom-color-alpha, rgba(255, 255, 255, 0.08));
  color: var(--member-custom-color, #06b6d4);
  border-color: var(--member-custom-color, rgba(6, 182, 212, 0.4));
}

.member-filter-avatar.active {
  box-shadow: 0 0 10px currentColor;
  border-color: #ffffff;
  transform: scale(1.15);
}

.member-filter-avatar.is-custom.active {
  box-shadow: 0 0 10px var(--member-custom-color, #06b6d4);
  border-color: #ffffff;
  transform: scale(1.15);
}

.member-filter-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.view-mode-selector {
  display: flex;
  align-items: center;
  background: #131722;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2px;
}

.view-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-mode-btn:hover { color: #fff; }
.view-mode-btn.active {
  background: #222938;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Badge de Conexão em Nuvem (Alinha Hub / Hostinger) */
.cloud-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  user-select: none;
  transition: var(--transition);
}

.cloud-sync-badge.online {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.28);
  color: #86efac;
}

.cloud-sync-badge.offline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.cloud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  display: inline-block;
}

.cloud-sync-badge.online .cloud-dot {
  animation: syncDotPulse 2s infinite ease-in-out;
}

.cloud-dot.offline {
  background-color: #94a3b8;
  box-shadow: none;
  animation: none;
}

@keyframes syncDotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
  }
}

/* Badge de Operador Ativo no Cabeçalho */
.active-operator-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px 3px 4px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.active-operator-badge:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.operator-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.operator-avatar.daniel { background: var(--color-daniel-bg); color: var(--color-daniel); border: 1px solid rgba(168, 85, 247, 0.4); }
.operator-avatar.smoke { background: var(--color-smoke-bg); color: var(--color-smoke); border: 1px solid rgba(245, 158, 11, 0.4); }
.operator-avatar.triplo_g { background: var(--color-triplog-bg); color: var(--color-triplog); border: 1px solid rgba(244, 63, 94, 0.4); }
.operator-avatar.livingston { background: var(--color-livingston-bg); color: var(--color-livingston); border: 1px solid rgba(6, 182, 212, 0.4); }
.operator-avatar.will { background: var(--color-will-bg); color: var(--color-will); border: 1px solid rgba(132, 204, 22, 0.4); }
.operator-avatar.general { background: rgba(255, 255, 255, 0.1); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.3); }

.operator-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.btn-logout-operator {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-logout-operator:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #090a0e;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2);
}

.btn-primary:hover {
  background: #facc15;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-card-hover);
  color: #fff;
}

.btn-team-toggle.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-icon-only { padding: 6px 9px; font-size: 0.9rem; }

/* Dropdown */
.dropdown-container { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #141720;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 200;
  animation: fadeIn 0.12s ease-out;
}

.dropdown-menu.show { display: block; }
.dropdown-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 5px 10px 3px;
}

.dropdown-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 7px 11px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.dropdown-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.dropdown-item.text-danger { color: #f87171; }
.dropdown-item.text-danger:hover { background: rgba(239, 68, 68, 0.12); }
.dropdown-item-highlight {
  color: var(--color-accent) !important;
  font-weight: 600;
  background: rgba(234, 179, 8, 0.08);
}
.dropdown-item-highlight:hover {
  background: rgba(234, 179, 8, 0.18) !important;
  color: #ffffff !important;
}
.dropdown-divider { border: none; border-top: 1px solid var(--border-subtle); margin: 4px 0; }

.dropdown-scale-row, .density-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-density-opt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 4px 8px;
  font-size: 0.74rem;
  border-radius: 4px;
  cursor: pointer;
}
.btn-density-opt.active { background: #202634; color: var(--color-accent); font-weight: 700; }

.scale-control-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1px;
}

.scale-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 7px;
  cursor: pointer;
}
.scale-btn:hover { color: #fff; }
.scale-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--color-accent);
  padding: 0 4px;
}

/* --------------------------------------------------------------------------
   GAVETA RETRÁTIL DA EQUIPE
   -------------------------------------------------------------------------- */
.team-progress-drawer {
  background: #0b0d14;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.18s ease-out;
  flex-shrink: 0;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.team-drawer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.team-drawer-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-dashboard-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.team-dashboard-tip { font-size: 0.74rem; color: var(--text-dim); }

/* Estatísticas Gerais */
.stats-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}

.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
}

.stat-label { color: var(--text-secondary); font-weight: 500; }
.stat-pill.highlight-gold .stat-num { color: var(--color-smoke); background: var(--color-smoke-bg); }
.stat-pill.highlight-purple .stat-num { color: var(--color-daniel); background: var(--color-daniel-bg); }
.stat-pill.highlight-green .stat-num { color: var(--color-success); background: rgba(16, 185, 129, 0.15); }

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.team-summary-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 9px 13px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-summary-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-card-hover);
  transform: translateY(-1px);
}

.team-summary-card.active { box-shadow: 0 0 16px rgba(0, 0, 0, 0.5); }
.team-summary-card.daniel.active { border-color: var(--color-daniel); background: var(--color-daniel-bg); }
.team-summary-card.smoke.active { border-color: var(--color-smoke); background: var(--color-smoke-bg); }
.team-summary-card.triplo_g.active { border-color: var(--color-triplog); background: var(--color-triplog-bg); }
.team-summary-card.livingston.active { border-color: var(--color-livingston); background: var(--color-livingston-bg); }
.team-summary-card.will.active { border-color: var(--color-will); background: var(--color-will-bg); }

.member-top-row { display: flex; align-items: center; gap: 10px; }

.member-badge-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 700;
  flex-shrink: 0;
}

.member-badge-avatar.daniel { background: var(--color-daniel-bg); color: var(--color-daniel); border: 1px solid var(--color-daniel); }
.member-badge-avatar.smoke { background: var(--color-smoke-bg); color: var(--color-smoke); border: 1px solid var(--color-smoke); }
.member-badge-avatar.triplo_g { background: var(--color-triplog-bg); color: var(--color-triplog); border: 1px solid var(--color-triplog); }
.member-badge-avatar.livingston { background: var(--color-livingston-bg); color: var(--color-livingston); border: 1px solid var(--color-livingston); }
.member-badge-avatar.will { background: var(--color-will-bg); color: var(--color-will); border: 1px solid var(--color-will); }

.member-title-block { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.member-name { font-size: 0.9rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role-tag { font-size: 0.76rem; color: var(--text-muted); font-weight: 500; }
.member-active-tasks { font-size: 0.76rem; color: #94a3b8; font-weight: 500; }

.member-pct-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.member-meter-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.member-meter-fill { height: 100%; border-radius: 2px; transition: width 0.3s ease; }
.member-meter-fill.daniel { background: var(--color-daniel); }
.member-meter-fill.smoke { background: var(--color-smoke); }
.member-meter-fill.triplo_g { background: var(--color-triplog); }
.member-meter-fill.livingston { background: var(--color-livingston); }
.member-meter-fill.will { background: var(--color-will); }

.member-status-sub {
  font-size: 0.76rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   BARRA DE FILTROS RÁPIDOS DE ESTÚDIO (CHIPS DE 1 CLIQUE)
   -------------------------------------------------------------------------- */
.quick-filters-strip {
  background: rgba(11, 13, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px 18px;
  flex-shrink: 0;
  z-index: 80;
  backdrop-filter: blur(8px);
}

.quick-filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-filters-inner::-webkit-scrollbar {
  display: none;
}

.quick-filters-left {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.quick-filters-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 2px;
}

.quick-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
  user-select: none;
}

.quick-filter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.quick-filter-chip.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Variações de cores ativas */
.quick-filter-chip.qf-my-cards.active {
  background: rgba(234, 179, 8, 0.15);
  border-color: var(--color-accent);
  color: #fef08a;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.25);
}

.quick-filter-chip.qf-has-audio.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: #06b6d4;
  color: #a5f3fc;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.quick-filter-chip.qf-urgent.active {
  background: rgba(239, 68, 68, 0.16);
  border-color: #ef4444;
  color: #fca5a5;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

.quick-filter-chip.qf-video.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: #a855f7;
  color: #e9d5ff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.qf-icon {
  font-size: 0.76rem;
  line-height: 1;
}

.qf-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-filter-chip.active .qf-badge {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.quick-filters-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qf-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  color: var(--color-accent);
}

.btn-clear-qf {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.btn-clear-qf:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #f87171;
}

/* --------------------------------------------------------------------------
   1. QUADRO KANBAN — ALTURA TOTAL DA TELA (FLUXO PROFISSIONAL)
   -------------------------------------------------------------------------- */
.board-wrapper {
  flex: 1;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 8px 14px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
}

.board {
  display: flex;
  gap: var(--column-gap, 12px);
  height: 100%;
  min-height: 0;
  width: max-content;
  min-width: 100%;
  align-items: stretch;
}

/* Coluna Kanban Dinâmica e Espaçosa */
.column {
  background: var(--bg-column);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  width: var(--column-width, 290px);
  min-width: var(--column-width, 290px);
  max-width: var(--column-width, 290px);
  flex: 0 0 var(--column-width, 290px);
  transition: border-color 0.18s, background-color 0.18s, width 0.22s ease, min-width 0.22s ease, max-width 0.22s ease;
  box-shadow: var(--shadow-subtle);
}

/* Quando "Ajustar à Tela" está ATIVO */
body.fit-screen .board {
  width: 100%;
}
body.fit-screen .column {
  flex: 1 1 0;
  min-width: 180px;
  max-width: none;
  width: auto;
  flex-shrink: 1;
}

.column.drag-over {
  border-color: var(--color-accent);
  background: #141822;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.1);
}

/* Coluna Recolhida / Minimizada (48px estilizada na vertical) */
.column.collapsed {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  flex: 0 0 48px !important;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
}

.column.collapsed:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.column.collapsed .column-header {
  padding: 14px 6px;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  border-bottom: none;
}

.column.collapsed .column-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 0.84rem;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
  margin-top: auto;
  margin-bottom: auto;
}

.column.collapsed .btn-add-in-col,
.column.collapsed .cards-list {
  display: none !important;
}

.column-header {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  flex-shrink: 0;
}

.column-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  cursor: pointer;
  flex: 1;
}

.column-color-indicator { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.column-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.column-count-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.column-actions-group {
  display: flex;
  align-items: center;
  gap: 3px;
}

.btn-collapse-col {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-collapse-col:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-add-in-col {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-add-in-col:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-accent); }

/* Área de Cards com Rolagem Própria */
.cards-list {
  padding: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cards-list::-webkit-scrollbar { width: 4px; }
.cards-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }

.column-empty-state {
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.7rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 2px;
}

.column-empty-state:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

/* Card com Acabamento de Estúdio (Padrão Frame.io / Linear) */
.project-card {
  background: #121522;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: grab;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s, box-shadow 0.18s, background-color 0.18s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.38);
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: #161b2b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.project-card.dragging {
  opacity: 0.35;
  cursor: grabbing;
  transform: scale(0.98);
}

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }

.card-type-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.type-musica { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.type-clipe { background: rgba(168, 85, 247, 0.14); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.3); }
.type-visualizer { background: rgba(6, 182, 212, 0.14); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.3); }
.type-redes { background: rgba(236, 72, 153, 0.14); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
.type-estudio { background: rgba(59, 130, 246, 0.14); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }

.priority-indicator {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.prio-fogo { background: rgba(239, 68, 68, 0.22); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.45); }
.prio-alta { background: rgba(249, 115, 22, 0.16); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.3); }
.prio-media { background: rgba(56, 189, 248, 0.14); color: #bae6fd; border: 1px solid rgba(56, 189, 248, 0.25); }
.prio-baixa { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.2); }

.card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  word-break: break-word;
  letter-spacing: -0.015em;
}

/* Fita Técnica Horizontal Unificada (DNA Técnico do Projeto) */
.card-tech-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 3px 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 1px 0;
  line-height: 1.3;
}

.card-tech-strip .spec-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #cbd5e1;
  font-weight: 500;
}

.card-tech-strip .spec-icon {
  font-size: 0.74rem;
}

.card-tech-strip .spec-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
  margin: 0 1px;
}

.card-tech-strip .spec-highlight-daniel {
  color: #d8b4fe;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.14);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.card-tech-specs { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0; }

.tech-spec-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.tech-spec-pill.color-daniel-spec {
  border-color: rgba(168, 85, 247, 0.5);
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.16);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.card-description-preview {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-checklist-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 11px;
  transition: var(--transition);
}

.card-checklist-container:hover {
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.16);
}

.card-checklist-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  user-select: none;
  gap: 6px;
}

.card-checklist-toggle:hover { color: #fff; }

.checklist-summary-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.checklist-summary-label .check-icon {
  color: var(--color-success);
  font-weight: 800;
}

.checklist-summary-label .pct-badge {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
}

.checklist-toggle-btn {
  font-size: 0.74rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  transition: var(--transition);
}

.card-checklist-toggle:hover .checklist-toggle-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.checklist-meter-bg {
  height: 5px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 3px;
  overflow: hidden;
}

.checklist-meter-fill {
  height: 100%;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.checklist-meter-fill.completed { background: var(--color-success); }

.card-checklist-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 5px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-inline-task {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: #f1f5f9;
  line-height: 1.4;
  padding: 2px 0;
}

.card-inline-task input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 15px;
  height: 15px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.card-inline-task.done span {
  text-decoration: line-through;
  color: var(--text-muted);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 2px;
  gap: 8px;
}

.card-footer-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.card-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.card-footer-left .quick-link-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: var(--transition);
}

.card-footer-left .quick-link-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.card-members-group {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
}

.card-member-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -6px;
  border: 2px solid #121522;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.15s ease, z-index 0.15s ease;
}

.card-member-badge:first-child { margin-left: 0; }
.card-member-badge:hover {
  transform: scale(1.2) translateY(-2px);
  z-index: 10;
}

.card-member-badge.daniel { background: var(--color-daniel); color: #fff; }
.card-member-badge.smoke { background: var(--color-smoke); color: #090a0e; }
.card-member-badge.triplo_g { background: var(--color-triplog); color: #fff; }
.card-member-badge.livingston { background: var(--color-livingston); color: #090a0e; }
.card-member-badge.will { background: var(--color-will); color: #090a0e; }

.card-due-date {
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
  padding: 2px 6px;
  transition: var(--transition);
}

.card-due-date.due-status-overdue {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.card-due-date.due-status-today {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

.card-due-date.due-status-tomorrow {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
}

.card-due-date.due-status-soon {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
}

.card-due-date.due-status-normal {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.card-due-date.due-status-done {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
}

.table-due-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.table-due-badge.due-status-overdue {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-weight: 700;
}

.table-due-badge.due-status-today {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  font-weight: 700;
}

.table-due-badge.due-status-tomorrow {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
}

.table-due-badge.due-status-soon {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
}

.table-due-badge.due-status-normal {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.table-due-badge.due-status-done {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
}

body.density-compact .project-card { padding: 7px 9px; gap: 5px; }
body.density-compact .card-description-preview,
body.density-compact .card-checklist-items { display: none !important; }
body.density-compact .card-title { font-size: 0.86rem; }

/* --------------------------------------------------------------------------
   2. VISÃO DE TABELA / PLANILHA EXECUTIVA
   -------------------------------------------------------------------------- */
.table-wrapper {
  flex: 1;
  height: 100%;
  min-height: 0;
  padding: 10px 24px 16px;
  overflow-y: auto;
  overflow-x: auto;
}

.table-container {
  background: var(--bg-column);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.production-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.production-table th {
  background: #131722;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.production-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: var(--text-primary);
  vertical-align: middle;
}

.production-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.table-row-title {
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.table-row-title:hover { color: var(--color-accent); }

.table-meter-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 100px;
}

.table-meter-label { font-size: 0.66rem; color: var(--text-muted); }

.btn-table-action {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 3px 8px;
  font-size: 0.72rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-table-action:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* --------------------------------------------------------------------------
   MODAL DE CRIAÇÃO E EDIÇÃO
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: fadeIn 0.12s ease-out;
}

.modal-card {
  background: #131620;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  width: min(680px, 95vw);
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  overflow-x: hidden;
  animation: slideUp 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card-large {
  max-width: 760px;
  width: min(760px, 95vw);
}

.modal-header {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}

.modal-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  color: var(--color-accent);
  letter-spacing: 1px;
}

.modal-title { font-size: 1.15rem; font-weight: 700; color: #fff; }

.modal-close-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
  transform: scale(1.08);
}

.modal-form {
  padding: 16px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.modal-title-input-wrapper { width: 100%; }

.input-title-hero {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  padding: 4px 0 8px 0 !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.input-title-hero:focus { border-bottom-color: var(--color-accent) !important; }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.property-field { display: flex; flex-direction: column; gap: 4px; }
.property-label { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); }
.property-control select, .property-control input { width: 100%; }

.context-specs-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.specs-box-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.specs-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.spec-input-group { display: flex; flex-direction: column; gap: 4px; }
.spec-input-group label { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); }
.spec-input-group.highlight-daniel-spec label { color: #d8b4fe; }
.spec-input-group.highlight-daniel-spec select { border-color: rgba(168, 85, 247, 0.4); }

/* Seção de Letras e Legendas (Artista & Vídeo) */
.specs-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.lyrics-actions-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-lyrics {
  font-weight: 600;
  color: var(--color-accent) !important;
  border-color: rgba(234, 179, 8, 0.35) !important;
  background: rgba(234, 179, 8, 0.08) !important;
  transition: var(--transition);
}

.btn-copy-lyrics:hover {
  background: rgba(234, 179, 8, 0.2) !important;
  border-color: var(--color-accent) !important;
}

.btn-copy-lyrics.copied {
  background: rgba(34, 197, 94, 0.18) !important;
  border-color: rgba(34, 197, 94, 0.45) !important;
  color: #86efac !important;
}

.lyrics-editor-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 2px;
}

.lyrics-toolbar-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.lyrics-counter-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  color: var(--text-muted);
}

.lyrics-filename-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #e2e8f0;
}

.btn-clear-lyrics-file {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 2px;
  font-size: 0.7rem;
  line-height: 1;
}

.btn-clear-lyrics-file:hover {
  color: #f87171;
}

.lyrics-textarea {
  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
  background: rgba(8, 10, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: #f1f5f9;
  resize: vertical;
  min-height: 105px;
  transition: var(--transition);
}

.lyrics-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-glow);
  background: rgba(10, 13, 20, 0.95);
}

/* Badges de Legenda no Card do Kanban */
.card-lyrics-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  white-space: nowrap;
}

.card-lyrics-badge.pronta {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.3);
  color: var(--color-accent);
}

.card-lyrics-badge.sincronizada {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.card-lyrics-badge.aprovada {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.form-section-block { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.section-label { font-size: 0.74rem; font-weight: 600; color: var(--text-secondary); }

.members-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.member-select-chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.member-select-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-card-hover);
}

.chip-avatar-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.chip-avatar-circle.daniel { background: var(--color-daniel-bg); color: var(--color-daniel); border: 1px solid var(--color-daniel); }
.chip-avatar-circle.smoke { background: var(--color-smoke-bg); color: var(--color-smoke); border: 1px solid var(--color-smoke); }
.chip-avatar-circle.triplo_g { background: var(--color-triplog-bg); color: var(--color-triplog); border: 1px solid var(--color-triplog); }
.chip-avatar-circle.livingston { background: var(--color-livingston-bg); color: var(--color-livingston); border: 1px solid var(--color-livingston); }
.chip-avatar-circle.will { background: var(--color-will-bg); color: var(--color-will); border: 1px solid var(--color-will); }

.chip-member-texts { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chip-member-texts strong { font-size: 0.78rem; color: #fff; line-height: 1.2; }
.chip-member-texts small { font-size: 0.66rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chip-check-mark {
  font-size: 0.78rem;
  color: transparent;
  font-weight: 700;
  transition: color 0.15s ease;
  margin-left: auto;
}

.member-select-chip.active { box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); }
.member-select-chip.active .chip-check-mark { color: #fff; }
.member-select-chip.daniel.active { background: var(--color-daniel-bg); border-color: var(--color-daniel); }
.member-select-chip.smoke.active { background: var(--color-smoke-bg); border-color: var(--color-smoke); }
.member-select-chip.triplo_g.active { background: var(--color-triplog-bg); border-color: var(--color-triplog); }
.member-select-chip.livingston.active { background: var(--color-livingston-bg); border-color: var(--color-livingston); }
.member-select-chip.will.active { background: var(--color-will-bg); border-color: var(--color-will); }

.checklist-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.checklist-count-hint { font-size: 0.68rem; color: var(--text-muted); margin-left: 6px; }

/* Botão de Ação Rápida de Checklist no Modal */
.btn-subtle {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
}

.btn-subtle:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
}

.btn-subtle:active {
  transform: scale(0.97);
  box-shadow: none;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 130px;
  overflow-y: auto;
  padding-right: 2px;
}

.checklist-item-row {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.25);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.checklist-item-row input[type="checkbox"] { accent-color: var(--color-accent); width: 13px; height: 13px; }
.checklist-item-text { flex: 1; font-size: 0.76rem; color: var(--text-primary); }
.checklist-item-text.done { text-decoration: line-through; color: var(--text-muted); }
.btn-remove-check-item {
  width: 20px;
  height: 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-remove-check-item:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}
.checklist-add-row { display: flex; gap: 6px; margin-top: 2px; }
.checklist-add-row input { flex: 1; }

/* Central de Anexos & Arquivos de Produção no Modal */
.media-dropzone {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 12px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
}

.media-dropzone:hover, .media-dropzone.drag-over {
  border-color: var(--color-accent);
  background: rgba(234, 179, 8, 0.08);
}

.media-dropzone-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-dropzone-icon {
  font-size: 1.2rem;
  opacity: 0.85;
}

.media-dropzone-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.media-dropzone-texts strong {
  font-size: 0.74rem;
  color: var(--text-primary);
}

.media-dropzone-texts small {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.modal-attachments-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 7px;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 2px;
}

.attachment-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  transition: var(--transition);
}

.attachment-item-row:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.45);
}

.attachment-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.attachment-thumb-img {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.attachment-icon-badge {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.attachment-info-texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.attachment-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-meta-line {
  font-size: 0.64rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

.attachment-item-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.btn-att-action {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn-att-action:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.btn-att-action.btn-att-cover.active {
  background: rgba(234, 179, 8, 0.15);
  border-color: var(--color-accent);
  color: var(--color-accent);
  font-weight: 700;
}

.btn-att-action.btn-att-delete:hover {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.12);
}

/* Capa Visual no Topo do Card */
.card-cover-container {
  width: calc(100% + 24px);
  margin: -10px -12px 6px -12px;
  height: 85px;
  border-radius: 9px 9px 0 0;
  overflow: hidden;
  background: #08090d;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-cover-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-att-badge {
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Modal de Pré-visualização de Mídia */
.modal-media-preview {
  max-width: 680px;
  width: 95%;
}

.media-preview-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #06070a;
  min-height: 200px;
  max-height: 70vh;
  overflow: auto;
}

.media-preview-body img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.media-preview-body video {
  max-width: 100%;
  max-height: 60vh;
  border-radius: var(--radius-sm);
  outline: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

input[type="text"], input[type="url"], input[type="date"], select, textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 7px 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.78rem;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

input[type="text"]:focus, input[type="url"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-glow);
  background: #11141c;
}

textarea { resize: vertical; min-height: 55px; }

.modal-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
  flex-shrink: 0;
}

.modal-footer-right { display: flex; gap: 8px; margin-left: auto; }

/* --------------------------------------------------------------------------
   MODAL DO MANUAL DO USUÁRIO
   -------------------------------------------------------------------------- */
.manual-modal-body {
  padding: 16px 22px;
  overflow-y: auto;
  max-height: calc(85vh - 120px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manual-tabs-nav {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 7px;
  overflow-x: auto;
}

.manual-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.manual-tab-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.manual-tab-btn.active {
  background: #1f2533;
  color: var(--color-accent);
}

.manual-tab-content { display: none; flex-direction: column; gap: 10px; animation: fadeIn 0.15s ease-out; }
.manual-tab-content.active { display: flex; }

.manual-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 5px;
}

.manual-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
}

.manual-role-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.manual-role-card.daniel { border-left: 3px solid var(--color-daniel); }
.manual-role-card.smoke { border-left: 3px solid var(--color-smoke); }
.manual-role-card.triplo_g { border-left: 3px solid var(--color-triplog); }
.manual-role-card.livingston { border-left: 3px solid var(--color-livingston); }
.manual-role-card.will { border-left: 3px solid var(--color-will); }

.role-pill { font-size: 0.7rem; font-weight: 700; }
.manual-role-card h4 { font-size: 0.8rem; color: #fff; }
.manual-role-card p { font-size: 0.74rem; color: var(--text-secondary); line-height: 1.35; }

.manual-steps-list, .manual-tips-list {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.manual-steps-list strong, .manual-tips-list strong { color: #fff; }
.manual-footer-note { font-size: 0.68rem; color: var(--text-muted); }
.manual-footer-note code { background: rgba(255, 255, 255, 0.08); padding: 1px 4px; border-radius: 3px; color: var(--text-primary); }

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2000;
}

.toast {
  background: #181c26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 7px;
  animation: slideInRight 0.2s ease-out;
}

.toast.toast-success { border-color: var(--color-success); }
.toast.toast-danger { border-color: var(--color-danger); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(25px); } to { opacity: 1; transform: translateX(0); } }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ==========================================================================
   REPRODUTOR DE ÁUDIO DE ESTÚDIO (SMOKE & AUDIO WORKFLOW)
   ========================================================================== */

/* 1. Uploader & Player no Modal */
.audio-uploader-wrapper {
  margin-top: 10px;
  width: 100%;
}

.audio-dropzone {
  border: 1px dashed rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.04);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.audio-dropzone:hover {
  background: rgba(245, 158, 11, 0.09);
  border-color: var(--color-smoke);
  transform: translateY(-1px);
}

.dropzone-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.dropzone-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropzone-texts strong {
  font-size: 0.78rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.audio-format-tag {
  background: var(--color-smoke-bg);
  color: var(--color-smoke);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  padding: 1px 5px;
  border-radius: var(--radius-xs);
}

.dropzone-texts span {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.modal-audio-player {
  background: #11141f;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.modal-player-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.player-equalizer-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.player-meta-texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.modal-audio-name {
  font-size: 0.78rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.modal-audio-size {
  font-size: 0.66rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.btn-remove-audio {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-remove-audio:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
  border-color: var(--color-danger);
}

.modal-player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-studio-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-smoke);
  color: #090a0e;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

.btn-studio-play:hover {
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
}

.player-timeline-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.timeline-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
}

.audio-seek-slider, .global-seek-slider {
  width: 100%;
  height: 5px;
  accent-color: var(--color-smoke);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}

.player-vol-block {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.vol-btn {
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition);
}

.vol-btn:hover { opacity: 1; }

.audio-vol-slider, .global-vol-slider {
  width: 55px;
  height: 4px;
  accent-color: var(--color-smoke);
  cursor: pointer;
}

/* 2. Mini Player no Cartão do Quadro Kanban (Estilo Studio Splice / Frame.io) */
.card-audio-mini-player {
  margin: 2px 0;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: default;
}

.card-audio-mini-player:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--color-smoke);
}

.card-audio-mini-player.is-playing {
  background: rgba(245, 158, 11, 0.16);
  border-color: var(--color-smoke);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.btn-mini-play {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--color-smoke);
  color: #090a0e;
  border: none;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.btn-mini-play:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.mini-player-track-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-player-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.mini-eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
  flex-shrink: 0;
}

.mini-eq-bars span {
  width: 2px;
  height: 3px;
  background: var(--color-smoke);
  border-radius: 1px;
}

.card-audio-mini-player.is-playing .mini-eq-bars span:nth-child(1) { animation: waveBarAnim 0.7s infinite alternate ease-in-out; }
.card-audio-mini-player.is-playing .mini-eq-bars span:nth-child(2) { animation: waveBarAnim 0.9s infinite alternate ease-in-out 0.2s; }
.card-audio-mini-player.is-playing .mini-eq-bars span:nth-child(3) { animation: waveBarAnim 0.6s infinite alternate ease-in-out 0.4s; }

.mini-player-filename {
  font-size: 0.82rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-bar-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.mini-player-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--color-smoke);
  transition: width 0.1s linear;
}

.mini-player-time {
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  font-weight: 600;
  flex-shrink: 0;
}

/* 3. Barra Global de Áudio no Rodapé (Studio Audio Bar) */
.global-studio-player-bar {
  flex-shrink: 0;
  height: 56px;
  background: #0b0e17;
  border-top: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1200;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.global-player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 260px;
  min-width: 0;
}

.global-eq-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
  width: 18px;
  flex-shrink: 0;
}

.wave-bar {
  width: 3px;
  height: 5px;
  background: var(--color-smoke);
  border-radius: 1px;
  transition: height 0.15s ease;
}

.global-eq-waves.playing .wave-bar:nth-child(1) { animation: waveBarAnim 0.7s infinite alternate ease-in-out; }
.global-eq-waves.playing .wave-bar:nth-child(2) { animation: waveBarAnim 0.9s infinite alternate ease-in-out 0.2s; }
.global-eq-waves.playing .wave-bar:nth-child(3) { animation: waveBarAnim 0.6s infinite alternate ease-in-out 0.4s; }
.global-eq-waves.playing .wave-bar:nth-child(4) { animation: waveBarAnim 0.8s infinite alternate ease-in-out 0.1s; }

@keyframes waveBarAnim {
  0% { height: 4px; }
  50% { height: 16px; }
  100% { height: 6px; }
}

.global-track-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.global-track-title {
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.global-track-subtitle {
  font-size: 0.66rem;
  color: var(--color-smoke);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.global-player-center {
  flex: 1;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.global-player-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-player-skip {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-player-skip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-global-play-main {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-smoke);
  color: #090a0e;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  transition: var(--transition);
}

.btn-global-play-main:hover {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.65);
}

.global-player-timeline {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-time-label {
  font-size: 0.66rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  flex-shrink: 0;
  width: 32px;
}

.global-player-right {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 220px;
  justify-content: flex-end;
}

.global-volume-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.global-vol-icon {
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0.8;
}

.global-vol-slider {
  width: 65px;
  height: 4px;
  accent-color: var(--color-smoke);
  cursor: pointer;
}

.btn-close-global-player {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-close-global-player:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
  transform: scale(1.08);
}

/* ==========================================================================
   TELA DE ENTRADA & SELEÇÃO DE OPERADOR DA BANCA ("QUEM ESTÁ NO CORRE?")
   Padrão Visual: Modern Studio Product Design / Design Thinking
   ========================================================================== */

.login-screen-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: #06080d;
  background-image: 
    radial-gradient(ellipse 70% 50% at 50% 18%, rgba(234, 179, 8, 0.08) 0%, transparent 70%),
    radial-gradient(circle at 15% 75%, rgba(168, 85, 247, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(244, 63, 94, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(6, 182, 212, 0.07) 0%, transparent 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.login-screen-overlay.fading-out {
  opacity: 0;
  pointer-events: none;
}

.login-screen-container {
  max-width: 410px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: loginModalEntrance 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-trello-container {
  max-width: 410px;
  width: 100%;
}

.login-trello-card {
  width: 100%;
  background: rgba(13, 17, 24, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 34px 28px 24px 28px;
  box-shadow: 
    0 24px 50px -12px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
}

.login-minimal-card .login-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin-bottom: 2px;
}

.login-minimal-card .login-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin: 0;
  display: block;
}

.login-minimal-card .login-minimal-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.1px;
}

/* ==========================================================================
   AUTENTICAÇÃO MINIMALISTA: ABAS, GOOGLE & FORMULÁRIOS
   ========================================================================== */

.login-nav-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
  width: 100%;
  box-sizing: border-box;
}

.login-nav-tab {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: center;
}

.login-nav-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.login-nav-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  border: none;
}

.google-auth-wrapper {
  width: 100%;
}

.btn-google-auth {
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-google-auth:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: #020617;
}

.btn-google-auth:active {
  transform: translateY(0);
}

.google-svg-icon {
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: -3px 0;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-divider-text {
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.3px;
}

.login-select-input {
  width: 100%;
  height: 44px;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  padding: 0 12px;
  box-sizing: border-box;
  transition: all 0.18s ease;
  outline: none;
  cursor: pointer;
}

.login-select-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
  background: rgba(10, 15, 24, 0.9);
}

.login-select-input option {
  background: #0f172a;
  color: #f8fafc;
  padding: 8px;
}

.btn-register-submit {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25) !important;
}

.btn-register-submit:hover {
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38) !important;
}

.login-individual-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.login-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.login-field-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

.login-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.btn-forgot-pin-link {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
  font-family: inherit;
}

.btn-forgot-pin-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.login-input-wrapper {
  position: relative;
  width: 100% !important;
  display: block;
}

.login-input-wrapper input {
  width: 100% !important;
  height: 44px;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  padding: 0 14px;
  box-sizing: border-box;
  transition: all 0.18s ease;
  outline: none;
}

.login-input-wrapper input::placeholder {
  color: #475569;
  font-size: 0.86rem;
}

.login-input-wrapper input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
  background: rgba(10, 15, 24, 0.9);
}

.login-input-wrapper.login-password-wrapper input {
  padding-right: 42px;
}

.btn-toggle-pin-visibility {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}

.btn-toggle-pin-visibility:hover {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: -2px;
}

.login-remember-me {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}

.login-remember-me:hover {
  color: #e2e8f0;
}

.login-remember-me input[type="checkbox"] {
  accent-color: #0284c7;
  width: 15px;
  height: 15px;
  cursor: pointer;
  border-radius: 4px;
}

.btn-login-submit {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  margin-top: 2px;
}

.btn-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
  filter: brightness(1.05);
}

.btn-login-submit:active {
  transform: translateY(0);
}

.btn-login-icon {
  transition: transform 0.18s ease;
}

.btn-login-submit:hover .btn-login-icon {
  transform: translateX(2px);
}

.login-footer-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin-top: 2px;
}

.hint-dot {
  opacity: 0.5;
}

@keyframes loginModalEntrance {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(18px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* Cabeçalho da Marca & Badge de Status */
.login-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.login-title {
  font-family: 'Syne', sans-serif;
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: #ffffff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.login-title span {
  color: var(--color-accent);
  margin-left: 2px;
}

.login-subtitle-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 1.8px;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.badge-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: badgeStatusPulse 2s infinite ease-in-out;
}

@keyframes badgeStatusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.login-question {
  font-size: 1.15rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-top: 2px;
  letter-spacing: -0.2px;
}

/* Grade dos 5 Integrantes (Simetria de Produto de Alta Precisão) */
.login-members-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 16px;
  width: 100%;
}

/* Card Individual em Frosted Glass */
.login-card-member {
  background: rgba(16, 21, 32, 0.68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

/* Linha sutil de energia no topo de cada card */
.login-card-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.75;
  transition: opacity 0.25s ease, height 0.25s ease;
}

.login-card-member.daniel::before { background: linear-gradient(90deg, transparent, var(--color-daniel), transparent); }
.login-card-member.smoke::before { background: linear-gradient(90deg, transparent, var(--color-smoke), transparent); }
.login-card-member.triplo_g::before { background: linear-gradient(90deg, transparent, var(--color-triplog), transparent); }
.login-card-member.livingston::before { background: linear-gradient(90deg, transparent, var(--color-livingston), transparent); }
.login-card-member.will::before { background: linear-gradient(90deg, transparent, var(--color-will), transparent); }

/* Hover com elevação fluida e halos de neon de estúdio */
.login-card-member:hover {
  transform: translateY(-7px);
  background: rgba(22, 29, 44, 0.88);
}

.login-card-member:hover::before {
  opacity: 1;
  height: 4px;
}

.login-card-member.daniel:hover {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(168, 85, 247, 0.24);
}

.login-card-member.smoke:hover {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.24);
}

.login-card-member.triplo_g:hover {
  border-color: rgba(244, 63, 94, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(244, 63, 94, 0.24);
}

.login-card-member.livingston:hover {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(6, 182, 212, 0.24);
}

.login-card-member.will:hover {
  border-color: rgba(132, 204, 22, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(132, 204, 22, 0.24);
}

/* Anel de Avatar do Operador */
.login-avatar-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: 2px solid transparent;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.login-card-member:hover .login-avatar-ring {
  transform: scale(1.08);
}

.login-avatar-ring.daniel {
  background: var(--color-daniel-bg);
  color: var(--color-daniel);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.25);
}

.login-avatar-ring.smoke {
  background: var(--color-smoke-bg);
  color: var(--color-smoke);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.login-avatar-ring.triplo_g {
  background: var(--color-triplog-bg);
  color: var(--color-triplog);
  border-color: rgba(244, 63, 94, 0.5);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.25);
}

.login-avatar-ring.livingston {
  background: var(--color-livingston-bg);
  color: var(--color-livingston);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}

.login-avatar-ring.will {
  background: var(--color-will-bg);
  color: var(--color-will);
  border-color: rgba(132, 204, 22, 0.5);
  box-shadow: 0 0 16px rgba(132, 204, 22, 0.25);
}

/* Informações do Membro */
.login-member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
}

/* Tag de Especialidade / Craft Badge */
.login-member-craft-tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  margin-bottom: 2px;
  white-space: nowrap;
}

.login-member-craft-tag.daniel {
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.28);
}

.login-member-craft-tag.smoke {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.28);
}

.login-member-craft-tag.triplo_g {
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.28);
}

.login-member-craft-tag.livingston {
  background: rgba(6, 182, 212, 0.12);
  color: #67e8f9;
  border-color: rgba(6, 182, 212, 0.28);
}

.login-member-craft-tag.will {
  background: rgba(132, 204, 22, 0.12);
  color: #bef264;
  border-color: rgba(132, 204, 22, 0.28);
}

.login-member-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.login-member-role {
  font-size: 0.73rem;
  color: #94a3b8;
  line-height: 1.35;
  min-height: 30px;
}

/* Micro-Botão de Ação Moderno ("Assumir Bancada") */
.login-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.22s ease;
  width: 100%;
  box-sizing: border-box;
}

.login-card-action-icon {
  transition: transform 0.22s ease;
  stroke: currentColor;
}

.login-card-member:hover .login-card-action {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.login-card-member.daniel:hover .login-card-action {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.45);
  color: #f3e8ff;
}

.login-card-member.smoke:hover .login-card-action {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fef3c7;
}

.login-card-member.triplo_g:hover .login-card-action {
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(244, 63, 94, 0.45);
  color: #ffe4e6;
}

.login-card-member.livingston:hover .login-card-action {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.45);
  color: #cffafe;
}

.login-card-member.will:hover .login-card-action {
  background: rgba(132, 204, 22, 0.18);
  border-color: rgba(132, 204, 22, 0.45);
  color: #ecfccb;
}

.login-card-member:hover .login-card-action-icon {
  transform: translateX(3px);
}

/* Rodapé / Modo Geral Refinado */
.login-footer {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-login-general {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: var(--radius-pill);
  padding: 11px 24px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-login-general:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-login-general .general-mode-icon {
  opacity: 0.8;
  transition: transform 0.22s ease;
}

.btn-login-general:hover .general-mode-icon {
  opacity: 1;
  transform: rotate(15deg);
}

/* Responsividade Adaptativa da Tela de Login */
@media (max-width: 1024px) {
  .login-members-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .login-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .login-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 480px) {
  .login-members-grid {
    grid-template-columns: 1fr;
  }
  .login-screen-container {
    gap: 22px;
    padding: 10px;
  }
}

/* ==========================================================================
   LOGOTIPO OFICIAL DA PRODUTORA (CABEÇALHO E LOGIN)
   ========================================================================== */

.login-brand-logo-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.login-brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.login-brand-logo-placeholder {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--color-accent);
  letter-spacing: -1px;
}

/* ==========================================================================
   BLOCO DE AUTENTICAÇÃO POR PIN INDIVIDUAL (ESTILO TRELLO)
   ========================================================================== */

.login-pin-container {
  background: rgba(18, 22, 32, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
  animation: pinModalSlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pinModalSlideIn {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.login-pin-avatar-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  border: 2px solid transparent;
}

.login-pin-avatar-ring.daniel { background: var(--color-daniel-bg); color: var(--color-daniel); border-color: rgba(168, 85, 247, 0.5); }
.login-pin-avatar-ring.smoke { background: var(--color-smoke-bg); color: var(--color-smoke); border-color: rgba(245, 158, 11, 0.5); }
.login-pin-avatar-ring.triplo_g { background: var(--color-triplog-bg); color: var(--color-triplog); border-color: rgba(244, 63, 94, 0.5); }
.login-pin-avatar-ring.livingston { background: var(--color-livingston-bg); color: var(--color-livingston); border-color: rgba(6, 182, 212, 0.5); }
.login-pin-avatar-ring.will { background: var(--color-will-bg); color: var(--color-will); border-color: rgba(132, 204, 22, 0.5); }

/* Barra de Upload e Troca de Foto de Perfil na Tela de PIN */
.pin-avatar-upload-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -4px;
  margin-bottom: 4px;
}

.btn-avatar-action {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}

.btn-avatar-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.btn-avatar-action.btn-avatar-remove {
  color: #f87171;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.22);
}

.btn-avatar-action.btn-avatar-remove:hover {
  background: rgba(239, 68, 68, 0.22);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.45);
}

/* Fotos de Perfil Recortadas em Círculo nos Componentes */
.login-avatar-ring img,
.login-pin-avatar-ring img,
.operator-avatar img,
.member-filter-avatar img,
.member-badge-avatar img,
.card-member-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.operator-avatar {
  overflow: hidden;
}

.member-filter-avatar {
  overflow: hidden;
  padding: 0 !important;
}

.card-member-badge {
  overflow: hidden;
}

.member-badge-avatar {
  overflow: hidden;
}

/* Badge de Projeto Protegido (Modo Somente Leitura) no Kanban */
.card-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 1px 7px;
  letter-spacing: 0.2px;
}

.card.card-locked-drag {
  cursor: pointer;
}

.card.card-locked-drag:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.login-pin-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.login-pin-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -6px;
}

.pin-input-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.pin-input-wrapper input {
  width: 190px;
  height: 50px;
  background: #090b10;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  letter-spacing: 12px;
  text-align: center;
  outline: none;
  transition: var(--transition);
}

.pin-input-wrapper input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
  background: #11141c;
}

.pin-input-wrapper input.pin-shake {
  animation: pinErrorShake 0.4s ease-in-out;
  border-color: var(--color-danger) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

@keyframes pinErrorShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.pin-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.pin-actions .btn {
  flex: 1;
}

.pin-default-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.pin-default-hint strong {
  color: var(--text-muted);
}

/* ==========================================================================
   TARJA DE PERMISSÃO / SOMENTE LEITURA (ESTILO TRELLO)
   ========================================================================== */

.modal-readonly-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 12px 20px 0 20px;
  color: #fef08a;
  font-size: 0.78rem;
  line-height: 1.4;
}

.readonly-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.modal-form.read-only input:disabled,
.modal-form.read-only select:disabled,
.modal-form.read-only textarea:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}

/* Destaque sutil para cartões sob minha responsabilidade */
.kanban-card.assigned-to-me {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.kanban-card.assigned-to-me::after {
  content: '★ Meu Corre';
  position: absolute;
  top: 6px;
  right: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.25);
  padding: 1px 5px;
  border-radius: var(--radius-xs);
  pointer-events: none;
}

.kanban-card.card-locked-drag {
  cursor: default;
}

/* ==========================================================================
   SISTEMA DE RECUPERAÇÃO DE PIN & SEGURANÇA (FORÇA BRUTA & RECOVERY)
   ========================================================================== */

.pin-sub-actions {
  display: flex;
  justify-content: center;
  margin-top: -4px;
}

.btn-forgot-pin {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-forgot-pin:hover {
  color: var(--color-accent);
}

.pin-lockout-notice {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 0.74rem;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.4;
  animation: pinErrorShake 0.4s ease-in-out;
}

.pin-lockout-notice strong,
.pin-lockout-notice span {
  font-weight: 700;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
}

.login-recovery-container {
  max-width: 400px;
}

.recovery-icon-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.1);
  border: 2px solid rgba(234, 179, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.recovery-fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.recovery-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recovery-field-group label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.recovery-field-group input {
  width: 100%;
  height: 42px;
  background: #090b10;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 8px 12px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.recovery-field-group input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.recovery-field-group input#recovery-new-pin {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  letter-spacing: 8px;
  text-align: center;
}

/* ==========================================================================
   ALERTAS E INDICADORES DE PRAZO (GAVETA DA EQUIPE)
   ========================================================================== */
.stat-pill.highlight-red {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
}

.stat-pill.highlight-red .stat-num {
  color: #ef4444;
}

/* ==========================================================================
   CALCULADORA DE BPM / TAP TEMPO DE ESTÚDIO
   ========================================================================== */
.modal-tap-tempo-card {
  max-width: 440px;
  text-align: center;
}

.tap-tempo-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tap-tempo-instructions {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.tap-tempo-instructions kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--color-smoke);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tap-pad-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.tap-pad-btn {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #242b3d 0%, #10141f 100%);
  border: 3px solid rgba(245, 158, 11, 0.4);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15), inset 0 0 15px rgba(0, 0, 0, 0.6);
  user-select: none;
  outline: none;
  transition: transform 0.08s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tap-pad-btn:active,
.tap-pad-btn.tapped {
  transform: scale(0.94);
  border-color: var(--color-smoke);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.5), inset 0 0 25px rgba(245, 158, 11, 0.3);
}

.tap-pad-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-smoke);
  opacity: 0;
  pointer-events: none;
}

.tap-pad-pulse.pulse-anim {
  animation: tapPulseWave 0.35s cubic-bezier(0.1, 0.8, 0.2, 1);
}

@keyframes tapPulseWave {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

.tap-pad-label {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
}

.tap-pad-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-smoke);
}

.tap-tempo-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tap-bpm-display-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tap-bpm-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-smoke);
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  line-height: 1;
}

.tap-bpm-unit {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.tap-tempo-meta {
  font-size: 0.76rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

.tap-tempo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-field-tap {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-smoke);
  border-radius: var(--radius-xs);
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-field-tap:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--color-smoke);
  transform: translateY(-1px);
}

.spec-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ==========================================================================
   FICHA TÉCNICA DE PRODUÇÃO (IMPRESSÃO / PDF)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Oculta tudo na tela */
  .studio-header,
  .team-progress-drawer,
  .board-wrapper,
  .table-wrapper,
  .modal-overlay,
  .global-studio-player-bar,
  .toast-container,
  .active-operator-badge,
  .login-screen-overlay {
    display: none !important;
  }

  /* Exibe somente o container da Ficha Técnica */
  .printable-tech-sheet {
    display: block !important;
    position: static !important;
    width: 100% !important;
    padding: 24px !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-sizing: border-box !important;
  }

  .print-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #111827;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }

  .print-sheet-brand h1 {
    font-size: 20pt;
    font-weight: 800;
    margin: 0;
    letter-spacing: 1px;
    color: #111827;
  }

  .print-sheet-brand span {
    font-size: 9pt;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
  }

  .print-sheet-meta {
    text-align: right;
    font-size: 8.5pt;
    color: #4b5563;
    line-height: 1.4;
  }

  .print-sheet-title-box {
    background: #f3f4f6;
    border-left: 5px solid #111827;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
  }

  .print-sheet-title-box h2 {
    margin: 0 0 6px 0;
    font-size: 16pt;
    font-weight: 700;
    color: #111827;
  }

  .print-sheet-badges {
    display: flex;
    gap: 8px;
    font-size: 8.5pt;
    font-weight: 600;
  }

  .print-badge {
    border: 1px solid #9ca3af;
    padding: 2px 8px;
    border-radius: 3px;
    background: #ffffff;
    color: #111827;
  }

  .print-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }

  .print-section-box {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 12px;
    background: #fafafa;
  }

  .print-section-box h3 {
    margin: 0 0 10px 0;
    font-size: 10pt;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 4px;
    color: #1f2937;
  }

  .print-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 9pt;
    border-bottom: 1px dashed #e5e7eb;
  }

  .print-checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 9pt;
    color: #1f2937;
  }

  .print-checkbox {
    width: 14px;
    height: 14px;
    border: 1.5px solid #111827;
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .print-checkbox.checked {
    background: #111827;
  }

  .print-notes-box {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 20px;
    background: #fafafa;
    min-height: 70px;
    font-size: 9pt;
    line-height: 1.5;
    color: #374151;
  }

  .print-footer {
    border-top: 1px solid #d1d5db;
    padding-top: 10px;
    font-size: 8pt;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
  }
}

/* ==========================================================================
   FOTOS DE PERFIL DOS INTEGRANTES & TRAVA DE LEITURA (DESIGN SYSTEM)
   ========================================================================== */

/* Fotos Circulares de Alta Definição */
.login-avatar-photo,
.pin-avatar-photo,
.operator-avatar-photo,
.drawer-avatar-photo,
.card-avatar-photo,
.filter-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.login-avatar-ring.has-photo,
.login-pin-avatar-ring.has-photo {
  padding: 0;
  overflow: hidden;
}

/* Barra de Ação de Foto na Tela de PIN */
.pin-avatar-upload-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -4px;
  margin-bottom: 2px;
}

.btn-avatar-action {
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-avatar-action:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.btn-avatar-remove {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.28);
  color: #fca5a5;
}

.btn-avatar-remove:hover {
  background: rgba(239, 68, 68, 0.24);
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.45);
}

/* Avatar com foto no Badge do Cabeçalho */
.operator-avatar.has-photo {
  padding: 0;
  overflow: hidden;
  background: transparent !important;
}

/* Avatar com foto no Card do Kanban */
.card-member-badge.has-photo {
  padding: 0;
  overflow: hidden;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Avatar com foto na Gaveta da Equipe */
.member-badge-avatar.has-photo {
  padding: 0;
  overflow: hidden;
  background: transparent !important;
}

/* Avatar com foto no Filtro Rápido do Cabeçalho */
.member-filter-avatar.has-photo {
  padding: 0;
  overflow: hidden;
  background: transparent !important;
}

/* Trava Visual de Somente Leitura nos Cards do Quadro */
.readonly-card-pill,
.card-lock-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-card.card-locked-drag {
  cursor: pointer;
}

.project-card.card-locked-drag:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Ícone de Console de Estúdio no Cabeçalho */
.header-console-icon {
  color: var(--color-accent);
  display: block;
}

/* ==========================================================================
   LINHA DO TEMPO & RECADOS DA BANCA (DESIGN SYSTEM DE ESTÚDIO)
   ========================================================================== */

.timeline-section-block {
  background: rgba(18, 20, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 12px;
}

.timeline-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.project-timeline-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px 4px;
  margin-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.project-timeline-feed::-webkit-scrollbar {
  width: 5px;
}

.project-timeline-feed::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}

.timeline-empty-feed {
  padding: 16px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.timeline-comment-item {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius-sm);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  transition: background 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.timeline-comment-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Cores Neon específicas por integrante no feed */
.timeline-comment-item.daniel {
  border-left-color: var(--color-daniel);
}
.timeline-comment-item.smoke {
  border-left-color: var(--color-smoke);
}
.timeline-comment-item.triplo_g {
  border-left-color: var(--color-triplo-g);
}
.timeline-comment-item.livingston {
  border-left-color: var(--color-livingston);
}
.timeline-comment-item.will {
  border-left-color: var(--color-will);
}
.timeline-comment-item.general {
  border-left-color: var(--color-accent);
}

.timeline-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.timeline-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.timeline-comment-avatar.daniel { background: var(--color-daniel); color: #fff; }
.timeline-comment-avatar.smoke { background: var(--color-smoke); color: #000; }
.timeline-comment-avatar.triplo_g { background: var(--color-triplo-g); color: #fff; }
.timeline-comment-avatar.livingston { background: var(--color-livingston); color: #000; }
.timeline-comment-avatar.will { background: var(--color-will); color: #000; }
.timeline-comment-avatar.general { background: var(--color-accent); color: #000; }

.timeline-comment-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.timeline-comment-author-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-author-craft-tag {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.timeline-comment-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-comment-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.btn-delete-comment {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.timeline-comment-item:hover .btn-delete-comment {
  opacity: 1;
}

.btn-delete-comment:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}

.timeline-comment-text {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #e2e8f0;
  word-break: break-word;
}

/* Barra de Inserção de Novo Recado */
.timeline-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  transition: border-color 0.18s ease;
}

.timeline-input-bar:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.timeline-author-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.author-mini-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.58rem;
  color: #fff;
  overflow: hidden;
}

.author-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-mini-avatar.daniel { background: var(--color-daniel); color: #fff; }
.author-mini-avatar.smoke { background: var(--color-smoke); color: #000; }
.author-mini-avatar.triplo_g { background: var(--color-triplo-g); color: #fff; }
.author-mini-avatar.livingston { background: var(--color-livingston); color: #000; }
.author-mini-avatar.will { background: var(--color-will); color: #000; }
.author-mini-avatar.general { background: var(--color-accent); color: #000; }

.author-mini-name {
  font-size: 0.70rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.timeline-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  padding: 4px 6px;
}

.timeline-input-bar input::placeholder {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.btn-send-comment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-send-comment:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* Selo de Comentários / Recados nos Cards do Kanban */
.card-comments-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #c7d2fe;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   MODAL: NOTIFICAÇÕES DO TELEGRAM (INTEGRAÇÃO 100% GRATUITA)
   ========================================================================== */

.modal-telegram-card {
  max-width: 580px;
  width: 95%;
  background: #14171f;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.1);
  border-radius: var(--radius-lg);
}

.telegram-modal-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.telegram-guide-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.telegram-guide-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.telegram-steps-list {
  margin: 0;
  padding-left: 20px;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.telegram-steps-list code {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}

.telegram-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.telegram-switches-group {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.telegram-switch-row {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.switch-control {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: 0.25s;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  transition: 0.25s;
  border-radius: 50%;
}

.switch-control input:checked + .switch-slider {
  background-color: #0284c7;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.switch-control input:checked + .switch-slider:before {
  transform: translateX(20px);
}

.switch-label-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.switch-label-group strong {
  font-size: 0.88rem;
  color: #f1f5f9;
}

.switch-label-group span {
  font-size: 0.74rem;
  color: #64748b;
}

.telegram-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   WIDGET: CONTROLE DINÂMICO DE ESPAÇAMENTO E LARGURA DAS COLUNAS
   ========================================================================== */

.column-spacing-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 21, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-md);
  margin-left: auto;
}

.spacing-widget-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.spacing-stepper {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-spacing-step {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-spacing-step:hover {
  background: var(--color-accent);
  color: #000000;
  box-shadow: 0 0 8px var(--color-accent-glow);
}

.spacing-widget-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-accent);
  min-width: 48px;
  text-align: center;
}

.spacing-preset-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-spacing-preset {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-spacing-preset:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-spacing-preset.active {
  background: rgba(234, 179, 8, 0.15);
  color: var(--color-accent);
  border-color: var(--color-accent);
  font-weight: 700;
}

/* Barra de rolagem suave e bonita do Kanban */
.board-wrapper::-webkit-scrollbar {
  height: 8px;
}

.board-wrapper::-webkit-scrollbar-track {
  background: rgba(10, 12, 18, 0.6);
  border-radius: 6px;
}

.board-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.board-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ==========================================================================
   SISTEMA DE AUTOCADASTRO DE INTEGRANTES & BANCADAS DINÂMICAS
   ========================================================================== */

/* Barra de ação na tela de login */

/* Botão de cadastro dentro da gaveta da equipe */
.btn-drawer-register {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm, 6px);
  margin-left: auto;
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.3);
  color: var(--color-accent, #eab308);
}

.btn-drawer-register:hover {
  background: var(--color-accent, #eab308);
  color: #000000;
  border-color: var(--color-accent, #eab308);
}

.team-drawer-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Paleta de seleção de cores do cadastro */
.reg-palette-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.reg-color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  outline: none;
}

.reg-color-dot:hover {
  transform: scale(1.18);
}

.reg-color-dot.active {
  border-color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.reg-color-dot.active::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Suporte a membros customizados nos cards de login */
.login-card-member.is-custom {
  border-color: rgba(255, 255, 255, 0.12);
}

.login-card-member.is-custom:hover {
  border-color: var(--member-custom-color, #06b6d4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px var(--member-custom-color-alpha, rgba(6, 182, 212, 0.2));
}

/* Chips dinâmicos no modal de projetos */
.chip-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.drawer-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


