/*
 * AgentWay - Learn Dashboard Styles
 * Extracted from learn/index.html inline styles
 */

/* Progress Summary Bar */
.progress-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--zen-space-4) var(--zen-space-5);
  background: var(--zen-bg);
  border: 1px solid var(--zen-border);
  border-radius: var(--zen-radius-lg);
  margin-bottom: var(--zen-space-8);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
.progress-summary:hover { border-color: var(--zen-fg-muted); }

.progress-stats {
  display: flex;
  align-items: center;
  gap: var(--zen-space-6);
}
.progress-stat {
  display: flex;
  align-items: center;
  gap: var(--zen-space-2);
}
.progress-stat svg { width: 16px; height: 16px; color: var(--zen-fg-muted); }
.progress-stat-value { font-weight: 600; font-family: var(--zen-font-mono); }
.progress-stat-label { color: var(--zen-fg-muted); font-size: var(--zen-text-sm); }

.progress-level { display: flex; align-items: center; gap: var(--zen-space-3); }
.level-badge {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--zen-accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: var(--zen-text-xs);
}
.level-name { font-size: var(--zen-text-xs); color: var(--zen-fg-muted); }
.level-bar { width: 80px; height: 4px; background: var(--zen-bg-muted); border-radius: 2px; overflow: hidden; }
.level-bar-fill { height: 100%; background: var(--zen-accent); border-radius: 2px; }

.daily-goal-inline {
  border-left: 1px solid var(--zen-border);
  padding-left: var(--zen-space-4);
  margin-left: var(--zen-space-2);
}
.daily-goal-mini { width: 48px; height: 4px; background: var(--zen-bg-muted); border-radius: 2px; overflow: hidden; margin: var(--zen-space-1) 0; }
.daily-goal-mini-fill { height: 100%; background: var(--zen-accent); border-radius: 2px; }

/* Current Path Section */
.current-section { margin-bottom: var(--zen-space-8); }
.current-label {
  font-size: var(--zen-text-xs);
  color: var(--zen-fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--zen-space-2);
}
.current-title {
  font-size: var(--zen-text-2xl);
  font-weight: 600;
  margin-bottom: var(--zen-space-1);
}
.current-meta {
  display: flex;
  align-items: center;
  gap: var(--zen-space-4);
  color: var(--zen-fg-muted);
  font-size: var(--zen-text-sm);
  margin-bottom: var(--zen-space-6);
}

/* Path Nodes (vertical timeline) */
.path-nodes { display: flex; flex-direction: column; gap: 0; }
.path-node {
  display: flex;
  align-items: flex-start;
  gap: var(--zen-space-4);
  padding: var(--zen-space-4) 0;
  position: relative;
}
.path-node:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px; top: 40px; bottom: 0;
  width: 2px;
  background: var(--zen-border);
}
.path-node.completed:not(:last-child)::before { background: var(--zen-accent); }

.path-node-indicator {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--zen-border); background: var(--zen-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1;
}
.path-node.completed .path-node-indicator {
  background: var(--zen-accent); border-color: var(--zen-accent); color: white;
}
.path-node.current .path-node-indicator {
  background: var(--zen-accent); border-color: var(--zen-accent); color: white;
}
.path-node.locked .path-node-indicator { opacity: 0.4; }

.path-node-content { flex: 1; min-width: 0; }
.path-node-title { font-weight: 500; margin-bottom: 2px; }
.path-node.locked .path-node-title { color: var(--zen-fg-muted); }
.path-node-desc { font-size: var(--zen-text-sm); color: var(--zen-fg-muted); margin-bottom: var(--zen-space-2); }
.path-node-meta {
  display: flex; align-items: center; gap: var(--zen-space-3);
  font-size: var(--zen-text-xs); color: var(--zen-fg-muted);
}
.path-node-action { flex-shrink: 0; align-self: center; }

/* Compact node */
.path-node.compact { padding: var(--zen-space-2) 0; }
.path-node.compact .path-node-indicator { width: 24px; height: 24px; }
.path-node.compact .path-node-title { font-size: var(--zen-text-sm); }
.path-node.compact .path-node-desc { display: none; }
.path-node.completed.compact { opacity: 0.6; }
.path-node.completed.compact:hover { opacity: 1; }
.path-node.locked.compact { opacity: 0.4; }

