/* ═══════════════════════════════════════════════════════════════════════════
   BUILDCODE STUDIO · PLATFORMA UNIFICATĂ DE PRODUCȚIE (LANSARE LUNI)
   Limbaj vizual unic: „Noaptea · Laboratorul” & „Foaia de calc Mylar”
   Fonturi: Instrument Serif · Barlow Condensed · Barlow · Martian Mono
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bc-bg: #04070A;
  --bc-bg-elev: #070E14;
  --bc-panel: rgba(9, 17, 25, 0.88);
  --bc-card: rgba(13, 24, 35, 0.92);
  --bc-card-hover: rgba(18, 33, 48, 0.96);
  --bc-line: rgba(127, 227, 255, 0.16);
  --bc-line-strong: rgba(127, 227, 255, 0.36);
  --bc-ink: #E7F6FD;
  --bc-muted: #8FB0BF;
  --bc-dim: #587584;
  --bc-cyan: #7FE3FF;
  --bc-amber: #FFB36B;
  --bc-green: #38D996;
  --bc-red: #FF6F66;
  --bc-f-display: "Instrument Serif", Georgia, serif;
  --bc-f-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --bc-f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --bc-f-mono: "Martian Mono", ui-monospace, Consolas, monospace;
}

/* Ascunde doar cromul dublat (antetul, bara de jos și vălul) din #labHost, păstrând
   scena 3D WebGL (#lxScene cu masa centrală, capsula și cele 3 brațe robotizate) + Cyborg-ul (#lxAn) VIZIBILE PE FUNDAL! */
html.bc-shell-active,
html.bc-shell-active body {
  overflow: hidden !important;
  width: 100vw !important;
  max-width: 100vw !important;
}
html.bc-shell-active #labHost .lx-id,
html.bc-shell-active #labHost .lx-bar,
html.bc-shell-active #labHost .lx-veil,
html.bc-shell-active > body > header.id,
html.bc-shell-active > body > .views,
html.bc-shell-active > body > .rail,
html.bc-shell-active > body > .card,
html.bc-shell-active > body > .secbox,
html.bc-shell-active > body > .cmd,
html.bc-shell-active > body > .road,
html.bc-shell-active > body > .console,
html.bc-shell-active > body > .loader {
  display: none !important;
}
/* Ascundem subtitrarea din stânga-jos a unui singur proiect când shell-ul unificat este activ */
html.bc-shell-active #labHost .an-cap {
  display: none !important;
}
/* Când suntem în modul multi-proiect (2+ proiecte), ascundem portretul 2D din dreapta deoarece Cyborg-ul Coordonator 3D
   stă în mijlocul birourilor din laborator și coordonează Cyborg-ii 3D mai mici de la fiecare stație */
html.bc-multi-cyborg #labHost .an-root,
html.bc-multi-cyborg #labHost .lx-an {
  display: none !important;
}

#bcUnifiedRoot {
  position: fixed;
  inset: 0;
  z-index: 45;
  color: var(--bc-ink);
  font-family: var(--bc-f-body);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}
#bcUnifiedRoot .bc-topbar,
#bcUnifiedRoot .bc-login-console,
#bcUnifiedRoot .bc-empty-card,
#bcUnifiedRoot .bc-santier-hud,
#bcUnifiedRoot .bc-santier-multi-dock,
#bcUnifiedRoot .bc-workspace,
#bcUnifiedRoot .bc-drawer-backdrop,
#bcUnifiedRoot .bc-3d-ingest-backdrop,
#bcUnifiedRoot .bc-v6-parallel-stage {
  pointer-events: auto;
}

#bcUnifiedRoot[hidden] {
  display: none !important;
}

/* Vechiul canvas 2D e oprit: pe fundal rulează Laboratorul 3D WebGL real (#labHost) */
#bcSantierCanvasWrap,
.bc-lab-grid-overlay {
  display: none !important;
}

