/* Shared entity header used by Team and Restaurant profile modules. */
.rs-entity-header {
  min-height: 56px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: visible;
  border-bottom: 1px solid var(--rst-ui-surface-divider);
  background: var(--rst-ui-surface-panel-head);
}

.rs-entity-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.rs-entity-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
}

.rs-entity-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.rs-entity-title-line {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rs-entity-title-line h2 {
  min-width: 0;
  margin: 0;
  overflow: visible;
  color: var(--rst-ui-text);
  font-size: 17px;
  line-height: 1;
  font-weight: var(--rst-fw-display);
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-entity-chips {
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.rs-entity-chip {
  min-height: 20px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rst-ui-muted);
  font-size: 10.5px;
  font-weight: var(--rst-fw-bold);
  line-height: 1;
  white-space: nowrap;
}

.rs-entity-chip svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rs-entity-chip i {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--rst-state-info-text);
  font-size: 11px;
  font-style: normal;
  font-weight: var(--rst-fw-display);
  line-height: 1;
}

.rs-entity-actions {
  position: relative;
  z-index: var(--rst-z-menu);
  flex-wrap: wrap;
}

.rs-entity-actions .rs-control-button {
  width: 36px;
  height: 36px;
}
