:root {
  /* Color Palette - Premium Dark Theme */
  --bg-deepest: #0a0a1a;
  --bg-cards: #1a1a2e;
  --bg-hover: #16213e;
  
  --accent-blue: #4361ee;
  --accent-green: #06d6a0;
  --accent-yellow: #ffd166;
  --accent-red: #ef476f;
  --accent-purple: #7209b6;
  
  --text-main: #ffffff;
  --text-muted: #a0a0b8;
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
  
  /* Typography Variables */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-deepest);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  /* Smooth gradient background effect */
  background-image: radial-gradient(circle at top right, rgba(67, 97, 238, 0.12), transparent 40%),
                    radial-gradient(circle at bottom left, rgba(114, 9, 182, 0.12), transparent 40%);
  background-attachment: fixed;
}

/* Utility Classes */
.mt-4 { margin-top: 1.5rem; }
.accent-green { color: var(--accent-green) !important; }
.accent-blue { color: var(--accent-blue) !important; }
.accent-purple { color: var(--accent-purple) !important; }

/* Glass Panel Base Component */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* App Layout */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* -------------------------------------
   Sidebar Navigation
------------------------------------- */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--bg-cards) 0%, var(--bg-deepest) 100%);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
}

.sidebar-header {
  padding: 2rem 1.5rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.accent-alpha {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-nav {
  flex: 1;
  padding: 0 1rem;
}

.nav-list {
  list-style: none;
}

.nav-item {
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-main);
  transform: translateX(4px);
}

.nav-item.active {
  background: rgba(67, 97, 238, 0.15);
  color: var(--accent-blue);
  border-left: 3px solid var(--accent-blue);
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.user-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-all;
}

/* -------------------------------------
   Main Content Layout
------------------------------------- */
.main-content {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
}

/* Header Bar */
.top-header {
  height: 80px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--glass-border);
}

.header-gradient-line {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-purple), transparent);
  animation: shimmer 3s infinite linear;
  background-size: 200% auto;
}

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

.header-title h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.search-bar input {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  outline: none;
  width: 250px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.search-bar input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
  width: 280px;
}

.quick-stats-header {
  display: flex;
  gap: 1rem;
}

.stat-pill {
  font-size: 0.85rem;
  background: var(--bg-hover);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  font-weight: 500;
}

.notification-bell {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.notification-bell:hover {
  transform: scale(1.1);
}

.badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent-red);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 0 8px var(--accent-red);
}

/* Content Wrapper */
.content-wrapper {
  padding: 2rem;
  flex: 1;
}

/* View Sections */
.page-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.page-section.active {
  display: block;
}

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

/* -------------------------------------
   Dashboard Elements
------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.5rem;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(67, 97, 238, 0.15);
  border-color: rgba(67, 97, 238, 0.3);
}

.stat-card h3 {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #fff, #e0e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-trend {
  font-size: 0.85rem;
  font-weight: 500;
}

.stat-trend.positive { color: var(--accent-green); }
.stat-trend.neutral { color: var(--text-muted); }

/* Charts */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.chart-container {
  padding: 1.5rem;
  height: 380px;
}

.chart-container h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: var(--text-main);
}

/* Tables */
.recent-products {
  padding: 1.5rem;
}

.recent-products h3 {
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--glass-border);
}

td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
  font-size: 0.95rem;
}

tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* Badges & Pills */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  box-shadow: 0 0 10px rgba(6, 214, 160, 0.2);
}
.score-badge.yellow {
  background: rgba(255, 209, 102, 0.1);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.2);
}
.score-badge.red {
  background: rgba(239, 71, 111, 0.1);
  border-color: var(--accent-red);
  color: var(--accent-red);
  box-shadow: 0 0 10px rgba(239, 71, 111, 0.2);
}

