.fvtt-te-deum.window-app.sheet .window-content,
.fvtt-te-deum.application.sheet .window-content {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.application.fvtt-te-deum.sheet .window-content > [data-application-part],
.application.fvtt-te-deum.sheet .window-content > [data-application-part] > section {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fvtt-te-deum {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fvtt-te-deum .sheet-header {
  flex: 0 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(226, 226, 222, 0.95) 0%, rgba(240, 235, 225, 0.9) 100%);
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(139, 115, 85, 0.3);
}
.fvtt-te-deum .sheet-header .profile-img {
  flex: 0 0 128px;
  width: 128px;
  height: auto;
  max-height: 128px;
  margin-top: 0px;
  margin-right: 10px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 0;
  object-position: 50% 0;
  border-width: 0px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(139, 115, 85, 0.4);
}
.fvtt-te-deum .sheet-header .header-fields {
  flex: 1;
}
.fvtt-te-deum .sheet-header h1.charname {
  height: 50px;
  padding: 0px;
  margin: 5px 0;
  border-bottom: 0;
}
.fvtt-te-deum .sheet-header .header-identity-fields {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
}
.fvtt-te-deum .sheet-header .header-identity-fields input,
.fvtt-te-deum .sheet-header .header-identity-fields select {
  flex: 1 1 auto;
  font-size: 0.75rem;
  height: 1.6rem;
}
.fvtt-te-deum .sheet-header .header-identity-label {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(70, 67, 49, 0.9);
  white-space: nowrap;
}
.fvtt-te-deum .sheet-tabs {
  flex: 0;
  font-family: "MailartRubberstamp";
  font-size: 2.2rem;
}
.fvtt-te-deum .tox .tox-editor-container {
  background: #fff;
}
.fvtt-te-deum .tox .tox-edit-area {
  padding: 0 8px;
}
.fvtt-te-deum .resource-label {
  font-weight: bold;
  text-transform: uppercase;
}
.fvtt-te-deum .tabs {
  height: 40px;
  border-top: 1px solid rgba(139, 115, 85, 0.4);
  border-bottom: 1px solid rgba(139, 115, 85, 0.4);
  background: linear-gradient(180deg, rgba(226, 226, 222, 0.5) 0%, rgba(240, 235, 225, 0.3) 100%);
  color: #000000;
  font-family: "GreatPrimer";
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.fvtt-te-deum .tabs .item {
  line-height: 40px;
  font-weight: bold;
  padding: 0 1rem;
  transition: all 0.2s ease;
}
.fvtt-te-deum .tabs .item:hover {
  background: rgba(226, 226, 222, 0.6);
  color: rgba(70, 67, 49, 0.9);
}
.fvtt-te-deum .tabs .item.active {
  text-decoration: underline;
  text-shadow: none;
  background: rgba(196, 186, 166, 0.4);
  border-bottom: 3px solid rgba(139, 115, 85, 0.8);
}
.fvtt-te-deum .items-list {
  list-style: none;
  margin: 1px 0;
  padding: 0;
  overflow-y: auto;
}
.fvtt-te-deum .items-list .item-header {
  font-weight: bold;
}
.fvtt-te-deum .items-list .item {
  height: 30px;
  line-height: 24px;
  padding: 1px 0;
  border-bottom: 1px solid #bbb;
}
.fvtt-te-deum .items-list .item .item-image {
  flex: 0 0 24px;
  margin-right: 5px;
}
.fvtt-te-deum .items-list .item img {
  display: block;
}
.fvtt-te-deum .items-list .item-name {
  margin: 0;
}
.fvtt-te-deum .items-list .item-controls {
  flex: 0 0 86px;
  text-align: right;
}
.profile-img-container {
  margin-right: 0.2rem;
  max-width: 140px;
  width: 140px;
}
.button-img {
  vertical-align: baseline;
  width: 8%;
  height: 8%;
  max-height: 48px;
  border-width: 0px;
  border: 1px solid rgba(0, 0, 0, 0);
}
.button-img:hover {
  color: rgba(255, 255, 128, 0.7);
  border: 1px solid rgba(255, 128, 0, 0.8);
  cursor: pointer;
}
.button-effect-img {
  vertical-align: baseline;
  width: 16px;
  max-height: 16px;
  height: 16;
  border-width: 0;
}
.small-button-container {
  height: 16px;
  width: 16px;
  border: 0;
  vertical-align: bottom;
}
.fvtt-te-deum .sheet-body {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  font-size: 0.8rem;
  font-family: "GreatPrimer";
}
.fvtt-te-deum .sheet-body .tab {
  height: 100%;
  overflow-y: auto;
  font-size: 0.8rem;
  font-family: "GreatPrimer";
}
.fvtt-te-deum .sheet-body .tab .editor {
  height: 100%;
  font-size: 0.8rem;
  font-family: "GreatPrimer";
}
