.container {
  display: flex;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* Left panel — session list */
.sidebar {
  width: 280px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-default);
  background: var(--bg-primary);
  overflow: hidden;
}

.sidebarHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-default);
  flex-shrink: 0;
}

.sidebarTitle {
  font-size: 12px;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.count {
  font-size: 10px;
  color: var(--accent-primary);
  font-family: var(--font-mono);
}

.sidebarBody {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebarBody::-webkit-scrollbar {
  width: 4px;
}

.sidebarBody::-webkit-scrollbar-track {
  background: transparent;
}

.sidebarBody::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.sectionLabel {
  font-size: 10px;
  font-weight: var(--font-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 4px 4px;
  margin: 0;
}

.divider {
  height: 1px;
  background: var(--border-default);
  margin: 6px 0;
}

/* Right panel — terminal */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
  min-width: 0;
}

/* Empty state */
.emptyState {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  gap: 16px;
  color: var(--text-tertiary);
}

.emptyIcon {
  opacity: 0.2;
}

.emptyTitle {
  font-size: 14px;
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  margin: 0;
}

.emptyText {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  max-width: 340px;
  line-height: 1.5;
  margin: 0;
}

/* Loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-tertiary);
  font-size: 12px;
  gap: 8px;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-default);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
