.application.fvtt-donjon-et-cie.item {
  display: flex !important;
  flex-direction: column;
  padding-top: 0 !important;
}

.application.fvtt-donjon-et-cie.item > .window-header {
  position: relative;
  z-index: 2;
  width: 100% !important;
  flex: 0 0 auto;
}

.application.fvtt-donjon-et-cie.item > .window-content {
  width: 100% !important;
  flex: 1 1 auto;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.application.fvtt-donjon-et-cie.item > .window-content > .dnc-sheet {
  min-height: fit-content;
}

.dnc-item-sheet .identity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dnc-item-sheet .sheet-footer {
  display: flex;
  gap: @spacing-md;
  justify-content: flex-end;
}
