#multimediaPromotionDataView {
  width: 100%;
  min-width: 0;
  padding: 0;
}

.promotion-data-page {
  --promotion-border: #dfe6ec;
  --promotion-muted: #6b7c88;
  --promotion-ink: #172a35;
  --promotion-accent: #ff405d;
  --promotion-accent-soft: #fff0f2;
  --promotion-input: #fff0f1;
  width: 100%;
  min-width: 0;
  color: var(--promotion-ink);
}

.promotion-control-panel,
.promotion-data-panel {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--promotion-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 48, 60, 0.06);
}

.promotion-control-panel {
  margin-bottom: 14px;
  padding: 18px 20px;
}

.promotion-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.promotion-page-heading p {
  margin: 0 0 3px;
  color: #94a2ac;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.promotion-page-heading h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.promotion-page-heading > div > span {
  display: block;
  margin-top: 5px;
  color: var(--promotion-muted);
  font-size: 13px;
}

.promotion-save-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.promotion-save-area > span {
  color: #6f808b;
  font-size: 13px;
}

.promotion-save-area > span.dirty {
  color: #db2744;
  font-weight: 700;
}

.promotion-save-area button,
.promotion-dialog-actions button {
  min-height: 38px;
  border: 1px solid var(--promotion-accent);
  border-radius: 9px;
  padding: 0 18px;
  background: var(--promotion-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.promotion-save-area button:disabled {
  border-color: #dfe4e8;
  background: #eef1f3;
  color: #a1aab1;
  cursor: not-allowed;
}


.promotion-data-panel {
  overflow: hidden;
}

.promotion-channel-tabs {
  display: flex;
  gap: 26px;
  min-height: 54px;
  border-bottom: 1px solid var(--promotion-border);
  padding: 0 22px;
}

.promotion-channel-tabs button {
  position: relative;
  border: 0;
  padding: 0 2px;
  background: transparent;
  color: #71818b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.promotion-channel-tabs button.active,
.promotion-channel-tabs button:hover {
  color: var(--promotion-accent);
  background: transparent !important;
  box-shadow: none;
}

.promotion-channel-tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--promotion-accent);
}

.promotion-data-content {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.promotion-product-section {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--promotion-border);
  border-radius: 10px;
  background: #fff;
}

.promotion-product-section > summary {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 0 16px;
  background: #fafbfc;
  list-style: none;
  cursor: pointer;
}

.promotion-product-section > summary::-webkit-details-marker {
  display: none;
}

.promotion-product-section > summary::before {
  content: "›";
  color: #7c8b94;
  font-size: 20px;
  transform: rotate(90deg);
  transition: transform 0.16s ease;
}

.promotion-product-section:not([open]) > summary::before {
  transform: rotate(0deg);
}

.promotion-product-section > summary strong {
  min-width: 90px;
  font-size: 15px;
}

.promotion-product-section > summary span {
  color: var(--promotion-muted);
  font-size: 12px;
}

.promotion-product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--promotion-muted);
  font-size: 12px;
  cursor: default;
}

.promotion-product-price input {
  width: 140px;
  height: 34px;
  box-sizing: border-box;
  border: 1px solid #f3c7cd;
  border-radius: 7px;
  padding: 0 10px;
  background: var(--promotion-input);
  color: var(--promotion-ink);
  text-align: right;
  outline: 0;
}

.promotion-product-price input:focus,
.promotion-editable-cell input:focus {
  border-color: var(--promotion-accent);
  box-shadow: inset 0 0 0 1px var(--promotion-accent), 0 0 0 2px rgba(239, 71, 102, 0.12);
}

.promotion-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--promotion-border);
}

.promotion-data-table {
  width: 100%;
  min-width: 930px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
}

.promotion-data-table th,
.promotion-data-table td {
  box-sizing: border-box;
  height: 43px;
  border-right: 1px solid var(--promotion-border);
  border-bottom: 1px solid var(--promotion-border);
  padding: 0 12px;
  text-align: right;
  white-space: nowrap;
}

.promotion-data-table th {
  background: #f7f9fa;
  color: #5c6e79;
  font-weight: 700;
}

.promotion-data-table th:first-child,
.promotion-data-table th:nth-child(2),
.promotion-data-table td:first-child,
.promotion-data-table td:nth-child(2) {
  width: 150px;
  text-align: left;
}

.promotion-data-table th:first-child,
.promotion-data-table td:first-child {
  position: sticky;
  z-index: 4;
  left: 0;
}

.promotion-data-table th:nth-child(2),
.promotion-data-table td:nth-child(2) {
  position: sticky;
  z-index: 4;
  left: 150px;
  box-shadow: 7px 0 9px -9px rgba(28, 48, 60, 0.55);
}

.promotion-data-table th:first-child,
.promotion-data-table th:nth-child(2) {
  z-index: 6;
}

.promotion-data-table td.promotion-dimension-cell,
.promotion-data-table td.promotion-editable-cell {
  background: var(--promotion-input) !important;
}

.promotion-data-table td.promotion-computed-cell {
  background: #fff !important;
  color: #1b2d37;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.promotion-editable-cell {
  padding: 0 !important;
}

.promotion-editable-cell input {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  border: 1px solid transparent;
  padding: 0 12px;
  background: transparent;
  color: var(--promotion-ink);
  font: inherit;
  text-align: right;
  outline: 0;
}

.promotion-editable-cell.is-empty input::placeholder {
  color: #c38e96;
}

.promotion-editable-cell input.invalid,
.promotion-product-price input.invalid {
  border-color: #d72845;
  background: #ffe1e5;
}

.promotion-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 0 10px;
  background: #e8eef9;
  color: #29415a;
  font-size: 12px;
}

.promotion-chip.person {
  background: #e8f7f8;
  color: #1f5960;
}

.promotion-empty-state {
  padding: 48px;
  color: var(--promotion-muted);
  text-align: center;
}

.promotion-dialog {
  width: min(440px, calc(100vw - 48px));
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 22px 60px rgba(17, 33, 43, 0.24);
}

.promotion-dialog::backdrop {
  background: rgba(20, 34, 43, 0.38);
}

.promotion-dialog-body {
  padding: 24px;
}

.promotion-dialog h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.promotion-dialog p {
  margin: 0 0 20px;
  color: var(--promotion-muted);
  font-size: 13px;
  line-height: 1.65;
}

.promotion-dialog label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #576a75;
  font-size: 12px;
}

.promotion-dialog select {
  height: 40px;
  border: 1px solid var(--promotion-border);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
}

.promotion-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}

.promotion-dialog-actions button.secondary {
  border-color: #d7dfe4;
  background: #f5f7f8;
  color: #415864;
}

.promotion-dialog-actions button.ghost {
  border-color: transparent;
  background: transparent;
  color: #60737e;
}
