/* Studio polish: preserve the collage layout and media; simplify panel surfaces. */
.creative-gallery-search { display:grid; gap:6px; margin:16px 0; font-size:14px; }
.creative-gallery-search input { width:100%; min-height:44px; }
html body.app-mode .creative-media-first-card .creative-card-identity { display:grid!important; gap:6px; padding:12px 14px; background:var(--sr-surface); color:var(--sr-ink); overflow-wrap:anywhere; }
html body.app-mode .creative-card-identity strong { font-size:15px!important; font-weight:600!important; }
html body.app-mode .creative-card-identity small { font-size:12px!important; line-height:1.5; color:var(--sr-muted); }
html body.app-mode.app-mode[data-active-view="creative"][data-active-view="creative"] #creative-studio-page#creative-studio-page#creative-studio-page {
  box-shadow: 3px 3px 0 #25233280 !important;
}
html body.app-mode.app-mode[data-active-view="creative"][data-active-view="creative"] #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header,
html body.app-mode.app-mode[data-active-view="creative"][data-active-view="creative"] #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > div {
  background: #c9edf2 !important;
  box-shadow: 2px 2px 0 #25233280 !important;
}
html body.app-mode.app-mode[data-active-view="creative"][data-active-view="creative"] #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header::before,
html body.app-mode.app-mode[data-active-view="creative"][data-active-view="creative"] #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header::after { background: none !important; }
html body.app-mode #owned-content-launcher { background: #eff7b6 !important; box-shadow: 2px 2px 0 #25233280 !important; }
html body.app-mode #creative-production-insights { box-shadow: 2px 2px 0 #25233280 !important; }
html body.app-mode #creative-production-insights .creative-production-insights-head { background: #e5dcf6 !important; }
html body.app-mode.app-mode[data-active-view="creative"][data-active-view="creative"] :is(.creative-project-switcher, .creative-empty-card, .creative-media-card) { box-shadow: 2px 2px 0 #25233280 !important; }
html body.app-mode.app-mode[data-active-view="creative"][data-active-view="creative"] #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form {
  background: #d9d1f2 !important;
  box-shadow: 3px 3px 0 #25233280 !important;
}
html body.app-mode.app-mode[data-active-view="creative"][data-active-view="creative"] #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form #ploxy-send-button { background: #c6eeab !important; box-shadow: 2px 2px 0 #25233280 !important; }
html body.app-mode #automation-schedule-dialog {
  background: #f5f0fc !important;
  border: 2px solid #393144 !important;
  box-shadow: 3px 3px 0 #39314480, 0 18px 60px #17152426 !important;
}
html body.app-mode #automation-schedule-dialog .schedule-dialog-header { background: #d9d1f2 !important; }
html body.app-mode #automation-schedule-dialog .schedule-dialog-header :is(h2,p,.eyebrow) { color: #211b32 !important; }
html body.app-mode #automation-schedule-dialog .owned-content-queue-notice { background: #c9edf2 !important; box-shadow: 2px 2px 0 #39314466 !important; }
html body.app-mode #automation-schedule-dialog .schedule-panel { background: #eff7b6 !important; box-shadow: 2px 2px 0 #39314466 !important; border-width: 1.5px !important; }
html body.app-mode #automation-schedule-dialog .schedule-content-builder { background: #c9edf2 !important; }
html body.app-mode #automation-schedule-dialog .schedule-preview-panel { background: #e5dcf6 !important; }
html body.app-mode #automation-schedule-dialog :is(.schedule-builder-step,.schedule-package-summary) { background: #fff7ed !important; box-shadow: 2px 2px 0 #39314444 !important; }
html body.app-mode #automation-schedule-dialog :is(.schedule-source-toggle,.schedule-chip-grid) > label { background: #fff7ed !important; box-shadow: 1px 1px 0 #39314466 !important; }
html body.app-mode #automation-schedule-dialog .schedule-source-toggle > label:has(input:checked) { background: #e0eda0 !important; border-color: #697d38 !important; }
html body.app-mode #automation-schedule-dialog :is(.schedule-day-card,.schedule-post-card) { background: #fff7ed !important; }
html body.app-mode #automation-schedule-dialog :is(button,input,textarea,select) { box-shadow: 1px 1px 0 #39314466 !important; }
html body.app-mode #automation-schedule-dialog :is(input,textarea,select):focus-visible { outline: 2px solid #6645b7 !important; outline-offset: 2px; }
/* Pair the boundary text with its lighter surface. */
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > :last-child { background: #e5dcf6 !important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > :last-child :is(span,strong,p,small,div) {
  color: #30263f !important;
  -webkit-text-fill-color: #30263f !important;
}

