/* ===== App Layout & Dashboard Styles ===== */

/* === App Layout === */
.app-layout {
  display: flex;
  min-height: 100vh;
  background: var(--color-bg);
}

/* === Sidebar === */
.sidebar {
  width: var(--sidebar-width);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  transition: transform var(--transition-slow);
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-5);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-3);
}

.sidebar-section {
  margin-bottom: var(--sp-5);
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-1);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.sidebar-item:hover {
  background: var(--color-surface-soft);
  color: var(--color-text-strong);
}

.sidebar-item.active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 600;
}

.sidebar-item .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-item .badge-count {
  margin-left: auto;
  background: var(--color-error);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-footer {
  padding: var(--sp-4);
  border-top: 1px solid var(--color-border);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.sidebar-user:hover {
  background: var(--color-surface-soft);
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-size: var(--text-tiny);
  font-weight: 600;
  color: var(--color-text-strong);
}

.sidebar-user-role {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* === Main Content === */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === Top Bar === */
.topbar {
  height: var(--header-height);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-6);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.topbar-title {
  font-family: var(--font-heading);
  font-size: var(--text-card);
  font-weight: 700;
}

.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-tiny);
  color: var(--color-text-muted);
}

.topbar-breadcrumb a {
  color: var(--color-text-muted);
}

.topbar-breadcrumb a:hover {
  color: var(--color-primary);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.topbar-search {
  position: relative;
}

.topbar-search input {
  height: 40px;
  width: 260px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0 var(--sp-4) 0 40px;
  font-size: var(--text-tiny);
  background: var(--color-surface-soft);
}

.topbar-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15);
  background: white;
}

.topbar-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 14px;
}

.notification-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 16px;
  color: var(--color-text-soft);
}

.notification-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-error);
  border-radius: 50%;
  border: 2px solid var(--color-surface);
}

/* === Page Content === */
.page-content {
  flex: 1;
  padding: var(--sp-7);
}

/* === Dashboard === */
.dashboard-header {
  margin-bottom: var(--sp-7);
}

.dashboard-header h1 {
  font-size: var(--text-section);
  margin-bottom: var(--sp-2);
}

.dashboard-header p {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}

.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-card-trend {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.stat-card-trend.up { color: var(--color-success); }
.stat-card-trend.down { color: var(--color-error); }

.stat-card-value {
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}

.stat-card-label {
  font-size: var(--text-tiny);
  color: var(--color-text-muted);
}

/* Dashboard Grids */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.dashboard-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.panel {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--color-border);
}

.panel-header h3 {
  font-size: var(--text-body);
  font-weight: 600;
}

.panel-body {
  padding: var(--sp-5) var(--sp-6);
}

.panel-footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}

/* Activity List */
.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.activity-content {
  flex: 1;
}

.activity-text {
  font-size: var(--text-small);
  color: var(--color-text-strong);
  margin-bottom: var(--sp-1);
}

.activity-time {
  font-size: var(--text-tiny);
  color: var(--color-text-muted);
}

/* Task List */
.task-list {
  display: flex;
  flex-direction: column;
}

.task-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.task-item:last-child {
  border-bottom: none;
}

.task-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.task-checkbox.checked {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

.task-info {
  flex: 1;
}

.task-title {
  font-size: var(--text-small);
  font-weight: 500;
}

.task-meta {
  font-size: var(--text-tiny);
  color: var(--color-text-muted);
}

/* === Topic Cards === */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--sp-5);
}

.topic-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.topic-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.topic-card-phase {
  height: 4px;
}

.topic-card-body {
  padding: var(--sp-5);
}

.topic-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.topic-card h4 {
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.topic-card-desc {
  font-size: var(--text-tiny);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--text-tiny);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
}

.topic-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-border);
}

.topic-avatars {
  display: flex;
}

.topic-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}

.topic-avatar:first-child {
  margin-left: 0;
}

.topic-progress {
  flex: 1;
  margin-left: var(--sp-4);
}

.topic-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-1);
}

/* === Coaching Session === */
.session-timeline {
  position: relative;
  padding-left: var(--sp-8);
}

.session-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.session-item {
  position: relative;
  margin-bottom: var(--sp-6);
}

.session-dot {
  position: absolute;
  left: calc(-1 * var(--sp-8) + 8px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid;
  background: white;
  z-index: 1;
}

.session-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: var(--sp-5);
  transition: all var(--transition);
}

.session-card:hover {
  box-shadow: var(--shadow-card);
}

.session-card h4 {
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.session-card-meta {
  display: flex;
  gap: var(--sp-4);
  font-size: var(--text-tiny);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-3);
}

.session-tags {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* === Review/Scoring === */
.scoring-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.score-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: var(--sp-5);
}

.score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.score-dimension {
  font-size: var(--text-small);
  font-weight: 600;
}

.score-weight {
  font-size: var(--text-tiny);
  color: var(--color-text-muted);
}

.score-slider {
  width: 100%;
  margin-bottom: var(--sp-3);
  -webkit-appearance: none;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-border);
  outline: none;
}

.score-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(31, 111, 235, 0.3);
}

.score-value {
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--text-card);
  font-weight: 700;
  color: var(--color-primary);
}

/* === File Manager === */
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-4);
}

