/* OpenClaw Agent Provisioning Page */

.container {
  padding: var(--spacing-lg) var(--spacing-xl);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Header */
.header {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(320px, 560px);
  justify-content: center;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.4rem);
  width: 100%;
  margin: 0 0 1.4rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(143, 212, 0, 0.16), transparent 45%),
    radial-gradient(110% 140% at 100% 100%, rgba(15, 23, 42, 0.4), transparent 60%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.35), rgba(2, 6, 23, 0.1)),
    var(--color-bg-secondary);
}

.logoPanel {
  border: none;
  border-radius: var(--radius-lg);
  background: var(--color-bg-secondary);
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  display: flex;
  justify-self: stretch;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.headerBody {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.58rem;
  max-width: 64ch;
  padding-left: 0.15rem;
}

.headerBadgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.15;
}

.titleLinePrimary {
  display: block;
}

.titleLineSecondary {
  display: block;
  white-space: nowrap;
}

.titleLead {
  font-size: 1.18em;
  font-weight: 800;
  color: #8fd400;
  letter-spacing: 0.01em;
  text-shadow: 0 0 14px rgba(118, 185, 0, 0.22);
}

.titleBadge {
  font-size: 0.66rem;
  padding: 0.23rem 0.58rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badgePowered {
  background: rgba(118, 185, 0, 0.16);
  color: #8fd400;
  border: 1px solid rgba(118, 185, 0, 0.4);
}

.badgeRunning {
  background: rgba(34, 197, 94, 0.18);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badgeStopped {
  background: rgba(239, 68, 68, 0.18);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badgeTeam {
  background: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.subtitle {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
  max-width: 60ch;
  text-wrap: pretty;
}

/* Tabs */
.tabsBar {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}

.tabs {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 0.25rem;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: -1px;
}

.tab:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}

.tabActive {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tabIcon {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.tabContentShell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.tabContentShell > * {
  width: 100%;
}

/* Dashboard Tab - iframe */
.embeddedHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.embeddedHeaderLeft {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.iframeContainer {
  flex: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 680px;
  max-height: 78vh;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-secondary);
  display: flex;
  flex-direction: column;
}

.roomBridgePanel {
  flex-shrink: 0;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(118, 185, 1, 0.08);
  font-size: 0.78rem;
  color: var(--color-text-secondary);
}

.roomBridgePanelHeader {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.2rem;
}

.roomBridgeMeta,
.roomBridgeEvent {
  line-height: 1.35;
}

.iframe {
  width: 100%;
  flex: 1;
  min-height: 0;
  border: none;
}

.iframeContainer:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border: none;
  border-radius: 0;
  background: #000;
}

.iframeContainer:fullscreen .iframe {
  height: 100vh;
  min-height: 100vh;
}

.iframePlaceholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  min-height: 400px;
}

.iframePlaceholderIcon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.iframePlaceholderTitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.iframePlaceholderText {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Status Tab */
.statusGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.statusCard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.statusCardClickable:hover {
  border-color: var(--color-primary, #3b82f6);
  box-shadow: 0 0 0 1px var(--color-primary, #3b82f6);
}

.statusCardHeader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.statusCardIcon {
  font-size: 1.5rem;
}

.statusCardTitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.statusCardValue {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.statusHealthy {
  color: #22c55e;
}

.statusUnhealthy {
  color: #ef4444;
}

.statusUnknown {
  color: var(--color-text-secondary);
}

.statusCardDetail {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.statusActions {
  margin-top: 0.35rem;
  display: flex;
  justify-content: flex-end;
}

.statusActionsCentered {
  margin-top: 0.35rem;
  display: flex;
  justify-content: center;
}

/* Provision Tab — Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.stepItem {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.stepItem:hover {
  background: var(--color-bg-hover);
}

.stepCircle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  color: var(--color-text-secondary);
  background: var(--color-bg);
  transition: all 0.2s;
  flex-shrink: 0;
}

.stepActive .stepCircle {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: white;
}

.stepCompleted .stepCircle {
  border-color: #22c55e;
  background: #22c55e;
  color: white;
}

.stepLabel {
  font-weight: 500;
}

.stepActive .stepLabel {
  color: var(--color-text);
  font-weight: 600;
}

.stepCompleted .stepLabel {
  color: #22c55e;
}

.stepConnector {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  min-width: 40px;
  max-width: 120px;
  transition: background 0.3s;
}

.stepConnectorActive {
  background: #22c55e;
}

/* Step Content */
.stepContent {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.stepTitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.stepDescription {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Form elements */
.formGroup {
  margin-bottom: 1.25rem;
}

.formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.formRowThree {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.formLabel {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.formHint {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

.textInput {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.875rem;
  box-sizing: border-box;
}

.textInput:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(118, 185, 0, 0.2);
}

.numberInput {
  width: 120px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.875rem;
}

.numberInput:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(118, 185, 0, 0.2);
}

.textArea {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.875rem;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}

.textArea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(118, 185, 0, 0.2);
}

.selectInput {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.875rem;
  width: 100%;
}

.selectInput:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(118, 185, 0, 0.2);
}

/* Toggle */
.toggle {
  display: flex;
  gap: 0.75rem;
}

.toggleOption {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--color-bg);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.toggleOption:hover {
  border-color: var(--color-text-secondary);
}

.toggleOptionSelected {
  border-color: var(--color-primary);
  background: rgba(118, 185, 0, 0.08);
  color: var(--color-primary);
}

/* Skill cards */
.skillGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.skillCard {
  padding: 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--color-bg);
}

.skillCard:hover {
  border-color: var(--color-text-secondary);
}

.skillCardSelected {
  border-color: var(--color-primary);
  background: rgba(118, 185, 0, 0.05);
}

.skillCardHeader {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.skillCardEmoji {
  font-size: 1.25rem;
}

.skillCardName {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.skillCardCategory {
  font-size: 0.625rem;
  padding: 0.1rem 0.4rem;
  background: rgba(118, 185, 0, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: auto;
}

.skillCardDesc {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Section divider */
.sectionTitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--color-border);
}

/* Deploy summary */
.summaryGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summaryCard {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.summaryCardTitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.summaryCardContent {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}

.summarySkillList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.summarySkillBadge {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(118, 185, 0, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Code preview */
.codePreview {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  overflow-x: auto;
}

.codePreviewHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.codePreviewLabel {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
}

.codePreviewCopy {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: all 0.15s;
}

.codePreviewCopy:hover {
  color: var(--color-text);
  border-color: var(--color-text-secondary);
}

.codePreviewContent {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.8rem;
  color: var(--color-accent-cyan);
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
}

/* Action buttons */
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.actionsLeft {
  display: flex;
  gap: 0.75rem;
}

.actionsRight {
  display: flex;
  gap: 0.75rem;
}

.btnPrimary {
  padding: 0.625rem 1.5rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btnPrimary:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btnPrimary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btnSecondary {
  padding: 0.625rem 1.5rem;
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.btnSecondary:hover:not(:disabled) {
  background: var(--color-bg-hover);
}

.btnSecondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btnSuccess {
  padding: 0.625rem 1.5rem;
  background: #22c55e;
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btnSuccess:hover:not(:disabled) {
  background: #16a34a;
}

.btnSuccess:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btnDanger {
  padding: 0.625rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.btnDanger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.2);
}

/* Success/Error alerts */
.successCard {
  text-align: center;
  padding: 2rem;
}

.successIcon {
  margin-bottom: 1rem;
}

.successTitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.successMessage {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.errorAlert {
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: #ef4444;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Loading */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem;
  color: var(--color-text-secondary);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Container Table */
.containerTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 1.5rem;
}

.containerTable th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.containerTable td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.containerTable tbody tr {
  transition: background 0.15s;
}

.containerTable tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.containerTableName {
  font-weight: 600;
}

.containerTablePort {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.8rem;
  color: var(--color-accent-cyan, #22d3ee);
}

.healthBadge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.healthBadgeHealthy {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.healthBadgeRunning {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}

.healthBadgeStopped {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.containerActions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btnSmall {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-secondary);
  transition: all 0.15s;
}

.btnSmall:hover:not(:disabled) {
  background: var(--color-bg-hover);
  color: var(--color-text);
}

.btnSmall:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btnSmallDanger {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.btnSmallDanger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.btnSmallPrimary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btnSmallPrimary:hover:not(:disabled) {
  background: rgba(118, 185, 0, 0.08);
}

.emptyState {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--color-text-secondary);
}

.emptyStateIcon {
  font-size: 3rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.emptyStateText {
  font-size: 0.875rem;
  line-height: 1.5;
}

.productSection {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(130% 135% at 0% 0%, rgba(118, 185, 0, 0.22), transparent 55%),
    radial-gradient(100% 90% at 100% 100%, rgba(15, 23, 42, 0.42), transparent 58%),
    var(--color-bg-secondary);
  overflow: hidden;
}

.kernelIntro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.kernelIntroBody {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.kernelBadge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9edc36;
  border: 1px solid rgba(118, 185, 0, 0.46);
  background: rgba(118, 185, 0, 0.14);
}

.kernelTitle {
  margin: 0;
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

.kernelSubtitle {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.kernelMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.kernelMeta span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.5);
  border-radius: 999px;
  padding: 0.15rem 0.52rem;
}

.kernelFlow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}

.kernelLayerRail {
  border: 1px solid rgba(118, 185, 0, 0.28);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(118, 185, 0, 0.12), rgba(2, 6, 23, 0.12) 45%, transparent 80%),
    rgba(2, 6, 23, 0.42);
  padding: 0.66rem;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

.kernelLayerLabel {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9edc36;
  font-weight: 700;
}

.kernelNodeGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
}

.kernelNodeGridTwoByTwo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kernelModelGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kernelNodeCard {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.68);
  padding: 0.56rem 0.58rem;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}

.kernelClawNodeCard {
  padding: 0.68rem 0.72rem;
  min-height: 86px;
  gap: 0.42rem;
}

.kernelClawNodeHead {
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.kernelClawNodeLogoWrap {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(118, 185, 0, 0.44);
  background: rgba(118, 185, 0, 0.14);
  box-shadow: 0 4px 10px rgba(118, 185, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kernelClawNodeLogo {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.kernelNodeHealthy {
  border-color: rgba(34, 197, 94, 0.42);
}

.kernelNodeStarting {
  border-color: rgba(234, 179, 8, 0.4);
}

.kernelNodeStopped {
  border-color: rgba(239, 68, 68, 0.4);
}

.kernelNodeTitle {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text);
  font-weight: 650;
  line-height: 1.3;
}

.kernelNodeMeta {
  margin: 0;
  font-size: 0.7rem;
  color: var(--color-text-secondary);
}

.kernelCore {
  width: 100%;
  margin: 0;
  position: relative;
  border: 1px solid rgba(118, 185, 0, 0.42);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(140px 140px at 50% 48%, rgba(118, 185, 0, 0.18), transparent 78%),
    rgba(2, 6, 23, 0.78);
  padding: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
  overflow: hidden;
}

.kernelPulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 178px;
  height: 178px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(118, 185, 0, 0.34), rgba(118, 185, 0, 0) 70%);
  pointer-events: none;
}

.kernelCoreHeader {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.kernelCoreBadge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9edc36;
  font-weight: 700;
}

.kernelCoreHint {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a8b4c8;
}

.kernelCoreLead {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(118, 185, 0, 0.36);
  border-radius: var(--radius-md);
  padding: 0.62rem 0.68rem;
  background:
    linear-gradient(150deg, rgba(118, 185, 0, 0.18), rgba(15, 23, 42, 0.42) 58%),
    rgba(2, 6, 23, 0.5);
}

.kernelCoreTitle {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 700;
}

.kernelCoreDescription {
  margin: 0.26rem 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.kernelLayerCore {
  border-color: rgba(118, 185, 0, 0.38);
  background:
    linear-gradient(160deg, rgba(118, 185, 0, 0.14), rgba(2, 6, 23, 0.2) 45%, transparent 82%),
    rgba(2, 6, 23, 0.44);
}

.kernelFlowConnector {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kernelFlowConnector::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(118, 185, 0, 0), rgba(118, 185, 0, 0.7), rgba(118, 185, 0, 0));
}

.kernelFlowConnectorDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #9edc36;
  box-shadow: 0 0 12px rgba(118, 185, 0, 0.75);
  z-index: 1;
}

.kernelModelCard {
  background:
    linear-gradient(150deg, rgba(118, 185, 0, 0.16), rgba(15, 23, 42, 0.58) 42%),
    rgba(2, 6, 23, 0.7);
}

.kernelFeatureGrid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.55rem;
}

.kernelFeatureCard {
  border: 1px solid rgba(118, 185, 0, 0.3);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(118, 185, 0, 0.16), rgba(15, 23, 42, 0.4) 45%, transparent 80%),
    rgba(2, 6, 23, 0.55);
  padding: 0.6rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.48rem;
  align-items: flex-start;
}

.kernelFeatureIcon {
  font-size: 0.98rem;
  line-height: 1;
}

.kernelFeatureBody {
  min-width: 0;
}

.kernelFeatureTag {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.24rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(118, 185, 0, 0.48);
  background: rgba(118, 185, 0, 0.14);
  color: #b9ea62;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.kernelFeatureTitle {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text);
  line-height: 1.3;
}

.kernelFeatureDescription {
  margin: 0.18rem 0 0;
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  line-height: 1.42;
}

@media (max-width: 1240px) {
  .kernelNodeGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kernelFeatureGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .kernelNodeGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kernelCore {
    width: 100%;
  }
}

.teamCompositionSection {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}

.teamCompositionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.teamCompositionTitle {
  margin: 0;
  font-size: 0.96rem;
  color: var(--color-text);
}

.teamCompositionSummary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.teamCompositionSummary span {
  font-size: 0.74rem;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
}

.teamCompositionGrid {
  padding: 0.85rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.teamCompositionCard {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.09), rgba(118, 185, 0, 0.03) 40%, transparent 75%),
    var(--color-bg-secondary);
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.teamCompositionCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.teamCompositionCardTitle {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text);
}

.teamCompositionCardMeta {
  margin-top: 0.2rem;
  font-size: 0.74rem;
  color: var(--color-text-secondary);
}

.teamCompositionCardCount {
  font-size: 0.67rem;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  white-space: nowrap;
}

.teamCompositionPrincipal {
  margin: 0;
  font-size: 0.76rem;
  color: var(--color-text);
  line-height: 1.42;
}

.teamCompositionAgentList {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.teamCompositionAgentItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 0.32rem 0.45rem;
}

.teamCompositionAgentName {
  font-size: 0.74rem;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.teamCompositionAgentEmpty {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  padding: 0.45rem 0.55rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
}

.teamCompositionEmpty {
  padding: 1rem;
  font-size: 0.84rem;
  color: var(--color-text-secondary);
}

.teamDashboard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.teamManager {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.entityToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.entitySearch {
  flex: 1 1 auto;
  max-width: 580px;
}

.entitySearchInput {
  width: 100%;
  padding: 0.6rem 0.78rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-secondary);
  color: var(--color-text);
  font-size: 0.86rem;
}

.entitySearchInput:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(118, 185, 0, 0.18);
}

.entityToolbarActions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.entityRowActions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.entityRowActions .btnSmall {
  min-width: 72px;
  justify-content: center;
}

.teamStatsGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.teamStatCard {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.11), rgba(34, 197, 94, 0.03) 45%, rgba(0, 0, 0, 0) 70%),
    var(--color-bg-secondary);
  padding: 0.9rem 1rem;
}

.teamStatValue {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.teamStatLabel {
  margin-top: 0.2rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.teamChartsGrid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
}

.teamPanelsRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.teamPanel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-secondary);
  padding: 0.95rem;
}

.teamPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.teamPanelTitle {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--color-text);
}

.teamPanelSubtitle {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panelText {
  margin: 0 0 0.8rem 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.breakdownList {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.breakdownRow {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) 2fr auto;
  gap: 0.55rem;
  align-items: center;
}

.breakdownLabel {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breakdownTrack {
  width: 100%;
  height: 8px;
  background: rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.breakdownBar {
  height: 100%;
  background: var(--color-primary);
  border-radius: 999px;
}

.breakdownValue {
  font-size: 0.74rem;
  color: var(--color-text-secondary);
  font-family: 'SF Mono', Monaco, monospace;
}

.agentGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.agentCard {
  border: 1px solid rgba(118, 185, 0, 0.32);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(118, 185, 0, 0.18), rgba(118, 185, 0, 0.07) 40%, rgba(0, 0, 0, 0) 72%),
    var(--color-bg-secondary);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}

.agentCardHeader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agentIdentityMarks {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(118, 185, 0, 0.5);
  background: rgba(118, 185, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(118, 185, 0, 0.2);
}

.clawLogoMark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.agentAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(118, 185, 0, 0.55);
  background: rgba(118, 185, 0, 0.12);
  flex-shrink: 0;
}

.agentHeaderMeta {
  min-width: 0;
  flex: 1;
}

.agentName {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
}

.agentContainerRef {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-family: 'SF Mono', Monaco, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teamTag {
  margin-top: 0.28rem;
  width: fit-content;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9edc36;
  border: 1px solid rgba(118, 185, 0, 0.55);
  background: rgba(118, 185, 0, 0.16);
  border-radius: 999px;
  padding: 0.08rem 0.45rem;
}

.agentBody {
  border: 1px solid rgba(118, 185, 0, 0.25);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(118, 185, 0, 0.08), rgba(2, 6, 23, 0.28));
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1 1 auto;
}

.agentMetaRow {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 0.75rem;
}

.agentMetaLabel {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
}

.agentMetaValue {
  font-size: 0.82rem;
  color: var(--color-text);
  line-height: 1.4;
  word-break: break-word;
}

.agentFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.agentTimestamp {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
}

.nameWarning {
  font-size: 0.75rem;
  color: #eab308;
  margin-top: 0.25rem;
}

.teamCardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.teamEntityCard {
  border: 1px solid rgba(118, 185, 0, 0.32);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(118, 185, 0, 0.16), rgba(118, 185, 0, 0.05) 48%, rgba(0, 0, 0, 0) 78%),
    var(--color-bg-secondary);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.teamEntityHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.teamEntityName {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

.teamEntityId {
  margin-top: 0.25rem;
  font-size: 0.74rem;
  color: var(--color-text-secondary);
  font-family: 'SF Mono', Monaco, monospace;
}

.teamEntityActions {
  display: flex;
  gap: 0.45rem;
}

.teamEntityMeta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

.teamEntityDesc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text);
}

.teamEntityStats {
  display: flex;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ocModalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(3px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ocModal {
  width: min(960px, 100%);
  max-height: min(92vh, 980px);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ocModalWide {
  width: min(1180px, 100%);
}

.ocModalHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.ocModalTitleRow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.ocModalLogo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(118, 185, 0, 0.25));
}

.ocModalTitle {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--color-text);
}

.ocModalClose {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.ocModalClose:hover:not(:disabled) {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}

.ocModalBody {
  padding: 1rem;
  overflow: auto;
}

.ocModalFooter {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: var(--spacing-md);
  }

  .header {
    grid-template-columns: 1fr;
    padding: 0.95rem;
    gap: 0.9rem;
    width: 100%;
    margin: 0 0 1.2rem;
  }

  .logoPanel {
    justify-self: stretch;
    max-width: none;
    aspect-ratio: 16 / 9;
    min-height: 0;
    padding: 0;
  }

  .logo {
    width: 100%;
    height: 100%;
  }

  .title {
    font-size: 1.55rem;
  }

  .titleLead {
    font-size: 1.12em;
  }

  .subtitle {
    max-width: none;
    font-size: 0.88rem;
  }

  .headerBody {
    max-width: none;
    padding-left: 0;
  }

  .tabsBar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .teamStatsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kernelIntro {
    flex-direction: column;
    gap: 0.6rem;
  }

  .kernelMeta {
    justify-content: flex-start;
  }

  .kernelFlow {
    gap: 0.45rem;
  }

  .kernelNodeGrid {
    grid-template-columns: 1fr;
  }

  .kernelClawNodeCard {
    min-height: 78px;
  }

  .kernelClawNodeLogoWrap {
    width: 32px;
    height: 32px;
  }

  .kernelClawNodeLogo {
    width: 22px;
    height: 22px;
  }

  .kernelFlowConnector {
    height: 22px;
  }

  .kernelFeatureGrid {
    grid-template-columns: 1fr;
  }

  .kernelFeatureCard {
    grid-template-columns: auto 1fr;
  }

  .teamChartsGrid,
  .teamPanelsRow {
    grid-template-columns: 1fr;
  }

  .teamCompositionSummary {
    padding: 0.65rem 0.75rem;
  }

  .teamCompositionGrid {
    padding: 0.7rem;
    grid-template-columns: 1fr;
  }

  .teamCompositionCardHeader {
    flex-direction: column;
  }

  .breakdownRow {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .formRow, .formRowThree {
    grid-template-columns: 1fr;
  }

  .summaryGrid {
    grid-template-columns: 1fr;
  }

  .skillGrid {
    grid-template-columns: 1fr;
  }

  .stepper {
    padding: 0;
    overflow-x: auto;
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .iframeContainer {
    min-height: 560px;
    max-height: 74vh;
  }

  .agentMetaRow {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .teamEntityHeader {
    flex-direction: column;
  }

  .teamEntityActions {
    width: 100%;
  }

  .entityToolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .entitySearch {
    max-width: none;
  }

  .entityToolbarActions {
    justify-content: flex-end;
  }

  .agentIdentityMarks {
    width: 32px;
    height: 32px;
  }

  .clawLogoMark {
    width: 22px;
    height: 22px;
  }

  .ocModalLogo {
    width: 32px;
    height: 32px;
  }

  .actions {
    flex-direction: column;
  }

  .actionsLeft, .actionsRight {
    width: 100%;
  }
}
