@import "/dashboard/reactvibe-bg.css";

/* === UZKIRO / SHADOW: REACTVIBE ULTRA-GLASS OVERVIEW SYSTEM === */

:root {
  --vibe-bg: #07090e;
  --vibe-card: rgba(14, 18, 28, 0.65);
  --vibe-card-hover: rgba(20, 26, 42, 0.8);
  --vibe-border: rgba(255, 255, 255, 0.08);
  --vibe-border-glow: rgba(56, 189, 248, 0.35);
  --vibe-cyan: #38bdf8;
  --vibe-cyan-glow: rgba(56, 189, 248, 0.15);
  --vibe-sky: #38bdf8;
  --vibe-violet: #a855f7;
  --vibe-violet-glow: rgba(168, 85, 247, 0.15);
  --vibe-emerald: #10b981;
  --vibe-amber: #f59e0b;
  --vibe-rose: #f43f5e;
}

/* Background canvas and ambient glows */
#vibeWavesCanvas {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 0 !important;
  visibility: visible !important;
  opacity: 0.12 !important;
}

html[data-theme] body[data-page="dashboard"] {
  background: var(--vibe-bg) !important;
  color: #f8fafc !important;
}

/* Overview Panel Container */
html[data-theme] #app.shell #overviewPanel,
#overviewPanel.reference-overview {
  display: block !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 10px 0 60px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Unhide advanced technical sections into clean first-class cards */
html[data-theme] #overviewPanel #homeAdvanced {
  display: block !important;
}
/* The summary stays visible: a closed <details> shows nothing else, so hiding it left an empty bordered bar. */
html[data-theme] #overviewPanel #homeAdvanced > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}
html[data-theme] #overviewPanel #homeAdvanced > summary::after {
  margin-left: auto !important;
}

/* === 1. EXECUTIVE COCKPIT BANNER === */
.cockpit-banner-modern {
  background: rgba(14, 18, 28, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 24px 28px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative !important;
  overflow: hidden !important;
}
.cockpit-banner-modern::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.cockpit-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.cockpit-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cockpit-avatar-spark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 19px;
  color: #38bdf8;
  box-shadow: none !important;
}
.cockpit-heading-text h1 {
  font-size: 22px !important;
  font-weight: 750 !important;
  letter-spacing: -0.025em !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  text-shadow: none !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}
.cockpit-heading-text p {
  color: #94a3b8 !important;
  font-size: 13px !important;
  margin: 4px 0 0 !important;
}

.cockpit-telemetry-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.telemetry-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}
.telemetry-chip.chip-cyan {
  border-color: rgba(0, 229, 255, 0.35);
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
}
.telemetry-chip.chip-emerald {
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}
.telemetry-chip.chip-violet {
  border-color: rgba(139, 92, 246, 0.35);
  color: #c084fc;
  background: rgba(139, 92, 246, 0.08);
}
.pulse-emerald {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseLight 2s infinite ease-in-out;
}
@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Quick Action Toolbar inside Cockpit */
.cockpit-action-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-vibe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.btn-vibe-glass {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.btn-vibe-glass:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-1px);
}
.btn-vibe-cyan {
  background: #f8fafc !important;
  color: #07090e !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  border: 0 !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1) !important;
}
.btn-vibe-cyan:hover {
  background: #e2e8f0 !important;
  transform: translateY(-1px);
}

/* === 2. METRICS GRID === */
html[data-theme] #overviewPanel .overview-metrics,
.overview-metrics-modern {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  margin-bottom: 24px !important;
  border: 0 !important;
  padding: 0 !important;
}
html[data-theme] #overviewPanel .overview-metric,
.metric-card-modern {
  background: var(--vibe-card) !important;
  border: 1px solid var(--vibe-border) !important;
  border-radius: 20px !important;
  padding: 22px !important;
  min-height: 140px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: none !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s ease !important;
}
html[data-theme] #overviewPanel .overview-metric:hover,
.metric-card-modern:hover {
  border-color: var(--vibe-border-glow) !important;
  background: var(--vibe-card-hover) !important;
  transform: translateY(-2px) !important;
}
.metric-card-modern .metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.metric-card-modern .metric-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.metric-card-modern .metric-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 6px !important;
}
html[data-theme] #overviewPanel .overview-metric strong,
.metric-card-modern .metric-big-num {
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  margin: 0 0 6px !important;
}
html[data-theme] #overviewPanel .overview-metric small,
.metric-card-modern .metric-caption {
  font-size: 12px !important;
  color: #94a3b8 !important;
}

/* === 3. TWO COLUMN COCKPIT LAYOUT === */
.cockpit-grid-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.8fr) minmax(360px, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

/* Glass Section Container */
.cockpit-panel-card {
  background: var(--vibe-card) !important;
  border: 1px solid var(--vibe-border) !important;
  border-radius: 20px !important;
  padding: 22px 24px !important;
  margin-bottom: 24px !important;
  backdrop-filter: none !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3) !important;
  transition: border-color 0.25s ease !important;
}
.cockpit-panel-card:hover {
  border-color: rgba(56, 189, 248, 0.35) !important;
}
.cockpit-panel-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.cockpit-panel-head h2,
.cockpit-panel-head h3 {
  font-size: 16px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cockpit-panel-head p {
  font-size: 12px !important;
  color: #94a3b8 !important;
  margin: 2px 0 0 !important;
}

/* === 4. REALTIME ROUTING PIPELINE === */
html[data-theme] #overviewPanel .route-panel {
  background: var(--vibe-card) !important;
  border: 1px solid var(--vibe-border) !important;
  border-radius: 20px !important;
  padding: 22px 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme] #overviewPanel .route-flow {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  margin-top: 10px !important;
}
html[data-theme] #overviewPanel .route-node {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  transition: all 0.2s ease !important;
}
html[data-theme] #overviewPanel .route-node.active {
  border-color: rgba(0, 229, 255, 0.45) !important;
  background: rgba(0, 229, 255, 0.06) !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12) !important;
}
html[data-theme] #overviewPanel .route-node small {
  font-size: 10px !important;
  font-family: var(--font-mono, monospace) !important;
  font-weight: 700 !important;
  color: #00e5ff !important;
}
html[data-theme] #overviewPanel .route-node strong {
  font-size: 13px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
}
html[data-theme] #overviewPanel .route-node em {
  font-size: 11px !important;
  color: #10b981 !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

/* === 5. MINI KANBAN CONVERSION FUNNEL === */
.kanban-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.kanban-mini-col {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
  min-height: 170px;
}
.kanban-mini-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.kanban-mini-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.kanban-mini-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.kanban-mini-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}
.kanban-mini-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.kanban-mini-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
}
.kanban-mini-card-amt {
  color: #00e5ff;
  font-weight: 700;
}

/* === 6. 29 AUTONOMOUS AI AGENTS FLEET RADAR === */
.agents-fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.agent-fleet-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.agent-fleet-card:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}
.agent-fleet-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.agent-fleet-text h4 {
  font-size: 13px;
  font-weight: 750;
  color: #ffffff;
  margin: 0;
}
.agent-fleet-text p {
  font-size: 11px;
  color: #94a3b8;
  margin: 2px 0 0;
}
.agent-fleet-pill {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* === 7. TELEMETRY & DIAGNOSTICS ROWS === */
.telemetry-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}
.telemetry-item-row:last-child { border-bottom: 0; }
.telemetry-item-row span { color: #94a3b8; }
.telemetry-item-row strong { color: #ffffff; font-weight: 700; }
.telemetry-item-row em { font-style: normal; color: #00e5ff; font-weight: 600; font-size: 11px; }

/* === 8. FLOATING MODALS === */
.vibe-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.85);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vibe-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.vibe-modal-container {
  width: min(560px, 100%);
  background: linear-gradient(145deg, rgba(16, 23, 40, 0.95), rgba(9, 13, 24, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.2);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.vibe-modal-overlay.is-active .vibe-modal-container {
  transform: translateY(0) scale(1);
}
.vibe-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vibe-modal-header h3 { font-size: 18px; font-weight: 800; color: #ffffff; margin: 0; }
.vibe-modal-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
}
.vibe-input-wrap {
  margin-bottom: 16px;
}
.vibe-input-wrap label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.vibe-input-wrap input,
.vibe-input-wrap textarea,
.vibe-input-wrap select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
}
.vibe-input-wrap input:focus,
.vibe-input-wrap textarea:focus,
.vibe-input-wrap select:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}
.vibe-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

/* === 9. SIGN-IN FRAME ENHANCEMENTS === */
.btn-demo-preview {
  margin-top: 14px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.12) !important;
  border: 1px solid rgba(0, 229, 255, 0.35) !important;
  color: #00e5ff !important;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-demo-preview:hover {
  background: rgba(0, 229, 255, 0.22) !important;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
  transform: translateY(-1px);
}

/* === 10. RESPONSIVE BREAKPOINTS === */
@media (max-width: 1100px) {
  html[data-theme] #overviewPanel .overview-metrics,
  .overview-metrics-modern { grid-template-columns: repeat(2, 1fr) !important; }
  .cockpit-grid-split { grid-template-columns: 1fr !important; }
  html[data-theme] #overviewPanel .route-flow { grid-template-columns: repeat(2, 1fr) !important; }
  .kanban-mini-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .agents-fleet-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  html[data-theme] #overviewPanel .overview-metrics,
  .overview-metrics-modern { grid-template-columns: 1fr !important; }
  html[data-theme] #overviewPanel .route-flow { grid-template-columns: 1fr !important; }
  .kanban-mini-grid { grid-template-columns: 1fr !important; }
  .agents-fleet-grid { grid-template-columns: 1fr !important; }
}


/* === ADVANCED PANEL OPTIONS & TOOLBARS === */
.vibe-workspaces-dock {
  background: var(--vibe-card) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--vibe-border) !important;
  border-radius: 20px !important;
  padding: 22px 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}
