/* No instructions hidden in clipped placeholders. Scope does not alter the renderer. */
.ovc-app .ovc-field {min-width:0;}
.ovc-app .ovc-field>span,.ovc-app .ovc-field>small,.ovc-app .ovc-help,.ovc-app .ovc-note,.ovc-app .ovc-material-tool small,.ovc-app .ovc-source-card small {white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;height:auto;max-height:none;line-height:1.6;}
.ovc-app .ovc-field>small {display:block;margin-top:8px;color:#60636b;font-size:14px;font-weight:400;}
.ovc-app .ovc-field textarea,.ovc-app .ovc-field select,.ovc-app .ovc-field input:not([type=range]) {box-sizing:border-box;width:100%;max-width:100%;min-width:0;}
.ovc-app .ovc-field textarea {display:block;resize:vertical;font-family:inherit;line-height:1.65;font-size:16px;border:1px solid #dedee3;border-radius:16px;background:#fff;color:#23242a;min-height:110px;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;}
.ovc-app .ovc-field select {font-size:16px;padding:14px;border:1px solid #ddd;border-radius:14px;background:#fff;color:#222;}
.ovc-app .ovc-creative-modes {display:flex;gap:12px;flex-wrap:wrap;margin:20px 0;}
.ovc-app .ovc-creative-modes button {flex:1 1 160px;white-space:normal;}
.ovc-app .ovc-creative-modes [aria-pressed=true] {outline:2px solid #ff6431;outline-offset:2px;}
.ovc-app [data-creative-storyboard] {display:grid;gap:18px;margin:18px 0;}
.ovc-app .ovc-creative-scene {background:white;border:1px solid #e2e3e5;border-radius:20px;padding:20px;min-width:0;overflow-wrap:anywhere;}
.ovc-app .ovc-creative-scene h2 {font-size:22px;margin:0 0 12px;}
.ovc-app .ovc-scene-narration {white-space:pre-wrap;line-height:1.65;padding:12px;border-radius:12px;background:#f7f7f8;}
.ovc-app .ovc-creative-preview {display:block;max-width:100%;max-height:240px;object-fit:contain;margin:12px auto;border-radius:12px;}
.ovc-app .ovc-creative-scene .ovc-review-actions,.ovc-app [data-creative-sound-panel] .ovc-review-actions {flex-wrap:wrap;gap:10px;}
.ovc-app .ovc-creative-scene .ovc-btn,.ovc-app [data-creative-sound-panel] .ovc-btn,.ovc-app [data-creative-mode],.ovc-app [data-creative-plan],.ovc-app [data-creative-write],.ovc-app [data-creative-improve] {white-space:normal;text-align:center;line-height:1.4;height:auto;min-height:44px;max-width:100%;overflow-wrap:anywhere;}
.ovc-app .ovc-creative-inline {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.ovc-app [data-creative-sample-player],.ovc-app [data-creative-sound-player] {width:100%;max-width:100%;margin:12px 0;}
.ovc-app [data-creative-listen] {position:relative;z-index:1;white-space:normal;line-height:1.4;font-size:14px;min-height:44px;margin-top:12px;}
.ovc-app [data-creative-listen]:disabled {opacity:0.65;cursor:not-allowed;}
.ovc-app .ovc-voice-card {min-width:0;}
.ovc-app [data-creative-recommended] {position:static;display:block;margin-top:10px;white-space:normal;}
.ovc-app [data-creative-recommended][hidden] {display:none;}
.ovc-app .ovc-effect-row {background:#f7f7f8;border-radius:14px;padding:14px;margin:14px 0;}
.ovc-app .ovc-shortcut-info {display:flex;flex-direction:column;gap:8px;min-width:0;padding:20px;border:1px solid #eee;border-radius:20px;background:white;}
.ovc-app .ovc-shortcut-info small {line-height:1.5;}
.ovc-app .ovc-inline-action {align-items:stretch;}
.ovc-app .ovc-inline-action .ovc-field {flex:1;margin:0;}
.ovc-app [data-creative-manual][hidden],.ovc-app [data-creative-topic-box][hidden],.ovc-app audio[hidden] {display:none;}
.ovc-app [data-creative-status],.ovc-app [data-creative-media-status] {font-size:15px;}
@media(max-width:600px) {
 .ovc-app .ovc-creative-scene {padding:16px;}
 .ovc-app .ovc-creative-scene .ovc-review-actions,.ovc-app [data-creative-sound-panel] .ovc-review-actions,.ovc-app .ovc-inline-action {display:flex;flex-direction:column;}
 .ovc-app .ovc-creative-scene .ovc-review-actions>button,.ovc-app [data-creative-sound-panel] .ovc-review-actions>button {width:100%;}
 .ovc-app .ovc-material-tool {min-width:0;}
 .ovc-app .ovc-source-card {height:auto;min-height:170px;padding:16px;}
 .ovc-app .ovc-source-card small {font-size:13px;}
 .ovc-app .ovc-sticky .ovc-btn {font-size:16px;white-space:normal;line-height:1.3;padding:14px 16px;min-height:54px;}
 .ovc-app .ovc-sticky {gap:14px;}
 .ovc-app .ovc-sticky>div {flex-shrink:0;}
}
@media(max-width:360px) {.ovc-app .ovc-creative-inline {grid-template-columns:1fr;}}

/* Profile recommendations remain readable at 320 px and at enlarged text sizes. */
.ovc-category-panel {margin:20px 0;padding:18px;border:1px solid #e1e4ec;border-radius:16px;background:#fafbff;min-width:0;}
.ovc-category-suggestions {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;}
.ovc-category-suggestion {display:flex;flex-direction:column;gap:8px;padding:14px;text-align:left;border:1px solid #d8dce7;border-radius:12px;background:#fff;color:inherit;cursor:pointer;font:inherit;min-width:0;}
.ovc-category-suggestion[aria-pressed="true"] {border:2px solid #5243ab;background:#f3f1ff;}
.ovc-category-suggestion span,.ovc-category-suggestion small,.ovc-category-panel p {white-space:normal;overflow-wrap:anywhere;line-height:1.55;}
.ovc-category-panel select {width:100%;max-width:100%;min-width:0;text-overflow:ellipsis;}
.ovc-category-panel .ovc-btn {white-space:normal;min-height:44px;line-height:1.4;}
.ovc-category-panel [hidden] {display:none!important;}
.ovc-category-panel :focus-visible {outline:3px solid #5a4ab8;outline-offset:3px;}
@media(max-width:440px){.ovc-category-panel{padding:12px;}.ovc-category-panel select,.ovc-category-panel textarea{font-size:16px;}.ovc-category-panel .ovc-review-actions{display:flex;flex-direction:column;align-items:stretch;}}

/* Early duration feedback: instructions must remain fully readable on phones. */
.ovc-app [data-creative-duration-panel] {display:block;white-space:normal;overflow-wrap:anywhere;min-width:0;}
.ovc-app [data-creative-duration-panel] p {margin:0 0 12px;white-space:normal;}
.ovc-app [data-creative-duration-panel] small {display:block;white-space:normal;line-height:1.5;}
.ovc-app [data-creative-duration-panel] button {white-space:normal;height:auto;min-height:44px;max-width:100%;margin-bottom:12px;}
.ovc-app [data-creative-duration-panel].ovc-duration-blocked {border:1px solid #ad5425;}

.ovc-bulk-scene-select{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;font-size:13px;font-weight:700}.ovc-bulk-scene-select input{width:18px;height:18px;margin:0}

/* Premium sound actions only: visual roles, no playback or selection changes. */
.ovc-app [data-ovc-form] [data-creative-sound-panel] button.ovc-btn {
  --ovc-sound-bg:#f4f4f5; --ovc-sound-fg:#27272a;
  --ovc-sound-line:#a1a1aa; --ovc-sound-hover:#e4e4e7;
  background:var(--ovc-sound-bg); color:var(--ovc-sound-fg);
  border:1px solid var(--ovc-sound-line); box-shadow:none; text-shadow:none;
}
.ovc-app [data-ovc-form] [data-creative-sound-panel] :is(button[data-creative-music-play],button[data-creative-effect-play]) {
  --ovc-sound-bg:#fff3ec; --ovc-sound-fg:#8a310a;
  --ovc-sound-line:#c16a3b; --ovc-sound-hover:#ffe3d2;
}
.ovc-app [data-ovc-form] [data-creative-sound-panel] :is(button[data-creative-music-apply],button[data-creative-effect-add]) {
  --ovc-sound-bg:linear-gradient(105deg,#b43a09,#b91657); --ovc-sound-fg:#fff;
  --ovc-sound-line:#ac3009; --ovc-sound-hover:linear-gradient(105deg,#962f08,#9d1249);
}
.ovc-app [data-ovc-form] [data-creative-sound-panel] button[data-creative-sound-stop] {
  --ovc-sound-bg:#27272a; --ovc-sound-fg:#fff;
  --ovc-sound-line:#27272a; --ovc-sound-hover:#3f3f46;
}
.ovc-app [data-ovc-form] [data-creative-sound-panel] button[data-creative-music-clear],
.ovc-app [data-ovc-form] [data-creative-sound-panel] .ovc-effect-row > button.ovc-btn {
  --ovc-sound-bg:#fff1f2; --ovc-sound-fg:#9f1239;
  --ovc-sound-line:#c96079; --ovc-sound-hover:#ffe4e6;
}
.ovc-app [data-ovc-form] [data-creative-sound-panel] button.ovc-btn:enabled:hover {
  background:var(--ovc-sound-hover);
}
.ovc-app [data-ovc-form] [data-creative-sound-panel] button.ovc-btn:focus-visible {
  outline:3px solid #253ed5; outline-offset:3px;
}
.ovc-app [data-ovc-form] [data-creative-sound-panel] button.ovc-btn:disabled {
  background:#f1f1f4; color:#71717a; border-color:#c9c9d0;
  box-shadow:none; opacity:1; cursor:not-allowed;
}