/* ─── ECRANUL 1: AUTENTIFICARE @BUILDCODE.RO ─────────────────────────────── */
.bc-login-screen {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bc-login-console {
  width: min(880px, 95vw);
  background: linear-gradient(165deg, rgba(8, 16, 24, 0.92) 0%, rgba(4, 9, 14, 0.96) 100%);
  border: 1px solid var(--bc-line-strong);
  border-radius: 20px;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(127, 227, 255, 0.08),
    inset 0 1px 0 rgba(231, 246, 253, 0.12);
  backdrop-filter: blur(18px);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 820px) {
  .bc-login-console {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

.bc-eyebrow {
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bc-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bc-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bc-cyan);
  box-shadow: 0 0 10px var(--bc-cyan);
}

.bc-login-title {
  font-family: var(--bc-f-display);
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.04;
  margin: 10px 0 10px;
  color: var(--bc-ink);
}

.bc-login-title em {
  font-style: italic;
  color: var(--bc-amber);
}

.bc-login-sub {
  font-size: 14px;
  color: var(--bc-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.bc-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.bc-field-group label {
  font-family: var(--bc-f-label);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bc-muted);
}

.bc-input {
  background: rgba(4, 9, 14, 0.9);
  border: 1px solid var(--bc-line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--bc-ink);
  font-family: var(--bc-f-mono);
  font-size: 13px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.bc-input:focus {
  border-color: var(--bc-cyan);
  box-shadow: 0 0 0 3px rgba(127, 227, 255, 0.16);
}

.bc-btn-primary {
  background: linear-gradient(135deg, #7FE3FF 0%, #38BDF8 100%);
  color: #031017;
  border: 1px solid #BAE6FD;
  border-radius: 11px;
  padding: 12px 20px;
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 28px rgba(127, 227, 255, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}

.bc-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 38px rgba(127, 227, 255, 0.48);
}

.bc-btn-amber {
  background: linear-gradient(135deg, #FFB36B 0%, #F59E0B 100%);
  color: #1A0E02;
  border: 1px solid #FDE68A;
  border-radius: 11px;
  padding: 11px 18px;
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 24px rgba(255, 179, 107, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.bc-btn-amber:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(255, 179, 107, 0.45);
}

.bc-btn-ghost {
  background: rgba(12, 23, 34, 0.82);
  color: var(--bc-ink);
  border: 1px solid var(--bc-line-strong);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color 0.15s, background 0.15s;
}

.bc-btn-ghost:hover {
  border-color: var(--bc-cyan);
  background: rgba(18, 36, 52, 0.95);
}

.bc-team-cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bc-team-card {
  background: rgba(11, 21, 31, 0.88);
  border: 1px solid var(--bc-line);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s, background 0.16s, transform 0.14s;
}

.bc-team-card:hover {
  border-color: var(--bc-cyan);
  background: rgba(17, 33, 48, 0.96);
  transform: translateX(3px);
}

.bc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--bc-f-mono);
  font-weight: 600;
  font-size: 13px;
  color: #041018;
  flex: none;
}

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

.bc-team-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--bc-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bc-team-email {
  font-family: var(--bc-f-mono);
  font-size: 11px;
  color: var(--bc-cyan);
}

.bc-team-role {
  font-size: 12px;
  color: var(--bc-muted);
  margin-top: 2px;
}

/* ─── BARA SUPERIOARĂ UNIFICATĂ (TOPBAR) ────────────────────────────────── */
.bc-topbar {
  position: relative;
  z-index: 20;
  height: 58px;
  background: rgba(5, 10, 16, 0.94);
  border-bottom: 1px solid var(--bc-line);
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(14px);
}

.bc-topbar-left,
.bc-topbar-center,
.bc-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bc-ink);
  padding: 6px 11px;
  border-radius: 9px;
  background: rgba(127, 227, 255, 0.07);
  border: 1px solid var(--bc-line);
  cursor: pointer;
}

.bc-brand-pill:hover {
  border-color: var(--bc-cyan);
}

.bc-steps-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(9, 17, 26, 0.92);
  border: 1px solid var(--bc-line);
  border-radius: 999px;
  padding: 4px;
}

.bc-step-btn {
  border: 0;
  background: transparent;
  color: var(--bc-muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.16s;
  white-space: nowrap;
}

.bc-step-btn:hover {
  color: var(--bc-ink);
  background: rgba(127, 227, 255, 0.08);
}

.bc-step-btn.active {
  background: var(--bc-cyan);
  color: #031018;
  box-shadow: 0 0 18px rgba(127, 227, 255, 0.35);
}

.bc-step-btn .num {
  font-family: var(--bc-f-mono);
  font-size: 11px;
  opacity: 0.85;
}

/* SELECTOR GLOBAL: SITUAȚIE EXISTENTĂ vs. SITUAȚIE PROPUSĂ */
.bc-phase-selector {
  display: inline-flex;
  background: rgba(8, 15, 23, 0.95);
  border: 1px solid var(--bc-line-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

.bc-phase-btn {
  border: 0;
  background: transparent;
  color: var(--bc-muted);
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.16s;
  white-space: nowrap;
}

.bc-phase-btn.active[data-faza="EXISTENT"] {
  background: var(--bc-cyan);
  color: #031018;
  box-shadow: 0 0 16px rgba(127, 227, 255, 0.32);
}

.bc-phase-btn.active[data-faza="PROPUS"] {
  background: var(--bc-amber);
  color: #1D1002;
  box-shadow: 0 0 16px rgba(255, 179, 107, 0.36);
}

.bc-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(12, 22, 33, 0.9);
  border: 1px solid var(--bc-line);
  font-size: 12px;
}

/* ─── ECRANUL 2: LABORATORUL 3D ÎN STANDBY & ȘANTIERUL COMPLEX MULTI-PROIECT ─ */
.bc-santier-screen {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 26px;
  pointer-events: none;
}

.bc-santier-header,
.bc-santier-center,
.bc-santier-footer,
.bc-capsules-strip {
  pointer-events: auto;
}

.bc-santier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.bc-santier-hero-box {
  max-width: 680px;
  background: rgba(6, 13, 20, 0.84);
  border: 1px solid var(--bc-line);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(12px);
}

.bc-santier-hero-box h1 {
  font-family: var(--bc-f-display);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.05;
  margin: 6px 0 6px;
  color: var(--bc-ink);
}

.bc-santier-hero-box h1 em {
  color: var(--bc-cyan);
  font-style: italic;
}

.bc-santier-empty-cta {
  align-self: center;
  margin: auto;
  width: min(760px, 94vw);
  background: linear-gradient(165deg, rgba(7, 15, 23, 0.90) 0%, rgba(4, 9, 15, 0.95) 100%);
  border: 1px solid var(--bc-line-strong);
  border-radius: 22px;
  padding: 30px 34px;
  text-align: center;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(127, 227, 255, 0.10);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.bc-location-hero-btn {
  margin-top: 18px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 14px;
  border: 1.5px solid var(--bc-cyan);
  background: linear-gradient(135deg, rgba(127, 227, 255, 0.18) 0%, rgba(29, 127, 122, 0.26) 50%, rgba(255, 179, 107, 0.16) 100%);
  color: var(--bc-ink);
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 0 36px rgba(127, 227, 255, 0.22);
  transition: all 0.18s ease;
}

.bc-location-hero-btn:hover {
  background: linear-gradient(135deg, rgba(127, 227, 255, 0.30) 0%, rgba(29, 127, 122, 0.38) 50%, rgba(255, 179, 107, 0.26) 100%);
  box-shadow: 0 0 52px rgba(127, 227, 255, 0.42);
  transform: translateY(-2px);
}

/* Banda capsulelor din Șantierul Complex (1..5+ proiecte în paralel) */
.bc-capsules-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 12px;
  max-height: 42vh;
  overflow-y: auto;
  padding-right: 4px;
}

.bc-capsule-card {
  background: linear-gradient(165deg, rgba(9, 18, 28, 0.90) 0%, rgba(5, 11, 18, 0.95) 100%);
  border: 1px solid var(--bc-line-strong);
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
}

.bc-capsule-card:hover {
  transform: translateY(-3px);
  border-color: var(--bc-cyan);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 24px rgba(127, 227, 255, 0.22);
}

.bc-capsule-stage-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(127, 227, 255, 0.14);
  overflow: hidden;
}

.bc-capsule-stage-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bc-cyan) 0%, var(--bc-amber) 100%);
  transition: width 0.3s ease;
}

