/* ═══════════════════════════════════════════════
   DIYguru Command Center Dashboard v3.1
   Clean, data-dense, Notion/Linear-inspired
   ═══════════════════════════════════════════════ */

.cc-root { max-width: 1200px; margin: 0 auto; padding: 24px 20px 40px; font-family: 'Inter', -apple-system, sans-serif; }

/* Header */
.cc-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.cc-header-greeting { font-size: 22px; font-weight: 800; color: #1d1c1d; letter-spacing: -.02em; }
.cc-header-sub { font-size: 13px; color: #616061; margin-top: 2px; }
.cc-header-time { font-size: 12px; color: #8b8b8b; font-weight: 500; }

/* Pulse strip */
.cc-pulse {
  display: flex; gap: 2px; background: #1d1c1d; border-radius: 14px; padding: 14px 8px;
  margin-bottom: 24px; overflow-x: auto;
}
.cc-pulse-item {
  flex: 1; text-align: center; padding: 4px 10px; min-width: 90px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.cc-pulse-item:last-child { border-right: none; }
.cc-pulse-val { font-size: 20px; font-weight: 800; color: #fff; }
.cc-pulse-lbl { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 2px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }

/* Section titles */
.cc-section-title {
  font-size: 15px; font-weight: 800; color: #1d1c1d; margin: 28px 0 12px;
  padding-bottom: 6px; border-bottom: 2px solid #f0f0f0;
}

/* Grids */
.cc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cc-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1024px) { .cc-grid-3 { grid-template-columns: repeat(2, 1fr); } .cc-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cc-grid-3, .cc-grid-4 { grid-template-columns: 1fr; } .cc-pulse { flex-wrap: wrap; } .cc-pulse-item { min-width: 80px; flex: none; width: calc(33% - 4px); } }

/* Cards */
.cc-card {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 16px;
  transition: box-shadow .15s, border-color .15s;
}
.cc-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); border-color: #d0d0d0; }
.cc-card-accent { border-top: 3px solid var(--accent, #1d1c1d); }
.cc-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cc-card-icon { font-size: 18px; }
.cc-card-title { font-size: 14px; font-weight: 800; color: #1d1c1d; flex: 1; }
.cc-card-divider { height: 1px; background: #f0f0f0; margin: 10px 0; }

/* Big stat pair */
.cc-big-stats { display: flex; gap: 12px; margin-bottom: 8px; }
.cc-big-stat { flex: 1; text-align: center; background: #fafafa; border-radius: 8px; padding: 10px 6px; }
.cc-big-val { font-size: 24px; font-weight: 800; color: #1d1c1d; line-height: 1.1; }
.cc-big-lbl { font-size: 10px; color: #8b8b8b; margin-top: 2px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }

/* Mini title */
.cc-mini-title { font-size: 11px; font-weight: 700; color: #8b8b8b; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }

/* Small stat rows */
.cc-stat-row-sm {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; color: #616061;
}
.cc-stat-row-sm:last-child { border-bottom: none; }
.cc-stat-val-sm { font-weight: 700; color: #1d1c1d; }

/* Stat cards (compact) */
.cc-stat-card {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 16px;
  display: flex; gap: 12px; align-items: flex-start;
  transition: box-shadow .15s;
}
.cc-stat-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.cc-stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.cc-stat-body { flex: 1; }
.cc-stat-label { font-size: 12px; font-weight: 700; color: #8b8b8b; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.cc-stat-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.cc-stat-val { font-size: 22px; font-weight: 800; color: #1d1c1d; line-height: 1.1; }
.cc-stat-sub { font-size: 11px; color: #8b8b8b; }

/* Entry rows */
.cc-entry-row { padding: 4px 0; border-bottom: 1px solid #f5f5f5; }
.cc-entry-title { font-size: 12px; font-weight: 600; color: #1d1c1d; }
.cc-entry-sub { font-size: 11px; color: #8b8b8b; margin-left: 8px; }

/* CRM badge (was HubSpot) */
.cc-crm-badge {
  font-size: 9px; font-weight: 700; color: #059669; background: #ecfdf5;
  padding: 2px 6px; border-radius: 4px; border: 1px solid #a7f3d0;
  text-transform: uppercase; letter-spacing: .04em;
}

/* Footer */
.cc-footer {
  text-align: center; font-size: 11px; color: #8b8b8b; margin-top: 30px;
  padding-top: 16px; border-top: 1px solid #f0f0f0;
}

/* Button */
.cc-btn-sm {
  padding: 6px 14px; border-radius: 6px; border: 1px solid #e8e8e8; background: #fff;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; color: #1d1c1d;
  transition: .15s;
}
.cc-btn-sm:hover { background: #f5f5f5; border-color: #1264a3; color: #1264a3; }
