/* ═══════════════════════════════════════════════════════════
   NOVA PM — AI-Powered Project Command Center
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --bg-hover: #22222e;
  --border: #2a2a3a;
  --border-light: #1e1e2e;
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --text-dim: #555570;
  --accent: #7c5cfc;
  --accent-glow: rgba(124, 92, 252, 0.3);
  --purple: #7c5cfc;
  --blue: #3b82f6;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --pink: #ec4899;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── TOP BAR ─── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-bar-left { display: flex; align-items: center; gap: 32px; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  font-size: 20px;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.logo-accent { color: var(--accent); }

.view-tabs { display: flex; gap: 4px; }
.view-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.view-tab:hover { color: var(--text); background: var(--bg-hover); }
.view-tab.active {
  color: var(--accent);
  background: rgba(124, 92, 252, 0.1);
}
.tab-icon { font-size: 14px; }

.filter-group { display: flex; gap: 8px; }
.filter-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--accent); }

/* ─── NOVA TRIGGER ─── */
.nova-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  border: none;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 2px 16px var(--accent-glow);
}
.nova-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.nova-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.3); }
}
.nova-icon { font-size: 16px; }

/* ─── MAIN CONTENT ─── */
.main-content {
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
}
.view { display: none; }
.view.active { display: block; }

/* ─── KANBAN ─── */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  min-height: calc(100vh - 120px);
}
.kanban-column {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
}
.column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.column-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.column-dot.backlog { background: var(--text-dim); }
.column-dot.in_progress { background: var(--blue); box-shadow: 0 0 8px rgba(59,130,246,0.5); }
.column-dot.review { background: var(--amber); box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.column-dot.done { background: var(--green); box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.column-count {
  margin-left: auto;
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  color: var(--text-muted);
}
.column-cards {
  padding: 8px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ─── TASK CARD ─── */
.task-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.task-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.task-card-priority {
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  border-radius: 6px 0 0 6px;
}
.task-card-priority.critical { background: var(--red); }
.task-card-priority.high { background: var(--amber); }
.task-card-priority.medium { background: var(--blue); }
.task-card-priority.low { background: var(--green); }

.task-card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-left: 8px;
  line-height: 1.4;
}
.task-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 8px;
}
.task-card-project {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.task-card-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}
.task-card-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-left: 8px;
}
.task-card-tag {
  font-size: 10px;
  color: var(--text-dim);
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 3px;
}
.task-card-hours {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: auto;
}
.task-card-due {
  font-size: 10px;
  color: var(--text-muted);
}
.task-card-due.overdue { color: var(--red); font-weight: 600; }

/* ─── TIMELINE VIEW ─── */
.timeline-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  min-height: 500px;
}
.timeline-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 5;
}
.timeline-week {
  min-width: 120px;
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  border-right: 1px solid var(--border-light);
  font-weight: 500;
}
.timeline-week.current { color: var(--accent); background: rgba(124,92,252,0.05); }
.timeline-body { padding: 8px 0; }
.timeline-row {
  display: flex;
  align-items: center;
  height: 44px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.timeline-row:hover { background: var(--bg-hover); }
.timeline-task-label {
  width: 220px;
  min-width: 220px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-right: 1px solid var(--border);
}
.timeline-bar-area {
  flex: 1;
  position: relative;
  height: 100%;
}
.timeline-bar {
  position: absolute;
  height: 24px;
  top: 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s;
  min-width: 20px;
}
.timeline-bar:hover { opacity: 0.85; }
.timeline-bar.status-done { opacity: 0.5; }

/* ─── ANALYTICS ─── */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 100px; height: 100px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
}
.glow-purple::before { background: var(--purple); }
.glow-blue::before { background: var(--blue); }
.glow-amber::before { background: var(--amber); }
.glow-green::before { background: var(--green); }
.stat-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.glow-purple .stat-number { color: var(--purple); }
.glow-blue .stat-number { color: var(--blue); }
.glow-amber .stat-number { color: var(--amber); }
.glow-green .stat-number { color: var(--green); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.stat-sub { font-size: 11px; color: var(--text-dim); }
.stat-bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  border-radius: 2px;
  transition: width 0.8s ease;
}

.analytics-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.chart-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.horizontal-bars { display: flex; flex-direction: column; gap: 12px; }
.h-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.h-bar-label {
  width: 120px;
  min-width: 120px;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h-bar-track {
  flex: 1;
  height: 24px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.h-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  min-width: fit-content;
}

.donut-chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
}
.donut-svg { width: 140px; height: 140px; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; }
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
}
.activity-item {
  display: flex;
  gap: 10px;
  font-size: 12px;
  padding: 8px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}
.activity-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.activity-text { line-height: 1.5; }
.activity-text strong { color: var(--text); }
.activity-time { color: var(--text-dim); font-size: 10px; }