/* ─── MODALUL DE SELECTARE LOCAȚIE SCANĂRI & LOT 5 PROIECTE ───────────────── */
.bc-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(2, 5, 9, 0.84);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bc-drawer-box {
  width: min(1080px, 96vw);
  max-height: 90vh;
  background: #060D14;
  border: 1px solid var(--bc-line-strong);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.92);
}

.bc-drawer-hdr {
  padding: 16px 22px;
  border-bottom: 1px solid var(--bc-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(10, 20, 30, 0.95);
}

.bc-drawer-body {
  padding: 18px 22px;
  overflow-y: auto;
  flex: 1;
}

.bc-drawer-ftr {
  padding: 14px 22px;
  border-top: 1px solid var(--bc-line);
  background: rgba(5, 10, 16, 0.96);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bc-folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.bc-folder-item {
  background: rgba(11, 21, 31, 0.9);
  border: 1px solid var(--bc-line);
  border-radius: 11px;
  padding: 11px 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.bc-folder-item:hover {
  border-color: var(--bc-cyan);
}

.bc-folder-item.selected {
  border-color: var(--bc-amber);
  background: rgba(255, 179, 107, 0.10);
  box-shadow: inset 0 0 0 1px var(--bc-amber);
}

/* ─── ECRANUL 3: SPAȚIUL DE LUCRU ÎN 4 PAȘI UNIFICAȚI ────────────────────── */
.bc-workspace-screen {
  position: relative;
  z-index: 15;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #04070A;
  overflow: hidden;
}

/* PASUL 1: LABORATOR 3D + CAIET DOCS PRIETENOS (SPLIT VIEW) */
.bc-step1-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 44% 56%;
  height: calc(100vh - 58px);
  overflow: hidden;
}

@media (max-width: 1100px) {
  .bc-step1-layout {
    grid-template-columns: 1fr;
  }
}

.bc-step1-lab-pane {
  position: relative;
  border-right: 1px solid var(--bc-line);
  background: #04070A;
  display: flex;
  flex-direction: column;
}

.bc-step1-docs-pane {
  display: flex;
  flex-direction: column;
  background: #060B10;
  height: 100%;
  overflow: hidden;
}

.bc-docs-hdr {
  padding: 14px 18px;
  border-bottom: 1px solid var(--bc-line);
  background: rgba(9, 17, 26, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bc-docs-sec-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--bc-line);
  background: #05090E;
  overflow-x: auto;
}

.bc-docs-sec-pill {
  border: 1px solid var(--bc-line);
  background: rgba(11, 20, 30, 0.9);
  color: var(--bc-muted);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--bc-f-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.bc-docs-sec-pill.active {
  border-color: var(--bc-cyan);
  color: var(--bc-ink);
  background: rgba(127, 227, 255, 0.14);
}

.bc-docs-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 28px;
}

.bc-docs-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .bc-docs-cards-grid {
    grid-template-columns: 1fr;
  }
}

.bc-docs-field-card {
  background: rgba(11, 20, 30, 0.92);
  border: 1px solid var(--bc-line);
  border-radius: 11px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s;
}

.bc-docs-field-card.wide {
  grid-column: 1 / -1;
}

.bc-docs-field-card:focus-within {
  border-color: var(--bc-cyan);
  box-shadow: 0 0 0 2px rgba(127, 227, 255, 0.14);
}

.bc-docs-badge {
  font-family: var(--bc-f-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bc-docs-badge.ai {
  background: rgba(127, 227, 255, 0.12);
  color: var(--bc-cyan);
  border: 1px solid rgba(127, 227, 255, 0.3);
}

.bc-docs-badge.dali {
  background: rgba(255, 179, 107, 0.14);
  color: var(--bc-amber);
  border: 1px solid rgba(255, 179, 107, 0.35);
}

.bc-docs-badge.human {
  background: rgba(56, 217, 150, 0.14);
  color: var(--bc-green);
  border: 1px solid rgba(56, 217, 150, 0.35);
}

/* PASUL 2: CONFRUNTARE VIZUALĂ 1:1 & FILMUL CLĂDIRII (v6 DINAMIC) */
.bc-step2-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 58px);
  overflow: hidden;
  background: #04070A;
}

.bc-step2-subbar {
  padding: 10px 20px;
  background: rgba(8, 15, 23, 0.96);
  border-bottom: 1px solid var(--bc-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bc-step2-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 1100px) {
  .bc-step2-content {
    grid-template-columns: 1fr;
  }
}

.bc-mylar-stage {
  background: #E6E9E5;
  color: #14171A;
  border: 1px solid #C6CBC5;
  border-radius: 14px;
  padding: 14px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.bc-mylar-stage .stage-view {
  flex: 1;
  display: grid;
  place-items: center;
  background: #F3F5F2;
  border: 1px solid #C6CBC5;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  min-height: 460px;
}

.bc-mylar-stage .stage-view img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

/* Cortina înainte / după în Pasul 2 Actul III */
.bc-curtain-box {
  position: relative;
  width: 100%;
  height: 480px;
  background: #0B121A;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
}

.bc-curtain-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #F3F5F2;
}

.bc-curtain-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}

.bc-curtain-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--bc-amber);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.8);
  cursor: ew-resize;
  z-index: 5;
}