.status-pill {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-go {
  background: rgba(6, 214, 160, 0.15);
  color: var(--accent-green);
  box-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
  border: 1px solid rgba(6, 214, 160, 0.3);
}

.status-caution {
  background: rgba(255, 209, 102, 0.15);
  color: var(--accent-yellow);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.status-discard {
  background: rgba(239, 71, 111, 0.15);
  color: var(--accent-red);
  box-shadow: 0 0 10px rgba(239, 71, 111, 0.3);
  border: 1px solid rgba(239, 71, 111, 0.3);
}

.trust-bar {
  height: 6px;
  background: var(--bg-hover);
  border-radius: 3px;
  width: 80px;
  display: inline-block;
  margin-right: 10px;
  overflow: hidden;
  vertical-align: middle;
}

.trust-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  border-radius: 3px;
}

/* -------------------------------------
   Productos Section
------------------------------------- */
.filters-bar {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.filter-group input, .filter-group select {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}
.filter-group input:focus, .filter-group select:focus {
  border-color: var(--accent-blue);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.product-card {
  padding: 1.5rem;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(67, 97, 238, 0.4);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.3;
}

.card-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}
.metric .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metric .value {
  font-weight: 700;
  font-size: 1.2rem;
}

/* -------------------------------------
   Scoring Section
------------------------------------- */
.scoring-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.scoring-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.live-score-container {
  display: flex;
  gap: 3rem;
  padding: 1.5rem 2.5rem;
  align-items: center;
  border-left: 4px solid var(--accent-blue);
}

.score-display {
  display: flex;
  flex-direction: column;
}

.score-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 600;
}

.score-value {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.trust-gauge {
  font-size: 1.1rem;
}

.scoring-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.score-panel {
  padding: 1.5rem;
}

.score-panel h3 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--accent-blue);
  font-family: var(--font-heading);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
}

.slider-group {
  margin-bottom: 1.5rem;
}

.slider-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

input[type=range] {
  width: 100%;
  accent-color: var(--accent-blue);
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  outline: none;
}

/* -------------------------------------
   Financiero Section
------------------------------------- */
.finance-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
}

.calculator-panel {
  padding: 2rem;
}

.calculator-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.form-group input:focus {
  border-color: var(--accent-green);
  outline: none;
}

.divider {
  border: 0;
  height: 1px;
  background: var(--glass-border);
  margin: 1.5rem 0;
}

.calc-row, .result-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.calc-row span:last-child {
  font-family: monospace;
  color: var(--text-main);
}

.result-row {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-main);
}
.result-row.total {
  font-size: 1.4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--glass-border);
}

.charts-panel {
  padding: 2rem;
}

.charts-panel h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.break-even-analysis {
  background: rgba(67, 97, 238, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(67, 97, 238, 0.2);
}

.break-even-analysis h4 {
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

/* -------------------------------------
   Pipeline Section (Kanban)
------------------------------------- */
.kanban-board {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  min-height: 70vh;
}

.kanban-column {
  min-width: 300px;
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
}

.column-header {
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  border-bottom: 2px solid rgba(255,255,255,0.05);
  padding-bottom: 0.5rem;
}

.column-header .count {
  background: rgba(255,255,255,0.1);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-family: var(--font-body);
}

.kanban-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kanban-card {
  background: var(--bg-cards);
  border: 1px solid var(--glass-border);
  padding: 1.2rem;
  border-radius: 8px;
  cursor: grab;
  transition: box-shadow 0.2s, transform 0.2s;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.kanban-card:active {
  cursor: grabbing;
  transform: scale(0.98);
}

.kanban-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 4px 15px rgba(114, 9, 182, 0.2);
}

/* -------------------------------------
   Agentes Section
------------------------------------- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.agent-card {
  padding: 1.8rem;
}

.agent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.agent-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent-blue);
}

.pulse-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.pulse-indicator.active {
  background-color: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
  animation: pulse 2s infinite;
}

.pulse-indicator.idle {
  background-color: var(--text-muted);
}

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

.agent-role {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.agent-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.activity-log {
  padding: 1.5rem 2rem;
}

.activity-log h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.log-list {
  list-style: none;
}

.log-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.95rem;
  color: var(--text-main);
}

.log-list li:last-child {
  border-bottom: none;
}

.log-list li .time {
  color: var(--text-muted);
  margin-right: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* -------------------------------------
   Scrollbar & Utilities
------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deepest);
}
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   MODAL OVERLAY
   ═══════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal-content {
  max-width: 850px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 2rem;
  background: var(--bg-cards);
  border: 1px solid var(--glass-border);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.modal-header h2 {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.close-btn:hover { color: var(--accent-red); }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: var(--accent-blue);
}

.modal-body .calc-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-body .calc-row.total {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  border-top: 1px solid var(--glass-border);
  padding-top: 10px;
  margin-top: 6px;
}

.modal-body .divider {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin: 8px 0;
}

/* Non-Negotiables Grid */
.nn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nn-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
}

.nn-item.pass { border-color: rgba(6, 214, 160, 0.3); }
.nn-item.fail { border-color: rgba(239, 71, 111, 0.3); background: rgba(239, 71, 111, 0.05); }

.notes-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════
   DYNAMIC PRODUCT CARDS (generated by app.js)
   ═══════════════════════════════════════════════ */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--glass-border);
}

