@keyframes studio-spin{to{transform:rotate(360deg)}}@keyframes wf-dialog-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@keyframes wf-edge-flow{0%{stroke-dashoffset:0}to{stroke-dashoffset:-48}}@keyframes fs-spin{to{transform:rotate(360deg)}}:root{--bg-primary:var(--bg, var(--bg-canvas));--bg-card:var(--card, var(--bg-elevated));--bg-input:var(--card-2, var(--bg-elevated));--border-primary:var(--line, rgba(217, 119, 6, 0.32));--text-primary:var(--text, #fffbeb);--text-secondary:var(--muted, #cbd5e1);--text-muted:var(--dim, #94a3b8);--topbar-height:62px;--header-height:62px}#v-workflow-templates.on,#v-workflow.on{display:block;padding:0 18px 14px;overflow-y:auto;overflow-x:hidden}#v-workflow .btn-primary,#v-workflow-templates .btn-primary{background:var(--grad);border-color:transparent;color:#fff;font-weight:700;box-shadow:0 8px 24px -8px rgba(234,88,12,.9)}#v-workflow .btn-secondary,#v-workflow-templates .btn-secondary{background:var(--card-2);border:1px solid var(--line-2);color:var(--text)}#v-workflow .btn-danger,#v-workflow-templates .btn-danger{background:rgba(220,38,38,.18);border:1px solid rgba(248,113,113,.45);color:#fda4af}#v-workflow .btn-sm,#v-workflow-templates .btn-sm{padding:5px 10px;font-size:11.5px;border-radius:7px}.hnd-exec-mode-bar{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border-radius:13px;background:var(--bg-surface);border:1px solid rgba(249, 115, 22,.35);margin-bottom:6px}.hnd-exec-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border:1px solid transparent;border-radius:9px;background:0 0;color:var(--muted, #cbd5e1);font-size:12px;font-weight:700;cursor:pointer;transition:all .16s ease;white-space:nowrap}.hnd-exec-btn:hover{color:#fff;background:rgba(255,255,255,.05)}.hnd-exec-btn.is-active[data-exec-mode=api]{background:linear-gradient(135deg,#10b981,#059669);border-color:rgba(110,231,183,.75);color:#fff;box-shadow:0 6px 18px -4px rgba(16,185,129,.75)}.hnd-exec-btn.is-active[data-exec-mode=browser]{background:linear-gradient(135deg,#ea580c,#d97706);border-color:rgba(251,191,36,.75);color:#fff;box-shadow:0 6px 18px -4px rgba(234,88,12,.75)}.hnd-exec-hint{font-size:11px;color:#94a3b8;margin:-2px 0 4px;padding:0 4px;line-height:1.4}#wfValidation.is-valid,.hnd-exec-hint b{color:#34d399}.hnd-api-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:700;margin-left:6px}.hnd-api-badge.ok{background:rgba(16,185,129,.18);border:1px solid rgba(52,211,153,.5);color:#6ee7b7}.hnd-api-badge.warn{background:rgba(249, 115, 22,.16);border:1px solid rgba(251,191,36,.45);color:#fcd34d}.wf-list-page{padding:22px 22px 48px;color:#e7eef8;background:var(--bg-canvas);box-sizing:border-box;border-radius:16px;border:1px solid var(--border-primary)}.wf-list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.wf-list-heading h1{margin:0;color:#f5f8fc;font-size:22px;letter-spacing:0}.wf-list-heading p{margin:5px 0 0;color:#7f90a8;font-size:12px}.wf-list-heading>div:last-child{display:flex;gap:8px}.wf-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wf-list-card{min-height:145px;display:flex;flex-direction:column;padding:17px;border:1px solid var(--bg-elevated);border-radius:7px;background:var(--bg-elevated);cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.wf-list-card:focus-visible,.wf-list-card:hover{border-color:#496a91;box-shadow:0 14px 30px var(--bg-surface);transform:translateY(-1px);outline:0}.wf-list-card>header{display:flex;align-items:flex-start;gap:9px}.wf-list-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border-radius:5px;background:var(--bg-elevated);font-size:9px;font-weight:900}.wf-list-card h2{min-width:0;flex:1;margin:5px 0 0;overflow:hidden;color:#f0f4fa;font-size:13px;text-overflow:ellipsis;white-space:nowrap;letter-spacing:0}.wf-list-actions{display:flex;gap:3px;transition:opacity .18s ease}.wf-list-card:focus-within .wf-list-actions,.wf-list-card:hover .wf-list-actions{opacity:1}.wf-list-actions button{border:1px solid var(--bg-elevated);border-radius:4px;background:var(--bg-elevated);color:#aab8cb;font-size:9px;cursor:pointer}.wf-list-actions button:hover{border-color:#4f78ba;color:#dce8ff}.wf-list-actions button.is-danger:hover{border-color:#b34351;color:#ff8792}.wf-list-card>p{margin:15px 0;color:#7f90a8;font-size:11px;line-height:1.55}.wf-list-card>footer{display:flex;justify-content:space-between;margin-top:auto;color:#667991;font-size:10px}.wf-list-empty{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px dashed var(--bg-elevated);border-radius:7px;color:#7588a1;text-align:center}.wf-list-empty>span{width:48px;height:48px;display:grid;place-items:center;margin-bottom:13px;border:1px solid var(--bg-elevated);border-radius:7px;background:var(--bg-elevated);color:#86a9d5;font-weight:900}.wf-list-empty strong{color:#b9c6d8;font-size:13px}.wf-list-empty p{margin:7px 0 16px;font-size:11px}.workflow-studio-shell{height:calc(100vh - var(--header-height, 62px) - 24px);display:grid;background:var(--bg-canvas);border:1px solid var(--bg-elevated);overflow:hidden;border-radius:14px}.workflow-studio-shell:fullscreen{width:100vw;height:100vh;min-height:0;border-radius:0}.wf-commandbar{display:flex;align-items:center;background:var(--bg-elevated);border-bottom:1px solid var(--bg-elevated)}#wfInspectorBody label,.wf-brand{display:flex;flex-direction:column}.wf-brand{width:220px;line-height:1.1}.wf-brand small,.wf-inspector>header small{color:#38d4f2;font-size:9px;font-weight:800}.wf-brand strong{color:#f4f7fb;font-size:14px;margin-top:4px}.wf-commandbar>label,.wf-library>header{display:flex;align-items:center;gap:7px;color:#8292aa;font-size:11px}.wf-commandbar select,.wf-icon{height:36px;border:1px solid var(--bg-elevated);border-radius:5px;background:var(--bg-surface)}.wf-commandbar select{color:#eef4ff;padding:0 28px 0 10px}.wf-commandbar .btn{min-width:auto;border-radius:5px;white-space:nowrap}.wf-commandbar .wf-spacer{flex:1}.wf-icon{width:36px;color:#e9f1ff;font-size:20px;cursor:pointer}.wf-layout{min-height:0;display:grid}.wf-inspector,.wf-library{min-width:0;background:var(--bg-surface);overflow:auto}.wf-library{border-right:1px solid var(--bg-elevated);padding:10px 8px}.wf-library>header{padding:3px 3px 11px;color:#d9e4f4}.wf-library>header i{width:12px;height:12px;background:#16b8c9;box-shadow:0 0 12px #16b8c9}.wf-library-group{margin:0 0 13px}.wf-library-group h3{margin:0 0 6px 3px;color:#5f728d;font-size:9px}.wf-library-group button{width:100%;height:35px;display:flex;align-items:center;gap:8px;margin:0 0 5px;padding:0 8px;border:1px solid transparent;border-radius:5px;background:var(--bg-elevated);color:#cbd7e8;text-align:left;cursor:grab}.wf-library-group button:hover{border-color:var(--node-color);color:#fff}.wf-library-group button i{width:12px;height:18px;border-radius:3px;background:var(--node-color);flex:0 0 auto}.wf-viewport{position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--bg-canvas);touch-action:none}#wfEdges,.wf-grid{position:absolute;inset:0}.wf-grid{background-size:20px 20px}.wf-board{position:absolute;left:0;top:0;width:2600px;height:2200px;transform-origin:0 0}#wfEdges{overflow:visible;pointer-events:none}#wfEdges path{fill:none;stroke:#506887;pointer-events:stroke;cursor:pointer;stroke:var(--edge-color);stroke-dasharray:5 4;stroke-width:2}#wfEdges path.wf-link-preview{stroke-width:2.5;stroke-dasharray:6 5;pointer-events:none;opacity:.9}.wf-node{position:absolute;width:270px;min-height:112px;border:1px solid var(--bg-elevated);border-radius:6px;background:var(--bg-elevated);color:#dce6f5;box-shadow:0 8px 18px var(--bg-surface);user-select:none}.wf-node:hover{border-color:#607895}.wf-node.is-selected{border-color:#ffab13;box-shadow:0 0 0 1px #ffab13,0 10px 25px var(--bg-surface)}.wf-node.is-connecting{box-shadow:0 0 0 2px #22d3ee}.wf-node-head{height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-radius:5px 5px 0 0;background:var(--node-color);color:#fff;font-size:11px;font-weight:800;cursor:move}.wf-node-head i{width:8px;height:8px;border:2px solid rgba(255,255,255,.7);border-radius:50%}.wf-node[data-state=running] .wf-node-head i{background:#fbbf24;box-shadow:0 0 9px #fbbf24}.wf-node[data-state=done] .wf-node-head i{background:#34d399}.wf-node[data-state=error] .wf-node-head i{background:#fb4b5c}.wf-node-body p{margin:0;color:#9cadc3;font-size:10px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wf-batch-badge{display:inline-block;margin-top:9px;padding:3px 5px;border:1px solid #42617f;border-radius:3px;color:#72dff1;font-size:8px}.wf-port{position:absolute;width:13px;height:13px;padding:0;border:2px solid #b8c7dc;border-radius:50%;background:var(--bg-surface);transform:translateY(-50%);cursor:crosshair;z-index:3}.wf-port:hover{background:#ffad19;border-color:#fff;transform:translateY(-50%) scale(1.25)}.wf-port-in{left:-7px}.wf-port-out{right:-7px}.wf-inspector{border-left:1px solid var(--bg-elevated)}.wf-inspector>header{display:flex;flex-direction:column;gap:5px;padding:14px;border-bottom:1px solid var(--bg-elevated)}.wf-inspector>header small{color:#37d5ed}.wf-inspector>header strong{color:#fff;font-size:14px}#wfValidation{color:#ef6672;font-size:9px;line-height:1.4}#wfInspectorBody{padding:14px}#wfInspectorBody label{gap:6px;margin-bottom:13px;font-weight:700}#wfInspectorBody input,#wfInspectorBody select,#wfInspectorBody textarea{width:100%;border:1px solid var(--bg-elevated);border-radius:5px;background:var(--bg-surface);color:#e7eef9;padding:8px;font:inherit;font-weight:500;resize:vertical}#wfInspectorBody hr{height:1px;margin:18px 0;border:0;background:var(--bg-elevated)}.wf-file-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.wf-file-row button{border:1px solid #ffad19;border-radius:5px;background:var(--bg-elevated);color:#ffbf38;cursor:pointer}.wf-delete-node,.wf-retry-node{width:100%;margin-top:8px}.wf-node-results{display:grid;gap:6px;margin:12px 0}#wfInspectorBody label,.wf-node-results>strong,.wf-zoom span{color:#9eacc1;font-size:10px}.wf-result-button{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wf-empty-inspector{color:#71839e;font-size:11px;line-height:1.6}.wf-minimap,.wf-zoom{position:absolute;bottom:12px;overflow:hidden;border:1px solid var(--bg-elevated)}.wf-zoom{left:12px;display:grid;align-items:center;border-radius:5px;background:var(--bg-surface)}.wf-zoom button{height:30px;border:0;background:0 0;color:#dce7f6;font-size:17px;cursor:pointer}.wf-zoom span{color:#9cafc7;text-align:center}.wf-minimap{right:12px;background:var(--bg-surface)}.wf-minimap i{position:absolute;width:12px;height:6px;border-radius:1px}.wf-runtime{min-height:0;display:grid;align-items:center;gap:12px;padding:10px;border-top:1px solid var(--bg-elevated);background:var(--bg-surface)}.wf-runtime>div:first-child{display:flex;flex-direction:column;gap:5px;color:#f0f5fc;font-size:11px}.wf-runtime>div:first-child span{color:#7387a3;font-size:9px}.wf-progress{height:6px;border-radius:3px;background:var(--bg-elevated);overflow:hidden}.wf-progress i{display:block;width:0;height:100%;background:#22c98c;transition:width .25s ease}.wf-log{overflow:auto;border:1px solid var(--bg-elevated);background:var(--bg-canvas);color:#9cacbf;padding:8px;font:9px/1.55 Consolas,monospace}.wf-log div{display:grid;grid-template-columns:62px minmax(0,1fr);gap:7px}.wf-log time{color:#526985}.wf-batch-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:30px;background:var(--bg-surface)}.wf-batch-modal.is-hidden{display:none}.wf-batch-dialog{width:min(1180px,94vw);height:min(720px,88vh);display:grid;grid-template-rows:62px 52px minmax(0,1fr) 60px;border:1px solid var(--bg-elevated);border-radius:7px;background:var(--bg-surface);box-shadow:0 24px 70px var(--bg-surface);overflow:hidden}.wf-batch-dialog>header,.wf-batch-toolbar{align-items:center;border-bottom:1px solid var(--bg-elevated)}.wf-batch-dialog>header{display:flex;justify-content:space-between;padding:0 16px}.wf-batch-dialog>header div,.wf-run-dialog>header>div{display:flex;flex-direction:column;gap:3px}.wf-batch-dialog>header small{color:#32d3eb;font-size:9px;font-weight:800}.wf-batch-dialog>header strong{color:#fff;font-size:15px}.wf-batch-dialog>header button{border:0;background:0 0;color:#95a5bb;font-size:20px;cursor:pointer}.wf-batch-toolbar{display:grid;grid-template-columns:auto auto 1fr auto;gap:8px;padding:8px 12px}.wf-batch-toolbar b{color:#f7b52d;font-size:10px}.wf-batch-table-wrap{overflow:auto;padding:10px}.wf-batch-table-wrap table{width:100%;border-collapse:collapse}.wf-batch-table-wrap th{position:sticky;top:0;z-index:1;background:var(--bg-elevated);color:#8fa1ba;font-size:9px;text-align:left}.wf-batch-table-wrap td,.wf-batch-table-wrap th{min-width:170px;padding:7px;border:1px solid var(--bg-elevated)}.wf-batch-table-wrap td:first-child,.wf-batch-table-wrap td:last-child,.wf-batch-table-wrap th:first-child,.wf-batch-table-wrap th:last-child{min-width:42px;width:42px}.wf-batch-table-wrap input{width:100%;border:1px solid var(--bg-elevated);border-radius:4px;background:var(--bg-surface);color:#e8eff9;padding:8px;font-size:10px}.wf-batch-file-cell{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:5px}.wf-batch-file-cell button{border:1px solid var(--bg-elevated);border-radius:4px;background:var(--bg-elevated);color:#d8e4f4;cursor:pointer}.wf-batch-table-wrap td>button{width:26px;height:26px;border:1px solid #6e3040;border-radius:4px;background:var(--bg-elevated);color:#ff7180;cursor:pointer}.wf-batch-state{color:#71839d;font-size:9px;text-transform:uppercase}.wf-batch-state.is-running{color:#fbbf24}.wf-batch-state.is-done{color:#34d399}.wf-batch-state.is-error{color:#fb5f6d}.wf-batch-dialog>footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:0 14px;border-top:1px solid var(--bg-elevated)}.wf-batch-row-actions{display:flex;justify-content:center}.wf-batch-table-wrap .wf-batch-open,.wf-batch-table-wrap .wf-batch-retry{width:auto;min-width:34px;padding:0 6px}.wf-batch-table-wrap .wf-batch-retry{border-color:#7f611d;background:var(--bg-elevated);color:#ffc447}.wf-batch-table-wrap .wf-batch-open{border-color:#1d735f;background:#0d332c;color:#59deb7}.wf-run-dialog{width:min(620px,94vw);border:1px solid var(--bg-elevated);border-radius:7px;background:var(--bg-elevated);box-shadow:0 24px 70px var(--bg-surface)}.wf-run-dialog>header{min-height:66px;display:flex;align-items:center;justify-content:space-between;padding:10px 18px;border-bottom:1px solid var(--bg-elevated)}.wf-run-dialog>header small{color:#35cde3;font-size:9px;font-weight:800}.wf-run-dialog h2{margin:0;color:#f3f6fb;font-size:15px;letter-spacing:0}.wf-run-dialog>header button{border:0;background:0 0;color:#91a0b5;font-size:20px;cursor:pointer}.wf-run-body{display:flex;flex-direction:column;gap:12px;padding:18px 20px}.wf-run-body>label:first-child{display:flex;flex-direction:column;gap:7px;color:#a9b6c8;font-size:11px;font-weight:700}.wf-run-dialog select{width:100%;height:39px;border:1px solid var(--bg-elevated);border-radius:5px;background:var(--bg-surface);color:#e8eef7;padding:0 10px}.wf-run-body>p{min-height:16px;margin:0;color:#8093ad;font-size:10px;line-height:1.5}.wf-run-check>div,.wf-run-checks{display:flex;flex-direction:column}.wf-run-checks{gap:7px;min-height:168px}.wf-run-check,.wf-run-loading{border:1px solid var(--bg-elevated);background:var(--bg-surface)}.wf-run-check{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:8px 10px}.wf-run-check>i{width:9px;height:9px;border-radius:50%;background:#64748b;box-shadow:0 0 0 3px rgba(100,116,139,.12)}.wf-run-check>div{gap:2px}.wf-run-check strong{color:#e8eef7;font-size:11px}.wf-run-check span{overflow:hidden;color:#71859f;font-size:9px;line-height:1.4;text-overflow:ellipsis}.wf-run-check b{color:#8fa0b7;font-size:9px;white-space:nowrap}.wf-run-check.is-ok{border-color:#17654f}.wf-run-check.is-ok>i{background:#2fd39c;box-shadow:0 0 0 3px rgba(47,211,156,.12)}.wf-run-check.is-ok>b{color:#43d8a7}.wf-run-check.is-warn{border-color:#76591e}.wf-run-check.is-warn>i{background:#f5b72e;box-shadow:0 0 0 3px rgba(245,183,46,.12)}.wf-run-check.is-warn>b{color:#f5c552}.wf-run-check.is-fail{border-color:#72333d}.wf-run-check.is-fail>i{background:#fb5b68;box-shadow:0 0 0 3px rgba(251,91,104,.12)}.wf-run-check.is-fail>b{color:#ff7a85}.wf-run-loading{justify-content:center;min-height:168px;color:#8093ad}.wf-run-confirm,.wf-run-inline-error,.wf-run-loading{display:flex;align-items:center;font-size:10px}.wf-run-inline-error{justify-content:center;min-height:168px;border:1px solid var(--bg-elevated);background:var(--bg-surface);padding:16px;border-color:#72333d;color:#ff8992;text-align:center}.wf-run-loading i{width:14px;height:14px;margin-right:8px;border:2px solid var(--bg-elevated);border-top-color:#36cbe3;border-radius:50%;animation:studio-spin .8s linear infinite}.wf-run-confirm{gap:8px;color:#a6b3c5}.wf-run-confirm input{width:15px;height:15px;accent-color:#F97316}.wf-run-dialog>footer{display:grid;grid-template-columns:auto auto 1fr auto auto auto;gap:8px;align-items:center;padding:13px 18px;border-top:1px solid var(--bg-elevated)}.wf-catalog{padding:24px;max-width:1500px;margin:auto;color:var(--text-primary)}.wf-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--border-primary)}.wf-catalog-heading h1{margin:0;font-size:22px}.wf-catalog-heading p{margin:5px 0 0;color:var(--text-muted);font-size:12px}.wf-categories{display:flex;flex-wrap:wrap;gap:7px;padding:22px 0 16px}.wf-catalog-search label,.wf-categories button{border:1px solid var(--border-primary);border-radius:5px}.wf-categories button{background:var(--bg-card);padding:8px 12px;color:var(--text-secondary);font-size:12px;cursor:pointer;transition:color 160ms,background 160ms,border-color 160ms}.wf-categories button:hover{color:var(--text-primary);border-color:#39cbb0}.wf-categories button.active{color:#fff;background:#147e6a;border-color:#29b596}.wf-catalog-search{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px}.wf-catalog-search label{display:flex;align-items:center;gap:10px;padding:0 12px;background:var(--bg-input);color:var(--text-muted)}.wf-catalog-search input{width:100%;min-width:0;height:42px;border:0;background:0 0;color:var(--text-primary);outline:0}.wf-catalog-search label:focus-within{border-color:#39cbb0}.wf-catalog-search select{min-width:0;padding:0 12px;border-radius:5px;border:1px solid var(--border-primary);background:var(--bg-input);color:var(--text-primary)}.wf-catalog-count{font-size:12px;color:var(--text-muted);margin:22px 0 14px}.wf-catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),270px));gap:20px}.wf-template-card{border:1px solid var(--border-primary);border-radius:8px;overflow:hidden;background:var(--bg-card);min-width:0}.wf-template-entry{display:block;width:100%;padding:0;border:0;background:0 0;color:inherit;text-align:left;cursor:pointer}.wf-template-poster{position:relative;aspect-ratio:9/11;background:var(--bg-surface);overflow:hidden}.wf-template-poster img{width:100%;height:100%;object-fit:cover;transition:transform 350ms ease}.wf-template-card:hover img{transform:scale(1.04)}.wf-free{display:inline-block;padding:4px 8px;border-radius:4px;font-size:10px;font-weight:800;background:#147e6a;color:#aaffdf}.wf-template-poster>.wf-free{position:absolute;top:12px;left:12px}.wf-template-play{position:absolute;bottom:14px;right:14px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--bg-surface);color:#fff;transition:background 180ms,transform 180ms}.wf-template-entry:hover .wf-template-play{background:#167f6c;transform:scale(1.1)}.wf-template-copy{padding:15px}.wf-template-copy h2{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.wf-template-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:40px;margin:8px 0 16px;line-height:20px;font-size:12px;color:var(--text-secondary)}.wf-template-copy footer{justify-content:space-between;color:var(--text-muted);font-size:11px}.wf-template-copy footer,.wf-template-copy footer span{display:flex;align-items:center;gap:5px}.wf-template-copy footer svg{width:14px;height:14px;color:#4bd8b3}.wf-catalog-empty{color:var(--text-muted)}.wf-template-modal{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:24px;background:var(--bg-surface);backdrop-filter:blur(8px)}.wf-template-dialog{width:min(880px,100%);max-height:90dvh;overflow:auto;display:grid;grid-template-columns:1.1fr 1fr;background:var(--bg-card);border:1px solid var(--border-primary);border-radius:8px;animation:wf-dialog-enter 220ms ease-out}.wf-template-media{position:relative;min-height:420px;background:var(--bg-canvas)}.wf-template-media img{display:block;width:100%;height:100%;max-height:560px;object-fit:contain}.wf-template-media iframe{display:block;width:100%;height:100%;min-height:420px;border:0}.wf-preview-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:62px;height:62px;border:0;border-radius:50%;background:#e13f48;color:#fff;cursor:pointer;transition:background 180ms}.wf-preview-play:hover{background:#ff5c64}.wf-template-detail{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:30px;gap:12px;color:var(--text-primary);min-width:0}.wf-template-detail h2{margin:8px 0 0;font-size:21px;line-height:1.45;overflow-wrap:anywhere}.wf-template-detail p{margin:0;line-height:1.8;font-size:13px;color:var(--text-secondary)}.wf-template-facts{display:flex;gap:7px;align-items:center}.wf-template-detail a{display:inline-flex;align-items:center;gap:8px;color:#58d9c4;font-size:12px}.wf-template-detail .btn{width:100%;margin-top:auto;min-height:42px}.wf-preview-close{position:absolute;top:12px;right:12px;background:0 0;border:0;color:var(--text-muted);cursor:pointer}.wf-catalog button:focus-visible,.wf-template-modal button:focus-visible{outline:2px solid #5bd6c0;outline-offset:3px}.wf-list-page{background:var(--bg-primary);color:var(--text-primary);height:calc(100dvh - var(--topbar-height, 62px));max-height:calc(100dvh - var(--topbar-height, 62px));overflow-y:auto;overflow-x:hidden;padding-bottom:48px;scrollbar-width:thin}.wf-list-card{min-width:0;background:var(--bg-card)}.wf-list-card p{overflow-wrap:anywhere}.wf-list-actions{opacity:1;flex-shrink:0}.wf-list-actions button{display:grid;place-items:center;width:30px;height:30px;padding:4px}.wf-list-actions [data-wf-action=run]{color:#45d2ad}.wf-list-actions [data-wf-action=batch]{color:#67b8f5}.wf-list-actions [data-wf-action=edit]{color:#efc75b}.wf-list-actions .is-danger{color:#f27e91}.wf-list-icon{background:#13433c;color:#57dcc0}.workflow-studio-shell{min-height:0;height:calc(100dvh - var(--topbar-height, 62px) - 18px);grid-template-rows:auto minmax(0,1fr) 80px;border:1px solid var(--border-primary)}.wf-commandbar{padding:8px 12px;gap:6px;overflow-x:auto;background:var(--bg-card)}.wf-commandbar>label{flex:1 1 240px;min-width:120px;max-width:340px}.wf-commandbar select{min-width:0;width:100%;text-overflow:ellipsis;background:var(--bg-input)}.wf-commandbar .wf-icon{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;font-size:14px;background:var(--bg-input);color:#78bce7;transition:border-color 160ms,color 160ms}.wf-icon svg{width:17px;height:17px}.wf-commandbar .btn{flex:0 0 auto;padding:0 9px;gap:6px;height:32px;font-size:11px}.wf-commandbar .btn svg{width:15px;height:15px}.wf-commandbar #wfExport,.wf-commandbar #wfImport,.wf-commandbar #wfRename{display:inline-flex}#wfDelete,.wf-root-errors strong{color:#ee8392}#wfRename{color:#edc664}#wfResults,#wfSave{color:#54d9b4}.wf-layout{position:relative;grid-template-columns:minmax(0,1fr)}.wf-layout.has-selection{grid-template-columns:minmax(0,1fr) 270px}.wf-inspector{display:none;background:var(--bg-card)}.wf-layout.has-selection .wf-inspector{display:block}.wf-add-node,.wf-library{position:absolute;left:14px;background:var(--bg-card)}.wf-library{z-index:20;top:56px;width:236px;max-height:calc(100% - 70px);border:1px solid var(--border-primary);border-radius:6px;box-shadow:0 15px 40px #0007;overflow-y:auto;animation:wf-dialog-enter 140ms ease-out}.wf-library.is-hidden{display:none}.wf-library-group button{color:var(--text-primary);background:var(--bg-input);font-size:12px}.wf-library-group svg{width:18px;height:18px;color:var(--node-color)}.wf-add-node{top:12px;z-index:10;height:32px;font-size:12px}.wf-add-node svg{width:16px;height:16px;color:#5dddb5}.wf-viewport{background:var(--bg-canvas)}.wf-grid{background-image:radial-gradient(circle,var(--bg-elevated) 1px,transparent 1px);opacity:.3}.wf-board{overflow:visible}.wf-node{background:var(--bg-card);border-color:var(--bg-elevated);transition:border-color 160ms,box-shadow 160ms}.wf-node-head{background:color-mix(in srgb,var(--node-color) 16%,var(--bg-card));border-bottom:1px solid color-mix(in srgb,var(--node-color) 40%,transparent);color:var(--text-primary)}.wf-node-head>span{display:flex;align-items:center;gap:7px}.wf-node-head svg{width:15px;height:15px;color:var(--node-color)}.wf-node-body{padding:10px 12px}.wf-inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wf-inline-fields label{display:flex;flex-direction:column;min-width:0;gap:4px;color:var(--text-muted);font-size:9px}.wf-inline-fields label:has(.wf-file-row),.wf-inline-fields label:has(textarea){grid-column:1/-1}.wf-inline-fields input,.wf-inline-fields select,.wf-inline-fields textarea{width:100%;min-width:0;padding:4px 5px;font-size:10px;border:1px solid var(--border-primary);border-radius:3px;background:var(--bg-input);color:var(--text-primary)}.wf-inline-fields input,.wf-inline-fields select{height:27px}.wf-inline-fields textarea{height:88px;resize:vertical;user-select:text;line-height:1.45}.wf-file-row button{font-size:10px;padding:0 6px}.wf-upload-preview{display:block;width:100%;height:105px;object-fit:contain;margin-bottom:9px;background:var(--bg-canvas)}.wf-node-output,.wf-upload-tile{display:flex;flex-direction:column;width:100%;cursor:pointer}.wf-upload-tile{align-items:center;justify-content:center;height:110px;gap:8px;margin-bottom:8px;padding:3px;background:var(--bg-input);border:1px dashed var(--border-primary);border-radius:4px;color:#b4c7cd;font-size:11px}.wf-upload-tile:hover{border-color:#e47baf;color:#f695c8}.wf-upload-tile svg{width:25px;height:25px}.wf-upload-tile .wf-upload-preview{margin:0}.wf-node-output{align-items:stretch;gap:6px;padding:6px;margin-top:8px;background:var(--bg-surface);color:#54d9b4;border:1px solid rgba(52,211,153,.28);border-radius:10px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.wf-node-output:hover{transform:translateY(-2px);border-color:rgba(251,191,36,.65);box-shadow:0 10px 24px -8px rgba(16,185,129,.35),0 0 0 1px rgba(251,191,36,.25)}.wf-video-thumb-stage{position:relative;width:100%;height:132px;border-radius:7px;overflow:hidden;background:radial-gradient(circle at 50% 40%,var(--bg-surface) 0,var(--bg-canvas) 100%);display:flex;align-items:center;justify-content:center}.wf-video-thumb-el,.wf-video-thumb-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.wf-node-output:hover .wf-video-thumb-el,.wf-node-output:hover .wf-video-thumb-img{transform:scale(1.04)}.wf-video-play-center{position:relative;z-index:3;width:44px;height:44px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(249, 115, 22,.95),rgba(217,119,6,.92));color:var(--bg-canvas);border:2px solid rgba(255,255,255,.88);box-shadow:0 8px 22px var(--bg-surface),0 0 18px rgba(249, 115, 22,.55);transition:transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s ease,background .2s ease}.wf-video-play-center svg{width:20px;height:20px;margin-left:2px;fill:currentColor;stroke-width:2.2}.wf-node-output:hover .wf-video-play-center{transform:scale(1.14);background:linear-gradient(135deg,#fbbf24,#F97316);box-shadow:0 10px 28px var(--bg-surface),0 0 26px rgba(251,191,36,.8)}.wf-video-badge-tag{position:absolute;top:6px;right:6px;z-index:3;padding:2px 7px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.05em;background:var(--bg-surface);color:#34d399;border:1px solid rgba(52,211,153,.45);backdrop-filter:blur(6px)}.wf-video-badge-tag.is-img{color:#38bdf8;border-color:rgba(56,189,248,.45)}.wf-batch-toggle,.wf-video-thumb-caption{display:flex;width:100%;align-items:center}.wf-video-thumb-caption{gap:6px;padding:2px 4px 0;color:#54d9b4;min-width:0}.wf-video-thumb-caption svg{width:13px;height:13px;flex:0 0 13px;color:#fbbf24}.wf-video-thumb-caption span{min-width:0;font-size:10.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wf-batch-toggle{justify-content:center;gap:5px;padding:5px;margin-top:10px;border:1px dashed var(--bg-elevated);border-radius:4px;background:0 0;color:var(--text-muted);font-size:9px;overflow-wrap:anywhere;cursor:pointer}.wf-batch-toggle svg{width:12px;height:12px;flex:0 0 12px}.wf-batch-toggle[aria-pressed=true]{border-color:#27988c;background:#12675a26;color:#54d4bb}.wf-port[data-handle^=image]{border-color:#f48fbe;background:#7b395a}.wf-port[data-handle^=text]{border-color:#c0a5ff;background:#664b9b}.wf-port[data-handle^=video]{border-color:#80e5d0;background:var(--bg-elevated)}#wfEdges path.is-selected,#wfEdges path:hover{stroke:#ffcc6b;stroke-width:4}#wfEdges .is-flowing>path:first-child{stroke-opacity:.45;stroke-width:4;stroke-dasharray:none}#wfEdges .wf-flow-trail{pointer-events:none;stroke:var(--edge-color);stroke-width:3;stroke-linecap:round;stroke-dasharray:18 30;filter:drop-shadow(0 0 3px var(--edge-color));animation:wf-edge-flow 900ms linear infinite}#wfEdges .wf-flow-packet{pointer-events:none;fill:#f1fff9;stroke:var(--edge-color);stroke-width:2;filter:drop-shadow(0 0 5px var(--edge-color))}.wf-node[data-state=running]{box-shadow:0 0 0 2px #39ac8b}.wf-zoom{grid-template-columns:32px 48px 32px 32px;z-index:8}.wf-zoom button{display:grid;place-items:center}.wf-zoom svg{width:16px;height:16px}.wf-zoom [aria-pressed=true]{background:var(--bg-elevated);color:#83f0d0}.wf-minimap{width:160px;height:105px;border-radius:4px;z-index:8;cursor:crosshair}.wf-minimap-view{position:absolute;border:1px solid #b3c7c4;background:#8bd9c019;pointer-events:none}.wf-runtime{grid-template-columns:180px minmax(60px,1fr) minmax(0,2fr) 76px;background:var(--bg-card)}.wf-log{height:56px}.wf-runtime>div{min-width:0}.wf-error-summary{color:#ee8392!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wf-log-actions,.wf-log-dialog h2,.wf-log-dialog>header,.wf-node-error{display:flex;align-items:center;gap:6px}.wf-log-actions .wf-icon{color:#75c1e9;flex:0 0 34px}#wfCopyLog svg,#wfLogCopy svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#wfShowLog{color:#edc664}.wf-node-error{align-items:flex-start;width:100%;min-width:0;padding:7px 0 0;border:0;background:0 0;color:#ee8392;text-align:left;font-size:10px;line-height:1.5;cursor:pointer}.wf-node-error svg{width:13px;height:13px;flex:0 0 13px;margin-top:2px}.wf-node-error span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.wf-log-dialog{display:flex;flex-direction:column;width:min(900px,100%);min-width:0;max-height:90dvh;border:1px solid var(--border-primary);border-radius:6px;background:var(--bg-card);box-shadow:0 20px 60px #0006;animation:wf-dialog-enter 140ms ease-out}.wf-log-dialog>header{justify-content:space-between;padding:16px;gap:12px;border-bottom:1px solid var(--border-primary)}.wf-log-dialog h2{gap:8px;margin:0;font-size:16px}.wf-log-dialog h2 svg{width:19px;height:19px;color:#edc664}.wf-root-errors{overflow:auto;max-height:190px;flex-shrink:0;padding:0 16px}.wf-root-errors:empty{display:none}.wf-root-errors article{padding:12px 0;border-bottom:1px solid var(--border-primary);font-size:12px;overflow-wrap:anywhere}.wf-root-errors small{display:block;margin-top:4px;color:var(--text-muted)}#wfLogText,.wf-root-errors p{margin:6px 0 0;color:var(--text-primary);user-select:text}#wfLogText{display:block;width:calc(100% - 32px);min-width:0;min-height:120px;height:38dvh;flex:1 1 auto;margin:16px;padding:12px;border-radius:4px;font:12px/1.6 Consolas,monospace;resize:none;white-space:pre-wrap;overflow-wrap:anywhere}.wf-log-dialog>footer{display:flex;justify-content:flex-end;gap:8px;padding:0 16px 16px}.wf-log-dialog>footer svg{width:16px;height:16px}.wf-account-options{display:grid;gap:6px;max-height:210px;overflow:auto;margin-top:10px}#wfLogText,.wf-account-option{border:1px solid var(--border-primary);background:var(--bg-input)}.wf-account-option{display:flex!important;align-items:center;gap:10px;min-height:54px;padding:9px 12px;border-radius:5px;cursor:pointer;transition:border-color 160ms,background 160ms}.wf-account-option:has(input:checked){border-color:#36bda0;background:#147e6a20}.wf-account-option>input{flex:0 0 16px;width:16px!important;height:16px!important;accent-color:#26b894}.wf-account-option>span:last-child{flex:1;min-width:0}.wf-account-option small,.wf-account-option strong{display:block;overflow-wrap:anywhere}.wf-account-option small{margin-top:4px;color:var(--text-muted);font-size:11px}.wf-account-icon{color:#67b8f5;display:grid;place-items:center}.wf-account-icon svg{width:21px;height:21px}.workflow-studio-shell .wf-batch-modal{padding:16px}.wf-run-dialog{width:min(620px,100%);min-width:0;max-height:90dvh;overflow:auto}.wf-batch-dialog{width:min(1180px,100%);min-width:0}.wf-run-dialog>footer{display:flex;flex-wrap:wrap}.wf-run-dialog>footer>span{flex:1}.wf-run-dialog>footer button{min-height:32px}.wf-run-dialog .wf-run-body>div>strong{font-size:12px}.wf-run-check>div{min-width:0;overflow-wrap:anywhere}.wf-run-check span{white-space:normal}.workflow-studio-shell .wf-node-account{display:flex;align-items:center;gap:6px;min-width:0;margin-top:8px;color:#58cfc4;font-size:10px}.workflow-studio-shell .wf-node-account svg{width:13px;height:13px;flex-shrink:0}.workflow-studio-shell .wf-node-account span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side{gap:12px;padding:12px 0}.side nav{overflow-y:auto;scrollbar-width:none;gap:4px}.side nav::-webkit-scrollbar{display:none}.side .nav{padding:9px 0 8px;gap:4px;font-size:11.5px;text-align:center;line-height:1.15}.side .nav svg{width:21px;height:21px}#wfSyncAiModal input:not([type=checkbox]):not([type=radio]),#wfSyncAiModal select,#wfSyncAiModal textarea,.wf-run-dialog input:not([type=checkbox]):not([type=radio]),.wf-run-dialog select,.wf-run-dialog textarea,.workflow-studio-shell .form-input,.workflow-studio-shell .form-select,.workflow-studio-shell .form-textarea{width:100%;border:1px solid var(--bg-elevated)!important;border-radius:6px;background-color:var(--bg-surface)!important;color:#f8fafc!important;padding:6px 10px;box-sizing:border-box;outline:0}#wfSyncAiModal input:not([type=checkbox]):not([type=radio]):focus,#wfSyncAiModal select:focus,#wfSyncAiModal textarea:focus,.wf-run-dialog input:not([type=checkbox]):not([type=radio]):focus,.wf-run-dialog select:focus,.wf-run-dialog textarea:focus{border-color:#38bdf8!important;box-shadow:0 0 0 2px rgba(56,189,248,.2)}#wfSyncAiModal input::placeholder,#wfSyncAiModal textarea::placeholder,.wf-run-dialog input::placeholder,.wf-run-dialog textarea::placeholder{color:#64748b!important;opacity:1}#v-film-studio{display:none;width:100%;height:100%;overflow:hidden;padding:12px;box-sizing:border-box}#v-film-studio.on{display:flex;flex-direction:column}.fs-shell{display:grid;grid-template-columns:270px 1fr;gap:12px;height:100%;min-height:0;color:#e6ecf8;font-family:inherit}.fs-main,.fs-sidebar{background:var(--bg-surface);border:1px solid rgba(112,145,210,.22);border-radius:14px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.fs-side-head{padding:12px 14px;border-bottom:1px solid rgba(112,145,210,.16);display:flex;align-items:center;justify-content:space-between;gap:8px}.fs-card-h h4,.fs-side-head h3{margin:0;font-size:14px;font-weight:700;color:#f8fafc}.fs-series-list{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:8px}.fs-series-item{background:var(--bg-surface);border:1px solid rgba(112,145,210,.18);border-radius:10px;padding:10px 11px;cursor:pointer;transition:border-color .15s,background .15s}.fs-series-item:hover{border-color:rgba(249, 115, 22,.55);background:var(--bg-surface)}.fs-series-item.active{border-color:#F97316;background:linear-gradient(135deg,rgba(249, 115, 22,.16),var(--bg-surface))}.fs-series-title{font-size:13.5px;font-weight:700;color:#fff;margin-bottom:4px;display:flex;justify-content:space-between;align-items:center;gap:6px}.fs-series-meta{font-size:11.5px;color:#9fb2d4;display:flex;flex-wrap:wrap;gap:6px}.fs-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:999px;font-size:11px;font-weight:600;background:rgba(56,189,248,.14);color:#7dd3fc;border:1px solid rgba(56,189,248,.25)}.fs-pill.gold{background:rgba(249, 115, 22,.16);color:#fcd34d;border-color:rgba(249, 115, 22,.32)}.fs-pill.green{background:rgba(34,197,94,.16);color:#86efac;border-color:rgba(34,197,94,.32)}.fs-pill.purple{background:rgba(168,85,247,.16);color:#d8b4fe;border-color:rgba(168,85,247,.32)}.fs-pill.red{background:rgba(239,68,68,.16);color:#fca5a5;border-color:rgba(239,68,68,.32)}.fs-main-head,.fs-tabs{display:flex;flex-wrap:wrap}.fs-main-head{padding:12px 16px;border-bottom:1px solid rgba(112,145,210,.18);align-items:center;justify-content:space-between;gap:10px}.fs-tabs{gap:6px}.fs-tab-btn{background:var(--bg-surface);color:#b7c6e4;border:1px solid rgba(112,145,210,.24);border-radius:9px;padding:7px 13px;font-size:12.5px;font-weight:600;cursor:pointer;transition:all .15s}.fs-tab-btn:hover{color:#fff;border-color:rgba(249, 115, 22,.55)}.fs-tab-btn.active{background:linear-gradient(90deg,#F97316,#ea580c);color:#fff;border-color:transparent}.fs-main-body{flex:1;overflow-y:auto;padding:14px 16px;min-height:0}.fs-card{background:var(--bg-surface);border:1px solid rgba(112,145,210,.18);border-radius:12px;padding:14px;margin-bottom:14px}.fs-card-h{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:10px}.fs-grid-2,.fs-grid-3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fs-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.fs-field{display:flex;flex-direction:column;gap:4px}.fs-field label{font-size:12px;font-weight:600;color:#a9bcde}.fs-in,.fs-sel,.fs-ta{background:var(--bg-surface);border:1px solid rgba(112,145,210,.28);border-radius:8px;color:#f1f5f9;padding:7px 10px;font-size:12.5px;font-family:inherit;width:100%;box-sizing:border-box}.fs-ta{resize:vertical;min-height:70px;line-height:1.45}.fs-in:focus,.fs-sel:focus,.fs-ta:focus{outline:0;border-color:#F97316}.fs-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 12px;border-radius:8px;border:1px solid rgba(112,145,210,.28);background:var(--bg-surface);color:#e2e8f0;font-size:12.5px;font-weight:600;cursor:pointer;transition:all .14s;white-space:nowrap}.fs-btn:hover:not(:disabled){border-color:#F97316;color:#fff}.fs-btn:disabled{opacity:.55;cursor:not-allowed}.fs-btn.primary{background:linear-gradient(90deg,#F97316,#ea580c)}.fs-btn.blue,.fs-btn.green,.fs-btn.primary{border-color:transparent;color:#fff}.fs-btn.blue{background:linear-gradient(90deg,#2563eb,#0284c7)}.fs-btn.green{background:linear-gradient(90deg,#16a34a,#0d9488)}.fs-btn.danger{background:rgba(185,28,28,.22);border-color:rgba(239,68,68,.4);color:#fca5a5}.fs-btn.sm{padding:4px 9px;font-size:11.5px}.fs-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fs-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}.fs-asset-card{background:var(--bg-surface);border:1px solid rgba(112,145,210,.22);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}.fs-asset-top{display:flex;gap:10px;align-items:flex-start}.fs-thumb{width:78px;height:104px;border-radius:8px;background:var(--bg-surface);border:1px dashed rgba(112,145,210,.35);overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;color:#7e94bc;text-align:center}.fs-kf-box img,.fs-kf-box video,.fs-thumb img{width:100%;height:100%;object-fit:cover;display:block}.fs-chapter-list{display:flex;flex-direction:column;gap:6px;max-height:220px;overflow-y:auto}.fs-chapter-row{background:var(--bg-surface);border:1px solid rgba(112,145,210,.16);border-radius:8px;padding:7px 10px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.fs-ep-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px}.fs-ep-card,.fs-shot-list{display:flex;flex-direction:column}.fs-ep-card{background:var(--bg-surface);border:1px solid rgba(112,145,210,.22);border-radius:12px;padding:12px;gap:8px}.fs-ep-card.active{border-color:#F97316;box-shadow:0 0 0 1px rgba(249, 115, 22,.25)}.fs-shot-list{gap:12px}.fs-shot-card{background:var(--bg-surface);border:1px solid rgba(112,145,210,.24);border-radius:12px;padding:12px;display:grid;grid-template-columns:220px 1fr;gap:14px}.fs-shot-media{display:flex;flex-direction:column;gap:8px}.fs-kf-box{width:100%;aspect-ratio:9/12;max-height:240px;border-radius:10px;background:var(--bg-surface);border:1px dashed rgba(112,145,210,.35);overflow:hidden;display:flex;align-items:center;justify-content:center;color:#8aa0c8;font-size:12px;text-align:center;position:relative}.fs-cast-checks{display:flex;flex-wrap:wrap;gap:6px}.fs-cast-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;font-size:11.5px;background:var(--bg-surface);border:1px solid rgba(112,145,210,.28);color:#cbd5e1;cursor:pointer;user-select:none}.fs-cast-chip.checked{background:rgba(249, 115, 22,.2);border-color:#F97316;color:#fde68a;font-weight:600}.fs-take-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding-top:6px;border-top:1px dashed rgba(112,145,210,.2)}.fs-take-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:8px;font-size:11.5px;background:var(--bg-surface);border:1px solid rgba(112,145,210,.26);color:#cbd5e1;cursor:pointer}.fs-take-pill.selected{border-color:#22c55e;background:rgba(34,197,94,.18);color:#bbf7d0;font-weight:700}.fs-empty{text-align:center;padding:36px 20px;color:#8ea2c7;font-size:13px}.fs-status-bar{padding:10px 14px;border-bottom:1px solid rgba(249, 115, 22,.35);background:linear-gradient(90deg,rgba(249, 115, 22,.18),rgba(37,99,235,.18));color:#fef3c7;font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px;flex-shrink:0}.fs-spinner{width:16px;height:16px;border-radius:50%;border:2.5px solid rgba(254,243,199,.28);border-top-color:#fbbf24;animation:fs-spin .8s linear infinite;flex-shrink:0}@media (max-width:1080px){.fs-shell,.fs-shot-card{grid-template-columns:1fr}}