.section {
  margin-bottom: 40px;
}

.sectionTitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px;
}

.componentCard {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.componentTitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.componentDesc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.demoArea {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.demoAreaColumn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.demoAreaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.demoLabel {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.demoGroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demoGroupRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* AppShell diagram */
.shellDiagram {
  width: 100%;
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 12px;
  color: var(--text-muted);
}

.shellDiagramTop {
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
  background: var(--bg-overlay);
  font-weight: 600;
  color: var(--text-secondary);
}

.shellDiagramBody {
  display: flex;
  height: 140px;
}

.shellDiagramSide {
  width: 140px;
  border-right: 1px solid var(--border);
  background: var(--bg-overlay);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.shellDiagramMain {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-style: italic;
}

/* Sidebar preview container */
.sidebarPreview {
  width: 220px;
  height: 400px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

/* TopBar preview container */
.topbarPreview {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
