.main.coupon-promotion-wide {
  margin-left: 0;
  padding: 0 24px 32px;
}
.cp-page,
.cp-picker {
  color: rgba(0, 0, 0, 0.92);
  font:
    14px/20px TikTokFont,
    Arial,
    sans-serif;
}
.cp-page {
  max-width: 1248px;
  margin: 0 auto;
  min-width: 0;
}
.cp-page *,
.cp-picker * {
  box-sizing: border-box;
}
.cp-page [hidden],
.cp-picker [hidden] {
  display: none !important;
}
.cp-page button,
.cp-page input,
.cp-page select,
.cp-page textarea,
.cp-picker button,
.cp-picker input,
.cp-picker select {
  font: inherit;
}
.cp-page button,
.cp-picker button {
  cursor: pointer;
}
.cp-page button:disabled,
.cp-picker button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.cp-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  min-height: 92px;
}
.cp-toolbar-title {
  min-width: 0;
}
.cp-toolbar-title h1 {
  font-size: 28px;
  line-height: 36px;
  margin: 0;
  font-weight: 700;
}
.cp-toolbar-title p {
  color: rgba(0, 0, 0, 0.55);
  margin: 4px 0 0;
}
.cp-back {
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 6px;
  color: inherit;
}
.cp-back svg {
  transform: rotate(180deg);
}
.cp-toolbar-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.cp-button,
.cp-toolbar-actions button,
.cp-picker-footer button {
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  background: #fff;
  color: rgba(0, 0, 0, 0.92);
  font-weight: 500;
  line-height: 20px;
}
.cp-primary,
.cp-toolbar-actions [type="submit"],
.cp-picker-footer .cp-primary {
  border-color: #009995;
  background: #009995;
  color: #fff;
}
.cp-layout {
  display: grid;
  grid-template-columns: minmax(0, 912fr) minmax(280px, 320fr);
  align-items: start;
  gap: 16px;
}
.cp-main,
.cp-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.cp-card {
  background: #fff;
  padding: 24px;
  border: 0;
  border-radius: 4px;
  min-width: 0;
}
.cp-card h2 {
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 24px;
  font-weight: 700;
}
.cp-card h3 {
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 8px;
  font-weight: 600;
}
.cp-field {
  min-width: 0;
  margin: 0 0 24px;
}
.cp-field:last-child {
  margin-bottom: 0;
}
.cp-field > label,
.cp-field > .cp-label,
.cp-field > legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.cp-field p,
.cp-field small {
  color: rgba(0, 0, 0, 0.55);
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 18px;
}
.cp-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  min-height: 44px;
  background: #fff;
  padding: 0 12px;
  min-width: 0;
}
.cp-input-wrap input {
  flex: 1;
  width: 0;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 0;
  background: transparent;
  color: inherit;
}
.cp-input-wrap > span {
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
.cp-page input::placeholder,
.cp-page textarea::placeholder,
.cp-picker input::placeholder {
  color: rgba(0, 0, 0, 0.34);
}
.cp-field > input:not([type="checkbox"]):not([type="radio"]),
.cp-field > select,
.cp-field > textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  padding: 10px 12px;
  background: #fff;
  color: inherit;
}
.cp-field > textarea {
  resize: vertical;
  min-height: 100px;
}
.cp-page button:focus-visible,
.cp-picker button:focus-visible,
.cp-page input:focus-visible,
.cp-page select:focus-visible,
.cp-page textarea:focus-visible,
.cp-picker input:focus-visible {
  outline: 2px solid #009995;
  outline-offset: 2px;
}
.cp-input-wrap:focus-within {
  border-color: #009995;
}
.cp-date-row {
  display: block;
  margin-bottom: 24px;
}
.cp-date-row > label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}
.cp-date-pair {
  display: flex;
  gap: 8px;
  min-width: 0;
  max-width: 578px;
}
.cp-date-pair input {
  min-width: 0;
  max-width: 100%;
}
.cp-date-pair > input,
.cp-time-wrap {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  padding: 7px 8px;
  min-height: 36px;
  height: 36px;
}
.cp-time-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cp-time-wrap input {
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  min-height: 20px;
  height: 20px;
}
.cp-time-wrap span,
.cp-time-wrap small {
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  font-size: 12px;
}
.cp-radio-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cp-radio-stack > label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp-page input[type="radio"],
.cp-page input[type="checkbox"],
.cp-picker input[type="checkbox"] {
  accent-color: #009995;
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  flex: 0 0 16px;
}
.cp-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  max-width: 660px;
}
.cp-mode-tile {
  position: relative;
  display: block;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  min-width: 0;
}
.cp-mode-tile > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp-mode-tile .cp-coupon-visual {
  position: relative;
  min-height: 68px;
  padding: 8px;
  margin: 8px 0 0;
  text-align: left;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.cp-mode-tile .cp-coupon-visual small {
  margin: 0;
  font-size: 10px;
  line-height: 14px;
}
.cp-mode-tile .cp-coupon-visual strong {
  color: #fe2c55;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 2px 0;
  font-size: 16px;
  line-height: 20px;
}
.cp-mode-tile .cp-coupon-visual > span:not(.cp-coupon-claim) {
  color: rgba(0, 0, 0, 0.45);
  font-size: 10px;
  line-height: 14px;
}
.cp-coupon-claim {
  position: absolute;
  right: 8px;
  top: 24px;
  background: #fe2c55;
  color: #fff;
  padding: 2px 8px;
  font-size: 10px;
  line-height: 16px;
  border-radius: 2px;
}
.cp-basic .cp-field > select {
  max-width: 288px;
}
.cp-discount > .cp-field .cp-input-wrap {
  max-width: 302px;
}
.cp-scope-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 16px;
}
.cp-scope-options > label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
}
.cp-scope-options > label:has(:checked) {
  border-color: #009995;
  background: #f3fcfb;
}
.cp-estimated-spend {
  font-size: 12px;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.55);
  margin: -8px 0 24px;
}
.cp-estimated-spend p {
  margin: 0 0 4px;
}
.cp-estimated-spend small {
  font-size: inherit;
}
.cp-submit-terms {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.55);
}
.cp-switch {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cp-terms textarea {
  display: block;
  width: 100%;
  min-height: 100px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  resize: vertical;
}
.cp-guide-visual {
  aspect-ratio: 272 / 140;
  max-width: 272px;
  border-radius: 8px;
  background-image: url("/assets/coupon-guide-official-form.png");
  background-repeat: no-repeat;
  background-size: 477.94117647% auto;
  background-position: 96.10894942% 52.35756385%;
  margin: 16px 0 0;
}
.cp-summary-name {
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.cp-summary h3 {
  margin-top: 16px;
}
.cp-summary ul {
  padding-left: 16px;
  margin: 8px 0 0;
}
.cp-summary li {
  padding: 4px 0;
  overflow-wrap: anywhere;
}
.cp-definition {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.cp-definition > div {
  min-width: 0;
}
.cp-definition dt {
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 4px;
}
.cp-definition dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.cp-mode-tile:has(input:checked) {
  border-color: #009995;
  background: #f3fcfb;
}
.cp-mode-tile input {
  margin-top: 2px !important;
}
.cp-mode-tile strong,
.cp-mode-tile small {
  display: block;
}
.cp-mode-tile small {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  line-height: 18px;
  margin-top: 4px;
}
.cp-stepper {
  display: flex;
  align-items: stretch;
  width: min(100%, 260px);
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
}
.cp-stepper button {
  width: 40px;
  flex: 0 0 40px;
  border: 0;
  background: #fff;
  color: inherit;
}
.cp-stepper input {
  text-align: center;
  width: 0;
  min-width: 0;
  flex: 1;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  outline: 0;
}
.cp-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.cp-products > div,
.cp-product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cp-products img {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid #eee;
  border-radius: 4px;
  object-fit: contain;
}
.cp-products p,
.cp-products small {
  margin: 0;
  overflow-wrap: anywhere;
}
.cp-error {
  color: #d92d20;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.cp-summary dl,
.cp-summary dl > div {
  margin: 0;
}
.cp-summary dl > div {
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.cp-summary dt {
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 4px;
}
.cp-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.cp-guidelines h2,
.cp-summary h2 {
  margin-bottom: 16px;
}
.cp-coupon-visual {
  padding: 20px 16px;
  border: 1px solid #ededed;
  border-radius: 12px;
  background: #f8f8f8;
  text-align: center;
  margin: 16px 0 24px;
}
.cp-coupon-visual strong {
  display: block;
  background: #fff0ef;
  color: #c83e3c;
  border: 1px solid #efaaa2;
  border-radius: 4px;
  padding: 16px 8px;
  font-size: 24px;
  line-height: 32px;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.cp-guidelines details {
  border-top: 1px solid #eee;
  padding: 14px 0;
}
.cp-guidelines summary {
  cursor: pointer;
  font-weight: 600;
}
.cp-guidelines p,
.cp-terms p {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  line-height: 18px;
}
.cp-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 1800;
  background: rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
  padding: 24px;
}
.cp-picker {
  width: min(800px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 48px #0003;
  overflow: hidden;
}
.cp-picker-header,
.cp-picker-footer {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.cp-picker-header {
  border-bottom: 1px solid #eee;
}
.cp-picker-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
}
.cp-picker-header button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 4px;
}
.cp-picker-body {
  padding: 20px 24px;
  overflow: auto;
  min-height: 0;
}
.cp-picker-search {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 16px;
}
.cp-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  min-width: 0;
}
.cp-picker-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 4px;
  flex: 0 0 48px;
}
.cp-picker-row > span,
.cp-picker-row > div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cp-picker-row small {
  display: block;
  color: rgba(0, 0, 0, 0.55);
}
.cp-picker-footer {
  border-top: 1px solid #eee;
  justify-content: flex-end;
}
.cp-picker-footer > span {
  margin-right: auto;
}
@media (max-width: 1000px) {
  .cp-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .cp-date-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .main.coupon-promotion-wide {
    padding: 0 12px 24px;
  }
  .cp-toolbar {
    flex-wrap: wrap;
    padding: 16px 0;
    gap: 8px;
  }
  .cp-toolbar-title {
    flex: 1;
  }
  .cp-toolbar-title h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .cp-toolbar-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .cp-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-card {
    padding: 20px 16px;
  }
  .cp-mode-grid {
    gap: 8px;
  }
  .cp-mode-tile {
    padding: 12px;
  }
  .cp-picker-overlay {
    padding: 12px;
  }
  .cp-picker {
    max-height: calc(100dvh - 24px);
  }
  .cp-picker-header,
  .cp-picker-body,
  .cp-picker-footer {
    padding: 16px;
  }
}
@media (max-width: 360px) {
  .cp-mode-grid {
    grid-template-columns: 1fr;
  }
  .cp-date-pair {
    flex-wrap: wrap;
  }
  .cp-date-pair > input,
  .cp-time-wrap {
    flex-basis: 100%;
  }
}
