/* Approved light studio layout; isolated to AI Creation. */
#workspace.board-layout #creation .ct-hero{min-height:185px;padding:30px 32px;border-radius:14px}
#workspace.board-layout #creation .ct-hero h2{font-size:clamp(28px,3vw,44px)}
#workspace.board-layout #creation .ct-source-layout{grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:16px}
#workspace.board-layout #creation .ct-source-main,#workspace.board-layout #creation .ct-library{padding:24px;border-radius:14px}
#workspace.board-layout #creation .ct-source-main>h3:first-child{font-size:23px}
#workspace.board-layout #creation .ct-source-main>p{font-size:13px;line-height:1.8}
#workspace.board-layout #creation .cr-tabs{gap:8px;margin:14px 0}
#workspace.board-layout #creation .cr-tabs button{padding:14px 8px;border-radius:10px}
#workspace.board-layout #creation .board-source-tabs button{padding:10px 18px;font-size:13px}
#workspace.board-layout #creation .board-source-tabs button[aria-pressed=true]{background:#337bdf!important;color:#fff!important;border-color:#337bdf!important}
#workspace.board-layout #creation #cr-link-form{align-items:end;gap:10px;margin:16px 0}
#workspace.board-layout #creation #cr-link-form>label{flex-basis:230px}
#workspace.board-layout #creation #cr-link-form>button{min-height:42px}
#workspace.board-layout #creation input,#workspace.board-layout #creation select{padding:12px;font-size:13px;border-radius:9px}
#workspace.board-layout #creation #cr-decompose-form{gap:16px;padding-top:20px;margin-top:20px}
#workspace.board-layout #creation #cr-decompose-form>button{padding:12px 22px;margin-top:8px}
#workspace #creation .board-creation-stats{padding:10px 0 20px;gap:12px}
#workspace #creation .board-creation-stats>div{padding:14px 4px;background:#f5f8fc;border-radius:10px}
#workspace #creation .board-creation-stats strong{color:#337bdf!important;font-size:28px}
#workspace #creation .studio-materials{display:grid;gap:12px;margin:14px 0}
#workspace #creation .studio-material{display:flex;align-items:center;gap:12px;min-width:0}
#workspace #creation .studio-material-icon{display:grid;place-items:center;width:68px;height:52px;flex-shrink:0;border-radius:8px;background:linear-gradient(135deg,#edf5ff,#d6e8ff);color:#337bdf;font-size:26px}
#workspace #creation .studio-material-copy{display:grid;gap:6px;min-width:0;flex:1}
#workspace #creation .studio-material strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#workspace #creation .studio-material small{font-size:11px}
#workspace #creation .studio-details{margin-top:16px;min-width:0}
#workspace #creation .studio-details>summary{cursor:pointer;font-size:12px;padding:8px 0}
#workspace #creation .studio-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#workspace #creation .studio-cards>.empty{grid-column:1/-1}
#workspace #creation .studio-task{overflow:hidden;min-width:0;padding:0;margin:0;border-radius:12px}
#workspace #creation .studio-task-visual{height:142px;display:flex;align-items:center;justify-content:center;gap:14px;background:radial-gradient(ellipse at 80% 20%,#fff9,transparent 65%),linear-gradient(135deg,#d5e6fa,#edf5ff);color:#345b83}
#workspace #creation .studio-task-visual[data-kind=clip]{background:linear-gradient(135deg,#e3ecf7,#c4ddfa)}
#workspace #creation .studio-play{font-size:42px}
#workspace #creation .studio-task-body{padding:16px;display:grid;gap:12px}
#workspace #creation .studio-task h4{font-size:14px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#workspace #creation .studio-task-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center;font-size:11px}
#workspace #creation .studio-status{padding:5px 9px;border-radius:20px;background:#edf5ff;color:#345b83}
#workspace #creation .studio-task button{justify-self:start}
#workspace #creation .studio-recent>.cr-header{margin-bottom:16px}
@media(max-width:1100px){#workspace.board-layout #creation .ct-source-layout{grid-template-columns:1fr}#workspace #creation .studio-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#workspace #creation .studio-cards{grid-template-columns:1fr}#workspace.board-layout #creation .ct-source-main,#workspace.board-layout #creation .ct-library{padding:18px}#workspace.board-layout #creation .ct-hero{padding:24px;min-height:165px}}
#workspace.board-layout #creation .ct-hero::after{content:"";position:absolute;right:12%;top:24px;width:132px;height:132px;border-radius:50%;background:radial-gradient(circle at 30% 24%,#f8fbff,#b7d5fb 48%,#8bb6ef 90%);box-shadow:0 0 0 16px #dbeaff66,0 0 0 18px #a9c8f066;transform:rotate(-22deg);pointer-events:none;z-index:-1}
#workspace #creation .studio-task-body h4,#workspace #creation .studio-task-body p{margin:0}
#workspace #creation .studio-task-body{min-height:120px;align-content:start}
@media(max-width:650px){#workspace.board-layout #creation .ct-hero::after{right:-25px;opacity:.35}}
/* Match approved artwork and density, rather than drawing a substitute planet. */
#workspace.board-layout #creation .ct-hero{background:#edf5ff url('/console/assets/creation-studio-hero.png') right center/auto 125% no-repeat!important;min-height:180px;padding:28px 32px}
#workspace.board-layout #creation .ct-hero::before,#workspace.board-layout #creation .ct-hero::after{display:none}
#workspace.board-layout #creation .ct-hero-copy{max-width:57%}
#workspace.board-layout #creation .ct-hero-copy::after{display:none}
#workspace.board-layout #creation .ct-hero-copy p{font-size:16px;margin-top:10px}
#workspace #creation .studio-library-button{position:absolute;right:20px;top:14px;font-size:12px;background:#ffffffc9!important;border:1px solid #cbdcf1;padding:8px 13px;border-radius:8px}
#workspace.board-layout #creation .ct-source-main,#workspace.board-layout #creation .ct-library{padding:20px 24px}
#workspace.board-layout #creation #cr-decompose-form{border:0;margin-top:12px;padding-top:0;gap:12px}
#workspace.board-layout #creation #cr-link-form{margin:12px 0}
#workspace.board-layout #creation #cr-decompose-form>button{margin-top:0}
#workspace.board-layout #creation .cr-tabs{border:1px solid #d6e1ed;border-radius:12px;background:#fff;padding:4px;gap:4px}
#workspace.board-layout #creation .cr-tabs button{border:0!important;padding:10px 4px;font-size:13px}
#workspace #creation .studio-task-body{display:block;min-height:0;padding:12px 14px}
#workspace #creation .studio-task h4{margin:0 0 8px!important;line-height:1.5;font-size:14px}
#workspace #creation .studio-task-meta{margin-bottom:6px}
#workspace #creation .studio-task-body>button{font-size:11px;padding:2px 0}
#workspace #creation .studio-status[data-status=succeeded]{background:#e5f6ee;color:#228762}
#workspace #creation .studio-status[data-status=pending]{background:#fff4e6;color:#a66513}
#workspace #creation .studio-status[data-status=failed]{background:#ffecec;color:#b94444}
#workspace #creation .studio-thumbnail{position:relative;display:block;padding:0;border:0;border-radius:0;width:100%;height:166px;overflow:hidden;background:#e4efff;color:#345b83;cursor:pointer}
#workspace #creation .studio-thumbnail:hover{filter:none}
#workspace #creation .studio-thumbnail video,#workspace #creation .studio-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
#workspace #creation .studio-thumb-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;width:36px;height:36px;background:#ffffffdb;color:#246bcc;font-size:25px;box-shadow:0 3px 12px #122c4a22}
#workspace #creation .studio-thumbnail[data-loaded=true] .studio-thumb-play{opacity:0;transition:opacity .15s}
#workspace #creation .studio-thumbnail:hover .studio-thumb-play,#workspace #creation .studio-thumbnail:focus-visible .studio-thumb-play{opacity:1}
#workspace #creation .studio-thumb-hint{position:absolute;left:0;right:0;top:72%;font-size:12px}
#workspace #creation .studio-duration{position:absolute;bottom:7px;right:7px;background:#112c48cc;color:white;border-radius:5px;padding:3px 5px;font-size:11px}
#workspace #creation .studio-thumbnail-small{width:106px;height:68px;flex-shrink:0;border-radius:8px}
#workspace #creation .studio-thumbnail-small .studio-thumb-hint{font-size:10px}
#workspace #creation .studio-thumbnail-small .studio-thumb-play{width:25px;height:25px;font-size:18px}
#workspace #creation .studio-materials{gap:14px}
#workspace #creation .studio-material strong{font-size:13px}
#studio-preview-dialog{background:#fff;color:#223448;border:1px solid #d6e1ed;border-radius:16px;width:min(900px,calc(100vw - 32px));max-width:900px;padding:22px;max-height:90vh;overflow:auto;box-sizing:border-box}
#studio-preview-dialog::backdrop{background:#14263b99;backdrop-filter:blur(5px)}
.studio-preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.studio-preview-head h2{font-size:18px;margin:0;overflow-wrap:anywhere}
.studio-preview-content video,.studio-preview-content img{display:block;max-width:100%;width:100%;max-height:65vh;object-fit:contain;border-radius:10px;background:#0b1420}
.studio-preview-content audio{width:100%;margin:24px 0}
.studio-preview-content>button{margin-top:12px}
@media(max-width:650px){#workspace.board-layout #creation .ct-hero{background-position:63% center!important;padding:22px}#workspace.board-layout #creation .ct-hero-copy{max-width:85%}#workspace.board-layout #creation .ct-hero h2{font-size:27px}#workspace #creation .studio-thumbnail-small{width:84px;height:60px}#workspace #creation .studio-library-button{top:auto;bottom:14px;left:22px;right:auto}#workspace #creation .studio-thumbnail{height:180px}#workspace #creation .studio-thumbnail-small{height:60px}}
#workspace #creation .ct-library h3{margin:0 0 12px;font-size:17px}
#workspace #creation .board-creation-stats{margin-bottom:16px;padding-bottom:16px}
#workspace #creation .studio-recent>.cr-header h3{margin:0}
#workspace #creation .studio-recent>.cr-header{margin:0 0 16px}
#workspace #creation .ct-task-panel{padding:20px;border-radius:14px}
@media(max-width:650px){#workspace.board-layout #creation #cr-link-form>label{flex:0 0 auto}#workspace.board-layout #creation #cr-link-form{align-items:stretch}#workspace.board-layout #creation #cr-decompose-form{grid-template-columns:1fr}#workspace.board-layout #creation .ct-hero{background-image:linear-gradient(90deg,#edf5ffb3,#edf5ff11),url('/console/assets/creation-studio-hero.png')!important}}
#workspace.board-layout #creation #cr-link-form>label{font-size:0;gap:0}
#workspace.board-layout #creation #cr-link-form>label input{font-size:13px}
#workspace #creation .board-creation-stats>div{padding:10px 4px}
#workspace #creation .studio-thumbnail-small{height:60px}
#workspace #creation .studio-details{margin-top:10px}
/* V2 core workspaces: retain the existing light blue palette. */
#workspace.board-layout #creation .studio-panel{background:#fff;border:1px solid #e0e9f5;border-radius:16px;padding:22px;min-width:0}
#workspace #creation .studio-panel h3{margin:0 0 14px;font-size:18px;color:#263e60}
#workspace #creation .studio-two-col{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:20px}
#workspace #creation .studio-flow{padding:14px 16px;background:#edf5ff;color:#4776ad;border-radius:10px;font-size:13px;margin:16px 0;line-height:1.7}
#workspace #creation .studio-source-preview{margin:16px 0;display:flex;gap:15px;align-items:center;min-width:0}
#workspace #creation .studio-source-preview:has(.studio-empty-preview){margin:8px 0}
#workspace #creation .studio-source-preview .studio-empty-preview{display:block;min-height:0;padding:9px 12px;text-align:left;border-radius:7px}
#workspace #creation .studio-source-copy{display:grid;gap:7px;min-width:0}
#workspace #creation .studio-source-copy strong{overflow-wrap:anywhere}
#workspace #creation .studio-empty-preview{display:grid;place-items:center;text-align:center;min-height:160px;background:linear-gradient(135deg,#eef5ff,#f8fbff);border:1px dashed #d4e2f3;color:#8296b0;border-radius:10px;padding:20px;font-size:13px;box-sizing:border-box;width:100%}
#workspace #creation .studio-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
#workspace #creation .studio-template-card{border:1px solid #e0e9f5;border-radius:12px;padding:12px;min-width:0;overflow-wrap:anywhere;background:white}
#workspace #creation .studio-template-card[data-selected=true]{border-color:#67a5ed;box-shadow:0 0 0 2px #edf5ff}
#workspace #creation .studio-template-card h4{margin:12px 0 8px;font-size:15px}
#workspace #creation .studio-template-card button{margin-top:8px}
#workspace #creation .studio-structure{padding-left:25px;line-height:2}
#workspace #creation #studio-template-detail>button{margin:6px 6px 0 0}
#workspace #creation .studio-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}
#workspace #creation .studio-material-choice{border:1px solid #dce7f4;border-radius:10px;overflow:hidden;min-width:0;padding:8px}
#workspace #creation .studio-material-choice[data-selected=true]{border-color:#4e95e6;background:#edf5ff}
#workspace #creation .studio-material-choice .studio-thumbnail-small{width:100%;height:95px}
#workspace #creation .studio-material-choice label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:8px 0 0;font-size:12px;overflow-wrap:anywhere}
#workspace #creation .studio-material-choice input{width:16px;min-width:16px;height:16px;padding:0}
#workspace #creation .studio-native-materials{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);padding:0!important;margin:0!important}
#workspace #creation #studio-clip-output>.studio-thumbnail{height:260px;border-radius:10px;margin:16px 0}
#workspace #creation #studio-clip-output>button{margin:8px 8px 8px 0}
#workspace #creation .studio-clip-tasks{margin-top:20px;background:#fff;border:1px solid #e0e9f5;border-radius:14px;padding:20px}
#workspace #creation .studio-task-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #edf1f7;flex-wrap:wrap}
#workspace #creation .studio-task-row strong{flex:1;min-width:130px;font-size:13px}
#workspace #creation .studio-monitor-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px}
#workspace #creation .studio-monitor-accounts{display:grid;gap:12px;margin-top:14px}
#workspace #creation .studio-account-card{display:block;width:100%;text-align:left;padding:16px;background:#f8fbff;border:1px solid #dce7f4;border-radius:12px;color:#263e60;white-space:normal}
#workspace #creation .studio-account-card[data-selected=true]{background:#edf5ff;border-color:#75aaf0}
#workspace #creation .studio-account-card .studio-status{margin-left:10px}
#workspace #creation .studio-account-card p{margin:9px 0 0;font-size:12px}
#workspace #creation .studio-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
#workspace #creation .studio-panel input{max-width:100%;box-sizing:border-box}
#workspace #creation .studio-task-center{padding:22px}
#workspace #creation .studio-task-center-toolbar,#workspace #creation .studio-task-center-card-head,#workspace #creation .studio-task-center-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#workspace #creation .studio-task-center-toolbar{justify-content:space-between;margin:16px 0}
#workspace #creation .studio-task-center-toolbar select{min-width:150px}
#workspace #creation .studio-task-center-list{display:grid;gap:14px}
#workspace #creation .studio-task-center-project,#workspace #creation .studio-task-center-card{background:#fff;border:1px solid #dce7f4;border-radius:14px;padding:16px}
#workspace #creation .studio-task-center-project{display:grid;gap:10px;background:#f7faff}
#workspace #creation .studio-task-center-project h3{margin:0}
#workspace #creation .studio-task-center-card-head{justify-content:space-between}
#workspace #creation .studio-task-center-card-head strong{font-size:15px}
#workspace #creation .studio-task-center-card small{display:block;margin-top:8px;color:#7589a3}
#workspace #creation .studio-task-center-actions{margin-top:10px}
#workspace #creation .studio-task-center-error{color:#b42318}
#workspace #creation .studio-task-center-empty{padding:32px;text-align:center;color:#7589a3;background:#f8fbff;border:1px dashed #cbd9eb;border-radius:12px}
#workspace #creation .studio-replication-shot-results{display:grid;gap:10px}
#workspace #creation .studio-final-replication{margin-top:20px;padding:18px;background:#f4f8ff;border:1px solid #cbdcf2;border-radius:14px}
#workspace #creation .studio-final-replication h4{margin:0 0 12px}
#workspace.board-layout #creation [data-creation-pane=templates],#workspace.board-layout #creation [data-creation-pane=clip],#workspace.board-layout #creation [data-creation-pane=monitor]{background:transparent;border:0;padding:0;box-shadow:none}
#workspace #creation [hidden]{display:none!important}
@media(max-width:1100px){#workspace #creation .studio-two-col{grid-template-columns:minmax(0,1fr)}#workspace #creation .studio-monitor-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:700px){#workspace #creation .studio-monitor-layout{grid-template-columns:minmax(0,1fr)}#workspace #creation .studio-template-grid{grid-template-columns:minmax(0,1fr)}#workspace #creation .studio-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace.board-layout #creation .studio-panel{padding:16px}#workspace #creation .studio-task-row{gap:8px}}
#workspace #creation #studio-clip-materials,#workspace #creation #studio-clip-materials+*,#workspace #creation #cr-clip-form>.muted{grid-column:1/-1}
#workspace #creation [data-creation-tab][aria-selected=true]{background:#eaf3ff!important;color:#287ae5!important}
#workspace #creation [data-creation-tab][aria-selected=false]{background:transparent!important}
#workspace.board-layout #creation .ct-tabs [data-creation-tab][aria-selected=false],#workspace.board-layout #creation [data-creation-tab][aria-selected=false]{background:transparent!important}
#workspace.board-layout #creation .ct-tabs [data-creation-tab][aria-selected=true],#workspace.board-layout #creation [data-creation-tab][aria-selected=true]{background:#eaf3ff!important;color:#287ae5!important}
/* Keep the approved title on the left and the handwritten motto on the right. */
#workspace.board-layout #creation .ct-hero{background-position:right 180px center!important}

/* Viral video analysis: keep task selection, backend status, and report in one workspace. */
#workspace #creation .studio-decompose-board{margin:18px 0 22px}
#workspace #creation .studio-decompose-current{margin-bottom:14px}
#workspace #creation .studio-current-task{display:grid;grid-template-columns:82px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:14px;border:1px solid #b9d5f8;border-radius:8px;background:#f7fbff}
#workspace #creation .studio-current-task .studio-thumbnail-small{width:82px;height:62px}
#workspace #creation .studio-current-copy{display:grid;gap:7px;min-width:0}
#workspace #creation .studio-current-copy strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#workspace #creation .studio-current-copy small{font-size:11px;color:#71839a}
#workspace #creation .studio-current-progress{height:7px;border-radius:7px;background:#e4edf8;overflow:hidden}
#workspace #creation .studio-current-progress span{display:block;height:100%;border-radius:inherit;background:#2f80ed}
#workspace #creation .studio-current-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:3px 0;color:#8a9bb0;font-size:11px;text-align:center}
#workspace #creation .studio-current-steps span{position:relative;padding-top:16px;border-top:2px solid #dce6f2}
#workspace #creation .studio-current-steps span:before{content:"";position:absolute;top:-6px;left:calc(50% - 5px);width:9px;height:9px;border:2px solid #aac0db;border-radius:50%;background:#fff}
#workspace #creation .studio-current-steps span[data-state=done],#workspace #creation .studio-current-steps span[data-state=active]{border-color:#2f80ed;color:#2f6fbf}
#workspace #creation .studio-current-steps span[data-state=done]:before{background:#2f80ed;border-color:#2f80ed}#workspace #creation .studio-current-steps span[data-state=active]:before{border-color:#2f80ed;box-shadow:0 0 0 3px #dcecff}
#workspace #creation .studio-current-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#workspace.board-layout #creation #studio-decompose-detail,#workspace.board-layout #creation .studio-decompose-history{background:#fff;border:1px solid #dce7f4;border-radius:8px;padding:18px;min-width:0;box-shadow:0 2px 8px #22344804}
#workspace #creation #studio-decompose-detail h3,#workspace #creation .studio-decompose-history h3{font-size:17px;margin:0 0 14px;color:#263e60}
#workspace #creation .ct-library #studio-decompose-detail{margin-top:16px;padding:0;border:0;border-top:1px solid #e3ebf5;border-radius:0;box-shadow:none}
#workspace #creation .ct-library #studio-decompose-detail>h3{margin-top:16px}

.studio-shot-workspace{display:grid;gap:14px;margin:14px 0 22px;color:#263e60}
.studio-replicate-picker{margin-top:14px;padding:18px;background:#fff;border:1px solid #dce7f4;border-radius:8px}.studio-replicate-picker h3{margin:0 0 12px}.studio-replicate-picker .studio-decompose-row:last-child{border-bottom:0}
.studio-shot-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 20px;background:#fff;border:1px solid #dce7f4;border-radius:8px}
.studio-shot-head h2{margin:0 0 6px;font-size:22px}.studio-shot-head p{margin:0}
.studio-shot-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,.8fr);gap:14px;padding:14px}
.studio-shot-workspace .studio-shot-layout{padding:0}
.studio-shot-list,.studio-seedance-editor{background:#fff;border:1px solid #dce7f4;border-radius:8px;padding:16px;min-width:0}
.studio-shot-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.studio-shot-toolbar>button{margin-left:auto}
.studio-check-all,.studio-preserve-audio{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.studio-check-all input,.studio-preserve-audio input,.studio-shot-row>input{width:16px!important;height:16px!important;padding:0!important}
.studio-shot-rows{display:grid;gap:10px}.studio-shot-row{display:grid;grid-template-columns:18px 104px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid #dce7f4;border-radius:8px;background:#fbfdff}
.studio-shot-preview{display:grid;place-items:center;height:64px;border-radius:6px;background:linear-gradient(135deg,#dcecff,#edf5ff);color:#4a77ae;font-size:12px}
.studio-shot-copy{min-width:0}.studio-shot-copy strong{font-size:13px}.studio-shot-copy p{margin:5px 0;font-size:12px}.studio-shot-copy small{color:#7a8ca3}
.studio-seedance-editor{display:grid;align-content:start;gap:14px}.studio-seedance-editor h3{margin:0;font-size:18px}
.studio-seedance-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px;background:#eef4fb;border-radius:7px}.studio-seedance-tabs button{min-height:36px;border:0;border-radius:5px;background:transparent;color:#58708e}.studio-seedance-tabs button[aria-pressed=true]{background:#2f80ed;color:#fff;box-shadow:0 2px 6px #2f80ed33}
.studio-reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.studio-reference-card{display:grid;align-content:start;gap:8px;min-height:154px;padding:12px;border:1px solid #dce7f4;border-radius:8px;background:#f7faff;font-size:12px;overflow:hidden}.studio-reference-card>span{color:#7d8ea4;line-height:1.5}.studio-reference-upload{cursor:pointer}.studio-reference-upload:hover{border-color:#8bb8f3;background:#f2f7ff}.studio-reference-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.studio-reference-preview{display:grid;place-items:center;width:100%;aspect-ratio:4/3;min-height:86px;overflow:hidden;border:1px dashed #bfd1e7;border-radius:6px;background:#fff}.studio-reference-preview img{width:100%;height:100%;object-fit:cover}.studio-reference-placeholder{padding:10px;text-align:center;color:#8a9cb2}.studio-reference-upload-copy{display:block;padding:7px 9px;border-radius:5px;background:#e8f2ff;color:#286fc9!important;text-align:center;font-weight:600}
.studio-reference-hint{margin:0;color:#b42318;line-height:1.45}.studio-reference-hint:empty{display:none}
.studio-prompt-label{display:grid;gap:7px}.studio-prompt-label textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid #cddced;border-radius:8px;padding:10px;font:12px/1.65 inherit;color:#344b68}
.studio-seedance-settings{display:grid;grid-template-columns:1fr 1fr;gap:10px}.studio-seedance-settings label{display:grid;gap:5px;font-size:12px}.studio-seedance-settings .studio-preserve-audio{grid-column:1/-1;padding:10px;border-radius:7px;background:#f1f7ff}
.studio-generate-actions{display:grid;grid-template-columns:1fr;gap:8px}.studio-generate-actions button{width:100%;min-height:40px}.studio-primary-action{background:#2f80ed!important;color:#fff!important;border-color:#2f80ed!important;font-weight:600}.studio-secondary-action{background:#fff!important;color:#47709f!important}.studio-submit-state{min-height:18px;margin:0;color:#52718f;font-size:12px;line-height:1.5}.studio-generation-jobs{display:grid;gap:6px}.studio-generation-job{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;padding:9px 10px;border:1px solid #dce7f4;border-radius:7px;background:#f8fbff}.studio-generation-job small{grid-column:1/-1;color:#8192a7}.studio-generation-job .studio-status{justify-self:end}
.studio-shot-results{padding:18px;background:#fff;border:1px solid #dce7f4;border-radius:8px}.studio-shot-results h3{margin:0 0 8px;font-size:18px}
@media(max-width:850px){.studio-shot-layout{grid-template-columns:1fr}.studio-current-task{grid-template-columns:68px minmax(0,1fr)!important}.studio-current-task>.studio-status,.studio-current-actions{grid-column:2}.studio-shot-row{grid-template-columns:18px 78px minmax(0,1fr)}.studio-shot-row>.studio-status{grid-column:3}}
#workspace #creation .ct-library .studio-decompose-detail-head{align-items:flex-start}
#workspace #creation .ct-library .studio-decompose-results{grid-template-columns:minmax(0,1fr)}
#workspace #creation .ct-library .studio-decompose-result-card{padding:11px}
#workspace #creation .studio-decompose-list-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;color:#70829a;font-size:12px}
#workspace #creation .studio-decompose-list-head h3{margin:0}
#workspace #creation .studio-decompose-list-head strong{font-weight:600}
#workspace #creation .studio-decompose-list-head .text-button{font-size:12px;padding:4px 8px}
#workspace #creation .studio-decompose-row{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 0;border-top:1px solid #edf1f6;min-width:0}
#workspace #creation .studio-decompose-row[data-selected=true]{margin:0 -8px;padding:10px 8px;background:#f2f7ff;border:1px solid #b8d3f8;border-radius:9px}
#workspace #creation .studio-decompose-row .studio-thumbnail-small{width:68px;height:52px;border-radius:7px}
#workspace #creation .studio-decompose-row-copy{display:grid;gap:5px;min-width:0;padding:0;border:0;background:transparent;text-align:left;color:#263e60;cursor:pointer}
#workspace #creation .studio-decompose-row-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
#workspace #creation .studio-decompose-row-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#8797ab}
#workspace #creation .studio-decompose-row-placeholder{display:grid;place-items:center;width:68px;height:52px;border-radius:7px;background:#eef5ff;color:#6f8fb9;font-size:11px}
#workspace #creation .studio-decompose-row .studio-status{white-space:nowrap;font-size:11px}
#workspace #creation .studio-decompose-row .studio-status[data-status=succeeded]{background:#e8f7ef;color:#248359}
#workspace #creation .studio-decompose-row .studio-status[data-status=running]{background:#eaf3ff;color:#2675d7}
#workspace #creation .studio-decompose-row .studio-status[data-status=pending]{background:#fff5e6;color:#a96d16}
#workspace #creation .studio-decompose-row .studio-status[data-status=failed]{background:#fff0ef;color:#b84c47}
#workspace #creation .studio-decompose-empty{padding:22px 14px;text-align:center;color:#8293a8;background:#f8fbff;border:1px dashed #d8e4f2;border-radius:10px;font-size:13px;line-height:1.7}
#workspace #creation .studio-decompose-detail-head{display:flex;align-items:center;gap:14px;min-width:0}
#workspace #creation .studio-decompose-identity{display:grid;gap:7px;min-width:0}
#workspace #creation .studio-decompose-identity strong{font-size:15px;overflow-wrap:anywhere}
#workspace #creation .studio-decompose-identity small{font-size:11px;color:#8292a8}
#workspace #creation .studio-decompose-identity .studio-status{justify-self:start}
#workspace #creation .studio-decompose-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;margin:20px 0 10px}
#workspace #creation .studio-decompose-step{position:relative;text-align:center;padding-top:27px;font-size:12px;color:#7f8fa4}
#workspace #creation .studio-decompose-step::before{content:"";position:absolute;top:0;left:calc(50% - 8px);width:16px;height:16px;border-radius:50%;background:#e9eef5;border:2px solid #d4deea;z-index:1}
#workspace #creation .studio-decompose-step:not(:last-child)::after{content:"";position:absolute;left:50%;right:-50%;top:7px;height:2px;background:#dce5ef}
#workspace #creation .studio-decompose-step[data-state=done]::before{background:#2d86e8;border-color:#2d86e8;box-shadow:inset 0 0 0 4px white}
#workspace #creation .studio-decompose-step[data-state=done]:not(:last-child)::after{background:#72aef0}
#workspace #creation .studio-decompose-step[data-state=active]::before{background:#fff;border-color:#2d86e8;box-shadow:0 0 0 4px #e8f2ff}
#workspace #creation .studio-decompose-step[data-state=failed]::before{background:#d95858;border-color:#d95858}
#workspace #creation .studio-decompose-state{padding:10px 12px;margin:12px 0;background:#f3f7fc;border-radius:8px;color:#60748d;font-size:12px;line-height:1.6}
#workspace #creation .studio-decompose-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
#workspace #creation .studio-decompose-result-card{min-width:0;padding:13px;border:1px solid #e2eaf4;border-radius:10px;background:#fbfdff}
#workspace #creation .studio-decompose-result-card h4{margin:0 0 9px;font-size:13px;color:#334c6b}
#workspace #creation .studio-decompose-result-card p{margin:0 0 7px;font-size:12px;line-height:1.65;color:#566c87;overflow-wrap:anywhere}
#workspace #creation .studio-decompose-result-card small{font-size:11px;color:#8292a8;line-height:1.6}
#workspace #creation .studio-decompose-shot-list{display:grid;gap:8px}
#workspace #creation .studio-decompose-shot{padding-bottom:8px;border-bottom:1px solid #e8edf4}
#workspace #creation .studio-decompose-shot:last-child{padding:0;border:0}
#workspace #creation .studio-decompose-shot strong{display:block;margin-bottom:5px;font-size:11px;color:#405c7b}
#workspace #creation #studio-decompose-detail>.text-button{margin-top:12px}
#workspace #creation .studio-decompose-history{margin-top:18px}
#workspace #creation .studio-decompose-history-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:10px;border-bottom:1px solid #e8eef6}
#workspace #creation .studio-decompose-history-head h3{margin:0 0 4px}
#workspace #creation .studio-decompose-history-head .muted{margin:0;font-size:12px}
#workspace #creation .studio-decompose-filter{width:auto;min-width:128px;padding:8px 32px 8px 10px;border:1px solid #d8e4f2;border-radius:7px;background:#fff;color:#526982;font-size:12px}
#workspace #creation .studio-decompose-history-rows{display:grid}
#workspace #creation .studio-decompose-history-row{grid-template-columns:68px minmax(0,1fr) 100px;padding:12px 4px}
#workspace #creation .studio-decompose-history-row[data-selected=true]{margin:0 -6px;padding:11px 10px}
#workspace #creation .studio-decompose-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:14px;border-top:1px solid #edf1f6;color:#75869b}
#workspace #creation .studio-decompose-pagination small{margin-right:auto}
#workspace #creation .studio-decompose-pagination .text-button{min-width:64px;padding:6px 9px}
#workspace #creation .studio-decompose-pagination .text-button:disabled{opacity:.42;cursor:not-allowed}
#workspace #creation .studio-decompose-pagination span{min-width:68px;text-align:center;font-size:12px}
#workspace #creation .studio-all-tasks{margin-top:12px}
#workspace #creation .studio-all-tasks>details>summary{cursor:pointer;color:#647b97;font-size:12px;padding:5px 0}
#workspace #creation #cr-link-tasks>.cr-link-history-toggle{display:block;margin:8px auto 0;padding:7px 12px;color:#287ae5}
#workspace #creation .board-creation-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){#workspace #creation .studio-decompose-results{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace #creation .ct-library .studio-decompose-results{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){#workspace #creation .studio-decompose-row{grid-template-columns:54px minmax(0,1fr);gap:9px}#workspace #creation .studio-decompose-row>.studio-status{grid-column:2;justify-self:start}#workspace #creation .studio-decompose-row .studio-thumbnail-small,#workspace #creation .studio-decompose-row-placeholder{width:54px;height:46px;grid-row:span 2}#workspace #creation .studio-decompose-results{grid-template-columns:minmax(0,1fr)}#workspace #creation .studio-decompose-detail-head .studio-thumbnail-small{width:72px;height:54px}#workspace #creation .studio-decompose-history-head{align-items:flex-start;flex-direction:column}#workspace #creation .studio-decompose-filter{width:100%}#workspace #creation .studio-decompose-pagination{justify-content:space-between;flex-wrap:wrap}#workspace #creation .studio-decompose-pagination small{flex-basis:100%;margin:0}#workspace #creation .studio-decompose-pagination span{order:2}#workspace #creation .studio-decompose-pagination .text-button:last-child{order:3}}
#workspace.board-layout #creation .studio-hero-motto{position:absolute;right:32px;top:50%;transform:translateY(-50%) rotate(-9deg);font-family:"Kaiti SC","STKaiti","KaiTi",cursive;font-size:23px;font-weight:400;line-height:1.65;letter-spacing:1px;color:#31569b;text-align:center;pointer-events:none}
#workspace #creation .studio-hero-motto span{display:block}
#workspace #creation .studio-hero-motto span+span{padding-left:14px}
#workspace #creation .studio-hero-motto::after{content:"";display:block;width:48px;height:2px;background:#4468ba;border-radius:100%;margin:6px 22px 0 auto;transform:rotate(-8deg)}
#workspace #creation .studio-hero-tools{display:flex;align-items:center;gap:10px;margin:8px 0 14px;flex-wrap:wrap}
#workspace #creation .studio-hero-tools #cr-worker-state{flex:1;margin:0}
#workspace #creation .studio-manual-hint{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px;color:#526b86;font-size:13px}
#workspace #creation .studio-manual-hint button{padding:4px 0}
#studio-manual-dialog{width:min(620px,calc(100vw - 32px));box-sizing:border-box}
#studio-manual-dialog .studio-manual-content{padding:0 20px 20px;line-height:1.7;overflow-wrap:anywhere}
#workspace.board-layout #creation .studio-hero-tools :is(#cr-refresh,.studio-library-button){position:static;inset:auto;margin:0;padding:8px 13px;font-size:12px}
@media(max-width:1000px){#workspace.board-layout #creation .ct-hero{background-position:right 140px center!important}#workspace.board-layout #creation .ct-hero-copy{max-width:62%}#workspace.board-layout #creation .studio-hero-motto{right:20px;font-size:19px}}
@media(max-width:650px){#workspace.board-layout #creation .ct-hero{background-position:70% center!important;padding-bottom:100px;min-height:245px}#workspace.board-layout #creation .ct-hero-copy{max-width:100%}#workspace.board-layout #creation .studio-hero-motto{top:auto;bottom:20px;right:22px;font-size:18px;transform:rotate(-8deg)}#workspace #creation .studio-hero-tools #cr-worker-state{flex-basis:100%}}
#workspace #creation .studio-generation-pane{padding:22px}
#workspace #creation .studio-generation-pane h2{margin:0 0 6px}
#workspace #creation .studio-generation-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:900px;margin:22px auto}
#workspace #creation .studio-generation-form>label{display:grid;gap:7px;color:#526982;font-size:13px}
#workspace #creation .studio-generation-form>label:nth-child(3){grid-column:1/-1}
#workspace #creation .studio-generation-form select,#workspace #creation .studio-generation-form textarea{width:100%;border:1px solid #d3e0ef;border-radius:9px;background:#fbfdff;padding:11px 12px;color:#263e60;font:inherit}
#workspace #creation .studio-generation-form textarea{resize:vertical;min-height:120px}
#workspace #creation .studio-generation-settings{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#workspace #creation .studio-generation-settings label{display:grid;gap:6px;color:#667d99;font-size:12px}
#workspace #creation .studio-generation-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
#workspace #creation .studio-generation-state{flex:1;min-width:240px;margin:0;color:#667d99;font-size:13px}
#workspace #creation .studio-ark-asset-input,#workspace #creation .studio-reference-object-upload{display:grid;gap:8px;width:100%;color:#617793;font-size:12px}
#workspace #creation .studio-ark-asset-input[hidden],#workspace #creation .studio-reference-object-upload[hidden]{display:none!important}
#workspace #creation .studio-ark-asset-input input,#workspace #creation .studio-reference-object-upload input{position:static;width:100%;height:auto;opacity:1;pointer-events:auto;box-sizing:border-box;max-width:100%;padding:9px;border:1px solid #d3e0ef;border-radius:7px}
#workspace #creation .studio-reference-upload [hidden]{display:none!important}
@media(max-width:650px){#workspace #creation .studio-generation-form{grid-template-columns:minmax(0,1fr)}#workspace #creation .studio-generation-form>label:nth-child(3),#workspace #creation .studio-generation-settings{grid-column:auto}#workspace #creation .studio-generation-settings{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace #creation .studio-generation-actions{align-items:stretch}#workspace #creation .studio-generation-state{flex-basis:100%}}
