.theme-light #marketingPage {
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
  padding-bottom: 32px;
  color: #213b5d;
}
#marketingPage [hidden] {
  display: none !important;
}
#marketingPage button,
#marketingPage input,
#marketingPage textarea,
#marketingPage select {
  font: inherit;
}
#marketingPage button,
#marketingPage summary,
#marketingPage .marketing-tool {
  -webkit-tap-highlight-color: transparent;
}
#marketingPage button:focus-visible,
#marketingPage summary:focus-visible,
#marketingPage label.marketing-tool:focus-within {
  outline: 3px solid #66baff;
  outline-offset: 3px;
}
#marketingPage button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#marketingPage .marketing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px 30px;
}
#marketingPage .marketing-eyebrow,
#marketingPage .marketing-step {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 750;
  color: #6d88a5;
}
#marketingPage h1 {
  font-size: clamp(26px, 2.4vw, 38px);
  letter-spacing: -0.045em;
  line-height: 1.4;
  margin: 10px 0 8px;
  color: #183450;
}
#marketingPage h1 span {
  color: #087cef;
}
#marketingPage .marketing-header p {
  margin: 0;
  font-size: 13px;
  color: #74889e;
  line-height: 1.8;
}
#marketingPage .marketing-powered {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  font-size: 11px;
  color: #57718a;
  border: 1px solid #e0e9f2;
  background: #ffffffb3;
  border-radius: 30px;
  padding: 9px 13px;
}
#marketingPage .marketing-powered i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b88a;
  box-shadow: 0 0 0 4px #e0f7ef;
}
#marketingPage .marketing-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 24px;
  align-items: start;
}
#marketingPage .marketing-builder,
#marketingPage .marketing-results {
  display: grid;
  gap: 16px;
  min-width: 0;
}
#marketingPage .marketing-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid #e0e8f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px #2d527705;
  margin: 0;
}
#marketingPage .marketing-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
#marketingPage h2 {
  margin: 7px 0 0;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #203d5f;
}
#marketingPage .ghost-btn {
  border: 1px solid #dfebf5;
  color: #4e7194;
  background: #f7fbff;
  box-shadow: none;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 11px;
  min-height: 38px;
}
#marketingPage #marketingNewChat {
  background: #fff;
  font-size: 11px;
  white-space: nowrap;
}
#marketingPage .marketing-platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid #edf1f5;
  background: #f7f9fc;
  border-radius: 13px;
  margin-bottom: 24px;
}
#marketingPage .marketing-platforms button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px;
  min-width: 0;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 9px;
  font-size: 11px;
  color: #7c8ea2;
}
#marketingPage .marketing-platforms button.selected {
  color: #1677d5;
  background: #fff;
  border-color: #dae8f7;
  box-shadow: 0 2px 5px #1d5eab0b;
}
#marketingPage .marketing-platforms b {
  display: grid;
  place-items: center;
  height: 20px;
  width: 20px;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
}
#marketingPage .platform-line {
  background: #10bd63;
  font-size: 7px !important;
}
#marketingPage .platform-tiktok {
  background: #182b43;
}
#marketingPage .platform-instagram {
  background: linear-gradient(45deg, #f7b64d, #e23583, #8d3ce0);
}
#marketingPage .platform-facebook {
  background: #1689ff;
}
#marketingPage .marketing-welcome {
  display: flex;
  gap: 13px;
  padding: 16px 0 26px;
  align-items: flex-start;
}
#marketingPage .marketing-ai-mark {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 12px;
  color: #097bdf;
  background: #ecf5ff;
  font-size: 24px;
}
#marketingPage .marketing-welcome b {
  font-size: 14px;
  display: block;
  margin: 1px 0 6px;
  color: #3d5b7a;
}
#marketingPage .marketing-welcome p {
  font-size: 12px;
  color: #8a9bad;
  line-height: 1.9;
  margin: 0;
}
#marketingPage .marketing-input-label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 10px;
}
#marketingPage .marketing-composer {
  background: #f9fbfe;
  border: 1px solid #dce7f2;
  border-radius: 15px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