.file-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: var(--sp-5);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.file-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.file-icon {
  font-size: 48px;
  margin-bottom: var(--sp-3);
}

.file-name {
  font-size: var(--text-tiny);
  font-weight: 600;
  margin-bottom: var(--sp-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* === Analytics Charts === */
.chart-container {
  position: relative;
  padding: var(--sp-5);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-3);
  height: 200px;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 100%;
  max-width: 48px;
  border-radius: var(--sp-2) var(--sp-2) 0 0;
  transition: all var(--transition-slow);
  min-height: 4px;
}

.bar:hover {
  opacity: 0.8;
}

.bar-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

/* Donut Chart */
.donut-chart {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}

.donut-center {
  position: absolute;
  inset: 30px;
  background: var(--color-surface);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-value {
  font-family: var(--font-heading);
  font-size: var(--text-card);
  font-weight: 700;
}

.donut-label {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* === Kanban Board === */
.kanban-board {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  padding-bottom: var(--sp-4);
}

.kanban-column {
  min-width: 300px;
  flex: 1;
  background: var(--color-surface-soft);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}

.kanban-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
  padding: 0 var(--sp-2);
}

.kanban-title {
  font-size: var(--text-small);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.kanban-count {
  background: var(--color-border);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.kanban-card {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
  border: 1px solid var(--color-border);
  cursor: grab;
  transition: all var(--transition);
}

.kanban-card:hover {
  box-shadow: var(--shadow-sm);
}

/* === Empty State === */
.empty-state {
  text-align: center;
  padding: var(--sp-10) var(--sp-6);
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: var(--sp-5);
  opacity: 0.3;
}

.empty-state h3 {
  font-size: var(--text-card);
  margin-bottom: var(--sp-3);
}

.empty-state p {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-6);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid-3 {
    grid-template-columns: 1fr;
  }
  .scoring-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .page-content {
    padding: var(--sp-4);
  }
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
}

/* === Toolbar === */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  height: 36px;
  padding: 0 var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-tiny);
  font-weight: 500;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover, .filter-chip.active {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* View Toggle */
.view-toggle {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.view-toggle button {
  background: none;
  border: none;
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all var(--transition);
  font-size: 14px;
}

.view-toggle button.active {
  background: var(--color-primary);
  color: white;
}

/* === Stepper === */
.stepper {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}

.step {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-tiny);
  font-weight: 700;
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.step.active .step-number {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.step.done .step-number {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

.step-label {
  font-size: var(--text-tiny);
  font-weight: 500;
  color: var(--color-text-muted);
}

.step.active .step-label {
  color: var(--color-text-strong);
  font-weight: 600;
}

.step-divider {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  min-width: 24px;
}

.step.done + .step-divider {
  background: var(--color-success);
}

/* === ComboBox === */
.combobox-wrap { position: relative; }
.combobox-input { width: 100%; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: var(--text-small); background: var(--color-surface); color: var(--color-text); transition: border-color var(--transition-fast); }
.combobox-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(31,111,235,0.12); }

/* === MultiSelect === */
.multi-select { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: var(--sp-2); min-height: 40px; display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; background: var(--color-surface); }
.ms-tag { display: inline-flex; align-items: center; gap: var(--sp-1); background: var(--color-primary); color: white; border-radius: var(--radius-full); padding: 2px 10px; font-size: 12px; font-weight: 600; }
.ms-remove { cursor: pointer; opacity: 0.7; margin-left: 4px; }
.ms-remove:hover { opacity: 1; }
.ms-input { border: none; outline: none; font-size: var(--text-small); min-width: 80px; flex: 1; background: transparent; color: var(--color-text); }

/* === Toggle Switch === */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--color-border); border-radius: 24px; transition: 0.3s; }
.switch-slider:before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; }
.switch input:checked + .switch-slider { background: var(--color-primary); }
.switch input:checked + .switch-slider:before { transform: translateX(20px); }

/* === Score Slider === */
.scoring-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--sp-4); }
.score-card { background: var(--color-surface-soft); border-radius: var(--radius-sm); padding: var(--sp-4); }
.score-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-3); }
.score-dimension { font-size: var(--text-small); font-weight: 600; }
.score-weight { font-size: var(--text-tiny); color: var(--color-text-muted); }
.score-slider { width: 100%; cursor: pointer; margin-bottom: var(--sp-2); }
.score-value { text-align: center; font-size: var(--text-page); font-weight: 800; color: var(--color-primary); }

/* === Tabs === */
.tabs { display: flex; gap: var(--sp-1); margin-bottom: var(--sp-6); border-bottom: 2px solid var(--color-border); }
.tab { padding: var(--sp-3) var(--sp-5); font-size: var(--text-small); font-weight: 600; color: var(--color-text-muted); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition-fast); }
.tab:hover { color: var(--color-text); }
.tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* === Bar Chart (Analytics) === */
.bar-chart { display: flex; align-items: flex-end; justify-content: space-around; height: 200px; gap: var(--sp-3); }
.bar-group { display: flex; flex-direction: column; align-items: center; flex: 1; }
.bar { width: 100%; max-width: 40px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; min-height: 4px; transition: height 0.5s ease; }
.bar-label { font-size: 11px; color: var(--color-text-muted); margin-top: var(--sp-2); }
