.chemryttga-legacy-mixture-field {
  display: none;
}

.chemryttga-formulation-card {
  padding: 0.75rem;
  border: 1px solid var(--chemryttga-border);
  border-radius: 0.75rem;
  background: #ffffff;
}

.chemryttga-formulation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.chemryttga-formulation-head .chemryttga-label,
.chemryttga-formulation-head .chemryttga-inline-note {
  margin: 0;
}

.chemryttga-formulation-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chemryttga-formulation-total,
.chemryttga-formulation-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 0.65rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #075985;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.chemryttga-formulation-total.is-warning {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #b45309;
}

.chemryttga-formulation-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--chemryttga-border);
  border-radius: 0.65rem;
  background: #ffffff;
}

.chemryttga-formulation-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.chemryttga-formulation-table th,
.chemryttga-formulation-table td {
  padding: 0.45rem;
  border-bottom: 1px solid var(--chemryttga-border);
  vertical-align: middle;
}

.chemryttga-formulation-table th {
  color: #375069;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.chemryttga-formulation-table tr:last-child td {
  border-bottom: 0;
}

.chemryttga-formulation-table td:nth-child(1) {
  width: 20%;
}

.chemryttga-formulation-table td:nth-child(2) {
  width: 25%;
}

.chemryttga-formulation-table td:nth-child(3) {
  width: 32%;
}

.chemryttga-formulation-table td:nth-child(4) {
  width: 10%;
}

.chemryttga-formulation-table td:nth-child(5) {
  width: 13%;
  text-align: right;
}

.chemryttga-formulation-warning-active {
  margin-top: 0.55rem;
  color: #b45309;
}

.chemryttga-formulation-table th,
.chemryttga-formulation-total,
.chemryttga-formulation-lock {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