.category-tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(67, 97, 238, 0.15);
  color: var(--accent-blue);
  font-weight: 500;
}

.price-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-green);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   SCORING LIVE DISPLAY COLORS
   ═══════════════════════════════════════════════ */
.score-go { color: var(--accent-green) !important; }
.score-caution { color: var(--accent-yellow) !important; }
.score-discard { color: var(--accent-red) !important; }

.verdict-go { border-color: rgba(6, 214, 160, 0.4) !important; box-shadow: 0 0 30px rgba(6, 214, 160, 0.1); }
.verdict-caution { border-color: rgba(255, 209, 102, 0.4) !important; box-shadow: 0 0 30px rgba(255, 209, 102, 0.1); }
.verdict-discard { border-color: rgba(239, 71, 111, 0.4) !important; box-shadow: 0 0 30px rgba(239, 71, 111, 0.1); }

.slider-value {
  display: inline-block;
  min-width: 32px;
  text-align: center;
  font-weight: 600;
  color: var(--accent-blue);
  font-size: 0.9rem;
  margin-left: 8px;
}

/* Score badge color variants */
.score-badge.green { background: linear-gradient(135deg, rgba(6,214,160,0.2), rgba(6,214,160,0.05)); border-color: var(--accent-green); color: var(--accent-green); }
.score-badge.yellow { background: linear-gradient(135deg, rgba(255,209,102,0.2), rgba(255,209,102,0.05)); border-color: var(--accent-yellow); color: var(--accent-yellow); }
.score-badge.red { background: linear-gradient(135deg, rgba(239,71,111,0.2), rgba(239,71,111,0.05)); border-color: var(--accent-red); color: var(--accent-red); }

/* ═══════════════════════════════════════════════
   KANBAN DYNAMIC CARDS
   ═══════════════════════════════════════════════ */
.kanban-card {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.kanban-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.kanban-card .score-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
}

.kanban-card .status-pill {
  font-size: 0.6rem;
  padding: 2px 6px;
}

.kanban-card.go { border-left: 3px solid var(--accent-green); }
.kanban-card.caution { border-left: 3px solid var(--accent-yellow); }
.kanban-card.discard { border-left: 3px solid var(--accent-red); }

/* ═══════════════════════════════════════════════
   ACCENT RED UTILITY
   ═══════════════════════════════════════════════ */
.accent-red { color: var(--accent-red) !important; }

/* ═══════════════════════════════════════════════
   RESPONSIVE RULES
   ═══════════════════════════════════════════════ */
@media (max-width: 992px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .main-content { margin-left: 0; }
  .charts-grid, .finance-grid, .modal-grid, .nn-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  body.sidebar-open .sidebar { transform: translateX(0); }
}

@media (max-width: 600px) {
  .kanban-board { flex-direction: column; }
  .kanban-column { min-width: 100%; }
  .stat-pill { display: none; }
}
