/* IntelligenceRail */
.rail {
  width: var(--intel-rail-width);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) 0;
  background: var(--color-base-surface);
  border-left: var(--glass-border);
  flex-shrink: 0;
}
.railBtn {
  position: relative;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  border-radius: var(--radius-md);
  color: var(--color-text-tertiary);
  font-size: 16px;
  transition: all var(--duration-fast) var(--ease-standard);
}
.railBtn:hover { background: var(--glass-bg); color: var(--color-text-secondary); }
.activeDot {
  position: absolute; top: 4px; right: 4px;
  width: 6px; height: 6px;
  background: var(--color-violet);
  border-radius: var(--radius-full);
}
.alertBadge {
  position: absolute; top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: var(--color-red);
  border-radius: var(--radius-full);
  font-size: 9px; color: white; font-weight: var(--font-bold);
  display: flex; align-items: center; justify-content: center;
}
.aiBreathing { animation: aiBreath 2s ease-in-out infinite; }
@keyframes aiBreath {
  0%, 100% { color: var(--color-text-tertiary); }
  50% { color: var(--color-violet-light); }
}
.showroomActive { color: var(--color-green) !important; }
.showroomDotIdle {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-text-tertiary);
}
/* Panel */
.backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-intelligence-rail) - 1);
}
.panel {
  position: fixed;
  top: 0; right: var(--intel-rail-width); bottom: 0;
  width: min(380px, 40vw);
  display: flex; flex-direction: column;
  z-index: var(--z-intelligence-rail);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.panelHeader {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: var(--glass-border);
}
.panelTitle {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}
.closeBtn {
  background: none; border: none; cursor: pointer;
  color: var(--color-text-tertiary); font-size: 14px;
  padding: var(--space-1); border-radius: var(--radius-sm);
}
.closeBtn:hover { color: var(--color-text-primary); background: var(--glass-bg); }
.panelContent { flex: 1; overflow-y: auto; padding: var(--space-5) var(--space-6); }
