/* Workflow catalog: one calm scroll surface, concise cards, no nested actions. */
.workflow-studio-view.active-view{display:flex;flex:1;min-height:0;overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 30px rgba(15,23,42,.05)}
.workflow-shell{display:flex;flex:1;min-height:0;flex-direction:column;background:#fff}
.workflow-head{flex:0 0 auto;min-height:74px;padding:16px 20px;border-bottom:1px solid #edf0f4;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}
.workflow-head h2{margin:0;color:#182230;font-size:20px;letter-spacing:0}.workflow-head p{margin:4px 0 0;color:#667085;font-size:13px;line-height:1.5}.workflow-search{position:relative;width:230px}.workflow-search span{position:absolute;left:11px;top:50%;z-index:1;transform:translateY(-50%);color:#94a3b8}.workflow-search input{height:36px;padding:0 12px 0 31px;border-radius:8px;background:#f8fafc;color:#344054;font-size:12px}
.workflow-catalog{display:grid;flex:1;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start;overflow:auto;padding:16px 20px 24px;background:#f8fafc;scrollbar-color:#cbd5e1 transparent}.workflow-catalog::-webkit-scrollbar{width:9px}.workflow-catalog::-webkit-scrollbar-thumb{border:2px solid #f8fafc;border-radius:99px;background:#cbd5e1}
.wf-card{display:flex;min-width:0;min-height:184px;flex-direction:column;padding:15px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#182230;box-shadow:none}.wf-card:hover{border-color:#b9c9df;box-shadow:0 6px 18px rgba(15,23,42,.07);transform:none}.wf-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.wf-card-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:9px;background:#fff7ed;color:#ea580c;font-size:18px;font-weight:900}.wf-card-tag{padding:4px 7px;border:1px solid #e6ebf1;border-radius:999px;background:#f8fafc;color:#667085;font-size:11px;font-weight:750}.wf-card h3{margin:13px 0 7px;color:#182230;font-size:15px;letter-spacing:0}.wf-card p{display:-webkit-box;min-height:40px;margin:0;overflow:hidden;color:#667085;font-size:12px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:2}.wf-start-btn{width:100%;height:32px;min-height:32px;margin-top:auto;padding:0;border:1px solid #d6e0ec;border-radius:7px;background:#fff;color:#2563eb;font-size:12px;font-weight:800;box-shadow:none}.wf-start-btn:hover{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;filter:none}.wf-indigo .wf-card-icon{background:#eef2ff;color:#4f46e5}.wf-green .wf-card-icon{background:#ecfdf5;color:#059669}.wf-violet .wf-card-icon{background:#f5f3ff;color:#7c3aed}.wf-blue .wf-card-icon{background:#eff6ff;color:#2563eb}.wf-cyan .wf-card-icon{background:#ecfeff;color:#0891b2}.wf-pink .wf-card-icon{background:#fdf2f8;color:#db2777}.wf-amber .wf-card-icon{background:#fffbeb;color:#d97706}.wf-slate .wf-card-icon{background:#f1f5f9;color:#475569}.wf-red .wf-card-icon{background:#fef2f2;color:#dc2626}
.workflow-workspace{display:grid;flex:1;min-height:0;grid-template-columns:minmax(390px,42%) 1fr;background:#fff}.workflow-config{min-height:0;overflow:auto;border-right:1px solid #e2e8f0;background:#fbfcfe;padding:18px}.workflow-preview{min-height:0;overflow:auto;background:#fff;padding:20px}.workflow-back{background:#fff;color:#475467;border:1px solid #d9e1ec;margin-bottom:14px}.wf-brief-head{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin-bottom:14px}.wf-brief-head h3{margin:0 0 6px;font-size:18px}.wf-brief-head p{margin:0 0 12px;color:#667085;line-height:1.55}.wf-brief-head div{display:flex;gap:8px}.wf-fields{display:grid;gap:11px}.wf-field{display:grid;gap:6px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.wf-field span{font-size:12px;font-weight:800;color:#475467}.wf-field textarea{min-height:76px}.wf-generate{width:100%;margin-top:14px;background:#2563eb;color:#fff;height:42px;border-radius:8px}.wf-flow-card,.workflow-result-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px}.wf-flow-card{margin-bottom:14px}.wf-flow-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.wf-flow-head strong{font-size:14px}.wf-flow-head span{font-size:12px;color:#ea580c;background:#fff7ed;border:1px solid #fed7aa;border-radius:999px;padding:4px 8px}.wf-step{display:flex;gap:10px;padding:9px 0;border-top:1px solid #f1f5f9}.wf-step b{margin-top:2px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#fff7ed;color:#ea580c;font-size:11px}.wf-step strong{display:block;font-size:13px}.wf-step p{margin:3px 0 0;color:#667085;font-size:12px}.wf-result-empty{text-align:center;color:#667085;padding:54px 24px}.wf-result-empty h3{color:#111827;margin:0 0 10px}.wf-result-empty p{max-width:460px;margin:8px auto;line-height:1.65}.wf-result-empty span{display:inline-block;margin-top:12px;color:#0f766e;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;padding:5px 9px;font-size:12px}.wf-result-success{display:flex;align-items:center;gap:9px;padding-bottom:14px;border-bottom:1px solid #eef2f6}.wf-result-success span{color:#047857;background:#ecfdf5;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}.wf-result-success small{margin-left:auto;color:#98a2b3}.workflow-result-panel pre{white-space:pre-wrap;line-height:1.65;color:#344054;font-size:13px}.wf-result-actions{display:flex;gap:9px;margin-top:14px}.wf-result-actions button{background:#2563eb;color:#fff;border-radius:8px}.wf-result-actions .ghost{background:#fff;color:#475467}
.wf-result-error{margin:16px 0;padding:12px;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b91c1c;line-height:1.55}.wf-media-preview{display:block;width:100%;max-height:520px;margin:16px 0;object-fit:contain;background:#0f172a;border-radius:8px}.wf-download{display:inline-flex;min-height:36px;align-items:center;justify-content:center;padding:0 14px;border-radius:7px;background:#2563eb;color:#fff;text-decoration:none;font-size:13px;font-weight:800}.wf-generate:disabled{cursor:not-allowed;background:#94a3b8;opacity:.8}.status-submitting span,.status-queued span,.status-processing span,.status-provider_pending span{background:#eff6ff;color:#1d4ed8}.status-failed span{background:#fef2f2;color:#b91c1c}.status-cancelled span{background:#f1f5f9;color:#475569}
/* Ecommerce image expert: reference workflow structure translated into Lobster's restrained SaaS UI. */
.workflow-workspace.ecom-workspace{display:block;overflow:auto;background:#f5f7fa}.ecom-workspace .workflow-config{overflow:visible;border:0;padding:18px 20px 0;background:transparent}.ecom-workspace .workflow-preview{overflow:visible;padding:0 20px 24px;background:transparent}.ecom-workspace .workflow-back{position:sticky;top:0;z-index:5;margin:0 0 12px;box-shadow:0 6px 14px rgba(15,23,42,.04)}
.ecom-intro,.ecom-section,.ecom-image-card,.ecom-history{border:1px solid #dde4ee;border-radius:8px;background:#fff}.ecom-intro{padding:18px 20px;margin-bottom:12px}.ecom-title-row,.ecom-section-head,.ecom-history-head,.ecom-generate-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.ecom-kicker{display:block;margin-bottom:5px;color:#2563eb;font-size:11px;font-weight:800}.ecom-title-row h3{margin:0;color:#172033;font-size:20px}.ecom-title-row p,.ecom-section-head p,.ecom-history-head p{margin:5px 0 0;color:#667085;font-size:12px;line-height:1.55}.ecom-model-state{flex:0 0 auto;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.ecom-model-state.ready{background:#ecfdf5;color:#047857}.ecom-model-state.missing{background:#fef2f2;color:#b91c1c}.ecom-summary{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;padding-top:13px;border-top:1px solid #edf0f4}.ecom-summary span,.ecom-tags span{border:1px solid #e1e7ef;border-radius:999px;background:#f8fafc;color:#526176;padding:5px 8px;font-size:11px}
.ecom-section{margin-bottom:12px;padding:16px}.ecom-section-head{margin-bottom:12px}.ecom-section-head h4,.ecom-history-head h3{margin:0;color:#263244;font-size:14px}.ecom-reference-list{display:flex;min-height:104px;align-items:stretch;gap:10px}.ecom-reference-empty{display:grid;width:100%;place-content:center;gap:3px;border:1px dashed #b9c5d5;border-radius:7px;background:#fafcff;color:#526176;text-align:center}.ecom-reference-empty b{color:#2563eb;font-size:22px}.ecom-reference-empty span{font-size:12px;font-weight:800}.ecom-reference-empty small{font-size:10px;color:#8a98aa}.ecom-reference-list figure{position:relative;width:104px;margin:0;overflow:hidden;border:1px solid #dde4ee;border-radius:7px;background:#fff}.ecom-reference-list img{display:block;width:104px;height:78px;object-fit:cover}.ecom-reference-list figcaption{overflow:hidden;padding:6px;color:#667085;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.ecom-reference-list figure button{position:absolute;top:5px;right:5px;display:grid;width:22px;height:22px;padding:0;place-items:center;border-radius:50%;background:rgba(17,24,39,.78);color:#fff}.ecom-reference-add{width:72px;border:1px dashed #b9c5d5;background:#fafcff;color:#2563eb;font-size:20px}
.ecom-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ecom-product-grid label,.ecom-demand-grid label{display:grid;gap:6px}.ecom-product-grid label.wide{grid-column:1/-1}.ecom-product-grid label>span,.ecom-demand-grid label>span{color:#475467;font-size:11px;font-weight:800}.ecom-product-grid textarea{min-height:68px}.ecom-card-list{display:grid;gap:12px}.ecom-image-card{padding:15px}.ecom-image-card header{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #edf0f4}.ecom-card-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:7px;background:#eff6ff;color:#2563eb;font-size:18px}.ecom-image-card h4{margin:0;color:#263244;font-size:14px}.ecom-image-card header p{margin:3px 0 0;color:#758298;font-size:11px}.ecom-tags{display:flex;margin-left:auto;gap:6px}.ecom-card-check{position:relative;width:18px;height:18px}.ecom-card-check input{position:absolute;opacity:0}.ecom-card-check span{display:block;width:18px;height:18px;border:1px solid #b9c5d5;border-radius:4px;background:#fff}.ecom-card-check input:checked+span{border-color:#2563eb;background:#2563eb}.ecom-card-check input:checked+span:after{content:'✓';display:grid;height:100%;place-items:center;color:#fff;font-size:12px}.ecom-demand-grid{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(260px,1.35fr) minmax(220px,1fr);gap:10px;padding-top:12px}.ecom-demand-grid textarea{min-height:104px;padding:10px;border-color:#dbe3ed;background:#fbfcfe;font-size:12px;line-height:1.55;resize:vertical}
.ecom-generate-bar{margin:12px 0;padding:14px 16px;border:1px solid #dce5ef;border-radius:8px;background:#fff}.ecom-generate-bar div{display:grid;gap:3px}.ecom-generate-bar strong{color:#263244;font-size:12px}.ecom-generate-bar span{color:#758298;font-size:11px}.ecom-generate-bar .wf-generate{width:auto;min-width:126px;margin:0}.ecom-history{padding:0}.ecom-history-head{padding:15px 16px;border-bottom:1px solid #edf0f4}.ecom-history-empty{display:grid;min-height:170px;margin:14px;place-content:center;gap:6px;border:1px dashed #d6dee9;border-radius:7px;color:#8b98aa;text-align:center}.ecom-history-empty b{font-size:24px}.ecom-history-empty strong{color:#526176;font-size:13px}.ecom-history-empty span{font-size:11px}.ecom-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px}.ecom-result-card{overflow:hidden;border:1px solid #dde4ee;border-radius:7px;background:#fff}.ecom-result-media{aspect-ratio:1;background:#f5f7fa}.ecom-result-media img{width:100%;height:100%;object-fit:cover}.ecom-result-pending{display:grid;height:100%;place-content:center;gap:6px;padding:16px;color:#667085;text-align:center}.ecom-result-pending b{font-size:12px;color:#344054}.ecom-result-pending span{font-size:10px;line-height:1.5}.ecom-result-meta{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:10px}.ecom-result-meta>span{padding:3px 5px;border-radius:4px;background:#eff6ff;color:#1d4ed8;font-size:9px}.ecom-result-meta>span.status-failed{background:#fef2f2;color:#b91c1c}.ecom-result-meta strong,.ecom-result-meta small{display:block}.ecom-result-meta strong{font-size:11px}.ecom-result-meta small{margin-top:2px;color:#8a98aa;font-size:9px}.ecom-result-meta a{color:#2563eb;font-size:10px;font-weight:800;text-decoration:none}
/* AI product video: ClawHouse workflow hierarchy adapted to Lobster's neutral enterprise UI. */
.workflow-workspace.product-video-workspace{display:block;overflow:auto;background:#f5f7fa}.product-video-workspace .workflow-config{overflow:visible;border:0;padding:18px 20px 0;background:transparent}.product-video-workspace .workflow-preview{overflow:visible;padding:0 20px 24px;background:transparent}.product-video-workspace .workflow-back{position:sticky;top:0;z-index:5;margin:0 0 12px;box-shadow:0 6px 14px rgba(15,23,42,.04)}
.pv-hero,.pv-section,.pv-result-panel,.pv-generate-bar{border:1px solid #dde4ee;border-radius:8px;background:#fff}.pv-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #dde4ee;border-radius:8px;background:#fff}.pv-toolbar>div{display:flex;align-items:center;gap:7px}.pv-run-mode{padding:5px 8px;border:1px solid #e1e7ef;border-radius:999px;background:#f8fafc;color:#526176;font-size:10px;font-weight:750}.pv-toolbar .ghost{min-height:30px;padding:0 10px}.pv-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px}.pv-kicker{display:block;margin-bottom:5px;color:#2563eb;font-size:11px;font-weight:800}.pv-hero h3{margin:0;color:#172033;font-size:20px}.pv-hero p{margin:5px 0 0;color:#667085;font-size:12px}.pv-head-actions{display:flex;align-items:center;gap:8px}.pv-model-state{padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800}.pv-model-state.ready{background:#ecfdf5;color:#047857}.pv-model-state.missing{background:#fef2f2;color:#b91c1c}
.pv-stepper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:12px 0;border:1px solid #dde4ee;border-radius:8px;overflow:hidden;background:#e9eef5}.pv-stepper>div{display:flex;min-height:70px;align-items:center;gap:11px;padding:13px 16px;background:#fff}.pv-stepper b{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;background:#f1f5f9;color:#64748b;font-size:12px}.pv-stepper .active{background:#f8fbff;box-shadow:inset 0 3px #2563eb}.pv-stepper .active b{background:#2563eb;color:#fff}.pv-stepper span{display:grid;gap:3px}.pv-stepper small{color:#94a3b8;font-size:10px}.pv-stepper strong{color:#334155;font-size:13px}
.pv-section{margin-bottom:12px;padding:16px}.pv-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.pv-section-head>div{display:flex;align-items:center;gap:10px}.pv-section-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;background:#eff6ff;color:#2563eb;font-size:16px;font-weight:800}.pv-section-head h4,.pv-result-head h3{margin:0;color:#263244;font-size:14px}.pv-section-head p,.pv-result-head p{margin:4px 0 0;color:#758298;font-size:11px;line-height:1.5}.pv-section-head>strong{color:#64748b;font-size:11px}.pv-image-list{display:flex;min-height:116px;align-items:stretch;gap:10px}.pv-upload-empty{display:grid;width:118px;place-content:center;gap:4px;border:1px dashed #b9c5d5;border-radius:7px;background:#fafcff;color:#526176;text-align:center}.pv-upload-empty b{color:#2563eb;font-size:21px}.pv-upload-empty span{font-size:12px;font-weight:800}.pv-upload-empty small{color:#8a98aa;font-size:9px}.pv-image-list figure{position:relative;width:112px;margin:0;overflow:hidden;border:1px solid #dde4ee;border-radius:7px;background:#fff}.pv-image-list img{display:block;width:112px;height:84px;object-fit:cover}.pv-image-list figcaption{overflow:hidden;padding:7px;color:#667085;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.pv-image-list figure button{position:absolute;top:5px;right:5px;display:grid;width:22px;height:22px;padding:0;place-items:center;border-radius:50%;background:rgba(17,24,39,.78);color:#fff}.pv-image-add{width:70px;border:1px dashed #b9c5d5;background:#fafcff;color:#2563eb;font-size:20px}.pv-limit-note{margin:10px 0 0;color:#64748b;font-size:10px;line-height:1.55}
.pv-two-col,.pv-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pv-two-col label,.pv-config-grid label{display:grid;gap:6px}.pv-two-col label>span,.pv-config-grid label>span{color:#475467;font-size:11px;font-weight:800}.pv-two-col textarea{min-height:106px}.pv-two-col small{color:#8a98aa;font-size:10px;line-height:1.45}.pv-config-grid label.wide{grid-column:1/-1}.pv-config-grid textarea{min-height:82px}.pv-config-grid select{height:38px;padding:0 10px;border:1px solid #dbe3ed;border-radius:7px;background:#fbfcfe;color:#344054}.pv-generate-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:14px 16px}.pv-generate-bar>div{display:grid;gap:3px}.pv-generate-bar strong{color:#263244;font-size:12px}.pv-generate-bar span{color:#758298;font-size:11px}.pv-generate-bar .wf-generate{width:auto;min-width:130px;margin:0}
.pv-result-panel{padding:0}.pv-result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #edf0f4}.pv-result-empty{display:grid;min-height:170px;margin:14px;place-content:center;gap:6px;border:1px dashed #d6dee9;border-radius:7px;color:#8b98aa;text-align:center}.pv-result-empty b{font-size:24px}.pv-result-empty strong{color:#526176;font-size:13px}.pv-result-empty span{font-size:11px}.pv-job-status{padding:5px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:10px;font-weight:800}.pv-job-status.status-succeeded{background:#ecfdf5;color:#047857}.pv-job-status.status-failed{background:#fef2f2;color:#b91c1c}.pv-video-preview{display:block;width:calc(100% - 28px);max-height:560px;margin:14px;object-fit:contain;border-radius:7px;background:#0f172a}.pv-result-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.pv-result-meta strong,.pv-result-meta small{display:block}.pv-result-meta strong{color:#263244;font-size:13px}.pv-result-meta small{margin-top:4px;color:#8a98aa;font-size:10px}
/* Local business video: compact three-column operational workspace. */
.workflow-workspace.local-business-workspace{position:relative;display:grid;grid-template-columns:minmax(250px,1fr) minmax(270px,1fr) minmax(260px,1fr);overflow:auto;background:#f5f7fa;padding:16px 16px 82px;gap:12px}.local-business-workspace .workflow-config,.local-business-workspace .workflow-preview{min-width:0;overflow:visible;border:0;padding:0;background:transparent}.local-business-workspace .workflow-config{display:contents}.local-business-workspace .workflow-back{position:absolute;top:16px;left:16px;z-index:2;margin:0}.local-business-workspace #workflowBriefPanel{grid-column:1;padding-top:45px}.local-business-workspace #workflowFlowPanel{grid-column:2;padding-top:45px}.local-business-workspace #workflowResultPanel{grid-column:3;margin-top:45px}.lb-column,.lb-result-panel{border:1px solid #dde4ee;border-radius:8px;background:#fff}.lb-column{display:grid;gap:12px;padding:15px}.lb-column>header,.lb-assets-head,.lb-result-head,.lb-result-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.lb-column>header{justify-content:flex-start;padding-bottom:11px;border-bottom:1px solid #edf0f4}.lb-column>header>span{display:grid;width:27px;height:27px;place-items:center;border-radius:7px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:800}.lb-column h3,.lb-column h4,.lb-result-head h3{margin:0;color:#263244;font-size:14px}.lb-column header p,.lb-assets p,.lb-result-head p{margin:3px 0 0;color:#758298;font-size:11px;line-height:1.45}.lb-required,.lb-profile>div{display:grid;gap:9px}.lb-column label,.lb-settings label{display:grid;gap:5px}.lb-column label>span,.lb-settings label>span{color:#475467;font-size:11px;font-weight:800}.lb-column input,.lb-column textarea,.lb-column select{min-width:0;border-color:#dbe3ed;background:#fbfcfe;font-size:12px}.lb-column textarea{min-height:70px;resize:vertical}.lb-profile{border-top:1px solid #edf0f4;padding-top:11px}.lb-profile summary{cursor:pointer;color:#344054;font-size:12px;font-weight:800}.lb-profile>div{padding-top:10px}.lb-assets{border-top:1px solid #edf0f4;padding-top:11px}.lb-assets-head>strong{color:#64748b;font-size:11px}.lb-asset-list{display:flex;min-height:74px;flex-wrap:wrap;gap:7px;margin-top:9px}.lb-asset-empty{display:grid;flex:1;min-height:74px;place-content:center;gap:3px;border:1px dashed #b9c5d5;border-radius:7px;background:#fafcff;color:#526176;text-align:center}.lb-asset-empty b,.lb-asset-add{color:#2563eb;font-size:18px}.lb-asset-empty span{font-size:11px;font-weight:800}.lb-asset-empty small{color:#8a98aa;font-size:9px}.lb-asset{display:flex;max-width:100%;align-items:center;gap:5px;padding:6px 7px;border:1px solid #dde4ee;border-radius:6px;background:#fbfcfe;color:#526176;font-size:10px}.lb-asset span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lb-asset button{display:grid;width:18px;height:18px;padding:0;place-items:center;border-radius:50%;background:#64748b;color:#fff;font-size:11px}.lb-asset-add{width:46px;border:1px dashed #b9c5d5;border-radius:7px;background:#fafcff}.lb-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.lb-settings select{height:34px;padding:0 6px}.lb-copy-actions{display:flex;justify-content:space-between;gap:7px}.lb-copy-actions .ghost{min-height:30px;padding:0 8px;font-size:11px}.lb-copy{min-height:118px}.lb-audio-row{display:grid;grid-template-columns:1fr auto;gap:7px}.lb-audio-row select{height:34px;padding:0 7px}.lb-audio-row button{min-width:74px;border:1px solid #dbe3ed;border-radius:7px;background:#f1f5f9;color:#94a3b8;font-size:10px}.lb-summary{border-top:1px solid #edf0f4;padding-top:11px}.lb-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0 0}.lb-summary dl div{min-width:0}.lb-summary dt{color:#98a2b3;font-size:10px}.lb-summary dd{overflow:hidden;margin:2px 0 0;color:#475467;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.lb-result-panel{min-height:260px;padding:0}.lb-result-head{padding:14px 15px;border-bottom:1px solid #edf0f4}.lb-result-head .ghost{min-height:30px;padding:0 9px}.lb-result-empty{display:grid;min-height:185px;margin:14px;place-content:center;gap:6px;border:1px dashed #d6dee9;border-radius:7px;color:#8b98aa;text-align:center}.lb-result-empty b{font-size:24px}.lb-result-empty strong{color:#526176;font-size:13px}.lb-result-empty span{font-size:11px}.lb-job-status{margin:13px 14px 0;padding:7px 9px;border-radius:6px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:800}.lb-job-status.status-succeeded{background:#ecfdf5;color:#047857}.lb-job-status.status-failed{background:#fef2f2;color:#b91c1c}.lb-video-preview{display:block;width:calc(100% - 28px);max-height:440px;margin:14px;object-fit:contain;border-radius:7px;background:#0f172a}.lb-result-meta{padding:14px 15px}.lb-result-meta strong,.lb-result-meta small{display:block}.lb-result-meta strong{color:#263244;font-size:12px}.lb-result-meta small{margin-top:3px;color:#8a98aa;font-size:10px}.lb-generate-bar{position:absolute;right:16px;bottom:14px;left:16px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #cfdbe9;border-radius:8px;background:rgba(255,255,255,.97);box-shadow:0 4px 14px rgba(15,23,42,.08)}.lb-generate-bar>div{display:grid;gap:2px;min-width:0}.lb-generate-bar strong{overflow:hidden;color:#263244;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.lb-generate-bar span{color:#758298;font-size:10px}.lb-generate-bar .wf-generate{width:auto;min-width:116px;margin:0}
@media(max-width:760px){.pv-hero,.pv-generate-bar{align-items:stretch;flex-direction:column}.pv-head-actions{align-items:stretch;flex-direction:column}.pv-stepper,.pv-two-col,.pv-config-grid{grid-template-columns:1fr}.pv-config-grid label.wide{grid-column:auto}.pv-generate-bar .wf-generate{width:100%}}
@media(max-width:1000px){.workflow-workspace.local-business-workspace{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:60px}.local-business-workspace #workflowBriefPanel{grid-column:1;padding-top:0}.local-business-workspace #workflowFlowPanel{grid-column:2;padding-top:0}.local-business-workspace #workflowResultPanel{grid-column:1/-1;margin-top:0}.local-business-workspace .workflow-back{top:14px}.lb-result-panel{min-height:190px}}
@media(max-width:650px){.workflow-workspace.local-business-workspace{display:block;padding:54px 12px 94px}.local-business-workspace #workflowBriefPanel,.local-business-workspace #workflowFlowPanel,.local-business-workspace #workflowResultPanel{margin:0 0 12px;padding:0}.local-business-workspace .workflow-back{left:12px}.lb-settings{grid-template-columns:1fr}.lb-generate-bar{right:12px;bottom:10px;left:12px;align-items:stretch;flex-direction:column}.lb-generate-bar .wf-generate{width:100%}}
@media(max-width:520px){.pv-stepper>div{min-height:58px;padding:10px}.pv-stepper b{width:28px;height:28px}.pv-image-list{overflow-x:auto}.product-video-workspace .workflow-config,.product-video-workspace .workflow-preview{padding-left:12px;padding-right:12px}}

@media(max-width:1000px){.workflow-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-workspace{grid-template-columns:1fr}.workflow-config{border-right:0;border-bottom:1px solid #e2e8f0}.workflow-search{width:100%}.workflow-head{align-items:stretch;flex-direction:column}}@media(max-width:650px){.workflow-studio-view.active-view{min-height:680px}.workflow-catalog{grid-template-columns:1fr;padding:12px}.workflow-head{padding:14px}.wf-card{min-height:168px}}

/* Keep all three local-business panels in the workspace grid and reserve space for generation. */
.local-business-workspace .workflow-config,
.local-business-workspace .workflow-preview{display:contents}
.local-business-workspace .lb-generate-bar{position:static!important;grid-column:1/-1;grid-row:auto;width:auto;margin:0;inset:auto!important;align-self:start}
@media(max-width:1000px){
  .local-business-workspace .lb-generate-bar{grid-column:1/-1}
}
@media(max-width:650px){
  .local-business-workspace .workflow-config,
  .local-business-workspace .workflow-preview{display:contents}
  .local-business-workspace .lb-generate-bar{position:static!important;width:auto;margin:0 0 12px;inset:auto!important}
}

/* Specialized media workflows: honest three-panel setup for source-driven protocols. */
.workflow-workspace.specialized-workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:16px;overflow:auto;padding:16px;background:#fff}
.specialized-workspace .workflow-config,.specialized-workspace .workflow-preview{display:contents}
.specialized-workspace .workflow-back{grid-column:1/-1;justify-self:start;width:32px;height:32px;margin:0;padding:0;overflow:hidden;border-color:transparent;background:transparent;color:transparent;font-size:0}
.specialized-workspace .workflow-back::before{content:'←';color:#64748b;font-size:18px}.specialized-workspace .workflow-back:hover{border-color:#dbe3ed;background:#f8fafc}
.specialized-workspace #workflowBriefPanel,.specialized-workspace #workflowFlowPanel,.specialized-workspace #workflowResultPanel{min-width:0}
.specialized-workspace #workflowFlowPanel{display:none}
.sp-workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sp-panel{border:1px solid #dce4ee;border-radius:8px;background:#fff;padding:15px}
.sp-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #edf0f4}
.sp-panel>header>span{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border-radius:7px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:800}
.sp-panel h3{margin:0;color:#263244;font-size:14px}.sp-panel header p{margin:3px 0 0;color:#758298;font-size:11px;line-height:1.45}
.sp-file-list{display:flex;min-height:150px;gap:9px;margin-top:8px;overflow:hidden}
.sp-file-head{display:flex;align-items:center;justify-content:space-between;margin-top:13px;color:#667085;font-size:10px}.sp-file-head strong{color:#344054}
.sp-upload-empty{display:grid;width:100%;place-content:center;gap:5px;border:1px dashed #cbd5e1;border-radius:7px;background:#fff;color:#475467;text-align:center}.sp-upload-empty:hover{border-color:#93b4ef;background:#f8fbff}
.sp-upload-empty b{color:#2563eb;font-size:30px;font-weight:400;line-height:1}.sp-upload-empty span{font-size:13px;font-weight:700}.sp-upload-empty small{padding:0 10px;color:#94a3b8;font-size:10px}
.sp-file-list figure{position:relative;width:100%;margin:0;overflow:hidden;border:1px solid #dde4ee;border-radius:7px;background:#fff}.sp-file-list img,.sp-file-icon{display:grid;width:100%;height:118px;place-items:center;object-fit:contain;background:#f8fafc;color:#526176;font-size:12px;font-weight:800}
.sp-file-role{position:absolute;left:5px;top:57px;max-width:88px;overflow:hidden;padding:3px 5px;border-radius:4px;background:rgba(15,23,42,.76);color:#fff;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.sp-file-add{display:grid;width:46px;min-width:46px;height:116px;place-items:center;border:1px dashed #b7c4d4;border-radius:7px;background:#fafcff;color:#2563eb;font-size:20px}
.sp-file-list figcaption{overflow:hidden;padding:7px;color:#667085;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.sp-file-list figure button{position:absolute;top:5px;right:5px;display:grid;width:22px;height:22px;padding:0;place-items:center;border-radius:50%;background:rgba(17,24,39,.78);color:#fff}
.sp-local-note{margin:9px 0 13px;color:#7b8798;font-size:10px;line-height:1.55}
.sp-header-actions{display:flex;gap:6px}.sp-header-actions button{height:30px;padding:0 9px;background:#fff;color:#64748b;font-size:10px}
.sp-fields{display:grid;gap:10px}.sp-fields label{display:grid;gap:6px}.sp-fields label>span{color:#475467;font-size:11px;font-weight:800}.sp-fields label em{margin-left:4px;color:#98a2b3;font-size:9px;font-style:normal;font-weight:600}.sp-fields input,.sp-fields textarea{min-width:0;border-color:#dbe3ed;background:#fbfcfe;font-size:12px}.sp-fields textarea{min-height:84px;resize:vertical}.sp-fields .invalid{border-color:#ef4444;background:#fffafa;box-shadow:0 0 0 2px rgba(239,68,68,.08)}
.sp-validation{margin:10px 0 0;padding:9px 10px;border-radius:6px;background:#fef2f2;color:#b42318;font-size:10px;line-height:1.5}.sp-validation.hidden{display:none}
.sp-steps{display:grid;gap:0;margin:12px 0;padding:0;list-style:none}.sp-steps li{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf0f4;color:#475467;font-size:12px}.sp-steps b{display:grid;width:22px;height:22px;flex:0 0 auto;place-items:center;border-radius:6px;background:#f1f5f9;color:#64748b;font-size:10px}.sp-plan-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.sp-plan-actions button{min-width:0;padding:0 8px}.sp-plan-actions button:last-child{grid-column:1/-1}
.sp-result-panel{align-self:start}.sp-result-empty{display:grid;min-height:265px;margin-top:12px;place-content:center;gap:6px;border:1px dashed #d6dee9;border-radius:7px;color:#8b98aa;text-align:center}.sp-result-empty b{color:#2563eb;font-size:26px;font-weight:400}.sp-result-empty strong{color:#526176;font-size:12px}.sp-result-empty span{font-size:10px}.sp-result-panel .wf-generate{margin-top:12px;background:#2563eb}
@media(max-width:900px){.workflow-workspace.specialized-workspace{grid-template-columns:1fr}.specialized-workspace .workflow-back{grid-column:1}.specialized-workspace #workflowResultPanel{grid-column:1}}
@media(max-width:650px){.workflow-workspace.specialized-workspace{display:block;padding:12px}.specialized-workspace .workflow-back,.specialized-workspace #workflowBriefPanel,.specialized-workspace #workflowFlowPanel,.specialized-workspace #workflowResultPanel{margin-bottom:12px}.sp-plan-actions{grid-template-columns:1fr}}