.vibe-dock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.vibe-dock-header h2 {
  font-size: 15px;
  font-weight: 750;
  color: #fff;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vibe-dock-header p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}
.vibe-cluster-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.vibe-pill-btn {
  padding: 6px 13px !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  border-radius: 999px !important;
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(138, 180, 248, 0.2) !important;
  color: #cbd5e1 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 30px !important;
}
.vibe-pill-btn:hover {
  border-color: #38bdf8 !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.vibe-pill-btn.active {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  font-weight: 750 !important;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.25) !important;
}
.vibe-workspaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.vibe-workspace-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--vibe-border);
  text-decoration: none;
  color: #f8fafc;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.vibe-workspace-card:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.vibe-workspace-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  flex-shrink: 0;
}
.vibe-workspace-meta {
  overflow: hidden;
}
.vibe-workspace-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vibe-workspace-meta span {
  display: block;
  font-size: 11px;
  color: var(--vibe-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Multi-Tier Operational Toolbar Strip */
.vibe-toolbar-strip {
  background: linear-gradient(165deg, rgba(20, 27, 46, 0.78) 0%, rgba(12, 16, 28, 0.9) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(138, 180, 248, 0.2) !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  margin-bottom: 20px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.vibe-toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vibe-toolbar-label {
  font-size: 11.5px;
  font-weight: 750;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ==========================================================================
   REACT BITS FUSION: 1 (DEEP AURORA & SPOTLIGHT) + 3 (HYPERSPEED WARP) + 8 (NEURAL)
   ========================================================================== */

/* 1. Minimalist Static Text */
.shiny-text,
.vibe-dock-header h2 {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #f8fafc !important;
  color: #f8fafc !important;
  animation: none !important;
}

@keyframes reactBitsShinyText {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 2. Spotlight Card System (React Bits SpotlightCard) */
.vibe-workspace-card,
.cockpit-banner-modern,
.board-card,
.simple-stat,
.simple-tile,
.kanban-mini-card,
.cockpit-panel-card {
  position: relative !important;
  isolation: isolate;
}

.vibe-workspace-card::before,
.cockpit-banner-modern::before,
.board-card::before,
.simple-stat::before,
.simple-tile::before,
.kanban-mini-card::before,
.cockpit-panel-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    280px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(56, 189, 248, 0.75),
    rgba(99, 102, 241, 0.45) 40%,
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.vibe-workspace-card:hover::before,
.cockpit-banner-modern:hover::before,
.board-card:hover::before,
.simple-stat:hover::before,
.simple-tile:hover::before,
.kanban-mini-card:hover::before,
.cockpit-panel-card:hover::before {
  opacity: 1;
}

/* 3. Hyperspeed Cockpit Canvas inside Hero Banner */
.cockpit-warp-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
  mix-blend-mode: screen;
}

.cockpit-row-top,
.cockpit-action-toolbar {
  position: relative;
  z-index: 2;
}

/* 4. True Focus Viewfinder Frame (React Bits TrueFocus) */
.true-focus-frame {
  position: absolute;
  pointer-events: none;
  border: 1.5px solid rgba(56, 189, 248, 0.85);
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4), inset 0 0 8px rgba(99, 102, 241, 0.25);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.true-focus-frame::before,
.true-focus-frame::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
}

.true-focus-frame::before {
  top: -2px;
  left: -2px;
  border-top: 2px solid #00e5ff;
  border-left: 2px solid #00e5ff;
}

.true-focus-frame::after {
  bottom: -2px;
  right: -2px;
  border-bottom: 2px solid #00e5ff;
  border-right: 2px solid #00e5ff;
}

/* 5. Fluid Click Spark / Splash Ripple */
.react-bits-spark-ripple {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid rgba(0, 229, 255, 0.85);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5), inset 0 0 12px rgba(139, 92, 246, 0.4);
  transform: translate(-50%, -50%) scale(0.1);
  animation: reactBitsRipple 0.65s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
  z-index: 99999;
}

@keyframes reactBitsRipple {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

/* === REACT-BITS FUSION: LUXURY COCKPIT & SPOTLIGHT REFINEMENT === */
html[data-theme] #app[data-view="overview"] .page-address-bar {
  display: none !important;
}

#vibeToolbarStrip {
  display: none !important;
}

html[data-theme] #app[data-view="overview"] .top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 0 0 14px !important;
  margin: 0 0 18px !important;
}

html[data-theme] #app[data-view="overview"] .top h1 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  margin: 0 0 2px !important;
}

html[data-theme] #app[data-view="overview"] .top p {
  font-size: 12px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

html[data-theme] #app[data-view="overview"] .top .eyebrow {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  margin-bottom: 3px !important;
}

html[data-theme] #app[data-view="overview"] .top-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html[data-theme] #app[data-view="overview"] .top-actions .btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: #e2e8f0 !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  min-height: 32px !important;
  transition: all 0.2s ease !important;
}

html[data-theme] #app[data-view="overview"] .top-actions .btn:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  color: #fff !important;
}

#simpleHome .home-board,
#simpleHome .home-greet,
#simpleHome .simple-tiles,
#simpleHome .simple-more {
  display: none !important;
}

/* Modern Obsidian Glass Styling for Diagnostic and Tips Ribbons */
#simpleAgents,
#simpleTips,
#simpleNext {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #f8fafc !important;
  margin-top: 14px !important;
  padding: 16px 20px !important;
}

#simpleAgents {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

#simpleAgents[hidden],
#simpleTips[hidden],
#simpleNext[hidden] {
  display: none !important;
}

#simpleAgents[data-tone="warn"] {
  border-color: rgba(245, 158, 11, 0.45) !important;
  background: linear-gradient(135deg, rgba(35, 22, 10, 0.85), rgba(15, 23, 42, 0.85)) !important;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(245, 158, 11, 0.2) !important;
}

#simpleAgents[data-tone="ok"] {
  border-color: rgba(52, 211, 153, 0.4) !important;
  background: linear-gradient(135deg, rgba(10, 35, 25, 0.85), rgba(15, 23, 42, 0.85)) !important;
}

#simpleAgentsText {
  font-weight: 550 !important;
  font-size: 14px !important;
  letter-spacing: -0.01em !important;
  color: #f8fafc !important;
}

#simpleTips h3 {
  margin: 0 0 12px 0 !important;
  color: #38bdf8 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

#simpleTipsList {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#simpleTipsList li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  color: #cbd5e1 !important;
  font-size: 13px !important;
}

#simpleAgents .btn,
#simpleTipsList .btn,
#simpleNext .btn {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 10px !important;
  color: #38bdf8 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

#simpleAgents .btn:hover,
#simpleTipsList .btn:hover,
#simpleNext .btn:hover {
  background: rgba(56, 189, 248, 0.28) !important;
  border-color: #38bdf8 !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.cockpit-banner-modern {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(8, 14, 28, 0.94) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 22px !important;
  padding: 28px 32px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  position: relative !important;
  overflow: hidden !important;
}

.overview-metrics-modern {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 22px !important;
}

@media (max-width: 900px) {
  .overview-metrics-modern {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 560px) {
  .overview-metrics-modern {
    grid-template-columns: 1fr !important;
  }
}

.metric-card-modern {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 20px 22px !important;
  backdrop-filter: none !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.metric-card-modern:hover {
  background: rgba(20, 30, 52, 0.82) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-3px) !important;
}

.vibe-workspaces-dock {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  margin-bottom: 22px !important;
  backdrop-filter: none !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
}

.vibe-workspaces-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 14px !important;
}

.vibe-workspace-card {
  padding: 18px 20px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vibe-workspace-card:hover {
  background: rgba(56, 189, 248, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.25) !important;
}

#simpleHome .simple-tiles {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

#simpleHome .simple-tile {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  color: #fff !important;
  backdrop-filter: none !important;
  transition: all 0.2s ease !important;
}

#simpleHome .simple-tile:hover {
  background: rgba(20, 30, 52, 0.8) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   Radical Modern Luxury Automation Hub & Cockpit (#automationPanel)
   ========================================================================== */
#automationPanel {
  padding: 0 !important;
  color: #f1f5f9 !important;
}

.automation-cockpit-hero {
  margin-bottom: 24px !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.7) 100%) !important;
}

.auto-decks-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-bottom: 30px !important;
}

@media (max-width: 960px) {
  .auto-decks-container {
    grid-template-columns: 1fr !important;
  }
}

.auto-deck-card {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  backdrop-filter: none !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.auto-deck-card:hover {
  border-color: rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5) !important;
}

.deck-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.deck-icon-box {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  flex-shrink: 0 !important;
}

.deck-header h3 {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  letter-spacing: -0.01em !important;
}

.deck-header p {
  margin: 3px 0 0 0 !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
}

.auto-cron-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: 12px !important;
}

.auto-cron-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 10px !important;
  transition: all 0.2s ease !important;
}

.auto-cron-card:hover {
  background: rgba(56, 189, 248, 0.05) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-2px) !important;
}

.cron-card-top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.cron-card-top strong {
  font-size: 13.5px !important;
  color: #f1f5f9 !important;
  font-weight: 600 !important;
}

.cron-badge {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  white-space: nowrap !important;
}

.auto-cron-card p {
  margin: 0 !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
}

.cron-card-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

.cron-status-dot {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
  color: #10b981 !important;
  font-weight: 500 !important;
}

.cron-status-dot i {
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
}

.btn-sm {
  padding: 6px 12px !important;
  font-size: 11.5px !important;
  min-height: unset !important;
}