#marketingPage .marketing-composer:focus-within {
  border-color: #83bdf6;
  box-shadow: 0 0 0 3px #eaf4ff;
}
#marketingPage #marketingDetails {
  display: block;
  width: 100%;
  min-height: 130px;
  max-height: 320px;
  resize: vertical;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  padding: 18px;
  font-size: 14px;
  color: #294566;
  line-height: 1.9;
  border-radius: 0;
}
#marketingPage #marketingDetails::placeholder {
  color: #9aaabc;
}
#marketingPage .marketing-composer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 12px;
}
#marketingPage .marketing-attach-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}
#marketingPage .marketing-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 7px;
  min-height: 36px;
  border: 0;
  color: #8196ac;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  border-radius: 8px;
}
#marketingPage .marketing-tool:hover {
  color: #087be7;
  background: #edf5fe;
}
#marketingPage .marketing-tool svg {
  width: 17px;
  height: 17px;
}
#marketingPage #marketingSend {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  min-height: 40px;
  font-size: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #087ef5;
  box-shadow: 0 4px 10px #087ef51a;
}
#marketingPage #marketingSend svg {
  width: 17px;
  height: 17px;
}
#marketingPage .marketing-prompt-help {
  font-size: 10px;
  margin: 10px 0 17px;
  color: #94a4b5;
  line-height: 1.8;
}
#marketingPage .marketing-quick-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
#marketingPage .marketing-quick-actions button {
  font-size: 11px;
  color: #5c7b9a;
  background: #fff;
  border: 1px solid #dfe9f3;
  border-radius: 8px;
  min-height: 34px;
  padding: 7px 11px;
}
#marketingPage .marketing-quick-actions button:first-child {
  color: #087be1;
  background: #f1f8ff;
  border-color: #d9ebfc;
}
#marketingPage .marketing-agent-status {
  color: #64809d;
  font-size: 11px;
  line-height: 1.8;
  margin: 13px 0 0;
}
#marketingPage .marketing-agent-status:empty {
  display: none;
}
#marketingPage .marketing-agent-status.error {
  color: #b55535;
}
#marketingPage .marketing-report-link {
  display: inline-block;
  color: #6088b5;
  font-size: 10px;
  margin-top: 7px;
}
#marketingPage .marketing-examples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid #eff3f7;
  padding-top: 19px;
  margin-top: 22px;
}
#marketingPage .marketing-examples span {
  font-size: 10px;
  color: #97a7b9;
}
#marketingPage .marketing-examples button {
  border: 0;
  background: #f5f8fc;
  color: #8397ac;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 10px;
}
#marketingPage .marketing-conversation {
  display: grid;
  gap: 10px;
  max-height: 350px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 3px 18px 0;
  margin-bottom: 8px;
  scrollbar-width: thin;
}
#marketingPage .marketing-chat-message {
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #eaf0f6;
  border-radius: 13px 13px 13px 3px;
  max-width: 96%;
  min-width: 0;
}
#marketingPage .marketing-chat-message.user {
  background: #edf5ff;
  border-color: #e0edff;
  border-radius: 13px 13px 3px 13px;
  justify-self: end;
}
#marketingPage .marketing-chat-message strong {
  font-size: 10px;
  color: #357cbb;
}
#marketingPage .marketing-chat-message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  font-size: 12px;
  margin: 6px 0 0;
  color: #4c6681;
}
#marketingPage .marketing-advanced,
#marketingPage .marketing-save-options {
  padding: 0;
  border-radius: 14px;
  box-shadow: none;
}
#marketingPage summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #52718e;
}
#marketingPage summary::-webkit-details-marker {
  display: none;
}
#marketingPage summary span {
  display: flex;
  align-items: center;
  gap: 9px;
}
#marketingPage summary svg {
  width: 17px;
  height: 17px;
}
#marketingPage summary small {
  font-weight: 400;
  font-size: 10px;
  color: #9babbc;
  margin-left: auto;
}
#marketingPage summary::after {
  content: "⌄";
  font-weight: 400;
  font-size: 15px;
  color: #91a8be;
}
#marketingPage details[open] > summary::after {
  transform: rotate(180deg);
}
#marketingPage .marketing-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  padding: 0 20px 22px;
}
#marketingPage .creative-field {
  min-width: 0;
}
#marketingPage .creative-field > span {
  font-size: 11px;
  color: #68829e;
}
#marketingPage .creative-field input,
#marketingPage .creative-field select {
  width: 100%;
  min-height: 42px;
  padding: 10px;
  color: #4c6683;
  background: #fbfcfe;
  border: 1px solid #e1eaf3;
  border-radius: 8px;
  font-size: 12px;
}
#marketingPage .creative-save {
  margin: 0;
  padding: 10px 20px 18px;
  border-top: 1px solid #eef2f7;
}
#marketingPage .creative-save > button {
  flex: 1 1 130px;
  min-height: 38px;
  font-size: 10px;
}
#marketingPage .creative-save > label {
  flex: 1 0 100%;
}
#marketingPage .creative-status,
#marketingPage .product-draft-status,
#marketingPage .product-inline {
  margin: 8px 20px 15px;
}
#marketingPage .product-inline {
  flex-wrap: wrap;
}
#marketingPage .product-inline button {
  font-size: 10px;
}
#marketingPage .marketing-draft-state {
  background: #f2f6fa;
  color: #8196aa;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 10px;
  flex-shrink: 0;
}
#marketingPage .marketing-draft-state.ready {
  color: #218b76;
  background: #eaf7f2;
}
#marketingPage .marketing-post-empty {
  display: grid;
  justify-items: center;
  padding: 36px 15px 55px;
  text-align: center;
}
#marketingPage .marketing-empty-art {
  display: grid;
  gap: 9px;
  justify-items: center;
  position: relative;
  transform: rotate(-5deg);
  background: linear-gradient(130deg, #f4faff, #fff);
  border: 1px solid #deecf8;
  border-radius: 15px;
  padding: 24px 20px;
  width: 170px;
  box-shadow: 8px 12px 0 #f1f6fb;
  margin: 12px 0 35px;
}
#marketingPage .marketing-empty-art span {
  display: grid;
  place-items: center;
  font-size: 38px;
  color: #208af0;
  width: 125px;
  height: 85px;
  border-radius: 9px;
  background: linear-gradient(110deg, #dfefff, #eef8ff);
  margin-bottom: 6px;
}
#marketingPage .marketing-empty-art i {
  width: 100%;
  height: 5px;
  background: #e4eef7;
  border-radius: 4px;
}
#marketingPage .marketing-empty-art i:last-child {
  width: 66%;
  justify-self: start;
}
#marketingPage .marketing-post-empty h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #5f7a95;
}
#marketingPage .marketing-post-empty p {
  max-width: 260px;
  font-size: 12px;
  color: #9aabba;
  line-height: 1.9;
  margin: 0;
}
#marketingPage .marketing-real-preview {
  overflow: hidden;
  border: 1px solid #e4ecf4;
  border-radius: 13px;
  background: #fff;
}
#marketingPage .social-account {
  padding: 15px;
  gap: 9px;
}
#marketingPage .social-account b {
  font-size: 12px;
  color: #3b5d7d;
  overflow-wrap: anywhere;
}
#marketingPage .social-account small {
  font-size: 10px;
  color: #8b9eb2;
}
#marketingPage .social-avatar {
  background: #e8f3ff;
  color: #4090d9;
  border-radius: 50%;
}
#marketingPage #marketingCaption {
  padding: 0 17px 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: #3a536e;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#marketingPage #marketingPreviewImage {
  display: block;
  width: 100%;
  object-fit: contain;
  background: #f8fafc;
  max-height: 440px;
}
#marketingPage .marketing-post-footer {
  display: flex;
  gap: 19px;
  padding: 12px 16px;
  color: #8fa2b5;
  border-top: 1px solid #edf2f7;
  font-size: 17px;
}
#marketingPage .marketing-post-footer small {
  font-size: 9px;
  margin-left: auto;
  align-self: center;
}
#marketingPage .marketing-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}
#marketingPage #copyMarketingBtn {
  flex: 1;
  color: #fff;
  background: #087ef5;
  border: 0;
  padding: 11px 13px;
  min-height: 40px;
  border-radius: 9px;
  font-size: 11px;
}
#marketingPage .marketing-post-actions .ghost-btn {
  font-size: 10px;
}
#marketingPage .marketing-edit-panel,
#marketingPage .marketing-visual {
  border-top: 1px solid #edf2f7;
  margin-top: 18px;
}
#marketingPage .marketing-edit-panel summary,
#marketingPage .marketing-visual summary {
  padding: 14px 0 6px;
  font-size: 11px;
}
#marketingPage #marketingEditableCopy {
  margin-top: 7px;
  width: 100%;
  min-height: 240px;
  padding: 13px;
  font-size: 12px;
  line-height: 1.9;
  border: 1px solid #dae7f4;
  border-radius: 9px;
  background: #f9fcff;
  color: #355774;
  resize: vertical;
}
#marketingPage #marketingEditFields > .creative-field {
  margin-top: 12px;
}
#marketingPage #marketingPlatformHelp {
  font-size: 10px;
  color: #8b9fb3;
  line-height: 1.8;
}
#marketingPage #marketingVisualDirection {
  padding: 4px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: #8296ab;
  white-space: pre-wrap;
}
#marketingPage .marketing-results-note {
  font-size: 10px;
  color: #9aaabc;
  line-height: 1.8;
  text-align: center;
  margin: 23px 0 0;
}
#marketingPage #marketingIdeas {
  display: grid;
  gap: 10px;
}
#marketingPage .marketing-idea {
  text-align: left;
  padding: 14px;
  border: 1px solid #e2ecf6;
  background: #f9fcff;
  border-radius: 11px;
  color: #466684;
}
#marketingPage .marketing-idea b {
  display: block;
  font-size: 13px;
  color: #2d608d;
}
#marketingPage .marketing-idea p {
  font-size: 11px;
  line-height: 1.9;
  margin: 7px 0;
  overflow-wrap: anywhere;
}
#marketingPage .marketing-idea small {
  color: #2588dc;
  font-size: 10px;
}
#marketingPage #marketingReferences {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px;
}
#marketingPage #marketingReferences:empty {
  display: none;
}
#marketingPage .creative-reference {
  max-width: 100%;
}
@media (max-width: 1120px) {
  #marketingPage .marketing-workspace {
    gap: 16px;
  }
  #marketingPage .marketing-card {
    padding: 21px;
  }
  #marketingPage .marketing-advanced,
  #marketingPage .marketing-save-options {
    padding: 0;
  }
  #marketingPage .marketing-platforms button {
    gap: 4px;
    font-size: 10px;
  }
}
@media (max-width: 850px) {
  #marketingPage .marketing-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  #marketingPage .marketing-header {
    align-items: flex-start;
    padding-top: 13px;
  }
  #marketingPage .marketing-powered {
    font-size: 9px;
    padding: 8px 10px;
  }
  #marketingPage .marketing-post-empty {
    padding-block: 20px 30px;
  }
}
@media (max-width: 480px) {
  #marketingPage .marketing-header {
    display: block;
    padding-bottom: 22px;
  }
  #marketingPage .marketing-powered {
    margin-top: 14px;
  }
  #marketingPage h1 {
    font-size: 26px;
  }
  #marketingPage .marketing-header p {
    font-size: 12px;
  }
  #marketingPage .marketing-card {
    padding: 19px 15px;
    border-radius: 16px;
  }
  #marketingPage .marketing-advanced,
  #marketingPage .marketing-save-options {
    padding: 0;
  }
  #marketingPage h2 {
    font-size: 17px;
  }
  #marketingPage #marketingNewChat {
    padding: 8px 10px;
    font-size: 10px;
  }
  #marketingPage .marketing-platforms {
    gap: 2px;
    padding: 4px;
  }
  #marketingPage .marketing-platforms button {
    flex-direction: column;
    font-size: 9px;
    gap: 4px;
    min-height: 53px;
  }
  #marketingPage .marketing-tool {
    padding-inline: 5px;
  }
  #marketingPage .marketing-tool span {
    display: none;
  }
  #marketingPage .marketing-tool svg {
    width: 20px;
    height: 20px;
  }
  #marketingPage .marketing-composer-tools {
    padding-inline: 9px;
  }
  #marketingPage .marketing-settings-grid {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
  }
  #marketingPage .marketing-prompt-help {
    font-size: 9px;
  }
  #marketingPage #marketingDetails {
    padding: 14px;
    font-size: 13px;
  }
  #marketingPage .marketing-quick-actions {
    gap: 5px;
  }
  #marketingPage .marketing-quick-actions button {
    font-size: 10px;
    padding-inline: 8px;
  }
  #marketingPage .marketing-results-note {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #marketingPage * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

#marketingPage .marketing-generated-panel {
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid #dce8fa;
  border-radius: 16px;
  background: #f9fbff;
}
#marketingPage .marketing-generated-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
#marketingPage #marketingImageState {
  font-size: 12px;
  color: #527298;
}
#marketingPage #marketingGeneratedImage {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
#marketingPage .marketing-image-progress {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 260px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f5ff, #edf0ff);
  color: #315c95;
}
#marketingPage .marketing-image-progress > span {
  font-size: 42px;
  color: #1687f8;
}
#marketingPage .marketing-image-progress p {
  margin: 0;
  font-weight: 700;
}
#marketingPage .marketing-image-progress small {
  line-height: 1.7;
  color: #617a9a;
}
#marketingPage #marketingImageDownload {
  display: inline-flex;
  margin-top: 14px;
  text-decoration: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
#marketingPage .marketing-image-error {
  color: #91621e;
  padding: 12px;
  background: #fff5e6;
  border-radius: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#marketingPage .marketing-image-review {
  padding: 10px;
  font-size: 13px;
  color: #73531e;
}
#marketingPage .marketing-image-review ul {
  padding-left: 22px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
