html:has(.dc-page) {
  scrollbar-gutter: stable;
}
html:has(.dc-page)::-webkit-scrollbar {
  width: 4px;
}
.main.discount-promotion-wide {
  margin-left: 0;
  padding: 0 0 32px;
}
.dc-page,
.dc-dialog,
.dc-popover {
  color: rgba(0, 0, 0, 0.92);
  font:
    14px/20px TikTokFont,
    Arial,
    sans-serif;
}
.dc-page {
  max-width: 1248px;
  margin: 0 auto;
  min-width: 0;
}
.dc-page *,
.dc-dialog *,
.dc-popover * {
  box-sizing: border-box;
}
.dc-page [hidden],
.dc-dialog [hidden],
.dc-popover [hidden] {
  display: none !important;
}
.dc-page button,
.dc-page input,
.dc-page select,
.dc-dialog button,
.dc-dialog input,
.dc-dialog select,
.dc-popover button,
.dc-popover input {
  font: inherit;
}
.dc-page button,
.dc-dialog button,
.dc-popover button {
  cursor: pointer;
}
.dc-page button:disabled,
.dc-dialog button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.dc-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 16px 0;
}
.dc-toolbar h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  margin: 0;
}
.dc-back {
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  flex: 0 0 32px;
}
.dc-back svg {
  transform: rotate(180deg);
}
.dc-name-field .dc-input-wrap {
  max-width: 592px;
}
.dc-toolbar-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.dc-button,
.dc-toolbar-actions button,
.dc-dialog-footer button {
  min-height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  background: #fff;
  padding: 5px 12px;
  color: rgba(0, 0, 0, 0.92);
  line-height: 20px;
  font-weight: 500;
}
.dc-primary,
.dc-toolbar-actions [type="submit"],
.dc-dialog-footer .dc-primary {
  color: #fff;
  background: #009995;
  border-color: #009995;
}
.dc-page button:focus-visible,
.dc-dialog button:focus-visible,
.dc-popover button:focus-visible {
  outline: 2px solid #009995;
  outline-offset: 2px;
}
.dc-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dc-top-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: start;
  background: #fff;
  border-radius: 4px;
}
.dc-section {
  min-width: 0;
  background: #fff;
  border: 0;
  border-radius: 4px;
  padding: 24px 24px 0;
}
.dc-page .dc-section h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  margin: 0 0 24px;
}
.dc-field {
  min-width: 0;
  margin-bottom: 24px;
}
.dc-field > label,
.dc-field-label {
  display: block;
  font-size: 16px;
  line-height: 25.140625px;
  font-weight: 400;
  margin-bottom: 8px;
}
.dc-field > input,
.dc-field > select,
.dc-input-wrap {
  height: 44px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  background: #fff;
}
.dc-field > input,
.dc-field > select {
  padding: 0 12px;
}
.dc-input-wrap {
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 0;
}
.dc-input-wrap input {
  min-width: 0;
  flex: 1;
  height: 42px;
  line-height: 22.001px;
  border: 0;
  background: transparent;
  outline: none;
  padding: 0;
}
.dc-input-wrap:focus-within,
.dc-field > input:focus {
  border-color: #009995;
  outline: none;
}
.dc-input-count {
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  font-size: 14px;
}
.dc-date-range {
  margin-bottom: 24px;
}
.dc-date-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-width: 0;
}
.dc-basic .dc-date-pair {
  max-width: 570px;
  gap: 10px;
}
.dc-basic .dc-date-button,
.dc-basic .dc-time-button {
  gap: 5px;
}
.dc-basic .dc-time-button svg {
  width: 10px;
  height: 10px;
}
.dc-date-pair .dc-field {
  margin-bottom: 0;
}
.dc-date-pair .dc-field > label,
.dc-date-pair .dc-field-label {
  margin-bottom: 16px;
}
.dc-date-button,
.dc-time-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.92);
}
.dc-date-button input,
.dc-time-button input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  height: 20px;
  min-height: 0;
  line-height: 22.001px;
  padding: 0;
}
.dc-type-options {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  min-height: 44px;
  gap: 20px;
}
.dc-type-option {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.dc-type-option input {
  accent-color: #009995;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  min-height: 0;
  padding: 0;
}
.dc-type-option strong {
  display: block;
  font-weight: 400;
  line-height: 20px;
}
.dc-type-option small {
  display: block;
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
  font-size: 12px;
  line-height: 20px;
}
.dc-preview {
  min-height: 354px;
}
.dc-preview-tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 8px;
}
.dc-preview-tabs > * {
  width: 120px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.dc-preview-images {
  display: flex;
  gap: 32px;
  width: fit-content;
  max-width: 100%;
}
.dc-preview-images > * {
  width: 120px;
  height: 240px;
  min-width: 0;
  flex: 0 1 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dc-preview-images img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.dc-strategies {
  min-height: 354px;
  padding-bottom: 24px;
}
.dc-strategy-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.dc-page .dc-strategy-heading h2 {
  margin: 0;
}
.dc-benefit {
  color: #009995;
  border-radius: 4px;
  background: rgba(0, 153, 149, 0.06);
  padding: 2px 6px;
  font-weight: 500;
}
.dc-strategy-description {
  color: rgba(0, 0, 0, 0.65);
  margin: 8px 0 16px !important;
}
.dc-auto-create {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.dc-auto-create input,
.dc-page input[type="checkbox"],
.dc-dialog input[type="checkbox"],
.dc-page input[type="radio"] {
  accent-color: #009995;
}
.dc-strategy-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.dc-strategy-card {
  min-width: 0;
  min-height: 184px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #fafafa;
}
.dc-strategy-card h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 0 0 12px;
}
.dc-strategy-card p {
  margin: 6px 0 !important;
}
.dc-strategy-card small {
  color: rgba(0, 0, 0, 0.65);
}
.dc-strategy-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.dc-suggested-images {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.dc-suggested-images img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
}
.dc-products {
  padding-bottom: 24px;
}
.dc-products > p {
  color: rgba(0, 0, 0, 0.65);
  margin: 8px 0 16px !important;
}
.dc-product-modes {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.dc-product-modes label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dc-empty {
  min-height: 115.796875px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dc-product-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.dc-product-toolbar input {
  width: 240px;
  max-width: 100%;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
}
.dc-product-toolbar .dc-button:last-child {
  margin-left: auto;
}
.dc-bulk {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #f8f8f8;
}
.dc-bulk input,
.dc-bulk select {
  min-width: 0;
  width: 96px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  padding: 0 8px;
  border-radius: 4px;
}
.dc-table-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}
.dc-table {
  width: 100%;
  min-width: 1160px;
  border-collapse: collapse;
  table-layout: fixed;
}
.dc-table th {
  text-align: left;
  font-weight: 500;
  background: #fafafa;
  line-height: 20px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.dc-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: top;
  overflow-wrap: anywhere;
}
.dc-table th:first-child,
.dc-table td:first-child {
  width: 32px;
}
.dc-table th:nth-child(2) {
  width: 260px;
}
.dc-table th:nth-child(4) {
  width: 176px;
}
.dc-table th:nth-child(6),
.dc-table th:nth-child(7) {
  width: 120px;
}
.dc-product-cell {
  display: flex;
  gap: 8px;
}
.dc-product-cell img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex: 0 0 48px;
}
.dc-product-cell p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
}
.dc-product-cell small {
  color: rgba(0, 0, 0, 0.65);
  font-size: 12px;
  line-height: 18px;
}
.dc-table .dc-input-wrap {
  height: 44px;
  padding: 0 12px;
}
.dc-table .dc-input-wrap input {
  height: 42px;
  width: 80px;
  padding-left: 12px;
}
.dc-field-error,
.dc-row-error {
  color: #e14653;
  font-size: 12px;
  line-height: 20px;
  margin: 4px 0 0 !important;
}
.dc-invalid {
  border-color: #e14653 !important;
}
.dc-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #009995;
}
.dc-limit-button {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 6px 8px;
  border-radius: 4px;
  color: inherit;
}
.dc-sku-toggle {
  color: rgba(0, 0, 0, 0.65);
  border: 0;
  background: none;
  padding: 8px 0;
}
.dc-sku-row td:nth-child(2) {
  padding-left: 32px;
}
.dc-page .dc-terms {
  text-align: right;
  font-size: 12px;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.65);
  margin: 0 0 16px;
}
.dc-error {
  color: #e14653;
  margin: 12px 0;
}
.dc-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
}
.dc-dialog {
  display: flex;
  flex-direction: column;
  width: min(1080px, 100%);
  max-height: min(880px, calc(100dvh - 48px));
  min-height: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.dc-dialog-header,
.dc-dialog-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  flex-shrink: 0;
}
.dc-dialog-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.dc-dialog-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}
.dc-dialog-header button {
  margin-left: auto;
  padding: 4px;
  border: 0;
  background: none;
}
.dc-dialog-body {
  overflow: auto;
  min-height: 0;
  padding: 24px;
}
.dc-dialog-footer {
  justify-content: flex-end;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.dc-dialog-footer > span:first-child {
  margin-right: auto;
}
.dc-picker-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}
.dc-picker-tabs button {
  border: 0;
  background: none;
  padding: 10px 0;
  font-weight: 500;
}
.dc-picker-tabs button[aria-selected="true"] {
  color: #009995;
  border-bottom: 2px solid #009995;
}
.dc-picker-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.dc-picker-filters input,
.dc-picker-filters select {
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 0 8px;
  border-radius: 4px;
}
.dc-picker-filters input {
  flex: 1;
  min-width: 160px;
}
.dc-picker-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.dc-picker-table th,
.dc-picker-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.dc-picker-table th {
  background: #fafafa;
  font-weight: 500;
}
.dc-picker-table img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex: 0 0 40px;
}
.dc-picker-table tr[aria-disabled="true"] {
  opacity: 0.45;
}
.dc-picker-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.dc-upload-panel {
  padding: 16px 0;
}
.dc-upload-panel h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 0 0 12px;
}
.dc-upload-panel p {
  color: rgba(0, 0, 0, 0.65);
  margin: 8px 0 16px;
}
.dc-upload-drop {
  padding: 32px;
  margin: 16px 0;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  text-align: center;
}
.dc-popover {
  position: fixed;
  z-index: 1600;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  max-width: calc(100vw - 16px);
}
.dc-calendar {
  width: 304px;
  padding: 12px;
}
.dc-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 12px;
}
.dc-calendar-header button {
  border: 0;
  background: transparent;
  padding: 4px 8px;
}
.dc-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.dc-calendar-grid > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 0;
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
}
.dc-calendar-grid [aria-selected="true"] {
  background: #009995;
  color: #fff;
}
.dc-calendar-grid button:hover {
  background: rgba(0, 153, 149, 0.08);
}
.dc-time-picker {
  width: 184px;
  padding: 8px;
}
.dc-time-columns {
  display: flex;
  height: 224px;
  gap: 8px;
}
.dc-time-columns > div {
  flex: 1;
  overflow-y: auto;
}
.dc-time-columns button {
  display: block;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 4px;
  background: #fff;
}
.dc-time-columns [aria-selected="true"] {
  color: #009995;
  background: rgba(0, 153, 149, 0.08);
}
.dc-time-picker > button:last-child {
  margin: 8px 0 0 auto;
  display: block;
}
.dc-limit-popup {
  width: 240px;
  padding: 16px;
}
.dc-limit-popup label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.dc-limit-popup input[type="number"],
.dc-limit-popup input[type="text"] {
  width: 100%;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  padding: 0 8px;
}
.dc-strategy-editor-card {
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin: 16px 0;
}
.dc-strategy-editor-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 0;
}
.dc-strategy-editor-card .dc-field {
  margin: 16px 0;
}
.dc-strategy-editor-card .dc-field > label {
  font-size: 14px;
  line-height: 20px;
}
.dc-strategy-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dc-tier {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.dc-tier input {
  width: 80px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
}
.dc-help-tooltip {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 32px;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
@media (max-width: 1300px) {
  .dc-page {
    margin: 0 16px;
  }
}
@media (max-width: 900px) {
  .dc-top-row {
    grid-template-columns: 1fr;
  }
  .dc-preview {
    min-height: 0;
    padding-bottom: 24px;
  }
  .dc-strategy-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dc-page {
    margin: 0 12px;
  }
  .dc-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dc-toolbar h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .dc-toolbar-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .dc-section {
    padding: 20px 16px 0;
  }
  .dc-strategies,
  .dc-products,
  .dc-preview {
    padding-bottom: 20px;
  }
  .dc-strategy-editor-grid {
    grid-template-columns: 1fr;
  }
  .dc-date-pair {
    gap: 8px;
  }
  .dc-basic .dc-date-pair {
    gap: 8px;
  }
  .dc-date-button,
  .dc-time-button {
    font-size: 12px;
    padding: 0 8px;
    gap: 4px;
  }
  .dc-preview-tabs,
  .dc-preview-images {
    gap: 16px;
  }
  .dc-preview-tabs > * {
    flex: 0 1 120px;
    min-width: 0;
  }
  .dc-preview-images > * {
    height: auto;
    aspect-ratio: 1/2;
  }
  .dc-dialog-header,
  .dc-dialog-footer {
    padding: 12px 16px;
  }
  .dc-dialog-body {
    padding: 16px;
  }
  .dc-overlay {
    padding: 8px;
  }
  .dc-dialog {
    max-height: calc(100dvh - 16px);
  }
  .dc-product-toolbar input {
    width: 100%;
  }
  .dc-product-modes {
    flex-wrap: wrap;
    gap: 12px;
  }
  .dc-bulk {
    padding: 12px 8px;
    gap: 8px;
  }
  .dc-terms {
    text-align: left !important;
  }
}