/* Track Map */
.track-map { margin-bottom: var(--zen-space-8); }
.track-map-title {
  font-size: var(--zen-text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zen-fg-muted);
  margin-bottom: var(--zen-space-3);
}
.track-map-list { display: flex; flex-direction: column; gap: 0; }
.track-map-item {
  display: flex;
  align-items: center;
  gap: var(--zen-space-4);
  padding: var(--zen-space-3) var(--zen-space-4);
  border: 1px solid var(--zen-border);
  border-bottom: none;
  background: var(--zen-bg);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.track-map-item:first-child { border-radius: var(--zen-radius-lg) var(--zen-radius-lg) 0 0; }
.track-map-item:last-child { border-bottom: 1px solid var(--zen-border); border-radius: 0 0 var(--zen-radius-lg) var(--zen-radius-lg); }
.track-map-item:only-child { border-radius: var(--zen-radius-lg); border-bottom: 1px solid var(--zen-border); }
.track-map-item:hover { background: var(--zen-bg-subtle); }

.track-map-item.active { background: var(--zen-bg-subtle); }
.track-map-item.locked { opacity: 0.5; }

.track-map-name { flex: 1; min-width: 0; }
.track-map-name strong { font-size: var(--zen-text-sm); font-weight: 600; }
.track-map-name span {
  display: block;
  font-size: var(--zen-text-xs);
  color: var(--zen-fg-muted);
}

.track-map-progress {
  display: flex;
  align-items: center;
  gap: var(--zen-space-2);
}
.track-map-bar {
  width: 60px; height: 4px;
  background: var(--zen-bg-muted);
  border-radius: 2px;
  overflow: hidden;
}
.track-map-bar-fill {
  height: 100%;
  background: var(--zen-accent);
  border-radius: 2px;
}
.track-map-frac {
  font-family: var(--zen-font-mono);
  font-size: var(--zen-text-xs);
  color: var(--zen-fg-muted);
  min-width: 28px;
}
.track-map-branch {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.track-map-branch-label {
  font-family: var(--zen-font-mono);
  font-size: var(--zen-text-xs);
  font-weight: 500;
  color: var(--zen-accent);
  background: var(--zen-accent-subtle);
  padding: 2px 6px;
  border-radius: var(--zen-radius-sm);
}
.track-map-branch-hint {
  font-size: 10px;
  color: var(--zen-fg-muted);
}

/* Track Gate */
.track-gate {
  display: flex;
  align-items: center;
  gap: var(--zen-space-3);
  padding: var(--zen-space-3) var(--zen-space-4);
  margin: var(--zen-space-1) 0;
  border: 1px dashed var(--zen-border);
  border-radius: var(--zen-radius-md);
  background: var(--zen-bg-subtle);
  opacity: 0.8;
}
.track-gate-icon { color: var(--zen-fg-muted); flex-shrink: 0; }
.track-gate-label { font-size: 11px; font-weight: 600; color: var(--zen-fg-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.track-gate-req { font-size: 11px; color: var(--zen-fg-muted); margin-top: 1px; }
.track-gate.unlocked { border-color: var(--zen-success); opacity: 1; }
.track-gate.unlocked .track-gate-icon { color: var(--zen-success); }

/* Reflection Day */
.reflection-day {
  display: flex;
  align-items: flex-start;
  gap: var(--zen-space-3);
  padding: var(--zen-space-4) var(--zen-space-5);
  border: 1px solid var(--zen-border);
  border-left: 3px solid var(--zen-warning);
  border-radius: var(--zen-radius-lg);
  background: var(--zen-warning-subtle);
  margin-bottom: var(--zen-space-4);
}
.reflection-day-icon { flex-shrink: 0; color: var(--zen-warning); margin-top: 2px; }
.reflection-day-title { font-size: var(--zen-text-sm); font-weight: 600; color: var(--zen-fg); margin-bottom: 2px; }
.reflection-day-desc { font-size: var(--zen-text-xs); color: var(--zen-fg-secondary); line-height: 1.5; }
.reflection-day-actions { display: flex; gap: var(--zen-space-2); margin-top: var(--zen-space-3); }
.reflection-day-actions a { font-size: 11px; padding: 3px 10px; border: 1px solid var(--zen-border); border-radius: var(--zen-radius-sm); color: var(--zen-fg-secondary); text-decoration: none; }
.reflection-day-actions a:hover { background: var(--zen-bg-muted); }

/* Recommended Routes — Interactive */
.route-item { cursor: pointer; transition: all var(--zen-transition-fast); position: relative; }
.route-item:hover { background: var(--zen-bg-muted); }
.route-item.selected { border-color: var(--zen-fg); background: var(--zen-bg-subtle); }
.route-item .route-expand { display: none; margin-top: var(--zen-space-3); padding-top: var(--zen-space-3); border-top: 1px solid var(--zen-border); font-size: var(--zen-text-xs); color: var(--zen-fg-secondary); line-height: 1.6; }
.route-item.expanded .route-expand { display: block; }
.route-select-btn { display: inline-block; margin-top: var(--zen-space-2); padding: 3px 12px; font-size: 11px; border: 1px solid var(--zen-fg); border-radius: var(--zen-radius-sm); color: var(--zen-fg); text-decoration: none; cursor: pointer; background: none; }
.route-select-btn:hover { background: var(--zen-fg); color: var(--zen-bg); }
.branch-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: var(--zen-space-2);
  font-size: 10px;
  color: var(--zen-accent);
  background: var(--zen-accent-subtle);
  padding: 1px 5px;
  border-radius: var(--zen-radius-sm);
}
.branch-indicator svg {
  width: 10px;
  height: 10px;
}

/* Recommended Routes */
.recommended-routes {
  margin-top: var(--zen-space-3);
  padding: var(--zen-space-3);
  background: var(--zen-bg-subtle);
  border-radius: var(--zen-radius-md);
}
.recommended-routes-title {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zen-fg-muted);
  margin-bottom: var(--zen-space-2);
}
.route-list {
  display: flex;
  flex-direction: column;
  gap: var(--zen-space-2);
}
.route-item {
  display: flex;
  align-items: flex-start;
  gap: var(--zen-space-2);
  padding: var(--zen-space-2);
  background: var(--zen-bg);
  border: 1px solid var(--zen-border);
  border-radius: var(--zen-radius-sm);
}
.route-icon {
  width: 20px;
  height: 20px;
  border-radius: var(--zen-radius-sm);
  background: var(--zen-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.route-icon svg {
  width: 12px;
  height: 12px;
  color: var(--zen-accent);
}
.route-content {
  flex: 1;
  min-width: 0;
}
.route-name {
  font-size: var(--zen-text-xs);
  font-weight: 500;
  margin-bottom: 1px;
}
.route-modules {
  font-size: 10px;
  color: var(--zen-fg-muted);
  font-family: var(--zen-font-mono);
}
.route-desc {
  font-size: 10px;
  color: var(--zen-fg-muted);
  margin-top: 2px;
}

/* Quick Access */
.quick-access {
  border-top: 1px solid var(--zen-border);
  padding-top: var(--zen-space-6);
  margin-top: var(--zen-space-2);
}
.quick-access-title {
  font-size: var(--zen-text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zen-fg-muted);
  margin-bottom: var(--zen-space-3);
}
.quick-access-grid { display: flex; gap: var(--zen-space-3); flex-wrap: wrap; }
.quick-access-item {
  display: flex; align-items: center; gap: var(--zen-space-2);
  padding: var(--zen-space-2) var(--zen-space-3);
  background: var(--zen-bg); border: 1px solid var(--zen-border);
  border-radius: var(--zen-radius-md);
  font-size: var(--zen-text-sm); color: var(--zen-fg-secondary);
  text-decoration: none; transition: border-color 0.15s, background 0.15s;
}
.quick-access-item:hover { border-color: var(--zen-fg-muted); background: var(--zen-bg-muted); }
.quick-access-item svg { width: 14px; height: 14px; opacity: 0.6; }
.quick-access-badge {
  background: var(--zen-accent-subtle); color: var(--zen-accent);
  font-size: 10px; font-weight: 600;
  padding: 2px 6px; border-radius: var(--zen-radius-sm);
}

/* Daily Summary Component */
.daily-summary {
  margin-top: var(--zen-space-6);
  padding: var(--zen-space-5);
  background: var(--zen-bg);
  border: 1px solid var(--zen-border);
  border-radius: var(--zen-radius-lg);
}
.daily-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--zen-space-4);
}
.daily-summary-title {
  font-weight: 600;
  font-size: var(--zen-text-base);
}
.daily-summary-remaining {
  font-size: var(--zen-text-sm);
  color: var(--zen-fg-muted);
}
.daily-summary-list {
  display: flex;
  flex-direction: column;
  gap: var(--zen-space-2);
  margin-bottom: var(--zen-space-4);
}
.daily-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--zen-space-2) 0;
}
.daily-summary-item:not(:last-child) {
  border-bottom: 1px solid var(--zen-border);
}
.daily-summary-activity {
  display: flex;
  align-items: center;
  gap: var(--zen-space-2);
  font-size: var(--zen-text-sm);
  color: var(--zen-fg-secondary);
}
.daily-summary-activity svg {
  width: 14px;
  height: 14px;
  color: var(--zen-fg-muted);
}
.daily-summary-xp {
  font-family: var(--zen-font-mono);
  font-size: var(--zen-text-sm);
  font-weight: 500;
  color: var(--zen-accent);
}
.daily-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--zen-space-3);
  border-top: 2px solid var(--zen-border);
}
.daily-summary-total-label {
  font-weight: 600;
  font-size: var(--zen-text-sm);
}
.daily-summary-total-value {
  font-family: var(--zen-font-mono);
  font-weight: 600;
  color: var(--zen-accent);
}

