.sales-transfer-page {
  gap: 16px;
}

.sales-panel {
  gap: 20px;
  min-width: 0;
}

.sales-panel-head {
  align-items: flex-start;
  min-width: 0;
}

.sales-panel-head > * {
  min-width: 0;
}

.sales-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.sales-download-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sales-button,
.sales-file-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(126, 96, 86, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #765347;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.sales-button:hover,
.sales-file-button:hover {
  border-color: rgba(117, 83, 71, 0.52);
  background: #fffaf2;
}

.sales-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.sales-button.is-sending,
.sales-button.is-sending:disabled {
  min-width: 128px;
  gap: 8px;
  border-color: rgba(47, 109, 75, 0.48);
  background: rgba(247, 255, 249, 0.96);
  color: #2f6d4b;
  cursor: progress;
  opacity: 1;
}

.sales-button-loading-label {
  white-space: nowrap;
}

.sales-button-loading-track {
  position: relative;
  width: 42px;
  height: 5px;
  overflow: hidden;
  border: 1px solid rgba(47, 109, 75, 0.24);
  background: rgba(47, 109, 75, 0.08);
}

.sales-button-loading-track span {
  position: absolute;
  inset: 0 auto 0 -46%;
  width: 46%;
  background: linear-gradient(90deg, rgba(47, 109, 75, 0), rgba(47, 109, 75, 0.85), rgba(47, 109, 75, 0));
  animation: sales-send-sweep 1.1s ease-in-out infinite;
}

.sales-button-loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.sales-button-loading-dots span {
  width: 4px;
  height: 4px;
  background: #2f6d4b;
  opacity: 0.28;
  animation: sales-send-dot 1.05s ease-in-out infinite;
}

.sales-button-loading-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.sales-button-loading-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes sales-send-sweep {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(318%);
  }
}

@keyframes sales-send-dot {
  0%,
  100% {
    opacity: 0.28;
  }
  45% {
    opacity: 0.95;
  }
}

.sales-form-grid select,
.sales-form-grid input[readonly] {
  color: #5d443d;
}