/* ─── NOTIFICARE 3D ANIMATĂ CU BRAȚE ROBOTIZATE CARE ANALIZEAZĂ NORII DE PUNCTE (înlocuiește alerta nativă Chrome) ─── */
.bc-3d-ingest-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(4, 14, 22, 0.72) 0%, rgba(2, 6, 10, 0.92) 100%);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bc-3d-ingest-backdrop[hidden] {
  display: none !important;
}
.bc-3d-ingest-card {
  width: min(860px, 95vw);
  background: linear-gradient(165deg, rgba(7, 17, 26, 0.96) 0%, rgba(3, 9, 15, 0.98) 100%);
  border: 1px solid rgba(127, 227, 255, 0.48);
  border-radius: 20px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.92), 0 0 70px rgba(127, 227, 255, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bc-3d-ingest-stage {
  position: relative;
  width: 100%;
  height: 300px;
  background: radial-gradient(ellipse 65% 55% at 50% 55%, rgba(22, 74, 104, 0.36) 0%, #02080d 80%);
  border-bottom: 1px solid rgba(127, 227, 255, 0.24);
}
.bc-3d-ingest-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.bc-3d-ingest-badge {
  position: absolute;
  top: 14px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(3, 12, 18, 0.85);
  border: 1px solid rgba(127, 227, 255, 0.45);
  color: var(--bc-cyan);
  font: 600 11px/1 var(--bc-f-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bc-3d-ingest-body {
  padding: 22px 28px 26px;
}
.bc-3d-ingest-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 14px 0 20px;
  max-height: 165px;
  overflow-y: auto;
}
.bc-3d-ingest-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(10, 24, 36, 0.82);
  border: 1px solid rgba(127, 227, 255, 0.25);
  font-size: 12px;
}
.bc-3d-ingest-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ─── SCENA PARALELĂ v6_WELCOME (ANIMAȚIA LUI CLAUDE DISPONIBILĂ PE TOATE PROIECTELE ÎN PARALEL) ─── */
.bc-v6-parallel-stage {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #02080c;
  display: flex;
  flex-direction: column;
}
.bc-v6-parallel-stage[hidden] {
  display: none !important;
}
.bc-v6-parallel-bar {
  min-height: 52px;
  padding: 8px 18px;
  background: rgba(4, 11, 17, 0.96);
  border-bottom: 1px solid rgba(127, 227, 255, 0.28);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bc-v6-proj-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
}
.bc-v6-proj-tab {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(127, 227, 255, 0.25);
  background: rgba(9, 20, 30, 0.78);
  color: var(--bc-muted);
  font: 600 11.5px/1 var(--bc-f-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bc-v6-proj-tab:hover {
  color: var(--bc-ink);
  border-color: rgba(127, 227, 255, 0.55);
}
.bc-v6-proj-tab.is-active {
  background: rgba(127, 227, 255, 0.16);
  border-color: var(--bc-cyan);
  color: #fff;
  box-shadow: 0 0 18px rgba(127, 227, 255, 0.28);
}
.bc-v6-iframe-wrap {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.bc-v6-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ─── DOCK MULTI-PROIECT ÎN LABORATORUL 3D CU CYBORG-UL CENTRAL ─── */
.bc-santier-multi-dock {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(4, 12, 19, 0.92);
  border: 1px solid rgba(127, 227, 255, 0.42);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 36px rgba(127, 227, 255, 0.14);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 94vw;
  flex-wrap: wrap;
}
.bc-santier-multi-dock[hidden] {
  display: none !important;
}
