:root{--bws-purple:#30163d;--bws-deep:#21102d;--bws-gold:#d7a755;--bws-lilac:#f8effa;--bws-ink:#46224f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.bw-creative-workspace{margin:0;background:#faf6fb;color:var(--bws-ink);font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}
.bws-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px clamp(15px,3.3vw,44px);background:linear-gradient(120deg,var(--bws-deep),#5c2670);border-bottom:3px solid var(--bws-gold)}
.bws-head a{color:#fff6ff;text-decoration:none}.bws-brand{font:700 20px Georgia,serif}.bws-brand span{display:block;letter-spacing:2px;font:700 9px/1.8 system-ui;color:#e9c688}
.bws-utilities{display:flex;gap:9px;flex-wrap:wrap}.bws-utilities a{font-size:12px;border:1px solid #805b8d;border-radius:8px;padding:7px 11px;color:#f5e8f7}
.bws-main{max-width:1600px;margin:auto;padding:clamp(14px,2.1vw,32px)}.bws-intro{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:5px 0 16px}
.bws-intro h1{font:700 clamp(27px,3.6vw,44px)/1.14 Georgia,serif;color:#391841;margin:8px 0}.bws-intro p{color:#79617d;max-width:670px;margin:4px 0}.bws-kicker{font-size:10px!important;color:#986e33!important;letter-spacing:1.6px;font-weight:800}
.bws-all-content{border:1px solid #d2afde;background:#fff9ff;border-radius:9px;padding:10px 13px;color:#642675;text-decoration:none;font-size:12px;font-weight:750}
.bws-tabs{display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;padding:0 0 5px;border-bottom:1px solid #e0c8e8}
.bws-tabs button{flex:none;border:1px solid #e7d4eb;background:#fffaff;color:#62416b;font:750 12px system-ui;border-radius:10px 10px 0 0;padding:13px 15px;cursor:pointer;white-space:nowrap}
.bws-tabs button[aria-selected=true]{color:#fff;background:#642875;border-color:#642875;box-shadow:inset 0 -3px var(--bws-gold)}.bws-tabs button:focus-visible,.bws-tool-switch button:focus-visible{outline:3px solid var(--bws-gold)}
.bws-work{border:1px solid #e5d4ea;background:white;border-radius:0 0 15px 15px;padding:clamp(10px,2vw,20px);min-height:0;box-shadow:0 12px 35px #35113e0d}
.bws-panel-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.bws-panel-head h2{font:700 22px Georgia,serif;color:#4d205d;margin:0}.bws-panel-head p{font-size:12px;color:#7f6983;margin:5px 0}
.bws-panel-head a{font-size:12px;font-weight:700;color:#672778;text-decoration:underline}
.bws-frame-wrap[hidden]{display:none!important}.bws-frame-wrap iframe{display:block;border:0;width:100%;min-height:300px;height:420px;max-height:none;border-radius:10px;background:#fffdfd}
.bws-frame-mount{min-height:0}.bws-tool-switch{display:flex;gap:8px;margin:10px 0 14px;flex-wrap:wrap}.bws-tool-switch[hidden]{display:none}
.bws-tool-switch button{background:#fbf5fd;border:1px solid #ddc3e4;border-radius:9px;padding:9px 12px;font-weight:750;font-size:11px;color:#632d72;cursor:pointer}.bws-tool-switch button[aria-pressed=true]{background:#e6d3ea;border-color:#9b67a9}
.bws-loading{padding:11px;font-size:12px;color:#77507c}.bws-footer{display:flex;justify-content:space-between;gap:11px;flex-wrap:wrap;padding:18px 0;font-size:11px;color:#756077}
.bws-footer a{color:#743482}
@media(max-width:700px){.bws-head{align-items:flex-start}.bws-brand{font-size:17px}.bws-intro h1{font-size:28px}.bws-main{padding:12px}.bws-work{padding:9px}.bws-frame-wrap iframe{height:420px;min-height:300px}.bws-tabs button{font-size:11px;padding:11px}}

.bws-primary-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.bws-director-link{border:1px solid #5b2367;background:#5b2367;color:#fff!important;border-radius:9px;padding:10px 14px;text-decoration:none;font-size:13px;font-weight:800;box-shadow:inset 0 -2px #d7a755}.bws-director-link:hover{background:#742b83}

/* One goal -> one AI employee -> one private editable content project. Manual tools are optional. */
.bws-ai-request{border:1px solid #dbc0e4;border-radius:18px;background:#fff;padding:clamp(18px,2.5vw,32px);box-shadow:0 14px 35px #3311390c;margin:8px 0 17px}
.bws-request-header h2{font:700 clamp(24px,3vw,33px)/1.2 Georgia,serif;color:#462050;margin:5px 0 8px}
.bws-request-header p{margin:0 0 14px;max-width:760px;color:#74647a}
.bws-ai-request label[for=bws-goal]{display:block;font-weight:800;margin-bottom:7px}
#bws-goal{width:100%;min-height:104px;resize:vertical;border:1px solid #cda9d6;border-radius:12px;padding:15px;background:#fffafe;font:15px/1.6 system-ui;color:#35183f}
#bws-goal:focus-visible,#bws-format:focus-visible,#bws-ask-button:focus-visible{outline:3px solid #d8a959;outline-offset:2px}
.bws-examples{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 20px}
.bws-examples button{background:#f9f0fb;color:#5d2a68;border:1px solid #e6cfe8;border-radius:22px;padding:7px 11px;cursor:pointer;font-weight:700}
.bws-request-options{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.bws-request-options label{font-weight:750}
#bws-format{padding:9px;border:1px solid #d1b1d9;border-radius:9px;background:white;min-width:190px}
.bws-explicit-consent{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border-radius:10px;background:#f9f5f9;border:1px solid #ead8ed;line-height:1.5}
.bws-explicit-consent input{margin-top:3px;flex:none;width:17px;height:17px}
.bws-request-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:17px}
#bws-ask-button{border:1px solid #53205f;border-bottom:3px solid #d3a253;background:#5b2367;color:#fff;border-radius:10px;padding:13px 21px;font:800 14px system-ui;cursor:pointer}
#bws-ask-button[disabled]{opacity:.55;cursor:wait}
.bws-request-actions span{font-size:12px;color:#826b88}
#bws-request-status{font-size:13px;line-height:1.55;color:#62536d;margin:13px 0 0}
#bws-request-status[data-status=ok]{color:#26714f}
#bws-request-status[data-status=error]{color:#a32648}
.bws-manual{margin:4px 0 16px;border:1px solid #e6d7e8;border-radius:12px;padding:0 16px;background:#fff}
.bws-manual summary{padding:13px 0;cursor:pointer;font-weight:800;color:#5b2b68}
.bws-manual summary span{font-weight:500;font-size:12px;color:#8a748b;margin-left:8px}
.bws-manual .bws-tabs{padding:8px 0 12px}
@media(max-width:700px){.bws-manual summary span{display:block;margin-left:0}.bws-ai-request{padding:15px}.bws-request-actions{align-items:stretch}.bws-request-actions button{width:100%}}

/* Reel SDK iframe grows with its CONTENT on the same origin; the Workspace page
   owns the single vertical scroll. No resize changes to the other studios. */
.bws-frame-wrap[data-bws-pane="reels"] iframe,.bws-frame-wrap[data-bws-pane="carousel"] iframe{max-height:none!important;
 height:740px;min-height:740px;overflow:hidden;display:block}
.bws-frame-wrap[data-bws-pane="reels"]{overflow:visible}



/* AI Employee journey: one next step and a private status glance. The
 * existing advanced studios remain mounted; they're simply not the homepage. */
.bws-progress-home{border:1px solid #e3d1e8;border-radius:16px;background:#fff;
 box-shadow:0 6px 28px #2c13300d;padding:13px 16px;margin:0 0 15px}
.bws-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.bws-progress-heading strong{font:700 16px Georgia,serif;color:#52265f}
.bws-progress-heading>span{font-size:11px;color:#8b7690}
.bws-progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0;padding:0;list-style:none}
.bws-progress-steps li{padding:9px 11px;background:#fbf8fc;border:1px solid #e9deec;border-radius:9px;
 font-size:11px;font-weight:750;color:#927e96;display:flex;align-items:center;gap:7px}
.bws-progress-steps li span{width:24px;height:24px;border:1px solid #d9cbdc;
 border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:none;font-size:11px}
.bws-progress-steps li[data-status=active]{color:#642e74;background:#f7eff9;border-color:#cba7d7}
.bws-progress-steps li[data-status=active] span{color:#fff;background:#6b307c;border-color:#6b307c}
.bws-progress-steps li[data-status=complete]{color:#675276;border-color:#e4d5e7}
.bws-progress-steps li[data-status=complete] span{background:#faefd5;border-color:#e2c58d;color:#613b09}
.bws-next-work{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
 background:#fffaf2;border:1px solid #ecdbc2;border-radius:11px;padding:12px 15px}
.bws-next-work .bws-kicker{margin:0;font-size:9px!important}
.bws-next-work h2{font:700 18px/1.3 Georgia,serif;color:#4e225e;margin:3px 0 4px}
.bws-next-work p:not(.bws-kicker){font-size:12px;margin:0;color:#77647d;max-width:700px}
#bws-next-action{flex:none;padding:11px 15px;border-radius:9px;background:#5f286e;color:#fff;
 border:1px solid #5f286e;font-weight:800;cursor:pointer;min-height:41px}
#bws-next-action:hover{background:#753486}
#bws-next-action:disabled{opacity:.6;cursor:wait}
.bws-activity{margin-top:10px;border-top:1px solid #efe3f1}
.bws-activity>summary{list-style:none;display:flex;gap:8px;align-items:center;padding:10px 4px 3px;
 color:#5c3070;font-size:12px;font-weight:800;cursor:pointer}
.bws-activity>summary::-webkit-details-marker,.bws-workspace-detail>summary::-webkit-details-marker,
.bws-format-choice>summary::-webkit-details-marker{display:none}
.bws-activity>summary:before,.bws-workspace-detail>summary:before,
.bws-format-choice>summary:before{content:'▸';color:#a67c39;font-size:11px}
.bws-activity[open]>summary:before,.bws-workspace-detail[open]>summary:before,
.bws-format-choice[open]>summary:before{content:'▾'}
.bws-activity>summary span,.bws-workspace-detail>summary span,.bws-format-choice>summary span{
 font-size:11px;color:#907c95;font-weight:450}
.bws-activity-inner{padding:12px 3px 3px}
.bws-activity-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.bws-activity-counts button{display:flex;gap:6px;align-items:center;text-align:left;padding:10px 12px;
 border:1px solid #e7d9eb;background:#fefafe;border-radius:9px;cursor:pointer}
.bws-activity-counts strong{font:700 19px Georgia,serif;color:#5d2871}
.bws-activity-counts span{font-size:11px;color:#786584}
.bws-activity h3{font-size:12px;color:#694b70;margin:14px 0 7px}
.bws-recent-projects{display:grid;gap:7px}
.bws-work-shortcut{display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:8px 11px;border:1px solid #eee2f0;background:#fff;border-radius:8px}
.bws-work-shortcut>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.bws-work-shortcut strong{font-size:12px;color:#4a225a;overflow-wrap:anywhere}
.bws-work-shortcut span{font-size:10px;color:#89708f}
.bws-work-shortcut button{color:#643175;background:#f9f2fc;border:1px solid #d8c3de;
 border-radius:8px;padding:8px 11px;cursor:pointer;font-weight:750;font-size:11px;flex:none}
.bws-activity-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.bws-activity-foot p{margin:0;font-size:10px;line-height:1.5;color:#8c7790}
.bws-activity-foot>button{background:#fff;color:#633277;border:1px solid #d5c6d9;border-radius:7px;
 padding:7px 9px;font-size:11px;cursor:pointer}
.bws-format-choice{border:1px solid #ece0ef;border-radius:9px;margin:3px 0 14px;background:#fffcff}
.bws-format-choice>summary{list-style:none;padding:10px 12px;cursor:pointer;
 color:#69427a;font-size:12px;font-weight:800}
.bws-format-choice .bws-request-options{padding:0 12px 10px;margin:0}
.bws-workspace-detail{border:1px solid #e6d4ea;background:#fff;border-radius:13px;margin:6px 0 16px;overflow:visible}
.bws-workspace-detail>summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;list-style:none;
 color:#623174;font-size:12px;font-weight:800;padding:12px 16px;cursor:pointer}
.bws-workspace-detail:not([open]){box-shadow:0 4px 16px #2b113006}
.bws-workspace-detail .bws-work{border:0;border-top:1px solid #eaddec;border-radius:0 0 13px 13px;box-shadow:none}
.bws-workspace-detail:not([open]) .bws-work{display:none}
.bws-request-options{margin-bottom:0}
.bws-request-header h2{font-size:clamp(22px,2.5vw,29px);margin:4px 0 7px}
.bws-ai-request{padding:clamp(15px,2vw,25px)}
#bws-goal{min-height:94px}
.bws-examples{margin:9px 0 12px}
.bws-intro{padding-bottom:12px}
.bws-intro h1{font-size:clamp(27px,3.1vw,39px)}
@media(max-width:700px){
 .bws-progress-home{padding:12px}
 .bws-progress-steps{gap:4px}
 .bws-progress-steps li{padding:7px 5px;flex-direction:column;text-align:center;font-size:9px;gap:4px}
 .bws-progress-steps li span{width:21px;height:21px}
 .bws-next-work{padding:11px}
 #bws-next-action{width:100%}
 .bws-activity-counts{grid-template-columns:1fr}
 .bws-activity>summary,.bws-workspace-detail>summary{align-items:flex-start;flex-direction:column}
 .bws-work-shortcut{gap:6px}
}



/* One image entry point: both providers remain accessible, with Runway
   still images distinct from the existing Runway video tool. */
.bws-media-help{padding:12px 15px;margin:9px 0 13px;background:#fffaf0;border:1px solid #e6d4b5;
 border-left:4px solid #d7a755;border-radius:10px;font-size:12px;line-height:1.55;color:#5b3d60}
.bws-media-help[hidden]{display:none!important}
.bws-media-help strong{color:#52285f}
.bws-media-help a{color:#642477;font-weight:800;text-decoration:underline}
.bws-tool-switch button[data-bws-media="runway-image"]{background:#fff8e9;border-color:#dcc48c}
.bws-tool-switch button[data-bws-media="runway-image"][aria-pressed=true]{background:#f5e4b9;color:#51335f;border-color:#d6aa59}

#bws-start-runway-image{display:inline-block;margin:6px 0 0 10px;padding:8px 12px;background:#5f2a71;color:#fff;border:1px solid #5f2a71;border-radius:8px;font-size:12px;font-weight:800;cursor:pointer}


/* Private Content Autopilot configuration stays INSIDE the existing Studio. */
.bws-autopilot{background:#fffafd;border:1px solid #ddc6e4;border-left:4px solid #d8b05e;
 border-radius:13px;margin:4px 0 16px;box-shadow:0 5px 20px #321c4110}
.bws-autopilot>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:12px 16px;color:#51245c}
.bws-autopilot>summary::-webkit-details-marker{display:none}
.bws-autopilot>summary>span{font:750 16px Georgia,serif}
.bws-autopilot>summary small{font-size:11px;color:#876e8e}
.bws-autopilot[open]>summary{border-bottom:1px solid #e8daeb;background:#fff}
.bws-autopilot-inner{padding:16px;display:grid;gap:13px}
.bws-autopilot-inner>p{font-size:12px;line-height:1.55;color:#705979;margin:0}
.bws-autopilot-inner .bws-auto-activation{font-weight:800;background:#fff3de;color:#643c67;border-radius:9px;padding:11px 13px}
.bws-autopilot-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bws-autopilot-settings>label,.bws-autopilot-notes>label{display:grid;gap:6px;font-size:12px;font-weight:750;color:#5f3b6d}
.bws-autopilot-settings select,.bws-autopilot-settings input,.bws-autopilot-notes textarea{font:500 12px system-ui;padding:10px;border:1px solid #d4c0dc;border-radius:9px;min-width:0;background:#fff;color:#3a1d49}
.bws-autopilot-notes{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bws-autopilot-notes textarea{min-height:70px;resize:vertical}
.bws-autopilot-choices{display:grid;grid-template-columns:1fr 1.5fr;gap:12px}
.bws-autopilot-choices fieldset{border:1px solid #e3d4e7;border-radius:9px;padding:10px 13px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 17px}
.bws-autopilot-choices legend{padding:0 5px;font-weight:800;font-size:12px;color:#613470}
.bws-autopilot-choices label{font-size:12px;display:flex;align-items:center;gap:5px;color:#614a6a}
.bws-autopilot-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.6;background:#faf4fb;padding:12px;border:1px solid #e5d4eb;border-radius:10px;color:#634970}
.bws-autopilot-consent input{flex:none;margin-top:4px}
.bws-auto-buttons{display:flex;flex-wrap:wrap;gap:9px}
.bws-auto-buttons button{border:1px solid #d1bad9;border-radius:9px;background:#fff;color:#59306a;font-weight:800;font-size:12px;padding:11px 14px;cursor:pointer}
.bws-auto-buttons button:first-child{background:#5a276f;border-color:#5a276f;color:#fff}
.bws-auto-buttons button:disabled{opacity:.45;cursor:not-allowed}
#bws-auto-status{padding:9px 12px;background:#f8effa;border-radius:9px;font-size:12px;color:#623874}
#bws-auto-status[data-kind=warning]{background:#fff0eb;color:#9c3043}
.bws-auto-readiness{display:flex;gap:7px;flex-wrap:wrap}
.bws-auto-readiness>span{font-size:11px;border:1px solid #e6daea;border-radius:7px;padding:6px 10px}
.bws-autopilot-ready{color:#326452;background:#eef9f2}
.bws-autopilot-pending{color:#8d6b55;background:#fff8ec}
.bws-auto-preview{display:grid;gap:5px}
.bws-autopilot-preview-line{background:#fff;border:1px solid #eadfed;padding:10px 12px;border-radius:8px;font-size:12px}
.bws-autopilot-fineprint{font-size:10px!important;color:#8c778f!important}
@media(max-width:900px){.bws-autopilot-settings{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.bws-autopilot-settings,.bws-autopilot-notes,.bws-autopilot-choices{grid-template-columns:1fr}.bws-autopilot>summary small{font-size:10px}}
