.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f6f9ff 0%, #eef2ff 100%);
  color: #0f172a;
  font-family: var(--font-inter), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page :global(body) {
  background: transparent;
}

.main {
  flex: 1;
  display: grid;
  grid-template-columns: 220px minmax(320px, 360px) minmax(240px, 280px) minmax(900px, 1fr);
  gap: 28px;
  padding: 48px 64px 72px;
  max-width: 1820px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
  grid-auto-rows: auto;
}

.sidebar {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebarTitle {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(15, 23, 42, 0.82);
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menuSection {
  margin: 12px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(71, 85, 105, 0.7);
}

.menuItem {
  border: none;
  border-radius: 16px;
  background: transparent;
  color: rgba(71, 85, 105, 0.92);
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.menuItem:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
}

.menuItemActive {
  color: #1f40ff;
  background: rgba(79, 107, 255, 0.18);
}

.generatorColumn,
.promoColumn,
.historyColumn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  min-width: 0;
  min-height: 0;
}

.historyColumn {
  min-width: calc(3 * 280px + 2 * 28px);
}

.promoColumn {
  justify-content: flex-start;
}

.promoPlaceholder {
  width: 100%;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}

.modelPanel {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(120, 147, 255, 0.18);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.formLayout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.formPrimary {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fieldStack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.seedreamGrid,
.seedreamGridSecondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}



.promoCard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(232, 239, 255, 0.94) 100%);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
  padding: 26px 24px;
}

.promoCard h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.94);
}

.promoCard p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(71, 85, 105, 0.88);
}

.promoCard ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: rgba(51, 65, 85, 0.92);
  list-style: disc;
}

.formGroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formGroup[data-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.formGroup > label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.9);
}

.textarea {
  min-height: 160px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(248, 250, 255, 0.92);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.96);
  resize: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.textarea:focus-visible {
  outline: none;
  border-color: rgba(79, 107, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(79, 107, 255, 0.18);
}

.promptHint {
  font-size: 12px;
  color: rgba(71, 85, 105, 0.75);
}

.select,
.input {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(248, 250, 255, 0.92);
  padding: 12px 14px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.94);
  transition: border 160ms ease, box-shadow 160ms ease;
}

.select:focus-visible,
.input:focus-visible {
  outline: none;
  border-color: rgba(79, 107, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(79, 107, 255, 0.18);
}



.labelWithInfo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.tooltipTrigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(79, 107, 255, 0.18);
  color: rgba(79, 107, 255, 0.95);
  font-size: 12px;
  font-weight: 700;
  cursor: help;
  position: relative;
}

.tooltipBubble {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: clamp(220px, 28vw, 320px);
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.18);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 40;
}

.tooltipTrigger:hover .tooltipBubble,
.tooltipTrigger:focus-visible .tooltipBubble {
  opacity: 1;
  transform: translateY(0);
}

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

.uploadCell {
  position: relative;
  border: 1px dashed rgba(120, 147, 255, 0.32);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  background: rgba(248, 250, 255, 0.86);
  text-align: center;
  cursor: pointer;
  color: rgba(71, 85, 105, 0.82);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.uploadCell[data-filled="true"] {
  border-style: solid;
  align-items: stretch;
}

.uploadCell:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.uploadCell input {
  display: none;
}

.uploadHint {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.uploadHint strong {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.92);
}

.previewWrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.previewImage {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 220px;
  background: rgba(226, 232, 240, 0.6);
}

.previewMeta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(71, 85, 105, 0.78);
}

.previewActions {
  display: flex;
  justify-content: flex-end;
}

.removeButton {
  border: none;
  background: none;
  color: rgba(79, 107, 255, 0.96);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}

.removeButton:hover {
  text-decoration: underline;
}