/* ─── TEAM VIEW ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s;
}
.team-card:hover { border-color: var(--accent); }
.team-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.team-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
}
.team-name { font-weight: 700; font-size: 15px; }
.team-role { font-size: 12px; color: var(--text-muted); }
.team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.team-stat {
  text-align: center;
  padding: 8px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}
.team-stat-num { font-size: 18px; font-weight: 700; }
.team-stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.team-tasks { display: flex; flex-direction: column; gap: 6px; }
.team-task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 8px;
  background: var(--bg-elevated);
  border-radius: 4px;
}
.team-task-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.team-task-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-task-priority {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.team-capacity-bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.team-capacity-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}
.capacity-label {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 4px;
  text-align: right;
}

/* ─── NOVA AI PANEL ─── */
.nova-panel {
  position: fixed;
  top: 0; right: -440px;
  width: 440px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.nova-panel.open { right: 0; }
.nova-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nova-overlay.open { opacity: 1; pointer-events: auto; }

.nova-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.nova-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nova-icon-lg {
  font-size: 24px;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}
.nova-title strong { font-size: 16px; }
.nova-subtitle {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}
.nova-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.nova-close:hover { background: var(--bg-hover); color: var(--text); }

.nova-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
}
.suggestion-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}
.suggestion-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(124,92,252,0.1);
}

.nova-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nova-message {
  display: flex;
  gap: 10px;
  max-width: 100%;
}
.nova-message.user {
  flex-direction: row-reverse;
}
.message-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: white;
}
.nova-message.user .message-avatar {
  background: var(--bg-elevated);
  color: var(--text-muted);
}
.message-content {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  max-width: calc(100% - 44px);
  overflow-x: auto;
}
.nova-message.user .message-content {
  background: rgba(124,92,252,0.15);
  border: 1px solid rgba(124,92,252,0.3);
}
.message-content p { margin-bottom: 8px; }
.message-content p:last-child { margin-bottom: 0; }
.message-content strong { color: var(--accent); }
.message-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 12px;
}
.message-content th, .message-content td {
  padding: 6px 10px;
  border: 1px solid var(--border);
  text-align: left;
}
.message-content th {
  background: var(--bg);
  font-weight: 600;
}
.message-content code {
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}
.message-content ul, .message-content ol {
  margin: 8px 0;
  padding-left: 20px;
}
.message-content li { margin-bottom: 4px; }
.message-content h1, .message-content h2, .message-content h3 {
  margin: 12px 0 6px;
  font-size: 14px;
}

.nova-input-area {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.nova-input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  resize: none;
  max-height: 120px;
}
.nova-input:focus { outline: none; border-color: var(--accent); }
.nova-send {
  background: linear-gradient(135deg, var(--accent), #a855f7);
  border: none;
  color: white;
  width: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}
.nova-send:hover { transform: scale(1.05); }
.nova-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}
.typing-dot {
  width: 6px; height: 6px;
  background: var(--text-dim);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 560px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 { font-size: 16px; }
.modal-close {
  background: none; border: none;
  color: var(--text-muted); font-size: 18px;
  cursor: pointer; padding: 4px 8px; border-radius: 4px;
}
.modal-close:hover { background: var(--bg-hover); }
.modal-body { padding: 20px; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.form-group { flex: 1; }
.form-group.full { flex: 1 1 100%; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group .hint { text-transform: none; letter-spacing: 0; font-weight: 400; }
.eontra-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
}
.eontra-input:focus { outline: none; border-color: var(--accent); }
textarea.eontra-input { resize: vertical; }
select.eontra-input { cursor: pointer; }

.eontra-btn {
  padding: 8px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.eontra-btn.primary {
  background: var(--accent);
  color: white;
}
.eontra-btn.primary:hover { background: #6b4fe0; }
.eontra-btn.secondary {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.eontra-btn.secondary:hover { background: var(--bg-hover); color: var(--text); }
.eontra-btn.danger {
  background: rgba(239,68,68,0.15);
  color: var(--red);
}
.eontra-btn.danger:hover { background: rgba(239,68,68,0.25); }

/* ─── FAB ─── */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  z-index: 50;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fab:hover { transform: scale(1.1) rotate(90deg); }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .kanban-board { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-charts { grid-template-columns: 1fr; }
  .nova-panel { width: 100%; right: -100%; }
}
@media (max-width: 768px) {
  .top-bar { padding: 0 12px; }
  .view-tabs { display: none; }
  .filter-group { display: none; }
  .kanban-board { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr 1fr; }
  .main-content { padding: 12px; }
  .team-grid { grid-template-columns: 1fr; }
}

/* Mobile view tabs */
@media (max-width: 768px) {
  .top-bar {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 12px;
    gap: 8px;
  }
  .top-bar-left { width: 100%; justify-content: space-between; }
  .view-tabs {
    display: flex;
    width: 100%;
    order: 3;
  }
  .view-tab { flex: 1; justify-content: center; font-size: 11px; padding: 6px 8px; }
  .tab-icon { display: none; }
}