/* ==========================================================================
   AXIOS OPSPLANNER // DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Obsidian Glass, Neon Accent Accents, Hyper-Legible Typography
   ========================================================================== */

html, :root {
  color-scheme: dark !important;
  --bg-main: #0b0f19;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(24, 33, 53, 0.95);
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-heavy: rgba(11, 15, 25, 0.92);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-light: rgba(255, 255, 255, 0.14);
  --border-focus: #8b5cf6;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --success: #10b981;
  --info: #3b82f6;
  --warning: #f59e0b;
  --danger: #ef4444;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(139, 92, 246, 0.25);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    linear-gradient(to bottom, #090d16, #0b0f19);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   HEADER & TOP NAVBAR
   ========================================================================== */

.app-header {
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}

.header-inner {
  max-width: 1680px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 16px var(--accent-purple-glow);
}

.brand-text h1 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border-radius: 4px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  text-transform: uppercase;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.nav-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
  color: #fff;
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.25);
  font-weight: 700;
}

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0f1423;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  min-width: 240px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-dropdown-menu.active {
  display: flex !important;
}

.nav-dropdown-menu .dropdown-item {
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  width: 100%;
}

.nav-dropdown-menu .dropdown-item:hover {
  background: rgba(139, 92, 246, 0.18);
  color: #fff;
}

.nav-tab-badge {
  background: var(--accent-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  line-height: 1.2;
}

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

.email-connection-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #34d399;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-clock-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.prod-integrity-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  gap: 16px;
}

.prod-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prod-banner-title {
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
}

.prod-banner-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.prod-banner-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ==========================================================================
   APP CONTAINER & LAYOUT
   ========================================================================== */

.app-main {
  flex: 1;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Header */
.section-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title-group h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
}

.section-title-group p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 2px;
}

.section-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stats Pill Bar */
.stats-pill-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-num {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

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

.stat-success .stat-num { color: #34d399; }
.stat-info .stat-num { color: #38bdf8; }
.stat-danger .stat-num { color: #f87171; }
.stat-warning .stat-num { color: #fbbf24; }
.stat-accent .stat-num { color: #c084fc; }

/* Filter & Search Bar */
.filter-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  background: rgba(17, 24, 39, 0.6);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  min-width: 260px;
}

.search-input-wrap i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  width: 16px;
  height: 16px;
}

.search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 7px 12px 7px 32px;
  border-radius: var(--radius-md);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--border-focus);
}

select,
.form-select,
.status-select,
.inline-select,
.stage-select-wrap select,
.sample-select-wrap select,
.status-dropdown-wrap select,
.meet-status-switch select {
  color-scheme: dark !important;
  background-color: #141a2e !important;
  border: 1px solid rgba(139, 92, 246, 0.6) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-md) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

select:focus,
.form-select:focus,
.status-select:focus,
.inline-select:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35) !important;
  background-color: #182038 !important;
}