/* Durable schedule details */
.auto-more-glass {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  margin-top: 6px !important;
}

.auto-more-glass summary {
  cursor: pointer !important;
  font-size: 13px !important;
  color: #cbd5e1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  user-select: none !important;
}

.auto-more-glass summary b {
  color: #f8fafc !important;
  font-weight: 600 !important;
}

.auto-more-glass summary small {
  color: #94a3b8 !important;
  font-size: 11.5px !important;
}

.auto-more-glass[open] summary {
  margin-bottom: 14px !important;
}

/* Deck 2: n8n section */
.deck-webhook-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.deck-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.webhook-input-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.deck-input {
  flex: 1 !important;
  min-height: 42px !important;
  background: rgba(10, 15, 30, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  color: #38bdf8 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 12.5px !important;
}

.deck-input:focus {
  outline: none !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
}

.webhook-meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  font-size: 11.5px !important;
}

.badge-emerald {
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  font-weight: 600 !important;
}

.deck-subtext {
  color: #94a3b8 !important;
}

.template-pills {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 10px !important;
  margin-top: 6px !important;
}

.template-pill {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  color: inherit !important;
}

.template-pill:hover {
  background: rgba(234, 88, 12, 0.08) !important;
  border-color: rgba(251, 146, 60, 0.35) !important;
  transform: translateY(-2px) !important;
}

.template-pill strong {
  font-size: 12.5px !important;
  color: #f8fafc !important;
}

.template-pill small {
  font-size: 11px !important;
  color: #94a3b8 !important;
}

.code-block-wrapper {
  position: relative !important;
  margin-top: 6px !important;
}

.deck-code-pre {
  margin: 0 !important;
  background: rgba(6, 10, 20, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 11.5px !important;
  color: #38bdf8 !important;
  overflow-x: auto !important;
  line-height: 1.5 !important;
}

.btn-code-copy {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
}

/* Deck 3: Chatla smart triggers */
.smart-triggers-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.smart-trigger-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
}

.trigger-badge {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  background: rgba(16, 185, 129, 0.12) !important;
  color: #10b981 !important;
  white-space: nowrap !important;
}

.trigger-desc {
  flex: 1 !important;
}

.trigger-desc strong {
  display: block !important;
  font-size: 13px !important;
  color: #f8fafc !important;
  margin-bottom: 2px !important;
}

.trigger-desc p {
  margin: 0 !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  line-height: 1.3 !important;
}

.trigger-status-on {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
}

/* Deck 4: Guardian metrics */
.guardian-metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
}

.guardian-metric-tile {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.g-metric-label {
  font-size: 11px !important;
  color: #94a3b8 !important;
}

.g-metric-val {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
}

.g-metric-sub {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
}

.guardian-actions-strip {
  display: flex !important;
  gap: 10px !important;
  margin-top: 4px !important;
  flex-wrap: wrap !important;
}

/* ==========================================================================
   Modern Polish for #autoHub live switches and controls
   ========================================================================== */
#autoHub .overview-panel {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#autoHub .ah-control-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

#autoHub .ah-control-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

#autoHub .ah-control-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

#autoHub .ah-control-head h3 {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
}

#autoHub .switch.ah-toggle {
  min-height: 44px !important;
  min-width: 110px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

#autoHub .switch.ah-toggle[aria-checked="true"] {
  background: #047857 !important;
  color: #ffffff !important;
  border-color: #047857 !important;
  box-shadow: 0 0 16px rgba(4, 120, 87, 0.45) !important;
}

#autoHub .switch.ah-toggle[aria-checked="false"] {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

#autoHub .ah-utility-panel {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  margin-top: 14px !important;
}

#autoHub .ah-utility-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

#autoHub .ah-utility-row:last-child {
  border-bottom: 0 !important;
}

/* ==========================================================================
   Modern Polish for #automationControl (Durable Plan Form & Details)
   ========================================================================== */
#automationControl .ig-pro {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

#automationControl details {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  transition: all 0.2s ease !important;
}

#automationControl details[open] {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

#automationControl summary {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  cursor: pointer !important;
}

#automationControl .ig-pro-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

#automationControl select,
#automationControl textarea,
#automationControl input[type="text"] {
  background: rgba(10, 15, 30, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  color: #f8fafc !important;
  font-family: inherit !important;
  font-size: 13px !important;
}

#automationControl select:focus,
#automationControl textarea:focus {
  outline: none !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
}

#automationControl .ig-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 10px !important;
  flex-wrap: wrap !important;
}

#automationControl .btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  color: #f1f5f9 !important;
  font-weight: 500 !important;
  font-size: 12.5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#automationControl .btn:hover {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

#automationControl .btn.ig-primary,
#automationControl button[type="submit"] {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35) !important;
}

#automationControl #automationResult {
  background: rgba(6, 10, 20, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  color: #38bdf8 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}


/* ==========================================================================
   Full Autonomy Zero-Approval Master Card Styles
   ========================================================================== */
.full-autonomy-master-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.75) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  margin-bottom: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  backdrop-filter: none !important;
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.25) !important;
}

@media (max-width: 860px) {
  .full-autonomy-master-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

.autonomy-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.autonomy-spark {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: radial-gradient(circle, #10b981 0%, #047857 70%, transparent 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5) !important;
  flex-shrink: 0 !important;
}

.autonomy-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.autonomy-title-row h3 {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
}

.full-autonomy-master-card p {
  margin: 4px 0 0 0 !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
}


/* ==========================================================================
   COLLAPSIBLE ACCORDION DECKS (UZKIRO SHADOW 2026)
   Matches native .merged-card accordion style from Screenshot 6
   ========================================================================== */

.merged-card.auto-deck-card,
.merged-card.full-autonomy-master-card {
  padding: 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  backdrop-filter: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
  overflow: hidden !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  margin-bottom: 14px !important;
}

.merged-card.auto-deck-card:hover,
.merged-card.full-autonomy-master-card:hover {
  border-color: rgba(56, 189, 248, 0.28) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45) !important;
}

.merged-head.deck-toggle-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 64px !important;
  padding: 14px 20px !important;
  border: 0 !important;
  background: transparent !important;
  color: #f8fafc !important;
  text-align: left !important;
  cursor: pointer !important;
  font: inherit !important;
  box-shadow: none !important;
  transition: background 0.2s ease !important;
}

.merged-head.deck-toggle-head:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

.merged-head.deck-toggle-head b.deck-icon-box {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin: 0 !important;
}

.merged-head.deck-toggle-head span {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.merged-head.deck-toggle-head strong {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.merged-head.deck-toggle-head small {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
}

.merged-head.deck-toggle-head .deck-chevron {
  flex: none !important;
  width: 10px !important;
  height: 10px !important;
  border-right: 2px solid #94a3b8 !important;
  border-bottom: 2px solid #94a3b8 !important;
  transform: rotate(45deg) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
  margin-left: auto !important;
}

:is(.merged-card, .auto-deck-card, .full-autonomy-master-card).is-open > .merged-head.deck-toggle-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

:is(.merged-card, .auto-deck-card, .full-autonomy-master-card).is-open > .merged-head.deck-toggle-head .deck-chevron {
  transform: rotate(-135deg) !important;
  border-color: #38bdf8 !important;
}

:is(.merged-card, .auto-deck-card, .full-autonomy-master-card):not(.is-open) > :is(.deck-body-wrap, .merged-body) {
  display: none !important;
}

:is(.merged-card, .auto-deck-card, .full-autonomy-master-card).is-open > :is(.deck-body-wrap, .merged-body) {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 20px 22px 22px 22px !important;
}

@media (max-width: 768px) {
  .merged-head.deck-toggle-head {
    padding: 12px 16px !important;
    min-height: 58px !important;
  }
  .merged-head.deck-toggle-head strong {
    font-size: 14.5px !important;
  }
  .merged-head.deck-toggle-head small {
    font-size: 12px !important;
  }
}


/* ==========================================================================
   CROSS-TOOL INTEGRATION MATRIX (UZKIRO SHADOW 2026)
   ========================================================================== */

.bridge-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 16px !important;
}

.bridge-card {
  background: rgba(30, 41, 59, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bridge-card:hover {
  background: rgba(30, 41, 59, 0.7) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-2px) !important;
}

.bridge-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.bridge-endpoints {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
}

.bridge-status {
  font-size: 11px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

.bridge-status.status-active,
.bridge-status.status-emerald {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.bridge-status.status-cyan {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

.bridge-card h4 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  line-height: 1.35 !important;
}

.bridge-card p {
  margin: 0 !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
  line-height: 1.55 !important;
  flex: 1 !important;
}

.bridge-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.bridge-metrics {
  font-size: 11.5px !important;
  color: #64748b !important;
}


/* ==========================================================================
   REACTVIBE UNIVERSAL OVERHAUL: ELIMINATE ALL RAW/LEGACY SAMPLES
   Transforms #igAgents, .ig-pro, .overview-panel, forms, details, selects & inputs
   ========================================================================== */

/* 1. Master Card Polish for #igAgents & .ig-agents */
html[data-theme] #app.shell #igAgents,
html[data-theme] #app.shell .ig-agents,
html[data-theme] #app.shell .ig-pro,
html[data-theme] #app.shell .ig-workspace .overview-panel,
html[data-theme] #app.shell .overview-panel {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  backdrop-filter: none !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45) !important;
  padding: 24px 28px !important;
  color: #f8fafc !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

html[data-theme] #app.shell #igAgents:hover,
html[data-theme] #app.shell .ig-workspace .overview-panel:hover,
html[data-theme] #app.shell .overview-panel:hover {
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55), 0 0 24px rgba(56, 189, 248, 0.12) !important;
}

/* Card Heading & Badges */
#igAgents .ig-card-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}

#igAgents .ig-card-heading h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

#igAgents .ig-agent-badge {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

#igAgents .ig-agent-intro {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  margin: 0 0 18px 0 !important;
  line-height: 1.5 !important;
}

/* 2. Modern Segmented Tab Toolbar (Yordamchi | Jamoa | Vositalar) */
.ig-agent-toolbar {
  display: flex !important;
  background: rgba(10, 15, 30, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 5px !important;
  gap: 6px !important;
  width: min(100%, 440px) !important;
  margin-bottom: 20px !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.ig-agent-toolbar .btn {
  flex: 1 !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 16px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ig-agent-toolbar .btn:hover {
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.ig-agent-toolbar .btn[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(3, 105, 161, 0.25)) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.2) !important;
}

/* Section Title */
#igAgents .ig-pro-section > h4 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin: 10px 0 16px 0 !important;
  letter-spacing: -0.01em !important;
}

/* 3. Modern Glass Accordion for ALL <details> and <summary> */
html[data-theme] #app.shell details {
  background: rgba(15, 23, 42, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  margin: 12px 0 !important;
  backdrop-filter: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html[data-theme] #app.shell details:hover {
  border-color: rgba(56, 189, 248, 0.25) !important;
  background: rgba(15, 23, 42, 0.75) !important;
}

html[data-theme] #app.shell details[open] {
  border-color: rgba(56, 189, 248, 0.3) !important;
  background: rgba(15, 23, 42, 0.8) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme] #app.shell summary {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  list-style: none !important;
  outline: none !important;
  min-height: 28px !important;
  padding: 0 !important;
}

