.dashboard {
  align-items: stretch;
  display: grid;
  gap: 20px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  grid-template-columns: 220px minmax(0, 1fr);
}

.page-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.page-header {
  border-radius: var(--radius-lg);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 22px;
  position: static;
}

.page-header-main {
  display: flex;
  flex: 1;
  gap: 18px;
  justify-content: space-between;
  min-width: 0;
}

.page-header-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.page-header-title,
.section-heading h2 {
  color: var(--color-highlight);
  margin: 0;
}

.page-header-title {
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-header-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-badges,
.metric-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.status-badge,
.metric-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-soft);
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  min-height: 32px;
  padding: 4px 12px;
  white-space: nowrap;
}

.status-badge span,
.metric-badge span {
  color: var(--color-muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-badge strong,
.metric-badge strong {
  color: var(--color-highlight);
  font-size: 0.82rem;
  font-weight: 600;
}

.page-header-actions {
  align-items: flex-start;
  display: flex;
  flex-shrink: 0;
}

.status-banner {
  margin: 0;
}

.page-body {
  align-items: stretch;
  display: grid;
  flex: 1;
  gap: 16px;
  min-height: 0;
  overflow: hidden;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

.sidebar,
.page-content {
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 20px;
}

.sidebar {
  position: static;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.section-copy {
  line-height: 1.75;
  margin: 0 0 12px;
}

.session-list {
  flex: 1;
  max-height: none;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.session-item {
  align-items: flex-start;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-soft);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  min-height: 88px;
  min-width: 0;
  overflow: visible;
  padding: 12px 14px 12px 16px;
  text-align: left;
  width: 100%;
}

.session-item.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-border-soft);
  border-left-color: var(--color-accent-strong);
  box-shadow: none;
}

.session-item-title {
  color: var(--color-highlight);
  display: block;
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.65;
  width: 100%;
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  padding: 2px 0;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

.session-meta {
  align-items: center;
  color: var(--color-muted);
  display: flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: space-between;
  min-height: 28px;
  min-width: 0;
  width: 100%;
}

.session-meta .chip {
  max-width: 100%;
}

.chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-highlight);
  display: inline-flex;
  font-size: 0.76rem;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
}

.session-time {
  color: var(--color-muted);
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}

.tab-pane {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}