@media (max-width: 640px) {
  .progress-summary {
    flex-wrap: wrap;
    gap: var(--zen-space-3);
  }
  .progress-stats {
    gap: var(--zen-space-4);
    flex: 1;
    min-width: 0;
  }
  .progress-level {
    margin-left: auto;
  }
  .progress-stat-label { display: none; }
  .path-node-action { display: none; }
  .track-map-bar { width: 40px; }
}

@media (max-width: 400px) {
  .progress-summary {
    flex-direction: column;
    gap: var(--zen-space-3);
  }
  .progress-stats {
    width: 100%;
    justify-content: space-between;
  }
  .progress-level {
    width: 100%;
    margin-left: 0;
  }
}

/* XP Toast Component */
.xp-toast {
  position: fixed;
  bottom: var(--zen-space-6);
  right: var(--zen-space-6);
  background: var(--zen-bg);
  border: 1px solid var(--zen-border);
  border-radius: var(--zen-radius-lg);
  padding: var(--zen-space-3) var(--zen-space-4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: var(--zen-space-3);
  z-index: 1000;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.xp-toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.xp-toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--zen-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.xp-toast-icon svg {
  width: 16px;
  height: 16px;
  color: var(--zen-accent);
}
.xp-toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.xp-toast-xp {
  font-weight: 600;
  font-family: var(--zen-font-mono);
  color: var(--zen-accent);
}
.xp-toast-details {
  font-size: var(--zen-text-xs);
  color: var(--zen-fg-muted);
}

.dark .xp-toast {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Daily Quests Modal */
.quest-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.quest-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.quest-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--zen-bg);
  border: 1px solid var(--zen-border);
  border-radius: var(--zen-radius-lg);
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.quest-modal-overlay.visible + .quest-modal,
.quest-modal.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.quest-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--zen-space-4) var(--zen-space-5);
  border-bottom: 1px solid var(--zen-border);
}
.quest-modal-title {
  font-weight: 600;
  font-size: var(--zen-text-base);
}
.quest-modal-subtitle {
  font-size: var(--zen-text-xs);
  color: var(--zen-fg-muted);
}
.quest-modal-close {
  background: none;
  border: none;
  padding: var(--zen-space-1);
  cursor: pointer;
  color: var(--zen-fg-muted);
  border-radius: var(--zen-radius-sm);
  transition: color 0.15s;
}
.quest-modal-close:hover {
  color: var(--zen-fg);
}
.quest-modal-close svg {
  width: 18px;
  height: 18px;
}
.quest-list {
  padding: var(--zen-space-3);
}
.quest-item {
  display: flex;
  align-items: flex-start;
  gap: var(--zen-space-3);
  padding: var(--zen-space-3);
  border-radius: var(--zen-radius-md);
  cursor: pointer;
  transition: background 0.15s;
}
.quest-item:hover {
  background: var(--zen-bg-subtle);
}
.quest-item.completed {
  opacity: 0.5;
}
.quest-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--zen-border);
  border-radius: var(--zen-radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.15s, border-color 0.15s;
}
.quest-item.completed .quest-checkbox {
  background: var(--zen-accent);
  border-color: var(--zen-accent);
}
.quest-checkbox svg {
  width: 12px;
  height: 12px;
  color: white;
  opacity: 0;
  transition: opacity 0.15s;
}
.quest-item.completed .quest-checkbox svg {
  opacity: 1;
}
.quest-content {
  flex: 1;
  min-width: 0;
}
.quest-title {
  font-weight: 500;
  font-size: var(--zen-text-sm);
  margin-bottom: 2px;
}
.quest-item.completed .quest-title {
  text-decoration: line-through;
}
.quest-desc {
  font-size: var(--zen-text-xs);
  color: var(--zen-fg-muted);
  line-height: 1.4;
}
.quest-xp {
  font-family: var(--zen-font-mono);
  font-size: var(--zen-text-xs);
  font-weight: 500;
  color: var(--zen-accent);
  flex-shrink: 0;
  padding: 2px 6px;
  background: var(--zen-accent-subtle);
  border-radius: var(--zen-radius-sm);
}
.quest-item.completed .quest-xp {
  opacity: 0.5;
}

