.page-inventory .inventory-roster-name-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  padding: 5px 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.page-inventory .inventory-roster-name-button:hover {
  background: rgba(98, 194, 180, 0.09);
  color: #8de2d5;
}

.page-inventory .inventory-roster-name-button:focus-visible {
  outline: 2px solid #62c2b4;
  outline-offset: 2px;
}

.inventory-roster-name-chevron {
  flex: 0 0 auto;
  margin-left: 0.5rem;
  color: #62c2b4;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.inventory-roster-row-expanded .inventory-roster-name-chevron {
  transform: rotate(90deg);
}

.page-inventory .inventory-roster-row-expanded,
.page-inventory .inventory-roster-row-expanded:hover {
  background: rgba(98, 194, 180, 0.1);
  border-bottom-color: transparent;
  box-shadow: inset 3px 0 0 rgba(98, 194, 180, 0.82);
}

.inventory-inline-editor-row {
  min-width: 1058px;
  padding: 0 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(
    180deg,
    rgba(98, 194, 180, 0.1),
    rgba(6, 18, 14, 0.96)
  );
}

.inventory-inline-editor-row .inventory-edit-section {
  margin: 0;
  padding: 18px;
  border-color: rgba(98, 194, 180, 0.48);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.inventory-inline-editor-row .inventory-edit-form {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.inventory-inline-editor-row .inventory-edit-form > .manual-field {
  grid-column: span 2;
}

.inventory-inline-editor-row .inventory-edit-form > .inventory-edit-fast-move-field,
.inventory-inline-editor-row .inventory-edit-form > .inventory-edit-charged-move-1-field,
.inventory-inline-editor-row .inventory-edit-form > .inventory-edit-charged-move-2-field,
.inventory-inline-editor-row .inventory-edit-form > .inventory-third-charged-field {
  grid-column: span 3;
}

.inventory-inline-editor-row .inventory-edit-header {
  align-items: center;
  margin-bottom: 14px;
}

.inventory-inline-editor-row .inventory-edit-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.inventory-inline-editor-row .inventory-edit-header .inventory-eyebrow {
  margin-bottom: 0.25rem;
}

.inventory-inline-editor-row .inventory-edit-header h3 {
  font-size: 1.2rem;
}

.inventory-inline-editor-row .inventory-edit-section[aria-busy="true"] {
  opacity: 0.78;
}

@media (max-width: 700px) {
  .page-inventory .inventory-roster-name-button {
    min-height: 42px;
    padding: 7px 8px;
  }

  .page-inventory .inventory-roster-row-expanded {
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
  }

  .inventory-inline-editor-row {
    min-width: 0;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    border-radius: 0 0 12px 12px;
  }

  .inventory-inline-editor-row .inventory-edit-section {
    padding: 16px 14px;
    border-radius: 0 0 12px 12px;
  }

  .inventory-inline-editor-row .inventory-edit-form {
    grid-template-columns: 1fr;
  }

  .inventory-inline-editor-row .inventory-edit-form > .manual-field {
    grid-column: 1;
  }

  .inventory-inline-editor-row .inventory-edit-header {
    align-items: stretch;
    flex-direction: column;
  }

  .inventory-inline-editor-row .inventory-edit-header-actions {
    width: 100%;
    margin-left: 0;
  }

  .inventory-inline-editor-row .inventory-edit-header-actions .inventory-secondary-button,
  .inventory-inline-editor-row .inventory-edit-header-actions .inventory-save-edit-button {
    flex: 1 1 0;
    min-width: 0;
  }
}
