.ms-app{--ms-ink: #182633;--ms-blue: #3268da;width:100%;max-width:480px;height:100dvh;min-height:640px;margin:auto;background:#f7f9fc;color:var(--ms-ink);display:flex;flex-direction:column;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif}.ms-app button,.ms-app a,.ms-app input{-webkit-tap-highlight-color:transparent}.ms-header{flex:none;display:flex;align-items:center;gap:12px;height:calc(58px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0;background:#fff}.ms-back,.ms-icon{width:40px;height:44px;display:grid;place-items:center;color:#354358;position:relative}.ms-icon i{position:absolute;top:9px;right:7px;width:6px;height:6px;border-radius:50%;background:#3268da}.ms-asset-title{flex:1;min-width:0;text-align:left;display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:14px;font-weight:600;padding:0}.ms-asset-title>span{max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ms-asset-title small{width:100%;color:#8b97a7;font-size:10px;font-weight:400;margin-top:-2px}.ms-viewer{background:#17232f;color:#edf2f7;flex:1;min-height:170px;display:flex;flex-direction:column;padding:0 14px}.ms-viewer-top{height:42px;flex:none;display:flex;justify-content:space-between;align-items:center}.ms-demo{padding:0;color:#a9b6c6;font-size:10px;min-height:36px}.ms-demo span{margin:0 4px}.ms-compare{color:#d9e3ef;border:1px solid #52606e;border-radius:6px;font-size:10px;padding:5px 10px;min-height:32px}.ms-compare.active{color:#fff;background:#3268da;border-color:#3268da}.ms-media{flex:1;min-height:0;position:relative;overflow:hidden;border-radius:7px;background:#101c27;display:flex}.ms-media>img,.ms-image-b img{width:100%;height:100%;object-fit:contain}.ms-image-b{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.ms-media video{width:100%;height:100%;object-fit:contain;min-width:0}.ms-media.is-comparing video{width:50%}.ms-split{position:absolute;top:0;bottom:0;width:1px;background:#fff;pointer-events:none}.ms-split span{position:absolute;top:50%;left:-15px;width:30px;height:30px;background:#fff;border-radius:50%;color:#263545;display:grid;place-items:center}.ms-split-input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;margin:0;cursor:ew-resize}.ms-side-label{position:absolute;top:8px;background:#152330aa;padding:4px 6px;border-radius:4px;font-size:10px;pointer-events:none}.ms-a{left:8px}.ms-b{right:8px}.ms-preview-meta{height:35px;flex:none;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:#aab7c6}.ms-preview-meta b{color:#fff;margin-right:5px}.ms-preview-meta label{display:flex;align-items:center;gap:4px;min-width:0;width:50%}.ms-preview-meta select{color:#e1e9f4;background:#243342;border:0;border-radius:4px;width:100%;min-width:0;height:28px;font-size:12px}.ms-timeline{flex:none;background:#fff;height:191px;padding-top:3px}.ms-timeline header,.ms-tools header{display:flex;align-items:center;justify-content:space-between;padding:0 18px;height:39px}.ms-timeline h2,.ms-tools h2{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600}.ms-timeline h2 span{color:#8a9aae;font-size:10px;font-weight:400}.ms-timeline header button,.ms-tools header button{font-size:11px;color:#718399;display:flex;align-items:center;gap:5px;min-height:36px}.ms-rail{overflow-x:auto;overflow-y:hidden;height:127px;scrollbar-width:none;overscroll-behavior-x:contain}.ms-track{display:flex;gap:18px;padding:22px 16px 0;position:relative;height:127px}.ms-lineage{position:absolute;top:0;left:0;pointer-events:none}.ms-lineage path{fill:none;stroke:#d6dfec;stroke-width:1.4}.ms-node{position:relative;width:92px;flex:none;padding:8px 0 0;text-align:left;scroll-margin-inline:18px}.ms-node-dot{position:absolute;top:-3px;left:43px;height:6px;width:6px;background:#c4cfdd;border:1px solid #fff;border-radius:50%}.ms-node.selected .ms-node-dot{background:#3268da;box-shadow:0 0 0 3px #e8effd}.ms-node-thumb{height:51px;border-radius:6px;position:relative;overflow:hidden;border:2px solid transparent}.ms-node-thumb img{width:100%;height:100%;object-fit:cover}.ms-node-thumb b{position:absolute;top:3px;left:3px;background:#fff;color:#4a5d77;padding:1px 4px;border-radius:3px;font-size:9px}.ms-node-thumb svg{position:absolute;bottom:3px;right:3px;background:#3268da;color:#fff;border-radius:50%}.ms-node.selected .ms-node-thumb{border-color:#3268da}.ms-node strong{display:block;font-size:10px;margin-top:4px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-node.selected strong{color:#3268da}.ms-node time{font-size:9px;color:#8998ab}.ms-lineage-note{padding:0 18px;height:22px;line-height:22px;color:#8998ab;font-size:9px;border-top:1px solid #f3f5f9}.ms-tools{flex:none;height:183px;background:#f7f9fc;border-top:1px solid #e8edf4}.ms-tools header{height:39px}.ms-quick-tools{display:grid;grid-template-columns:repeat(3,1fr);padding:0 16px;gap:10px}.ms-quick-tools button{height:90px;border:1px solid #e2e8f1;background:#fff;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.ms-quick-tools button span{display:grid;place-items:center;color:#657b95}.ms-quick-tools strong{font-size:11px;font-weight:500}.ms-quick-tools button.selected{border-color:#3268da;background:#ecf2ff;color:#3268da}.ms-quick-tools button.selected span{color:#3268da}.ms-setting-row{display:flex;justify-content:space-between;align-items:center;width:100%;height:49px;padding:0 19px;font-size:11px;color:#738499}.ms-setting-row span{display:flex;align-items:center;gap:7px}.ms-action-bar{height:calc(76px + env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:15px;background:#fff;border-top:1px solid #e5ebf3;flex:none}.ms-action-bar>div{flex:1;white-space:nowrap}.ms-action-bar span{font-size:11px}.ms-action-bar b{color:#3268da;margin-left:4px}.ms-action-bar small{display:block;color:#8b98a9;font-size:9px;margin-top:5px}.ms-action-bar>button{display:flex;align-items:center;justify-content:center;gap:7px;background:#3268da;color:#fff;border-radius:12px;min-height:48px;padding:0 18px;font-size:13px;font-weight:500}.ms-app .modal-backdrop{z-index:80;padding:0;align-items:flex-end}.ms-app .dialog{border-radius:22px 22px 0 0;width:min(480px,100%);max-width:480px;max-height:87dvh;padding-bottom:env(safe-area-inset-bottom)}.ms-app .dialog>header{min-height:60px;padding:0 20px}.ms-app .dialog>header button{min-height:44px;min-width:44px}.ms-sheet-content{padding:4px 20px 24px;overflow-y:auto}.ms-sheet-intro{color:#7d8b9c;font-size:12px;line-height:1.9;margin:0 0 17px}.ms-tool-library{display:grid;gap:8px}.ms-tool-library button{display:flex;gap:15px;align-items:center;padding:13px;text-align:left;border:1px solid #e5eaf2;border-radius:12px;min-height:68px}.ms-tool-library button.selected{border-color:#3268da;color:#3268da;background:#f3f6ff}.ms-tool-library span{flex:1}.ms-tool-library strong,.ms-assets strong,.ms-history strong{display:block;font-size:13px;font-weight:500}.ms-tool-library small,.ms-assets small,.ms-history small{display:block;font-size:10px;color:#8695a8;margin-top:5px}.ms-assets{display:grid;gap:10px}.ms-assets button{display:flex;align-items:center;gap:12px;text-align:left;padding:9px;border-radius:12px;border:1px solid #e5eaf2}.ms-assets button.selected{border-color:#3268da;background:#f3f6ff}.ms-assets img{width:50px;height:50px;object-fit:cover;border-radius:7px}.ms-assets span{flex:1;min-width:0;overflow-wrap:anywhere}.ms-wide-button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;color:#fff;background:#3268da;margin-top:20px;font-size:13px;text-decoration:none}.ms-secondary{background:#edf2fa;color:#3268da}.ms-fine{color:#8a98a9;font-size:10px;line-height:1.8;margin-top:12px}.ms-form-row{display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:14px;min-height:65px;padding:8px 0;border-top:1px solid #edf0f5}.ms-form-row input:not([type=checkbox]),.ms-form-row select{font-size:16px;width:90px;min-height:44px;border:1px solid #dbe3ef;border-radius:8px;padding:8px;background:#fff}.ms-form-row input[type=checkbox]{width:24px;height:24px}.ms-history{display:grid;gap:9px}.ms-history button{display:flex;align-items:center;gap:12px;text-align:left;min-height:64px;border:1px solid #e5eaf2;border-radius:10px;padding:10px}.ms-history button.selected{border-color:#3268da;background:#f3f6ff}.ms-history b{color:#3268da;font-size:12px}.ms-history span{flex:1}.ms-history em{color:#8a98a9;font-size:10px;font-style:normal}.ms-task{padding:14px 0;border-bottom:1px solid #e5eaf2}.ms-task strong{display:flex;justify-content:space-between;font-size:13px}.ms-task strong span{color:#3268da;font-size:11px}.ms-task small{display:block;color:#8a98a9;margin:8px 0}.ms-task progress{width:100%;height:5px;accent-color:#3268da}.ms-task div{display:flex;gap:8px;margin-top:10px}.ms-task button{display:flex;gap:6px;align-items:center;font-size:12px;color:#3268da;min-height:40px;padding:0 10px;background:#eef3fd;border-radius:6px}.ms-notice{position:fixed;z-index:100;bottom:calc(85px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(350px,calc(100vw - 32px));padding:13px 15px;border-radius:10px;background:#17232feb;color:#fff;font-size:12px;line-height:1.7;display:flex;gap:8px}.ms-notice button{color:#fff;padding:4px}@media(max-height:740px){.ms-app{min-height:590px}.ms-timeline{height:178px}.ms-rail,.ms-track{height:114px}.ms-node-thumb{height:43px}.ms-tools{height:159px}.ms-quick-tools button{height:68px}.ms-setting-row{height:46px}.ms-action-bar{height:calc(68px + env(safe-area-inset-bottom))}.ms-viewer{min-height:150px}}@media(min-width:721px){.ms-app{border-inline:1px solid #dfe5ee;box-shadow:0 12px 70px #17232f12}.ms-app .modal-backdrop{justify-content:center}}.ms-header{order:0}.ms-viewer{order:1}.ms-tools{order:2}.ms-timeline{order:3}.ms-action-bar{order:4}.ms-upload-screen{background:#f8fafc;min-height:640px}.ms-upload-header{height:calc(72px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 24px 0;display:flex;align-items:center;justify-content:space-between;flex:none}.ms-upload-header strong{display:flex;align-items:center;gap:9px;font-size:17px}.ms-upload-header strong>span{display:grid;place-items:center;height:30px;width:30px;background:#3268da;color:#fff;border-radius:9px;font-size:20px}.ms-upload-header a{display:flex;gap:6px;align-items:center;color:#8c9aad;font-size:11px;text-decoration:none}.ms-upload-body{flex:1;overflow-y:auto;padding:22px 24px 12px}.ms-kicker{font-size:9px;letter-spacing:2.6px;color:#8091a8}.ms-upload-body h1{font-size:29px;line-height:1.45;letter-spacing:-.8px;margin-top:12px;font-weight:600}.ms-upload-description{font-size:12px;line-height:1.8;color:#8a98a9;margin:12px 0 25px}.ms-upload-target{width:100%;display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:210px;border:1px dashed #a9bedf;border-radius:20px;background:#eef3fb;color:#3268da}.ms-upload-symbol{position:relative;display:grid;place-items:center;width:60px;height:60px;border-radius:17px;background:#fff;margin-bottom:13px;box-shadow:0 4px 15px #3268da09}.ms-upload-symbol>svg:last-child{position:absolute;bottom:-3px;right:-3px;background:#3268da;color:#fff;border-radius:50%;padding:3px;box-sizing:content-box;border:3px solid #eef3fb}.ms-upload-target strong{font-size:15px;font-weight:500}.ms-upload-target span{font-size:11px;color:#8a9bb2;margin-top:8px}.ms-upload-target small{color:#9dabc0;font-size:9px;margin-top:20px}.ms-entry-steps{list-style:none;padding:0;margin:25px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ms-entry-steps li{border-top:1px solid #dce5f2;padding-top:10px}.ms-entry-steps b{display:block;font:10px ui-monospace,monospace;color:#6981a1;margin-bottom:8px}.ms-entry-steps span{font-size:12px}.ms-entry-steps small{display:block;color:#94a0b0;margin-top:5px;font-size:9px}.ms-example{width:100%;display:flex;align-items:center;text-align:left;gap:11px;background:#fff;border:1px solid #e6ebf3;border-radius:12px;padding:10px}.ms-example img{width:42px;height:42px;border-radius:7px;object-fit:cover}.ms-example span{flex:1}.ms-example strong{font-size:11px;font-weight:500}.ms-example small{display:block;font-size:9px;margin-top:4px;color:#95a2b2}.ms-example svg{color:#8497b0}.ms-upload-footer{flex:none;padding:16px 24px calc(14px + env(safe-area-inset-bottom))}.ms-upload-footer button{background:#3268da;color:#fff;border-radius:13px;width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px}.ms-upload-footer p{text-align:center;font-size:9px;color:#a0aabb;margin-top:10px}@media(max-height:740px){.ms-upload-body{padding-top:6px}.ms-upload-body h1{font-size:25px}.ms-upload-description{margin:8px 0 17px}.ms-upload-target{min-height:170px}.ms-entry-steps{margin:18px 0}}.ms-app{--ms-ink: #1c1c1e;--ms-blue: #007aff;background:#f2f2f7;color:#1c1c1e;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,sans-serif}.ms-app button:active{filter:brightness(.95)}.ms-app button:focus-visible,.ms-app a:focus-visible{outline:3px solid #007aff;outline-offset:2px}.ms-header{background:#f9f9fbef;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding-inline:10px;gap:6px}.ms-back,.ms-icon{width:44px;min-width:44px;color:#007aff;border-radius:50%}.ms-asset-title{justify-content:center;font-size:16px;gap:5px;text-align:center;min-height:44px}.ms-asset-title small{color:#8e8e93;font-size:11px}.ms-icon i{background:#007aff}.ms-viewer{background:#1c1c1e;padding-inline:12px}.ms-viewer-top{height:44px}.ms-demo{font-size:11px;min-height:44px;color:#b8b8bf}.ms-compare{border:0;border-radius:18px;background:#ffffff1c;min-height:36px;min-width:64px;font-size:13px}.ms-compare.active{background:#007aff}.ms-media{border-radius:12px;background:#161618}.ms-preview-meta{height:36px;font-size:11px}.ms-preview-meta select{font-size:16px;background:#3a3a3c;height:32px}.ms-timeline{height:196px;border-top:.5px solid #d1d1d6}.ms-timeline header,.ms-tools header{height:44px;padding-inline:16px}.ms-timeline h2,.ms-tools h2{font-size:15px;font-weight:600}.ms-timeline h2 span{font-size:12px;color:#8e8e93}.ms-timeline header button,.ms-tools header button{color:#007aff;min-height:44px;font-size:13px}.ms-node strong{font-size:11px}.ms-node time{font-size:10px;color:#73737c}.ms-node.selected strong{color:#007aff}.ms-node.selected .ms-node-thumb{border-color:#007aff}.ms-node.selected .ms-node-dot{background:#007aff}.ms-node-thumb svg{background:#007aff}.ms-lineage-note{font-size:10px;color:#73737c}.ms-tools{height:190px;background:#f2f2f7;border:0}.ms-quick-tools{gap:10px}.ms-quick-tools button{position:relative;height:88px;border:1px solid #e5e5ea;border-radius:16px}.ms-quick-tools strong{font-size:13px}.ms-quick-tools button.selected{background:#e9f2ff;border-color:#007aff;color:#007aff}.ms-quick-tools button.selected span{color:#007aff}.ms-tool-check{position:absolute;top:7px;right:7px;background:#007aff;color:#fff;border-radius:50%;padding:2px;box-sizing:content-box}.ms-setting-row{height:52px;font-size:13px;color:#636366}.ms-setting-row>span:last-child{color:#007aff}.ms-action-bar{background:#fafafaf0;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-top:.5px solid #d1d1d6;gap:10px}.ms-action-bar span{font-size:13px}.ms-action-bar b{color:#007aff}.ms-action-bar small{font-size:10px;color:#73737c}.ms-action-bar>button{background:#007aff;border-radius:25px;font-size:16px;min-width:148px}.ms-upload-header{background:#f2f2f7;height:calc(58px + env(safe-area-inset-top));padding-inline:20px}.ms-upload-header a{color:#007aff;min-height:44px;font-size:13px}.ms-upload-header strong{font-size:17px}.ms-upload-header strong>span{background:#007aff;border-radius:8px}.ms-upload-body{padding:14px 20px 12px}.ms-upload-body h1{font-size:34px;letter-spacing:-.6px;line-height:1.2;margin:0;font-weight:700}.ms-upload-description{font-size:15px;margin:8px 0 24px;color:#73737c}.ms-upload-target{background:#fff;border:0;border-radius:22px;min-height:185px;color:#007aff;box-shadow:0 2px 8px #00000003}.ms-upload-symbol{background:#e9f2ff;border-radius:18px;box-shadow:none;width:62px;height:62px;margin-bottom:14px}.ms-upload-target strong{font-size:17px;font-weight:600}.ms-upload-target>span{display:flex;align-items:center;gap:4px;font-size:13px;color:#8e8e93}.ms-home-section{margin-top:25px}.ms-home-section h2{font-size:13px;color:#73737c;font-weight:400;margin:0 12px 9px;display:flex;justify-content:space-between}.ms-home-section h2>span{font-size:12px;color:#8e8e93}.ms-inset-list{background:#fff;border-radius:16px;overflow:hidden}.ms-inset-list>div{display:flex;gap:12px;align-items:center;min-height:69px;padding:12px 16px}.ms-inset-list>div+div{border-top:.5px solid #ececef}.ms-list-icon{background:#e9f2ff;color:#007aff;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;flex:none}.ms-inset-list strong{display:block;font-size:15px;font-weight:400}.ms-inset-list small{display:block;color:#8e8e93;font-size:11px;margin-top:4px}.ms-home-examples{display:flex;overflow-x:auto;gap:10px;padding-bottom:4px;scrollbar-width:none}.ms-home-examples button{flex:0 0 calc((100% - 20px)/3);min-width:98px;padding:0;text-align:left}.ms-home-examples img{width:100%;aspect-ratio:1.3;object-fit:cover;border-radius:12px}.ms-home-examples strong{display:block;font-size:12px;font-weight:500;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-home-examples small{color:#8e8e93;font-size:10px;display:block;margin-top:3px}.ms-upload-footer{padding-inline:20px;background:#f2f2f7ed}.ms-upload-footer button{background:#007aff;border-radius:27px;font-size:17px;font-weight:500;min-height:52px}.ms-upload-footer p{color:#8e8e93;font-size:11px}.ms-app .dialog{background:#f2f2f7;border:0;border-radius:28px 28px 0 0;box-shadow:0 -8px 50px #00000014}.ms-app .dialog>header{border:0;min-height:54px}.ms-app .dialog>header h2{font-size:17px;font-weight:600}.ms-app .dialog>header .icon-button{border-radius:50%;background:#e5e5ea;color:#636366;width:36px;height:36px;min-width:44px;min-height:44px}.ms-sheet-grabber{height:24px;width:100%;display:grid;place-items:center;flex:none;touch-action:none}.ms-sheet-grabber span{width:36px;height:5px;border-radius:4px;background:#c7c7cc}.ms-sheet-content{padding:10px 20px 24px;min-height:0}.ms-sheet-intro{font-size:14px;color:#73737c}.ms-fine{font-size:12px;color:#73737c}.ms-tool-library{background:#fff;border-radius:16px;gap:0;padding-inline:14px}.ms-tool-library button{border:0;border-bottom:.5px solid #e5e5ea;border-radius:0;min-height:76px;padding-inline:0}.ms-tool-library button:last-child{border-bottom:0}.ms-tool-library button.selected{color:#007aff;background:transparent}.ms-tool-library strong{font-size:16px;font-weight:400}.ms-tool-library small{font-size:12px;color:#8e8e93}.ms-form-row{background:#fff;border-radius:14px;padding:14px;font-size:16px;border:0}.ms-form-row input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;border:0;background:#e9e9eb;width:51px;height:31px;border-radius:18px;position:relative;flex:none;cursor:pointer}.ms-form-row input[type=checkbox]:after{content:"";position:absolute;width:27px;height:27px;top:2px;left:2px;background:#fff;border-radius:50%;box-shadow:0 2px 4px #00000020;transition:transform .18s}.ms-form-row input[type=checkbox]:checked{background:#34c759}.ms-form-row input[type=checkbox]:checked:after{transform:translate(20px)}.ms-wide-button{background:#007aff;font-size:16px;border-radius:25px;min-height:50px}.ms-secondary{background:#e5e5ea;color:#007aff}.ms-assets button,.ms-history button{background:#fff;border:0;border-radius:14px}.ms-assets button.selected,.ms-history button.selected{box-shadow:inset 0 0 0 1.5px #007aff;background:#fff}.ms-assets strong,.ms-history strong{font-size:15px}.ms-assets small,.ms-history small{font-size:12px}.ms-history b{color:#007aff}.ms-history em{font-size:11px}.ms-task{background:#fff;border:0;border-radius:16px;padding:16px;margin-bottom:12px}.ms-task strong{font-size:16px}.ms-task button{min-height:44px;font-size:13px;color:#007aff}.ms-task small{font-size:12px}.ms-notice{border-radius:18px;font-size:13px}@media(max-height:740px){.ms-tools{height:163px}.ms-quick-tools button{height:66px;gap:4px}.ms-setting-row{height:49px}.ms-timeline{height:186px}.ms-viewer{min-height:150px}.ms-upload-target{min-height:157px}.ms-home-section{margin-top:20px}.ms-upload-body h1{font-size:32px}}@media(prefers-reduced-motion:reduce){.ms-form-row input[type=checkbox]:after{transition:none}}.ms-upload-symbol>svg:last-child{position:static;background:transparent;color:inherit;padding:0;border:0;border-radius:0;box-sizing:border-box}:root{font-family:DM Sans,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#202631;background:#f5f7fa;font-size:13px;font-synthesis:none;font-weight:400;--blue: #3268da;--line: #e2e7ee;--muted: #89929f;--green: #32816b;--surface: #fff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button,a,input,select,canvas,[tabindex]{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--blue)}button{border:0;background:none}button,input,select{transition:background-color .15s,border-color .15s,color .15s}button:hover{color:var(--blue)}input[type=checkbox],input[type=range]{accent-color:var(--blue)}h1,h2,h3,p{margin:0}svg{flex-shrink:0;vertical-align:middle}img{display:block}small{font-size:10px}time,.zoom-label,.time-display,.version-code,.count{font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,monospace;font-variant-numeric:tabular-nums}.quiet{color:var(--muted)}.middle-dot{padding:0 6px;color:#b7bec8}.divider{height:15px;width:1px;background:var(--line);margin:0 4px}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--green);flex-shrink:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:5px;color:#7a8594;flex-shrink:0}.icon-button:hover{background:#edf2fb;color:var(--blue)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;padding:6px 4px;color:#707d8e;white-space:nowrap}.text-button.active{color:var(--blue)}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--blue);border:1px solid var(--blue);border-radius:6px;color:#fff;padding:9px 13px;font-size:12px;font-weight:500;white-space:nowrap;box-shadow:0 2px 3px #3268da0d}.primary-button:hover{background:#2458c6;color:#fff}.primary-button.small{padding:6px 10px;font-size:11px}.secondary-button{border:1px solid var(--line);border-radius:6px;background:#fff;padding:9px 13px;font-size:12px}.segmented{display:flex;align-items:center;background:#f0f3f7;border:1px solid #e8ecf1;padding:3px;border-radius:7px;gap:2px;white-space:nowrap}.segmented button{display:flex;gap:6px;align-items:center;font-size:11px;color:#89929f;padding:6px 9px;border-radius:4px}.segmented button.selected{background:#fff;color:#334052;box-shadow:0 1px 3px #20263112}.segmented.compact{padding:2px}.segmented.compact button{padding:4px 7px}.demo-chip{display:inline-flex;padding:3px 6px;border:1px solid #e1e6ed;border-radius:4px;font-size:9px;color:#7f8b9c;background:#fafbfc;white-space:nowrap}.app-shell{height:100dvh;min-height:660px;display:flex;flex-direction:column;overflow:hidden}.app-header{height:65px;flex-shrink:0;display:flex;align-items:center;gap:18px;background:#fff;border-bottom:1px solid var(--line);padding:0 23px}.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:29px;height:29px;border-radius:8px;background:var(--blue);position:relative;box-shadow:0 3px 7px #3268da24}.brand-mark span:first-child{position:absolute;width:13px;height:15px;border-left:2px solid white;border-top:2px solid white;left:8px;top:7px}.brand-mark span:nth-child(2){position:absolute;width:8px;height:2px;background:#fff;left:8px;top:14px}.brand-mark i{position:absolute;width:5px;height:5px;border-radius:50%;background:#bfd1ff;right:6px;bottom:6px}.brand strong{font-size:17px;letter-spacing:1px;white-space:nowrap}.brand strong span{font-size:10px;margin-left:7px;letter-spacing:1.5px;font-weight:500;color:#8f98a6}.header-divider{height:20px;width:1px;background:var(--line);margin:0 2px}.breadcrumb{display:flex;align-items:center;gap:14px;color:#9ca5b1;font-size:11px}.breadcrumb button{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:500;padding:0}.prototype-badge{font-size:9px;letter-spacing:.2px;padding:3px 6px;background:#f4f6f9;border:1px solid #e8ecf1;color:#8b95a4;border-radius:4px}.header-spacer{flex:1}.task-button{display:flex;align-items:center;gap:7px;font-size:12px;padding:6px 1px}.task-button span{font-size:10px;background:#edf0f5;color:#8490a1;padding:1px 5px;border-radius:4px}.task-button.has-active span{background:#edf3ff;color:var(--blue)}.avatar{width:28px;height:28px;border-radius:50%;background:#e9edf1;color:#647589;display:flex;justify-content:center;align-items:center;font-size:11px;font-weight:600;margin-left:2px}.work-area{display:flex;flex:1;min-height:260px;overflow:hidden}.asset-sidebar{width:208px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;flex-shrink:0;padding:0 14px}.section-head{height:52px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f2f5}.section-head>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.section-head b{font-size:10px;background:#f2f4f8;color:#919caa;border-radius:4px;padding:2px 4px;font-weight:400;margin-left:2px}.search-box{margin:14px 0 12px;height:30px;display:flex;align-items:center;gap:7px;border:1px solid #e9edf2;border-radius:5px;color:#a2abb7;padding:0 8px;background:#fcfdfe;flex-shrink:0}.search-box input{border:0;background:none;width:100%;min-width:0;font-size:11px;outline:0;color:#4c5c71}.search-box input::placeholder{color:#a4adb9}.search-box kbd{font-size:12px;font-family:inherit}.asset-list{overflow-y:auto;min-height:0;padding:0 1px}.asset-card{position:relative;margin-bottom:9px;border:1px solid transparent;border-radius:7px;padding:7px}.asset-card.active{background:#f2f6fe;border-color:#cbdafa}.asset-select{display:block;width:100%;text-align:left;padding:0}.asset-thumb{position:relative;height:77px;border-radius:4px;overflow:hidden;background:#f0f3f8}.asset-thumb img{width:100%;height:100%;object-fit:cover}.asset-thumb>span{position:absolute;bottom:5px;left:5px;border-radius:3px;padding:3px;background:#ffffffed;display:flex}.asset-thumb .asset-number{left:auto;right:5px;font-size:8px;letter-spacing:.2px;padding:3px 4px;color:#3d4d5e}.asset-select strong{display:block;font-size:11px;font-weight:500;margin:9px 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:12px}.asset-detail{display:block;font-size:9px;color:#929dad}.asset-checkbox{position:absolute;top:11px;right:10px;width:12px;height:12px;margin:0;opacity:0;cursor:pointer}.asset-card:hover .asset-checkbox,.asset-checkbox:checked,.asset-checkbox:focus-visible{opacity:1}.import-zone{border:1px dashed #dbe2eb;border-radius:5px;padding:13px 4px;margin-top:2px;display:flex;flex-direction:column;align-items:center;gap:5px;color:#93a0b1;flex-shrink:0}.import-zone span{font-size:10px;color:#7a8799}.import-zone small{font-size:9px;color:#b0b8c3}.import-zone:hover{border-color:#9eb8ee;background:#f8faff}.sidebar-bottom{display:flex;align-items:center;gap:7px;color:#8692a3;font-size:10px;margin-top:auto;padding:14px 0;flex-shrink:0}.sidebar-bottom small{display:block;font-size:9px;color:#a6afbc;margin-top:3px}.sidebar-bottom button{margin-left:auto}.batch-selection{font-size:11px;color:var(--blue);display:flex;align-items:center;justify-content:space-between}.collapsed-rail{width:36px;flex-shrink:0;padding-top:12px;background:#fff;display:flex;justify-content:center;align-items:flex-start;border-inline:1px solid var(--line)}.preview-panel{flex:1;min-width:0;display:flex;flex-direction:column;padding:25px 28px 0;background:#f5f7fa}.preview-header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-shrink:0}.eyebrow{font-size:9px;color:#9aa6b5;letter-spacing:1px;margin-bottom:8px}.eyebrow span{padding:0 7px;color:#c1c8d2}.preview-header h1{font-size:18px;letter-spacing:-.2px;font-weight:600;display:flex;align-items:center;gap:10px;white-space:nowrap}.version-badge{font-family:IBM Plex Mono,monospace;font-size:10px;font-weight:400;letter-spacing:0;color:#6981aa;border:1px solid #d9e2f1;border-radius:4px;background:#eef3fb;padding:3px 5px}.preview-subhead{display:flex;align-items:center;gap:6px;font-size:10px;color:#96a1af;height:38px;flex-shrink:0}.preview-subhead .demo-chip{margin-left:auto}.preview-stage{flex:1;min-height:0;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#e8edf1;box-shadow:0 1px 2px #1723300b,inset 0 0 0 1px #20263103}.single-pane{width:100%;height:100%;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.preview-image{width:100%;height:100%;object-fit:contain;transform-origin:center;-webkit-user-select:none;user-select:none}.single-pane>img{object-fit:contain}.single-pane video,.media-pane video{width:100%;height:100%;object-fit:contain;display:block}.single-media-badge{position:absolute;bottom:13px;left:13px;background:#fffe;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:4px;display:flex;gap:6px;align-items:center;padding:5px 8px;font-size:9px;color:#536173;box-shadow:0 2px 8px #00000008}.preview-controls{display:flex;align-items:center;height:49px;gap:9px;flex-shrink:0}.preview-tip{font-size:9px;flex:1}.image-controls{display:flex;align-items:center;gap:3px;margin-left:auto}.zoom-label{font-size:10px;color:#8090a5;width:38px;text-align:center}.fullscreen{border-left:1px solid #dce3ec;border-radius:0;padding-left:11px;margin-left:5px}.preview-stage:fullscreen{background:#e8edf1;padding:30px}.preview-stage:fullscreen .preview-image{object-fit:contain}.compare-panes{display:flex;gap:2px;height:100%;width:100%;background:#d3dce7}.media-pane{width:50%;height:100%;position:relative;overflow:hidden;background:#e8edf1;display:flex;align-items:center;justify-content:center;padding-bottom:31px}.preview-caption{position:absolute;left:0;bottom:0;right:0;background:#ffffffed;display:flex;align-items:center;gap:6px;height:31px;padding:0 9px;font-size:9px;color:#5f6f85}.preview-caption b{background:#edf3fd;border-radius:3px;padding:2px 4px;color:var(--blue);font-size:10px}.preview-caption time{margin-left:auto;font-size:8px;color:#8f9cae}.preview-caption span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.slider-view,.slider-layer{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.slider-layer{background:#e8edf1}.slider-line{position:absolute;top:0;bottom:0;width:2px;background:#fff;z-index:2;box-shadow:0 0 10px #0002}.slider-line span{position:absolute;top:50%;left:1px;transform:translate(-50%,-50%);background:#fff;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:#3a537a;box-shadow:0 2px 9px #0002;font-size:15px;letter-spacing:3px}.image-slider{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;opacity:0;width:100%;height:100%;cursor:ew-resize;margin:0}.slider-label{position:absolute;bottom:0;z-index:3;width:45%;height:31px}.slider-label.left{left:0}.slider-label.right{right:0}.playback-range{flex:1;min-width:20px;height:3px}.time-display{font-size:10px;color:#53667f;white-space:nowrap}.time-display i{font-style:normal;color:#b1bdcc;margin:0 3px}.audio-hint{display:flex;align-items:center;gap:4px;font-size:9px;color:#8794a5;white-space:nowrap}.media-empty{text-align:center;max-width:360px;padding:25px;color:#8b98aa}.media-empty h3{font-size:14px;color:#53647b;margin:14px 0 9px}.media-empty p{font-size:12px;line-height:1.8;margin-bottom:16px}.detection-result{font-size:11px;padding:6px;color:var(--blue)}.detection-result span{font-size:10px;color:#8b95a4;margin-left:8px}.tools-sidebar{width:276px;flex-shrink:0;background:#fff;border-left:1px solid var(--line);padding:0 18px;display:flex;flex-direction:column}.tools-scroll{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin}.tool-section-label{display:flex;justify-content:space-between;font-size:10px;color:#98a1af;margin:18px 0 11px}.tool-section-label>span:last-child{font-size:9px;color:#a5afbd}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.tool-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;border:1px solid #e8ecf1;background:#fff;border-radius:6px;padding:15px 3px 12px;color:#7e8a9d}.tool-card span{font-size:10px;white-space:nowrap}.tool-card.active{border-color:#adc6f5;background:#f4f7fe;color:var(--blue)}.tool-card i{width:11px;height:11px;position:absolute;right:5px;top:5px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;border-radius:50%}.tool-card:hover{background:#f8faff;border-color:#bdceed}.tool-description{color:#96a1b1;font-size:10px;margin-top:11px;margin-bottom:22px}.settings-section{border-top:1px solid #edf0f5;padding-top:16px;margin-bottom:19px}.settings-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:500;margin-bottom:14px}.settings-title>span{font-size:9px;color:#a1abb9;font-weight:400}.switch-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#68788e;gap:5px}.switch-row small{display:block;font-size:9px;color:#a0aab8;margin-top:5px}.switch{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:28px;height:16px;background:#cfd7e2;border-radius:20px;position:relative;cursor:pointer;flex-shrink:0}.switch:before{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;background:#fff;border-radius:50%;transition:transform .15s}.switch:checked{background:var(--blue)}.switch:checked:before{transform:translate(12px)}.field-label{display:flex;flex-direction:column;gap:8px;color:#76869b;font-size:11px}.field-label input,.field-label select{border:1px solid var(--line);border-radius:5px;background:#fff;color:#4d607c;padding:9px;width:100%}.field-label small{font-size:9px;color:#9ba6b6}.parameter-note{color:#93a0b2;font-size:10px;line-height:1.8}.flow-section{padding-top:16px;border-top:1px solid #edf0f5}.flow-explanation{font-size:10px;line-height:1.9;color:#9ba6b6}.add-step{border:1px dashed #dce3ed;border-radius:5px;color:#7d8ea5;font-size:10px;display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 2px;width:100%;margin-top:11px}.add-step:hover{background:#f7faff;border-color:#aec6f3}.source-note{display:flex;align-items:center;gap:8px;background:#f7f9fc;padding:10px;margin:18px 0 12px;border-radius:5px;font-size:10px;color:#72829a}.source-note small{font-size:9px;display:block;margin-top:5px;color:#a1acbb}.tools-footer{flex-shrink:0;border-top:1px solid #edf0f5;padding:14px 0 12px}.process-button{width:100%;font-size:11px;padding:10px 8px}.process-button svg:last-child{margin-left:auto}.tools-footer>span{display:block;text-align:center;font-size:9px;color:#a8b0bd;margin-top:8px}.pipeline-list{padding:0;margin:0;list-style:none}.pipeline-list li{display:flex;align-items:center;gap:6px;padding:8px 2px;border-bottom:1px solid #f0f3f7;font-size:10px}.pipeline-list li>b{width:17px;height:17px;display:grid;place-items:center;background:#edf3fd;color:var(--blue);border-radius:4px;font-size:9px}.pipeline-list li>span{flex:1}.tiny-button{padding:2px;display:flex;color:#8392a7}.preset-actions{display:flex;justify-content:space-between}.preset-actions .text-button{font-size:10px}.timeline{position:relative;flex-shrink:0;background:#fff;border-top:1px solid #dce3ec;display:flex;flex-direction:column;min-height:210px}.resize-grip{height:7px;position:absolute;top:-4px;left:0;right:0;z-index:3;cursor:ns-resize;display:flex;justify-content:center;align-items:center}.resize-grip i{width:30px;height:3px;border-radius:2px;background:#dce3ec}.resize-grip:hover{background:#3268da09}.resize-grip:hover i{background:#799de7}.timeline-toolbar{height:57px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:1px solid #f1f3f7;gap:14px}.timeline-heading{display:flex;align-items:center;gap:8px;white-space:nowrap}.timeline-heading>svg{color:#697d99}.timeline-heading h2{font-size:12px;font-weight:600}.count{font-size:9px;display:inline-flex;align-items:center;justify-content:center;background:#eff3f8;color:#97a4b8;width:18px;height:18px;border-radius:4px}.timeline-explain{font-size:9px;margin-left:12px;color:#a2adbc}.toolbar-actions{display:flex;align-items:center;gap:8px}.toolbar-actions .text-button{font-size:10px}.timeline-scroll{flex:1;overflow:auto;background:linear-gradient(#fbfcfe,#fff);scrollbar-width:thin;scrollbar-color:#dce3ed transparent}.timeline-canvas{position:relative;min-height:185px}.connections{position:absolute;left:0;top:0;pointer-events:none;overflow:visible}.connections path{stroke:#d9e2ed;stroke-width:1.5;fill:none}.connections path.selected-path{stroke:#96b5ef;stroke-width:1.7}.version-position{position:absolute;padding-top:43px}.axis-dot{position:absolute;top:26px;width:9px;height:9px;border-radius:50%;background:#d9e2ed;border:2px solid #fff;box-shadow:0 0 0 1px #e5eaf1}.axis-dot.current{background:var(--blue);box-shadow:0 0 0 3px #e6edfb;border:2px solid #fff}.date-marker{position:absolute;top:7px;left:0;font-size:9px;color:#9eabbe}.branch-label{position:absolute;top:8px;left:0;display:flex;align-items:center;gap:4px;color:#9caac0;font-size:9px}.version-card{position:relative;border:1px solid #e1e7f0;border-radius:7px;background:#fff;box-shadow:0 2px 3px #162b4303;transition:border-color .15s,box-shadow .15s}.selected .version-card{border-color:#80a5ed;box-shadow:0 0 0 2px #edf3fe,0 3px 7px #3268da07;background:#fcfdff}.version-card:hover{border-color:#abc4ef}.version-select{width:100%;text-align:left;padding:9px 10px 11px;display:block;border-radius:6px}.node-top{display:flex;align-items:center;gap:7px;margin-bottom:9px}.version-code{font-size:9px;color:#91a0b5;background:#f1f4f8;padding:2px 4px;border-radius:3px}.selected .version-code{color:var(--blue);background:#eaf1fe}.node-top time{font-size:9px;color:#9ca8b9}.node-content{display:flex;align-items:center;gap:8px}.node-content>img{width:45px;height:32px;object-fit:cover;border-radius:3px;flex-shrink:0}.node-content>div{min-width:0}.node-content strong{display:block;font-size:10px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5d6b80}.selected .node-content strong{color:#345789}.saved-label,.missing-label{display:flex;align-items:center;gap:2px;font-size:8px;color:#96a8a3;margin-top:5px;white-space:nowrap}.missing-label{color:#b68b71}.node-menu{position:absolute;top:8px;right:7px;padding:0;color:#b4becc;display:flex}.node-menu:hover{color:var(--blue)}.node-ab{position:absolute;top:7px;right:6px;display:flex;gap:2px}.node-ab button{font-size:8px;padding:2px 4px;border:1px solid #e5eaf2;border-radius:3px;color:#a0acbc;background:#fff}.node-ab button.chosen{background:var(--blue);color:#fff;border-color:var(--blue)}.missing .node-content img{filter:grayscale(1)!important;opacity:.3}.task-node{position:absolute;min-height:90px;border:1px dashed #afc6ed;border-radius:6px;text-align:left;padding:11px;display:flex;flex-direction:column;gap:6px;background:#f8faff}.task-node-title{font-size:9px;display:flex;gap:5px;align-items:center;color:var(--blue)}.task-node>strong{font-size:10px;font-weight:500}.task-node>span{font-size:8px;color:#96a4b9}.task-node.failed{border-color:#ddb9a7;background:#fffaf7}.task-node.failed .task-node-title{color:#b67859}.timeline-footer{height:26px;flex-shrink:0;border-top:1px solid #f0f3f7;display:flex;align-items:center;justify-content:space-between;padding:0 26px;font-size:8px;color:#a7b0bd}.timeline-footer>span{display:flex;align-items:center;gap:5px}.legend-dot{width:5px;height:5px;background:var(--blue);border-radius:50%;display:inline-block}.legend-line{width:15px;height:1px;background:#cad7e9;display:inline-block;margin-left:10px}.app-status{height:26px;flex-shrink:0;background:#f7f9fc;border-top:1px solid #e7ecf3;display:flex;justify-content:space-between;align-items:center;padding:0 23px;font-size:8px;color:#a5afbf}.app-status>span{display:flex;align-items:center;gap:6px}.app-status>span:last-child{font-size:8px;letter-spacing:1.4px;font-family:IBM Plex Mono,monospace}.app-status i{font-style:normal;color:#bfc8d5}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#22314745;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:32px}.dialog{background:#fff;border:1px solid #e3e8f0;border-radius:12px;width:420px;max-height:85vh;overflow:auto;box-shadow:0 20px 100px #1629442b}.dialog.wide{width:680px}.dialog>header{display:flex;align-items:center;justify-content:space-between;padding:19px 23px;border-bottom:1px solid var(--line)}.dialog>header h2{font-size:15px;font-weight:600}.dialog-intro{font-size:12px;line-height:1.8;color:#8391a5;padding:18px 23px 10px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;border-top:1px solid var(--line);font-size:11px}.mask-tools{display:flex;align-items:center;gap:12px;padding:4px 23px 12px;font-size:11px;color:#8c99aa}.mask-tools>span:first-child{display:flex;gap:6px;align-items:center}.mask-tools input{width:100px}.mask-tools button{margin-left:auto}.mask-stage{position:relative;margin:0 23px 20px;background:#e8edf1;overflow:hidden;border-radius:6px}.mask-stage video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.mask-stage canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.task-disclaimer{display:flex;align-items:center;gap:9px;padding:16px 23px;font-size:10px;color:#98a5b7;border-bottom:1px solid #f0f3f7}.task-list{max-height:60vh;overflow:auto;padding:0 23px 10px}.task-item{padding:19px 0;border-bottom:1px solid #edf1f7}.task-row{display:flex;justify-content:space-between;align-items:center}.task-row strong{font-size:12px;font-weight:500}.task-status{font-size:10px;display:flex;align-items:center;gap:5px;color:#8291a7}.task-status.running,.task-status.saving{color:var(--blue)}.task-status.failed{color:#ba7258}.task-status.success{color:var(--green)}.task-steps{display:flex;gap:8px;margin:14px 0;color:#a7b1c1;flex-wrap:wrap}.task-steps>span{font-size:10px;display:flex;align-items:center;gap:6px}.task-steps .active{color:#536f98}.task-meta{display:flex;justify-content:space-between;font-size:9px;color:#a1adbd;margin-top:7px}.task-error{color:#af7961;font-size:11px;background:#fcf6f1;padding:10px;line-height:1.7;border-radius:4px;margin-top:12px}.task-actions{display:flex;justify-content:flex-end;gap:14px;margin-top:10px}.task-actions .text-button{font-size:10px}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:3px;border:0;background:#ecf0f7;border-radius:5px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#ecf0f7;border-radius:5px}progress::-webkit-progress-value{background:#739bec;border-radius:5px}.empty-tasks{text-align:center;padding:48px 20px;color:#9badc5}.empty-tasks h3{font-size:14px;color:#617691;margin:15px 0 9px}.empty-tasks p{font-size:11px;color:#94a3b9}.version-dialog-body{padding:22px}.version-dialog-body>.primary-button{margin-top:12px;width:100%}.version-dialog-body hr{border:0;border-top:1px solid var(--line);margin:20px 0 10px}.menu-action{display:flex;align-items:center;gap:10px;padding:12px 7px;width:100%;font-size:12px;text-align:left;border-radius:4px;color:#687c98}.menu-action>svg:last-child:not(:first-child){margin-left:auto}.menu-action:hover{background:#f7faff}.menu-action.danger{color:#b58068}.delete-confirm{background:#fff8f3;padding:12px;border:1px solid #f0dfd2;border-radius:5px;margin-top:12px;font-size:11px;color:#ae7e65;line-height:1.8}.danger-button{background:#a75b40;color:#fff;padding:7px 10px;border-radius:4px;font-size:11px;margin-top:10px}.danger-button:hover{background:#89452e;color:#fff}.info-body{padding:24px}.info-illustration{background:#f1f5fd;width:58px;height:58px;border-radius:12px;display:grid;place-items:center;color:#7396cc;margin-bottom:20px}.info-body h3{font-size:15px;font-weight:500;margin-bottom:12px}.info-body p{font-size:12px;line-height:1.9;color:#8392a8;margin-bottom:20px}.info-row{display:flex;align-items:flex-start;gap:9px;color:#8494a9;font-size:11px;line-height:1.8;margin-bottom:14px}.info-row svg{margin-top:2px}.info-body .secondary-button{width:100%;margin-top:8px}.toast{position:fixed;bottom:45px;left:50%;transform:translate(-50%);z-index:200;display:flex;align-items:center;gap:9px;background:#263d60;color:#fff;border:1px solid #3f5270;padding:10px 13px;border-radius:7px;box-shadow:0 5px 20px #253a6426;font-size:11px;max-width:80vw}.toast button{color:#b7c6dc}.spin{animation:spin 1.7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1550px){.preview-panel{padding:30px 38px 0}.asset-sidebar{width:220px}.tools-sidebar{width:288px}.asset-thumb{height:88px}}@media(max-height:820px){.preview-panel{padding-top:16px}.asset-thumb{height:54px}.asset-card{margin-bottom:5px;padding:5px}.asset-select strong{margin:6px 0 3px}.asset-detail{font-size:8px}.import-zone{padding:8px 3px;gap:4px}.import-zone>svg{width:14px;height:14px}.sidebar-bottom{padding:10px 0}.tool-card{padding:10px 2px;gap:6px}.tool-section-label{margin-top:12px}.tool-description{margin-bottom:16px}.tools-footer{padding:10px 0}.preview-header h1{font-size:17px}.preview-subhead{height:32px}}@media(max-width:1200px){.asset-sidebar{width:180px;padding:0 10px}.tools-sidebar{width:242px;padding:0 13px}.app-header{gap:13px;padding:0 17px}.preview-panel{padding-left:20px;padding-right:20px}.preview-header{align-items:flex-start;gap:6px}.preview-header h1{font-size:15px}.segmented button{padding:5px 7px;font-size:10px}.brand strong span{display:none}.preview-tip{max-width:180px;line-height:1.6}.timeline-explain{display:none}}@media(max-width:950px){.storage-button{display:none}.breadcrumb{gap:8px}.prototype-badge{display:none}.asset-sidebar{width:160px}.tools-sidebar{width:218px;padding:0 11px}.preview-header{flex-wrap:wrap}.preview-subhead .demo-chip{font-size:8px}.preview-header h1{font-size:14px}.tool-grid{gap:5px}.tool-card span{font-size:9px}.timeline-toolbar{padding:0 16px}.toolbar-actions,.preview-controls{gap:3px}.preview-tip,.audio-hint{display:none}.preview-caption time{display:none}}@media(max-width:720px){.app-shell{min-width:360px;height:100dvh;min-height:620px}.app-header{height:56px;padding:0 12px;gap:10px}.brand strong{font-size:14px}.breadcrumb,.header-divider,.avatar{display:none}.app-header>.primary-button{font-size:10px;padding:8px}.header-spacer{min-width:0}.work-area{position:relative}.asset-sidebar{width:132px;padding:0 8px}.asset-thumb{height:49px}.asset-select strong{font-size:9px}.asset-detail,.sidebar-bottom{font-size:8px}.sidebar-bottom .icon-button{display:none}.tools-sidebar{position:absolute;right:0;top:0;bottom:0;width:240px;z-index:10;box-shadow:-6px 0 20px #23314b12}.preview-panel{padding:13px 12px 0}.preview-header h1{font-size:13px}.preview-subhead{font-size:8px}.preview-subhead .demo-chip{display:none}.preview-header .segmented{margin-top:3px}.eyebrow{font-size:8px}.timeline-toolbar{height:64px;align-items:flex-start;padding-top:10px;flex-wrap:wrap;gap:0}.timeline-heading h2{font-size:11px}.toolbar-actions{margin-left:auto}.toolbar-actions .text-button{font-size:9px}.timeline-footer>span:last-child{display:none}.app-status{padding:0 12px}.app-status>span:last-child{display:none}.modal-backdrop{padding:15px}.task-disclaimer{font-size:9px;line-height:1.7}.preview-controls .time-display{font-size:8px}.preview-caption{font-size:8px;padding:0 4px}.compare-panes{flex-direction:column}.media-pane{width:100%;height:50%}.mask-tools{gap:8px}.mask-tools input{width:70px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.asset-card:not(.active) .asset-select{display:grid;grid-template-columns:45px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center}.asset-card:not(.active) .asset-thumb{grid-row:1/3;height:44px;width:45px}.asset-card:not(.active) .asset-number{display:none}.asset-card:not(.active) .asset-select strong{font-size:10px;margin:3px 0 0;padding:0}.asset-card:not(.active) .asset-detail{font-size:8px;white-space:normal;line-height:1.5;align-self:start;margin-top:4px}.asset-card:not(.active) .asset-checkbox{top:8px;right:5px}.import-zone{padding:11px 4px}.asset-list{scrollbar-width:thin;scrollbar-gutter:stable;padding-right:4px}.asset-card{padding:5px;margin-bottom:6px}.asset-card.active .asset-thumb{height:60px}.asset-card:not(.active) .asset-thumb{height:40px}.asset-checkbox{opacity:.35;right:10px}.asset-card:not(.active) .asset-checkbox{right:8px}.asset-card:hover .asset-checkbox,.asset-checkbox:checked{opacity:1}.search-box{margin:10px 0}.import-zone{padding:8px 4px;gap:4px}.import-zone>svg{width:15px;height:15px}.sidebar-bottom{padding:11px 0}@media(max-height:820px){.asset-card .asset-select{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;column-gap:7px;align-items:center}.asset-card.active .asset-thumb{grid-row:1/3;height:40px;width:40px}.asset-card.active .asset-number{display:none}.asset-card.active .asset-select strong{font-size:10px;margin:3px 0 0;padding:0}.asset-card.active .asset-detail{font-size:8px;line-height:1.5;white-space:normal;align-self:start;margin-top:4px}.search-box{margin:8px 0}.import-zone{padding:6px 4px}.sidebar-bottom{padding:8px 0}}.version-details{color:#8d9bb0;font-size:10px;margin:0 0 14px;padding:0 3px;line-height:1.9}.version-details summary{cursor:pointer;color:#8393aa}.version-details p{padding-top:6px;overflow-wrap:anywhere}.drawer-backdrop{justify-content:flex-end;padding:0;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.drawer-dialog{width:430px;height:100dvh;max-height:none;border-radius:0;border:0}.drawer-dialog .task-list{max-height:calc(100dvh - 150px)}.drawer-dialog .task-disclaimer{flex-wrap:wrap;line-height:1.8}.mask-stage>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.remote-task-id{font-family:ui-monospace,monospace;font-size:10px;color:#8e9bb0;margin-top:8px;overflow-wrap:anywhere}.connection-detail{border:1px solid #e2e7ee;border-radius:6px;padding:12px;color:#667c98;font-size:12px}.connection-detail p{margin:8px 0;overflow-wrap:anywhere}.task-status.disconnected,.task-status.cancelling{color:#ab7d39}.capability-summary{display:flex;justify-content:space-between;align-items:center;margin:15px 0 12px;font-size:10px;color:#8291a6}.capability-summary b{font-size:9px;font-weight:400;background:#f1f5fb;border-radius:4px;padding:3px 6px;color:#8096b5}.capability-group{margin-bottom:15px}.capability-group .tool-section-label{margin:0 0 8px}.capability-group .tool-section-label>span:first-child{display:flex;align-items:center;gap:4px;color:#6d7f97}.capability-group .tool-section-label b{font-size:9px;font-weight:400;color:#a0aec0;margin-left:3px}.capability-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.capability-card{display:flex;align-items:center;gap:6px;min-height:38px;padding:7px 6px;border:1px solid #e5eaf1;border-radius:5px;background:#fff;color:#697e9b;text-align:left}.capability-card span{font-size:10px;line-height:1.5;flex:1}.capability-card.active{border-color:#aac4f1;background:#f2f6fe;color:#3268da}.capability-card:not(:disabled):hover{border-color:#97b6eb;background:#f7faff}.capability-card:disabled{opacity:1;color:#a2adbc;background:#fafbfd;border-color:#edf0f4;cursor:not-allowed}.capability-card.active>svg:last-child{color:#3268da}.tools-scroll{scrollbar-width:thin;scrollbar-color:#d6deea transparent}.mobile-dock{display:none}.mobile-asset-list{padding:16px;display:grid;gap:10px}.mobile-asset-list>button{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;text-align:left;min-height:64px}.mobile-asset-list>button.active{border-color:var(--blue);background:#f2f6fe}.mobile-asset-list img{width:52px;height:52px;object-fit:cover;border-radius:8px}.mobile-asset-list span{flex:1;min-width:0}.mobile-asset-list strong{display:block;overflow-wrap:anywhere}.mobile-asset-list small{display:block;margin-top:5px;color:#89929f}@media(max-width:720px){html{scroll-padding-top:0}body{-webkit-tap-highlight-color:transparent}.app-shell{min-width:0;min-height:100dvh;height:auto;overflow:visible;padding-bottom:calc(82px + env(safe-area-inset-bottom))}.app-header{order:0;position:sticky;top:0;z-index:20;height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;gap:12px}.app-header .prototype-badge,.app-header .storage-button,.app-header .task-button,.app-header .avatar{display:none}.app-header>.primary-button{min-height:40px;font-size:12px;border-radius:10px;padding:0 12px}.brand strong{font-size:17px}.brand strong span{display:inline;font-size:9px}.work-area{display:contents}.asset-sidebar,.collapsed-rail{display:none}.preview-panel{order:1;width:100%;height:350px;flex:none;padding:18px 16px 0}.eyebrow{display:none}.preview-header{flex-wrap:wrap;gap:8px}.preview-header h1{font-size:16px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.preview-header .segmented{margin:0}.segmented button{min-height:36px;padding:6px 9px;font-size:11px}.preview-subhead{font-size:11px;height:30px}.preview-stage{min-height:150px;border-radius:12px}.preview-controls{min-height:52px;gap:8px}.preview-controls .time-display{font-size:10px}.preview-tip,.audio-hint{display:none}.preview-controls .icon-button{min-width:40px;min-height:44px}.playback-range{min-width:50px;height:32px}.preview-caption{font-size:10px}.preview-caption time{display:inline;font-size:9px}.timeline{order:2;height:280px!important;min-height:280px;border-top:1px solid var(--line);scroll-margin-top:65px}.resize-grip{display:none}.timeline-toolbar{height:95px;padding:12px 16px 6px;gap:3px;flex-direction:column;align-items:stretch;flex-wrap:nowrap}.timeline-heading h2{font-size:14px}.timeline-explain{display:none}.toolbar-actions{width:100%;margin:0;justify-content:space-between;gap:2px}.toolbar-actions .text-button{font-size:11px;min-height:40px}.toolbar-actions .icon-button{min-width:36px;min-height:40px}.toolbar-actions .divider{display:none}.timeline-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.timeline-footer{padding:0 16px;min-height:26px}.node-menu{min-width:36px;min-height:32px}.node-ab button{min-height:32px}.tools-sidebar{order:3;position:static;width:100%;padding:0 16px;border:0;border-top:8px solid #f5f7fa;box-shadow:none;z-index:auto;scroll-margin-top:60px}.tools-sidebar .section-head{min-height:60px;font-size:16px}.tools-sidebar .section-head>.icon-button{display:none}.tools-scroll{overflow:visible;flex:none}.capability-summary{margin:8px 0 18px;font-size:12px}.capability-summary b{font-size:11px}.capability-group{margin-bottom:24px}.capability-group .tool-section-label,.tool-section-label>span:last-child{font-size:11px}.capability-grid{gap:10px}.capability-card{min-height:58px;padding:12px 10px;border-radius:10px;gap:8px}.capability-card span{font-size:12px}.capability-card.active{box-shadow:0 0 0 1px #3268da16}.tool-description,.parameter-note,.flow-explanation{font-size:12px;line-height:1.8}.settings-title{font-size:14px}.field-label{font-size:13px}.field-label input,.field-label select,.search-box input{font-size:16px;min-height:44px}.switch-row{min-height:52px}.add-step{min-height:48px;font-size:13px}.pipeline-list li{min-height:48px}.pipeline-list .tiny-button{min-width:40px;min-height:40px}.tools-footer{padding:16px 0 24px}.process-button{min-height:48px;border-radius:10px;font-size:14px}.mobile-dock{position:fixed;bottom:0;left:0;right:0;z-index:25;display:grid;grid-template-columns:repeat(4,1fr);padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e2e7ee;background:#ffffffed;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.mobile-dock button{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;min-height:48px;font-size:11px;color:#79869a}.mobile-dock .mobile-tool-action{color:#3268da;background:#edf3ff;border-radius:12px}.app-status{display:none}.modal-backdrop{z-index:60;align-items:flex-end;padding:0}.dialog,.drawer-dialog{width:100%;max-width:100%;height:auto;max-height:88dvh;border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}.dialog>header{min-height:60px}.dialog>header .icon-button{min-width:44px;min-height:44px}.drawer-dialog .task-list{max-height:65dvh}.toast{bottom:calc(85px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);z-index:70}}