/* Dashboard owns project selection; Studio continues using the same active project. */
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page .creative-project-switcher { display: none !important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header,
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > div {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > div { padding: 18px 22px !important; gap: 6px !important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header h2 { font-size: clamp(24px, 2.2vw, 30px) !important; line-height: 1.12 !important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > .polxy-header-boundary { background: #f8dfb9 !important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page #creative-provider-status { color: #634014 !important; -webkit-text-fill-color: #634014 !important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page :is(.polxy-standard-header, .owned-content-launcher, .creative-production-insights, .creative-empty-card, .creative-media-card, .ploxy-chat-form, button) {
  box-shadow: 1px 1px 0 #39314455 !important;
  border-width: 1.5px !important;
}
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page { box-shadow: 1px 1px 0 #39314455 !important; border-width: 1.5px !important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-panel,.schedule-builder-step,.schedule-source-toggle > label,.schedule-chip-grid > label,.schedule-channel-grid > label,.schedule-cadence-mode > label,button) {
  box-shadow: 1px 1px 0 #39314455 !important;
  border-width: 1.5px !important;
}
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-total-row,.schedule-credit-panel) {
  background: #f4f0fa !important;
  color: #30263f !important;
  border: 1px solid #beb4cb !important;
  box-shadow: 1px 1px 0 #39314433 !important;
}
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-total-row,.schedule-credit-panel) :is(span,strong,small) {
  color: #30263f !important;
  -webkit-text-fill-color: #30263f !important;
}
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-credit-panel.needs-top-up { background: #fff0df !important; border-color: #b98444 !important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > .polxy-header-boundary { background: #f8dfb9 !important; }
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form,
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form button { box-shadow: 1px 1px 0 #39314455 !important; }

/* Studio uses the session palette while the artwork keeps its own proportions. */
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page { box-shadow:none!important; border-width:1px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page :is(section,article,header,div,button,aside,label,input,textarea,select) { box-shadow:none!important; border-width:1px!important; min-width:0; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header { display:grid!important; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > div { padding:24px!important; background:var(--sr-cyan)!important; border:0!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header > .polxy-header-boundary { background:var(--sr-violet)!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header .eyebrow { display:none!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page :is(p,small) { color:var(--sr-muted)!important; -webkit-text-fill-color:var(--sr-muted)!important; font-size:13px!important; line-height:1.6!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page :is(h2,h3,strong,b) { color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; font-weight:600!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page h2 { font-size:30px!important; line-height:1.3!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page :is(button,input,textarea,select) { font-size:14px!important; line-height:1.5!important; font-weight:500!important; border-radius:8px!important; text-transform:none!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page button { color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; background:var(--sr-cyan)!important; min-height:44px; padding:10px 14px!important; white-space:normal!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page button.active { background:var(--sr-violet)!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .owned-content-launcher { margin:20px 0!important; background:var(--sr-green)!important; border:1px solid var(--sr-line)!important; border-radius:12px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .owned-content-launcher__body { padding:22px!important; gap:24px!important; grid-template-columns:minmax(0,1fr) auto!important; align-items:center!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .owned-content-launcher h3 { font-size:21px!important; line-height:1.4!important; margin-bottom:10px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page :is(.owned-content-launcher__kicker,.owned-content-launcher__steps) { display:none!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .owned-content-launcher__button { min-width:0!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-insights { border:1px solid var(--sr-line)!important; border-radius:12px!important; overflow:hidden!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-insights-head { background:var(--sr-violet)!important; padding:20px!important; gap:20px!important; align-items:center!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-insights-head h3 { font-size:18px!important; line-height:1.4!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-insights-head .eyebrow { display:none!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-disclosure-actions { flex-wrap:wrap!important; gap:12px!important; min-width:0!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-toggle { min-width:44px!important; flex-shrink:0!important; background:transparent!important; border:0!important; padding:10px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-toggle > span { display:none!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-toggle svg { width:18px!important; height:18px!important; fill:none!important; stroke:#75697f!important; stroke-width:1.5!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-details { padding:20px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-summary { gap:16px!important; grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr))!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-summary article { background:var(--sr-surface)!important; padding:16px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-matrix-shell { border:0!important; padding:0!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-matrix-head { flex-wrap:wrap!important; gap:14px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .has-no-assets :is(.creative-production-summary,.creative-production-matrix-head,.creative-production-note) { display:none!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-empty-matrix { padding:18px!important; min-height:0!important; background:var(--sr-surface)!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-empty-card { width:100%!important; max-width:none!important; grid-column:1/-1!important; padding:24px!important; min-height:0!important; border:1px solid var(--sr-line)!important; border-radius:12px!important; background:var(--sr-surface)!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-empty-card > .eyebrow { display:none!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-empty-card strong { font-size:20px!important; line-height:1.4!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page :is(.creative-editorial-masonry-head,.creative-media-card-caption) { gap:12px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-media-card-caption { padding:16px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-media-card-caption strong { font-size:16px!important; line-height:1.5!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .ploxy-help-trigger { padding:0!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .media-open-hitbox { background:transparent!important; padding:0!important; border:0!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page [hidden][hidden] { display:none!important; }
@media(max-width:850px) {
 html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page > .polxy-standard-header { grid-template-columns:minmax(0,1fr)!important; }
 html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .owned-content-launcher__body { grid-template-columns:minmax(0,1fr)!important; }
 html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .owned-content-launcher__button { width:100%!important; }
 html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-insights-head { display:flex!important; flex-wrap:wrap!important; }
 html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-production-disclosure-actions { width:100%!important; justify-content:space-between!important; }
}
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog { background:var(--sr-surface)!important; box-shadow:0 16px 48px #352e4025!important; border:1px solid var(--sr-line)!important; max-width:calc(100vw - 24px)!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(section,article,div,label,button,input,textarea,select) { min-width:0; box-shadow:none!important; border-width:1px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-dialog-header { background:var(--sr-violet)!important; padding:22px!important; gap:20px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-panel,.schedule-preview-panel,.schedule-content-builder) { background:var(--sr-surface)!important; padding:20px!important; gap:18px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-panel { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(input,select,textarea) { padding:11px 14px!important; font-size:14px!important; min-height:44px; width:100%; border-radius:8px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(input[type=checkbox],input[type=radio]) { width:18px!important; min-height:18px!important; height:18px!important; flex:0 0 18px!important; padding:0!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog button { color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; min-height:44px!important; background:var(--sr-cyan)!important; border-radius:8px!important; white-space:normal!important; line-height:1.5!important; text-transform:none!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog select { appearance:none!important; padding-right:40px!important; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2375697f' stroke-width='1.5'/%3E%3C/svg%3E")!important; background-position:right 14px center!important; background-repeat:no-repeat!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog label { gap:8px!important; font-size:13px!important; line-height:1.5!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-source-toggle,.schedule-chip-grid,.schedule-channel-grid) { display:grid!important; grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))!important; gap:12px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-source-toggle,.schedule-channel-grid,.schedule-chip-grid) > label { padding:14px!important; background:var(--sr-green)!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-builder-step,.schedule-package-summary) { background:var(--sr-cyan)!important; padding:16px!important; border:0!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-date-field { display:flex!important; gap:8px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-date-field input { flex:1 1 0!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-date-field button { flex:0 0 44px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog summary { height:auto!important; padding:16px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog summary [aria-hidden] { display:none!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog [hidden][hidden] { display:none!important; }
@media(max-width:700px) {
 html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-panel { grid-template-columns:minmax(0,1fr)!important; }
 html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-dialog-header { flex-wrap:wrap!important; }
 html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-panel,.schedule-preview-panel,.schedule-content-builder) { padding:16px!important; }
}

html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog { overflow:auto!important; max-height:calc(100dvh - 24px)!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-form { display:flex!important; flex-direction:column!important; height:auto!important; max-height:none!important; overflow:visible!important; gap:18px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-grid { display:flex!important; flex-direction:column!important; align-items:stretch!important; width:100%!important; box-sizing:border-box!important; overflow:visible!important; flex:none!important; height:auto!important; min-height:auto!important; gap:20px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-grid > * { width:100%!important; min-width:0!important; max-width:none!important; box-sizing:border-box!important; align-self:stretch!important; position:static!important; overflow:visible!important; height:auto!important; max-height:none!important; flex:none!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-content-builder { display:flex!important; flex-direction:column!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-preview-panel { grid-template-columns:minmax(0,1fr)!important; grid-template-rows:none!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-preview-panel > * { grid-column:1!important; grid-row:auto!important; position:static!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog :is(.schedule-dialog-header,.schedule-actions,.schedule-dialog-status) { position:static!important; flex:none!important; margin:0!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-dialog-status { border:0!important; padding:14px!important; background:var(--sr-peach)!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-post-list-head { display:flex!important; flex-wrap:wrap!important; gap:12px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog #schedule-generate-cards { width:auto!important; min-width:170px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-package-summary strong { white-space:normal!important; overflow:visible!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-credit-panel { gap:16px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page #creative-output { box-shadow:none!important; border:0!important; background:transparent!important; padding:10px 0!important; }

html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form { box-shadow:none!important; border:1px solid #c5bbcd!important; }
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form button { box-shadow:none!important; }
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form #ploxy-cost-trigger { min-width:124px!important; width:124px!important; padding:8px 10px!important; height:auto!important; background:#e7dff0!important; }
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form #ploxy-cost-trigger :is(span,strong,small) { white-space:normal!important; overflow:visible!important; text-overflow:clip!important; }

html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-editorial-masonry-head { background:var(--sr-green)!important; border-radius:10px!important; min-height:0!important; align-items:center!important; flex-wrap:wrap!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-editorial-masonry-head strong { font-size:22px!important; line-height:1.4!important; letter-spacing:-.02em!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-editorial-masonry-head :is(small,span) { text-transform:none!important; letter-spacing:normal!important; font-weight:400!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-editorial-masonry { display:block!important; columns:3 240px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-media-first-card { border:1px solid var(--sr-line)!important; border-radius:10px!important; transform:none!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-media-card-topline { gap:10px!important; }
html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-media-card-topline :is(span,b) { background:var(--sr-surface)!important; color:var(--sr-ink)!important; border:0!important; border-radius:5px!important; padding:5px 8px!important; font-size:11px!important; font-weight:500!important; }
@media(max-width:700px) { html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-editorial-masonry { columns:1!important; } }

html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog { border:1px solid var(--sr-line)!important; border-radius:14px!important; background:var(--sr-surface)!important; box-shadow:0 16px 48px #352e4025!important; max-width:calc(100vw - 24px)!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog :is(div,section,article,header,button) { box-shadow:none!important; border-width:1px!important; min-width:0; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-lightbox-modal > header { background:var(--sr-violet)!important; padding:20px!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog :is(h2,h3,strong,b) { color:var(--sr-ink)!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog :is(p,small) { color:var(--sr-muted)!important; font-size:13px!important; line-height:1.6!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-actions { display:flex!important; flex-wrap:wrap!important; gap:10px!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-actions > * { flex:1 1 130px!important; width:auto!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog button { background:var(--sr-cyan)!important; color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; min-height:44px!important; padding:10px 14px!important; line-height:1.5!important; white-space:normal!important; text-transform:none!important; border-radius:8px!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-action-dock { background:var(--sr-green)!important; padding:18px!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-summary { gap:14px!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-more summary { height:auto!important; min-height:60px!important; padding:16px!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-more summary::before { display:none!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-more summary > [aria-hidden] { display:none!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-card { padding:16px!important; background:var(--sr-surface)!important; }
html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog [hidden][hidden] { display:none!important; }

html body.app-mode #media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog#media-lightbox-dialog .media-detail-info dd { min-width:0!important; white-space:normal!important; overflow-wrap:anywhere!important; }

html body.app-mode #creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page#creative-studio-page .creative-studio-tabs { display:flex!important; flex-wrap:wrap!important; gap:8px!important; overflow:visible!important; }
@media(max-width:700px) {
 html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form .agentic-composer-controls-toggle { min-width:76px!important; width:76px!important; padding:8px!important; white-space:nowrap!important; }
 html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form #creative-direct-attach { min-width:56px!important; width:56px!important; padding:8px!important; gap:4px!important; }
 html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form #creative-direct-attach-label { width:auto!important; max-width:none!important; font-size:11px!important; }
 html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form #ploxy-cost-trigger { min-width:110px!important; width:110px!important; }
 html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form #ploxy-send-button { width:44px!important; min-width:44px!important; padding:8px!important; }
}

/* Keep copy labels readable against the scheduler’s light surfaces. */
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-copy-deliverables { display:flex!important; flex-wrap:wrap!important; gap:8px!important; }
html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-copy-deliverables span { color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; background:var(--sr-surface)!important; border:1px solid var(--sr-line)!important; font-size:12px!important; line-height:1.5!important; padding:5px 10px!important; }

@media(max-width:700px) {
 html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-content-builder { padding:12px!important; }
 html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-builder-step { padding:12px!important; }
 html body.app-mode #automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog#automation-schedule-dialog .schedule-copy-panel { padding:0!important; border:0!important; background:transparent!important; }
}
/* Keep canvas proof text readable above the broader Studio text rules. */
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form .creative-size-options-proof > :is(span, strong, small) {
  color: #fffaf2 !important;
  -webkit-text-fill-color: #fffaf2 !important;
}

/* Video actions keep individual quiet tints and an unmistakable selection. */
.video-mode-picker > [data-video-studio-mode="generate"] {
  --video-mode-surface: #eef5f6;
  --video-mode-selected: #dcebed;
  --video-mode-line: #c5d9dc;
  --video-mode-ink: #34545b;
}
.video-mode-picker > [data-video-studio-mode="reference"] {
  --video-mode-surface: #f3eef8;
  --video-mode-selected: #e8def1;
  --video-mode-line: #d9cde4;
  --video-mode-ink: #594668;
}
.video-mode-picker > [data-video-studio-mode="edit"] {
  --video-mode-surface: #faf2e7;
  --video-mode-selected: #f0e2cc;
  --video-mode-line: #e4d5be;
  --video-mode-ink: #6b5437;
}
.video-mode-picker > [data-video-studio-mode="extend"] {
  --video-mode-surface: #edf5ec;
  --video-mode-selected: #dcebd8;
  --video-mode-line: #ceddca;
  --video-mode-ink: #405c42;
}
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form .video-mode-picker > button {
  background: var(--video-mode-surface) !important;
  border: 1px solid var(--video-mode-line) !important;
  color: var(--video-mode-ink) !important;
  -webkit-text-fill-color: var(--video-mode-ink) !important;
  box-shadow: none !important;
}
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form .video-mode-picker > button:hover {
  background: var(--video-mode-selected) !important;
}
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form .video-mode-picker > button:is(.active, [aria-pressed="true"]) {
  background: var(--video-mode-selected) !important;
  border-color: var(--video-mode-ink) !important;
  font-weight: 600 !important;
}
html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form .video-mode-picker > button:focus-visible {
  outline: 2px solid var(--video-mode-ink) !important;
  outline-offset: 2px !important;
}
@media (max-width: 700px) {
  html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form .video-mode-picker > button {
    padding-inline: 4px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
}

/* Keep unfinished presenter drafts reachable from the main Studio. */
#studio-presenter-review[hidden] { display: none !important; }
#studio-presenter-review .studio-presenter-card { grid-template-columns: minmax(0, 1fr) auto !important; }
#studio-presenter-review .studio-presenter-card p { white-space: pre-wrap; overflow-wrap: anywhere; }
#studio-presenter-review .presenter-job-card-actions { grid-template-columns: minmax(0, 1fr) !important; }
@media (max-width: 700px) {
  #studio-presenter-review .studio-presenter-card { grid-template-columns: minmax(0, 1fr) !important; }
  #studio-presenter-review .presenter-job-card-actions { min-width: 0 !important; }
  html body.app-mode #ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form#ploxy-chat-form .creative-settings-type-tabs > button {
    padding-inline: 4px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    word-break: normal !important;
  }
}
