.resource-allocation-shell {
  padding: 12px;
  border: 1px solid rgba(42, 67, 101, 0.08);
  border-radius: 20px;
  background: linear-gradient(rgb(249, 251, 254) 0%, rgb(242, 246, 251) 100%);
}

.resource-allocation-frame {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid rgba(42, 67, 101, 0.08);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.resource-allocation-names {
  flex: 0 0 220px;
  width: 220px;
  border-right: 1px solid rgba(42, 67, 101, 0.12);
  background: #ffffff;
  box-shadow: 8px 0 18px rgba(15, 23, 42, 0.04);
  z-index: 2;
}

.resource-allocation-scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.resource-allocation-name-header {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(42, 67, 101, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.resource-allocation-name-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 12px;
}

.resource-allocation-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 10px;
  box-sizing: border-box;
}

.resource-allocation-name-swatch {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.resource-allocation-name-label {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-allocation-chart {
  display: block;
  vertical-align: top;
}

.workspace-header-resources {
  background: linear-gradient(135deg, var(--workspace-schedule) 0%, var(--accent-backgrounds) 100%);
}

.task-manager-allocation {
  margin-bottom: 14px;
}

.task-manager-allocation-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.task-manager-allocation .resource-allocation-shell {
  padding: 0;
  border: none;
  border-radius: 14px;
  background: transparent;
}