.generateButton {
  border: none;
  border-radius: 999px;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(90deg, #5f6bff 0%, #9a6bff 100%);
  box-shadow: 0 22px 36px rgba(100, 107, 255, 0.32);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.generateButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.generateButton:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 28px 48px rgba(100, 107, 255, 0.4);
}

.statusMessage {
  margin: 0;
  font-size: 13px;
  color: rgba(37, 99, 235, 0.9);
}

.errorMessage {
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(248, 113, 113, 0.14);
  color: rgba(185, 28, 28, 0.94);
  font-size: 13px;
  font-weight: 600;
}

.historyColumn {
  gap: 28px;
}

.historySection {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.historyGrid {
  column-width: 280px;
  column-gap: 28px;
}

.historyGrid[data-empty="true"] {
  column-width: 280px;
}

.historyItem {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  width: 100%;
  break-inside: avoid;
  margin-bottom: 28px;
  transition: transform 160ms ease, box-shadow 200ms ease;
}

.historyItem:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16);
}

.historyMedia {
  position: relative;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  line-height: 0;
}

.historyPreviewButton {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
}

.historyImage {
  display: block;
  width: 100%;
  height: auto;
}

.historyPlaceholder {
  width: 100%;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  min-height: 220px;
  color: rgba(15, 23, 42, 0.88);
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.7) 0%, rgba(241, 245, 249, 0.7) 100%);
}

.historyPlaceholderTitle {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.92);
}

.historyProgressCircle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: rgba(30, 64, 175, 0.92);
  box-shadow: inset 0 6px 18px rgba(59, 130, 246, 0.2);
}

.historyErrorIcon {
  width: 36px;
  height: 36px;
  color: #fb923c;
}

.historyMeta {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.historyPrompt {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.95);
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.historySubline {
  margin: 0;
  font-size: 12px;
  color: rgba(100, 116, 139, 0.82);
}

.historyMetaFooter {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.historyStatusBadge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(148, 163, 184, 0.25);
  color: rgba(30, 41, 59, 0.76);
}

.historyStatusBadgePending {
  background: rgba(253, 230, 138, 0.42);
  color: #92400e;
}

.historyStatusBadgeSuccess {
  background: rgba(187, 247, 208, 0.6);
  color: #166534;
}

.historyStatusBadgeError {
  background: rgba(254, 202, 202, 0.6);
  color: #b91c1c;
}

.historyProgress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.historyProgressLabelRow {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(100, 116, 139, 0.82);
}

.historyProgressBar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
  overflow: hidden;
}

.historyProgressFill {
  height: 100%;
  background: linear-gradient(90deg, rgba(79, 107, 255, 0.85), rgba(160, 119, 255, 0.85));
  border-radius: inherit;
  transition: width 260ms ease;
}

.historyErrorMessage {
  margin: 0;
  font-size: 12px;
  color: #ef4444;
  line-height: 1.4;
}

.historyMenu {
  position: relative;
}

.historyMenuTrigger {
  border: none;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(30, 41, 59, 0.78);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.historyMenuTrigger:hover {
  background: rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.92);
  transform: translateY(-2px);
}

.historyMenuTrigger:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.historyMenuList {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.22);
  min-width: 220px;
  z-index: 60;
}

.historyMenuItem {
  border: none;
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.92);
  border-radius: 12px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.historyMenuItem:hover {
  background: rgba(226, 232, 240, 0.7);
  color: rgba(30, 41, 59, 0.92);
}

.historyMenuItemDanger {
  color: #ef4444;
}

.historyMenuItemDanger:hover {
  background: rgba(254, 226, 226, 0.86);
  color: #b91c1c;
}

.loadMoreTrigger {
  width: 100%;
  height: 20px;
  break-inside: avoid;
}

.placeholderCard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  break-inside: avoid;
  width: 100%;
  margin-bottom: 24px;
}

.placeholderCard img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.placeholderCard figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.82);
}

.placeholderCard small {
  color: rgba(71, 85, 105, 0.7);
}

.contentCard {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 239, 255, 0.94) 100%);
  border-radius: 26px;
  border: 1px solid rgba(120, 147, 255, 0.16);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contentTag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(79, 107, 255, 0.18);
  color: rgba(79, 107, 255, 0.94);
}

.contentCard h1 {
  margin: 0;
  font-size: 24px;
  color: rgba(15, 23, 42, 0.94);
}

.contentCard p {
  margin: 0;
  line-height: 1.55;
  color: rgba(71, 85, 105, 0.88);
}

