/* ═══════════════════════════════════════════════════════════════
   Enterprise Meal Access System — pages/dashboard.css
═══════════════════════════════════════════════════════════════ */

/* ── DASHBOARD ────────────────────────────────────────────────── */
.cn-dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
@media (max-width: 1100px) { .cn-dash-grid { grid-template-columns: 1fr; } }

.cn-meal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cn-meal-row:last-child { border-bottom: none; }
.cn-meal-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface-hover);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.cn-meal-info { flex: 1; min-width: 0; }
.cn-meal-info-name { font-weight: 600; font-size: 13px; color: var(--text-primary); }
.cn-meal-info-time { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }
.cn-meal-count {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.cn-meal-count-sub { font-size: 10px; color: var(--text-muted); text-align: right; }
.cn-meal-active-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .4px;
  background: rgba(16,185,129,.1);
  color: #047857;
  white-space: nowrap;
}

.cn-type-breakdown { display: flex; flex-direction: column; gap: 10px; }
.cn-type-bar-row { display: flex; align-items: center; gap: 10px; }
.cn-type-bar-label {
  min-width: 90px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: capitalize;
}
.cn-type-bar-track {
  flex: 1;
  height: 6px;
  background: var(--surface-hover);
  border-radius: 3px;
  overflow: hidden;
}
.cn-type-bar-fill { height: 100%; border-radius: 3px; transition: width .4s ease; }
.cn-type-bar-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 28px;
  text-align: right;
}
