/* Video conversations and preparation tools share the white workspace. */
#videoPage .video-workflow-note { font-size: 11px; color: #607fa3; line-height: 1.9; margin: 20px 0 12px; }
#videoPage .video-storyboard-action { display: flex; align-items: center; justify-content: center; width: 100%; gap: 10px; min-height: 48px; margin-bottom: 10px; }
#videoPage .video-storyboard-action svg { width: 20px; height: 20px; }
#videoPage .video-scene-frame { width: 100%; display: block; border-radius: 10px; margin-bottom: 10px; }
#videoPage .video-scene-download { display: block; color: #1b71c9; font-size: 11px; margin: 0 0 12px; }
#videoPage .storyboard-scenes article b { display: block; }
#videoPage #videoStoryboardStatus { padding: 10px 12px; border-radius: 10px; background: #f0f7ff; }
#videoPage .video-conversation { display: grid; gap: 12px; max-height: 420px; overflow-y: auto; overscroll-behavior: contain; padding: 5px 3px 18px; }
#videoPage .video-conversation[hidden], #videoPage [hidden] { display: none !important; }
#videoPage .video-chat-message { border: 1px solid #e1eaf5; background: #f8fbff; border-radius: 16px 16px 16px 4px; padding: 15px; max-width: 95%; min-width: 0; }
#videoPage .video-chat-message.user { background: #eaf3ff; border-color: #dbeaff; justify-self: end; border-radius: 16px 16px 4px 16px; }
#videoPage .video-chat-message strong { font-size: 11px; letter-spacing: .03em; color: #2770c9; }
#videoPage .video-chat-message p { margin: 7px 0 0; font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; color: #294363; }
#videoPage .video-agent-status { font-size: 12px; color: #4d7096; line-height: 1.7; margin: 4px 0 14px; }
#videoPage .video-agent-status:empty { display: none; }
#videoPage .video-agent-status.error { color: #ae4a26; }
#videoPage .video-chat-send { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 20px auto; min-height: 44px; }
#videoPage .video-chat-send svg { width: 19px; height: 19px; }
#videoPage button:disabled { opacity: .5; cursor: not-allowed; }
#videoPage #videoNewChat { margin-left: auto; font-size: 11px; flex-shrink: 0; }
#videoPage .video-result { border-bottom: 1px solid #dfebf6; margin-bottom: 24px; padding-bottom: 24px; }
#videoPage .video-result-heading { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
#videoPage .video-result-heading h2 { margin: 0; font-size: 20px; color: #294363; }
#videoPage #videoJobState { background: #eaf4ff; padding: 6px 10px; border-radius: 20px; color: #2478ca; font-size: 11px; }
#videoPage #videoJobMessage { line-height: 1.8; color: #6d829a; font-size: 12px; overflow-wrap: anywhere; }
#videoPage #videoPlayer { display: block; width: 100%; max-height: 420px; border-radius: 14px; background: #10243d; margin: 16px 0; }
#videoPage #videoDownload { display: inline-flex; text-decoration: none; align-items: center; min-height: 44px; padding: 10px 18px; }
#videoPage .video-recent-jobs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
#videoPage .video-session-link { display: block; width: 100%; text-align: left; border: 1px solid #e1eaf5; border-radius: 10px; background: #f8fbff; color: #486887; padding: 11px; overflow-wrap: anywhere; }
@media(max-width:480px) { #videoPage .video-step-heading { flex-wrap: wrap; } #videoPage #videoNewChat { margin-left: 42px; } }
.theme-light .creative-page {
  font-size: 13px;
  color: #263e64;
}
.theme-light .creative-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 175px;
  padding: 25px 32px;
  margin-bottom: 20px;
  border-radius: 19px;
  border: 1px solid #d5edfb;
  background: linear-gradient(115deg, #e6faff, #eef7ff 55%, #cceeff);
  overflow: hidden;
  position: relative;
}
.theme-light .creative-hero:after {
  content: "";
  position: absolute;
  right: 13%;
  top: -60px;
  width: 200px;
  height: 300px;
  transform: rotate(35deg);
  background: linear-gradient(#ffffff9c, #b0e4ff30);
  pointer-events: none;
}
.theme-light .creative-hero > div {
  position: relative;
  z-index: 1;
}
.theme-light .creative-hero h1 {
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 850;
  line-height: 1.35;
  color: #172951;
  margin: 8px 0;
}
.theme-light .creative-hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #ff981c, #ff5a14);
  background-clip: text;
  color: transparent;
}
.theme-light .creative-hero p {
  margin: 0;
  color: #6482a2;
  line-height: 1.8;
  max-width: 650px;
  font-size: 13px;
}
.theme-light .creative-hero-art {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 180px;
  justify-content: center;
  padding: 0 20px;
}
.theme-light .creative-hero-art > span {
  display: grid;
  place-items: center;
  width: 95px;
  height: 95px;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffa7d3, #f21a83);
  color: white;
  font-size: 60px;
  box-shadow: 0 15px 24px #ce389e25;
  transform: rotate(-12deg);
  border: 3px solid #fff;
}
.theme-light .creative-hero-art i {
  font-style: normal;
  color: #3d9de7;
  font-size: 28px;
  align-self: flex-end;
}
.theme-light .creative-hero-art b {
  position: absolute;
  right: 4px;
  top: -15px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(#7fc7ff, #1281ed);
  color: #fff;
  border: 2px solid white;
  border-radius: 12px;
  transform: rotate(15deg);
  box-shadow: 0 7px 12px #1677b82c;
}
.theme-light .music-hero {
  background: linear-gradient(105deg, #edf8ff, #e3f8ff 55%, #d4e5ff);
}
.theme-light .music-hero .creative-hero-art > span {
  background: linear-gradient(140deg, #39b7ff, #057aff);
}
.theme-light .marketing-hero .creative-hero-art > span {
  background: linear-gradient(140deg, #42d4ff, #0661ff);
}
.theme-light .creative-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}
.theme-light .creative-layout > div,
.theme-light .creative-layout > aside {
  min-width: 0;
}
.theme-light .creative-card {
  background: #fff;
  border: 1px solid #e0ebf8;
  border-radius: 17px;
  padding: 22px;
  box-shadow: 0 5px 22px #2964a504;
  margin-bottom: 18px;
  min-width: 0;
}
.theme-light .creative-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: #243c67;
  line-height: 1.5;
}
.theme-light .creative-card h3 {
  font-size: 16px;
  color: #2a4b75;
  margin: 0 0 13px;
}
.theme-light .creative-card p {
  color: #7f96af;
  line-height: 1.8;
}
.theme-light .creative-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.theme-light .creative-section-title > span:not(.creative-tile-icon) {
  color: #8ca2ba;
  font-size: 10px;
  text-align: right;
  max-width: 170px;
  line-height: 1.6;
}
.theme-light .creative-section-title p {
  font-size: 11px;
  margin: 4px 0 0;
}
.theme-light .creative-tile-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: linear-gradient(#28b6ff, #0072ff);
  color: #fff;
  font-size: 28px;
  flex: 0 0 43px;
}
.theme-light .creative-tile-icon.pink {
  background: linear-gradient(#ff8bbf, #f11a83);
}
.theme-light .creative-fields {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.theme-light .creative-fields.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.theme-light .creative-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
  min-width: 0;
}
.theme-light .creative-field > span {
  font-size: 11px;
  font-weight: 700;
  color: #476385;
  line-height: 1.6;
}
.theme-light .creative-field input,
.theme-light .creative-field select,
.theme-light .creative-field textarea,
.theme-light .creative-save select {
  font: inherit;
  font-size: 12px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  background: #f9fbff;
  border: 1px solid #dfebf8;
  border-radius: 10px;
  color: #3d587b;
  outline: none;
}
.theme-light .creative-field input:focus,
.theme-light .creative-field select:focus,
.theme-light .creative-field textarea:focus {
  border-color: #79bdff;
  box-shadow: 0 0 0 3px #0c8eff0c;
}
.theme-light .creative-field textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.8;
}
.theme-light .creative-field input::placeholder,
.theme-light .creative-field textarea::placeholder {
  color: #a2b0c4;
}
.theme-light .creative-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  background: #f4f9ff;
  padding: 5px;
  border-radius: 14px;
}
.theme-light .creative-mode-tabs button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
  padding: 13px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #5a7a9d;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.theme-light .creative-mode-tabs small {
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
}
.theme-light .creative-mode-tabs button.selected {
  background: linear-gradient(100deg, #079cff, #0564ff) !important;
  color: #fff !important;
  border-color: #078bff !important;
  box-shadow: 0 6px 10px #1683e91f;
}
.theme-light .creative-upload {
  margin: 16px 0;
}
.theme-light .creative-label {
  font-size: 11px;
  font-weight: 700;
  color: #476385;
  margin-bottom: 8px;
}
.theme-light .creative-label small {
  font-weight: 400;
  color: #9aadc1;
  margin-left: 6px;
}
.theme-light .creative-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
  border: 1px dashed #bdd7ed;
  background: #f8fcff;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  color: #379cdb;
  text-align: center;
  overflow: hidden;
}
.theme-light .creative-drop > span {
  font-size: 24px;
  line-height: 1;
}
.theme-light .creative-drop strong {
  font-size: 12px;
}
.theme-light .creative-drop small {
  font-size: 9px;
  color: #93a7bc;
  line-height: 1.6;
}
.theme-light .creative-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.theme-light .creative-drop:focus-within {
  outline: 3px solid #85beff;
  outline-offset: 3px;
}
.theme-light .creative-file-list {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.theme-light .creative-reference {
  width: calc(25% - 7px);
  min-width: 85px;
  border: 1px solid #dfebf7;
  border-radius: 10px;
  position: relative;
  background: #f6faff;
  overflow: hidden;
}
.theme-light .creative-reference img,
.theme-light .creative-reference video {
  display: block;
  width: 100%;
  height: 78px;
  object-fit: cover;
  background: #e7f2fc;
}
.theme-light .creative-reference > span {
  font-size: 9px;
  display: block;
  padding: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7a91aa;
}
.theme-light .creative-reference button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 7px;
  background: #ffffffef;
  color: #59799b;
  cursor: pointer;
  font-size: 17px;
}
.theme-light .creative-notice {
  padding: 10px 13px;
  border: 1px solid #e3edf8;
  background: #f5faff;
  border-radius: 10px;
  color: #6c8caa;
  font-size: 10px;
  line-height: 1.8;
  margin: 5px 0 13px;
}
.theme-light .creative-main-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(100deg, #039fff, #0061ff);
  box-shadow: 0 5px 14px #097cff20;
  color: #fff;
  min-height: 47px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  font-family: inherit;
}
.theme-light .creative-main-action small {
  font-size: 10px;
  background: #ffffff24;
  border-radius: 30px;
  padding: 4px 8px;
  white-space: nowrap;
  font-weight: 500;
}
.theme-light .creative-main-action:hover {
  filter: brightness(1.04);
}
.theme-light .creative-main-action.music-action {
  background: linear-gradient(95deg, #ffb424, #ff7015, #ff3b37);
}
.theme-light .creative-save {
  display: flex;
  gap: 8px;
  align-items: end;
  flex-wrap: wrap;
  margin-top: 16px;
  border-top: 1px solid #edf2f9;
  padding-top: 15px;
}
.theme-light .creative-save > button {
  font-size: 10px;
  padding: 9px 11px;
  min-height: 34px;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  white-space: normal;
}
.theme-light .creative-save > label {
  font-size: 10px;
  color: #7b96b3;
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.theme-light .creative-save select {
  font-size: 10px;
  padding: 8px;
}
.theme-light .creative-save > small {
  display: block;
  flex-basis: 100%;
  font-size: 9px;
  color: #9badc0;
  line-height: 1.7;
}
.theme-light .creative-status {
  font-size: 11px;
  margin: 10px 0 0;
  line-height: 1.8;
  color: #31877a !important;
}
.theme-light .creative-status:empty {
  display: none;
}
.theme-light .creative-empty {
  display: grid;
  place-items: center;
  min-height: 105px;
  padding: 20px;
  border: 1px dashed #dae7f5;
  border-radius: 12px;
  text-align: center;
  color: #8ca1b9;
  line-height: 1.8;
  font-size: 12px;
}
.theme-light .video-cover {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: #e7f4ff;
  aspect-ratio: 16/10;
  margin-bottom: 20px;
}
.theme-light .video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.theme-light .cover-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #fffef2ed;
  padding: 7px 10px;
  border-radius: 8px;
  color: #4a7696;
  font-size: 10px;
}
.theme-light .creative-preview-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
}
.theme-light .creative-preview-heading small {
  font-size: 9px;
  color: #95a9bf;
}
.theme-light .storyboard-scenes {
  display: grid;
  gap: 10px;
}
.theme-light .storyboard-scenes article {
  display: flex;
  gap: 11px;
  padding: 12px;
  border: 1px solid #e4edf8;
  border-radius: 11px;
  background: #f9fcff;
}
.theme-light .storyboard-scenes article > span {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  background: #e1f2ff;
  color: #0e8bdd;
  border-radius: 9px;
  font-weight: 800;
}
.theme-light .storyboard-scenes article > div {
  flex: 1;
  min-width: 0;
}
.theme-light .storyboard-scenes b {
  font-size: 12px;
  color: #436489;
}
.theme-light .storyboard-scenes small {
  float: right;
  color: #9daec1;
  font-size: 10px;
}
.theme-light .storyboard-scenes p {
  font-size: 11px;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}
.theme-light .creative-preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.theme-light .creative-preset {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid #e1ebf8;
  border-radius: 12px;
  text-align: left;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  color: #426184;
  transition: transform 0.15s;
}
.theme-light .creative-preset:hover {
  transform: translateY(-3px);
  border-color: #91c7f6;
}
.theme-light .creative-preset img {
  display: block;
  width: 100%;
  height: 105px;
  object-fit: cover;
  object-position: center 30%;
}
.theme-light .creative-preset > span {
  display: block;
  padding: 11px;
}
.theme-light .creative-preset b {
  display: block;
  font-size: 12px;
  line-height: 1.6;
}
.theme-light .creative-preset small {
  display: block;
  font-size: 9px;
  color: #9aacc0;
  margin-top: 5px;
}
.theme-light .creative-voice {
  border: 0;
  padding: 0;
  margin: 10px 0 17px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.theme-light .creative-voice legend {
  font-size: 11px;
  font-weight: 700;
  color: #476385;
  margin-bottom: 9px;
}
.theme-light .creative-voice label {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2ecf7;
  border-radius: 9px;
  padding: 10px;
  background: #f9fcff;
  flex: 1;
  font-size: 11px;
  cursor: pointer;
  color: #6c86a2;
  white-space: nowrap;
}
.theme-light .creative-voice label:has(input:checked) {
  background: #eaf7ff;
  border-color: #8bc6f7;
  color: #167cc2;
}
.theme-light .creative-voice input {
  accent-color: #168aff;
}
.theme-light .creative-genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 17px;
}
.theme-light .creative-genre-chips button {
  padding: 7px 12px;
  border: 1px solid #e2ecf7;
  border-radius: 30px;
  background: #f3f9ff;
  color: #7392ad;
  font-size: 10px;
  cursor: pointer;
}
.theme-light .creative-genre-chips button.selected {
  background: #0785ff;
  color: #fff;
  border-color: #0785ff;
}
.theme-light .music-cover-art {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 20%, #ffccf0, transparent 50%),
    linear-gradient(130deg, #b9f0ff, #8ca9fc 50%, #c5c8ff);
  overflow: hidden;
  color: #fff;
  margin: 8px 0 20px;
}
.theme-light .music-cover-art > span {
  font-size: 73px;
  line-height: 1.2;
  text-shadow: 0 4px 10px #487ccc38;
  z-index: 1;
}
.theme-light .music-cover-art > b {
  font-size: 25px;
  letter-spacing: 3px;
  line-height: 1.4;
  text-align: center;
  z-index: 1;
  text-shadow: 0 2px 15px #5277af3d;
}
.theme-light .music-bars {
  position: absolute;
  inset: auto 0 20px;
  height: 70px;
  opacity: 0.22;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 9px,
    #fff 9px 13px
  );
  clip-path: polygon(
    0 45%,
    10% 15%,
    20% 65%,
    30% 0,
    40% 40%,
    50% 10%,
    60% 55%,
    70% 0,
    80% 70%,
    90% 35%,
    100% 50%,
    100% 100%,
    0 100%
  );
}
.theme-light .creative-media-note {
  font-size: 10px;
  text-align: center;
  color: #91a5bc !important;
  line-height: 1.8;
  margin: 12px 0 0;
}
.theme-light .music-brief-summary h3 {
  overflow-wrap: anywhere;
  line-height: 1.6;
  margin-bottom: 8px;
}
.theme-light .music-brief-summary p {
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.theme-light .music-structure {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.theme-light .music-structure span {
  background: #f1f7ff;
  border: 1px solid #e2ecfa;
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 9px;
  color: #7894b2;
}
.theme-light .music-preset-list {
  display: grid;
  gap: 9px;
}
.theme-light .music-preset-list > button {
  display: flex;
  gap: 11px;
  align-items: center;
  border: 1px solid #e3edf8;
  border-radius: 11px;
  padding: 11px;
  background: #f9fcff;
  font-family: inherit;
  color: #526e92;
  text-align: left;
  cursor: pointer;
}
.theme-light .music-preset-list > button > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(#c5edff, #80bdff);
  border-radius: 10px;
  color: white;
  font-size: 25px;
}
.theme-light .music-preset-list b {
  font-size: 12px;
  flex: 1;
}
.theme-light .music-preset-list small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #9bacc0;
  margin-top: 5px;
}
.theme-light .music-preset-list i {
  font-style: normal;
  font-size: 24px;
  color: #60a8df;
}
.theme-light .marketing-platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 17px 0 20px;
}
.theme-light .marketing-platforms button {
  border: 1px solid #e4edf8;
  border-radius: 11px;
  background: #fcfdff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 6px;
  color: #728ca9;
  font-size: 10px;
  font-family: inherit;
  cursor: pointer;
}
.theme-light .marketing-platforms button.selected {
  border-color: #6fc1ff;
  box-shadow: 0 0 0 3px #0785ff0a;
  background: #eef8ff;
}
.theme-light .marketing-platforms b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  color: white;
  font-size: 23px;
  flex: 0 0 27px;
}
.theme-light .platform-facebook {
  background: #147cf6;
}
.theme-light .platform-instagram {
  background: linear-gradient(140deg, #9d39dd, #f22e8b, #ffa843);
}
.theme-light .marketing-platforms .platform-line {
  background: #06c755;
  font-size: 9px;
}
.theme-light .platform-tiktok {
  background: #17243d;
}
.theme-light .creative-action-row {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 15px;
  flex-wrap: wrap;
}
.theme-light .creative-action-row > .creative-main-action {
  flex: 1;
  min-width: 200px;
  font-size: 13px;
}
.theme-light .creative-action-row > .ghost-btn,
.theme-light .creative-action-row > .primary-btn {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 11px;
  cursor: pointer;
}
.theme-light .social-preview {
  border: 1px solid #e2ebf7;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.theme-light .social-account {
  display: flex;
  gap: 9px;
  padding: 14px 13px 0;
  align-items: center;
}
.theme-light .social-avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: linear-gradient(#e1f3ff, #9bcfff);
  color: #3682bb;
  border-radius: 50%;
  font-weight: 800;
}
.theme-light .social-account > div {
  flex: 1;
  min-width: 0;
}
.theme-light .social-account b {
  font-size: 11px;
  display: block;
  color: #476685;
  overflow: hidden;
  text-overflow: ellipsis;
}
.theme-light .social-account small {
  display: block;
  font-size: 8px;
  color: #a6b4c7;
  margin-top: 4px;
}
.theme-light #marketingCaption {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-size: 11px;
  color: #627e9a;
  margin: 13px;
  padding: 0;
}
.theme-light #marketingPreviewImage {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
  background: #f3f8fc;
}
.theme-light .sample-image-note {
  font-size: 9px;
  color: #9aaec3;
  display: block;
  text-align: center;
  padding: 7px;
  background: #f9fcff;
}
.theme-light .sample-image-note[hidden] {
  display: none;
}
.theme-light .social-actions {
  display: flex;
  justify-content: space-around;
  padding: 11px 5px;
  color: #8b9eb6;
  border-top: 1px solid #eaf0f7;
  font-size: 10px;
}
.theme-light .marketing-hashtags {
  font-size: 11px;
  color: #3297d8;
  margin-top: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
@media (min-width: 1700px) {
  .theme-light .creative-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(380px, 1fr);
  }
}
@media (max-width: 1250px) {
  .theme-light .creative-layout {
    grid-template-columns: minmax(0, 1fr) minmax(285px, 0.8fr);
  }
  .theme-light .creative-card {
    padding: 17px;
  }
  .theme-light .creative-fields.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-light .marketing-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-light .creative-hero h1 {
    font-size: 32px;
  }
}
@media (max-width: 1000px) {
  .theme-light .creative-layout {
    grid-template-columns: 1fr;
  }
  .theme-light .creative-layout > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .theme-light .creative-layout > aside.creative-preview,
  .theme-light .marketing-layout > aside {
    display: block;
  }
  .theme-light .creative-preset-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .theme-light .creative-hero {
    padding: 23px;
  }
  .theme-light .creative-fields.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .theme-light .marketing-platforms {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .theme-light .creative-hero {
    padding: 22px 19px;
    min-height: 155px;
    margin-bottom: 15px;
  }
  .theme-light .creative-hero h1 {
    font-size: 29px;
  }
  .theme-light .creative-hero p {
    font-size: 11px;
  }
  .theme-light .creative-hero-art {
    display: none;
  }
  .theme-light .creative-card {
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 14px;
  }
  .theme-light .creative-layout {
    gap: 0;
    margin-bottom: 0;
  }
  .theme-light .creative-layout > aside {
    display: block;
  }
  .theme-light .creative-card h2 {
    font-size: 18px;
  }
  .theme-light .creative-fields.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-light .creative-section-title {
    gap: 9px;
  }
  .theme-light .creative-section-title > span:not(.creative-tile-icon) {
    font-size: 8px;
    max-width: 125px;
  }
  .theme-light .creative-mode-tabs button {
    padding: 11px;
    font-size: 11px;
  }
  .theme-light .creative-mode-tabs small {
    font-size: 8px;
  }
  .theme-light .creative-preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .theme-light .creative-preset img {
    height: 95px;
  }
  .theme-light .creative-preset b {
    font-size: 10px;
  }
  .theme-light .creative-save > button {
    flex: 1;
    font-size: 9px;
  }
  .theme-light .creative-save > label {
    flex-basis: 100%;
  }
  .theme-light .creative-voice label {
    font-size: 10px;
    padding: 8px;
    white-space: normal;
  }
  .theme-light .creative-voice input {
    flex-shrink: 0;
  }
  .theme-light .creative-main-action {
    font-size: 13px;
  }
  .theme-light .creative-main-action small {
    font-size: 9px;
  }
  .theme-light .marketing-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-light .creative-field input,
  .theme-light .creative-field select,
  .theme-light .creative-field textarea {
    font-size: 12px;
  }
  .theme-light .creative-reference {
    min-width: 70px;
  }
  .theme-light .creative-field > span {
    font-size: 10px;
  }
  .theme-light .music-cover-art {
    min-height: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-light .creative-preset {
    transition: none;
  }
}

/* Video studio: one clear brief, a few choices, and an editable story outline. */
.theme-light #videoPage { max-width: 1460px; margin: 0 auto; width: 100%; padding-bottom: 32px; color: #243652; }
#videoPage svg { width: 21px; height: 21px; flex: 0 0 21px; }
#videoPage .video-studio-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; margin-bottom: 24px; border: 1px solid #dce9f6; border-radius: 22px; background: linear-gradient(110deg, #f3faff 0%, #edf5ff 68%, #e0edff 100%); }
#videoPage .video-eyebrow { display: block; color: #6c88a5; font-size: 10px; font-weight: 800; letter-spacing: 1.9px; line-height: 1.6; }
#videoPage .video-studio-title h1 { margin: 10px 0; font-size: clamp(25px, 2.5vw, 37px); letter-spacing: -.8px; line-height: 1.5; color: #142e53; }
#videoPage .video-studio-title h1 span { color: #0877ef; }
#videoPage .video-studio-title p { margin: 0; font-size: 14px; line-height: 1.8; color: #6b809a; }
#videoPage .video-header-mark { display: flex; align-items: center; gap: 15px; padding: 20px; color: #1b6fe2; transform: rotate(-5deg); background: #ffffffba; border: 1px solid white; border-radius: 18px; box-shadow: 0 10px 30px #1b69b50a; }
#videoPage .video-header-mark svg { width: 44px; height: 44px; }
#videoPage .video-header-mark span { font-size: 11px; line-height: 1.7; letter-spacing: 2px; }
#videoPage .video-header-mark b { font-size: 20px; letter-spacing: 1px; }
#videoPage .video-workspace { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, 1fr); gap: 24px; align-items: start; }
.theme-light #videoPage .creative-card { margin: 0; box-shadow: 0 8px 32px #34598705; border-color: #e0e9f2; border-radius: 20px; padding: 26px; }
#videoPage .video-step-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
#videoPage .video-step-number { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; color: #1978e4; background: #edf5ff; border: 1px solid #dcecff; border-radius: 11px; font-size: 12px; font-weight: 800; }
#videoPage .video-step-heading h2 { font-size: 18px; line-height: 1.6; }
#videoPage .video-step-heading p { margin: 2px 0 0; color: #8190a4; font-size: 12px; line-height: 1.6; }
#videoPage .video-mode-tabs { padding: 5px; gap: 6px; margin-bottom: 23px; background: #f2f5f9; border-radius: 14px; }
#videoPage .video-mode-tabs button { flex-direction: row; align-items: center; gap: 11px; padding: 12px; color: #718299; font-size: 13px; min-height: 68px; }
#videoPage .video-mode-tabs button > span { display: flex; flex-direction: column; gap: 4px; }
#videoPage .video-mode-tabs button small { font-size: 10px; color: inherit; opacity: .75; }
.theme-light #videoPage .video-mode-tabs button.selected { background: #fff !important; color: #0877ed !important; border-color: #d8e6f8 !important; box-shadow: 0 3px 9px #2b5f9c0b; }
#videoPage .video-prompt-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
#videoPage .video-prompt-heading label { font-size: 14px; font-weight: 750; color: #29425f; }
#videoPage #videoPromptCount { color: #96a2b4; font-size: 11px; white-space: nowrap; }
.theme-light #videoPage #videoPrompt { display: block; width: 100%; min-height: 135px; max-height: 320px; padding: 15px 16px; color: #304c6e; font: inherit; font-size: 14px; line-height: 1.9; background: #f8faff; border: 1px solid #dbe5f2; border-radius: 13px; resize: vertical; }
#videoPage #videoPrompt::placeholder { color: #9aa9ba; }
#videoPage #videoPrompt:focus { outline: 3px solid #e6f1ff; border-color: #2188f8; }
#videoPage .video-prompt-help { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
#videoPage .video-prompt-help p { margin: 0; font-size: 11px; color: #8a99ab; line-height: 1.7; }
#videoPage .video-example-link { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; min-height: 28px; background: none; border: 0; color: #297cda; font-size: 11px; cursor: pointer; }
#videoPage .video-example-link svg { width: 13px; height: 13px; flex-basis: 13px; }
#videoPage .video-example-link:hover { text-decoration: underline; }
#videoPage .video-upload-section { margin: 20px 0 26px; }
#videoPage .video-upload-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
#videoPage .video-upload-label label { font-size: 13px; font-weight: 700; color: #334c68; }
#videoPage .video-upload-label small { font-size: 11px; color: #8596aa; }
#videoPage .video-drop { flex-direction: row; justify-content: center; gap: 14px; min-height: 101px; padding: 16px; text-align: left; background: #fcfdff; border: 1.5px dashed #cbdcf0; border-radius: 13px; }
#videoPage .video-drop:hover { border-color: #60a5ef; background: #f5faff; }
#videoPage .video-drop > span { font-size: inherit; line-height: 1.7; }
#videoPage .video-drop .video-upload-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; background: #eaf3ff; border-radius: 12px; color: #368bea; }
#videoPage .video-drop strong { display: block; font-size: 13px; font-weight: 700; color: #4273a4; }
#videoPage .video-drop small { display: block; font-size: 10px; line-height: 1.8; color: #98a5b6; }
#videoPage #videoReferences:empty { display: none; }
#videoPage .video-format-heading { padding-top: 23px; border-top: 1px solid #edf1f6; margin-bottom: 17px; }
#videoPage .video-format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#videoPage .creative-field { margin-bottom: 12px; gap: 8px; }
#videoPage .creative-field > span { font-size: 12px; color: #687b93; font-weight: 600; }
#videoPage .creative-field select { min-height: 46px; font-size: 13px; color: #304d70; background-color: #fff; border-color: #dbe5f1; border-radius: 11px; }
#videoPage .video-advanced, #videoPage .video-save-options { border: 1px solid #e5ebf3; border-radius: 12px; margin-top: 4px; }
#videoPage details > summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 14px; min-height: 48px; list-style: none; color: #506783; cursor: pointer; font-size: 12px; }
#videoPage details > summary::-webkit-details-marker { display: none; }
#videoPage details > summary:after { content: ''; width: 6px; height: 6px; flex: 0 0 6px; margin-left: 2px; border-right: 1.5px solid #8c9eb3; border-bottom: 1.5px solid #8c9eb3; transform: rotate(45deg); }
#videoPage details[open] > summary:after { transform: rotate(225deg); }
#videoPage details > summary > span { display: flex; align-items: center; gap: 8px; font-weight: 650; }
#videoPage details > summary > small { margin-left: auto; color: #99a6b7; font-size: 10px; }
#videoPage details > summary svg { width: 17px; height: 17px; flex-basis: 17px; }
#videoPage .video-advanced-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 5px 14px 12px; }
.theme-light #videoPage .video-create-action { margin-top: 24px; min-height: 52px; justify-content: space-between; padding: 14px 20px; border-radius: 12px; background: linear-gradient(100deg, #ff9825, #ff711c); box-shadow: 0 6px 15px #fc8f2220; font-size: 15px; }
#videoPage .video-create-action > span { display: inline-flex; align-items: center; gap: 10px; }
#videoPage .video-action-note { margin: 10px 0 22px; color: #98a5b5; font-size: 11px; line-height: 1.8; text-align: center; }
#videoPage .video-save-options { border-style: dashed; }
#videoPage .video-save-options .creative-save { border-top: 1px solid #edf1f6; margin-top: 0; padding: 14px; }
#videoPage .creative-save > button { flex: 1 1 140px; font-size: 11px; min-height: 40px; }
#videoPage .creative-save > label { flex: 1 0 100%; font-size: 12px; }
#videoPage .creative-save select { min-height: 44px; font-size: 13px; }
#videoPage .creative-save > small { font-size: 10px; }
#videoPage .video-save-options .creative-status, #videoPage .video-save-options .product-inline { margin: 10px 14px; font-size: 11px; }
#videoPage .video-save-options .product-inline button { font-size: 11px; padding: 8px 11px; min-height: 38px; }
.theme-light #videoPage .video-preview-panel { position: sticky; top: 0; padding: 23px; scroll-margin-top: 16px; }
#videoPage .video-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
#videoPage .video-preview-heading .video-eyebrow { font-size: 9px; letter-spacing: 1.4px; }
#videoPage .video-preview-heading h2 { font-size: 18px; margin: 4px 0 0; }
#videoPage .video-board-state { flex-shrink: 0; font-size: 10px; color: #8296af; background: #f0f5fa; padding: 6px 9px; border-radius: 7px; }
#videoPage .video-board-state.ready { color: #268470; background: #eaf7f2; }
#videoPage .video-preview-stage { display: grid; place-items: center; position: relative; overflow: hidden; min-height: 200px; background: radial-gradient(ellipse at 90% 0%, #316395 0, transparent 60%), radial-gradient(ellipse at 5% 100%, #df9f7a55 0, transparent 60%), #112d4c; border-radius: 14px; }
#videoPage .video-stage-art { display: flex; align-items: center; gap: 16px; color: #9fc8f4; padding: 20px; }
#videoPage .video-stage-art svg { width: 42px; height: 42px; flex-basis: 42px; }
#videoPage .video-stage-art span { font-size: 14px; line-height: 1.65; letter-spacing: 3px; }
#videoPage .video-stage-art b { font-size: 23px; color: #fff; letter-spacing: 1px; }
#videoPage .video-preview-stage img { display: block; width: 100%; height: 200px; object-fit: contain; background: #112d4c; }
#videoPage .video-preview-stage [hidden] { display: none !important; }
#videoPage .video-stage-label { position: absolute; left: 12px; bottom: 12px; border: 1px solid #ffffff25; border-radius: 6px; padding: 4px 8px; background: #153553c9; color: #d2e3f5; font-size: 9px; }
#videoPage .video-clip-summary { display: flex; align-items: center; justify-content: center; gap: 0; margin: 16px 0 20px; padding-bottom: 20px; border-bottom: 1px solid #edf1f6; font-size: 12px; color: #70839a; }
#videoPage .video-clip-summary > span { padding: 0 16px; border-right: 1px solid #e2e9f2; line-height: 1.2; }
#videoPage .video-clip-summary > span:last-child { border: 0; }
#videoPage .video-clip-summary b { color: #344e70; font-weight: 600; }
#videoPage .video-board-placeholder { display: grid; gap: 13px; padding: 0 0 6px; }
#videoPage .video-board-placeholder[hidden] { display: none; }
#videoPage .video-board-placeholder > div { display: flex; align-items: center; gap: 13px; }
#videoPage .video-board-placeholder i { display: grid; place-items: center; font-style: normal; background: #f0f5fc; border: 1px solid #e3ebf5; color: #8ba4bf; border-radius: 11px; font-size: 11px; width: 40px; height: 42px; }
#videoPage .video-board-placeholder b { font-size: 12px; color: #93a4b7; font-weight: 500; }
#videoPage .video-board-placeholder small { display: block; background: #f0f3f7; height: 5px; width: 130px; border-radius: 4px; margin-top: 8px; }
#videoPage .creative-empty { margin-top: 15px; min-height: 0; padding: 14px 8px; border: 0; background: #f7faff; font-size: 11px; color: #94a3b6; }
#videoPage .storyboard-scenes article { background: #f9fbfe; border-color: #e3ebf5; padding: 13px; }
#videoPage .storyboard-scenes article b { color: #345473; font-size: 12px; }
#videoPage .storyboard-scenes article small { font-size: 10px; }
#videoPage .scene-edit { margin-top: 10px; min-height: 88px; padding: 9px 11px; font-size: 12px; line-height: 1.8; resize: vertical; border-radius: 9px; }
#videoPage .video-preview-note { margin: 15px 0 0; font-size: 10px; color: #a1adbc; text-align: center; line-height: 1.7; }
#videoPage .video-inspiration { margin-top: 32px; }
#videoPage .video-inspiration-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
#videoPage .video-inspiration h2 { margin: 6px 0 0; font-size: 20px; color: #294363; }
#videoPage .video-inspiration-heading p { margin: 0; font-size: 12px; color: #8d9cb0; }
#videoPage .creative-preset { border: 1px solid #dfe8f3; background: #fff; border-radius: 14px; overflow: hidden; text-align: left; box-shadow: 0 4px 18px #2b517207; }
#videoPage .creative-preset img { height: 145px; object-fit: cover; object-position: center 25%; }
#videoPage .creative-preset > span { padding: 13px; }
#videoPage .creative-preset b { font-size: 13px; }
#videoPage .creative-preset small { font-size: 10px; margin-top: 7px; color: #6594c3; }
#videoPage button:focus-visible, #videoPage summary:focus-visible { outline: 3px solid #9acbff; outline-offset: 3px; }
@media (max-width: 1120px) {
  #videoPage .video-workspace { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 18px; }
  .theme-light #videoPage .creative-card { padding: 20px; }
  #videoPage .video-header-mark { display: none; }
}
@media (max-width: 760px) {
  #videoPage .video-workspace { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #videoPage .video-studio-header { padding: 22px 20px; margin-bottom: 18px; border-radius: 18px; }
  #videoPage .video-studio-title h1 { font-size: 25px; letter-spacing: -.5px; }
  #videoPage .video-studio-title h1 span { display: block; }
  #videoPage .video-studio-title p { font-size: 12px; }
  .theme-light #videoPage .video-preview-panel { position: static; }
  #videoPage .video-advanced-grid { grid-template-columns: 1fr; }
  #videoPage .video-inspiration-heading { display: block; }
  #videoPage .video-inspiration-heading p { margin-top: 7px; }
  #videoPage .video-inspiration h2 { font-size: 18px; }
  #videoPage .creative-preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #videoPage .creative-preset img { height: 130px; }
}
@media (max-width: 480px) {
  .theme-light #videoPage .creative-card { padding: 18px 16px; border-radius: 17px; }
  #videoPage .video-step-heading h2 { font-size: 16px; }
  #videoPage .video-step-heading p { font-size: 11px; }
  #videoPage .video-mode-tabs button { padding: 10px 8px; gap: 8px; font-size: 12px; min-height: 64px; }
  #videoPage .video-mode-tabs button small { font-size: 9px; }
  #videoPage .video-mode-tabs svg { width: 18px; height: 18px; flex-basis: 18px; }
  .theme-light #videoPage #videoPrompt { font-size: 16px; min-height: 140px; }
  #videoPage .creative-field select { font-size: 16px; }
  #videoPage .video-drop { gap: 10px; padding: 14px 10px; }
  #videoPage .video-drop strong { font-size: 12px; }
  #videoPage details > summary { padding: 12px 10px; gap: 6px; font-size: 11px; }
  #videoPage details > summary > small { font-size: 9px; }
  #videoPage .video-preview-heading h2 { font-size: 17px; }
  #videoPage .video-format-grid { gap: 10px; }
  #videoPage .video-clip-summary > span { padding: 0 14px; }
}

/* Video production state and compact mobile actions. */
#videoPage .video-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0 0 18px}
#videoPage .video-progress button{width:100%;min-height:64px;text-align:left;border:1px solid #c5d4e5;border-radius:12px;background:#fff;color:#17304e;padding:12px;font:inherit;font-size:14px;font-weight:650}
#videoPage .video-progress span{display:block;color:#405978;font-size:12px;margin-top:5px;overflow-wrap:anywhere}
#videoPage .video-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
#videoPage .video-quick-actions button{min-height:44px;font-size:13px;padding:8px 12px;color:#173b65}
#videoPage .video-ready-reason{padding:12px;border-radius:10px;background:#edf4fc;color:#193e68;font-size:14px;line-height:1.6;margin:12px 0;overflow-wrap:anywhere}
#videoPage .video-scene.stale{border-color:#a96514;background:#fff9ee}
#videoPage .video-scene.stale img{opacity:.65}
#videoPage .video-mobile-action{display:none}
#videoPage .video-scene-download{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;color:#174c82}
@media(max-width:760px){
 body:has(#videoPage.active) .bizhub-voice-open{bottom:calc(var(--video-action-height,140px) + 14px)!important}
 .theme-light #videoPage{padding-bottom:calc(var(--video-action-height,140px) + 24px)}
 #videoPage .video-studio-header{padding:15px;margin-bottom:12px;gap:10px}
 #videoPage .video-studio-header h1{font-size:24px;line-height:1.35;margin:5px 0}
 #videoPage .video-header-mark{display:none}
 #videoPage .video-studio-title p{font-size:13px;line-height:1.5;margin-bottom:0}
 #videoPage .video-progress{gap:5px;margin-bottom:12px}
 #videoPage .video-progress button{padding:8px;font-size:12px;min-height:76px}
 #videoPage .video-progress span{font-size:11px}
 #videoPage .video-mobile-action{display:flex;position:fixed;z-index:45;left:0;right:0;bottom:0;gap:10px;align-items:center;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #bfd0e4;box-shadow:0 -5px 20px #17304e16}
 #videoPage .video-mobile-action p{flex:1;font-size:12px;line-height:1.5;color:#254767;margin:0;min-width:0}
 #videoPage .video-mobile-action button{min-height:48px;max-width:43%;white-space:normal;flex-shrink:0;font-size:14px}
 #videoPage input,#videoPage textarea,#videoPage select{font-size:16px}
 #videoPage .video-agent-status{font-size:14px}
}

#videoPage .video-chat-attachments{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#videoPage .video-chat-attachments label{min-height:44px;display:inline-flex;align-items:center;cursor:pointer;color:#173b65}
#videoPage .video-reference-role{width:100%;max-width:100%;min-height:44px;margin-top:6px;border:1px solid #a9bfd5;border-radius:8px;color:#17304e;background:#fff;padding:7px}
#videoPage .video-regenerate-scene{min-height:44px;white-space:normal;margin-top:8px;color:#173b65}

/* Actual music jobs, separate from the static brief preview. */
.music-job-progress { margin: 16px 0; padding: 18px; border: 1px solid #b4c9ef; border-radius: 14px; background: #f2f7ff; color: #18365f; overflow-wrap: anywhere; }
.music-job-progress progress { display: block; width: 100%; height: 18px; margin: 12px 0; accent-color: #5164df; }
.music-job-progress audio { display: block; margin: 12px 0; width: 100%; }
.music-job-progress button { white-space: normal; }
.music-job-elapsed { font-variant-numeric: tabular-nums; }
/* Music chat: the conversation that writes and makes the song. */
.music-chat { margin-bottom: 18px; }
.music-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.music-chat-head h2 { margin: 0; }
.music-chat-intro { color: #5c779c; margin: 6px 0 12px; }
.music-chat-log { max-height: 520px; overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; }
.music-chat-message { padding: 12px 14px; border-radius: 14px; background: #eef4fc; color: #12304b; overflow-wrap: anywhere; max-width: 92%; }
.music-chat-message.user { background: #e3f0ff; align-self: flex-end; }
.music-chat-message strong { display: block; font-size: 12px; margin-bottom: 4px; opacity: .7; }
.music-song { margin-top: 14px; padding: 16px; border: 1px solid #d7e5fa; border-radius: 16px; background: linear-gradient(135deg, #f6f9ff, #fdf6ff); }
.music-song h3 { margin: 0 0 6px; }
.music-song-meta { margin: 4px 0; color: #4d6a8f; font-size: 14px; }
.music-song-lyrics pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; line-height: 1.6; margin: 8px 0; }
.music-song-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.music-song-options p { width: 100%; }
.music-song-create { margin-top: 8px; min-height: 44px; }
.music-chat-job { margin-top: 12px; padding: 12px; border-radius: 12px; background: #f1f6ff; display: grid; gap: 8px; }
.music-chat-job audio, .music-chat-job progress { width: 100%; }
.music-chat-form { display: flex; gap: 10px; margin-top: 14px; align-items: stretch; }
.music-chat-form textarea { flex: 1; min-width: 0; padding: 12px; border: 1px solid #d7e5fa; border-radius: 12px; font: inherit; resize: vertical; }
.music-chat-form button { min-width: 88px; }
.music-chat-status { min-height: 1.2em; color: #5c779c; margin: 6px 0 0; }
.music-manual { margin-top: 8px; }
.music-manual > summary { cursor: pointer; padding: 12px 4px; color: #4d6a8f; font-weight: 600; }
@media (max-width: 600px) {
  .music-chat-form { flex-direction: column; }
  .music-chat-message { max-width: 100%; }
}
/* Music: the chat writes and keeps the song, so the form's draft/export/project controls and
   the brief preview are not needed; the form sends its fields to the chat. */
#musicPage .creative-save,
#musicPage .product-inline,
#musicPage .music-preview {
  display: none !important;
}
.music-chat-error { color: #b42318; margin: 0; }