.monthly-db-refresh-warning {
  align-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(180, 35, 24, 0.28);
  background: rgba(255, 244, 242, 0.92);
  color: #b42318;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.monthly-db-refresh-warning[hidden],
.monthly-db-refresh-warning:empty {
  display: none !important;
}

.sales-button-primary {
  border-color: rgba(60, 120, 91, 0.42);
  background: #f7fff9;
  color: #2f6d4b;
}

.sales-button-secondary {
  color: #5b677a;
}

.sales-file-button input {
  display: none;
}

.sales-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sales-status-card {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(126, 96, 86, 0.2);
  background: rgba(255, 255, 255, 0.7);
}

.sales-status-label {
  color: rgba(84, 65, 58, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.sales-status-card strong {
  color: #5e4038;
  font-size: 17px;
  line-height: 1.25;
  word-break: break-all;
}

.sales-status-card[data-tone="success"] {
  border-color: rgba(60, 120, 91, 0.35);
  background: rgba(244, 255, 248, 0.8);
}

.sales-status-card[data-tone="warning"] {
  border-color: rgba(181, 126, 41, 0.35);
  background: rgba(255, 250, 239, 0.82);
}

.sales-status-card[data-tone="error"] {
  border-color: rgba(180, 72, 72, 0.34);
  background: rgba(255, 244, 244, 0.86);
}

.sales-status-line,
.sales-job-status {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(126, 96, 86, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: #694f46;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.sales-status-line[data-tone="success"],
.sales-job-status[data-tone="success"] {
  border-color: rgba(60, 120, 91, 0.32);
  color: #2f6d4b;
}

.sales-status-line[data-tone="error"],
.sales-job-status[data-tone="error"] {
  border-color: rgba(180, 72, 72, 0.34);
  color: #a33f3f;
}

.sales-status-line[data-tone="warning"],
.sales-job-status[data-tone="warning"] {
  border-color: rgba(181, 126, 41, 0.36);
  color: #8a641c;
}

.sales-send-result {
  display: grid;
  gap: 8px;
}

.sales-send-result[hidden] {
  display: none;
}

.sales-send-summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(126, 96, 86, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: #694f46;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.sales-send-summary[data-tone="success"] {
  border-color: rgba(60, 120, 91, 0.32);
  background: rgba(244, 255, 248, 0.82);
  color: #2f6d4b;
}

.sales-send-summary[data-tone="warning"] {
  border-color: rgba(181, 126, 41, 0.36);
  background: rgba(255, 250, 239, 0.84);
  color: #8a641c;
}

.sales-send-summary[data-tone="error"] {
  border-color: rgba(180, 72, 72, 0.34);
  background: rgba(255, 244, 244, 0.86);
  color: #a33f3f;
}

.sales-send-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(126, 96, 86, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.sales-send-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: #564138;
  font-size: 13px;
  line-height: 1.45;
}

.sales-send-failure-table {
  min-width: 620px;
}

.sales-send-table th,
.sales-send-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(126, 96, 86, 0.14);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.sales-send-table th {
  background: rgba(237, 231, 221, 0.82);
  color: #4f3c35;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.sales-send-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid rgba(126, 96, 86, 0.2);
  background: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.sales-send-badge[data-tone="success"] {
  border-color: rgba(60, 120, 91, 0.26);
  background: rgba(244, 255, 248, 0.86);
  color: #2f6d4b;
}

.sales-send-badge[data-tone="warning"] {
  border-color: rgba(181, 126, 41, 0.3);
  background: rgba(255, 250, 239, 0.9);
  color: #8a641c;
}

.sales-send-title {
  font-weight: 900;
}

.sales-send-muted {
  color: rgba(86, 65, 56, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.sales-send-number {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sales-form-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.8fr);
  gap: 14px;
}

.sales-half-grid {
  width: min(50%, 720px);
  max-width: 100%;
}

.sales-form-grid-compact {
  grid-template-columns: minmax(180px, 0.6fr) minmax(180px, 0.6fr);
}

.sales-config-grid {
  grid-template-columns: minmax(160px, 0.5fr) minmax(160px, 0.5fr);
}

.sales-transfer-page .sales-form-grid .inbound-field input,
.sales-transfer-page .sales-form-grid .inbound-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(126, 96, 86, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #5d443d;
  font: inherit;
  font-weight: 700;
}

.sales-transfer-page .sales-config-grid .inbound-field input,
.sales-transfer-page .sales-config-grid .inbound-field select {
  min-height: 46px;
}

.sales-amos-grid {
  align-items: end;
}

.sales-amos-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.sales-amos-actions .sales-button {
  width: fit-content;
}

.sales-amos-grid + .sales-send-result {
  margin-top: 8px;
}

.sales-amos-file-list {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
  margin: 8px 0 10px;
  color: #6b554e;
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
}

.sales-amos-file-names {
  flex: 1 1 260px;
  min-width: 0;
  max-width: min(100%, 680px);
  overflow: hidden;
  color: #8a6d62;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sales-amos-summary {
  margin-top: 10px;
}

.sales-amos-summary:empty {
  display: none;
}

.sales-amos-summary-row,
.sales-amos-sheet-grid {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: #5d443d;
  font-size: 14px;
  font-weight: 800;
}

.sales-amos-summary-row span,
.sales-amos-sheet-grid span {
  padding: 6px 9px;
  border: 1px solid rgba(126, 96, 86, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.sales-amos-sheet-grid {
  margin-top: 8px;
}

.sales-amos-warnings {
  margin-top: 8px;
  color: #9a5a16;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.sales-amos-override-manager { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(126,96,86,.18); }
.sales-amos-override-manager h3 { margin: 0 0 6px; }
.sales-amos-override-manager > p { margin: 0 0 14px; color: #765f57; font-size: 13px; }
.sales-amos-override-form { margin-bottom: 10px; }
.sales-amos-override-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sales-amos-override-table-wrap { margin-top: 14px; overflow-x: auto; }
.sales-amos-override-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sales-amos-override-table th, .sales-amos-override-table td { padding: 9px 10px; border: 1px solid rgba(126,96,86,.18); text-align: left; vertical-align: top; }
.sales-amos-override-table th { background: rgba(126,96,86,.08); }
.sales-amos-override-table td:last-child { white-space: nowrap; }
.sales-amos-override-table button { margin-right: 5px; }

.sales-field-wide,
.sales-field-full {
  grid-column: 1 / -1;
}

.sales-form-grid textarea {
  width: 100%;
  min-height: 118px;
  padding: 12px 14px;
  border: 1px solid rgba(126, 96, 86, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #5d443d;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  resize: vertical;
}

.sales-form-grid textarea:focus,
.sales-form-grid select:focus,
.sales-form-grid input:focus {
  outline: 2px solid rgba(58, 130, 176, 0.22);
  outline-offset: 0;
  border-color: rgba(58, 130, 176, 0.42);
}

.sales-inline-check {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5d443d;
  font-size: 14px;
  font-weight: 900;
}

.sales-inline-check input {
  width: 18px;
  height: 18px;
  accent-color: #2f6d4b;
}

.sales-config-results {
  display: grid;
  gap: 6px;
}

.sales-config-result {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.65fr);
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(126, 96, 86, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #564138;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  text-align: left;
  cursor: pointer;
}

.sales-config-result strong,
.sales-config-result span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sales-config-result strong {
  font-size: 13px;
  font-weight: 900;
}

.sales-config-result span {
  color: rgba(86, 65, 56, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.sales-config-result:hover,
.sales-config-result:focus-visible,
.sales-config-result.is-selected {
  border-color: rgba(58, 130, 176, 0.48);
  background: rgba(58, 130, 176, 0.08);
  outline: none;
}

.sales-subsection {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(126, 96, 86, 0.16);
}

.sales-report-box {
  padding: 16px;
  border: 1px solid rgba(126, 96, 86, 0.2);
  border-left-width: 5px;
  background: rgba(255, 255, 255, 0.62);
}

.sales-report-box + .sales-report-box {
  margin-top: 2px;
}

.sales-ss-report-box {
  border-left-color: #3a82b0;
}

.sales-lg-report-box {
  border-left-color: #9b4d8a;
  background: rgba(255, 250, 254, 0.72);
}

.sales-lg-download-groups {
  display: grid;
  gap: 8px;
}

.sales-lg-download-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sales-lg-download-label {
  min-width: 74px;
  color: #5e4038;
  font-size: 13px;
  font-weight: 900;
}

.sales-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sales-subsection-head h3 {
  margin: 0;
  color: #4f3c35;
  font-size: 18px;
  font-weight: 900;
}

.sales-ss-config {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(126, 96, 86, 0.16);
  background: rgba(255, 255, 255, 0.48);
}

.sales-ss-config-head h4 {
  margin: 0;
  color: #4f3c35;
  font-size: 15px;
  font-weight: 900;
}

.sales-ss-config-saved {
  display: grid;
  gap: 7px;
}

.sales-ss-config-saved-title {
  color: rgba(84, 65, 58, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.sales-preview {
  min-height: 46px;
}

.sales-preview-empty,
.sales-preview-summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid rgba(126, 96, 86, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: #694f46;
  font-size: 14px;
  font-weight: 800;
}

.sales-preview-selection-summary {
  color: #286b96;
  font-size: 13px;
  font-weight: 900;
}

.sales-preview-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(126, 96, 86, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.sales-preview-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: #564138;
  font-size: 13px;
  line-height: 1.45;
}

.sales-preview-table th,
.sales-preview-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(126, 96, 86, 0.14);
  text-align: left;
  vertical-align: middle;
}

.sales-preview-table th {
  background: rgba(237, 231, 221, 0.82);
  color: #4f3c35;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.sales-preview-select-col {
  width: 58px;
  min-width: 58px;
}

.sales-preview-company-col {
  width: 104px;
  min-width: 104px;
}

.sales-preview-company {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(47, 120, 165, 0.28);
  border-radius: 6px;
  background: rgba(47, 120, 165, 0.08);
  color: #285c7d;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.sales-preview-row-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: #4f3c35;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.sales-preview-row-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2f78a5;
}

.sales-preview-filter {
  display: block;
  max-width: 560px;
  overflow-wrap: anywhere;
}

.sales-preview-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 100%;
}

.sales-preview-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid rgba(126, 96, 86, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: #574238;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sales-preview-email-cell {
  display: grid;
  gap: 7px;
}

.sales-preview-stock-attachment {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(47, 109, 75, 0.28);
  background: rgba(238, 250, 242, 0.92);
  color: #2f6d4b;
  font-size: 12px;
  font-weight: 900;
}

.sales-preview-muted {
  color: rgba(86, 65, 56, 0.62);
  font-weight: 800;
}

.sales-preview-product {
  min-width: 260px;
  max-width: 520px;
}

.sales-preview-product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 7px;
}

.sales-preview-product-summary {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.sales-preview-expand {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(58, 130, 176, 0.32);
  background: #ffffff;
  color: #286b96;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.sales-preview-expand:hover,
.sales-preview-expand:focus-visible {
  border-color: rgba(58, 130, 176, 0.62);
  background: rgba(58, 130, 176, 0.08);
  outline: none;
}

.sales-preview-product-details {
  margin-top: 8px;
}

.sales-preview-supplier {
  font-weight: 900;
}

.sales-preview-supplier-cell {
  display: grid;
  gap: 6px;
}

.sales-preview-supplier-mark {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(60, 120, 91, 0.24);
  background: rgba(247, 255, 249, 0.78);
  color: #2f6d4b;
  font-size: 12px;
  font-weight: 900;
}

.sales-email-editor {
  display: grid;
  min-width: 280px;
  gap: 7px;
}

.sales-email-editor textarea {
  width: 100%;
  min-height: 54px;
  padding: 7px 8px;
  border: 1px solid rgba(126, 96, 86, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: #564138;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  resize: vertical;
}

.sales-email-editor textarea:focus {
  outline: 2px solid rgba(58, 130, 176, 0.2);
  border-color: rgba(58, 130, 176, 0.42);
}

.sales-email-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sales-mini-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5d443d;
  font-size: 12px;
  font-weight: 900;
}

.sales-mini-check input {
  width: 16px;
  height: 16px;
  accent-color: #2f6d4b;
}

.sales-email-save {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.sales-preview-table tr.is-editing td {
  vertical-align: top;
  background: rgba(248, 251, 255, 0.72);
}

.sales-edit-cell {
  display: grid;
  min-width: 220px;
  gap: 8px;
}

.sales-edit-token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sales-edit-token {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  border: 1px solid rgba(126, 96, 86, 0.2);
  background: rgba(255, 255, 255, 0.86);
  color: #574238;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.sales-edit-token span {
  min-width: 0;
  padding: 4px 7px;
  overflow-wrap: anywhere;
}

.sales-config-selected {
  min-height: 38px;
  padding: 8px;
  border: 1px solid rgba(126, 96, 86, 0.16);
  background: rgba(255, 255, 255, 0.62);
}

.sales-config-token b {
  margin-right: 4px;
  color: #2f6d4b;
}

.sales-edit-token button {
  width: 28px;
  min-height: 28px;
  border: 0;
  border-left: 1px solid rgba(126, 96, 86, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #9a4038;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.sales-edit-token button:hover,
.sales-edit-token button:focus-visible {
  background: rgba(255, 241, 241, 0.95);
  outline: none;
}

.sales-edit-search,
.sales-edit-add-line {
  display: grid;
  gap: 6px;
}

.sales-edit-search input,
.sales-edit-add-line input {
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid rgba(126, 96, 86, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #564138;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.sales-edit-search input:focus,
.sales-edit-add-line input:focus {
  outline: 2px solid rgba(58, 130, 176, 0.2);
  border-color: rgba(58, 130, 176, 0.42);
}

.sales-edit-add-line {
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: start;
}

.sales-edit-search-results {
  display: grid;
  gap: 5px;
  max-height: 170px;
  overflow-y: auto;
}

.sales-edit-search-result {
  min-height: 36px;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  padding: 7px 8px;
}

.sales-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sales-edit-mini-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
}

.sales-button-danger {
  border-color: rgba(166, 55, 55, 0.32);
  background: rgba(255, 247, 247, 0.96);
  color: #a03737;
}

.sales-button-danger:hover {
  border-color: rgba(166, 55, 55, 0.58);
  background: #fff0f0;
}

.sales-preview-number {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sales-match-section {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.sales-match-title {
  color: #5e4038;
  font-size: 14px;
  font-weight: 900;
}

.sales-match-table {
  min-width: 760px;
}

@media (max-width: 920px) {
  .sales-panel-head {
    display: grid;
  }

  .sales-actions {
    justify-content: flex-start;
  }

  .sales-subsection-head {
    display: grid;
  }

  .sales-status-grid,
  .sales-form-grid,
  .sales-form-grid-compact,
  .sales-config-grid,
  .sales-config-result {
    grid-template-columns: 1fr;
  }

  .sales-half-grid {
    width: 100%;
    min-width: 0;
  }
}