html[data-theme] #app.shell summary::-webkit-details-marker {
  display: none !important;
}

/* Custom Animated Chevron for summaries */
html[data-theme] #app.shell summary::after {
  content: '' !important;
  width: 9px !important;
  height: 9px !important;
  border-right: 2px solid #94a3b8 !important;
  border-bottom: 2px solid #94a3b8 !important;
  transform: rotate(45deg) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
  flex-shrink: 0 !important;
  margin-left: 10px !important;
}

html[data-theme] #app.shell details[open] > summary::after {
  transform: rotate(-135deg) !important;
  border-color: #38bdf8 !important;
}

html[data-theme] #app.shell details[open] > summary {
  margin-bottom: 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* 4. Sleek Modern Form Controls (Inputs, Selects, Textareas) */
html[data-theme] #app.shell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html[data-theme] #app.shell select,
html[data-theme] #app.shell textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(10, 15, 30, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  color: #f8fafc !important;
  padding: 12px 14px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

/* Custom SVG Dropdown Arrow for Select */
html[data-theme] #app.shell select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 40px !important;
  cursor: pointer !important;
}

html[data-theme] #app.shell select option {
  background: #0f172a !important;
  color: #f8fafc !important;
  padding: 8px !important;
}

html[data-theme] #app.shell input:focus,
html[data-theme] #app.shell select:focus,
html[data-theme] #app.shell textarea:focus {
  border-color: #38bdf8 !important;
  background: rgba(10, 15, 30, 0.95) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

/* Labels */
html[data-theme] #app.shell label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  margin: 12px 0 6px 0 !important;
}

/* 5. Modern Buttons */
html[data-theme] #app.shell .btn {
  border-radius: 11px !important;
  padding: 10px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: #141923 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme] #app.shell .btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme] #app.shell .btn:is(.ig-primary, .primary, [type="submit"]) {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4) !important;
}

html[data-theme] #app.shell .btn:is(.ig-primary, .primary, [type="submit"]):hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.55), 0 0 16px rgba(56, 189, 248, 0.35) !important;
}

/* Actions Strip */
.ig-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 14px 0 6px 0 !important;
}

/* Secondary Storage / Footnote Notes */
.ig-storage {
  font-size: 12.5px !important;
  color: #94a3b8 !important;
  margin-top: 10px !important;
  line-height: 1.5 !important;
}

/* Technical Details Pre Code Block */
.ig-pro-result {
  background: rgba(8, 12, 22, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px !important;
  color: #38bdf8 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
}


/* Quick Notice (AI Check, Diagnostics, System alerts) */
html[data-theme] #app.shell .quick-notice,
.quick-notice {
  margin: 0 0 20px 0 !important;
  padding: 14px 20px !important;
  border-radius: 16px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #f8fafc !important;
  font-size: 13.5px !important;
  font-weight: 550 !important;
  line-height: 1.6 !important;
}

html[data-theme] #app.shell .quick-notice[hidden],
.quick-notice[hidden] {
  display: none !important;
}

html[data-theme] #app.shell .quick-notice.is-error,
.quick-notice.is-error {
  border-color: rgba(239, 68, 68, 0.45) !important;
  background: rgba(28, 12, 18, 0.9) !important;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: #fca5a5 !important;
}




/* Modern AI Status Cockpit Card */
.ai-status-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-status-card.checking {
  padding: 6px 0;
}
.ai-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ai-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 650;
  color: #f8fafc;
}
.ai-card-title small {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
  margin-left: 6px;
}
.ai-card-close {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  border-radius: 8px !important;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.ai-card-close:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
}
.ai-status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.ai-status-indicator.online {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}
.ai-status-indicator.offline {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}
.ai-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  animation: pulse-ring 1.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  flex: none;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.ai-chat-preview-box {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 12px;
  padding: 10px 14px;
}
.ai-chat-preview-box.error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
}
.ai-chat-preview-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.ai-chip-success {
  color: #38bdf8;
  font-weight: 600;
  font-size: 12.5px;
}
.ai-chip-err {
  color: #f87171;
  font-weight: 600;
  font-size: 12.5px;
}
.ai-prov-name {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  color: #cbd5e1;
}
.ai-reply-quote {
  margin: 4px 0 0;
  font-style: italic;
  color: #f1f5f9;
  font-size: 13.5px;
  border-left: 3px solid #38bdf8;
  padding-left: 10px;
}
.ai-active-models-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-strip-label {
  font-size: 12px;
  color: #94a3b8;
}
.ai-models-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ai-model-tag.active {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 550;
}
.ai-standby-details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.25);
}
.ai-standby-summary {
  cursor: pointer;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none !important;
  outline: none;
}
.ai-standby-summary::-webkit-details-marker,
.ai-standby-summary::marker {
  display: none !important;
}
.ai-standby-summary .chevron {
  transition: transform 0.2s ease;
}
.ai-standby-details[open] .ai-standby-summary .chevron {
  transform: rotate(180deg);
}
.ai-standby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.ai-standby-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 5px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.standby-name {
  font-size: 11.5px;
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}
.standby-status {
  font-size: 10.5px;
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 5px;
  border-radius: 4px;
}
.ai-card-actions {
  margin-top: 4px;
}
.ai-err-msg {
  margin: 0;
  font-size: 13px;
  color: #fca5a5;
}


/* ==============================================================================
   REAL AUTOMATION CONTROLS STYLES (No more static samples)
   ============================================================================== */
.cron-prompt-box {
  margin: 6px 0 !important;
}
.deck-input-sm {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  color: #f1f5f9 !important;
  font-size: 11.5px !important;
  transition: all 0.2s ease !important;
}
.deck-input-sm:focus {
  border-color: #38bdf8 !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25) !important;
}
.deck-select-sm {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  color: #38bdf8 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
.cron-result-drawer {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  font-size: 11px !important;
  color: #cbd5e1 !important;
  margin-top: 8px !important;
  line-height: 1.4 !important;
  animation: fadeIn 0.2s ease !important;
}
.trigger-control-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin-bottom: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  transition: border-color 0.2s ease !important;
}
.trigger-control-item:hover {
  border-color: rgba(56, 189, 248, 0.3) !important;
}
.trigger-head-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
.trigger-fields-grid {
  display: grid !important;
  grid-template-columns: 1fr 2fr auto !important;
  gap: 8px !important;
  align-items: center !important;
}
@media (max-width: 768px) {
  .trigger-fields-grid {
    grid-template-columns: 1fr !important;
  }
}
.webhook-response-box {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-family: ui-monospace, monospace !important;
  font-size: 11.5px !important;
  color: #10b981 !important;
  margin-top: 10px !important;
}
.n8n-live-events {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: 10px !important;
}
.n8n-event-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
}
.guardian-toggle-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
}
.guardian-toggles-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 10px !important;
  margin: 14px 0 !important;
}

/* ==============================================================================
   UZKIRO / SHADOW: HIGH-END MINIMALIST REDESIGN SYSTEM (2026)
   Linear / Vercel Aesthetic: Clean Bento, Quiet Gradients, Fast Information Flow
   ============================================================================== */

:root {
  --min-bg: #090b10;
  --min-card: rgba(15, 23, 42, 0.6);
  --min-card-hover: rgba(22, 32, 54, 0.75);
  --min-border: rgba(255, 255, 255, 0.08);
  --min-border-active: rgba(56, 189, 248, 0.35);
  --min-text-primary: #ffffff;
  --min-text-muted: #94a3b8;
  --min-text-dim: #94a3b8;
  --min-accent: #38bdf8;
  --min-emerald: #10b981;
}

html[data-theme] body[data-page="dashboard"] {
  background: var(--min-bg) !important;
  color: var(--min-text-primary) !important;
}

/* Hide Ancient Cluttered Duplicates on Modern Dashboard */
#overviewPanel > #simpleHome,
#overviewPanel > .simple-home,
#overviewPanel > .command-hero,
#overviewPanel > .route-panel,
#overviewPanel > .overview-duo,
#overviewPanel > .event-panel,
#overviewPanel > details {
  display: none !important;
}

