.section {
  scroll-margin-top: 92px;
}

.toolbar-form {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.toolbar-form label {
  min-width: 210px;
  margin: 0;
}

.toolbar-form label:nth-child(2) {
  min-width: 150px;
}

.subsection-heading {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 12px;
}

.subsection-heading h3,
.subsection-heading p {
  margin: 0;
}

.subsection-heading h3 {
  font-size: 16px;
}

.subsection-heading p,
.form-note,
.dialog-summary {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.commerce-table table {
  min-width: 1120px;
}

.series-row td {
  background: #f8faf8;
  border-top: 1px solid var(--line);
}

.series-row td:first-child strong {
  color: var(--forest-dark);
  font-size: 13px;
}

.variant-row td:first-child {
  padding-left: 36px;
}

.color-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.color-value i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid rgba(34, 53, 43, .14);
  border-radius: 4px;
}

.stock-positive {
  color: var(--forest);
}

.stock-negative {
  color: #ad513e;
}

.admin-dialog-form {
  padding: 28px;
}

.risk-form {
  border-top: 4px solid #d48c37;
}

.danger-button {
  padding: 10px 16px;
  border-radius: 12px;
  background: #a84332;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.detail-grid > div {
  min-width: 0;
  padding: 12px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-grid small,
.detail-grid strong {
  display: block;
}

.detail-grid small {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
}

.detail-grid strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.detail-table {
  min-width: 620px;
}

.sensitive-panel {
  margin-top: 20px;
  padding: 16px;
  background: #fff8e7;
  border: 1px solid #ead9aa;
  border-radius: 8px;
}

.sensitive-panel label {
  margin-bottom: 10px;
}

.sensitive-result {
  margin-top: 12px;
  padding: 14px;
  color: var(--forest-dark);
  background: var(--mint);
  border: 1px solid #c7ddce;
  border-radius: 8px;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
}

.status.UNPAID {
  color: #777;
  background: #f1f1ee;
}

.status.SUCCEEDED {
  color: #2f6f52;
  background: #e8f4ec;
}

.status.FAILED,
.status.REFUNDED {
  color: #ad513e;
  background: #fbe7e3;
}

.status.AFTER_SALE {
  color: #83681e;
  background: #fff1c9;
}

@media (max-width: 700px) {
  .toolbar-form {
    display: grid;
  }

  .toolbar-form label,
  .toolbar-form label:nth-child(2) {
    min-width: 0;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}