.contentList {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: rgba(51, 65, 85, 0.92);
}

.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 23, 0.64);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 32px;
  z-index: 120;
}

.modal {
  width: min(700px, 94vw);
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 28px;
  border: 1px solid rgba(120, 147, 255, 0.22);
  box-shadow: 0 36px 84px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
}

.modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 0;
}

.modalHeader h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.modalHeader p {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(71, 85, 105, 0.78);
  line-height: 1.5;
}

.modalCloseButton {
  border: none;
  background: rgba(82, 118, 255, 0.16);
  color: rgba(15, 23, 42, 0.92);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.modalCloseButton:hover {
  background: rgba(82, 118, 255, 0.26);
  transform: rotate(90deg);
}

.modalBody {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modalFooter {
  padding: 18px 28px 28px;
  border-top: 1px solid rgba(120, 147, 255, 0.16);
}

.modalFooterActions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.modalPrimaryButton,
.modalSecondaryButton,
.modalDangerButton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 22px;
  border: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.modalPrimaryButton {
  background: linear-gradient(90deg, rgba(79, 107, 255, 0.95), rgba(160, 119, 255, 0.95));
  color: #ffffff;
}

.modalPrimaryButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(79, 107, 255, 0.28);
}

.modalSecondaryButton {
  border: 1px solid rgba(82, 118, 255, 0.28);
  background: rgba(82, 118, 255, 0.12);
  color: rgba(15, 23, 42, 0.9);
}

.modalSecondaryButton:hover {
  background: rgba(82, 118, 255, 0.2);
  box-shadow: 0 12px 24px rgba(82, 118, 255, 0.18);
}

.modalDangerButton {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.92), rgba(249, 115, 22, 0.92));
  color: #ffffff;
}

.modalDangerButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(239, 68, 68, 0.28);
}

.modalLabel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.9);
}

.modalSelect {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(248, 250, 255, 0.92);
  padding: 10px 12px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.94);
}

.modalBodyText {
  margin: 0;
  font-size: 13px;
  color: rgba(51, 65, 85, 0.9);
  line-height: 1.55;
}

.previewModalContent {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.previewImageLarge {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.12);
}

.previewEmpty {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(71, 85, 105, 0.8);
  text-align: center;
}

.previewThumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.previewThumbButton {
  border: 2px solid transparent;
  border-radius: 12px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  position: relative;
}

.previewThumbButton img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.previewThumbActive {
  border-color: rgba(79, 107, 255, 0.85);
  box-shadow: 0 10px 20px rgba(79, 107, 255, 0.22);
}

.shareList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shareOption {
  border: 1px solid rgba(82, 118, 255, 0.16);
  background: rgba(82, 118, 255, 0.08);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.92);
  transition: background 160ms ease, transform 160ms ease;
}

.shareOption:hover {
  background: rgba(82, 118, 255, 0.16);
  transform: translateY(-1px);
}

.sharePreview {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(82, 118, 255, 0.18);
}

.sharePreview img {
  width: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .main {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 36px 24px 56px;
  }

  .sidebar {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .menu {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .seedreamGrid,
  .seedreamGridSecondary {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .generatorColumn,
  .promoColumn,
  .historyColumn {
    grid-column: 1 / -1;
  }

  .historyColumn {
    min-width: 0;
  }

  .historyGrid {
    column-width: 240px;
  }

  .historyGrid[data-empty="true"] {
    column-width: 240px;
  }
}

@media (max-width: 640px) {
  .modelPanel,
  .contentCard {
    padding: 24px 20px;
  }

  .historyGrid,
  .historyGrid[data-empty="true"] {
    column-width: 100%;
  }

  .historyColumn {
    min-width: 0;
  }

  .formLayout {
    gap: 20px;
  }

  .seedreamGrid,
  .seedreamGridSecondary,
  .uploadList {
    grid-template-columns: minmax(0, 1fr);
  }

  .modalBody,
  .modalFooter {
    padding-inline: 20px;
  }

  .promoCard {
    max-width: none;
    padding: 22px 20px;
  }
}