.dark .quest-modal-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* Dark mode visibility fixes */
.dark .level-badge {
  color: var(--zen-bg);
}

.dark .path-node.completed .path-node-indicator,
.dark .path-node.current .path-node-indicator {
  color: var(--zen-bg);
}

.dark .path-node-indicator {
  border-color: var(--zen-border-subtle);
}

.dark .path-node.completed:not(:last-child)::before {
  opacity: 0.7;
}

/* =========================================
 * Setup Banner (Conditional Onboarding)
 * Shows for new users, dismissible
 * ========================================= */
.setup-banner {
  display: flex;
  align-items: center;
  gap: var(--zen-space-3);
  padding: var(--zen-space-3) var(--zen-space-4);
  background: linear-gradient(90deg, var(--zen-accent-subtle), var(--zen-bg));
  border: 1px solid var(--zen-accent);
  border-radius: var(--zen-radius-lg);
  margin-bottom: var(--zen-space-4);
}
.setup-banner-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--zen-radius-md);
  background: var(--zen-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.setup-banner-content {
  flex: 1;
  min-width: 0;
}
.setup-banner-title {
  font-size: var(--zen-text-sm);
  font-weight: 600;
  margin-bottom: 1px;
}
.setup-banner-desc {
  font-size: var(--zen-text-xs);
  color: var(--zen-fg-muted);
}
.setup-banner-action {
  display: flex;
  align-items: center;
  gap: var(--zen-space-2);
}
.setup-banner-link {
  font-size: var(--zen-text-xs);
  font-weight: 500;
  padding: var(--zen-space-2) var(--zen-space-3);
  background: var(--zen-accent);
  color: white;
  border-radius: var(--zen-radius-sm);
  text-decoration: none;
  transition: opacity 0.15s;
}
.setup-banner-link:hover {
  opacity: 0.9;
}
.setup-banner-dismiss {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--zen-fg-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--zen-radius-sm);
  transition: background 0.15s;
}
.setup-banner-dismiss:hover {
  background: var(--zen-bg-muted);
}
.setup-banner.hidden {
  display: none;
}