/* Refined Cockpit Banner (Clean & Minimal) */
.cockpit-banner-modern {
  background: var(--min-card) !important;
  border: 1px solid var(--min-border) !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.cockpit-banner-modern::after {
  display: none !important;
}

.cockpit-avatar-spark {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  font-size: 18px !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  color: var(--min-accent) !important;
}

.cockpit-heading-text h1 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.cockpit-heading-text p {
  font-size: 12.5px !important;
  color: var(--min-text-muted) !important;
}

/* Telemetry Chips (Quiet & Compact) */
.telemetry-chip {
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-size: 11.5px !important;
  font-weight: 550 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--min-border) !important;
}

/* Minimalist Action Toolbar */
.cockpit-action-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.btn-vibe {
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  transition: all 0.18s ease !important;
}

.btn-vibe-cyan {
  background: #0284c7 !important;
  border: 1px solid #38bdf8 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
}

.btn-vibe-cyan:hover {
  background: #0ea5e9 !important;
  transform: translateY(-1px) !important;
}

.btn-vibe-glass {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--min-border) !important;
  color: #e2e8f0 !important;
}

.btn-vibe-glass:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

/* Minimalist KPI Metric Cards */
.overview-metrics-modern {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 22px !important;
}

.metric-card-modern {
  background: var(--min-card) !important;
  border: 1px solid var(--min-border) !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  transition: all 0.2s ease !important;
}

.metric-card-modern:hover {
  border-color: var(--min-border-active) !important;
  background: var(--min-card-hover) !important;
}

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

.metric-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--min-text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.metric-big-num {
  font-size: 20px !important;
  font-weight: 750 !important;
  color: #fff !important;
  margin-bottom: 4px !important;
}

.metric-caption {
  font-size: 11.5px !important;
  color: var(--min-text-dim) !important;
}

/* Minimalist Master Workspaces Dock */
.vibe-workspaces-dock {
  background: var(--min-card) !important;
  border: 1px solid var(--min-border) !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  margin-bottom: 22px !important;
}

.vibe-dock-header h2 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 4px !important;
}

.vibe-dock-header p {
  font-size: 12.5px !important;
  color: var(--min-text-muted) !important;
  margin: 0 !important;
}

.vibe-workspaces-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

.vibe-workspace-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--min-border) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}

.vibe-workspace-card:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: var(--min-border-active) !important;
  transform: translateY(-1px) !important;
}

.vibe-workspace-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  display: grid !important;
  place-items: center !important;
  font-size: 16px !important;
}

.vibe-workspace-meta strong {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  color: #fff !important;
}

.vibe-workspace-meta span {
  font-size: 11px !important;
  color: var(--min-text-dim) !important;
}

/* Minimalist Operations Hub Segmented Tabs */
.ops-hub-container {
  background: var(--min-card) !important;
  border: 1px solid var(--min-border) !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  margin-bottom: 30px !important;
}

.ops-tab-nav {
  display: inline-flex !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--min-border) !important;
  border-radius: 10px !important;
  padding: 3px !important;
  gap: 4px !important;
  margin-bottom: 18px !important;
}

.ops-tab-btn {
  border: none !important;
  background: transparent !important;
  color: var(--min-text-muted) !important;
  padding: 6px 14px !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}

.ops-tab-btn:hover {
  color: #fff !important;
}

.ops-tab-btn.active {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

.ops-tab-pane[hidden] {
  display: none !important;
}


/* ==============================================================================
   UZKIRO / SHADOW: HIGH-END MINIMALIST SETTINGS HUB & BENTO REDESIGN
   ============================================================================== */

/* Cockpit Power Shortcuts: Hide redundant top row */
.cockpit-power-shortcuts {
  display: none !important;
}

/* Settings Hub Layout */
.merged-page[data-group="settings"] {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 10px 0 60px !important;
}

/* In Settings Hub, hide all inactive member cards so NO accordion stack is shown */
.merged-page[data-group="settings"] > .merged-card:not(.is-open) {
  display: none !important;
}

/* Active card appearance */
.merged-page[data-group="settings"] > .merged-card.is-open {
  background: var(--min-card, rgba(15, 23, 42, 0.65)) !important;
  border: 1px solid var(--min-border, rgba(255, 255, 255, 0.08)) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden !important;
  animation: ptFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.merged-page[data-group="settings"] .merged-head {
  background: rgba(255, 255, 255, 0.02) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 16px 22px !important;
  min-height: 54px !important;
  cursor: default !important;
  pointer-events: none !important;
}

.merged-page[data-group="settings"] > .merged-card.is-open:not([data-merged-view="modelcatalog"]) > .merged-head {
  /* The page title above already names the open tab. */
  display: none !important;
}

.vibe-settings-hint {
  margin: -6px 4px 0 !important;
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

html[data-theme="light"] .vibe-settings-hint {
  color: #475569 !important;
}

.merged-page[data-group="settings"] .merged-head > i {
  display: none !important;
}

/* Settings Segmented Navigation Bar */
.vibe-settings-nav {
  display: flex !important;
  gap: 6px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 6px !important;
  overflow-x: auto !important;
  margin-bottom: 4px !important;
}

.vibe-settings-nav-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease !important;
  white-space: nowrap !important;
}
html[data-theme="light"] .vibe-settings-nav {
  background: rgba(241, 245, 249, 0.92) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}
html[data-theme="light"] .vibe-settings-nav-btn {
  color: #475569 !important;
}
html[data-theme="light"] .vibe-settings-nav-btn.active {
  color: #0369a1 !important;
  background: rgba(14, 165, 233, 0.12) !important;
  border-color: rgba(14, 165, 233, 0.35) !important;
}

.vibe-settings-nav-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.vibe-settings-nav-btn.active {
  color: #ffffff !important;
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.12) !important;
}

.vibe-settings-nav-btn span.tab-icon {
  font-size: 15px !important;
}

/* Sleek Compact Bento Grid for Open-Source AI Engines */
.vibe-engines-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: 12px !important;
  margin: 14px 0 24px !important;
}

.vibe-engine-card {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 140px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.vibe-engine-card:hover {
  background: rgba(22, 32, 54, 0.8) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.vibe-engine-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.vibe-engine-badge {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
}

.vibe-engine-stars {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
}

.vibe-engine-card h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 2px 0 4px !important;
}

.vibe-engine-card p {
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
}

/* Hide bulky tag clutter in minimalist view */
.vibe-engine-tags {
  display: none !important;
}

.btn-engine-run {
  height: 28px !important;
  padding: 0 10px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #e2e8f0 !important;
  align-self: flex-start !important;
  transition: all 0.18s ease !important;
}

.vibe-engine-card:hover .btn-engine-run {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #fff !important;
}

/* Compact Tasks Feed */
.vibe-tasks-feed-container {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
}

.vibe-feed-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.vibe-feed-header h3 {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 !important;
}

.vibe-task-item {
  padding: 10px 14px !important;
  min-height: 40px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}


/* ==============================================================================
   OBSIDIAN GLASS POWER TOOLS (AI Design Studio & Labs)
   ============================================================================== */
.power-tool-modern:not([hidden]),
#designStudioPanel:not([hidden]),
#apiLabPanel:not([hidden]),
#whisperStudioPanel:not([hidden]),
#botStudioPanel:not([hidden]),
#monetizationPanel:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  min-width: 0 !important;
  padding: 15px 0 60px !important;
  animation: ptFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#designStudioPanel .design-studio-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) !important;
  gap: 20px !important;
  width: 100% !important;
}

@media (max-width: 1080px) {
  #designStudioPanel .design-studio-grid {
    grid-template-columns: 1fr !important;
  }
}

.pt-hero-banner {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 22px 28px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
}

.pt-glass-card {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.theme-presets-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
  gap: 12px !important;
  margin: 8px 0 !important;
}

.theme-card-option {
  padding: 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.theme-card-option:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-2px) !important;
}

.theme-card-option.active {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.16) !important;
  transform: translateY(-2px) !important;
}

.component-stage {
  padding: 18px !important;
  border-radius: 14px !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.component-stage-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

/* ==============================================================================
   OBSIDIAN GLASS AI WORKSPACE (#aiWorkspaceRoot .sw-workspace)
   ============================================================================== */
#aiWorkspaceRoot .sw-workspace {
  background: rgba(11, 15, 25, 0.82) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  overflow: hidden !important;
}

#aiWorkspaceRoot .sw-history {
  background: rgba(15, 23, 42, 0.6) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: none !important;
}

#aiWorkspaceRoot .sw-new {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

#aiWorkspaceRoot .sw-new:hover {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  transform: translateY(-1px) !important;
}

#aiWorkspaceRoot .sw-toolbar {
  background: rgba(15, 23, 42, 0.55) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: none !important;
}

#aiWorkspaceRoot .sw-starters {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 12px !important;
}

#aiWorkspaceRoot .sw-starters button {
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  backdrop-filter: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

#aiWorkspaceRoot .sw-starters button:hover {
  background: rgba(22, 32, 54, 0.85) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 15px rgba(56, 189, 248, 0.15) !important;
}

#aiWorkspaceRoot .sw-composer {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4) !important;
}

#aiWorkspaceRoot .sw-composer textarea {
  color: #f8fafc !important;
}

#aiWorkspaceRoot .sw-composer textarea::placeholder {
  color: #64748b !important;
}

/* Code block terminal headers with macOS dots */
.sw-code {
  background: #090d16 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 14px 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.sw-code-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 14px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.sw-code-dots {
  display: inline-flex !important;
  gap: 6px !important;
  align-items: center !important;
}