option,
optgroup,
select option,
select optgroup,
.form-select option,
.status-select option,
.inline-select option {
  color-scheme: dark !important;
  background-color: #0b0f19 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

option:checked,
option:hover,
option:focus,
select option:checked,
select option:hover,
select option:focus {
  background-color: #7c3aed !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  color: #fff;
  box-shadow: 0 2px 10px var(--accent-purple-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #9061f9, #6d28d9);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-purple-glow);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan), #0891b2);
  color: #fff;
  box-shadow: 0 2px 10px var(--accent-cyan-glow);
}
.btn-cyan:hover {
  background: linear-gradient(135deg, #22d3ee, #0e7490);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color-light);
  color: var(--text-main);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.btn-xs {
  padding: 3px 8px;
  font-size: 11px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-info {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-accent {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-default {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.priority-critical {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.priority-high {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.priority-med {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}
.priority-low {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */

.card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: all var(--transition-fast);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-light);
}

/* Dashboard Overview Layout */
.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.kpi-body {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.kpi-val {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 2px 0;
}

.kpi-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.dash-sections-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 1100px) {
  .dash-sections-split {
    grid-template-columns: 1fr;
  }
}

.dash-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.dash-app-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.dash-app-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-app-title h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.port-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

.dash-app-tagline {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

.dash-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.dash-app-reqs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-req-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-main);
}

.dash-app-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

/* Feed Rows */
.feed-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-meet-row {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dash-meet-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-focus);
}

.meet-row-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 75px;
  border-right: 1px solid var(--border-color);
  padding-right: 8px;
}

.meet-row-time strong {
  font-size: 11px;
  color: #fff;
}

.meet-row-time small {
  font-size: 10px;
  color: var(--accent-cyan);
}

.meet-row-details {
  flex: 1;
}

.meet-row-title {
  font-weight: 600;
  font-size: 13px;
  color: #fff;
}

.meet-row-with {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.dash-email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.dash-email-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.email-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.icon-out { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.icon-in { background: rgba(236, 72, 153, 0.15); color: #ec4899; }

.email-row-content {
  flex: 1;
  overflow: hidden;
}

.email-row-subject {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-row-meta {
  font-size: 10px;
  color: var(--text-dim);
}

/* ==========================================================================
   ECOSYSTEM MILESTONES BOARD
   ========================================================================== */

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

.eco-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.header-badges {
  display: flex;
  gap: 6px;
}

.eco-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.eco-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.eco-card-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.meta-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.prereq-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}

.prereq-label {
  color: var(--text-dim);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.prereq-tag {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.notes-block {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: #67e8f9;
  font-size: 11px;
  display: flex;
  gap: 6px;
}

.eco-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  gap: 8px;
}

.btn-group {
  display: flex;
  gap: 6px;
}

/* ==========================================================================
   CANDIDATE & RETAINER PIPELINE
   ========================================================================== */

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.candidate-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cand-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cand-avatar-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.cand-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.cand-firm {
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.cand-title-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.cand-score-box {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  text-align: center;
  min-width: 75px;
}

.score-value {
  font-size: 18px;
  font-weight: 800;
  color: #c084fc;
  display: block;
  line-height: 1;
}

.score-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
}

.cand-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.cand-loc, .cand-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cand-focus-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent-purple);
  padding: 8px 12px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.focus-title {
  font-size: 10px;
  font-weight: 700;
  color: #a78bfa;
  text-transform: uppercase;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.focus-text {
  font-size: 12px;
  color: var(--text-main);
}

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

.practice-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-muted);
}

.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-highlight .price-val {
  color: #34d399;
}

.price-lbl {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.price-val {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.retainer-terms-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: #6ee7b7;
  font-size: 11px;
  display: flex;
  gap: 6px;
  line-height: 1.3;
}

.card-diy-highlight {
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(15, 23, 42, 0.95)) !important;
}

.relevant-apps-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rel-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.rel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rel-chip {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cand-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  gap: 8px;
  flex-wrap: wrap;
}

.cand-action-btns {
  display: flex;
  gap: 6px;
}

/* ==========================================================================
   ZOOM SCHEDULING & CLIENT DOCUMENT ISOLATION STYLES
   ========================================================================== */

.zoom-chip {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60a5fa;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
}

.zoom-security-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.zoom-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zoom-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}

.zoom-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.zoom-banner-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  flex-wrap: wrap;
}

.zoom-banner-meta code {
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  color: #93c5fd;
  font-family: var(--font-mono);
}

.zoom-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.isolation-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Documents Grid */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid var(--accent-emerald);
}

.doc-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.doc-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.doc-header-info {
  flex: 1;
}

.doc-cat-tag {
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.doc-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.doc-filename {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.doc-status-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.doc-owner-box {
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--accent-cyan);
  padding: 8px 12px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.owner-label {
  font-size: 9px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.owner-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 2px 0;
}

.owner-warning {
  font-size: 10px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}

.doc-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.doc-watermark-row {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wm-label {
  font-weight: 600;
  color: #fbbf24;
}

.wm-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fde68a;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.doc-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.meet-docs-row {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.docs-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.doc-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.doc-shared-chip {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
}

.doc-shared-chip:hover {
  background: rgba(16, 185, 129, 0.2);
}

/* Meeting Prep Shared Docs */
.prep-shared-docs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prep-doc-row {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
}

.prep-doc-icon {
  color: #34d399;
  font-size: 16px;
}

.prep-doc-info {
  flex: 1;
}

.prep-doc-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.prep-doc-meta {
  font-size: 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Client Portal Simulator */
.portal-sim-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 12px;
  color: #6ee7b7;
}

.portal-doc-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.portal-doc-icon {
  color: #34d399;
  font-size: 18px;
}

.portal-doc-info {
  flex: 1;
}

.portal-doc-title {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

.portal-doc-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.portal-zoom-card {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 14px;
  border-radius: var(--radius-md);
}

.portal-zoom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.portal-zoom-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.portal-zoom-time {
  font-size: 12px;
  color: #93c5fd;
  margin: 4px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.portal-zoom-creds {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  display: flex;
  gap: 16px;
}

.portal-zoom-creds code {
  color: #38bdf8;
  font-family: var(--font-mono);
}

/* ==========================================================================
   AI CALL SCRIBE & REAL-TIME SPEECH TRANSCRIBER
   ========================================================================== */

.scribe-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.scribe-indicator.recording {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.scribe-indicator.idle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-dim);
}

.scribe-pulse {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-red 1.5s infinite;
}

.scribe-dot-idle {
  width: 6px;
  height: 6px;
  background: var(--text-dim);
  border-radius: 50%;
}

@keyframes pulse-red {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.scribe-controls-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.scribe-waveform-container {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.wave-bar {
  width: 3px;
  height: 16px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: waveAnim 1s ease-in-out infinite;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; height: 24px; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; height: 12px; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; height: 28px; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; height: 18px; }
.wave-bar:nth-child(6) { animation-delay: 0.75s; height: 10px; }
.wave-bar:nth-child(7) { animation-delay: 0.9s; height: 22px; }

@keyframes waveAnim {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.wave-txt {
  margin-left: 8px;
  font-size: 11px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.transcript-feed-wrap {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.transcript-feed-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-tag {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

.transcript-feed-scroll {
  max-height: 220px;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transcript-entry {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--accent-cyan);
  padding: 6px 10px;
  border-radius: 0 6px 6px 0;
}

.transcript-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  margin-bottom: 2px;
}

.transcript-speaker {
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.transcript-time {
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.transcript-body {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.4;
}

.interim-text {
  font-size: 11px;
  color: var(--text-dim);
  font-style: italic;
  padding: 0 12px 6px 12px;
}

/* Extracted Tasks */
.extracted-tasks-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

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

.extracted-task-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.ext-task-app {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ext-task-text {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.ext-task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ext-task-owner {
  font-size: 10px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   SAN DIEGO REGIONAL CHAMBER & VET BAG SYNC
   ========================================================================== */

.sync-status-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.sync-status-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sync-pulse-dot {
  width: 12px;
  height: 12px;
  background: #eab308;
  border-radius: 50%;
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(234, 179, 8, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
}

.sync-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.sync-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.inline-select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 6px;
}

.sync-status-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sync-pill-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tag-vetbag {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #facc15;
}

.tag-chamber {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.chamber-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}

.chamber-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid #3b82f6;
}

.chamber-card.card-vetbag {
  border-top: 3px solid #eab308;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.95));
}

.chamber-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.chamber-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 3px;
  line-height: 1.3;
}

.chamber-org {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.badge-vetbag {
  background: rgba(234, 179, 8, 0.2);
  border: 1px solid #eab308;
  color: #fde047;
  font-weight: 800;
  font-size: 10px;
  padding: 3px 8px;
}

.badge-chamber {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid #3b82f6;
  color: #93c5fd;
  font-weight: 800;
  font-size: 10px;
  padding: 3px 8px;
}

.chamber-meta-bar {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.cm-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.text-gold {
  color: #eab308;
}

.chamber-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.chamber-chair-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  flex-wrap: wrap;
  padding: 6px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.ch-lbl {
  color: var(--text-dim);
  font-size: 10px;
  text-transform: uppercase;
}

.ch-val {
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ch-fee {
  margin-left: auto;
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chamber-obj-box {
  background: rgba(234, 179, 8, 0.08);
  border-left: 3px solid #eab308;
  padding: 8px 12px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.obj-title {
  font-size: 10px;
  font-weight: 700;
  color: #facc15;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.obj-list {
  padding-left: 16px;
  font-size: 11px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chamber-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  gap: 8px;
  flex-wrap: wrap;
}

.chamber-action-btns {
  display: flex;
  gap: 6px;
}

/* ==========================================================================
   COWORKING SPACES & STUDIO PIPELINE
   ========================================================================== */

.coworking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.coworking-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--accent-amber);
}

.cw-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cw-brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.cw-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.cw-location {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.cw-score-box {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  text-align: center;
  min-width: 75px;
}

.cw-score-val {
  font-size: 16px;
  font-weight: 800;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.cw-score-lbl {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-dim);
}

.cw-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.cw-pricing-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cw-price-item {
  display: flex;
  flex-direction: column;
}

.cw-p-lbl {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.cw-p-val {
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.cw-amenities-box {
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--accent-amber);
  padding: 8px 12px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.amenities-title {
  font-size: 10px;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.am-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-main);
}

.cw-eval-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: #fde68a;
  font-size: 11px;
  display: flex;
  gap: 6px;
  line-height: 1.3;
}

.cw-q-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 11px;
}

.cw-q-title {
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.cw-q-list {
  padding-left: 16px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cw-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  gap: 8px;
  flex-wrap: wrap;
}

.cw-action-btns {
  display: flex;
  gap: 6px;
}

/* ==========================================================================
   MATERIAL & APPAREL SUPPLIERS
   ========================================================================== */

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.supplier-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--accent-pink);
}

.sup-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sup-cat-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-pink);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.sup-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.sup-contact-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.sup-rating-box {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  text-align: center;
  min-width: 75px;
}

.sup-rating-val {
  font-size: 16px;
  font-weight: 800;
  color: #f472b6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sup-rating-lbl {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-dim);
}

.sup-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sup-materials-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent-pink);
  padding: 8px 12px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.materials-title {
  font-size: 10px;
  font-weight: 700;
  color: #f472b6;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.mat-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-main);
}

.sup-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-lbl {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.spec-val {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-top: 1px;
}

.sup-notes-box {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.2);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: #fbcfe8;
  font-size: 11px;
  display: flex;
  gap: 6px;
  line-height: 1.3;
}

.sup-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  gap: 8px;
  flex-wrap: wrap;
}

.sup-action-btns {
  display: flex;
  gap: 6px;
}

/* ==========================================================================
   AUTO-SCHEDULER & EMAIL HUB
   ========================================================================== */

.scheduler-layout {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 24px;
}

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

.meetings-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meeting-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meeting-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.meet-date-badge {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 55px;
}

.meet-day {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.meet-month {
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.meet-header-info {
  flex: 1;
}

.meet-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.meet-participant {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.meet-header-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.meet-booking-ref {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}

.meet-timing-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
}

.time-chip, .type-chip, .source-chip {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.source-chip {
  color: #34d399;
}

.meet-objective-box {
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--accent-cyan);
  padding: 8px 12px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 12px;
}

.obj-label {
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meet-apps-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.apps-lbl {
  font-size: 11px;
  color: var(--text-dim);
}

.app-demo-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.app-demo-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.2);
}

.meet-agenda-preview {
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 11px;
}

.agenda-lbl {
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.agenda-list {
  padding-left: 16px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meet-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  gap: 8px;
  flex-wrap: wrap;
}

/* Email Mailbox */
.email-inbox-pane {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mailbox-header {
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mailbox-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.email-inbox-list {
  display: flex;
  flex-direction: column;
  max-height: 700px;
  overflow-y: auto;
}

.email-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.email-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.email-item.unread {
  background: rgba(139, 92, 246, 0.06);
}

.email-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.email-item-body {
  flex: 1;
  overflow: hidden;
}

.email-item-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 2px;
}

.email-address {
  font-weight: 600;
  color: #fff;
}

.email-date {
  color: var(--text-dim);
}

.email-subject {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-preview {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* ==========================================================================
   MEETING PREP & LIVE SHOWCASE ROOM
   ========================================================================== */

.prep-header-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.prep-kicker {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.prep-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.prep-meta-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.prep-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.link-cyan {
  color: #38bdf8;
  text-decoration: underline;
}

.prep-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

@media (max-width: 1050px) {
  .prep-grid-layout {
    grid-template-columns: 1fr;
  }
}

.prep-col-left, .prep-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prep-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-header-sm {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.card-header-sm h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex: 1;
}

.obj-highlight-box {
  background: rgba(6, 182, 212, 0.08);
  border-left: 3px solid var(--accent-cyan);
  padding: 10px 14px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 13px;
  color: #fff;
  line-height: 1.4;
}

.agenda-section h4, .prep-questions-box h4, .action-items-section h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.agenda-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agenda-item-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
}

.agenda-item-check input {
  margin-top: 2px;
  cursor: pointer;
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
}

.dossier-terms {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: #c084fc;
  font-size: 11px;
  display: flex;
  gap: 6px;
}

.prep-q-list {
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-launch-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.app-tile {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tile-icon {
  font-size: 20px;
}

.tile-info {
  flex: 1;
}

.tile-title {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

.tile-sub {
  font-size: 11px;
  color: var(--text-dim);
}

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

.tile-actions {
  display: flex;
  gap: 6px;
}

.notes-editor-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notes-textarea {
  width: 100%;
  min-height: 220px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
}

.notes-textarea:focus {
  border-color: var(--border-focus);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.action-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.action-item-row {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.strikethrough {
  text-decoration: line-through;
  color: var(--text-dim);
}

.quick-email-followup-box {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: 10px;
}

.quick-email-followup-box p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 4px 0 10px 0;
}

/* ==========================================================================
   ECOSYSTEM LIVE DRAWER (OVERLAY SLIDE-OUT)
   ========================================================================== */

.ecosystem-live-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85vw;
  max-width: 1280px;
  height: 100vh;
  background: #090d16;
  border-left: 1px solid var(--border-color-light);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ecosystem-live-drawer.active {
  right: 0;
}

.drawer-top-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-app-tabs {
  display: flex;
  gap: 8px;
}

.drawer-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 14px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-tab-btn.active {
  color: #fff;
}

.drawer-app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer-app-header {
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-app-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-pill {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drawer-app-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

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

.drawer-requirements-banner {
  background: rgba(245, 158, 11, 0.1);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding: 8px 20px;
  font-size: 11px;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 12px;
}

.req-tags-inline {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.req-tag-inline {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.drawer-iframe-wrap {
  flex: 1;
  position: relative;
  background: #05070a;
}

.drawer-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.frame-fallback-note {
  position: absolute;
  bottom: 10px;
  left: 20px;
  background: rgba(17, 24, 39, 0.9);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* ==========================================================================
   DOCUMENT & TEMPLATE VAULT
   ========================================================================== */

.vault-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.template-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.tpl-category-badge {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
}

.tpl-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.tpl-subject {
  font-size: 12px;
  color: var(--accent-cyan);
}

.tpl-body-preview {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  max-height: 140px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.tpl-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   MODALS & FORMS
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
  from { transform: scale(0.95); }
  to { transform: scale(1); }
}

.modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 18px;
  display: flex;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 22px;
  overflow-y: auto;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-input, .form-textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 13px;
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--border-focus);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-purple);
  border-left: 4px solid var(--accent-purple);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-msg i {
  color: var(--accent-purple);
}

.toast-msg.fade-out {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

@keyframes toastSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Empty States */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-icon {
  width: 48px;
  height: 48px;
  color: var(--text-dim);
}

.empty-state h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 400px;
}

/* Helper text colors */
.text-cyan { color: var(--accent-cyan) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-green { color: var(--accent-emerald) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-pink { color: var(--accent-pink) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }

/* ==========================================================================
   APPAREL SOURCING, BOM & AUDIT TOOLKIT
   ========================================================================== */

.card-factory-highlight {
  border-left: 3px solid var(--accent-pink) !important;
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.04) 0%, rgba(20, 24, 38, 0.7) 100%) !important;
}

.audit-rubric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.audit-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.audit-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.audit-card-head h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.audit-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audit-check-list li label {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  line-height: 1.4;
}

.audit-check-list li label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent-emerald);
}

/* BOM Calculator Card */
.bom-results-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
}

.bom-res-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bom-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.bom-val {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-mono);
}

/* Tech Pack Spec Sheet Box */
.techpack-preview-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.tp-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.tp-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .tp-sections-grid {
    grid-template-columns: 1fr;
  }
}

.tp-sec h5 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.tp-table td {
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tp-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 40%;
}

.tp-grading-section h5 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tp-grading-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}

.tp-grading-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 8px;
  font-weight: 700;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-color);
}

.tp-grading-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

/* ==========================================================================
   NOVELCRAFT BOOK WRITING & PUBLISHING HUB
   ========================================================================== */

.novelcraft-hero-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(20, 24, 38, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .novelcraft-hero-card {
    grid-template-columns: 1fr;
  }
}

.novelcraft-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.novelcraft-hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px 0;
}

.novelcraft-hero-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.novelcraft-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.novelcraft-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 240px;
}

.nc-stat-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nc-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: #c084fc;
  font-family: var(--font-mono);
}

.nc-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
}

/* Embed Frame */
.nc-frame-container {
  background: var(--bg-card);
  border: 1px solid var(--accent-purple);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nc-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(139, 92, 246, 0.15);
  border-bottom: 1px solid var(--border-color);
}

.nc-frame-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.nc-embedded-frame {
  width: 100%;
  height: 600px;
  border: none;
  background: #0f111a;
}

/* Grid Layout */
.novelcraft-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

@media (max-width: 1024px) {
  .novelcraft-grid-layout {
    grid-template-columns: 1fr;
  }
}

.nc-books-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.nc-book-card {
  border-left: 4px solid var(--accent-purple) !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nc-book-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.nc-book-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.nc-book-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.nc-word-badge {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  text-align: right;
  min-width: 110px;
}

.nc-word-num {
  font-size: 16px;
  font-weight: 800;
  color: #c084fc;
  font-family: var(--font-mono);
  display: block;
}

.nc-word-lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
}

.nc-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nc-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nc-spec-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nc-spec-val {
  font-size: 12px;
  color: #fff;
  font-weight: 500;
}

.nc-pricing-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.nc-price-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.nc-p-lbl {
  color: var(--text-muted);
}

.nc-p-val {
  font-weight: 700;
  color: #fff;
}

.nc-book-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   CLIENTS & PRODUCTS HUB STYLES
   ========================================================================== */

.client-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.client-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.client-metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.cm-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cm-val {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.cm-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.client-toolbar, .vendor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.45);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.client-filter-group, .vendor-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.client-filter-btn, .vendor-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition-fast);
}

.client-filter-btn:hover, .vendor-filter-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.client-filter-btn.active, .vendor-filter-btn.active {
  background: rgba(139, 92, 246, 0.25);
  border-color: #8b5cf6;
  color: #fff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.client-actions-group, .vendor-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.clients-cards-grid, .vendors-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .clients-cards-grid, .vendors-cards-grid {
    grid-template-columns: 1fr;
  }
}

.client-card, .vendor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.client-card:hover, .vendor-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.client-card-header, .vendor-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.client-brand-title, .vendor-brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar, .vendor-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.client-name, .vendor-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.client-contact-sub, .vendor-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  flex-wrap: wrap;
}

.client-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.client-val-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
}

.client-stage-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.stage-lead {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.3);
}

.stage-discovery_scheduled {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
}

.stage-specs_approved {
  background: rgba(139, 92, 246, 0.18);
  color: #c084fc;
  border-color: rgba(139, 92, 246, 0.35);
}

.stage-in_production {
  background: rgba(236, 72, 153, 0.18);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.35);
}

.stage-delivered {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.client-product-banner {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cp-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cp-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.cp-title {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.client-details-text, .vendor-notes-text {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}

.client-docs-section {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.client-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.csh-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.csh-count {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 600;
}

.client-docs-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.client-doc-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.client-doc-chip:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: #8b5cf6;
  color: #fff;
}

.doc-chip-meta {
  font-size: 10px;
  color: var(--text-muted);
}

.client-comms-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.comms-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.comms-contact-email {
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.client-card-footer, .vendor-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.client-stage-select-wrap, .vendor-status-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-select-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.client-btn-actions, .vendor-btn-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Sourcing Tools Quickbar */
.sourcing-tools-quickbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.st-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.st-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.st-text {
  flex: 1;
}

.st-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.st-text p {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.vendor-category-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  display: inline-block;
  margin-top: 2px;
}

.vendor-rating-box {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
}

.vendor-pricing-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.vpb-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vpb-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

.vpb-val {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.vendor-materials-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vendor-mat-tag {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 2px 7px;
  border-radius: 4px;
}

.vendor-compliance-pill {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}

/* ==========================================================================
   BADGES, ACCENTS & COWORKING LOUNGE STYLING
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.18);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.badge-cyan, .badge-info {
  background: rgba(6, 182, 212, 0.18);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.badge-success {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-default {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.btn-cyan {
  background: rgba(6, 182, 212, 0.18);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.btn-cyan:hover {
  background: rgba(6, 182, 212, 0.35);
  color: #fff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}

.btn-purple {
  background: rgba(139, 92, 246, 0.18);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.btn-purple:hover {
  background: rgba(139, 92, 246, 0.35);
  color: #fff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.coworking-event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: all var(--transition-normal);
}

.coworking-event-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}