/* =========================================
 * Gate Expandable (Click to reveal details)
 * ========================================= */
.track-gate {
  cursor: pointer;
  transition: all 0.15s;
}
.track-gate:hover {
  border-color: var(--zen-fg-muted);
  background: var(--zen-bg);
}
.track-gate-chevron {
  width: 14px;
  height: 14px;
  color: var(--zen-fg-muted);
  margin-left: auto;
  transition: transform 0.15s;
  flex-shrink: 0;
}
.track-gate.expanded .track-gate-chevron {
  transform: rotate(180deg);
}
.track-gate-expand {
  display: none;
  width: 100%;
  margin-top: var(--zen-space-3);
  padding-top: var(--zen-space-3);
  border-top: 1px solid var(--zen-border);
}
.track-gate.expanded .track-gate-expand {
  display: block;
}
.track-gate-expand-content {
  font-size: var(--zen-text-xs);
  color: var(--zen-fg-secondary);
  line-height: 1.6;
  margin-bottom: var(--zen-space-3);
}
.track-gate-expand-content strong {
  color: var(--zen-fg);
}
.track-gate-actions {
  display: flex;
  gap: var(--zen-space-2);
}
.track-gate-btn {
  font-size: 11px;
  padding: 4px 12px;
  border: 1px solid var(--zen-border);
  border-radius: var(--zen-radius-sm);
  background: var(--zen-bg);
  color: var(--zen-fg-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.track-gate-btn:hover {
  border-color: var(--zen-fg-muted);
  background: var(--zen-bg-muted);
}
.track-gate-btn.primary {
  background: var(--zen-fg);
  color: var(--zen-bg);
  border-color: var(--zen-fg);
}
.track-gate-btn.primary:hover {
  opacity: 0.9;
}

/* Dark mode fixes for new components */
.dark .setup-banner {
  background: linear-gradient(90deg, rgba(var(--zen-accent-rgb), 0.15), var(--zen-bg));
}
.dark .setup-banner-icon {
  background: var(--zen-fg);
  color: var(--zen-bg);
}
.dark .setup-banner-link {
  background: var(--zen-fg);
  color: var(--zen-bg);
}
.dark .track-gate:hover {
  background: var(--zen-bg-muted);
}