.sw-code-dots i {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

.sw-code-dots i:nth-child(1) { background: #ff5f56 !important; }
.sw-code-dots i:nth-child(2) { background: #ffbd2e !important; }
.sw-code-dots i:nth-child(3) { background: #27c93f !important; }

.sw-code-lang {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
}

.sw-code-actions {
  display: flex !important;
  gap: 8px !important;
}

.sw-code-actions button,
.sw-copy-btn,
.sw-open-btn {
  padding: 4px 10px !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.sw-code-actions button:hover,
.sw-copy-btn:hover,
.sw-open-btn:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
}


/* === SERENE EXECUTIVE DASHBOARD REDESIGN === */
.zen-executive-hero {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6) 0%, rgba(10, 15, 28, 0.85) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 30px 34px !important;
  margin-bottom: 22px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.zen-status-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #34d399 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  width: fit-content !important;
  margin-bottom: 8px !important;
}

.zen-status-indicator {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 10px #10b981 !important;
  display: inline-block !important;
}

.zen-greeting-title {
  margin: 0 0 6px !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: #f8fafc !important;
}

.zen-greeting-desc {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  max-width: 650px !important;
}

.zen-action-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.zen-btn-action {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
}

.zen-btn-primary {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}
.zen-btn-primary:hover {
  background: #0369a1 !important;
  transform: translateY(-1px) !important;
}

.zen-btn-surface {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
}
.zen-btn-surface:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-1px) !important;
}

.zen-btn-ghost {
  background: transparent !important;
  color: #94a3b8 !important;
}
.zen-btn-ghost:hover {
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.zen-metrics-strip {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 22px !important;
}
@media (max-width: 860px) {
  .zen-metrics-strip {
    grid-template-columns: 1fr !important;
  }
}

.zen-metric-card {
  background: rgba(15, 23, 42, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.zen-metric-card:hover {
  background: rgba(20, 30, 52, 0.65) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-2px) !important;
}

.zen-dock-header {
  margin-bottom: 16px !important;
}
.zen-section-title {
  margin: 0 0 4px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
}
.zen-section-desc {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
}

.zen-workspaces-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}
@media (max-width: 760px) {
  .zen-workspaces-grid {
    grid-template-columns: 1fr !important;
  }
}

.zen-work-card {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 20px 22px !important;
  background: rgba(15, 23, 42, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.zen-work-card:hover {
  background: rgba(25, 38, 64, 0.65) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.zen-card-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 12px !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
}

.zen-card-meta strong {
  display: block !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  margin-bottom: 3px !important;
}
.zen-card-meta span {
  display: block !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
}

.zen-more-workspaces {
  border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
  padding-top: 12px !important;
  margin-top: 12px !important;
}
.zen-more-summary {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 4px !important;
}
.zen-more-summary:hover {
  color: #38bdf8 !important;
}
.zen-secondary-workspaces {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 10px !important;
  margin-top: 12px !important;
}
.zen-sub-card {
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  cursor: pointer !important;
}
.zen-sub-card:hover {
  background: rgba(56, 189, 248, 0.06) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

.zen-advanced-drawer {
  background: rgba(11, 16, 26, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 18px !important;
  margin-top: 24px !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
}
.zen-advanced-drawer[open] {
  background: rgba(11, 16, 26, 0.85) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}
.zen-drawer-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 24px !important;
  cursor: pointer !important;
  list-style: none !important;
  user-select: none !important;
}
.zen-drawer-summary::-webkit-details-marker {
  display: none !important;
}
.zen-drawer-summary-meta {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.zen-drawer-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
}
.zen-drawer-title {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
}
.zen-drawer-subtitle {
  display: block !important;
  font-size: 12px !important;
  color: #64748b !important;
}
.zen-drawer-action-badge {
  padding: 5px 12px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
}
.zen-drawer-summary:hover .zen-drawer-action-badge {
  background: rgba(56, 189, 248, 0.1) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}
.zen-drawer-body {
  padding: 20px 24px 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ==========================================================================
   Live overview (#ovLive), laid out like the owner's reference video (Amplo):
   greeting + facts, a replies card with a donut and an auto-reply strip, an activity
   chart with period tabs, a conversations table and a system status card.
   Every value is painted from real data by paintOverview() in dashboard.html.
   ========================================================================== */
html[data-theme] :is(#ovLive,#ovDrawer){--ov-card:rgba(14,17,24,.82);--ov-line:rgba(255,255,255,.07);--ov-soft:rgba(255,255,255,.04);--ov-ink:#f4f6fb;--ov-muted:#8b93a7;--ov-dim:#94a3b8;--ov-blue:#2563eb;color:var(--ov-ink)}
html[data-theme] #ovLive{display:grid;gap:16px;margin-bottom:22px}
html[data-theme] #ovLive .ov-hero{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;padding:4px 2px 6px}
html[data-theme] #ovLive .ov-hero-text{min-width:0;flex:1 1 360px}
html[data-theme] #ovLive .ov-title{margin:0 0 10px;font-size:clamp(26px,2.8vw,34px);line-height:1.1;font-weight:600;letter-spacing:-.025em;color:var(--ov-ink);overflow-wrap:anywhere}
html[data-theme] #ovLive .ov-facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0;font-size:13px;color:var(--ov-muted)}
html[data-theme] #ovLive .ov-fact::before{content:"·";margin-right:14px;color:var(--ov-dim)}
html[data-theme] #ovLive .ov-pill{display:inline-flex;align-items:center;gap:7px;color:#4ade80;font-weight:500}
html[data-theme] #ovLive .ov-pill i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(74,222,128,.15)}
html[data-theme] #ovLive .ov-pill[data-state="warning"]{color:#fbbf24}
html[data-theme] #ovLive .ov-pill[data-state="warning"] i{box-shadow:0 0 0 3px rgba(251,191,36,.15)}
html[data-theme] #ovLive .ov-pill[data-state="loading"]{color:var(--ov-muted)}
html[data-theme] #ovLive .ov-actions{display:flex;flex-wrap:wrap;gap:10px}
html[data-theme] #ovLive .ov-btn{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:12px;border:1px solid var(--ov-line);background:var(--ov-card);color:var(--ov-ink);font:inherit;font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s}
html[data-theme] #ovLive .ov-btn:hover{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.06)}
html[data-theme] #ovLive .ov-btn-primary{background:var(--ov-blue);border-color:var(--ov-blue);color:#fff;box-shadow:0 6px 20px rgba(59,130,246,.35)}
html[data-theme] #ovLive .ov-btn-primary:hover{background:#2563eb;border-color:#2563eb}
html[data-theme] #ovLive .ov-row{display:grid;gap:16px;min-width:0}
html[data-theme] #ovLive .ov-row-top{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
html[data-theme] #ovLive .ov-row-bottom{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
html[data-theme] #ovLive .ov-card{position:relative;min-width:0;padding:20px 22px;border-radius:18px;border:1px solid var(--ov-line);background:var(--ov-card);backdrop-filter: none;-webkit-backdrop-filter: none}
html[data-theme] #ovLive .ov-card h3{margin:0;font-size:15px;font-weight:600;color:var(--ov-ink)}
html[data-theme] #ovLive .ov-card-sub{margin:3px 0 0;font-size:12.5px;color:var(--ov-muted)}
html[data-theme] #ovLive .ov-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
html[data-theme] #ovLive .ov-big{display:block;margin:14px 0 4px;font-size:clamp(30px,3vw,38px);line-height:1;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--ov-ink)}
html[data-theme] #ovLive .ov-muted{font-size:12.5px;color:var(--ov-muted)}
/* replies card ("wallet") */
html[data-theme] #ovLive .ov-wallet{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 18px;align-items:center}
html[data-theme] #ovLive .ov-wallet>.ov-autopilot{grid-column:1/-1}
html[data-theme] #ovLive .ov-donut-note{font-size:11.5px;color:var(--ov-dim);text-align:center}
html[data-theme] #ovLive .ov-wallet-main{min-width:0}
html[data-theme] #ovLive .ov-substats{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:12px 26px;margin:14px 0 0}
html[data-theme] #ovLive .ov-substats div{min-width:0}
html[data-theme] #ovLive .ov-substats dt{font-size:12px;color:var(--ov-muted);white-space:nowrap}
html[data-theme] #ovLive .ov-substats dd{margin:3px 0 0;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ov-ink);white-space:nowrap}
html[data-theme] #ovLive .ov-autopilot{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid var(--ov-line);background:var(--ov-soft)}
html[data-theme] #ovLive .ov-autopilot-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(59,130,246,.15);color:#60a5fa}
html[data-theme] #ovLive .ov-autopilot-text{display:grid;min-width:0}
html[data-theme] #ovLive .ov-autopilot-text strong{font-size:13.5px;font-weight:600}
html[data-theme] #ovLive .ov-autopilot-text small{font-size:12px;color:var(--ov-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] #ovLive #vibeAutoReplyText{color:#f87171}
html[data-theme] #ovLive #vibeAutoReplyText[data-on="1"]{color:#4ade80}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-chip-btn{min-height:32px;padding:0 14px;border-radius:9px;border:0;background:var(--ov-blue);color:#fff;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-chip-btn:hover{background:#2563eb}
html[data-theme] #ovLive .ov-donut-wrap{display:grid;justify-items:center;gap:14px}
html[data-theme] #ovLive .ov-donut{--ov-donut:conic-gradient(rgba(255,255,255,.08) 0 100%);position:relative;display:grid;place-items:center;width:164px;height:164px;border-radius:50%;background:var(--ov-donut);box-shadow:0 0 40px rgba(59,130,246,.12)}
html[data-theme] #ovLive .ov-donut::before{content:"";position:absolute;inset:16px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#151a26,#0a0c12 70%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
html[data-theme] #ovLive .ov-donut-core{position:relative;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#60a5fa,#1d4ed8);box-shadow:0 8px 30px rgba(37,99,235,.45);color:#fff;text-align:center}
html[data-theme] #ovLive .ov-donut-core b{font-size:20px;line-height:1;font-weight:700}
html[data-theme] #ovLive .ov-donut-core small{font-size:11px;opacity:.85}
html[data-theme] #ovLive .ov-legend{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,auto));gap:6px 16px}
html[data-theme] #ovLive .ov-legend li{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ov-muted);white-space:nowrap}
html[data-theme] #ovLive .ov-legend li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
html[data-theme] #ovLive .ov-legend b{margin-left:auto;padding-left:6px;color:var(--ov-ink);font-weight:600}
/* activity chart */
html[data-theme] #ovLive .ov-seg{display:inline-flex;gap:2px;padding:3px;border-radius:10px;border:1px solid var(--ov-line);background:var(--ov-soft)}
html[data-theme] #ovLive .ov-seg button{min-height:28px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--ov-muted);font:inherit;font-size:12.5px;font-weight:500;cursor:pointer;white-space:nowrap}
html[data-theme] #ovLive .ov-seg button[aria-selected="true"]{background:rgba(255,255,255,.1);color:var(--ov-ink)}
html[data-theme] #ovLive .ov-seg b{margin-left:4px;padding:0 6px;border-radius:999px;background:var(--ov-blue);color:#fff;font-size:11px}
html[data-theme] #ovLive .ov-activity-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 10px}
html[data-theme] #ovLive .ov-activity-top .ov-big{margin:0}
html[data-theme] #ovLive .ov-delta{padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600;background:rgba(74,222,128,.14);color:#4ade80}
html[data-theme] #ovLive .ov-delta[data-dir="down"]{background:rgba(248,113,113,.14);color:#f87171}
html[data-theme] #ovLive .ov-peak{margin-left:auto;padding:4px 10px;border:1px solid transparent;border-radius:999px;background:rgba(59,130,246,.14);color:#93c5fd;font:inherit;font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}
html[data-theme] #ovLive .ov-peak:hover{border-color:rgba(56,189,248,.45);background:rgba(56,189,248,.18)}
html[data-theme] #ovLive .ov-chart{position:relative;height:190px;margin-top:12px}
html[data-theme] #ovLive .ov-chart svg{width:100%;height:100%;overflow:visible;display:block}
html[data-theme] #ovLive .ov-grid-line{stroke:rgba(255,255,255,.06);stroke-width:1}
html[data-theme] #ovLive .ov-crosshair{stroke:rgba(56,189,248,.5);stroke-width:1.2;stroke-dasharray:3 3;pointer-events:none}
html[data-theme] #ovLive .ov-axis{fill:var(--ov-dim);font-size:10px}
html[data-theme] #ovLive .ov-axis-day{cursor:pointer;transition:fill .15s ease}
html[data-theme] #ovLive .ov-axis-day:hover,html[data-theme] #ovLive .ov-axis-day.is-selected{fill:#38bdf8;font-weight:700}
html[data-theme] #ovLive .ov-line-reply{fill:none;stroke:#3b82f6;stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
html[data-theme] #ovLive .ov-line-in{fill:none;stroke:#94a3b8;stroke-width:1.6;stroke-dasharray:4 4;vector-effect:non-scaling-stroke;opacity:.85}
html[data-theme] #ovLive .ov-pt{pointer-events:none}
html[data-theme] #ovLive .ov-pt-reply{fill:#3b82f6;stroke:#07090e;stroke-width:1.5}
html[data-theme] #ovLive .ov-pt-in{fill:#94a3b8;stroke:#07090e;stroke-width:1.5}
html[data-theme] #ovLive .ov-pt-active{pointer-events:none;stroke:#fff;stroke-width:2}
html[data-theme] #ovLive .ov-active-reply{fill:#38bdf8}
html[data-theme] #ovLive .ov-active-in{fill:#cbd5e1}
html[data-theme] #ovLive .ov-hit{fill:transparent;cursor:pointer}
html[data-theme] #ovLive .ov-chart-tip{position:absolute;transform:translate(-50%,-100%);pointer-events:none;z-index:5;display:flex;flex-direction:column;gap:2px;min-width:142px;padding:8px 11px;border-radius:10px;border:1px solid rgba(56,189,248,.35);background:rgba(7,9,14,.94);color:#f8fafc;font-size:12px;line-height:1.4;box-shadow:0 10px 26px rgba(0,0,0,.55);white-space:nowrap}
html[data-theme] #ovLive .ov-chart-tip.is-below{transform:translate(-50%,0)}
html[data-theme] #ovLive .ov-chart-tip[hidden]{display:none}
html[data-theme] #ovLive .ov-chart-tip strong{font-size:12px;font-weight:700;color:#38bdf8}
html[data-theme] #ovLive .ov-tip-row{font-size:11.5px;color:#e2e8f0}
html[data-theme] #ovLive .ov-tip-row.is-in{color:#94a3b8}
html[data-theme] #ovLive .ov-chart-legend{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 0;padding:0;font-size:12px;color:var(--ov-muted)}
html[data-theme] #ovLive .ov-chart-legend li{display:flex;align-items:center}
html[data-theme] #ovLive .ov-legend-btn{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:4px 10px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.03);color:var(--ov-ink);font:inherit;font-size:12px;font-weight:500;cursor:pointer;transition:border-color .16s ease,opacity .16s ease,background-color .16s ease}
html[data-theme] #ovLive .ov-legend-btn:hover{border-color:rgba(56,189,248,.4);background:rgba(56,189,248,.08)}
html[data-theme] #ovLive .ov-check{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:4px;border:1px solid rgba(56,189,248,.65);background:#3b82f6;color:#fff;font-size:10px;font-weight:800;line-height:1}
html[data-theme] #ovLive li[data-series="incoming"] .ov-check{background:#64748b;border-color:#94a3b8}
html[data-theme] #ovLive li.is-off .ov-legend-btn{opacity:.48;color:var(--ov-muted)}
html[data-theme] #ovLive li.is-off .ov-check{background:transparent;color:transparent;border-color:rgba(255,255,255,.25)}
html[data-theme] #ovLive .ov-swatch{width:14px;height:3px;border-radius:2px;background:#3b82f6}
html[data-theme] #ovLive li[data-series="incoming"] .ov-swatch{background:repeating-linear-gradient(90deg,#94a3b8 0 4px,transparent 4px 7px)}
html[data-theme] #ovLive .ov-chart-note{margin:8px 0 0;font-size:12.5px;color:var(--ov-muted)}
/* conversations table */
html[data-theme] #ovLive .ov-table{display:grid}
html[data-theme] #ovLive .ov-tr{display:grid;grid-template-columns:32px minmax(0,1.3fr) minmax(0,1.5fr) 96px 78px;align-items:center;gap:12px;padding:10px 6px;border-top:1px solid var(--ov-line)}
html[data-theme] #ovLive .ov-th{padding-top:4px;border-top:0;font-size:11.5px;font-weight:500;color:var(--ov-dim);text-transform:uppercase;letter-spacing:.06em}
html[data-theme] #ovLive .ov-tbody{display:grid}
html[data-theme] #ovLive .ov-tbody[aria-busy="true"]:empty{min-height:150px;border-radius:12px;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(255,255,255,.06),rgba(255,255,255,.02));background-size:200% 100%;animation:ovShimmer 1.4s linear infinite}
@keyframes ovShimmer{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){html[data-theme] #ovLive .ov-tbody[aria-busy="true"]:empty{animation:none}}
html[data-theme] #ovLive .ov-num{font-size:12px;color:var(--ov-dim);font-variant-numeric:tabular-nums}
html[data-theme] #ovLive .ov-who{display:flex;align-items:center;gap:10px;min-width:0}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-avatar{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;font-size:13px;font-weight:700;color:#fff;background:linear-gradient(135deg,#0ea5e9,#2563eb)}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-avatar[data-channel="instagram"]{background:linear-gradient(135deg,#f472b6,#a855f7)}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-who-text{display:grid;min-width:0}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-who-text strong{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-who-text small,html[data-theme] #ovLive .ov-msg{font-size:12.5px;color:var(--ov-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] #ovLive .ov-status{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:500;background:rgba(74,222,128,.12);color:#4ade80;white-space:nowrap}
html[data-theme] #ovLive .ov-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
html[data-theme] #ovLive .ov-status[data-kind="manual"]{background:rgba(148,163,184,.12);color:#cbd5e1}
html[data-theme] #ovLive .ov-status[data-kind="unread"]{background:rgba(59,130,246,.16);color:#93c5fd}
html[data-theme] #ovLive .ov-tr .ov-chip-btn{background:#f4f6fb;color:#0b0d12}
html[data-theme] #ovLive .ov-tr .ov-chip-btn:hover{background:#fff}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-empty{margin:6px 0 0;padding:26px 12px;text-align:center;color:var(--ov-muted);font-size:13.5px;border:1px dashed var(--ov-line);border-radius:12px}
/* system status card */
html[data-theme] #ovLive .ov-ring{--p:0;flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:radial-gradient(closest-side,#0e1118 76%,transparent 78% 100%),conic-gradient(var(--ov-blue) calc(var(--p)*1%),rgba(255,255,255,.08) 0)}
html[data-theme] #ovLive .ov-ring b{font-size:13px;font-weight:700}
html[data-theme] #ovLive .ov-progress{height:6px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;margin-bottom:8px}
html[data-theme] #ovLive .ov-progress span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#3b82f6,#60a5fa);transition:width .6s cubic-bezier(.65,0,.35,1)}
html[data-theme] #ovLive .ov-checks{list-style:none;margin:0;padding:0;display:grid}
html[data-theme] #ovLive .ov-checks li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:2px 12px;padding:10px 2px;border-top:1px solid var(--ov-line)}
html[data-theme] #ovLive .ov-checks li:first-child{border-top:0}
html[data-theme] #ovLive .ov-checks li::before{content:"";grid-row:1/span 2;width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,.14)}
html[data-theme] #ovLive .ov-checks li[data-ok="0"]::before{background:#fbbf24;box-shadow:0 0 0 3px rgba(251,191,36,.14)}
html[data-theme] #ovLive .ov-check-name{font-size:13.5px;font-weight:600}
html[data-theme] #ovLive .ov-checks small{grid-column:2;font-size:12.5px;color:var(--ov-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] #ovLive .ov-checks li>:is(.ov-chip-btn,.ov-ok){grid-column:3;grid-row:1/span 2}
html[data-theme] #ovLive .ov-ok{font-size:12px;color:var(--ov-dim)}
@media (max-width:1180px){html[data-theme] #ovLive :is(.ov-row-top,.ov-row-bottom){grid-template-columns:minmax(0,1fr)}}
@media (max-width:720px){
 html[data-theme] #ovLive .ov-wallet{grid-template-columns:minmax(0,1fr)}
 html[data-theme] #ovLive .ov-card{padding:16px}
 html[data-theme] #ovLive .ov-actions{width:100%}
 html[data-theme] #ovLive .ov-btn{flex:1 1 calc(50% - 10px);justify-content:center}
 html[data-theme] #ovLive .ov-card-head{flex-wrap:wrap}
 html[data-theme] #ovLive .ov-th{display:none}
 html[data-theme] #ovLive .ov-tr{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}
 html[data-theme] #ovLive .ov-num{display:none}
 html[data-theme] #ovLive .ov-msg{grid-column:1/-1;grid-row:2}
 html[data-theme] #ovLive .ov-tr>:nth-child(4){grid-column:2;grid-row:1}
 html[data-theme] #ovLive .ov-tr>:nth-child(5){display:none}
 html[data-theme] #ovLive .ov-peak{margin-left:0}
}
/* quick actions: ask Shadow AI + one-click jobs */
html[data-theme] #ovLive .ov-quick{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px}
html[data-theme] #ovLive .ov-ask{display:flex;align-items:center;gap:10px;min-width:0;padding:6px 6px 6px 14px;border-radius:14px;border:1px solid var(--ov-line);background:var(--ov-card)}
html[data-theme] #ovLive .ov-ask:focus-within{border-color:rgba(59,130,246,.55);box-shadow:0 0 0 3px rgba(59,130,246,.15)}
html[data-theme] #ovLive .ov-ask-icon{display:grid;color:#a78bfa}
html[data-theme] #ovLive .ov-ask input{flex:1;min-width:0;height:36px;border:0;background:transparent;color:var(--ov-ink);font:inherit;font-size:14px;outline:none}
html[data-theme] #ovLive .ov-ask input::placeholder{color:var(--ov-dim)}
html[data-theme] #ovLive .ov-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
html[data-theme] #ovLive .ov-qa{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:48px;padding:8px 12px;border-radius:14px;border:1px solid var(--ov-line);background:var(--ov-card);color:var(--ov-ink);font:inherit;font-size:12.5px;font-weight:500;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
html[data-theme] #ovLive .ov-qa svg{color:#60a5fa}
html[data-theme] #ovLive .ov-qa:hover{border-color:rgba(59,130,246,.4);background:rgba(59,130,246,.08)}
/* clickable table rows */
html[data-theme] #ovLive .ov-tbody .ov-tr{cursor:pointer;border-radius:10px;transition:background .15s}
html[data-theme] #ovLive .ov-tbody .ov-tr:hover{background:rgba(255,255,255,.03)}
html[data-theme] #ovLive .ov-tbody .ov-tr:focus-visible{outline:2px solid var(--ov-blue);outline-offset:-2px}
html[data-theme] #ovLive .ov-tr{grid-template-columns:32px minmax(0,1.3fr) minmax(0,1.5fr) 96px 112px}
/* accounts list */
html[data-theme] #ovLive .ov-accounts{margin-top:14px;padding-top:12px;border-top:1px solid var(--ov-line)}
html[data-theme] #ovLive .ov-sub-head{margin-bottom:6px;align-items:center}
html[data-theme] #ovLive .ov-sub-head h4{margin:0;font-size:13px;font-weight:600;color:var(--ov-muted);text-transform:uppercase;letter-spacing:.06em}
html[data-theme] #ovLive .ov-acc-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
html[data-theme] #ovLive .ov-acc-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 2px;font-size:13px}
html[data-theme] #ovLive .ov-acc-list li::before{content:"";width:7px;height:7px;border-radius:50%;background:#4ade80}
html[data-theme] #ovLive .ov-acc-list li[data-state="off"]::before{background:#64748b}
html[data-theme] #ovLive .ov-acc-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] #ovLive .ov-acc-list small{color:var(--ov-muted);font-size:12px;white-space:nowrap}
/* reply drawer */
html[data-theme] #ovDrawer.ov-drawer{position:fixed;top:16px;right:16px;bottom:16px;z-index:2147483000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(420px,calc(100vw - 32px));border-radius:20px;border:1px solid rgba(255,255,255,.1);background:rgba(10,12,18,.96);backdrop-filter: none;-webkit-backdrop-filter: none;box-shadow:0 30px 80px rgba(0,0,0,.6);animation:ovDrawerIn .28s cubic-bezier(.2,.8,.2,1)}
html[data-theme] #ovDrawer.ov-drawer[hidden]{display:none}
@keyframes ovDrawerIn{from{transform:translateX(24px);opacity:0}}
@media (prefers-reduced-motion:reduce){html[data-theme] #ovDrawer.ov-drawer{animation:none}}
html[data-theme] #ovDrawer .ov-drawer-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:14px 14px 12px 16px;border-bottom:1px solid var(--ov-line)}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-icon-btn{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;border:1px solid var(--ov-line);background:var(--ov-soft);color:var(--ov-ink);cursor:pointer}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-icon-btn:hover{background:rgba(255,255,255,.08)}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-thread{display:flex;flex-direction:column;gap:8px;padding:16px;overflow-y:auto;overscroll-behavior:contain}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-thread[aria-busy="true"]:empty{background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(255,255,255,.06),rgba(255,255,255,.02));background-size:200% 100%;animation:ovShimmer 1.4s linear infinite}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-bubble{max-width:82%;padding:8px 12px;border-radius:14px 14px 14px 4px;background:rgba(255,255,255,.07);align-self:flex-start}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-bubble.out{align-self:flex-end;border-radius:14px 14px 4px 14px;background:var(--ov-blue)}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-bubble p{margin:0;font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;color:#fff}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-bubble time{display:block;margin-top:2px;font-size:11px;color:rgba(255,255,255,.6);text-align:right}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;border-top:1px solid var(--ov-line)}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-compose textarea{min-height:42px;max-height:140px;padding:10px 12px;border-radius:12px;border:1px solid var(--ov-line);background:var(--ov-soft);color:var(--ov-ink);font:inherit;font-size:14px;resize:none;field-sizing:content}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-compose textarea:focus{outline:none;border-color:rgba(59,130,246,.55)}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-send{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;border:0;background:var(--ov-blue);color:#fff;cursor:pointer}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-send:disabled,html[data-theme] :is(#ovLive,#ovDrawer) .ov-compose textarea:disabled{opacity:.5;cursor:not-allowed}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-compose-note{grid-column:1/-1;margin:0;font-size:12px;color:var(--ov-muted)}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-compose-note:empty{display:none}
@media (max-width:1180px){html[data-theme] #ovLive .ov-quick{grid-template-columns:minmax(0,1fr)}}
@media (max-width:720px){
 html[data-theme] #ovLive .ov-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-theme] #ovDrawer.ov-drawer{top:0;right:0;bottom:0;width:100vw;border-radius:0}
 html[data-theme] #ovDrawer .ov-drawer-head{grid-template-columns:auto minmax(0,1fr) auto}
 html[data-theme] :is(#ovLive,#ovDrawer) #ovDrawerFull{display:none}
 html[data-theme] #ovLive .ov-tr{grid-template-columns:minmax(0,1fr) auto}
}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-link{min-height:0;border:0;background:none;padding:4px 2px;color:#60a5fa;font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
html[data-theme] :is(#ovLive,#ovDrawer) .ov-link:hover{text-decoration:underline;background:none}

/* Live bridge status pills (set by vibeRefreshBridges from a real check). */
.bridge-status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 650; border: 1px solid rgba(255, 255, 255, 0.12); color: #cbd5e1; background: rgba(148, 163, 184, 0.12); }
.bridge-status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
.bridge-status-pill.pill-ok { color: #34d399; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.35); }
.bridge-status-pill.pill-off { color: #fbbf24; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); }
.bridge-status-pill.pill-error { color: #f87171; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); }
.bridge-status-pill.pill-paused { color: #94a3b8; }
/* A status chip whose switch is off: no pulse, muted colours. */
.telemetry-chip.chip-dim { opacity: .62; filter: saturate(.4); }
.telemetry-chip.chip-dim [class^="pulse-"] { animation: none !important; opacity: .5; }

/* Phones: three agent tabs in ~390px used to break "Yordamchi"/"Vositalar" mid-word; tighter padding keeps whole words. */
@media (max-width: 480px) {
  .ig-agent-toolbar .btn { padding: 0 6px !important; font-size: 13px !important; white-space: nowrap !important; min-width: 0 !important; }
}
