.plan-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background: var(--bg-deep);
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
  flex-shrink: 0;
}

.sidebar-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
}

.sidebar-count {
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  padding: 0 8px;
  border-radius: 8px;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.sidebar-status {
  padding: 16px 12px;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
}

.sidebar-error {
  padding: 12px;
  color: #f44747;
  font-size: 12px;
}

.plan-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.plan-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.plan-item.selected {
  background: var(--accent-purple);
}

.plan-primary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  overflow: hidden;
}

.plan-number {
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 12px;
  flex-shrink: 0;
}

.plan-title {
  color: var(--text-primary);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-meta {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.plan-meta-tag {
  font-size: 11px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.plan-meta-value {
  color: var(--accent-blue);
}
