body .modal-overlay.pixel-import-backdrop{position:absolute;z-index:20}body .modal-overlay>.modal.pixel-import-dialog{--pixel-preview-height: clamp(188px, calc(42dvh + 70px) , 460px);--pixel-import-border: #e9e4ee;width:min(1120px,100%);container:pixel-import / inline-size;max-width:100%;max-height:100%;display:flex;flex-direction:column;padding:0;overflow:hidden;color:#44374f;font-size:13px}.pixel-import-dialog>header{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;gap:12px;padding:5px 22px;border-bottom:1px solid var(--pixel-import-border)}.pixel-import-dialog h3{margin:0;font-size:15px;line-height:1.4}.main .pixel-editor .pixel-import-close{width:28px;height:28px;padding:0;background:#f6f3f8;color:#685977;font-size:22px}.main .pixel-editor .pixel-import-close:hover{background:#eee7f4}.pixel-import-layout{display:grid;grid-template-columns:minmax(0,1fr) 272px;min-height:0;overflow:auto}.pixel-import-stage{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0;padding:8px 22px 18px}.pixel-import-stage-bar,.pixel-import-previews figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px}.pixel-import-stage-bar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#746b7c}.main .pixel-editor .pixel-import-stage-bar button{padding:3px 9px;white-space:nowrap;border-color:#e4daee;color:#675377}.pixel-import-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pixel-import-previews figure{margin:0;min-width:0}.pixel-import-previews figcaption{flex-wrap:wrap;margin-bottom:7px}.pixel-import-previews figcaption span{font-size:12px;color:#746b7c;font-variant-numeric:tabular-nums}.pixel-import-image,.pixel-import-result{display:grid;place-items:center;height:var(--pixel-preview-height);overflow:hidden;border:1px solid var(--pixel-import-border);border-radius:8px;background:#f7f6f9}.pixel-import-image img,.pixel-import-result canvas{display:block;height:auto;max-width:100%;background:conic-gradient(#e9e5ed 25%,#fff 0,#fff 50%,#e9e5ed 0,#e9e5ed 75%,#fff 0) 0 0 / 12px 12px}.pixel-import-result canvas{image-rendering:pixelated}.pixel-import-settings{--settings-border: #d7dfe9;--settings-label: #65778e;--settings-blue: #2563eb;padding:12px;border-left:1px solid var(--settings-border);background:#f7f8fa;font-size:12px;line-height:1.4}.pixel-import-settings fieldset{display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0}.pixel-import-settings fieldset:disabled{opacity:.6}.pixel-import-setting-group{display:grid;gap:7px;padding:0 8px 8px;border:1px solid var(--settings-border);border-radius:3px;background:#fff}.pixel-import-setting-group>:is(.pixel-import-group-title,.pixel-import-color-heading){margin:0 -8px;padding:5px 8px;border-bottom:1px solid var(--settings-border);background:#eef2f6;color:#52677f}.pixel-import-group-title{font-weight:600}.pixel-import-presets{display:flex;gap:3px;padding:3px;background:#f1f5f9;border-radius:7px}.main .pixel-editor .pixel-import-presets button{flex:1;min-width:0;padding:3px 0;background:transparent;color:#526176;font-variant-numeric:tabular-nums}.main .pixel-editor .pixel-import-presets button[aria-pressed=true]{background:#fff;color:var(--settings-blue);box-shadow:0 1px 3px #0f172a12}.pixel-import-dimensions{display:grid;gap:5px}.pixel-import-dimensions label{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,56%);align-items:center;gap:8px;color:var(--settings-label)}.pixel-import-check{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:8px;min-height:24px;color:var(--settings-label);cursor:pointer}body .pixel-import-dialog :is(input[type=checkbox],input[type=range]){accent-color:var(--settings-blue)}.pixel-import-check input{width:14px;height:14px;margin:0}.pixel-import-dialog :is(input[type=number],select){width:100%;min-width:0;height:27px;padding:3px 7px;border:1px solid #c7d2df;border-radius:3px;background:#fff;color:#43556d;font:inherit}body .modal-overlay .modal.pixel-import-dialog .pixel-import-settings :is(button,input,select):focus-visible{outline-color:#8fb6ff}body .modal-overlay .modal.pixel-import-dialog>.modal-btns{margin:0;padding:12px 22px;flex-wrap:nowrap}.pixel-import-finished{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 9px;margin-right:auto;font-variant-numeric:tabular-nums}.pixel-import-finished span,.pixel-import-finished small{color:#746b7c}.pixel-import-error{margin:0;padding:8px 22px;background:#fff3f1;color:#a34032}.pixel-import-empty{flex:1;display:grid;align-content:center;justify-items:center;gap:12px;min-height:300px;padding:16px;border:1px dashed #d9cbe8;border-radius:10px;background:#faf8fc;text-align:center}.pixel-import-empty svg{width:36px;color:#8750c7}.pixel-import-empty p{margin:0;font-size:15px;font-weight:600}.pixel-import-empty small{color:#746b7c}.main .pixel-editor .pixel-import-upload{background:#7c3aed;color:#fff}.pixel-import-drop-hint{position:absolute;top:12px;right:12px;bottom:12px;left:12px;display:grid;place-items:center;border:2px dashed #9b7cc5;border-radius:10px;background:#f5f1fbed;color:#6535a8;pointer-events:none}@container pixel-import (max-width: 800px){.pixel-import-stage{--pixel-preview-height: clamp(170px, calc(33dvh + 48px) , 308px)}.pixel-import-layout{grid-template-columns:minmax(0,1fr)}.pixel-import-settings{border-left:0;border-top:1px solid var(--settings-border)}.pixel-import-dialog>header{padding:5px 16px}.pixel-import-stage{padding:8px 16px 12px}body .modal-overlay .modal.pixel-import-dialog>.modal-btns{padding:10px 16px;flex-wrap:wrap}}@container pixel-import (max-width: 460px){.pixel-import-finished{flex-basis:100%}}.pixel-import-color-heading{display:flex;justify-content:space-between;align-items:center;gap:6px}.main .pixel-editor .pixel-import-color-heading button{padding:0;background:transparent;color:var(--settings-blue)}.pixel-import-color-heading small{font-weight:400;color:var(--settings-label)}.pixel-import-color-choices{display:grid;grid-template-columns:repeat(auto-fill,27px);gap:5px}.main .pixel-editor .pixel-import-color-choices button{width:27px;height:27px;padding:3px;border-color:var(--settings-border);border-radius:4px}.main .pixel-editor .pixel-import-color-choices button[aria-pressed=true]{border-color:#5d91ef}.main .pixel-editor .pixel-import-color-choices button[data-merge-target=true]{outline:2px solid var(--settings-blue);outline-offset:-2px}.pixel-import-color-choices button span{display:block;width:100%;height:100%;border-radius:3px;border:1px solid #0002}.pixel-import-color-actions{display:flex;flex-wrap:wrap;gap:6px}.main .pixel-editor .pixel-import-color-actions button{padding:3px 8px;border-color:#c7d2df;border-radius:3px;color:#526176}.pixel-import-crop-surface{position:relative;overflow:hidden;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.pixel-import-crop-surface img{width:100%;pointer-events:none}.pixel-import-crop-box{position:absolute;outline:2px solid #2563eb;outline-offset:-1px;box-shadow:0 0 0 200vmax #10182866;pointer-events:none}.main .pixel-editor .pixel-import-reset-crop{justify-self:start;padding:2px 6px;border-color:var(--settings-border);color:var(--settings-blue)}.pixel-editor{position:absolute;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;flex-direction:column;background:#f7f8fb;color:#334155;overflow:hidden;font-family:inherit}.main .pixel-editor button{width:auto;min-width:0;flex:0 0 auto;margin:0;box-sizing:border-box;cursor:pointer;font:inherit;font-size:12px;line-height:18px;border:1px solid transparent;background:#fff;color:#475569;border-radius:7px;padding:8px 11px;box-shadow:none}.main .pixel-editor button:disabled{opacity:.4;cursor:default}.pixel-editor>header{display:flex;align-items:center;gap:14px;padding:9px 22px;background:#fffaf3;border-bottom:1px solid #e9e0d5;min-height:52px;box-sizing:border-box;flex-shrink:0}.pixel-editor h2{font-size:14px;font-weight:600;margin:0}.pixel-header-divider{color:#c3b8ab}.main .pixel-editor .pixel-back{background:transparent;padding:5px 0;color:#948575}.main .pixel-editor .pixel-submit{margin-left:auto;background:#8247df;color:#fff;padding:8px 18px}.pixel-body{position:relative;display:flex;flex:1;min-height:0;overflow:hidden}.pixel-body aside{position:absolute;left:18px;top:22px;bottom:100px;width:50px;z-index:3;display:flex;flex-direction:column;gap:9px;overflow:auto;align-items:center;padding:12px 5px;border:1px solid #e4e9f1;border-radius:12px;background:#fffffff5;box-shadow:0 4px 18px #23334b08;box-sizing:border-box;scrollbar-width:thin}.main .pixel-editor aside button,.pixel-editor aside input{width:28px;height:28px;min-height:28px;padding:0;border:1px solid #ddd;border-radius:6px;cursor:pointer;flex-shrink:0}.main .pixel-editor aside button[aria-pressed=true]{outline:2px solid #8b5cf6;outline-offset:2px}.pixel-scroll{flex:1;min-width:0;overflow:auto;padding:32px 90px 120px;background-color:#f3f5f8;background-image:linear-gradient(#dfe5ed66 1px,transparent 1px),linear-gradient(90deg,#dfe5ed66 1px,transparent 1px);background-size:32px 32px;box-sizing:border-box}.pixel-editor>[role=alert]{position:absolute;top:70px;left:50%;transform:translate(-50%);background:#fff1ef;color:#b53c31;padding:10px 16px;border-radius:8px;z-index:8}@media(max-width:800px){.pixel-editor>header{padding:9px 12px;gap:8px}.pixel-scroll{padding-left:75px;padding-right:20px}.pixel-body aside{left:10px}}.main:has(>.pixel-editor){position:relative;isolation:isolate;overflow:hidden}.pixel-scroll{position:relative;padding:0;overflow:hidden;touch-action:none}.pixel-canvas-surface{position:absolute;left:50%;top:50%;background:#fff;box-shadow:0 2px 20px #27334012}.pixel-canvas-surface canvas{display:block;width:100%;height:100%;max-width:none;image-rendering:pixelated}.pixel-grid-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;color:#59616b44}.pixel-body .pixel-thread-palette{left:18px;top:20px;bottom:auto;width:216px;max-height:calc(100% - 112px);padding:16px 14px;gap:14px;align-items:stretch;border-radius:14px;box-shadow:0 8px 28px #23334b08;scrollbar-width:thin}.pixel-palette-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px}.pixel-palette-heading>span{font-size:10px;color:#8992a3;background:#f2f4f8;padding:3px 7px;border-radius:5px}.pixel-current-color{display:flex;align-items:center;gap:10px;padding:10px;background:#f7f8fb;border:1px solid #edf0f5;border-radius:9px}.pixel-current-color>div{display:flex;flex-direction:column;gap:4px;font-size:11px}.pixel-current-color>div>span{font-size:10px;color:#8c95a5}.pixel-current-color strong{font-weight:500;font-variant-numeric:tabular-nums}.pixel-body .pixel-current-color input{width:32px;height:32px;padding:2px;border-radius:7px;border-color:#dfe3ec}.pixel-color-dot{width:7px;height:7px;border-radius:50%;margin-left:auto;border:1px solid #0001}.pixel-palette-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px 5px}.main .pixel-editor .pixel-thread-palette .pixel-palette-grid button{width:100%;height:auto;min-height:0;display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;padding:0;border-radius:4px;outline:0}.pixel-palette-grid button>span{width:100%;aspect-ratio:1;border-radius:4px;border:1px solid #00000012;display:grid;place-items:center;box-sizing:border-box;font-size:12px;color:#fff;text-shadow:0 1px 3px #0009;transition:transform .12s}.pixel-palette-grid button small{font-size:8px;line-height:10px;color:#8b95a5;font-variant-numeric:tabular-nums}.pixel-palette-grid button:hover>span{transform:translateY(-2px)}.main .pixel-editor .pixel-palette-grid button[aria-pressed=true]>span{outline:2px solid #8247df;outline-offset:2px}.main .pixel-editor .pixel-palette-grid button[aria-pressed=true] small{color:#8247df;font-weight:600}.pixel-thread-palette>p{margin:0;padding-top:10px;border-top:1px solid #eef0f5;color:#98a1b1;font-size:9px;text-align:center}@media(max-width:1000px){.pixel-body .pixel-thread-palette{width:184px;padding:13px 10px}}@media(max-width:700px){.pixel-body .pixel-thread-palette{left:10px;top:14px;width:158px}.pixel-palette-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px 5px}.pixel-thread-palette>p{font-size:8px}}.main .pixel-editor{top:10px;right:12px;bottom:12px;left:12px;border-radius:12px}.pixel-editor select{min-width:0;padding:5px;border:1px solid #dfe3ec;border-radius:6px;background:#fff;color:inherit;font:inherit}body .pixel-editor .canvas-measure-tools.pixel-toolbar{position:absolute;inset:auto auto 8px 50%;z-index:4;display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;width:max-content;max-width:calc(100% - 24px);transform:translate(-50%);white-space:nowrap;overflow-x:auto;scrollbar-width:thin}body.embroidery-workbench-ui .pixel-editor .canvas-measure-tools.pixel-toolbar .btn:before{content:none}.pixel-tool-divider{flex:0 0 1px;height:18px;margin:0 3px;background:#dce3ec}.pixel-zoom{min-width:38px;text-align:center;color:#64748b;font-size:12px;font-variant-numeric:tabular-nums}.pixel-draft-warning{margin-left:auto;color:#a34032;font-size:12px}.pixel-controls{position:absolute;right:18px;top:70px;z-index:6;display:grid;gap:7px;width:220px;padding:0 10px 10px;border:1px solid #d7dfe9;border-radius:4px;background:#fff;color:#65778e;font-size:12px}.pixel-settings-heading{margin:0 -10px;padding:6px 10px;border-bottom:1px solid #d7dfe9;background:#eef2f6;color:#52677f;font-weight:600}.pixel-controls label{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,52%);align-items:center;gap:8px}.pixel-controls input{width:100%;min-width:0;height:27px;padding:3px 7px;border:1px solid #c7d2df;border-radius:3px;color:#43556d;font:inherit}.pixel-size-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 8px;padding:5px 0}.pixel-size-summary strong{font-weight:500;color:#43556d;font-variant-numeric:tabular-nums}.main .pixel-editor .pixel-import-button{padding:4px 8px;border-color:#c7d2df;border-radius:3px;color:#526176}.main .pixel-editor .pixel-import-button:not(:disabled):hover{border-color:#bfcee2;background:#f1f5f9}@media(max-width:700px){.pixel-controls{right:12px;width:172px}}.modal-overlay.pixel-export-dialog{width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;box-sizing:border-box}.modal-overlay.pixel-export-dialog:not([open]){display:none}.pixel-export-dialog::backdrop{background:transparent}.muti-opening-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:90;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#f8fafdf5;color:#64748b;font-size:13px;pointer-events:auto}.muti-opening-overlay>img.muti-opening-stitches{position:static;inset:auto;display:block;width:min(460px,75%);height:auto;max-height:180px;aspect-ratio:440 / 140;object-fit:contain;flex:0 0 auto;margin:0 0 24px}.muti-opening-overlay>.muti-loading-title,.muti-opening-overlay>.muti-generation-progress{position:relative;flex:0 0 auto}.muti-opening-overlay.muti-generating{gap:16px;padding:28px 16px;box-sizing:border-box}.main:has(>.muti-opening-screen){position:relative}.muti-opening-screen{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100}.muti-generation-canvas{position:relative;min-height:420px;overflow:hidden;border-radius:18px}.muti-loading-title{color:#20242b;font-size:17px;font-weight:600;letter-spacing:.05em}.muti-generation-progress{width:min(360px,75%);margin-top:10px}.muti-generation-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;font-size:12px}.muti-generation-caption strong{color:#171717;font-size:22px;font-variant-numeric:tabular-nums}.muti-generation-track{height:5px;background:#e5e7eb;border-radius:8px;overflow:hidden}.muti-generation-track>span{display:block;height:100%;background:#202020;border-radius:inherit;transition:width .8s ease;position:relative;overflow:hidden}.muti-generation-track>span:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,#ffffff70,transparent);animation:muti-progress-glow 1.8s ease-in-out infinite}.muti-generation-progress small{display:block;margin-top:14px;color:#87909e;font-size:11px;text-align:center}@keyframes muti-progress-glow{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.muti-generation-track>span:after{animation:none}}.creation-section-heading p{color:#77716b;font-size:14px;margin:10px 0 0;line-height:1.7}.creation-saved-template{display:flex;flex-direction:column;text-align:left;overflow:hidden;gap:10px;padding-bottom:18px}.creation-saved-template img{width:100%;aspect-ratio:1;object-fit:contain;background:#f5f1eb;border-radius:14px}.creation-saved-template small{color:#77716b;line-height:1.5}.creation-saved-template>span{color:#806345;font-size:13px;margin-top:auto}.creation-saved-template:disabled{opacity:.65;cursor:wait}.creation-saved-template:focus-visible{outline:2px solid #806345;outline-offset:5px}.creation-template-empty{padding:36px;border:1px dashed #d8cec1;border-radius:16px;background:#faf8f4}.creation-template-empty p{color:#77716b;max-width:600px;line-height:1.8;margin-bottom:0}:root{--creation-page-background: radial-gradient(ellipse at 18% 20%,#eee7ff,transparent 54%),radial-gradient(ellipse at 85% 62%,#fff1e7,transparent 55%),#faf9ff;--bg: #ffffff;--panel: #ffffff;--border: #d8dce3;--text: #2b2f36;--hint: #8a919e;--accent: #7c5cff;--accent-hi: #6a49f2;--accent-soft: #f0ecff;--btn: #5b6b87;--btn-hi: #495876;--gold: #e8a33d;--gold-hi: #d6942c;--canvas: #ffffff;--input-bg: #ffffff;--error: #d64545;--shadow-sm: 0 1px 3px rgba(20, 24, 40, .12);--shadow-md: 0 4px 14px rgba(20, 24, 40, .16)}*{box-sizing:border-box}body{margin:0;overflow-x:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:var(--text);background:var(--bg)}.app{display:flex;height:100vh;overflow:hidden}.login-page{min-height:100vh;display:grid;place-items:center;background:#eef1f6;padding:24px;box-sizing:border-box}.login-card{width:360px;max-width:100%;padding:32px;box-sizing:border-box;background:var(--panel);border:1px solid var(--border);border-radius:18px;box-shadow:0 12px 48px #34285812}.login-brand{color:var(--accent);font-weight:750;font-size:25px}.login-card h1{font-size:16px;margin:12px 0 28px}.login-card form,.login-card label{display:flex;flex-direction:column;gap:10px}.login-card form{gap:20px}.login-card label{font-size:13px}.login-card input{width:100%;padding:11px 12px;box-sizing:border-box;border:1px solid var(--border);border-radius:8px;font:inherit}.login-card .btn{padding:11px}.login-hint{font-size:12px;color:#6b7280;line-height:1.6}.sidebar{width:210px;min-width:210px;background:#eef1f6;border-right:1px solid var(--border);box-shadow:2px 0 12px #78a0ff40;overflow:hidden;padding:12px;display:flex;flex-direction:column;transition:width .2s ease,min-width .2s ease}.sidebar.collapsed{width:60px;min-width:60px}.sidebar-account{flex-shrink:0;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.account-trigger{width:100%;display:flex;gap:10px;align-items:center;border:0;border-radius:10px;padding:6px;background:transparent;color:var(--text);cursor:pointer}.account-trigger:hover,.account-trigger[aria-expanded=true]{background:var(--accent-soft)}.account-avatar{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;color:var(--accent);background:#e7e0ff}.account-avatar svg{width:26px;height:26px;fill:currentColor}.account-name{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;font-size:13px}.sidebar.collapsed .account-trigger{padding:2px;justify-content:center}.account-menu{position:fixed;z-index:10010;width:180px;padding:6px;box-sizing:border-box;border:1px solid var(--border);border-radius:12px;background:var(--panel);box-shadow:0 8px 24px #0f172a25}.account-menu-name{padding:8px 10px;color:var(--hint);font-size:12px;overflow-wrap:anywhere;border-bottom:1px solid var(--border);margin-bottom:4px}.account-menu button{display:block;width:100%;padding:10px;border:0;border-radius:7px;text-align:left;color:#d43b50;background:transparent;cursor:pointer}.account-menu button:hover,.account-menu button:focus-visible{background:#fff0f2}.sidebar.collapsed .nav-text,.sidebar.collapsed .nav-file{display:none}.collapse-btn{margin-top:auto;width:100%;display:flex;align-items:center;justify-content:center;padding:8px;background:transparent;border:none;border-radius:6px;cursor:pointer;color:#000}.collapse-btn:hover{background:#0000000f}.logo{margin:0 0 12px;padding:12px 0;width:100%;text-align:center;font-size:26px;font-weight:700;color:#000;cursor:pointer}.sidebar .field,.sidebar .field input[type=file]{width:100%}.page-header{flex:0 0 auto;margin:12px 16px 0;padding:12px 16px;font-size:16px;font-weight:700;color:var(--text);border:1px solid var(--border);border-radius:8px;box-shadow:0 2px 10px #78a0ff40;background:#fff}.lettering-page{flex:1;padding:20px;max-width:560px;overflow-y:auto}.lettering-panel{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:#fafbfd;margin:12px 18px 0}.lettering-panel-title{font-size:14px;font-weight:700;color:#1e3a8a}.lettering-panel-row{display:flex;align-items:center;gap:8px}.lettering-panel-row label{font-size:13px;color:var(--text);flex-shrink:0;white-space:nowrap}.lettering-panel-row select{flex:1;padding:6px 8px;border:1px solid var(--border);border-radius:6px;font-size:13px;background:#fff}.lettering-panel-row textarea{flex:1;padding:8px 10px;border:1px solid var(--border);border-radius:6px;font-size:14px;resize:vertical;font-family:inherit}.lettering-panel-row .btn{flex:0 0 auto}.lettering-panel-params{display:flex;flex-wrap:wrap;gap:8px}.lettering-param{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text)}.lettering-param label{white-space:nowrap;color:var(--hint)}.lettering-param input{width:52px;padding:3px 4px;border:1px solid var(--border);border-radius:4px;font-size:12px;text-align:center}.lettering-param select{padding:3px 4px;border:1px solid var(--border);border-radius:4px;font-size:12px}.lettering-param-unit{color:var(--hint);font-size:11px}.upload-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:40px 20px;border:2px dashed var(--border);border-radius:8px;color:var(--hint);font-size:15px;font-weight:600;text-align:center;cursor:pointer;transition:border-color .15s ease,background .15s ease}.upload-dropzone .upload-formats{font-size:12px;font-weight:400;color:var(--hint)}.upload-dropzone.over{border-color:var(--accent);background:#7c5cff0f;color:var(--accent)}.upload-options{display:flex;align-items:center;gap:8px;padding:8px 0}.upload-options .bg-strength{flex:1;gap:8px}.upload-options .bg-strength input[type=range]{flex:1;min-width:100px}.upload-status{padding:8px 12px;border-radius:6px;background:#dbeafe;color:#7a5c00;font-size:13px;margin-bottom:8px}.drag-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#7c5cff26;border:3px dashed var(--accent);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;color:var(--accent);pointer-events:none}.btn-row{display:flex;gap:6px;margin-bottom:8px}.separation-empty-state{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;border-radius:10px;border:1px solid var(--border);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;cursor:pointer;background:radial-gradient(circle at 50% 40%,#f5f8fff2,#e6eeffd9)}.separation-empty-icon{font-size:52px;line-height:1;filter:drop-shadow(0 2px 6px rgba(0,0,0,.12))}.separation-empty-title{font-size:20px;font-weight:700;color:#1e3a8a}.separation-empty-sub{font-size:13px;color:#64748b}.separation-empty-actions .btn{padding:9px 22px;font-size:14px}.separation-empty-hint{margin-top:4px;font-size:12px;color:#94a3b8}.btn{background:#dbeafe;color:#000;border:none;border-radius:6px;padding:9px 14px;cursor:pointer;font-size:14px;flex:1;font-weight:600;letter-spacing:.2px;transition:background .15s ease,box-shadow .15s ease,transform .05s ease}.btn:hover:not(:disabled){background:#000;color:#fff;box-shadow:var(--shadow-sm)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.btn-sm{flex:0 0 auto;padding:4px 10px;font-size:12px;border-radius:5px;min-width:28px}.btn.primary{background:#dbeafe;color:#000;box-shadow:0 2px 8px #93c5fd4d}.btn.primary:hover:not(:disabled){background:#000;color:#fff;box-shadow:0 4px 14px #00000059}.btn.btn-danger{background:#fee2e2;color:#b91c1c}.btn.btn-danger:hover:not(:disabled){background:#b91c1c;color:#fff}.btn.text-btn{width:100%;margin-bottom:12px;flex:none;background:transparent;color:#000;font-size:16px;display:flex;align-items:center;justify-content:center;gap:6px}.nav-icon{flex-shrink:0}.btn.text-btn:hover:not(:disabled){background:#0000000f}.btn.text-btn.active{background:#000;color:#fff;font-weight:600;box-shadow:none}.btn.text-btn:disabled{color:#b0b6bf;opacity:1}.field{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.field label{font-size:12px;color:var(--hint)}.field input[type=number],.field input[type=text],.field select,.field textarea,.field input[type=file]{background:var(--input-bg);border:1px solid var(--border);border-radius:4px;padding:6px 8px;color:var(--text);font-size:13px}.field input[type=checkbox]{width:18px;height:18px;margin:0}.field-row{display:flex;gap:8px}.field-row .field{flex:1}.param-section{background:var(--panel);border:1px solid var(--border);border-radius:6px;padding:8px;margin-bottom:10px}.param-section h3{margin:0 0 8px;font-size:14px;color:var(--accent)}.main{flex:1;min-width:0;max-width:100%;display:flex;flex-direction:column;background:var(--canvas)}.tabs{display:flex;border-bottom:1px solid var(--border);background:var(--panel)}.tabs button{border:none;background:transparent;padding:10px 20px;cursor:pointer;font-size:14px;color:var(--text);border-right:1px solid var(--border)}.tabs button.active{background:var(--canvas);font-weight:600;color:var(--accent)}.tab-content{flex:1;min-width:0;max-width:100%;overflow:hidden;position:relative}.execute-actions{position:absolute;top:12px;right:12px;z-index:10;display:flex;align-items:center;gap:6px}.execute-actions .btn{flex:none;padding:8px 16px}.execute-actions select{padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);font-size:13px;cursor:pointer}.svg-viewer{width:100%;height:100%;position:relative}.svg-iframe{width:100%;height:100%;border:none;background:#fff}.placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:var(--hint);font-size:16px}.status-bar{padding:8px 12px;background:var(--panel);border-top:1px solid var(--border);color:var(--accent);font-size:13px}.animation-canvas-wrapper:fullscreen{width:100vw;height:100vh;max-height:none;flex:none;border-radius:0;background:var(--panel, #fff)}.app:fullscreen{width:100vw;height:100vh;background:var(--canvas)}.app:fullscreen>.sidebar{display:none}.app:fullscreen .main>.tabs{display:none}.app:fullscreen .workspace-tab{flex:1;min-height:0}.animation-container{display:flex;flex-direction:column;height:100%;min-width:0;max-width:100%;padding:12px;gap:8px;box-sizing:border-box;overflow:hidden}.workspace-panel{position:absolute;top:12px;right:12px;width:300px;max-height:calc(100% - 24px);background:var(--panel);border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 16px #78a0ff4d;z-index:10;display:flex;flex-direction:column;overflow:hidden}.workspace-panel.collapsed{width:auto}.workspace-panel-drag{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:2px;cursor:move;background:#f0f2f5;border-bottom:1px solid var(--border);-webkit-user-select:none;user-select:none;color:#999;font-size:12px}.panel-btn{flex:none;margin:8px 10px 4px}.preview-btn{background:#fff;border:1px solid var(--accent);color:var(--accent)}.save-config-btn{background:#fff;border:1px solid #16a34a;color:#15803d}.save-config-btn:hover:not(:disabled){background:#f0fdf4;border-color:#15803d;color:#166534}.preview-btn:hover:not(:disabled){background:var(--accent-soft);color:var(--accent);box-shadow:none}.panel-export-row{flex:0 0 auto;display:flex;gap:6px;margin:4px 10px 8px}.panel-export-row select{width:80px;padding:6px 8px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);font-size:13px}.panel-export-row .btn{flex:1 1 0;min-width:0;white-space:nowrap;padding:9px 6px;font-size:13px}.panel-export-aux .btn.sm{font-size:12px;padding:7px 6px;white-space:nowrap}.import-tabs{display:flex;gap:4px;margin-bottom:12px;border-bottom:1px solid var(--border)}.import-tab{flex:1;padding:8px 12px;background:transparent;border:none;border-bottom:2px solid transparent;color:var(--text-soft, #666);font-size:13px;font-weight:600;cursor:pointer;transition:color .15s,border-color .15s}.import-tab:hover{color:var(--accent)}.import-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.params-float-header{display:flex;justify-content:space-between;align-items:center;margin:4px 10px;padding:9px 14px;background:#dbeafe;box-shadow:0 2px 8px #93c5fd4d;border-radius:6px;color:#000;font-size:14px;font-weight:600;letter-spacing:.2px;cursor:pointer;-webkit-user-select:none;user-select:none}.params-float-header .chevron{font-size:12px}.params-float-title{display:flex;align-items:center;gap:6px}.settings-icon{display:block}.params-float-body{overflow-y:auto;overflow-x:hidden;padding:10px}.params-float-body .field:has(>input[type=checkbox]){flex-direction:row;align-items:center;gap:8px}.params-float-body .field:has(>input[type=checkbox])>label{flex:0 1 auto}.params-float-body>.field{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.params-float-body>.field label{font-size:12px;color:var(--text);flex-shrink:0;white-space:nowrap}.params-float-body>.field select{font-size:13px;padding:5px 8px;width:170px;border:1px solid #b0b0b0;background:#fff}.param-group,.param-section-sibling{border:1px solid var(--border);border-radius:6px;margin-bottom:8px;background:#fff;overflow:hidden;box-shadow:var(--shadow-sm)}.param-section-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-size:13px;font-weight:700;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;background:#f2f4f7;border-left:3px solid var(--gold)}.param-section-header .chevron{font-size:11px}.param-section-body{padding:8px 10px}.toggle-field{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.toggle-field label{color:var(--text)!important}.param-group-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-size:13px;font-weight:600;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;background:linear-gradient(180deg,#fbfcfe,#f1f3f7);border-bottom:1px solid var(--border);transition:background .15s ease}.param-group-header:hover{background:linear-gradient(180deg,#f4f6fb,#e9ecf3)}.param-group-header .chevron{font-size:11px;color:var(--hint);transition:color .15s ease}.param-group-header:hover .chevron{color:var(--accent)}.param-group-body{padding:8px 10px}.param-group-body .field{margin-bottom:8px;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;position:relative}.params-float-body .field .param-label{font-size:12px;color:var(--text);flex:1 1 auto;white-space:normal;min-width:0;cursor:help;-webkit-user-select:none;user-select:none}.params-float-body .field .param-label:hover{color:var(--accent)}.param-tooltip{position:absolute;left:0;right:0;top:calc(100% - 2px);z-index:40;font-size:12px;line-height:1.6;color:#374151;background:#ffffffb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(148,163,184,.28);border-radius:8px;box-shadow:0 4px 18px #0f172a1f;padding:8px 10px}.params-float-body .field label{font-size:12px;color:var(--text);flex:1 1 auto;white-space:normal;min-width:0}.params-float-body .field input[type=number]{font-size:13px;padding:6px 8px;width:110px;flex-shrink:0;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);transition:border-color .15s ease,box-shadow .15s ease}.params-float-body .field input[type=number]:hover{border-color:#b9a7ff}.params-float-body .field input[type=number]:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #7c5cff26}.params-float-body .field select{appearance:none;-webkit-appearance:none;-moz-appearance:none;font-size:13px;padding:6px 26px 6px 8px;width:120px;flex-shrink:0;border:1px solid var(--border);border-radius:6px;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c5cff' d='M6 8.5 2 4.5h8z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;color:var(--text);cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.params-float-body .field select:hover{border-color:#b9a7ff}.params-float-body .field select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #7c5cff26}.params-float-body .field input[type=checkbox]{flex-shrink:0}.params-float-body .field input[type=color]{width:50px;height:28px;padding:0;border:1px solid #b0b0b0;border-radius:4px;background:#fff;cursor:pointer}.visual-choice-select{position:relative;flex:1;min-width:0}.visual-choice-trigger{display:flex;align-items:center;gap:6px;width:100%;padding:4px 8px;border:1px solid var(--border);border-radius:6px;background:#fff;cursor:pointer;font-size:12px;color:var(--text)}.visual-choice-trigger img{width:24px;height:24px;object-fit:contain;flex-shrink:0}.visual-choice-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visual-choice-menu{position:absolute;top:calc(100% + 4px);right:0;max-height:280px;overflow-y:auto;background:#fff;border:1px solid var(--border);border-radius:6px;box-shadow:0 4px 16px #00000026;z-index:30;min-width:220px}.visual-choice-option{display:flex;align-items:center;gap:8px;padding:5px 8px;cursor:pointer;font-size:12px;color:var(--text)}.visual-choice-option:hover{background:#eef1f6}.visual-choice-option.active{background:#dbeafe}.visual-choice-option img{width:28px;height:28px;object-fit:contain;flex-shrink:0}.fill-method-select .visual-choice-trigger img,.stroke-satin-method-select .visual-choice-trigger img{width:44px;height:28px}.fill-method-select .visual-choice-menu,.stroke-satin-method-select .visual-choice-menu{min-width:280px}.fill-method-select .visual-choice-option img,.stroke-satin-method-select .visual-choice-option img{width:56px;height:36px}.animation-canvas-wrapper{flex:1 1 auto;min-height:0;min-width:0;position:relative;overflow:hidden;max-width:100%}.animation-canvas{border:1px solid var(--border);background:silver;border-radius:10px;display:block;width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box;cursor:default}.animation-thread-overlay,.animation-gpu-threads{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:4}.needle-crosshair{position:absolute;z-index:40;pointer-events:none;translate:-50% -50%;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}.needle-crosshair-playing{animation-name:needle-strike;animation-timing-function:ease-in-out;animation-fill-mode:both}@keyframes needle-strike{0%{transform:translateY(-5px) scale(.9);opacity:.65}35%{transform:translateY(1px) scale(1.1);opacity:1}55%{transform:translateY(0) scale(1);opacity:1}to{transform:translateY(-4px) scale(.9);opacity:.7}}.source-design-object{position:absolute;z-index:3;box-sizing:border-box;cursor:default;touch-action:none}.source-design-object>img,.source-design-svg{display:block;width:100%;height:100%;object-fit:contain;opacity:1;-webkit-user-select:none;user-select:none;pointer-events:none}.source-design-svg>svg{display:block;width:100%;height:100%;overflow:visible}.source-design-object.selected{border:2px solid #4f46e5;box-shadow:0 0 0 1px #fff,0 0 0 3px #4f46e547}.source-design-object.selected>img,.source-design-object.selected>.source-design-svg{opacity:1}.canvas-zoom-controls{position:absolute;top:54px;right:12px;display:flex;flex-direction:column;gap:4px;z-index:5}.canvas-zoom-controls.canvas-view-actions{top:12px;flex-direction:row}.canvas-view-actions button{display:grid;place-items:center}.canvas-zoom-controls button{width:34px;height:34px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);font-size:17px;font-weight:600;cursor:pointer;line-height:1;box-shadow:var(--shadow-sm);transition:background .15s ease,box-shadow .15s ease}.canvas-zoom-controls button:hover{background:var(--accent-soft);color:var(--accent);box-shadow:var(--shadow-md)}.canvas-zoom-controls button.active{background:#ff2d55;color:#fff;border-color:#ff2d55;box-shadow:0 0 0 2px #ff2d5540}.measure-overlay{-webkit-user-select:none;user-select:none}.measure-readout{box-sizing:border-box;width:154px;padding:2px 4px;background:#f0eff5;color:#000;font-family:Arial,Microsoft YaHei,sans-serif;font-size:15px;line-height:20px;box-shadow:1px 2px 2px #0006;font-variant-numeric:tabular-nums}.measure-readout>div{display:flex;gap:10px;white-space:nowrap}.placed-add{position:absolute;top:12px;left:12px;z-index:6;display:flex;gap:6px;align-items:center}.canvas-measure-tools{position:absolute;top:12px;left:12px;z-index:40;display:flex;flex-direction:column;gap:6px;align-items:stretch}.canvas-measure-tools .btn{padding:5px 10px;font-size:12px;background:#ffffffeb;border:1px solid var(--border);box-shadow:var(--shadow-sm)}.canvas-measure-tools .btn:hover{background:var(--accent-soft);color:var(--accent)}.canvas-measure-tools .btn.btn-danger{background:#ff2d55;color:#fff;border-color:#ff2d55}.pattern-library-open{--pattern-library-width: 248px}.canvas-measure-tools .btn.pattern-tool-active{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.pattern-library-panel{position:absolute;z-index:45;top:12px;bottom:12px;left:calc(var(--canvas-tools-width, 106px) + 24px);width:min(var(--pattern-library-width),calc(100% - var(--canvas-tools-width, 106px) - 36px));display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--panel);box-shadow:0 6px 24px #1e183c1f;color:var(--text)}.pattern-library-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 12px}.pattern-library-heading h3{margin:0 0 3px;font-size:14px}.pattern-library-heading span{font-size:11px;color:var(--hint)}.pattern-library-close{border:0;background:transparent;color:var(--hint);font-size:24px;width:28px;height:28px;cursor:pointer;border-radius:6px}.pattern-library-close:hover{background:var(--accent-soft);color:var(--accent)}.pattern-library-tabs{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin:0 12px 12px;padding:3px;border-radius:8px;background:#f1f2f6}.pattern-library-tabs button{padding:7px;border:0;border-radius:6px;background:transparent;color:var(--hint);font:inherit;font-size:12px;cursor:pointer}.pattern-library-tabs button[aria-selected=true]{background:var(--panel);color:var(--accent);font-weight:600;box-shadow:var(--shadow-sm)}.pattern-library-options{display:flex;gap:12px;align-items:center;padding:0 12px 10px}.pattern-library-options label{display:flex;gap:5px;align-items:center;font-size:11px;white-space:nowrap}.pattern-library-options label span{color:var(--hint)}.pattern-library-options input[type=color]{width:27px;height:26px;border:1px solid var(--border);border-radius:5px;padding:2px;background:#fff;cursor:pointer}.pattern-library-options input[type=number]{width:53px;padding:4px;border:1px solid var(--border);border-radius:5px;color:var(--text);font-size:12px}.pattern-library-search{margin:0 12px 10px;width:calc(100% - 24px);padding:7px 9px;border:1px solid var(--border);border-radius:7px;font-size:12px;background:var(--input-bg);color:var(--text)}.pattern-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:7px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:2px 12px 12px;scrollbar-width:thin}.pattern-library-card{min-width:0;display:flex;flex-direction:column;align-items:center;padding:9px 4px 6px;border:1px solid #e8e8ef;background:#fcfcfe;border-radius:8px;cursor:pointer;transition:background .12s,border-color .12s}.pattern-library-card svg{display:block;width:100%;height:53px;margin-bottom:7px}.pattern-library-card strong{color:var(--text);font-size:11px;font-weight:600}.pattern-library-card span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;color:var(--hint)}.pattern-library-card:hover,.pattern-library-card.selected{background:var(--accent-soft);border-color:var(--accent)}.pattern-library-card.selected strong{color:var(--accent)}.pattern-library-card:focus-visible,.pattern-library-tabs button:focus-visible,.pattern-library-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.pattern-library-card:disabled{cursor:default;opacity:.5}.pattern-library-empty{grid-column:1 / -1;padding:24px 0;text-align:center;color:var(--hint);font-size:12px;line-height:2}.pattern-library-empty button{border:0;background:transparent;color:var(--accent);cursor:pointer}.pattern-library-footer{padding:10px 12px;border-top:1px solid var(--border);font-size:11px;line-height:1.6;background:#faf9fd}.pattern-library-footer small{display:block;color:var(--hint);font-size:10px}.canvas-tool-panel{--pattern-library-width: 280px;bottom:auto;height:auto;max-height:calc(100% - 24px)}.text-tool-panel{--pattern-library-width: 340px}.canvas-tool-panel-content{padding:14px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.free-draw-surface{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:35;touch-action:none}.tracing-background{position:absolute;pointer-events:none;-webkit-user-select:none;user-select:none;object-fit:contain}.tracing-background-name{overflow-wrap:anywhere}.export-result-modal{position:relative;overflow:hidden}.export-result-fields{border:0;margin:0;padding:0;min-width:0}.export-progress-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#fffffff0;cursor:wait}.export-progress-overlay strong{font-size:14px;color:var(--accent)}.export-progress-overlay span{font-size:12px;color:var(--hint)}.free-draw-toolbar{position:absolute;z-index:46;left:50%;bottom:18px;transform:translate(-50%);display:flex;align-items:center;gap:14px;max-width:calc(100% - 24px);box-sizing:border-box;padding:12px 14px;background:var(--panel);border:1px solid var(--border);border-radius:18px;box-shadow:0 6px 24px #1e183c2e}.free-draw-options{border:0;padding:0;margin:0;display:flex;align-items:center;gap:18px;min-width:0}.free-draw-options label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--hint);white-space:nowrap;min-width:0}.free-draw-options input,.free-draw-options select{box-sizing:border-box;height:32px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--text)}.free-draw-options input[type=color]{width:44px;padding:3px;cursor:pointer}.free-draw-options select{width:100px;padding:4px 8px}.free-draw-width{display:flex;align-items:center;gap:5px}.free-draw-width input{width:66px;padding:4px 6px}.free-draw-width button{width:30px;height:32px;padding:0;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--text);font-size:20px;cursor:pointer}.free-draw-width button:disabled{opacity:.4;cursor:default}.free-draw-width output{min-width:58px;text-align:center;color:var(--text);font-size:12px}.free-draw-type{display:flex;flex-direction:column;gap:6px;color:var(--hint);font-size:11px}.free-draw-type-options{display:flex;gap:4px;flex-wrap:wrap;max-width:226px}.free-draw-type-options button{display:flex;align-items:center;justify-content:center;width:42px;height:32px;padding:2px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--text);cursor:pointer}.free-draw-type-options svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.free-draw-type-options button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.free-draw-type-options button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.free-draw-type-options button:disabled{cursor:default;opacity:.5}.free-draw-exit{border:0;border-radius:50%;width:28px;height:28px;flex-shrink:0;font-size:22px;color:var(--hint);background:var(--accent-soft);cursor:pointer}.free-draw-message{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);padding:6px 12px;background:var(--panel);border:1px solid var(--border);border-radius:8px;font-size:12px;white-space:nowrap}@media(max-width:480px){.free-draw-toolbar{gap:8px;padding:10px}.free-draw-options{gap:8px}.free-draw-type-options button{width:32px}}.canvas-tool-panel h2{font-size:14px;margin:0 0 12px}.canvas-tool-panel p{font-size:12px;color:var(--hint);line-height:1.6}.canvas-tool-panel .field-row{flex-wrap:wrap}.canvas-tool-panel .field{min-width:0}.canvas-tool-panel input{width:100%;box-sizing:border-box}.canvas-tool-panel .modal-btns{flex-wrap:wrap}.frame-shape-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.frame-shape-grid svg{fill:none;stroke:var(--accent);stroke-width:2}.text-tool-panel .text-font-grid{max-height:none;grid-template-columns:repeat(2,minmax(0,1fr))}.text-tool-panel .text-font-item{min-width:0}@media(max-width:700px){.pattern-library-open{--pattern-library-width: 220px}.pattern-library-grid{gap:5px;padding-left:9px;padding-right:9px}.pattern-library-options{gap:6px}}.placed-add .btn{padding:5px 10px;font-size:12px}.placed-design{position:absolute;cursor:default;-webkit-user-select:none;user-select:none;box-sizing:border-box}.placed-design img{width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;display:block}.placed-design-svg,.placed-design-svg>svg{width:100%;height:100%;display:block}.placed-design-svg>svg{overflow:visible}:is(.placed-design-svg,.source-design-svg) :where([data-muti-outline="1"],[data-stitch-inplace="1"][fill=none][stroke-width="1mm"]){stroke-width:1px!important;vector-effect:non-scaling-stroke}.placed-design-svg .svg-object-selected,.source-design-svg .svg-object-selected{stroke:#1677ff!important;stroke-width:1.5px!important;vector-effect:non-scaling-stroke;paint-order:stroke fill;filter:drop-shadow(0 0 1px #fff)}@media(hover:hover){.canvas-object-hover :is(.placed-design-svg,.source-design-svg) :is(path,rect,circle,ellipse,polygon,polyline,line,text,use)[id]:hover:not(:active,.svg-object-selected){stroke:#1677ff!important;stroke-width:3px!important;vector-effect:non-scaling-stroke;paint-order:stroke fill;filter:drop-shadow(0 0 1px #fff)}}.placed-ghost{position:absolute;pointer-events:none;z-index:7;opacity:.55;border:1px dashed #3b82f6;background:#ffffff4d}.placed-ghost img{width:100%;height:100%;object-fit:contain}.placed-hint{position:absolute;top:12px;left:50%;transform:translate(-50%);z-index:8;background:#3b82f6eb;color:#fff;font-size:12px;padding:5px 14px;border-radius:6px;pointer-events:none;white-space:nowrap}.design-editor-modal{width:660px;max-width:94vw;display:flex;flex-direction:column;gap:10px}.design-editor-header{font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;justify-content:space-between;gap:8px}.design-editor-close{flex-shrink:0;width:22px;height:22px;padding:0;border:none;border-radius:5px;background:transparent;color:#9aa3af;font-size:17px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.design-editor-close:hover{background:#fee2e2;color:#b91c1c}.design-editor-title{display:inline-block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.design-editor-header .btn.btn-sm{flex-shrink:0;margin-left:auto}.design-editor-body{position:relative;height:320px;background-color:#fff;background-image:linear-gradient(45deg,#e2e6eb 25%,transparent 25%),linear-gradient(-45deg,#e2e6eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e2e6eb 75%),linear-gradient(-45deg,transparent 75%,#e2e6eb 75%);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0;border:1px solid var(--border);border-radius:6px;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:grab}.design-editor-body:active{cursor:grabbing}.design-editor-body img{max-width:90%;max-height:90%;-webkit-user-select:none;user-select:none;pointer-events:none}.design-editor-stage{position:relative;display:inline-block;line-height:0}.design-editor-stage img{display:block}.design-editor-grid{position:absolute;z-index:30;pointer-events:none;overflow:visible;transform-origin:center}.design-editor-grid line{stroke:#3b82f6;stroke-width:1;opacity:.55;shape-rendering:crispEdges}.design-editor-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fffc;font-size:13px;font-weight:600;color:#3b82f6}.design-editor-toolbar{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;margin-top:10px;padding:10px;background:#f6f8fb;border:1px solid var(--border);border-radius:8px}.de-group{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:8px 12px;background:#fff;border:1px solid #e4e8ee;border-radius:7px;box-shadow:0 1px 2px #0000000a}.de-group-label{font-size:11px;font-weight:700;color:#6b7280;letter-spacing:.4px;white-space:nowrap;padding-bottom:3px;margin-bottom:2px;border-bottom:1px dashed #e4e8ee}.de-group-row{display:flex;align-items:center;gap:6px;white-space:nowrap}.de-field{display:flex;align-items:center;gap:4px;font-size:12px;color:#5b6b87;white-space:nowrap}.de-check{display:flex;align-items:center;gap:4px;font-size:12px;color:#5b6b87;cursor:pointer;white-space:nowrap}.de-check input{width:auto;margin:0}.de-slider{display:flex;align-items:center;gap:5px;font-size:11px;color:#8a919e}.design-editor-toolbar input[type=number]{width:48px;height:26px;padding:0 6px;font-size:12px;color:#1f2937;background:#fff;border:1px solid #d7dbe0;border-radius:5px;outline:none;box-sizing:border-box}.design-editor-toolbar input[type=number]:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.design-editor-toolbar input[type=range]{width:70px;accent-color:#3b82f6}.design-editor-toolbar .btn{height:26px;padding:0 10px;font-size:12px;line-height:1;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;flex:0 0 auto}.design-editor-toolbar .btn.btn-danger{background:#fee2e2;color:#b91c1c}.design-editor-toolbar .btn.btn-danger:hover:not(:disabled){background:#b91c1c;color:#fff}.design-editor-error{margin-top:8px;font-size:12px;color:#b91c1c;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;padding:6px 10px}.text-input-modal{width:520px;max-width:92vw}.text-font-cats{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}.text-font-cats .font-cat{padding:3px 10px;border:1px solid var(--border, #d7dbe0);border-radius:12px;background:#fff;color:var(--text, #1f2937);font-size:12px;cursor:pointer}.text-font-cats .font-cat.active{background:#dbeafe;border-color:var(--accent, #3b82f6);color:var(--accent, #3b82f6)}.text-font-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px;max-height:200px;overflow-y:auto;padding-right:4px}.text-font-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;border:1px solid var(--border, #d7dbe0);border-radius:6px;background:#fff;cursor:pointer}.text-font-item.active{border-color:var(--accent, #3b82f6);box-shadow:0 0 0 1px var(--accent, #3b82f6)}.text-font-item img{width:100%;height:48px;object-fit:contain;border-radius:4px;background:#fff}.text-font-thumb-empty{width:100%;height:48px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:#6b7280;background:#f2f5f9;border-radius:4px}.text-font-name{font-size:11px;color:var(--text, #1f2937);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}.canvas-status{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:10px;background:#ffffffeb;border:1px solid var(--border);border-radius:8px;box-shadow:0 2px 12px #0000001f;padding:6px 10px;z-index:6;font-size:12px;color:var(--text);-webkit-user-select:none;user-select:none;pointer-events:none}.canvas-status-item{font-variant-numeric:tabular-nums;white-space:nowrap}.canvas-status-sep{width:1px;height:14px;background:var(--border)}.design-log{position:absolute;right:12px;bottom:12px;min-width:180px;max-width:240px;background:#ffffffeb;border:1px solid var(--border);border-radius:8px;box-shadow:0 2px 12px #0000001f;padding:8px 10px;z-index:6;font-size:12px;color:var(--text)}.design-log-title{font-weight:700;color:#5b6b87;margin-bottom:6px;font-size:12px}.design-log-item{display:flex;justify-content:space-between;gap:12px;padding:1px 0;white-space:nowrap}.design-log-item span:first-child{color:#8a919e}.design-log-item span:last-child{font-weight:600;text-align:right}.design-original-frame{position:absolute;background:#fff;border:1px solid var(--border);border-radius:6px;box-shadow:var(--shadow-md);z-index:5;display:flex;flex-direction:column;overflow:hidden}.design-quantizing-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;background:#ffffffbf;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:13px;font-weight:600;color:#3b82f6;pointer-events:none}.canvas-middle-panning,.canvas-middle-panning *{cursor:grabbing!important}.canvas-measuring .placed-design,.canvas-measuring .placed-design *,.canvas-measuring .source-design-object,.canvas-measuring .source-design-object *,.canvas-measuring .stitch-object-selection,.canvas-measuring .stitch-object-selection *{pointer-events:none!important}.canvas-loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;background:#ffffffbf;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:15px;font-weight:600;color:#3b82f6;cursor:progress}.design-quantizing-spinner{width:26px;height:26px;border:3px solid #dbeafe;border-top-color:#3b82f6;border-radius:50%;animation:design-spin .8s linear infinite}@keyframes design-spin{to{transform:rotate(360deg)}}.design-original-title{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:5px 8px;font-size:11px;font-weight:700;color:#1e3a8a;background:#dbeafe;cursor:move;-webkit-user-select:none;user-select:none}.design-collapse-btn{width:20px;height:20px;border:none;border-radius:3px;background:#1e3a8a1f;color:#1e3a8a;font-size:10px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.design-collapse-btn:hover{background:#1e3a8a38}.design-original-frame.collapsed{min-width:120px;border-radius:6px}.design-original-frame.collapsed .design-original-title{border-radius:6px}.design-original-body{position:relative;flex:1 1 auto;overflow:hidden;background:#fff;cursor:crosshair;display:flex;align-items:center;justify-content:center}.design-original-body:active{cursor:crosshair}.design-canvas-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center}.design-box-wrap{position:relative}.design-canvas-box{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;border-style:solid;border-color:#000;box-shadow:2px 2px #0000004d}.design-svg-img{width:100%;height:100%;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none;display:block}.design-image-wrap{position:absolute;outline:1px dashed #ff0000;pointer-events:none}.design-image-size{position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%);font-size:10px;font-weight:600;color:red;background:#ffffffd9;padding:0 6px;border-radius:2px;pointer-events:none;white-space:nowrap}.design-size-label{margin-bottom:4px;font-size:11px;font-weight:600;color:#000;background:#ffffffd9;padding:1px 8px;border-radius:3px;pointer-events:none;white-space:nowrap}.design-original-resize{position:absolute;right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 50%,var(--btn) 50%)}.design-original-size{flex:0 0 auto;display:flex;align-items:center;gap:4px;padding:4px 8px;border-top:1px solid var(--border);font-size:11px;color:var(--text);background:#f7f7f7}.design-original-size .size-label{font-weight:700;color:var(--text);margin-right:4px;white-space:nowrap}.design-original-size .size-x{color:var(--hint);font-weight:700}.design-original-size .size-unit{color:var(--hint)}.design-original-size .ratio-toggle{display:flex;align-items:center;gap:3px;margin-left:6px;font-size:11px;color:var(--text);cursor:pointer}.design-original-size .ratio-toggle input{width:auto;margin:0}.design-original-size input{width:52px;padding:3px 4px;border:1px solid var(--border);border-radius:3px;font-size:11px;text-align:center}.design-color-merge .color-merge-btn{padding:3px 10px;border:none;border-radius:4px;background:#dbeafe;color:#1e3a8a;font-size:11px;font-weight:600;cursor:pointer}.design-color-merge .color-merge-btn:disabled{opacity:.5;cursor:not-allowed}.design-color-merge .color-reset-btn{padding:3px 8px;border:1px solid var(--border);border-radius:4px;background:#fff;color:var(--text);font-size:11px;cursor:pointer}.color-picker-panel{position:absolute;top:12px;left:12px;width:268px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 16px #0003;z-index:20;padding:10px}.color-picker-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:8px}.color-picker-simthread{display:grid;grid-template-columns:repeat(9,1fr);gap:4px;margin-bottom:8px;max-height:248px;overflow-y:auto;padding-right:4px}.color-swatch{padding:0;min-width:0;aspect-ratio:1;border-radius:3px;cursor:pointer;border:1px solid rgba(0,0,0,.15);transition:transform .1s ease,box-shadow .1s ease}.color-swatch:hover{transform:scale(1.15)}.color-swatch.active{outline:2px solid var(--accent);outline-offset:1px}.color-picker-info{font-size:12px;color:var(--hint);margin-bottom:8px;display:flex}.color-picker-info-rows{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;width:100%}.color-picker-info-row{display:inline-flex;align-items:baseline;gap:5px}.cpi-label{color:var(--hint)}.cpi-value{font-weight:600;color:var(--text)}.cpi-number{font-weight:700;font-size:14px;color:var(--accent);font-family:monospace}.color-picker-custom{display:flex;align-items:center;gap:8px;margin-bottom:10px}.color-picker-custom input[type=color]{width:36px;height:28px;padding:0;border:1px solid var(--border);border-radius:4px;background:#fff;cursor:pointer}.color-picker-hex{font-size:12px;color:var(--hint);font-family:monospace}.eyedropper-btn{margin-left:auto;width:28px;height:28px;border:1px solid var(--border);border-radius:4px;background:#fff;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center}.eyedropper-btn:hover{background:var(--accent-soft)}.color-picker-simthread::-webkit-scrollbar{width:6px}.color-picker-simthread::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.color-picker-actions{display:flex;gap:6px}.color-picker-actions button{flex:1;padding:9px 12px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;letter-spacing:.2px;color:#000;background:#dbeafe;transition:background .15s ease,box-shadow .15s ease,transform .05s ease}.color-picker-actions button:hover{background:#000;color:#fff;box-shadow:var(--shadow-sm)}.color-picker-actions button:last-child{background:#dbeafe;color:#000}.color-picker-actions button:last-child:hover{background:#000;color:#fff}.simthread-swatch-picker{position:relative;display:inline-block;vertical-align:middle}.simthread-swatch-trigger{width:28px;height:22px;padding:0;border:1px solid var(--border);border-radius:4px;cursor:pointer;box-shadow:inset 0 0 0 1px #ffffff4d}.simthread-swatch-trigger:hover{outline:2px solid var(--accent-soft)}.object-color-swatch{width:36px;height:30px;border-radius:6px;border-color:#d7dbe0}.simthread-picker-pop{position:fixed;width:268px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 16px #0003;z-index:3000}.simthread-picker-pop.open-up{bottom:auto;left:auto}.simthread-picker-panel{padding:10px}.animation-toolbar{flex:0 0 auto;display:flex;flex-direction:column;gap:3px;padding:4px 8px;border:1px solid var(--border);border-radius:8px;background:#fafbfd;box-shadow:0 2px 10px #78a0ff40}.animation-toolbar[hidden]{display:none}.canvas-toolbar-toggle{position:absolute;bottom:7px;left:50%;transform:translate(-50%);z-index:45;display:flex;align-items:center;gap:5px;width:auto;min-width:0;padding:3px 10px;border:1px solid #d7dde5;border-radius:6px;background:#fffffff0;color:#475569;font-size:12px;line-height:18px;box-shadow:0 1px 5px #0f172a1a;cursor:pointer}.canvas-toolbar-toggle:hover{background:#fff;color:#2563eb}.toolbar-row{display:flex;align-items:center;gap:8px;justify-content:center}.toolbar-play-row{flex-wrap:nowrap}.play-side{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:6px}.play-side-left{justify-content:flex-start}.play-side-right{justify-content:flex-end}.play-side-right .stitch-color-card{max-width:100%}.toolbar-play-buttons{flex:0 0 auto;display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:6px;min-width:0}.toolbar-row button{background:#dbeafe;color:#000;border:none;border-radius:6px;padding:2px 6px;cursor:pointer;font-size:12px;min-width:30px;white-space:nowrap;flex-shrink:0;line-height:1;font-weight:500;transition:background .15s ease,box-shadow .15s ease,transform .05s ease}.toolbar-row button:hover{background:#000;color:#fff;box-shadow:var(--shadow-sm)}.toolbar-row button:active{transform:translateY(1px)}.speed-control{display:flex;align-items:center;gap:8px}.speed-gauge{display:flex;align-items:center;justify-content:center;line-height:0}.stitch-palette-toggle{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:38px;height:36px;padding:2px;border:1px solid var(--border);border-radius:5px;background:var(--panel);cursor:pointer}.stitch-palette-toggle:hover,.stitch-palette-toggle[aria-expanded=true]{background:#eaf2ff;border-color:#6095ed}.stitch-palette-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150}.stitch-palette-popover{position:absolute;width:300px;max-width:calc(100vw - 16px);max-height:65vh;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:8px;background:var(--panel, #fff);box-shadow:0 8px 28px #0f172a33;overflow:hidden}.stitch-palette-popover header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--border);font-size:13px}.stitch-palette-popover header button{border:0;background:transparent;cursor:pointer;font-size:20px;color:var(--text)}.stitch-palette-list{padding:8px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}.stitch-palette-strip{display:flex;min-height:44px;flex-shrink:0;border:1px solid var(--border);border-radius:5px;overflow:hidden}.stitch-palette-band{width:90px;flex-shrink:0;border-right:1px solid var(--border)}.stitch-palette-info{padding:5px 8px;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0}.stitch-palette-info strong{font-size:12px;font-weight:500}.stitch-palette-info small{font-size:11px;color:var(--hint)}.stitch-color-card{flex:0 0 auto;max-width:45%;display:flex;align-items:center;gap:8px;justify-content:flex-start;min-height:0;padding-top:2px}.stitch-color-card-title{flex:0 0 auto;font-size:12px;font-weight:700;color:#5b6b87;white-space:nowrap}.stitch-color-card-items{flex:1 1 auto;display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;padding-bottom:2px}.stitch-color-card-item{flex:0 0 auto;display:flex;align-items:center;gap:4px;cursor:default}.stitch-color-card-swatch{width:18px;height:18px;border-radius:3px;border:1px solid rgba(0,0,0,.18);box-sizing:border-box}.stitch-color-card-num{font-size:10px;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}.stitch-color-card-name{font-size:11px;color:var(--hint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stitch-color-card-items::-webkit-scrollbar{height:6px}.stitch-color-card-items::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.color-picker-modal{width:320px;padding:12px}.speed-control button{background:#dbeafe;color:#000;border:none;border-radius:6px;padding:6px 14px;cursor:pointer;font-size:13px;font-weight:600;transition:background .15s ease,box-shadow .15s ease}.speed-control button:hover{background:#000;color:#fff;box-shadow:var(--shadow-sm)}.toggle{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text);cursor:pointer}.toggle input{margin:0}.slider-row{gap:10px}.slider-row .sim-slider{flex:1}.stitch-box{padding:3px 6px;border:1px solid var(--border);border-radius:4px;background:var(--input-bg);color:var(--text);font-size:13px;font-weight:600;text-align:center}.total-stitches{font-size:13px;font-weight:600;color:#8a919e;white-space:nowrap}.progress-percent{font-size:13px;font-weight:600;color:#8a919e;min-width:38px;text-align:right}.color-status{justify-content:flex-start}.color-chip{width:16px;height:16px;border-radius:3px;border:1px solid var(--border);display:inline-block;cursor:default}.color-text{font-size:13px;color:var(--text);flex:1}.command-marks-toggle{padding:4px 10px;border:1px solid #d7dbe0;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:4px;transition:all .15s ease}.command-marks-toggle:hover{border-color:#dc2626;color:#dc2626}.command-marks-toggle.active{border-color:#dc2626;background:#fee2e2;color:#b91c1c}.mark-icon{font-size:13px;line-height:1;opacity:.5}.command-marks-toggle.active .mark-icon{opacity:1}.mark-icon.color-mark{color:#16a34a}.mark-icon.trim-mark{color:#dc2626}.mark-icon.stop-mark{color:#f59e0b}.toolbar-settings{flex-wrap:wrap;gap:6px 12px;border-top:1px dashed #e4e7ec;padding-top:8px;justify-content:flex-start}.toolbar-settings .toggle{gap:4px;white-space:nowrap}.toolbar-settings input[type=number]{width:54px;padding:2px 4px;border:1px solid var(--border);border-radius:4px;background:var(--input-bg);color:var(--text);font-size:12px}.toolbar-settings input[type=color]{width:28px;height:22px;padding:0;border:1px solid var(--border);border-radius:4px;background:none;cursor:pointer}.settings-sep{width:1px;align-self:stretch;background:#e4e7ec;margin:0 2px}.sim-slider{min-height:112px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none}.sim-slider-track{position:relative;width:100%;height:18px;margin-top:66px;background:#e0e0e0;border-radius:4px;overflow:visible}.sim-color-section{position:absolute;top:4px;height:10px;border-radius:2px;cursor:pointer}.sim-color-section:hover{outline:2px solid #fff;box-shadow:0 0 0 2px #0006;z-index:2}.sim-slider-thumb{position:absolute;top:0;width:3px;height:100%;background:#000;transform:translate(-1.5px);pointer-events:none;z-index:6}.sim-slider-thumb:before{content:"▼";position:absolute;top:-12px;left:-5px;color:#111827;font-size:13px}.sim-marker-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:#475569;pointer-events:none}.sim-marker-legend .jump{color:#2563eb}.sim-marker-legend .trim{color:#c2410c}.sim-marker-legend .stop{color:#7e22ce}.sim-marker-legend .color-change{color:#047857}.sim-marker{position:absolute;width:2px;pointer-events:auto;z-index:3;cursor:help}.sim-marker span{position:absolute;top:0;left:-8px;width:18px;height:18px;line-height:16px;text-align:center;border:1px solid currentColor;border-radius:4px;background:#fff;font-size:13px;font-weight:700}.sim-marker:hover{z-index:7}.sim-marker:hover span{transform:scale(1.2)}.sim-marker.jump{top:-64px;height:85px;background:#2563eb;color:#2563eb}.sim-marker.trim{top:-44px;height:65px;background:#c2410c;color:#c2410c}.sim-marker.stop{top:-24px;height:45px;background:#7e22ce;color:#7e22ce}.sim-marker.color-change{top:-4px;height:25px;background:#047857;color:#047857}.sim-color-tick{position:absolute;top:-3px;height:24px;pointer-events:none;z-index:1}.sim-color-tick-line{position:absolute;top:0;left:0;width:1px;height:100%;background:#0000008c}.sim-color-tick-label{position:absolute;top:100%;left:0;font-size:9px;line-height:1;color:#8a919e;transform:translate(-50%,2px);white-space:nowrap}.animation-controls{display:flex;align-items:center;justify-content:center;gap:12px;flex:0 0 auto}.animation-controls button{background:var(--btn);color:#fff;border:none;border-radius:4px;padding:6px 14px;cursor:pointer}.animation-controls button:disabled{opacity:.5;cursor:not-allowed}.animation-controls label{display:flex;align-items:center;gap:6px;font-size:13px}.animation-progress{font-size:13px;color:var(--hint)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100}.modal{background:var(--panel);border-radius:8px;padding:20px;width:480px;max-width:90vw}.cross-assistant-modal{width:1040px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}.cross-assistant-modal>h3{margin:0 0 6px;font-size:18px}.cross-assistant-modal>p{color:var(--text-secondary, #64748b);margin:0 0 12px;font-size:12px;flex-shrink:0}.cross-assistant-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:16px;min-height:0;overflow-y:auto}.cross-grid-preview{min-width:0;display:flex;flex-direction:column;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--bg, #f8fafc)}.cross-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;font-size:13px}.cross-preview-heading>span{color:var(--text-secondary, #64748b);font-size:12px}.cross-grid-preview>svg{display:block;width:100%;aspect-ratio:1;border-radius:6px;overflow:hidden}.cross-preview-legend,.cross-preview-values{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12px;margin-top:12px;color:var(--text-secondary, #64748b)}.cross-preview-values>span{background:var(--panel);padding:4px 7px;border:1px solid var(--border);border-radius:4px}.cross-preview-note{font-size:12px;line-height:1.5;color:var(--text-secondary, #64748b);margin:6px 0 0}.cross-preview-error{color:#c53030;font-size:12px}.cross-assistant-controls{min-width:0;display:flex;flex-direction:column}.cross-settings-group{min-width:0;margin:0 0 12px;padding:10px;border:1px solid var(--border);border-radius:6px}.cross-settings-group legend{padding:0 5px;font-size:13px;font-weight:600}.cross-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cross-assistant-controls .field{min-width:0;margin:0}.cross-assistant-controls .field{position:relative}.cross-assistant-controls .param-label{cursor:help;width:fit-content}.cross-assistant-controls .param-label:hover,.cross-assistant-controls .param-label:focus-visible{color:var(--accent)}.cross-assistant-controls .param-tooltip{right:auto;width:240px;max-width:100%;box-sizing:border-box;background:var(--panel, #fff)}.cross-field-wide{grid-column:1 / -1}.cross-assistant-controls .cross-grid-align{flex-direction:row;align-items:center;gap:8px}.cross-assistant-controls .field input,.cross-assistant-controls .field select{min-width:0;max-width:100%;box-sizing:border-box}.cross-assistant-controls .field input[type=number],.cross-assistant-controls .field input[type=text]{width:88px}.cross-assistant-controls .field select{width:200px}.cross-method-preview{flex:1;min-height:130px;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:6px;padding:8px 10px;background:var(--panel)}.cross-method-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.cross-method-heading>span{color:var(--hint)}.object-cross-method-preview{display:flex;min-height:220px;margin:8px 0}.object-cross-method-preview>.cross-method-preview{min-width:0}.cross-method-details{flex-shrink:0;margin-top:4px;color:var(--hint);font-size:11px}.cross-method-short{flex-shrink:0;margin-top:4px;color:#b45309;font-size:11px;line-height:1.4}.cross-method-preview>svg{display:block;flex:1;min-height:100px;width:100%;height:0;margin-top:4px}.cross-image-tabs,.cross-view-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:6px 0;font-size:12px}.cross-assistant-modal .btn-sm{padding:4px 8px;min-height:26px;font-size:12px}.cross-image-tabs>label{font-size:12px;display:flex;gap:4px;align-items:center;white-space:nowrap}.cross-canvas-stage{position:relative;display:flex;flex:1;min-height:0}.cross-image-tabs{position:absolute;top:8px;left:8px;right:8px;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;min-height:36px;margin:0;pointer-events:none}.cross-image-tabs>.cross-preview-switch,.cross-image-tabs>.cross-view-tools{pointer-events:auto}.cross-image-tabs>.cross-view-tools{background:#fff;padding:3px;border-radius:7px;box-shadow:0 2px 8px #172b4d1a}.cross-preview-switch{display:inline-flex;align-items:center;padding:3px;gap:2px;background:#fff;border:1px solid #edf0f5;border-radius:9px;box-shadow:0 2px 8px #172b4d1a}.cross-preview-switch>button{border:0;border-radius:6px;padding:7px 12px;background:transparent;color:#334155;font:inherit;font-weight:600;white-space:nowrap;cursor:pointer}.cross-preview-switch>button[aria-pressed=true]{background:#2962ff;color:#fff;box-shadow:0 1px 3px #2962ff33}.cross-preview-switch>button:focus-visible{outline:2px solid #2962ff;outline-offset:2px}.cross-image-tabs .cross-view-tools{margin:0 0 0 auto;flex-wrap:nowrap;gap:3px}.cross-view-tools>span{min-width:36px;text-align:center;font-variant-numeric:tabular-nums}.cross-image-viewport{flex:1;align-self:stretch;min-height:clamp(200px,calc(100dvh - 290px),440px);position:relative;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:6px;cursor:grab;touch-action:none}.cross-image-viewport:active{cursor:grabbing}.cross-image-plane{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:center;pointer-events:none}.cross-image-plane>img,.cross-image-grid{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.cross-image-size{display:flex;flex-shrink:0;align-items:center;gap:6px;margin-top:auto;padding-top:10px;font-size:12px}.cross-image-size>strong{font-size:12px;white-space:nowrap;margin-right:2px}.cross-image-size>label{display:flex;flex:0 0 auto;min-width:0;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.cross-image-size input{width:72px;min-width:0;height:28px;box-sizing:border-box;padding:4px 6px;border:1px solid var(--border);border-radius:4px;background:var(--input-bg);color:var(--text);font:inherit}.cross-image-size input:focus{outline:2px solid var(--accent);outline-offset:-1px}.cross-image-size .btn{flex:0 0 auto}.cross-image-size>.cross-show-grid{margin-left:auto;gap:4px}.cross-image-size>.cross-show-grid input{width:14px;height:14px;margin:0;padding:0}.cross-aspect-lock{color:var(--hint)}.cross-assistant-modal>.modal-btns{margin-top:12px;flex-shrink:0;padding-top:10px;border-top:1px solid var(--border)}.cross-assistant-modal>.modal-btns{justify-content:flex-end}.cross-assistant-modal>.modal-btns>.btn{flex:0 0 auto;width:auto;min-width:88px;padding:7px 18px}@media(max-width:720px){.cross-assistant-modal{padding:12px}.cross-assistant-layout{grid-template-columns:1fr;gap:10px}.cross-image-viewport{min-height:180px}.cross-assistant-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cross-settings-grid{gap:6px}.cross-settings-group{margin-bottom:0;padding:6px}.cross-assistant-controls>.cross-preview-note{grid-column:1 / -1}.cross-method-preview{grid-column:1 / -1}}@media(max-width:480px){.cross-assistant-controls{grid-template-columns:1fr}.cross-image-size{flex-wrap:wrap}.cross-image-tabs{grid-template-columns:1fr 1fr}.cross-preview-switch{grid-column:1 / -1;grid-row:1;justify-self:center}.cross-image-tabs .cross-view-tools{margin-left:auto}}.toast-modal{width:360px;text-align:center}.toast-icon{width:44px;height:44px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#fff}.toast-icon.toast-error{background:var(--error)}.toast-icon.toast-notice{background:#16a34a}.toast-body{font-size:14px;color:#3b4a63;line-height:1.5;margin-bottom:20px;white-space:pre-wrap;word-break:break-word}.regen-prompt{position:absolute;top:12px;left:50%;transform:translate(-50%);z-index:90;display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fff;border:1px solid #f1c7c7;border-radius:10px;box-shadow:0 8px 24px #0000002e;font-size:13px;max-width:min(640px,92vw)}.regen-prompt-text{color:#3b4a63}.regen-prompt .btn:hover{box-shadow:none}.regen-prompt .btn.primary{flex:0 0 auto;min-width:104px;padding-left:18px;padding-right:18px;white-space:nowrap;background:#dc2626;border-color:#dc2626;color:#fff}.regen-prompt .btn.primary:hover{background:#b91c1c;border-color:#b91c1c;color:#fff}.btn-ghost{background:transparent;color:#6b7280;border:1px solid #d7dbe0}.btn-ghost:hover{background:#f2f5f9}.import-modal{position:relative}.import-loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;background:#ffffffd9;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:14px;font-weight:600;color:#3b82f6;cursor:progress}.modal-preview{width:720px;max-width:92vw}.modal-preview .modal-btns{justify-content:center}.modal-preview .modal-btns .btn{flex:0 0 auto;padding:8px 24px}.preview-img{width:100%;max-height:70vh;object-fit:contain;border:1px solid var(--border);border-radius:6px;background:#fff}.separation-upload-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:14px 28px;background:#dbeafe;color:#1e3a8a;border:1px solid var(--accent);border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;z-index:5}.separation-toolbar-top{position:absolute;top:12px;left:12px;z-index:5}.separation-img{width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges}.separation-size-label{position:absolute;top:4px;left:50%;transform:translate(-50%);z-index:2;font-size:11px;font-weight:600;color:#000;background:#ffffffd9;padding:1px 8px;border-radius:3px;pointer-events:none;white-space:nowrap}.separation-modal-title{position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:6;font-size:18px;font-weight:700;color:#0f172a;background:#ffffffe0;padding:4px 18px;border-radius:8px;box-shadow:0 1px 4px #0000002e;pointer-events:none;white-space:nowrap;letter-spacing:.5px}.separation-main-frame{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:move}.separation-main-content{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.separation-main-box{box-shadow:2px 2px #0000004d}.separation-dual{position:relative;display:flex;flex-direction:row;align-items:center;gap:8px}.separation-dual-divider{align-self:stretch;display:flex;align-items:center;justify-content:center;width:22px;border-left:2px solid #2563eb;border-right:2px solid #2563eb;background:#dbeafe;margin:0 2px}.separation-dual-divider span{writing-mode:vertical-rl;font-size:11px;font-weight:700;color:#1d4ed8;letter-spacing:1px;white-space:nowrap}.sep-picker-hint{position:absolute;top:8px;right:8px;z-index:6;display:flex;flex-direction:column;align-items:center;gap:2px;background:#2563ebeb;color:#fff;padding:5px 12px;border-radius:6px;box-shadow:0 2px 8px #00000040;pointer-events:none}.sep-picker-hint span{line-height:1.3}.sep-picker-hint .sep-picker-hint-sub{font-size:10px;opacity:.85;font-weight:500}.separation-original-preview{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px}.separation-original-preview img{max-width:80%;max-height:80%;object-fit:contain;box-shadow:2px 2px 8px #0000004d}.sep-scalebar-wrap{position:absolute;left:24px;bottom:24px;z-index:6;display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:#fffc;padding:2px 4px;border-radius:3px;pointer-events:none}.sep-scalebar-label{font-size:11px;color:#000;font-weight:600;font-family:monospace}.sep-restore-btn{position:absolute;left:16px;top:12px;z-index:7;display:inline-flex;align-items:center;gap:4px;background:#ffffffeb;border:1px solid #cbd5e1;color:#1e293b;font-size:12px;font-weight:600;padding:5px 10px;border-radius:6px;cursor:pointer;box-shadow:0 1px 3px #00000026;transition:background .15s}.sep-restore-btn:hover{background:#fff;border-color:#94a3b8}.sep-orig-btn{left:132px}.sep-nav{position:absolute;right:12px;bottom:12px;z-index:6;display:flex;flex-direction:column;background:#fffffff0;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 2px 8px #0003;overflow:hidden}.sep-nav-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 8px;font-size:11px;font-weight:700;color:#1e293b;cursor:pointer;-webkit-user-select:none;user-select:none;background:#f1f5f9}.sep-nav-toggle{border:none;background:transparent;cursor:pointer;font-weight:700;font-size:13px;color:#334155;line-height:1}.sep-nav-body{position:relative;cursor:crosshair;background:repeating-conic-gradient(#eee 0,#eee 25%,#fff 0,#fff 50%) 0 0 / 14px 14px}.sep-nav-body img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges}.sep-nav-viewport{position:absolute;border:2px solid #2563eb;background:#2563eb26;box-sizing:border-box;pointer-events:none}.editor-ruler{background:#ffffffd1}.separation-info{font-size:13px;color:var(--text)}.separation-error{color:#d33;font-size:12px;white-space:normal;line-height:1.4}.separation-palette-field{flex-direction:column;align-items:stretch!important;gap:4px!important}.separation-palette{display:flex;flex-direction:column;gap:4px}.separation-palette-item{display:flex;align-items:center;gap:6px;border-radius:4px;padding:2px 4px}.separation-palette-swatch{position:relative;width:18px;height:18px;border:1px solid rgba(0,0,0,.35);border-radius:4px;flex-shrink:0;overflow:hidden}.separation-palette-hex{flex:1;font-size:12px;color:var(--text);font-family:monospace}.separation-palette-remove{flex-shrink:0;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:#00000014;color:#666;font-size:14px;line-height:1;cursor:pointer;padding:0}.separation-palette-remove:hover{background:#d32f2f26;color:#d32f2f}.separation-palette-count{font-size:11px;color:var(--hint)}.separation-result{flex:0 0 auto;padding:6px 10px;border-top:1px solid var(--border);background:#f7f9fc}.separation-layers-grid{display:flex;gap:12px;overflow-x:auto;padding:4px;align-items:flex-end}.separation-layer-cell{flex:0 0 auto;display:flex;flex-direction:column;gap:4px;width:96px;position:relative}.separation-layer-thumb{position:relative;width:96px;height:96px;background:repeating-conic-gradient(#eee 0,#eee 25%,#fff 0,#fff 50%) 0 0 / 16px 16px;border:1px solid var(--border);border-radius:5px;overflow:hidden;cursor:zoom-in}.separation-layer-thumb img{width:100%;height:100%;object-fit:contain;display:block}.main-outline-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;z-index:2}.layer-outline-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges}.separation-outline{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:none;border-radius:4px;background:transparent;color:#999;cursor:pointer;flex-shrink:0}.separation-outline.on{color:#1e3a8a}.separation-outline:hover{background:#0000000f}.separation-layer-swatch{position:absolute;left:4px;bottom:4px;width:16px;height:16px;border:1px solid rgba(0,0,0,.35);border-radius:3px}.separation-outline-cfg-btn{position:absolute;top:3px;right:3px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;border-radius:4px;background:#ffffffe0;color:#666;cursor:pointer}.separation-outline-cfg-btn:hover{background:#fff;color:#1e3a8a}.separation-outline-cfg-pop{position:fixed;z-index:1000;width:150px;display:flex;flex-direction:column;gap:6px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:#fff;box-shadow:0 4px 14px #0000002e;font-size:11px}.separation-outline-cfg-row{display:flex;align-items:center;justify-content:space-between;color:var(--text)}.separation-outline-cfg-val{font-weight:700;color:#1e3a8a}.separation-outline-cfg-pop input[type=range]{width:100%}.separation-layer-meta{display:flex;flex-direction:column;gap:1px;font-size:10px;line-height:1.2;color:var(--text)}.separation-layer-label{font-weight:700;color:#1e3a8a}.separation-layer-toggle{display:flex;align-items:center;gap:4px}.separation-eye{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:none;border-radius:4px;background:transparent;color:#999;cursor:pointer;flex-shrink:0}.separation-eye.on{color:#1e3a8a}.separation-eye:hover{background:#0000000f}.separation-layer-origin,.separation-layer-centroid,.separation-layer-ratio{color:var(--hint)}.layer-preview-modal{position:relative;display:flex;flex-direction:column;max-width:90vw;max-height:90vh;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 32px #00000059;overflow:hidden}.layer-preview-header{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:8px 14px;border-bottom:1px solid var(--border);background:#fafbfd}.layer-preview-title{display:flex;align-items:center;gap:6px;font-weight:700;color:#1e3a8a}.layer-preview-swatch{width:14px;height:14px;border:1px solid rgba(0,0,0,.35);border-radius:3px}.layer-preview-meta{flex:1;font-size:12px;color:var(--hint)}.layer-preview-body{flex:1 1 auto;overflow:hidden;display:flex;align-items:center;justify-content:center;background:repeating-conic-gradient(#eee 0,#eee 25%,#fff 0,#fff 50%) 0 0 / 20px 20px;padding:12px;cursor:move}.layer-preview-body img{display:block;max-width:100%;max-height:100%;transition:transform .05s linear;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges}.layer-preview-toolbar{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;border-top:1px solid var(--border);background:#fafbfd}.layer-preview-zoom{min-width:48px;text-align:center;font-size:12px;color:var(--text)}.sep-original-modal{position:fixed;display:flex;flex-direction:column;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 8px 32px #00000059;overflow:hidden;min-width:360px;min-height:280px}.sep-original-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;border-bottom:1px solid var(--border);background:#fafbfd;cursor:move;-webkit-user-select:none;user-select:none}.sep-original-title{font-weight:700;color:#1e3a8a;font-size:14px}.sep-original-body{flex:1 1 auto;overflow:hidden;display:flex;align-items:center;justify-content:center;background:repeating-conic-gradient(#eee 0,#eee 25%,#fff 0,#fff 50%) 0 0 / 20px 20px;padding:12px;cursor:move}.sep-original-body img{display:block;max-width:100%;max-height:100%;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges}.sep-original-toolbar{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;border-top:1px solid var(--border);background:#fafbfd}.sep-original-toolbar-sep{width:1px;height:18px;background:var(--border);margin:0 4px}.sep-original-resize{position:absolute;right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize;z-index:5}.modal h2{margin:0 0 16px;font-size:18px;color:var(--accent)}.modal-btns{display:flex;gap:8px;margin-top:16px}.export-field{display:flex;align-items:center;gap:10px;margin-bottom:8px}.export-field label{font-size:13px;color:var(--text);white-space:nowrap}.export-field select{flex:1;padding:6px 8px;border:1px solid var(--border);border-radius:6px;font-size:13px}.export-hint{margin:0;font-size:12px;color:var(--hint)}.object-panel{position:absolute;z-index:30;width:360px;background:#fff;border:1px solid var(--border, #d7dbe0);border-radius:10px;box-shadow:0 8px 24px #00000026;overflow:hidden;font-size:13px;display:flex;flex-direction:column}.object-panel.collapsed{width:auto}.object-panel-drag{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:2px;cursor:move;background:#eef1f5;border-bottom:1px solid #e2e6eb;-webkit-user-select:none;user-select:none;color:#9aa3af;font-size:12px}.object-panel-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px;padding:8px 10px;cursor:pointer;font-weight:600;-webkit-user-select:none;user-select:none}.object-panel-title{display:flex;align-items:center;gap:6px;flex:1;font-size:14px}.object-panel-body{max-height:400px;overflow-y:auto;border-top:1px solid #eef1f5;padding:6px}.object-pattern-group{margin-bottom:4px}.object-pattern-header{display:flex;align-items:center;gap:6px;padding:4px 6px;margin:2px 0 4px;background:#eef1f6;border-radius:5px;font-size:12px;font-weight:600;color:#3b4a63;-webkit-user-select:none;user-select:none;cursor:pointer}.object-pattern-header:hover{background:#e3e8f0}.object-pattern-header.collapsed{background:#f4f6f9}.object-pattern-chevron{flex:0 0 auto;width:12px;text-align:center;color:#6b7280;font-size:10px}.object-pattern-index{flex:0 0 auto;min-width:16px;text-align:center;font-weight:700;color:#6b7280}.object-pattern-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-pattern-count{flex:0 0 auto;font-size:11px;color:#8a919e}.object-panel-hint{font-size:11px;color:#8a919e;padding:2px 6px 6px}.object-panel-empty{padding:20px 8px;text-align:center;color:#b0b6bf;font-size:12px}.object-item{display:flex;align-items:center;gap:5px;padding:5px 6px;border-radius:6px;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:12px;border:1px solid transparent;border-bottom-color:#eef1f5}.object-item:hover{background:#f2f5f9;border-color:#d7dbe0}.object-item.selected{background:#e6f0ff;box-shadow:inset 0 0 0 1px #3b82f6;border-color:#3b82f6}.object-item-index{flex:0 0 auto;min-width:18px;text-align:center;font-size:13px;font-weight:600;color:#6b7280;font-variant-numeric:tabular-nums}.object-item-icon{font-size:16px;width:18px;text-align:center}.object-drag-handle{width:28px;height:28px;flex:0 0 28px;border:0;border-radius:5px;background:transparent;color:#64748b;font-size:18px;line-height:1;cursor:grab}.object-drag-handle:hover{background:#e8eef8;color:var(--accent)}.object-drag-handle:active{cursor:grabbing}.object-item.dragging{opacity:.48;outline:1px dashed var(--accent)}.object-thumb-preview-overlay{z-index:180}.object-thumb-preview-modal{width:min(720px,88vw);max-width:88vw;padding:0;overflow:hidden}.object-thumb-preview-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--border)}.object-thumb-preview-head button{width:30px;height:30px;border:0;border-radius:6px;background:transparent;font-size:22px;cursor:pointer}.object-thumb-preview-stage{height:min(68vh,650px);display:grid;place-items:center;padding:20px;background:linear-gradient(45deg,#e8ebf0 25%,transparent 25%),linear-gradient(-45deg,#e8ebf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8ebf0 75%),linear-gradient(-45deg,transparent 75%,#e8ebf0 75%),#fff;background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;overflow:hidden;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.object-thumb-preview-stage.dragging{cursor:grabbing}.object-thumb-preview-stage img{display:block;width:100%;height:100%;object-fit:contain;transform-origin:center center;will-change:transform;pointer-events:none}.object-thumb-preview-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-top:1px solid var(--border);background:#f8fafc}.object-thumb-preview-toolbar button{min-width:34px;height:30px;padding:0 10px;border:1px solid var(--border);border-radius:6px;background:#fff;cursor:pointer}.object-thumb-preview-toolbar button:hover{border-color:var(--accent);color:var(--accent)}.object-thumb-preview-toolbar span{min-width:54px;text-align:center;font-variant-numeric:tabular-nums;font-size:12px}.object-item-type{flex:1 1 auto;flex-basis:0;min-width:0;font-size:13px;color:#3b4a63;background:#edf2fa;padding:2px 10px;border-radius:10px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.object-item-order{flex:0 0 auto;display:flex;flex-direction:column;gap:1px}.obj-move-btn{width:20px;height:16px;padding:0;border:none;border-radius:3px;background:transparent;color:#6b7280;font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;font-weight:900}.obj-move-btn:hover{background:#e6f0ff;color:#3b82f6}.object-item-delete{flex-shrink:0;width:22px;height:22px;line-height:20px;padding:0;border:none;border-radius:5px;background:transparent;color:#9aa3af;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center}.object-item-delete:hover{background:#fee2e2;color:#b91c1c}.object-item-edit{flex-shrink:0;width:22px;height:22px;padding:0;border:none;border-radius:5px;background:transparent;color:#9aa3af;cursor:pointer;display:flex;align-items:center;justify-content:center}.object-item-edit:hover{background:#e6f0ff;color:#3b82f6}.object-eye{flex-shrink:0;width:22px;height:22px;padding:0;border:none;border-radius:5px;background:transparent;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;opacity:.9}.object-eye:hover{background:#eef1f5}.object-eye.off{opacity:.28;text-decoration:line-through}.object-item.hidden .object-item-index,.object-item.hidden .object-item-name,.object-item.hidden .object-item-type{opacity:.4}.object-batch-trigger{padding:3px 8px;border:1px solid #dc2626;border-radius:5px;background:#fff;color:#dc2626;font-size:12px;cursor:pointer;white-space:nowrap;line-height:1.2;flex-shrink:0}.object-batch-trigger:hover:not(:disabled){background:#dc2626;color:#fff}.object-batch-trigger:disabled{opacity:.4;cursor:not-allowed}.object-panel.collapsed .object-batch-trigger{display:none}.object-overridden-mark{color:#3b82f6;font-size:10px;margin-left:4px}.auto-preview-row{display:flex;align-items:center;gap:8px;padding:8px 2px 6px;margin-top:4px;border-top:1px solid #eef1f5}.auto-preview-row .toggle{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text, #1f2937);cursor:pointer}.auto-preview-badge{font-size:10px;background:#dcfce7;color:#15803d;padding:1px 6px;border-radius:8px}.stitch-tabs{display:flex;gap:6px;margin-bottom:8px}.stitch-tab{flex:1;padding:7px 0;font-size:13px;font-weight:600;color:#5b6b87;background:#eef1f6;border:1px solid #d6dbe3;border-radius:6px;cursor:pointer;transition:all .15s ease}.stitch-tab:hover{color:var(--accent);border-color:var(--accent)}.stitch-tab.active{color:#fff;background:var(--accent);border-color:var(--accent)}.auto-preview-top{margin-top:0;padding-top:0;border-top:none;margin-bottom:8px}.design-object-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:5}.design-object-hit{position:absolute;border:none;border-radius:2px;cursor:pointer;background:transparent;transition:background .12s ease}.design-object-hit:hover{background:#3b82f614}.object-edit-modal{width:560px;max-width:94vw;height:760px;max-height:86vh;display:flex;flex-direction:column;overflow:hidden}.object-edit-tabs{display:flex;gap:0;min-height:48px;overflow:hidden;border-bottom:2px solid #e5e7eb;margin-bottom:10px;flex-shrink:0}.object-edit-tab{flex:1 1 25%;min-width:0;border:0;border-bottom:2px solid transparent;margin-bottom:-2px;padding:10px 4px;background:transparent;color:#5b6472;font:inherit;font-size:13px;cursor:pointer}.object-edit-tab:hover{background:#f2f5f9}.object-edit-tab.active{border-bottom-color:#2563eb;color:#1d4ed8;font-weight:600}.object-edit-empty{padding:12px 4px;color:#6b7280;font-size:13px}.object-edit-control{min-width:0;margin:0;padding:0;border:0}.object-edit-field-disabled{opacity:.45}.object-edit-field-disabled .param-label{cursor:default}.object-edit-mode-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:10px;border:1px solid #dbe4ef;border-radius:6px;background:#f7f9fc;color:#5b6472;font-size:12px}.object-edit-mode-switch .btn{flex-shrink:0}.object-edit-subgroup-title{margin:14px 0 8px;padding-top:10px;border-top:1px solid #e5e7eb;color:#374151;font-size:12px;font-weight:600}.object-layer-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 14px}.object-layer-tab{display:flex;align-items:stretch;min-width:0;overflow:hidden;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#475569}.object-layer-tab.active{border-color:#8b5cf6;background:#ede9fe;color:#6d28d9}.object-layer-tab-button{flex:1 1 auto;min-width:0;padding:8px 4px;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.object-layer-tab-button:hover,.object-layer-tab-button:focus-visible{background:#8b5cf614}.object-layer-toggle{flex:0 0 30px;display:grid;place-items:center;padding:0;border:0;border-left:1px solid #e5e7eb;background:#f8fafc;color:#94a3b8;font:inherit;font-size:13px;line-height:1;cursor:pointer}.object-layer-tab.active .object-layer-toggle{border-left-color:#8b5cf64d;background:#fff9}.object-layer-toggle.on{background:#dcfce7;color:#15803d}.object-layer-toggle:hover,.object-layer-toggle:focus-visible{filter:brightness(.95)}.object-layer-warning{margin:0 0 12px;padding:8px 10px;border:1px solid #fecaca;border-radius:6px;background:#fef2f2;color:#b91c1c;font-size:12px;line-height:1.4}.applique-material{display:grid;gap:8px;margin-bottom:12px}.applique-material-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:center}.applique-material-controls>.btn{position:relative;display:flex;justify-content:center;align-items:center;min-height:36px;margin:0;cursor:pointer}.applique-material-controls>.btn:focus-within{outline:2px solid #2563eb}.applique-material-controls input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;opacity:0;cursor:pointer}.applique-material-controls input[type=color]{width:24px;height:20px;padding:0}.applique-material-swatch{height:64px;overflow:hidden;border:1px solid #cbd5e1;border-radius:6px}.applique-material-swatch:has(img){height:auto;min-height:140px;display:grid;place-items:center}.applique-material-swatch img{display:block;width:100%;height:auto;max-height:280px;object-fit:contain}.applique-crop{position:relative;justify-self:center;max-width:100%;overflow:hidden;touch-action:none;cursor:crosshair}.applique-crop img{display:block;max-width:100%;max-height:240px;-webkit-user-select:none;user-select:none}.applique-crop-box{position:absolute;box-sizing:border-box;border:2px solid white;box-shadow:0 0 0 1000px #0006;pointer-events:none}.flat-satin-settings-trigger{min-width:120px}.flat-satin-settings-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a7a}.flat-satin-settings-dialog{width:min(920px,94vw);max-height:90vh;overflow:auto;padding:20px 24px;border-radius:12px;background:#f4f4f4;box-shadow:0 18px 50px #00000040}.flat-satin-settings-title{margin-bottom:18px;color:#4b5563;font-size:20px}.flat-satin-settings-layout{display:grid;grid-template-columns:minmax(240px,310px) minmax(320px,1fr) 140px;gap:16px;align-items:start}.flat-satin-settings-panel{min-width:0;padding:12px 16px 16px;border:1px solid #d1d5db}.flat-satin-settings-panel h3{margin:0 0 14px;font-size:16px;font-weight:500}.flat-satin-settings-table-head,.flat-satin-settings-table-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:5px}.flat-satin-settings-table-head{text-align:center}.flat-satin-settings-dialog input[type=number]{box-sizing:border-box;width:100%;height:36px;padding:4px 7px;border:1px solid #b9c0ca;background:#fff;color:#111827;font-size:16px}.flat-satin-offset-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.flat-satin-offset-grid label{display:flex;flex-direction:column;gap:12px}.flat-satin-offset-grid label span{display:flex;align-items:center;gap:7px}.flat-satin-settings-actions{display:flex;flex-direction:column;gap:10px}.flat-satin-settings-actions .btn{width:100%}.flat-satin-settings-error{margin-top:10px;color:#b91c1c;font-size:12px}@media(max-width:760px){.flat-satin-settings-layout{grid-template-columns:1fr}.flat-satin-settings-actions{flex-direction:row}}.object-edit-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #eef1f5}.object-edit-title{display:flex;align-items:center;gap:8px;font-size:14px}.object-edit-dot{width:12px;height:12px;border-radius:50%;border:1px solid rgba(0,0,0,.2);flex-shrink:0}.object-edit-id{font-size:11px;color:#9aa3af;font-family:monospace}.object-edit-section{margin-bottom:12px}.object-edit-label{font-size:13px;font-weight:600;color:var(--text);margin-bottom:6px}.object-type-options{display:flex;gap:6px;flex-wrap:wrap}.object-edit-method{margin-top:8px;font-size:12px;color:#5b6b87}.object-edit-method strong{color:#1d4ed8;font-weight:600}.object-type-btn{display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 12px;border:1px solid #d7dbe0;border-radius:8px;background:#fff;cursor:pointer;font-size:12px;color:#374151;transition:all .12s ease}.object-type-btn:hover{border-color:#3b82f6;background:#f2f5f9}.object-type-btn.active{border-color:#3b82f6;background:#e6f0ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px #3b82f6}.object-type-icon{font-size:13px}.object-edit-hint{margin-top:6px;font-size:11px;color:#8a919e}.object-color-row{display:flex;align-items:center;gap:8px}.object-color-row input[type=color]{width:36px;height:30px;padding:0;border:1px solid #d7dbe0;border-radius:6px;cursor:pointer}.object-color-text{flex:1;padding:5px 8px;border:1px solid #d7dbe0;border-radius:6px;font-size:13px;font-family:monospace}.object-edit-params{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px;margin-bottom:10px;border-top:1px solid #eef1f5;padding-top:10px}.object-edit-modal>.object-edit-header,.object-edit-modal>.object-edit-method,.object-edit-modal>.object-edit-section,.object-edit-modal>.modal-btns{flex-shrink:0}.object-edit-params button.param-group-header{width:100%;border:0;text-align:left;font-family:inherit}.task-manager{flex:1;display:flex;flex-direction:column;overflow:hidden;padding:0 18px 18px}.task-manager-host{flex:1;min-height:0;min-width:0;overflow:hidden}.task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;flex-wrap:wrap}.task-toolbar-actions{display:flex;gap:8px}.task-toolbar-actions .btn{flex:0 0 auto}.task-toolbar-filters{display:flex;gap:8px;align-items:center}.task-search{padding:6px 10px;border:1px solid var(--border);border-radius:6px;font-size:13px;width:180px}.task-type-filter{padding:6px 8px;border:1px solid var(--border);border-radius:6px;font-size:13px}.task-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;overflow-y:auto;padding-bottom:12px}.task-card{position:relative;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff;cursor:pointer;transition:box-shadow .15s,border-color .15s}.task-card:hover{border-color:var(--accent);box-shadow:0 4px 14px #00000014}.task-card-thumb{position:relative;height:120px;display:flex;align-items:center;justify-content:center;background:#f5f7fa;overflow:hidden}.task-card-thumb img{max-width:100%;max-height:100%;object-fit:contain}.task-card-thumb-placeholder{color:#b0b6bf;font-size:16px;font-weight:600}.task-type-badge{position:absolute;top:8px;left:8px;padding:2px 10px;border-radius:10px;font-size:11px;font-weight:600;background:#7c5cff;color:#fff}.task-type-badge.separation{background:#0d9488}.task-card-body{padding:8px 10px;display:flex;flex-direction:column;gap:6px}.task-card-name{font-size:14px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-rename-input{font-size:14px;font-weight:600;padding:2px 4px;border:1px solid var(--accent);border-radius:4px;outline:none}.task-card-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8a919e}.task-result-status{padding:1px 7px;border-radius:8px;font-weight:600}.task-result-status.none{background:#e5e7eb;color:#4b5563}.task-result-status.done{background:#dcfce7;color:#15803d}.task-result-status.processing{background:#fef3c7;color:#b45309;animation:task-pulse 1s ease-in-out infinite}.task-result-status.queued{background:#e0e7ff;color:#4338ca;animation:task-pulse 1s ease-in-out infinite}.task-result-status.error{background:#fee2e2;color:#b91c1c}@keyframes task-pulse{0%,to{opacity:1}50%{opacity:.5}}.task-time{font-size:11px}.task-card-actions{position:absolute;top:6px;right:6px;display:flex;gap:4px}.task-action-btn{width:26px;height:26px;border:none;border-radius:6px;background:#ffffffe6;color:#555;cursor:pointer;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px #0000001f}.task-action-btn:hover{background:#fff}.task-action-btn.danger:hover{color:#dc2626}.task-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--hint);padding:60px 20px}.task-empty-title{font-size:16px;font-weight:600;color:var(--text)}.task-empty-hint{font-size:13px}.task-load-more{display:flex;justify-content:center;padding:20px 0 8px}.notice-banner{position:fixed;top:76px;left:50%;transform:translate(-50%);z-index:120;max-width:min(680px,80vw);display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #86efac;border-radius:8px;background:#f0fdf4f5;color:#166534;box-shadow:0 8px 24px #0f172a24;font-size:12px}.notice-banner>span:first-child{display:grid;place-items:center;width:20px;height:20px;flex:none;border-radius:50%;color:#fff;background:#16a34a;font-weight:800}.notice-banner button{margin-left:auto;border:0;background:transparent;color:#166534;font-size:18px;cursor:pointer}.workspace-tab{display:flex;flex-direction:column;background:#eef1f6}.workspace-canvas-shell{flex:1;min-height:0;position:relative}.workspace-canvas-shell.drag-over{outline:2px dashed var(--accent);outline-offset:-8px}.canvas-drop-overlay{position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:30;display:grid;place-items:center;border-radius:10px;background:#eef2ffe0;color:var(--accent);font-size:18px;font-weight:700;pointer-events:none}.workspace-commandbar{flex:none;min-height:50px;padding:9px 14px;display:flex;align-items:center;gap:14px;border-bottom:1px solid #cfd5df;background:linear-gradient(180deg,#fff,#f5f7fa);box-shadow:0 2px 8px #0f172a14;z-index:20}.commandbar-brand{display:flex;align-items:center;gap:9px;min-width:188px}.commandbar-brand>span:last-child,.commandbar-health>span:last-child{display:flex;flex-direction:column;line-height:1.15}.commandbar-brand strong{font-size:14px;color:#18212f}.commandbar-brand small,.commandbar-health small{margin-top:4px;font-size:10px;color:#7a8493}.commandbar-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:#fff;font-size:18px;font-weight:800;background:linear-gradient(135deg,#4338ca,#7c3aed);box-shadow:0 4px 10px #4f46e547}.commandbar-group,.commandbar-effects{display:flex;align-items:center;gap:6px;flex-shrink:0}.commandbar-size{display:flex;align-items:center;gap:5px;flex:none;padding-left:10px;border-left:1px solid #d8dde6}.commandbar-size>span{font-size:11px;font-weight:700;color:#687386;white-space:nowrap}.commandbar-size button{width:29px;height:32px;padding:0;border:1px solid #cfd5df;border-radius:6px;background:#fff;color:#273244;font-size:18px;cursor:pointer}.commandbar-size label{height:32px;display:flex;align-items:center;border:1px solid #cfd5df;border-radius:6px;background:#fff}.commandbar-size input{width:57px;border:0;outline:0;padding:0 2px 0 7px;background:transparent;color:#273244;font-size:12px}.commandbar-size i{padding-right:6px;color:#7a8493;font-size:10px;font-style:normal}.commandbar-size small{min-width:68px;color:#7a8493;font-size:10px;white-space:nowrap}.commandbar-group button,.commandbar-effects button,.commandbar-group select{height:32px;padding:0 10px;border:1px solid #cfd5df;border-radius:6px;background:#fff;color:#273244;font-size:12px;cursor:pointer}.commandbar-group button:hover:not(:disabled),.commandbar-effects button:hover:not(:disabled){border-color:#5b55e8;color:#4338ca;background:#f4f3ff}.commandbar-primary{color:#fff!important;border-color:#4338ca!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;font-weight:700}.commandbar-effects{padding-left:12px;border-left:1px solid #d8dde6}.commandbar-effects>span{font-size:11px;font-weight:700;color:#687386;white-space:nowrap}.commandbar-effects button,.commandbar-group button{white-space:nowrap;flex-shrink:0}.commandbar-health{margin-left:auto;display:flex;align-items:center;gap:8px;min-width:105px}.health-score{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-size:12px;font-weight:800;color:#15803d;border:3px solid #86efac;background:#f0fdf4}.health-score.warn{color:#b91c1c;border-color:#fca5a5;background:#fef2f2}.commandbar-health strong{font-size:11px;color:#344054}@media(max-width:1200px){.commandbar-brand{display:none}.commandbar-effects>span{display:none}.workspace-commandbar{gap:8px;overflow-x:auto}.commandbar-effects{padding-left:6px}.commandbar-health{display:none}}.workspace-tab .workspace-secondary-tools,.workspace-tab .workspace-panel-drag{display:none}.workspace-tab .workspace-panel{top:12px!important;border-radius:10px;box-shadow:0 8px 24px #0f172a1f}.workspace-tab .object-panel{border-radius:10px;box-shadow:0 8px 24px #0f172a1f}.workspace-tab .object-panel-drag{display:flex;touch-action:none}.workspace-tab .animation-toolbar{max-height:none;padding:7px 10px;gap:5px;overflow:visible}.workspace-tab .toolbar-settings{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;padding-bottom:5px;scrollbar-width:thin}.workspace-tab .command-marks-toggle{display:inline-flex}.workspace-tab .toolbar-play-row{overflow-x:auto;overflow-y:hidden;justify-content:flex-start;padding-bottom:3px;scrollbar-width:thin}.workspace-tab .toolbar-play-buttons{margin:0 auto}.workspace-tab .play-side{min-width:100px}.workspace-tab .design-log{width:176px;padding:10px;border-radius:10px;box-shadow:0 8px 22px #0f172a1f}.workspace-tab .design-log-title{margin-bottom:7px;font-size:13px}.workspace-tab .design-log-item{padding:2px 0}.font-cat{padding:5px 14px;border:1px solid var(--border);border-radius:14px;font-size:13px;background:#fff;color:#000;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.font-cat:hover{background:#0000000f;border-color:var(--border)}.font-cat.active{background:#000;border-color:#000;color:#fff;font-weight:600}.lettering-layout{flex-direction:column;max-width:none;margin:0;gap:0;min-height:0;overflow-y:auto;overflow-x:hidden}.ai-hero{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:16px;padding:300px 24px 0;min-height:0}.ai-hero-spacer{flex:1 1 0;min-height:0}.ai-hero-title{font-size:40px;font-weight:700;letter-spacing:2px;color:#111;margin:0}.ai-prompt-box{width:100%;max-width:720px;display:flex;flex-direction:column;gap:12px;padding:18px 20px;background:#fff;border:1px solid #e5e7eb;border-radius:28px;box-shadow:0 8px 30px #00000014}.ai-prompt-input textarea{width:100%;resize:none;border:none;background:transparent;color:#111;font-size:15px;min-height:48px;max-height:96px;outline:none;box-sizing:border-box;font-family:inherit}.ai-prompt-input textarea::placeholder{color:#9aa0aa}.ai-prompt-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}.ai-prompt-tools-left,.ai-prompt-tools-right{display:flex;align-items:center;gap:10px}.ai-tool{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:14px;font-size:13px;color:#374151;background:#f3f4f6;cursor:pointer;-webkit-user-select:none;user-select:none}.ai-tool-plus{font-size:16px;line-height:1;padding:4px 8px}.ai-tool-tag{color:#2563eb;background:#dbeafe;font-weight:600}.ai-tool-ratio{cursor:pointer}.ai-tool-btn{border:none;background:#f3f4f6;color:#374151;padding:6px 8px}.ai-tool-btn:hover{background:#e5e7eb}.ai-tool-send{border:none;background:#111;color:#fff;padding:7px 10px}.ai-tool-send:hover:not(:disabled){background:#333}.ai-tool-send:disabled{opacity:.4;cursor:not-allowed}.underlay-layers{display:grid;gap:10px}.underlay-layer{margin:0}.underlay-layer-header{min-height:38px}.underlay-layer-header input[type=checkbox],.underlay-layer input[type=radio]{width:18px;height:18px}.underlay-layer-content{border:0;padding:0;margin:0;min-width:0}.underlay-layer-content:disabled{opacity:.48}.underlay-placement{display:flex;gap:18px}.underlay-placement label{display:flex;align-items:center;gap:6px}.underlay-layer .field select,.underlay-layer .field input[type=number]{min-width:0;width:180px;max-width:100%}.underlay-layer .object-edit-control{display:flex;align-items:center;gap:6px}.underlay-auto{border:0;background:transparent;color:var(--accent);font-size:11px;cursor:pointer;white-space:nowrap}.underlay-auto:disabled{color:var(--hint);cursor:default}.underlay-edge-panel{margin-top:12px;padding-top:12px;border-top:1px solid var(--border);text-align:center}.underlay-edge-title{font-size:13px;color:var(--text)}.underlay-edge-diagram{display:block;width:180px;height:82px;margin:4px auto 8px;color:var(--text)}.underlay-edge-diagram text{fill:var(--text);font-size:12px}.underlay-edge-inputs{display:inline-grid;grid-template-columns:repeat(3,92px);gap:12px;vertical-align:bottom}.underlay-edge-input{display:flex;flex-direction:column;align-items:stretch;gap:3px}.underlay-edge-input label{font-size:13px;color:var(--text)}.underlay-layer .underlay-edge-input input[type=number]{width:100%;min-width:0;box-sizing:border-box}.underlay-edge-input .underlay-auto{min-height:18px}.underlay-edge-unit{display:inline-block;margin-left:8px;padding-bottom:24px;font-size:12px;color:var(--hint)}.color-merge-overlay{z-index:1200;padding:24px}.color-merge-dialog{width:min(1380px,96vw);height:min(900px,94vh);background:var(--surface, #fff);color:var(--text, #17212f);border:1px solid var(--border, #d7dde5);border-radius:14px;box-shadow:0 24px 70px #14233742;display:flex;flex-direction:column;overflow:hidden}.color-merge-header{height:58px;flex:none;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border, #d7dde5)}.color-merge-header>div{display:flex;align-items:baseline;gap:12px;min-width:0}.color-merge-header strong{font-size:18px}.color-merge-header span{color:#7a8798;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.color-merge-icon{border:0;background:transparent;color:inherit;font-size:28px;line-height:1;cursor:pointer}.color-merge-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;border-bottom:1px solid var(--border, #d7dde5);color:#64748b;font-size:13px}.color-merge-toolbar-actions{display:flex;gap:6px}.color-merge-toolbar-actions button{min-width:32px;height:30px;border:1px solid var(--border, #d7dde5);background:var(--surface, #fff);border-radius:6px;cursor:pointer;color:inherit}.color-merge-toolbar-actions button:disabled{opacity:.4;cursor:default}.color-merge-content{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:14px;padding:16px;flex:1;min-height:0}.color-merge-preview-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.color-merge-preview{display:flex;flex-direction:column;min-width:0;min-height:0}.color-merge-preview h3{margin:0 0 9px;font-size:14px;font-weight:600;text-align:center}.color-merge-image-frame{flex:1;min-height:0;overflow:hidden;border:1px solid var(--border, #d7dde5);border-radius:8px;background:#f7f9fc;display:flex;align-items:center;justify-content:center;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.color-merge-image-frame.dragging{cursor:grabbing}.color-merge-image-frame img{display:block;width:100%;height:100%;object-fit:contain;flex:none;max-width:none;pointer-events:none;transform-origin:center}.color-merge-side{display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto}.color-merge-card{padding:13px;border:1px solid var(--border, #d7dde5);border-radius:8px;display:flex;flex-direction:column;gap:10px;font-size:13px}.color-merge-card input[type=number]{width:100%;box-sizing:border-box;height:34px;padding:0 9px;border:1px solid var(--border, #d7dde5);border-radius:5px;background:var(--surface, #fff);color:inherit}.color-merge-card label{display:flex;align-items:center;gap:6px}.color-merge-card-title,.color-merge-palette-title{font-weight:600}.color-merge-result-count{color:#64748b}.color-merge-palette-card{flex:1;min-height:170px}.color-merge-palette-title{display:flex;flex-direction:column;gap:3px}.color-merge-palette-title small{color:#7a8798;font-weight:400}.color-merge-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:6px;flex:1;overflow-y:auto}.color-merge-swatches button{height:44px;border:2px solid rgba(0,0,0,.12);border-radius:5px;cursor:pointer}.color-merge-swatches button.selected{outline:3px solid #2563eb;outline-offset:1px}.color-merge-palette-actions{display:flex;gap:8px}.color-merge-palette-actions .btn{flex:1;padding:6px}.color-merge-palette-card>.btn{flex:0 0 auto;align-self:flex-start;height:32px;padding:6px 12px;font-size:13px}.color-merge-palette-card p{margin:0;color:#7a8798;font-size:11px}.color-merge-footer{display:flex;justify-content:flex-end;gap:10px;padding:12px 18px;border-top:1px solid var(--border, #d7dde5)}.color-merge-footer .btn{min-width:96px}.color-merge-error{align-self:center;margin-right:auto;color:#b42318;font-size:12px}.object-panel-header{display:flex;align-items:center;gap:8px}.object-panel-header .object-panel-title{flex:1}.object-panel-controls{display:flex;align-items:center;flex-wrap:wrap;gap:4px;width:100%}.object-panel-settings{position:relative;flex:0 0 auto;margin-left:auto;font-size:11px}.object-panel-settings summary{list-style:none;border:1px solid #bcd3fa;background:#eaf2ff;color:#2453a6;border-radius:5px;padding:3px 8px;font-weight:600;cursor:pointer;white-space:nowrap}.object-panel-settings summary::-webkit-details-marker{display:none}.object-panel-settings-menu{position:absolute;top:calc(100% + 5px);right:0;z-index:50;display:flex;flex-direction:column;gap:2px;min-width:144px;padding:4px;border:1px solid #d7dde5;border-radius:8px;background:#fff;box-shadow:0 6px 20px #0f172a26}.object-panel-settings-menu button{width:100%;border:0;border-radius:5px;background:transparent;color:#2453a6;padding:7px 9px;text-align:left;white-space:nowrap;font:inherit;font-size:12px;cursor:pointer}.object-panel-settings-menu button:hover:not(:disabled){background:#dceaff}.object-panel-settings-menu button:disabled{opacity:.45;cursor:not-allowed}.bulk-stitch-method-dialog{width:min(460px,calc(100vw - 32px))}.bulk-stitch-method-dialog p{color:#64748b;font-size:13px}.bulk-stitch-method-dialog select{width:100%;margin-top:8px;padding:8px}.bulk-stitch-method-dialog{max-height:85vh;overflow-y:auto}.bulk-flow-settings{display:grid;gap:10px;margin:12px 0;border:0;padding:0}.bulk-flow-settings label{display:flex;align-items:center;gap:8px;font-size:13px}.bulk-flow-settings input[type=number]{width:90px;margin-left:auto}.object-panel:has(.object-panel-settings[open]){overflow:visible}.object-panel-drag{border-radius:9px 9px 0 0}@media(max-width:900px){.color-merge-content{grid-template-columns:minmax(0,1fr);overflow-y:auto}.color-merge-preview-pair{min-height:320px}.color-merge-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}}.task-card{content-visibility:auto;contain-intrinsic-size:auto 260px}.stitch-object-selection{position:absolute;z-index:30;box-sizing:border-box;pointer-events:none}.stitch-group-selection{pointer-events:auto;cursor:default;touch-action:none;border:1px solid #1677ff;background:transparent;transform-origin:center}.stitch-transform-selection:not(.stitch-group-selection) .stitch-selection-handle{pointer-events:auto;touch-action:none}.stitch-rotation-handle{position:absolute;left:50%;top:-38px;transform:translate(-50%);width:26px;height:26px;min-width:0;padding:0;border:1px solid #2563eb;border-radius:50%;background:#fff;color:#2563eb;font-size:21px;line-height:24px;cursor:grab;pointer-events:auto;touch-action:none}.stitch-rotation-handle:after{content:"";position:absolute;width:1px;height:12px;background:#2563eb;left:50%;top:25px;pointer-events:none}.stitch-rotation-handle:active{cursor:grabbing}.stitch-rotation-angle{position:absolute;left:calc(50% + 20px);top:-35px;background:#fff;color:#2563eb;padding:2px 5px;border-radius:4px;font-size:12px;white-space:nowrap}.stitch-transform-selection .stitch-selection-handle:nth-child(1),.stitch-transform-selection .stitch-selection-handle:nth-child(3),.stitch-transform-selection .stitch-selection-handle:nth-child(6),.stitch-transform-selection .stitch-selection-handle:nth-child(8){cursor:nwse-resize}.stitch-group-selection .stitch-selection-handle:nth-child(1),.stitch-group-selection .stitch-selection-handle:nth-child(3),.stitch-group-selection .stitch-selection-handle:nth-child(6),.stitch-group-selection .stitch-selection-handle:nth-child(8){cursor:nwse-resize}.stitch-group-count{position:absolute;top:-26px;left:0;background:#15151b;color:#fff;padding:3px 7px;border-radius:4px;font-size:12px;white-space:nowrap}.stitch-group-clear{position:absolute;top:-28px;right:-1px;width:24px;height:24px;border:0;border-radius:4px;color:#fff;background:#15151b;cursor:pointer;pointer-events:auto;font-size:18px;line-height:20px}.object-marquee-surface{position:absolute;top:0;right:0;bottom:0;left:0;z-index:25;cursor:crosshair;touch-action:none}.object-marquee-rectangle{position:absolute;border:1px dashed #ff00ae;background:#ff00ae1f;pointer-events:none}.stitch-selection-outline{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:29;pointer-events:none}.stitch-drag-preview{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:28;pointer-events:none}.stitch-selection-handle{position:absolute;width:7.5px;height:7.5px;background:#050505;border:1px solid #fff;box-sizing:border-box;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #050505}.tatami-settings>fieldset{border:0;margin:0;padding:0;min-width:0}.tatami-settings>fieldset:disabled{opacity:.45}.tatami-mode{display:flex;align-items:center;gap:8px;min-height:29px;margin:0 0 8px;font-family:inherit;font-size:12px;font-weight:400;line-height:normal;color:var(--hint);cursor:pointer}.tatami-mode input[type=radio]{width:14px;height:14px;margin:0;flex-shrink:0}.tatami-return-modes{display:flex;gap:8px;margin:0 0 8px}.tatami-return-modes button{flex:1;min-width:0;padding:8px 4px;border:1px solid #ccd3de;border-radius:5px;background:#fff;color:var(--hint);font-family:inherit;font-size:12px;line-height:normal;cursor:pointer}.tatami-return-modes button.active{border-color:#3785df;background:#e7f1ff}.tatami-return-modes svg{display:block;width:44px;height:36px;margin:0 auto 5px;fill:none;stroke:currentColor;stroke-width:1.2}.tatami-return-modes span{font-size:inherit}.object-config-tool{position:relative;width:100%}.object-config-tool>button{width:100%}.object-config-flyout,.workspace-params-flyout{position:absolute;left:calc(100% + 8px);top:0;z-index:60;display:flex;flex-direction:column;gap:6px;width:150px;max-height:65vh;overflow-y:auto;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--panel);box-shadow:0 6px 20px #0f172a26}.object-config-flyout .object-panel-actions,.object-config-flyout .object-configuration-actions{display:contents}.object-config-flyout button{box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:36px;margin:0;padding:8px;text-align:left;border:1px solid var(--border);border-radius:5px;background:var(--panel);color:var(--text);font-family:inherit;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;cursor:pointer}.object-config-flyout button:hover:not(:disabled){background:#eaf2ff}.object-config-flyout button:focus-visible{outline:2px solid var(--accent, #8b5cf6);outline-offset:2px}.object-config-flyout button:disabled{opacity:.45;cursor:not-allowed}.workspace-actions-host{display:contents}.workspace-params-tool{position:relative;width:100%}.workspace-params-tool>button{width:100%}.workspace-params-flyout{box-sizing:border-box;width:min(300px,65vw);font-family:inherit;font-size:12px;font-weight:400;line-height:18px;color:var(--text)}.workspace-params-flyout .param-group{margin:0;border:1px solid var(--border);border-radius:5px;overflow:visible}.workspace-params-flyout .param-group-header{padding:8px;background:var(--panel);font-size:12px;font-weight:400}.workspace-params-flyout .param-group-header:hover{background:#eaf2ff}.workspace-params-flyout .param-group-body{padding:8px}.workspace-tab .object-list-panel{top:12px;left:max(12px,calc(100% - 434px));right:auto;width:min(360px,calc(100% - 24px))}.workspace-tab .object-list-panel.collapsed{width:110px}.hoop-library{--pattern-library-width: 480px}.hoop-library select{width:100%;min-height:34px;box-sizing:border-box}.hoop-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}.hoop-preset{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:8px 4px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);cursor:pointer}.hoop-preset:hover,.hoop-preset.selected{border-color:var(--accent, #8b5cf6);background:#f1edff}.hoop-preset svg{width:100%;height:84px}.hoop-preset rect{fill:none;stroke:#929aaa;stroke-width:3}.hoop-preset strong{font-size:12px;font-weight:500;white-space:nowrap}.hoop-preset small{font-size:10px;color:var(--hint)}.hoop-custom{padding:10px 0;margin-bottom:10px;border-top:1px solid var(--border)}.hoop-custom summary{margin-bottom:10px;cursor:pointer;font-size:12px}.hoop-preset ellipse{fill:none;stroke:#929aaa;stroke-width:3}.hoop-preset strong{max-width:100%;overflow:hidden;text-overflow:ellipsis}.hoop-shape-options{display:flex;gap:16px;margin-bottom:12px}.hoop-shape-options label{display:flex;align-items:center;gap:5px;font-size:12px}.hoop-shape-options input[type=radio]{width:auto;margin:0}.text-layout-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.text-layout-option{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:7px;padding:6px;cursor:pointer}.text-layout-option.active{border-color:#8b5cf6;background:#f1edff}.text-layout-option svg{width:100%;height:82px}.text-layout-option text{fill:currentColor;font-size:18px;font-weight:600}.text-layout-option span{font-size:12px}.text-tool-panel .text-font-grid{height:172px;max-height:172px;grid-auto-rows:82px;align-content:start;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}.text-tool-panel .text-font-item{box-sizing:border-box;height:82px;min-height:0;overflow:hidden}.text-tool-panel .text-font-item img,.text-tool-panel .text-font-thumb-empty{flex-shrink:0}.text-tool-panel .text-layout-options{height:232px;max-height:232px;grid-auto-rows:112px;align-content:start;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}.text-tool-panel .text-layout-option{box-sizing:border-box;height:112px;min-height:0;overflow:hidden}.text-tool-panel .text-layout-option svg{display:block}.workspace-tab .object-list-panel.open{width:min(280px,calc(100% - 24px))}.object-list-panel .object-item{gap:3px;padding:4px}.object-list-panel .object-item-type{padding:2px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.object-list-panel .object-eye,.object-list-panel .object-drag-handle,.object-list-panel .object-item-edit,.object-list-panel .object-item-delete{width:24px;height:26px;flex:0 0 24px;padding:0}.creation-page{flex:1;min-height:0;overflow-y:auto;padding:50px 36px 42px;background:var(--creation-page-background);color:#171526}.creation-inner{width:min(100%,960px);margin:auto}.creation-heading{text-align:center;margin-bottom:34px}.creation-heading h1{font-size:clamp(32px,3.5vw,48px);line-height:1.32;font-weight:850;letter-spacing:-1.5px;margin:0 0 14px}.creation-heading h1 span{color:#7736ed}.creation-heading p{font-size:16px;color:#787889;line-height:1.8;margin:0}.creation-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.creation-modes button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:164px;padding:24px 10px;background:#ffffffd9;border:2px solid transparent;border-radius:19px;color:#252335;cursor:pointer;font:inherit;transition:transform .2s}.creation-modes button:hover{transform:translateY(-3px)}.creation-modes button.selected{border-color:#b390ff;background:#f7f1ffb8}.creation-modes svg{width:34px;height:34px}.creation-modes .selected svg{color:#8241ef}.creation-modes strong{font-size:18px}.creation-modes small{font-size:13px;color:#898799}.creation-start{display:flex;align-items:center;justify-content:center;gap:18px;width:min(100%,440px);margin:22px auto 0;padding:15px 24px;border:0;border-radius:50px;background:linear-gradient(180deg,#9246fa,#6a28e9);color:#fff;font-size:18px;font-weight:650;box-shadow:0 6px 15px #7939dd25;cursor:pointer}.creation-start:hover{filter:brightness(1.06)}.creation-start:disabled{opacity:.65}.creation-start span{font-size:24px;line-height:1}.creation-composer{margin-top:18px;padding:14px;background:#ffffffdb;border:1px solid #dbcaf7;border-radius:16px}.creation-composer textarea{width:100%;box-sizing:border-box;resize:vertical;border:0;background:transparent;color:#252335;font:inherit;line-height:1.7}.creation-image{position:relative;display:inline-block;margin-bottom:10px}.creation-image img{display:block;max-width:180px;max-height:110px;border-radius:9px}.creation-image button{position:absolute;right:-8px;top:-8px;border-radius:50%;border:0;background:#30233f;color:#fff;width:24px;height:24px;cursor:pointer}.creation-ideas{margin-top:52px}.creation-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.creation-section-heading h2{font-size:19px;margin:0}.creation-section-heading button{border:0;background:none;font:inherit;font-size:14px;color:#6f7081;cursor:pointer}.creation-idea-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.creation-idea{border:0;padding:0;background:transparent;color:#343344;cursor:pointer;font:inherit;min-width:0}.creation-art{aspect-ratio:1.1;border-radius:16px;overflow:hidden;display:grid;place-items:center;background-color:#e7dbca;background-image:repeating-linear-gradient(0deg,#ffffff26 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#90795a12 0 1px,transparent 1px 3px);box-shadow:inset 0 0 24px #b69f7b20;transition:transform .2s}.creation-art span{font-size:clamp(42px,6vw,86px);filter:drop-shadow(2px 4px 2px #69513b40);font-family:Georgia,serif;font-weight:700;color:#754620}.creation-idea:hover .creation-art{transform:translateY(-4px)}.creation-idea strong{display:block;margin-top:12px;font-size:14px}.creation-page button:focus-visible{outline:3px solid #9c6af1;outline-offset:4px}@media(max-width:700px){.creation-page{padding:32px 18px}.creation-modes{gap:10px}.creation-modes button{min-height:145px;gap:10px;padding:16px 6px;border-radius:15px}.creation-modes strong{font-size:16px}.creation-modes small{font-size:11px;line-height:1.6}.creation-heading p{font-size:14px}.creation-idea-grid{gap:12px}.creation-idea strong{font-size:12px}}@media(max-width:460px){.creation-modes{grid-template-columns:1fr}.creation-modes button{min-height:100px}.creation-idea-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.creation-task-page{flex:1;min-height:0;overflow:auto;padding:28px 32px 36px;color:#202035;background:linear-gradient(140deg,#fff,#fcfaff);box-sizing:border-box}.creation-task-header{display:flex;align-items:flex-start;gap:14px;margin-bottom:30px}.creation-task-header h1{font-size:26px;line-height:1.4;margin:0 0 6px;font-weight:800}.creation-task-header p{margin:0;color:#9392a5;font-size:14px;line-height:1.7}.creation-back{width:34px;height:34px;flex-shrink:0;border:1px solid #e8e6ef;border-radius:9px;background:#fff;color:#28253a;font-size:21px;cursor:pointer}.creation-back:disabled{opacity:.4;cursor:wait}.creation-task-actions{margin-left:auto;display:flex;gap:12px;padding-top:2px}.creation-task-actions .btn{padding:10px 20px;border-radius:9px}.creation-task-actions .primary{background:linear-gradient(135deg,#9748f4,#7133e8);border-color:transparent}.creation-task-header.processing{justify-content:center;text-align:center;position:relative;margin-bottom:38px}.creation-task-header.processing .creation-back{position:absolute;left:0;top:0}.creation-processing-grid{max-width:1080px;margin:auto;display:grid;grid-template-columns:minmax(240px,.9fr) minmax(300px,1.1fr);gap:40px}.creation-stages{list-style:none;padding:20px 0 0 8px;margin:0;display:flex;flex-direction:column;justify-content:space-between}.creation-stages li{position:relative;display:flex;gap:18px;min-height:90px;color:#a6a7b6}.creation-stages li:not(:last-child):before{content:"";position:absolute;top:34px;bottom:8px;left:14px;width:2px;background:#ececf3}.creation-stage-dot{width:30px;height:30px;border:3px solid #e1e1eb;border-radius:50%;display:grid;place-items:center;box-sizing:border-box;background:#fff;flex-shrink:0;font-weight:700}.creation-stages strong{display:block;font-size:16px;margin:2px 0 5px}.creation-stages p{margin:0;font-size:13px;line-height:1.6;color:#9798ab}.creation-stages .done{color:#34324c}.creation-stages .done .creation-stage-dot{background:#8340ee;border-color:#8340ee;color:#fff}.creation-stages .current{color:#8241ed}.creation-stages .current .creation-stage-dot{border-color:#9456f7;color:#8241ed;box-shadow:0 0 0 4px #9650f00c}.creation-processing-preview{background:#f5f4f9;border-radius:22px;padding:24px}.creation-preview-fabric{background-color:#e9dfcf;background-image:repeating-linear-gradient(0deg,#ffffff60 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#a58c6720 0 1px,transparent 1px 4px);overflow:hidden}.creation-processing-preview>.creation-preview-fabric{aspect-ratio:1;border-radius:16px;display:grid;place-items:center}.creation-processing-preview img{width:88%;height:88%;object-fit:contain}.creation-progress{height:9px;background:#dfdeeb;border-radius:20px;overflow:hidden;margin:24px 0 12px}.creation-progress span{height:100%;display:block;background:linear-gradient(90deg,#c17bff,#9044f4);border-radius:20px;transition:width .5s}.creation-progress-caption{display:flex;justify-content:space-between;gap:12px;color:#848499;font-size:13px;line-height:1.6}.creation-tip{max-width:1080px;margin:30px auto 0;background:linear-gradient(100deg,#fffbf0,#f5efff);border:1px solid #f1eafb;border-radius:15px;padding:20px;display:flex;gap:18px}.creation-tip>span{font-size:26px}.creation-tip strong{font-size:15px}.creation-tip p{font-size:14px;color:#858296;line-height:1.7;margin:5px 0 0}.creation-result-grid{display:grid;grid-template-columns:minmax(250px,1.65fr) 112px minmax(235px,1fr);gap:20px;max-width:1300px;margin:auto}.creation-result-main{min-height:380px;aspect-ratio:1;border-radius:17px;display:grid;place-items:center;background-color:#f4f3f8;overflow:hidden}.creation-result-main img{width:90%;height:90%;object-fit:contain}.creation-thread-canvas{display:block;width:100%;height:100%;object-fit:contain}.creation-view-tabs{display:flex;flex-direction:column;gap:18px}.creation-view-tabs button{padding:0;border:0;background:transparent;color:#9692a7;cursor:pointer;font:inherit}.creation-view-tabs button>div{height:96px;border:2px solid transparent;border-radius:12px;background-color:#efedf3;overflow:hidden;display:grid;place-items:center}.creation-view-tabs img{width:90%;height:90%;object-fit:contain}.creation-view-tabs .selected>div{border-color:#a16aff;box-shadow:0 0 0 3px #b490ff20}.creation-view-tabs strong{display:block;font-size:12px;margin-top:9px}.creation-view-tabs .selected strong{color:#8241ed}.creation-result-details{display:flex;flex-direction:column;gap:18px}.creation-result-details section{background:#f9f9fe;border:1px solid #f0eff7;border-radius:15px;padding:20px}.creation-result-details h2{font-size:17px;margin:0 0 18px}.creation-result-details dl{display:grid;grid-template-columns:auto 1fr;gap:18px 8px;font-size:14px;margin:0}.creation-result-details dt{color:#9290a6}.creation-result-details dd{margin:0;text-align:right;font-weight:600}.creation-color-dots{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:14px 0 20px}.creation-color-dots span{width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1px #00000012}.creation-check{font-size:13px;color:#398047;line-height:1.8;margin:8px 0}.creation-quality-warning{font-size:13px;color:#a36e2d;line-height:1.6}.creation-edit-entry{display:flex;justify-content:center;align-items:center;gap:20px;color:#9390a3;font-size:14px;margin:26px auto 0}.creation-edit-entry button{background:#f0e8ff;border:0;border-radius:9px;padding:12px 20px;color:#7d3be3;cursor:pointer;font:inherit;font-weight:600}.creation-preview-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:#8b7d99;padding:40px;font-size:14px}.creation-spinner{width:32px;height:32px;border:3px solid #d8c6ee;border-top-color:#8740ec;border-radius:50%;animation:creation-spin 1s linear infinite}.creation-task-error{padding:16px;background:#fff0ed;border:1px solid #f4c7bc;border-radius:12px;color:#a34330;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:12px}@keyframes creation-spin{to{transform:rotate(360deg)}}@media(max-width:1000px){.creation-result-grid{grid-template-columns:minmax(240px,1fr) 100px}.creation-result-details{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.creation-task-page{padding:24px}.creation-task-header h1{font-size:23px}}@media(max-width:650px){.creation-processing-grid{grid-template-columns:1fr;gap:24px}.creation-stages li{min-height:80px}.creation-task-header{flex-wrap:wrap}.creation-task-actions{width:100%;justify-content:flex-end}.creation-result-grid{grid-template-columns:minmax(0,1fr)}.creation-result-main{min-height:260px}.creation-view-tabs{flex-direction:row}.creation-view-tabs button{flex:1}.creation-result-details{grid-template-columns:1fr}.creation-task-header.processing{padding-left:38px}.creation-edit-entry{flex-direction:column;gap:10px}}@media(prefers-reduced-motion:reduce){.creation-spinner{animation:none}.creation-progress span{transition:none}}.creation-task-page{display:flex;flex-direction:column;overflow:hidden;height:100%;min-height:0;padding:clamp(12px,2vh,28px) clamp(16px,2vw,32px);gap:clamp(10px,2vh,22px)}.creation-task-header,.creation-task-header.processing{flex:0 0 auto;margin:0}.creation-result-grid{flex:1;min-height:0;width:100%;max-width:none;margin:0;grid-template-columns:minmax(0,1fr) clamp(80px,8vw,112px) minmax(230px,30%);grid-template-rows:minmax(0,1fr);align-items:stretch}.creation-result-main{position:relative;aspect-ratio:auto;min-height:0;min-width:0;height:100%;width:100%}.creation-thread-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-width:0;min-height:0}.creation-result-main img,.creation-view-tabs img,.creation-processing-preview img{position:absolute;top:4%;right:4%;bottom:4%;left:4%;width:92%;height:92%;object-fit:contain}.creation-view-tabs{min-height:0;justify-content:flex-start;gap:clamp(8px,2vh,18px)}.creation-view-tabs button{display:flex;flex-direction:column;min-height:0;flex:1;max-height:33%}.creation-view-tabs button>div{position:relative;width:100%;flex:1;min-height:0;height:auto;max-height:130px;box-sizing:border-box}.creation-view-tabs strong{flex:0 0 auto;margin-top:6px}.creation-result-details{min-height:0;gap:clamp(8px,2vh,18px)}.creation-result-details section{min-height:0;padding:clamp(12px,1.8vh,20px)}.creation-result-details h2{margin-bottom:clamp(8px,2vh,18px)}.creation-result-details dl{gap:clamp(8px,2vh,18px) 8px}.creation-color-dots{margin:10px 0 14px}.creation-check,.creation-quality-warning{font-size:12px;line-height:1.5;margin:6px 0}.creation-edit-entry,.creation-task-error{flex:0 0 auto;margin:0}.creation-processing-grid{flex:1;min-height:0;width:100%;max-width:none;margin:0;grid-template-rows:minmax(0,1fr)}.creation-stages{min-height:0;padding-top:8px}.creation-stages li{min-height:0;flex:1}.creation-stages strong{font-size:clamp(13px,1.8vh,16px)}.creation-stages p{font-size:12px}.creation-processing-preview{min-height:0;display:flex;flex-direction:column;padding:clamp(12px,2vh,24px)}.creation-processing-preview>.creation-preview-fabric{position:relative;flex:1;min-height:0;aspect-ratio:auto}.creation-progress,.creation-progress-caption{flex:0 0 auto}.creation-progress{margin-top:16px}.creation-tip{flex:0 0 auto;margin:0;max-width:none;padding:12px 18px}.creation-tip p{font-size:12px;margin-top:3px}@media(max-width:1000px){.creation-result-grid{grid-template-columns:minmax(0,1fr) 80px minmax(190px,30%)}.creation-result-details{grid-column:auto;display:flex}.creation-task-header h1{font-size:21px}.creation-task-actions{gap:8px}.creation-task-actions .btn{padding:8px 12px}}@media(max-height:700px){.creation-task-header h1{font-size:21px}.creation-task-header p{font-size:12px}.creation-result-details section{padding:10px}.creation-result-details h2{font-size:15px;margin-bottom:8px}.creation-result-details dl{font-size:12px;gap:8px}.creation-edit-entry{font-size:12px}.creation-edit-entry button{padding:7px 12px}.creation-color-dots{margin:8px 0}.creation-result-details section:last-child{flex:1;overflow:hidden}}@media(max-width:650px){.creation-task-page{padding:12px;gap:10px}.creation-task-header{gap:8px}.creation-task-header h1{font-size:18px}.creation-task-header p{display:none}.creation-task-actions{width:auto;margin-left:auto;gap:4px}.creation-task-actions .btn{font-size:11px;padding:7px}.creation-result-grid{grid-template-columns:minmax(0,1fr) 64px;grid-template-rows:minmax(0,1fr) auto;gap:10px}.creation-view-tabs{flex-direction:column}.creation-result-details{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.creation-result-details section{padding:10px}.creation-result-details h2{font-size:14px;margin-bottom:8px}.creation-result-details dl{font-size:11px;gap:6px}.creation-check,.creation-quality-warning{font-size:10px}.creation-color-dots{margin:6px 0}.creation-color-dots span{width:14px;height:14px}.creation-edit-entry{flex-direction:row;font-size:11px;gap:8px}.creation-processing-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:12px}.creation-stages li{gap:8px}.creation-stages p{font-size:10px}.creation-stage-dot{width:24px;height:24px}.creation-stages li:not(:last-child):before{left:11px}.creation-tip p{font-size:10px}.creation-tip{padding:8px}.creation-view-tabs strong{font-size:10px}}.creation-stitch-player{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;min-height:0}.creation-player-surface{position:relative;flex:1;min-height:0}.creation-player-controls{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:12px;background:#ffffffeb;border-top:1px solid #e7dfef;font-size:12px;color:#70657d}.creation-player-controls button,.creation-player-controls select{font:inherit;border:1px solid #dfd2ef;border-radius:7px;background:#faf6ff;color:#773cbb;padding:7px 10px;cursor:pointer;white-space:nowrap}.creation-player-controls input{flex:1;min-width:30px;accent-color:#8b43ea}.creation-player-controls span{min-width:32px;text-align:right}.creation-player-controls button:focus-visible,.creation-player-controls select:focus-visible,.creation-player-controls input:focus-visible{outline:2px solid #9350ec;outline-offset:2px}@media(max-width:650px){.creation-player-controls{gap:5px;padding:7px;flex-wrap:wrap}.creation-player-controls button,.creation-player-controls select{padding:5px}.creation-player-controls input{min-width:40px}}.creation-result-main{display:block;isolation:isolate}.creation-stitch-player{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);align-self:stretch;justify-self:stretch;overflow:hidden}.creation-player-surface{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.creation-player-surface>.creation-thread-canvas{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.creation-player-controls{position:relative;z-index:1;width:100%;min-height:52px;box-sizing:border-box;align-self:end;background:#fff}.creation-making{padding:24px 32px;gap:22px;background:#faf9fd}.creation-making .creation-task-header{width:100%;max-width:1280px;margin:0 auto;justify-content:flex-start;text-align:left;align-items:center;gap:16px;padding:0}.creation-making .creation-task-header.processing .creation-back{position:static;width:36px;height:36px;font-size:20px;border-radius:10px;background:#fff}.creation-making .creation-task-header h1{font-size:24px;font-weight:700;line-height:1.45;letter-spacing:-.5px;margin:0 0 4px}.creation-making .creation-task-header p{font-size:13px;line-height:1.6;color:#92909e;display:block}.creation-making .creation-processing-grid{width:100%;max-width:1280px;align-self:center;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:stretch}.creation-workflow{display:flex;flex-direction:column;min-height:0;padding:24px;background:#fff;border:1px solid #eceaf2;border-radius:18px}.creation-workflow-heading{display:flex;justify-content:space-between;align-items:center;flex:0 0 auto;padding-bottom:20px;border-bottom:1px solid #f0edf5;font-size:14px;font-weight:650;color:#343040}.creation-workflow-heading small{font-size:11px;font-weight:400;color:#aaa5b5}.creation-making .creation-stages{flex:1;justify-content:center;gap:0;padding:24px 0 0}.creation-making .creation-stages li{flex:0 1 90px;min-height:54px;gap:14px}.creation-making .creation-stage-dot{width:26px;height:26px;border-width:2px;font-size:12px;margin-top:1px}.creation-making .creation-stages li:not(:last-child):before{left:12px;top:34px;bottom:9px;background:#eeebf4;width:1px}.creation-making .creation-stages strong{font-size:14px;font-weight:600;line-height:1.5;margin:2px 0 5px}.creation-making .creation-stages p{font-size:12px;line-height:1.6;color:#aaa5b5}.creation-making .creation-stages .current strong{color:#8448df}.creation-making .creation-processing-preview{padding:18px;background:#fff;border:1px solid #eceaf2;border-radius:18px;box-shadow:0 4px 24px #34204d03}.creation-making .creation-processing-preview>.creation-preview-fabric{border-radius:12px;background-color:#f7f5f1;background-image:repeating-linear-gradient(0deg,#ffffff45 0 1px,transparent 1px 5px),repeating-linear-gradient(90deg,#c2b69d0c 0 1px,transparent 1px 5px)}.creation-making .creation-progress{height:6px;margin:18px 0 10px;background:#eeebf4}.creation-making .creation-progress-caption{font-size:12px;line-height:1.6;color:#9690a2;gap:16px}.creation-making .creation-progress-caption>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creation-making .creation-progress-caption>span:last-child{flex-shrink:0;color:#aa9dbd}.creation-making .creation-tip{width:100%;max-width:1280px;align-self:center;padding:13px 18px;gap:12px;border:1px solid #ece7f5;border-radius:12px;background:#f4f0fa;align-items:center}.creation-making .creation-tip>span{font-size:20px}.creation-making .creation-tip strong{font-size:12px;font-weight:600;color:#6d617e}.creation-making .creation-tip p{font-size:12px;color:#9990a6;line-height:1.6;margin:2px 0 0}@media(max-height:740px){.creation-making{padding:16px 24px;gap:14px}.creation-making .creation-task-header h1{font-size:21px}.creation-workflow{padding:18px}.creation-workflow-heading{padding-bottom:14px}.creation-making .creation-stages{padding-top:16px}.creation-making .creation-stages li{flex-basis:68px}.creation-making .creation-processing-preview{padding:14px}.creation-making .creation-tip{padding:10px 16px}}@media(max-width:850px){.creation-making{padding:18px;gap:14px}.creation-making .creation-processing-grid{grid-template-columns:240px minmax(0,1fr);gap:14px}.creation-workflow{padding:16px}.creation-making .creation-stages li{gap:10px}.creation-making .creation-stages strong{font-size:13px}.creation-making .creation-stages p{font-size:11px}}@media(max-width:600px){.creation-making{padding:12px;gap:10px}.creation-making .creation-task-header h1{font-size:18px}.creation-making .creation-task-header p{font-size:11px}.creation-making .creation-processing-grid{grid-template-columns:160px minmax(0,1fr);gap:10px}.creation-workflow{padding:10px}.creation-workflow-heading{font-size:12px;gap:4px}.creation-workflow-heading small{font-size:10px}.creation-making .creation-stages strong{font-size:12px}.creation-making .creation-stages p{font-size:10px}.creation-making .creation-stage-dot{width:22px;height:22px}.creation-making .creation-stages li{gap:8px}.creation-making .creation-stages li:not(:last-child):before{left:10px}.creation-making .creation-processing-preview{padding:10px}.creation-making .creation-progress-caption,.creation-making .creation-tip p{font-size:10px}}.creation-finished{padding:24px 32px;gap:22px;background:#faf9fd}.creation-finished .creation-task-header{width:100%;max-width:1440px;align-self:center;align-items:center;gap:14px}.creation-finished .creation-back{width:36px;height:36px;font-size:20px;border-radius:10px}.creation-finished .creation-task-header h1{font-size:24px;font-weight:700;line-height:1.45;letter-spacing:-.5px;margin:0 0 4px}.creation-finished .creation-task-header p{font-size:13px;line-height:1.6;color:#92909e}.creation-finished .creation-task-actions{gap:8px;align-items:center;padding:0;flex-shrink:0}.creation-finished .creation-task-actions .btn{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:13px;font-weight:550;line-height:1.4;padding:9px 16px;min-height:36px;border:1px solid #e7e2ee;border-radius:9px;background:#fff;color:#665d76;box-shadow:none}.creation-finished .creation-task-actions .btn.primary{color:#fff;border-color:transparent;background:linear-gradient(135deg,#9654ee,#7b3ee0);box-shadow:0 3px 10px #8649df1a}.creation-finished .creation-result-grid{width:100%;max-width:1440px;align-self:center;grid-template-columns:minmax(0,1fr) 96px 288px;gap:20px}.creation-finished .creation-result-main{border:1px solid #ece7f1;border-radius:16px;background-color:#f5f3f7}.creation-finished .creation-result-main.creation-preview-fabric{background-color:#f5f2ec;background-image:repeating-linear-gradient(0deg,#ffffff40 0 1px,transparent 1px 5px),repeating-linear-gradient(90deg,#b3a58a0d 0 1px,transparent 1px 5px)}.creation-finished .creation-view-tabs{gap:18px;justify-content:flex-start;padding-top:2px}.creation-finished .creation-view-tabs button{flex:0 1 126px;max-height:30%;gap:0}.creation-finished .creation-view-tabs button>div{border-radius:11px;background-color:#eeebf2;border-width:2px;max-height:100px}.creation-finished .creation-view-tabs strong{font-size:11px;font-weight:500;margin-top:8px;color:#a49bae}.creation-finished .creation-view-tabs .selected strong{color:#8b4cde;font-weight:600}.creation-finished .creation-view-tabs .selected>div{border-color:#a77ae9;box-shadow:0 0 0 3px #ab7fee12}.creation-finished .creation-result-details{gap:16px}.creation-finished .creation-result-details section{padding:20px;background:#fff;border:1px solid #ece7f1;border-radius:14px}.creation-finished .creation-result-details h2{font-size:14px;font-weight:650;line-height:1.5;margin:0 0 18px;color:#383242}.creation-finished .creation-result-details dl{font-size:12px;line-height:1.6;gap:16px 10px}.creation-finished .creation-result-details dt{color:#a19aaa}.creation-finished .creation-result-details dd{font-size:12px;font-weight:550;color:#50465f}.creation-finished .creation-color-dots{gap:7px;margin:12px 0 18px}.creation-finished .creation-color-dots span{width:17px;height:17px}.creation-finished .creation-check{font-size:12px;line-height:1.7;color:#62866f;margin:7px 0}.creation-finished .creation-quality-warning{font-size:11px;line-height:1.7;color:#af8c60;margin:10px 0 0}.creation-finished .creation-edit-entry{width:100%;max-width:1440px;align-self:center;justify-content:flex-end;gap:12px;font-size:12px;color:#a69bad}.creation-finished .creation-edit-entry button{padding:8px 13px;font-size:12px;font-weight:500;border-radius:8px;background:#eee7f8;color:#8b63bb}@media(max-height:740px){.creation-finished{padding:16px 24px;gap:14px}.creation-finished .creation-task-header h1{font-size:21px}.creation-finished .creation-result-details section{padding:14px}.creation-finished .creation-result-details h2{margin-bottom:12px}.creation-finished .creation-result-details dl{gap:10px}.creation-finished .creation-view-tabs{gap:12px}.creation-finished .creation-edit-entry button{padding:6px 12px}}@media(max-width:1050px){.creation-finished{padding:18px;gap:16px}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 80px 230px;gap:14px}.creation-finished .creation-result-details section{padding:16px}.creation-finished .creation-task-header h1{font-size:21px}.creation-finished .creation-task-actions .btn{padding:8px 12px;font-size:12px}}@media(max-width:700px){.creation-finished{padding:12px;gap:10px}.creation-finished .creation-task-header{flex-wrap:wrap;gap:8px}.creation-finished .creation-task-header h1{font-size:18px}.creation-finished .creation-task-header p{font-size:11px}.creation-finished .creation-task-actions{width:auto;margin-left:auto}.creation-finished .creation-task-actions .btn{font-size:11px;padding:7px 9px;min-height:30px}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 64px;grid-template-rows:minmax(0,1fr) auto;gap:10px}.creation-finished .creation-result-details{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}.creation-finished .creation-result-details section{padding:12px}.creation-finished .creation-result-details h2{font-size:12px;margin-bottom:8px}.creation-finished .creation-result-details dl{font-size:11px;gap:6px}.creation-finished .creation-result-details dd{font-size:11px}.creation-finished .creation-color-dots{margin:6px 0 10px}.creation-finished .creation-check,.creation-finished .creation-quality-warning{font-size:10px;margin:4px 0}.creation-finished .creation-view-tabs{gap:10px}.creation-finished .creation-view-tabs strong{font-size:10px}.creation-finished .creation-edit-entry{font-size:10px;gap:8px}.creation-finished .creation-edit-entry button{font-size:11px;padding:6px 9px}}.creation-finished .creation-task-header{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:14px}.creation-finished .creation-task-actions{margin:0;gap:8px;display:flex;width:auto;align-self:center}.creation-finished .creation-task-actions .btn{height:36px;min-height:36px;padding:0 14px;font-size:12px;line-height:1;letter-spacing:0;font-weight:500;border-radius:8px}.creation-finished .creation-task-actions .btn:first-child{width:64px}.creation-finished .creation-task-actions .btn:not(:first-child){min-width:108px}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 88px 300px;gap:18px}.creation-finished .creation-result-details{gap:12px;display:flex;flex-direction:column;min-height:0}.creation-finished .creation-result-details section{padding:18px;border-radius:12px;flex-shrink:0}.creation-finished .creation-result-details h2{margin-bottom:14px;font-size:13px}.creation-finished .creation-result-details dl{gap:12px 10px;font-size:12px}.creation-finished .creation-result-details .creation-thread-info{display:flex;flex-direction:column;flex:0 1 auto}.creation-thread-info .creation-quick-size{flex-shrink:0}.creation-thread-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-shrink:0}.creation-thread-heading>span{font-size:11px;color:#a39aaf;white-space:nowrap}.creation-thread-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0;min-height:0;overflow:auto}.creation-thread-list li{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #f2eef6;font-size:12px;flex-shrink:0}.creation-thread-swatch{width:21px;height:21px;border-radius:7px;box-shadow:inset 0 0 0 1px #00000012;flex-shrink:0}.creation-thread-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#81768f;font-size:11px}.creation-thread-list strong{font-weight:600;color:#514461;font-variant-numeric:tabular-nums;white-space:nowrap}.creation-thread-list small{font-weight:400;color:#a39aaf;font-size:10px}.creation-finished .creation-result-details .creation-check-info{flex:0 0 auto}.creation-finished .creation-view-tabs button{flex:0 0 116px;max-height:30%}.creation-finished .creation-view-tabs button>div{max-height:88px}@media(max-width:1050px){.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 76px 250px;gap:12px}.creation-finished .creation-result-details section{padding:14px}.creation-finished .creation-task-actions .btn:not(:first-child){min-width:90px}.creation-finished .creation-task-actions .btn{padding:0 10px}}@media(max-height:740px){.creation-finished .creation-result-details{gap:10px}.creation-finished .creation-result-details section{padding:12px 14px}.creation-finished .creation-result-details h2{margin-bottom:10px}.creation-finished .creation-result-details dl{gap:8px}.creation-thread-list li{padding:7px 0}.creation-finished .creation-view-tabs{gap:12px}}@media(max-width:700px){.creation-finished .creation-task-header{grid-template-columns:30px minmax(0,1fr);gap:8px}.creation-finished .creation-back{width:30px;height:30px}.creation-finished .creation-task-actions{grid-column:2;justify-content:flex-end;gap:6px}.creation-finished .creation-task-actions .btn{height:30px;min-height:30px;font-size:11px}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 64px}.creation-finished .creation-result-details{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:42vh}.creation-finished .creation-result-details section{padding:10px}.creation-finished .creation-result-details .creation-check-info{grid-column:1/-1}.creation-thread-list li{padding:6px 0}.creation-finished .creation-view-tabs button{flex:0 1 116px}.creation-finished .creation-result-details h2{font-size:12px}}.creation-task-page,.creation-making,.creation-finished{background:#fff}.creation-finished .creation-result-main,.creation-finished .creation-result-main.creation-preview-fabric,.creation-task-page .creation-preview-fabric,.creation-player-surface,.creation-task-page .creation-view-tabs button>div,.creation-making .creation-processing-preview>.creation-preview-fabric{background:#fff;background-image:none}.creation-finished .creation-task-actions .btn,.creation-finished .creation-task-actions .btn.primary,.creation-task-page .creation-back,.creation-task-page .creation-task-error .btn{flex:0 0 auto;width:auto;min-width:0;height:auto;min-height:0;padding:9px 14px;border:0;border-radius:6px;background:#dbeafe;color:#000;font-size:14px;font-weight:600;line-height:normal;letter-spacing:.2px;box-shadow:none;transition:background .15s ease,box-shadow .15s ease,transform .05s ease}.creation-finished .creation-task-actions .btn:first-child,.creation-finished .creation-task-actions .btn:not(:first-child){width:auto;min-width:0}.creation-task-page .creation-back{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;font-size:14px}.creation-task-page .creation-task-actions .btn:hover:not(:disabled),.creation-task-page .creation-back:hover:not(:disabled),.creation-task-page .creation-task-error .btn:hover:not(:disabled){background:#000;color:#fff;box-shadow:var(--shadow-sm)}.creation-task-page .creation-task-actions .btn:active:not(:disabled),.creation-task-page .creation-back:active:not(:disabled){transform:translateY(1px)}.creation-finished .creation-view-tabs .selected>div{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb15}.creation-finished .creation-view-tabs strong{font-size:12px;font-weight:400;border-radius:5px;padding:6px 9px;color:var(--text);margin-top:5px}.creation-finished .creation-view-tabs .selected strong{background:#2563eb;color:#fff;font-weight:400}.creation-player-controls{gap:6px;background:#fff;border-color:var(--border);color:var(--hint);font-size:12px}.creation-player-controls button{background:#dbeafe;color:#000;border:0;border-radius:6px;padding:2px 6px;min-width:30px;font-size:12px;font-weight:500;line-height:1;min-height:24px;box-shadow:none}.creation-player-controls button:hover:not(:disabled){background:#000;color:#fff}.creation-player-controls select{background:var(--input-bg);border:1px solid var(--border);border-radius:4px;padding:4px 6px;color:var(--text);font-size:12px}.creation-player-controls input{accent-color:#2563eb}.creation-task-page button:focus-visible,.creation-player-controls button:focus-visible,.creation-player-controls select:focus-visible,.creation-player-controls input:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:700px){.creation-finished .creation-task-actions .btn{font-size:12px;padding:7px 10px}.creation-finished .creation-view-tabs strong{font-size:10px;padding:5px 3px}}.creation-task-page .creation-back,.creation-making .creation-task-header.processing .creation-back{width:auto;min-width:52px;white-space:nowrap;font-size:12px}.creation-finished .creation-task-header{grid-template-columns:max-content minmax(0,1fr) auto}@media(max-width:700px){.creation-finished .creation-task-header{grid-template-columns:max-content minmax(0,1fr)}}.creation-zoom-surface{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:hidden;touch-action:none;cursor:grab;background:#fff}.creation-zoom-surface:active{cursor:grabbing}.creation-zoom-content{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform-origin:center;will-change:transform;pointer-events:none}.creation-preview-tools{position:absolute;right:12px;top:12px;z-index:3;display:flex;align-items:center;gap:6px;padding:5px;background:#ffffffed;border:1px solid var(--border);border-radius:8px;cursor:default}.creation-preview-tools>span{font-size:12px;color:var(--hint);min-width:40px;text-align:center;font-variant-numeric:tabular-nums}.creation-task-page .creation-preview-tools .btn{flex:0 0 auto;width:auto;min-width:0;height:auto;min-height:0;padding:4px 10px;font-size:12px;border:0;border-radius:5px;background:#dbeafe;color:#000;box-shadow:none}.creation-task-page .creation-preview-tools .btn:hover{background:#000;color:#fff}.creation-result-main:fullscreen{width:100vw!important;height:100vh!important;max-width:none;max-height:none;border:0;border-radius:0;background:#fff;position:relative}.creation-fullscreen-error{position:absolute;top:60px;right:12px;font-size:12px;padding:8px 12px;background:#fff4e9;color:#9d6223;border-radius:6px;z-index:4}.creation-task-page .creation-preview-tools .creation-preview-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:5px}.creation-preview-icon svg{display:block;flex-shrink:0}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 320px}.creation-finished .creation-result-details>.creation-view-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;flex:0 0 auto;min-height:0}.creation-finished .creation-result-details .creation-view-tabs button{display:flex;flex-direction:column;flex:none;max-height:none;min-width:0;gap:0}.creation-finished .creation-result-details .creation-view-tabs button>div{position:relative;flex:none;width:100%;height:auto;aspect-ratio:1;max-height:none;min-height:0;border-radius:9px}.creation-finished .creation-result-details .creation-view-tabs strong{width:100%;box-sizing:border-box;white-space:nowrap;font-size:11px;padding:6px 2px;margin-top:5px}@media(max-width:1050px){.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 270px}.creation-finished .creation-result-details>.creation-view-tabs{gap:8px}}@media(max-height:740px){.creation-finished .creation-result-details .creation-view-tabs button>div{aspect-ratio:auto;height:64px}}@media(max-width:700px){.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.creation-finished .creation-result-details{display:flex;flex-direction:column;max-height:46vh;gap:8px}.creation-finished .creation-result-details>.creation-view-tabs{gap:10px}.creation-finished .creation-result-details .creation-view-tabs button>div{aspect-ratio:auto;height:52px}.creation-finished .creation-result-details section{padding:8px 12px}.creation-finished .creation-result-details dl{display:flex;flex-wrap:wrap;gap:5px 10px}.creation-finished .creation-result-details h2{margin-bottom:6px}}.creation-finished .creation-result-main>.creation-canvas-actions{position:absolute;top:12px;right:12px;z-index:5;display:flex;gap:6px;padding:5px;border:1px solid var(--border);border-radius:8px;background:#ffffffed;grid-column:auto}.creation-finished .creation-canvas-actions .btn,.creation-finished .creation-canvas-actions .btn:first-child,.creation-finished .creation-canvas-actions .btn:not(:first-child){width:auto;min-width:0;padding:7px 12px;font-size:12px}.creation-finished .creation-preview-tools{left:12px;right:auto}@media(max-width:700px){.creation-finished .creation-result-main>.creation-canvas-actions{top:8px;right:8px;padding:3px;gap:4px}.creation-finished .creation-canvas-actions .btn{padding:6px 8px;font-size:11px}.creation-finished .creation-preview-tools{top:8px;left:8px;padding:3px;gap:3px}}.creation-setup-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.creation-setup-preview{min-height:0;border:1px solid var(--border);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}.creation-setup-preview img{width:92%;height:92%;object-fit:contain}.creation-setup-panel{min-height:0;display:flex;flex-direction:column;gap:16px;border:1px solid var(--border);border-radius:14px;padding:20px;background:#fff}.creation-setup-panel h2{margin:0;font-size:16px}.creation-setup-panel>p{font-size:12px;color:var(--hint);line-height:1.7;margin:0}.creation-setup-panel fieldset{margin:0;padding:0;border:0;min-width:0}.creation-setup-panel legend{font-size:13px;font-weight:600;margin-bottom:12px}.creation-setup-size{display:grid;grid-template-columns:1fr 1fr;gap:12px}.creation-setup-size label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--hint)}.creation-setup-size input{width:100%;border:1px solid var(--border);border-radius:5px;padding:8px;font-size:13px;color:var(--text)}.creation-setup-lock{display:flex;align-items:center;gap:6px;font-size:12px;margin-top:12px;color:var(--hint)}.creation-setup-lock input{accent-color:#2563eb}.creation-setup-palette{flex:1;min-height:50px;overflow:auto}.creation-setup-palette>label{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f1f1f1;font-size:12px}.creation-setup-palette input[type=color]{width:32px;height:30px;padding:2px;border:1px solid var(--border);border-radius:5px;background:#fff;cursor:pointer}.creation-setup-palette span{flex:1}.creation-setup-palette .btn{flex:0 0 auto}.creation-setup-panel>.btn{flex:0 0 auto}.creation-setup-panel .creation-setup-error{color:#ba4332;font-size:12px}@media(max-width:700px){.creation-setup-grid{grid-template-columns:minmax(0,1fr) 240px;gap:10px}.creation-setup-panel{padding:12px;gap:12px}.creation-setup-size{gap:8px}}.creation-render-fallback{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);font-size:11px;color:var(--hint);background:#fffffff0;padding:5px 8px;border-radius:5px;pointer-events:none}.creation-view-tabs .creation-render-fallback{display:none}.creation-finished{padding:16px 20px 20px;gap:16px;background:#f6f8fc}.creation-finished .creation-task-header{max-width:none;min-height:52px;background:#fff;border-bottom:1px solid #e8edf4;margin:-16px -20px 0;padding:12px 20px;width:calc(100% + 40px);box-sizing:border-box}.creation-finished .creation-task-header>div{display:flex;align-items:center;gap:14px;min-width:0;flex-wrap:wrap}.creation-finished .creation-task-header h1{font-size:20px;margin:0;max-width:55vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creation-finished .creation-task-header p{display:none}.creation-generated-badge{display:inline-flex;align-items:center;background:#e7f7ef;color:#47946c;font-size:11px;font-weight:500;line-height:1;padding:7px 10px;border-radius:20px;white-space:nowrap}.creation-finished .creation-result-grid{max-width:none;grid-template-columns:minmax(0,1fr) 350px;gap:18px}.creation-finished .creation-result-main{border-radius:16px;border-color:#e8edf4;box-shadow:0 5px 24px #4f6a8e06}.creation-canvas-view-switch{position:absolute;top:14px;left:50%;transform:translate(-50%);z-index:6;display:flex;gap:3px;padding:4px;border-radius:10px;background:#eef1f6;box-shadow:0 2px 10px #29384d08;white-space:nowrap}.creation-canvas-view-switch button{border:0;border-radius:7px;padding:8px 14px;font-size:12px;color:#616a79;background:transparent;cursor:pointer}.creation-canvas-view-switch button.active{background:#2563eb;color:#fff}.creation-finished .creation-preview-tools{left:auto;right:12px;border-color:#e8edf4}.creation-preview-tools>span{display:none}.creation-zoom-content{top:58px;right:0;bottom:54px;left:0;height:auto;width:100%}.creation-zoom-content .creation-thread-canvas{width:100%;height:100%}.creation-zoom-toolbar{position:absolute;bottom:0;left:0;right:0;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid #e8edf4;background:#fffffff5;cursor:default;z-index:3}.creation-background-options{display:flex;gap:5px}.creation-background-options .btn.active{background:#2563eb;color:#fff}.creation-task-page .creation-zoom-surface.creation-background-plain{background:#fff}.creation-task-page .creation-zoom-surface.creation-background-fabric{background-color:#eee6da;background-image:repeating-linear-gradient(0deg,#ffffff70 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#9d8f7730 0 1px,transparent 1px 4px)}.creation-task-page .creation-zoom-surface.creation-background-grid{background-color:#fff;background-image:linear-gradient(#e6ebf2 1px,transparent 1px),linear-gradient(90deg,#e6ebf2 1px,transparent 1px);background-size:20px 20px}.creation-finished .creation-result-details section{padding:18px;border:1px solid #e8edf4;border-radius:15px;box-shadow:0 4px 18px #4f6a8e04}.creation-finished .creation-result-details h2{font-size:14px;margin-bottom:14px}.creation-artwork-summary{display:flex;gap:14px;align-items:center;margin-bottom:14px}.creation-artwork-thumbnail{position:relative;width:90px;height:90px;flex-shrink:0;border-radius:12px;background:#f6f7fa;overflow:hidden;border:1px solid #edf0f4}.creation-artwork-summary h3{font-size:15px;margin:0 0 9px;overflow-wrap:anywhere}.creation-artwork-summary p{font-size:12px;color:#9ca4b1;margin:0 0 10px}.creation-artwork-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.creation-artwork-metrics>div{padding:10px 8px;background:#f6f8fc;border-radius:10px;display:flex;flex-direction:column;gap:7px}.creation-artwork-metrics span{font-size:10px;color:#9ca4b1}.creation-artwork-metrics strong{font-size:12px;font-weight:600;white-space:nowrap;color:#414d62}.creation-quick-size{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 0 13px;margin-bottom:13px;border:0;border-bottom:1px solid #edf0f5;background:none;font-size:12px;cursor:pointer;color:#59667d}.creation-quick-size span:last-child{font-size:11px;color:#929cac}.creation-sidebar-actions{display:flex;flex-direction:column;gap:8px;margin-top:18px}.creation-sidebar-actions>.btn{flex:0 0 auto;font-size:13px;width:100%}.creation-finished .creation-result-details .creation-check-info{flex-shrink:0}.creation-artwork-thumbnail .creation-render-fallback{display:none}@media(max-height:800px){.creation-finished .creation-result-details section{padding:12px 14px}.creation-artwork-thumbnail{width:64px;height:64px}.creation-artwork-summary{margin-bottom:10px;gap:10px}.creation-artwork-summary h3{font-size:13px;margin-bottom:6px}.creation-artwork-summary p{margin-bottom:6px}.creation-artwork-metrics>div{padding:8px 6px;gap:5px}.creation-sidebar-actions{margin-top:12px}.creation-finished .creation-result-details{gap:10px}}@media(max-width:1050px){.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 290px;gap:12px}.creation-canvas-view-switch{left:12px;transform:none}.creation-canvas-view-switch button{padding:7px 10px;font-size:11px}.creation-zoom-toolbar{flex-wrap:wrap;gap:6px}.creation-artwork-metrics strong{font-size:11px}}@media(max-width:700px){.creation-finished{padding:12px;gap:12px}.creation-finished .creation-task-header{margin:-12px -12px 0;width:calc(100% + 24px);padding:10px 12px}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 235px;grid-template-rows:minmax(0,1fr)}.creation-finished .creation-result-details{grid-column:auto;display:flex;max-height:none}.creation-finished .creation-result-details section{padding:10px}.creation-artwork-metrics{gap:4px}.creation-artwork-metrics>div{padding:6px 4px}.creation-canvas-view-switch{top:10px;left:8px}.creation-canvas-view-switch button{padding:6px;font-size:10px}.creation-finished .creation-preview-tools{top:48px;right:8px}.creation-zoom-content{top:86px}.creation-background-options .btn{font-size:10px;padding:4px 6px}.creation-sidebar-actions>.btn{font-size:12px}}.creation-confirming{background:#f8faff;padding:20px;gap:18px}.creation-confirming .creation-task-header h1{font-size:23px;margin:0 0 6px}.creation-confirming .creation-task-header p{font-size:13px;color:#9199aa}.creation-confirming .creation-task-header{grid-template-columns:max-content minmax(0,1fr);align-items:center}.creation-confirming .creation-setup-grid{grid-template-columns:230px minmax(0,1fr) 330px;gap:16px;min-height:0}.creation-confirm-steps{display:flex;flex-direction:column;min-height:0;padding:24px 18px 16px;border:1px solid #e7edf5;border-radius:16px;background:#fff}.creation-confirm-steps ol{list-style:none;padding:0;margin:0;flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0}.creation-confirm-steps li{display:flex;position:relative;gap:12px;flex:0 1 100px;min-height:54px;color:#a6adba}.creation-confirm-steps li>span{flex-shrink:0;display:grid;place-items:center;width:27px;height:27px;border:2px solid #e0e5ed;border-radius:50%;font-size:12px;background:#fff;font-weight:600}.creation-confirm-steps li:not(:last-child):before{content:"";position:absolute;left:13px;top:35px;bottom:10px;width:1px;background:#e7edf5}.creation-confirm-steps li.done>span{background:#2563eb;color:#fff;border-color:#2563eb}.creation-confirm-steps li.current>span{border-color:#2563eb;color:#2563eb;box-shadow:0 0 0 4px #2563eb0c}.creation-confirm-steps li.done strong{color:#4b5669}.creation-confirm-steps li.current strong{color:#2563eb}.creation-confirm-steps strong{display:block;font-size:13px;font-weight:600;line-height:1.6;margin-top:2px}.creation-confirm-steps li p{font-size:11px;line-height:1.7;color:#a3abbb;margin:5px 0 0}.creation-confirm-tip{padding:14px;background:#f2f6fd;border-radius:12px;flex-shrink:0}.creation-confirm-tip strong{font-size:12px;color:#607492}.creation-confirm-tip p{font-size:11px;line-height:1.8;color:#96a2b5;margin:6px 0 0}.creation-confirm-center{display:flex;flex-direction:column;min-height:0;position:relative;background:#fff;border:1px solid #e7edf5;border-radius:16px;padding:12px;gap:10px}.creation-confirming .creation-setup-preview{position:relative;display:block;flex:1;min-height:0;height:auto;aspect-ratio:auto;border-radius:12px;border-color:#edf1f6}.creation-confirming .creation-zoom-content>img{position:absolute;top:4%;right:4%;bottom:4%;left:4%;width:92%;height:92%;object-fit:contain}.creation-confirm-caption{text-align:center;font-size:11px;color:#a5adbb;flex-shrink:0;line-height:1.6}.creation-confirming .creation-setup-panel{gap:20px;padding:22px;border-color:#e7edf5;border-radius:16px}.creation-confirm-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.creation-confirm-panel-heading h2{font-size:15px}.creation-confirm-panel-heading .btn{flex:0 0 auto}.creation-confirming .creation-setup-panel fieldset{padding-bottom:16px;border-bottom:1px solid #edf1f6}.creation-confirming .creation-setup-panel legend{font-size:13px;color:#4d5a71}.creation-confirming .creation-setup-size input{padding:10px;border-color:#e3e9f2;border-radius:7px}.creation-confirming .creation-setup-lock{margin-top:16px}.creation-confirming .creation-setup-palette>label{padding:10px 0}.creation-confirming .creation-setup-palette{flex:1;min-height:60px}.creation-confirming .creation-setup-panel>.btn{font-size:14px;padding:12px 14px}@media(max-height:760px){.creation-confirming{padding:14px;gap:12px}.creation-confirm-steps{padding:16px 14px}.creation-confirm-steps li{flex-basis:75px}.creation-confirming .creation-setup-panel{padding:16px;gap:14px}.creation-confirming .creation-setup-palette>label{padding:7px 0}.creation-confirm-tip{padding:10px}}@media(max-width:1100px){.creation-confirming .creation-setup-grid{grid-template-columns:185px minmax(0,1fr) 275px;gap:12px}.creation-confirming .creation-setup-panel{padding:16px}.creation-confirm-steps{padding:18px 12px}.creation-confirm-steps li{gap:8px}.creation-confirm-steps strong{font-size:12px}.creation-confirm-steps li p{font-size:10px}}@media(max-width:800px){.creation-confirming .creation-setup-grid{grid-template-columns:minmax(0,1fr) 255px}.creation-confirm-steps{display:none}.creation-confirming .creation-task-header h1{font-size:19px}.creation-confirming .creation-task-header p{font-size:11px}}.creation-zoom-toolbar{justify-content:flex-end}.my-works-page{background:var(--creation-page-background)}.my-works-page>.page-header{background:transparent;border:0;box-shadow:none;color:#171526}.my-works-page .task-manager-host,.my-works-page .task-manager{background:transparent}.my-works-page .task-card{background:#ffffffd9;border-color:#e8e2f1}.my-works-page .task-search,.my-works-page .task-type-filter{background:#ffffffd9}.creation-editorial{position:relative;isolation:isolate;padding:clamp(30px,5vh,64px) clamp(28px,5vw,96px) 26px;background:#faf6ef;overflow-y:auto;color:#17151a}.creation-editorial:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:70%;min-height:400px;background-image:linear-gradient(180deg,transparent 60%,#faf6ef 100%),url(/images/creation-studio-atlas.png);background-size:100% 100%,100% 160%;background-position:top center;pointer-events:none}.creation-editorial .creation-inner{width:100%;max-width:1440px;position:relative}.creation-editorial .creation-heading{text-align:left;margin-bottom:36px;min-height:215px;padding-top:16px}.creation-editorial .creation-heading h1{font-family:Songti SC,STSong,SimSun,serif;font-size:clamp(40px,4.4vw,76px);font-weight:800;line-height:1.2;letter-spacing:-2px;margin-bottom:24px}.creation-editorial .creation-heading h1 span{position:relative;color:#8c39ee}.creation-editorial .creation-heading h1 span:after{content:"";position:absolute;bottom:-6px;left:8%;width:90%;height:7px;border-top:2px solid #bb83ec;border-radius:50%;transform:rotate(-3deg)}.creation-editorial .creation-heading p{font-size:clamp(13px,1.2vw,18px);line-height:1.8;color:#7f808d}.creation-editorial .creation-modes{gap:20px;align-items:stretch}.creation-editorial .creation-entry{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;overflow:hidden;text-align:left;min-height:190px;padding:28px;border:1px solid #ffffffd9;border-radius:22px;box-shadow:0 6px 24px #90745406;font:inherit;color:#17151a;transition:transform .18s,box-shadow .18s}.creation-editorial button.creation-entry:hover{transform:translateY(-3px);box-shadow:0 10px 28px #90745412}.creation-editorial .creation-entry strong{position:relative;z-index:2;font-family:Songti SC,STSong,SimSun,serif;font-size:clamp(22px,2vw,32px);font-weight:700}.creation-editorial .creation-entry small{position:relative;z-index:2;font-size:12px;color:#93929e;max-width:90%}.creation-editorial .creation-entry-upload,.creation-editorial .creation-entry-upload.selected{background:linear-gradient(130deg,#f2eef8eb,#e3d9f3ed);border-color:#fff}.creation-editorial .creation-entry-describe{background:linear-gradient(130deg,#f7efe4ed,#f3dcc2ed)}.creation-editorial .creation-entry-template,.creation-editorial .creation-entry-template.selected{background:linear-gradient(130deg,#eff4e9ed,#d7e4cfed);border-color:#fff}.creation-card-mark{position:absolute;left:28px;bottom:22px;display:grid;place-items:center;border-radius:50%;width:36px;height:36px;color:#444453;background:#ffffffdc;box-shadow:0 4px 12px #8d66cf0d;font-size:24px;z-index:2}.creation-upload-art{position:absolute;right:25px;bottom:0;width:130px;height:150px;color:#9151f0;transform:rotate(-3deg)}.creation-editorial .creation-upload-art svg{position:absolute;right:0;top:6px;width:90px;height:94px;padding:23px;background:#f7f0ffed;border:1.5px dashed #c5a5f2;border-radius:15px;box-sizing:border-box;z-index:1}.creation-photo-stack{position:absolute;width:90px;height:70px;left:0;bottom:-10px;border:8px solid #eadbff;background:linear-gradient(145deg,#c7a9fa,#ab7cf1);border-radius:10px;transform:rotate(-15deg);box-shadow:13px 7px #d2b8f75c}.creation-photo-stack:after{content:"";position:absolute;left:16px;top:17px;width:45px;height:36px;background:#a167e7;clip-path:polygon(0 100%,35% 10%,60% 50%,76% 25%,100% 100%)}.creation-inline-prompt{display:flex;align-items:center;gap:12px;width:calc(100% - 42px);margin-top:20px;padding:13px;background:#ffffffa3;border-radius:13px;position:relative;z-index:2}.creation-inline-prompt>span{font-family:Georgia,serif;font-size:22px;color:#a77960}.creation-inline-prompt textarea{background:transparent;border:0;outline:0;resize:none;font:inherit;font-size:13px;color:#61534c;width:100%;height:21px;line-height:21px;padding:0}.creation-prompt-action{position:absolute;right:18px;bottom:25px;z-index:3;border:0;border-radius:20px;width:42px;height:36px;background:#ffddc6;color:#89664e;font-size:11px;cursor:pointer}.creation-describe-star{position:absolute;right:28px;top:30px;font-size:29px;color:#d5a791}.creation-template-art{position:absolute;right:20px;bottom:-7px;width:130px;height:150px;pointer-events:none}.creation-template-art>span{position:absolute;width:85px;height:100px;border:8px solid #fffdf6;border-radius:9px;background-image:url(/images/creation-studio-atlas.png);background-size:500% 266.6667%;background-position:0% 100%;box-shadow:0 8px 15px #5b78522a;right:0;top:4px;transform:rotate(8deg)}.creation-template-art>span:first-child{right:43px;top:44px;transform:rotate(-17deg);background-position:75% 100%}.creation-editorial .creation-start{margin:20px auto 0;width:min(100%,400px);padding:13px 24px;min-height:48px;background:linear-gradient(180deg,#30302f,#171718);color:#fff;font-size:16px;box-shadow:0 10px 20px #35302722;border-radius:40px}.creation-editorial .creation-ideas{margin-top:22px}.creation-editorial .creation-section-heading{margin-bottom:15px}.creation-editorial .creation-section-heading h2{display:flex;align-items:center;gap:10px;font-size:17px}.creation-editorial .creation-section-heading h2:before{content:"";width:5px;height:19px;border-radius:5px;background:#a04af6}.creation-editorial .creation-section-heading button{font-size:12px;color:#989898}.creation-editorial .creation-art{aspect-ratio:1.7;border-radius:15px;background-image:url(/images/creation-studio-atlas.png);background-size:500% 266.6667%;background-position-y:100%;background-color:#e7d8c2;box-shadow:none}.creation-art-0{background-position-x:0%}.creation-art-1{background-position-x:25%}.creation-art-2{background-position-x:50%}.creation-art-3{background-position-x:75%}.creation-art-4{background-position-x:100%}.creation-editorial .creation-idea strong{font-size:13px;margin-top:10px;font-weight:500}.creation-more-ideas{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.creation-more-ideas button{border:1px solid #e6dccf;border-radius:20px;background:#ffffffa6;padding:8px 15px;font-size:12px;color:#7a6f61;cursor:pointer}@media(min-width:1500px){.creation-editorial .creation-heading{min-height:260px}.creation-editorial .creation-entry{min-height:210px}}@media(max-width:1000px){.creation-editorial{padding:30px 28px}.creation-editorial .creation-heading{min-height:210px}.creation-editorial .creation-entry{padding:20px;min-height:175px}.creation-editorial .creation-modes{gap:12px}.creation-upload-art{right:10px;opacity:.65}.creation-template-art{right:5px;opacity:.75}.creation-editorial .creation-entry small{max-width:100%;font-size:10px}.creation-inline-prompt{width:100%;padding:10px;margin-top:25px}.creation-prompt-action{display:none}.creation-describe-star{right:15px}.creation-card-mark{left:20px}.creation-editorial .creation-idea-grid{gap:12px}}@media(max-width:650px){.creation-editorial{padding:24px 18px}.creation-editorial:before{opacity:.6;background-size:auto 100%,auto 160%;background-position:top right}.creation-editorial .creation-heading{min-height:190px}.creation-editorial .creation-heading h1{font-size:39px}.creation-editorial .creation-modes{grid-template-columns:1fr}.creation-editorial .creation-entry{min-height:145px}.creation-inline-prompt{width:80%;margin-top:12px}.creation-editorial .creation-idea-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-editorial .creation-art{aspect-ratio:1.5}.creation-editorial .creation-entry small{font-size:12px}.creation-editorial .creation-entry strong{font-size:25px}}.main.my-works-page{position:relative;isolation:isolate;background-color:#faf6ef;background-image:linear-gradient(90deg,#fbf8f379 0%,#fbf8f330 42%,transparent 72%),url(/images/works-studio.png);background-size:cover;background-position:center}.my-works-page .task-manager{padding:clamp(40px,7vh,90px) clamp(28px,4vw,76px) 30px;gap:0}.works-heading{flex:0 0 auto;margin:0 0 32px}.works-heading h1{position:relative;display:inline-block;font-family:Songti SC,STSong,SimSun,serif;font-size:clamp(34px,3.3vw,56px);font-weight:800;letter-spacing:-1px;line-height:1.3;margin:0 0 16px;color:#17151a}.works-heading h1:after{content:"";position:absolute;width:80px;height:13px;right:-30px;bottom:-6px;border-bottom:2px solid #b985ef;border-radius:50%;transform:rotate(-8deg)}.works-heading h1:before{content:"";position:absolute;right:-33px;bottom:-4px;width:7px;height:7px;border-radius:50%;background:#9655ef}.works-heading p{font-size:14px;line-height:1.8;color:#88858b;margin:0}.my-works-page .task-toolbar{flex:0 0 auto;justify-content:flex-start;padding:0;margin-bottom:22px}.my-works-page .task-toolbar-filters{gap:12px}.my-works-page .task-search{width:260px;padding:12px 16px;border:1px solid #e8e1d9;border-radius:11px;font-size:13px;background:#ffffffdc;box-shadow:0 2px 8px #5d4b3904}.my-works-page .task-type-filter{padding:11px 14px;border:1px solid #e8e1d9;border-radius:11px;font-size:13px;color:#4d484a;background:#ffffffdc}.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,minmax(240px,300px));gap:22px;align-content:start;padding:0 8px 18px 0;overflow-y:auto}.my-works-page .task-card{padding:10px;border:1px solid #eee8e0;border-radius:16px;background:#ffffffed;box-shadow:0 5px 20px #66513e0c;transition:transform .18s,box-shadow .18s,border-color .18s}.my-works-page .task-card:hover{transform:translateY(-3px);border-color:#d5b5f0;box-shadow:0 10px 26px #66513e17}.my-works-page .task-card-thumb{height:172px;border-radius:11px;background-color:#f2eade;background-image:repeating-linear-gradient(0deg,#ffffff3b 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#b4a38714 0 1px,transparent 1px 4px)}.my-works-page .task-card-thumb img{width:100%;height:100%;padding:9px;object-fit:contain}.my-works-page .task-card-body{padding:13px 3px 2px;gap:11px}.my-works-page .task-card-name{font-size:14px;font-weight:500;color:#4e4849}.my-works-page .task-card-meta{font-size:11px}.my-works-page .task-time{font-size:10px;color:#a5a1a0}.my-works-page .task-result-status{font-size:10px;padding:3px 8px;border-radius:10px;font-weight:500}.my-works-page .task-type-badge{top:9px;left:9px;padding:3px 10px;font-size:10px;background:#8f4bf0;font-weight:500}.my-works-page .task-card-actions{top:18px;right:17px;gap:4px}.my-works-page .task-action-btn{width:26px;height:28px;background:#fffffff0;box-shadow:0 2px 7px #8b776318;color:#827a74;font-size:13px;border-radius:6px}.my-works-page .task-empty{align-self:flex-start;padding:36px 45px;border:1px solid #eee5d9;border-radius:16px;background:#ffffffb8;color:#9b8e80}.my-works-page .task-load-more{padding-top:14px;max-width:300px}.my-works-page .task-load-more .btn{font-size:12px;background:#ffffffd9;color:#817261;border:1px solid #e5d9ca}@media(min-width:1500px){.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,minmax(270px,330px));gap:24px}.my-works-page .task-card-thumb{height:190px}}@media(max-width:1000px){.my-works-page .task-manager{padding:38px 28px 24px}.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,minmax(220px,280px));gap:16px}.my-works-page .task-card-thumb{height:160px}.main.my-works-page{background-position:65% center}.works-heading{margin-bottom:26px}}@media(max-width:650px){.my-works-page .task-manager{padding:28px 18px 20px}.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.my-works-page .task-search{width:min(55vw,260px);padding:10px 12px}.my-works-page .task-type-filter{max-width:120px;padding:10px}.works-heading p{font-size:12px}.my-works-page .task-card-thumb{height:150px}.main.my-works-page{background-image:linear-gradient(#faf6efb8,#faf6efb8),url(/images/works-studio.png)}}.creation-editorial .creation-art,.creation-template-art>span{background-size:500% 296%}.studio-theme>.sidebar{background:linear-gradient(160deg,#fff,#faf9fd);border-right:1px solid #ece8f0}.studio-theme>.sidebar .logo{position:relative;color:#151419;letter-spacing:-1px}.studio-theme>.sidebar .logo:after{content:"✦";font-size:16px;color:#9345ef;vertical-align:super;margin-left:3px}.studio-theme>.sidebar .btn.text-btn.active{background:#eee5ff;color:#8239e5;box-shadow:none}.studio-theme>.sidebar .btn.text-btn{border-radius:12px;font-size:14px}.studio-theme>.sidebar .btn.text-btn:hover:not(.active){background:#f3eef8}.simulation-window.animation-toolbar{position:absolute;z-index:80;width:min(760px,calc(100% - 24px));max-height:calc(100% - 24px);overflow:auto;box-sizing:border-box;padding:12px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;box-shadow:0 10px 32px #0f172a26}.simulation-window-header{display:flex;align-items:center;gap:12px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #e2e8f0;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.simulation-window-header span{flex:1;font-size:12px;color:#64748b}.simulation-window-header button{min-width:30px;font-size:22px;cursor:pointer}.simulation-window .toolbar-play-row{flex-wrap:wrap;gap:10px}.simulation-window .toolbar-play-buttons{flex-wrap:wrap;justify-content:flex-start}.simulation-window .play-side{width:auto;flex:initial}.simulation-window .sim-slider{flex-basis:100%;min-width:0}.simulation-window.animation-toolbar{width:min(680px,calc(100% - 24px));padding:6px 8px;gap:4px;border-radius:8px}.simulation-window .simulation-window-header{padding-bottom:4px;margin-bottom:0;gap:8px;font-size:12px}.simulation-window .simulation-window-header span{font-size:11px}.simulation-window .simulation-window-header button{padding:0;min-width:24px;height:22px;font-size:18px}.simulation-window .toolbar-play-row{flex-wrap:nowrap;padding:0;overflow-x:auto}.simulation-window .toolbar-play-buttons{flex-wrap:nowrap;gap:3px;margin:0}.simulation-window .toolbar-play-buttons button{height:26px;min-width:25px;padding:3px 5px;font-size:11px}.simulation-window .speed-control{gap:3px}.simulation-speed-value{font-size:11px;min-width:56px;text-align:center;white-space:nowrap}.simulation-window .slider-row{flex-wrap:nowrap;gap:6px;padding:0}.simulation-window .sim-slider{flex:1 1 0;min-height:40px;height:40px;justify-content:flex-end;padding-bottom:3px}.simulation-window .sim-marker-legend{display:none}.simulation-window .sim-slider-track{margin-top:20px;height:14px}.simulation-window .sim-color-section{top:3px;height:8px}.simulation-window .sim-marker{top:-15px;height:30px}.simulation-window .sim-marker span{width:12px;height:12px;left:-5px;line-height:11px;font-size:10px;border-radius:3px}.simulation-window .sim-marker.trim{top:-2px;height:17px}.simulation-window .sim-marker.stop{top:-15px}.simulation-window .sim-marker.color-change{top:-2px}.simulation-window .stitch-box{height:26px;padding:2px 4px;font-size:12px}.simulation-window .total-stitches,.simulation-window .progress-percent{font-size:11px;white-space:nowrap}.animation-toolbar.display-settings-toolbar{padding:3px 8px;gap:0;border-radius:6px}.display-settings-toolbar .toolbar-settings{border-top:0;padding:0;gap:8px;min-height:28px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scrollbar-width:thin}.display-settings-toolbar .toolbar-settings .play-side{flex:0 0 auto;min-width:0;margin-right:6px}.display-settings-toolbar .toolbar-settings .color-text{font-size:12px}.display-settings-toolbar .toolbar-settings .color-chip{width:14px;height:14px}.display-settings-toolbar .toolbar-settings button{min-height:0;height:24px;padding:2px 6px;font-size:12px}.display-settings-toolbar .toolbar-settings .stitch-palette-toggle{width:26px;height:24px;padding:2px}.display-settings-toolbar .stitch-palette-toggle svg{width:20px;height:20px}.display-settings-toolbar .toolbar-settings .toggle{font-size:12px;gap:3px;margin:0}.display-settings-toolbar .toolbar-settings input[type=checkbox]{width:13px;height:13px;margin:0}.display-settings-toolbar .settings-sep{height:20px;margin:0 2px}.source-design-svg{pointer-events:auto}.source-design-svg :is(path,rect,circle,ellipse,polygon,polyline,line,text,tspan,use){pointer-events:visiblePainted}.stitch-selection-handle:nth-child(2),.stitch-selection-handle:nth-child(7){cursor:ns-resize}.stitch-selection-handle:nth-child(4),.stitch-selection-handle:nth-child(5){cursor:ew-resize}.creation-thread-name{display:flex;flex-direction:column;gap:3px;min-width:0}.creation-thread-number{color:var(--text, #263548);font-size:12px;font-weight:600}.free-draw-options{flex-wrap:wrap}.free-draw-toolbar{gap:8px;padding:6px 9px;border-radius:12px;max-height:min(45vh,320px);overflow:auto}.free-draw-options{gap:10px;min-width:max-content}.free-draw-options label,.free-draw-options .free-draw-type{gap:3px}.free-draw-type-options button{width:32px;height:26px}.free-draw-width button{width:25px;height:26px}.free-draw-width output{min-width:48px;font-size:11px}.free-draw-options [aria-label=绘制工具]{display:flex;flex-wrap:wrap;gap:5px}.free-draw-options [aria-label=绘制工具] button{padding:6px 9px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--text);cursor:pointer;white-space:nowrap}.free-draw-options [aria-label=绘制工具] button[aria-pressed=true]{background:#eaf2ff;border-color:#2563eb;color:#174bb8}.free-draw-options [aria-label=绘制工具] button{width:32px;height:32px;padding:3px;display:inline-flex;align-items:center;justify-content:center}.creation-preview-status{position:absolute;right:16px;bottom:16px;z-index:8;display:flex;align-items:center;gap:8px;max-width:calc(100% - 32px);padding:10px 14px;border:1px solid #e1e7ef;border-radius:9px;background:#fffffff5;color:#526176;box-shadow:0 2px 10px #1f29370d;font-size:12px;pointer-events:none}.creation-preview-spinner{width:15px;height:15px;flex:0 0 auto;border:2px solid #dbe5f7;border-top-color:#2563eb;border-radius:50%;animation:creation-preview-spin .8s linear infinite}@keyframes creation-preview-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.creation-preview-spinner{animation:none}}.selection-tools{position:absolute;z-index:5;bottom:calc(100% + 34px);left:50%;transform:translate(-50%);display:flex;align-items:stretch;gap:2px;padding:4px;width:max-content;pointer-events:auto;background:#fff;color:#526176;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 4px 18px #33415518}.selection-tools button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:5px 9px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}.selection-tools button:hover:not(:disabled){background:#f1f5f9;color:#334155}.selection-tools button:focus-visible{outline:2px solid #8b5cf6;outline-offset:-2px}.selection-tools button[aria-expanded=true]{background:#f1eaff;color:#7c3aed}.selection-tools button:disabled{opacity:.38;cursor:default}.selection-shape-menu{position:absolute;left:0;top:calc(100% + 5px);width:165px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 18px #33415518}.selection-shape-menu button{display:flex;justify-content:space-between;width:100%;border-radius:4px}.selection-shape-menu kbd{color:#64748b;margin-left:12px}.shape-edit-hint{position:absolute;z-index:42;top:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:7px 10px;background:#fff;color:#526176;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 18px #33415518;font-size:12px}.shape-edit-hint button{white-space:nowrap}.shape-edit-geometry{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:31;pointer-events:none}.shape-node{position:absolute;z-index:32;width:12px;height:12px;padding:0;transform:translate(-50%,-50%);border:2px solid #1677ff;border-radius:2px;background:#fff;touch-action:none;cursor:default}.shape-angle-handle{width:19px;height:19px;border:3px solid #eab308;border-radius:50%;cursor:grab}.shape-angle-handle:active{cursor:grabbing;box-shadow:0 0 0 3px #eab30840}.setup-palette-heading{display:flex;align-items:center;gap:12px;white-space:nowrap}.setup-background-toggle{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:400;color:var(--hint);cursor:pointer}.setup-background-toggle input{margin:0;accent-color:#2563eb}.shape-node.shape-node-square{width:6px;height:6px;background:#5279ee;border:1px solid #25334e;border-radius:0}.shape-node.shape-node-round{width:7.5px;height:7.5px;background:#21c464;border:1px solid #1b4932;border-radius:50%}:root{--desktop-content-width: 1280px;--desktop-page-gap: 20px;--desktop-sidebar-width: 184px}body{font-size:14px}.app{height:100dvh}.main{min-height:0}.sidebar:not(.collapsed){width:var(--desktop-sidebar-width);min-width:var(--desktop-sidebar-width);padding:12px 10px}.sidebar .logo{font-size:25px;padding:10px 0;margin-bottom:18px}.sidebar .btn.text-btn,.studio-theme>.sidebar .btn.text-btn{font-size:13px;padding:11px 9px;min-height:40px;margin-bottom:8px}.sidebar .nav-icon{width:16px;height:16px}.page-header{font-size:14px;padding:10px 14px}.creation-editorial{padding:42px 48px 28px}.creation-editorial .creation-inner{max-width:var(--desktop-content-width);margin:0 auto}.creation-editorial .creation-heading{min-height:212px;padding-top:8px;margin-bottom:24px}.creation-editorial .creation-heading h1{font-size:52px;line-height:1.22;margin-bottom:19px;letter-spacing:-1.5px}.creation-editorial .creation-heading p{font-size:14px;line-height:1.85}.creation-editorial .creation-modes{gap:18px}.creation-editorial .creation-entry{min-height:176px;padding:24px;border-radius:18px;gap:9px}.creation-editorial .creation-entry strong{font-size:26px}.creation-editorial .creation-entry small{font-size:12px}.creation-editorial .creation-upload-art{height:134px;width:116px;right:18px}.creation-editorial .creation-template-art{height:138px;right:15px}.creation-editorial .creation-card-mark{left:24px;bottom:20px;width:32px;height:32px;font-size:21px}.creation-editorial .creation-inline-prompt{margin-top:16px;padding:11px}.creation-editorial .creation-start{width:340px;min-height:42px;padding:11px 20px;margin-top:18px;font-size:14px}.creation-editorial .creation-section-heading{margin-bottom:14px}.creation-editorial .creation-section-heading h2{font-size:16px}.creation-editorial .creation-idea-grid{gap:16px}.creation-editorial .creation-art{aspect-ratio:1.75;border-radius:12px}.creation-editorial .creation-idea strong{font-size:12px;margin-top:9px}.my-works-page .task-manager{padding:48px 56px 28px}.works-heading{margin-bottom:28px}.works-heading h1{font-size:38px;line-height:1.3;margin-bottom:13px}.works-heading p{font-size:13px}.my-works-page .task-toolbar{margin-bottom:20px}.my-works-page .task-search{width:248px;padding:10px 14px;font-size:13px}.my-works-page .task-type-filter{padding:9px 12px;font-size:13px}.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,280px);gap:20px}.my-works-page .task-card{padding:10px;border-radius:14px}.my-works-page .task-card-thumb{height:168px}.my-works-page .task-card-name{font-size:13px}.my-works-page .task-card-body{padding-top:11px;gap:9px}.creation-task-page{padding:18px 24px;gap:16px}.creation-making .creation-task-header,.creation-making .creation-processing-grid,.creation-making .creation-tip{max-width:1440px}.creation-making .creation-processing-grid{grid-template-columns:260px minmax(0,1fr);gap:20px}.creation-making .creation-task-header h1,.creation-confirming .creation-task-header h1{font-size:22px}.creation-finished .creation-task-header{margin:-18px -24px 0;padding:12px 24px;width:calc(100% + 48px)}.creation-finished .creation-task-header h1{font-size:19px}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.creation-finished .creation-result-details section{padding:16px}.creation-finished .creation-result-details h2{font-size:13px}.creation-finished .creation-artwork-summary h3{font-size:14px}.creation-finished .creation-artwork-thumbnail{width:76px;height:76px}.creation-finished .creation-artwork-metrics strong{font-size:12px}.creation-confirming .creation-setup-grid{grid-template-columns:210px minmax(0,1fr) 300px;gap:16px}.creation-confirming .creation-setup-panel{padding:18px;gap:18px}.creation-confirming .creation-confirm-steps{padding:20px 14px 14px}.creation-confirming .creation-setup-panel h2{font-size:14px}.creation-confirming .creation-setup-panel>.btn{font-size:13px;padding:10px 14px}@media(min-width:2400px){.creation-editorial{padding-top:64px}.creation-editorial .creation-inner{max-width:1380px}.creation-editorial .creation-heading{min-height:240px}.creation-editorial .creation-heading h1{font-size:56px}.creation-editorial .creation-entry{min-height:186px}.my-works-page .task-manager{padding:64px 72px 36px}.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,290px);gap:24px}.creation-task-page{padding:24px 32px;gap:20px}.creation-finished .creation-task-header{margin:-24px -32px 0;width:calc(100% + 64px);padding:14px 32px}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 340px;gap:24px}.creation-confirming .creation-setup-grid{grid-template-columns:230px minmax(0,1fr) 320px;gap:20px}}@media(max-width:1500px),(max-height:850px){.creation-editorial{padding:28px 32px 20px}.creation-editorial .creation-inner{max-width:1120px}.creation-editorial .creation-heading{min-height:172px;margin-bottom:20px}.creation-editorial .creation-heading h1{font-size:44px;margin-bottom:16px}.creation-editorial .creation-heading p{font-size:13px}.creation-editorial .creation-entry{min-height:158px;padding:20px}.creation-editorial .creation-entry strong{font-size:23px}.creation-editorial .creation-entry small{font-size:11px}.creation-editorial .creation-ideas{margin-top:20px}.creation-editorial .creation-start{min-height:38px;margin-top:14px}.my-works-page .task-manager{padding:32px 36px 20px}.works-heading h1{font-size:34px}.creation-confirming .creation-setup-grid{grid-template-columns:180px minmax(0,1fr) 270px;gap:12px}.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 285px;gap:12px}.creation-finished .creation-result-details section{padding:12px 14px}.creation-artwork-metrics>div{padding:8px 6px}}@media(max-width:1050px){.sidebar:not(.collapsed){width:160px;min-width:160px}.creation-editorial{padding:24px}.creation-editorial .creation-heading h1{font-size:40px}.creation-editorial .creation-modes{gap:12px}.creation-editorial .creation-entry{padding:16px}.creation-confirming .creation-setup-grid{grid-template-columns:minmax(0,1fr) 260px}.creation-confirm-steps{display:none}.my-works-page .task-manager{padding:28px 24px 20px}.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,minmax(220px,260px));gap:16px}}@media(max-width:700px){.creation-editorial{padding:24px 16px}.creation-editorial .creation-heading h1{font-size:36px}.creation-editorial .creation-modes{grid-template-columns:1fr}.creation-editorial .creation-entry{min-height:140px}.creation-editorial .creation-idea-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-editorial .creation-start{width:min(100%,340px)}.creation-finished .creation-result-grid,.creation-confirming .creation-setup-grid{grid-template-columns:minmax(0,1fr) 235px}.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.my-works-page .task-search{width:min(48vw,248px)}}.creation-finished,.creation-confirming{--task-primary: #2563eb;--task-primary-hover: #1d4ed8;--task-primary-soft: #eff6ff;--task-ink: #334155;--task-muted: #94a3b8;--task-line: #e5eaf1;background:#f7f9fc;color:var(--task-ink)}.creation-finished .creation-task-header,.creation-confirming .creation-task-header{min-height:52px}.creation-confirming .creation-task-header h1{font-size:21px;line-height:1.4}.creation-confirming .creation-task-header p{font-size:12px;line-height:1.6;margin-top:4px}.creation-finished .creation-result-details{gap:12px}.creation-finished .creation-result-details section{padding:16px;border-color:var(--task-line);border-radius:12px;box-shadow:0 2px 8px #33415503}.creation-finished .creation-result-details h2,.creation-confirm-panel-heading h2{font-size:13px;font-weight:600;color:#334155}.creation-finished .creation-artwork-summary{gap:12px;margin-bottom:12px}.creation-finished .creation-artwork-summary h3{font-size:14px;font-weight:600}.creation-finished .creation-artwork-summary p{font-size:11px}.creation-finished .creation-artwork-metrics>div{background:#f6f8fb;border-radius:8px;padding:9px 7px;gap:6px}.creation-finished .creation-artwork-metrics strong{font-size:12px;color:#334155}.creation-finished .creation-artwork-metrics span{font-size:10px;color:#94a3b8}.creation-generated-badge{font-size:10px;padding:5px 8px;border-radius:6px;background:#edf8f1;color:#42805d}.creation-finished .creation-thread-list li{padding:8px 0;gap:9px;font-size:12px;border-color:#f0f3f7}.creation-finished .creation-thread-swatch{width:20px;height:20px;border-radius:5px}.creation-finished .creation-check{font-size:11px;line-height:1.8;margin:6px 0;color:#5e8470}.creation-finished .creation-quality-warning{font-size:11px;line-height:1.8;color:#b08045}.creation-finished .creation-sidebar-actions{margin-top:14px;gap:8px}.creation-confirming .creation-confirm-steps{border-radius:12px;border-color:var(--task-line);padding:18px 14px 14px}.creation-confirming .creation-confirm-steps li{flex-basis:84px;gap:10px}.creation-confirming .creation-confirm-steps strong{font-size:12px}.creation-confirming .creation-confirm-steps li p{font-size:11px;line-height:1.65}.creation-confirming .creation-confirm-steps li>span{width:25px;height:25px;font-size:11px}.creation-confirming .creation-confirm-steps li:not(:last-child):before{left:12px;top:32px}.creation-confirming .creation-confirm-tip{padding:12px;border-radius:9px;background:#f5f8fc}.creation-confirming .creation-confirm-center{padding:10px;gap:8px;border-radius:12px;border-color:var(--task-line)}.creation-confirming .creation-confirm-caption{font-size:10px}.creation-confirming .creation-setup-panel{border-radius:12px;padding:18px;gap:16px;border-color:var(--task-line)}.creation-confirming .creation-setup-panel legend{font-size:12px;margin-bottom:10px;font-weight:600}.creation-confirming .creation-setup-size label{font-size:11px;gap:7px}.creation-confirming .creation-setup-size input{height:34px;border-radius:6px;padding:7px 9px;font-size:12px}.creation-confirming .creation-setup-lock{margin-top:12px;font-size:11px}.creation-confirming .creation-setup-palette>label{padding:8px 0;font-size:11px}.creation-confirming .creation-setup-palette input[type=color]{width:28px;height:28px;border-radius:6px}.creation-confirming .creation-setup-panel fieldset{padding-bottom:12px}.creation-task-page:is(.creation-finished,.creation-confirming) .btn,.creation-task-page:is(.creation-finished,.creation-confirming) .creation-back,.creation-task-page:is(.creation-finished,.creation-confirming) .creation-player-controls button{flex:0 0 auto;min-height:30px;padding:7px 12px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#526176;font-size:12px;font-weight:500;line-height:1.2;letter-spacing:0;box-shadow:0 1px 2px #0f172a03;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}.creation-task-page:is(.creation-finished,.creation-confirming) .btn:hover:not(:disabled),.creation-task-page:is(.creation-finished,.creation-confirming) .creation-back:hover,.creation-task-page:is(.creation-finished,.creation-confirming) .creation-player-controls button:hover{background:#f1f5fb;border-color:#bfcee2;color:#334155;box-shadow:none}.creation-task-page:is(.creation-finished,.creation-confirming) .btn.primary{min-height:36px;background:var(--task-primary);border-color:var(--task-primary);color:#fff;font-size:12px;font-weight:600;box-shadow:0 2px 5px #2563eb13}.creation-task-page:is(.creation-finished,.creation-confirming) .btn.primary:hover:not(:disabled){background:var(--task-primary-hover);border-color:var(--task-primary-hover);color:#fff;box-shadow:0 3px 8px #2563eb1a}.creation-task-page:is(.creation-finished,.creation-confirming) .btn:disabled{background:#f5f7fa;border-color:#e8edf3;color:#adb6c3;opacity:1;cursor:not-allowed;box-shadow:none}.creation-task-page:is(.creation-finished,.creation-confirming) .btn.primary:disabled{background:#adc6f8;border-color:#adc6f8;color:#fff}.creation-task-page:is(.creation-finished,.creation-confirming) .btn.btn-sm{min-height:26px;padding:5px 9px;font-size:11px}.creation-task-page:is(.creation-finished,.creation-confirming) .creation-preview-tools .creation-preview-icon{width:28px;height:28px;min-height:28px;padding:5px}.creation-finished .creation-canvas-view-switch{padding:3px;border:1px solid #e5eaf2;background:#f7f9fc;box-shadow:0 2px 6px #0f172a05;border-radius:8px}.creation-finished .creation-canvas-view-switch button{padding:7px 13px;border-radius:5px;font-size:11px;font-weight:500;color:#758296}.creation-finished .creation-canvas-view-switch button.active{background:var(--task-primary-soft);color:var(--task-primary);box-shadow:inset 0 0 0 1px #cddffb}.creation-task-page:is(.creation-finished,.creation-confirming) .creation-background-options .btn.active{background:var(--task-primary-soft);border-color:#cddffb;color:var(--task-primary)}.creation-task-page:is(.creation-finished,.creation-confirming) button:focus-visible,.creation-task-page:is(.creation-finished,.creation-confirming) input:focus-visible,.creation-task-page:is(.creation-finished,.creation-confirming) select:focus-visible{outline:2px solid #93b9fb;outline-offset:2px}.creation-task-page:is(.creation-finished,.creation-confirming) .creation-preview-tools{padding:4px;border-color:var(--task-line);border-radius:7px}.creation-task-page:is(.creation-finished,.creation-confirming) .creation-zoom-toolbar{min-height:44px;padding:7px 10px}.creation-task-page:is(.creation-finished,.creation-confirming) .creation-zoom-content{bottom:0}.creation-finished .creation-player-controls{padding:8px 12px;min-height:42px;gap:8px}@media(min-width:2400px){.creation-finished .creation-result-grid{grid-template-columns:minmax(0,1fr) 320px}.creation-confirming .creation-setup-grid{grid-template-columns:220px minmax(0,1fr) 300px}.creation-confirming .creation-confirm-steps li{flex-basis:92px}}@media(max-width:1500px),(max-height:850px){.creation-confirming .creation-setup-panel{padding:14px;gap:12px}.creation-confirming .creation-confirm-steps li{flex-basis:70px}.creation-finished .creation-result-details section{padding:12px}.creation-finished .creation-artwork-thumbnail{width:64px;height:64px}}@media(max-width:1050px){.creation-finished .creation-canvas-view-switch button{padding:6px 9px;font-size:10px}.creation-confirming .creation-confirm-steps{display:none}}.creation-confirming .creation-task-header{min-height:34px;gap:12px;flex:0 0 auto}.creation-confirming .creation-task-header h1{font-size:16px;line-height:1.4;font-weight:600;letter-spacing:0;margin:0}.creation-confirming .creation-task-header p{display:none}.creation-confirming .creation-back{min-height:28px!important;padding:6px 10px!important;font-size:12px!important}.creation-material-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.creation-material-fields fieldset{min-width:0}.creation-fabric-field{flex:0 0 auto}.creation-fabric-field>label{font-size:11px;color:#94a3b8;display:block;margin-bottom:7px}.creation-fabric-field select{width:100%;height:32px;padding:6px 9px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#526176;font-size:12px}.creation-fabric-field p{font-size:10px;line-height:1.7;color:#94a3b8;margin:7px 0 0}.creation-fabric-compensation{display:flex;justify-content:space-between;align-items:center;background:#f6f8fc;border-radius:6px;padding:8px 9px;margin-top:9px;font-size:11px;color:#758397}.creation-fabric-compensation strong{font-size:11px;font-weight:600;color:#475569}.creation-fabric-badge{display:inline-block;font-size:10px;color:#7f8b9c;background:#f4f7fb;padding:5px 8px;border-radius:5px;margin-bottom:12px}.creation-confirming .creation-setup-palette{flex:1;min-height:90px}.creation-confirming .creation-setup-panel{overflow:hidden}@media(max-height:850px){.creation-confirming .creation-setup-panel{gap:10px}.creation-confirming .creation-fabric-field p{font-size:10px;margin-top:5px}.creation-confirming .creation-setup-palette{min-height:65px}}.export-dialog-overlay{padding:24px;background:#17243b52;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal.export-result-modal{position:relative;width:460px;min-width:0;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);overflow-y:auto;padding:24px;border:1px solid #e5eaf1;border-radius:14px;background:#fff;box-shadow:0 20px 70px #17243b24;color:#334155}.export-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.export-dialog-heading h2{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 7px;color:#253246}.export-dialog-heading p{font-size:12px;line-height:1.7;color:#94a3b8;margin:0}.export-dialog-close{flex:0 0 auto;display:grid;place-items:center;width:28px;height:28px;padding:5px;border:1px solid #e5eaf1;border-radius:6px;background:#fff;color:#8190a5;cursor:pointer}.export-dialog-close:hover:not(:disabled){background:#f1f5fb;color:#334155}.export-dialog-summary{display:flex;align-items:center;gap:12px;padding:11px 12px;margin-bottom:20px;border:1px solid #edf1f6;border-radius:8px;background:#f7f9fc;color:#7a899e;font-size:11px;font-variant-numeric:tabular-nums}.export-dialog-summary span+span{padding-left:12px;border-left:1px solid #e0e7ef}.export-result-modal .export-result-fields{display:flex;flex-direction:column;gap:16px;min-width:0;margin:0;padding:0;border:0}.export-result-modal .field{gap:7px;margin:0;min-width:0}.export-result-modal .field label{font-size:12px;font-weight:500;color:#65758c}.export-result-modal .field input,.export-result-modal .field select{width:100%;height:36px;min-height:36px;padding:8px 10px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;font-size:12px;color:#475569;box-shadow:none;outline:none}.export-result-modal .field input:hover,.export-result-modal .field select:hover{border-color:#c4d1e2}.export-result-modal .field input:focus,.export-result-modal .field select:focus{border-color:#80aef7;box-shadow:0 0 0 3px #2563eb0b}.export-result-modal .export-hint{padding:10px 12px;margin:0;background:#f7f9fc;border-radius:6px;color:#94a3b8;font-size:11px;line-height:1.8}.export-result-modal .modal-btns{display:flex;justify-content:flex-end;gap:8px;margin:4px 0 0;padding:18px 0 0;border-top:1px solid #edf1f6}.export-result-modal .modal-btns .btn{flex:0 0 auto;min-width:76px;min-height:32px;padding:8px 14px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#526176;font-size:12px;font-weight:500;line-height:1.2;letter-spacing:0;box-shadow:none;order:1}.export-result-modal .modal-btns .btn:hover:not(:disabled){background:#f1f5fb;border-color:#bfcee2;color:#334155}.export-result-modal .modal-btns .btn.primary{order:2;background:#2563eb;border-color:#2563eb;color:#fff;min-width:96px;font-weight:600;box-shadow:0 2px 5px #2563eb13}.export-result-modal .modal-btns .btn.primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8;color:#fff}.export-result-modal .modal-btns .btn:disabled,.export-dialog-close:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.export-result-modal button:focus-visible{outline:2px solid #93b9fb;outline-offset:2px}.export-result-modal .export-progress-overlay{border-radius:14px;background:#fffffff2;gap:12px;color:#526176}.export-result-modal .export-progress-overlay strong{font-size:14px;font-weight:600}.export-result-modal .export-progress-overlay span{font-size:11px;color:#94a3b8}@media(min-width:2400px){.modal.export-result-modal{width:480px;padding:26px}}@media(max-height:650px){.modal.export-result-modal{padding:18px}.export-dialog-heading{margin-bottom:12px}.export-dialog-summary{margin-bottom:14px}.export-result-modal .export-result-fields{gap:12px}.export-result-modal .modal-btns{padding-top:12px}}@media(max-width:600px){.export-dialog-overlay{padding:16px}.modal.export-result-modal{width:100%;max-width:420px;max-height:calc(100dvh - 32px);padding:18px}.export-dialog-summary{gap:8px;font-size:10px}.export-dialog-summary span+span{padding-left:8px}}body.embroidery-workbench-ui{--accent:#2563eb;--accent-hi:#1d4ed8;--accent-soft:#eff6ff;--border:#e0e6ee;--text:#334155;--hint:#94a3b8;--btn:#64748b;--btn-hi:#475569}body.embroidery-workbench-ui .workspace-tab{background:#f5f7fb}body.embroidery-workbench-ui .page-header{font-size:13px;padding:9px 12px;border-color:#e5eaf1;box-shadow:none;border-radius:8px}body.embroidery-workbench-ui :is(.workspace-panel,.object-panel,.canvas-tool-panel,.pattern-library-panel,.hoop-library-panel){border-color:#e2e8f0;box-shadow:0 5px 18px #3341550d;border-radius:10px;font-size:12px}body.embroidery-workbench-ui .workspace-tab .animation-toolbar{padding:7px 10px;gap:6px;border-color:#e2e8f0;background:#fff}body.embroidery-workbench-ui :is(.workspace-panel-title,.object-panel-title,.canvas-tool-panel h3,.pattern-library-heading h3,.hoop-library-heading h3){font-size:13px;font-weight:600;color:#334155}body.embroidery-workbench-ui :is(.btn,.toolbar-row button,.object-edit-tab,.font-cat){background:#fff;color:#526176;border:1px solid #dfe6ef;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:500;line-height:1.3;letter-spacing:0;box-shadow:none;transition:background .15s,color .15s,border-color .15s}body.embroidery-workbench-ui :is(.btn,.toolbar-row button,.object-edit-tab,.font-cat):hover:not(:disabled){background:#f1f5fb;color:#334155;border-color:#bfcee2;box-shadow:none}body.embroidery-workbench-ui .btn.primary{background:#2563eb;color:#fff;border-color:#2563eb;font-weight:600}body.embroidery-workbench-ui .btn.primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8;color:#fff}body.embroidery-workbench-ui :is(.object-edit-tab.active,.font-cat.active,.btn.pattern-tool-active,.toolbar-row button.active){background:#eff6ff;color:#2563eb;border-color:#cddffb;box-shadow:none}body.embroidery-workbench-ui :is(.btn.btn-danger,.canvas-measure-tools .btn.btn-danger){background:#fff5f5;color:#c95a5a;border-color:#f2d6d6}body.embroidery-workbench-ui .btn.btn-danger:hover:not(:disabled){background:#fef2f2;color:#b91c1c;border-color:#edb7b7}body.embroidery-workbench-ui :is(.btn,.toolbar-row button):disabled{background:#f6f8fb;color:#adb6c3;border-color:#e8edf3;opacity:1;box-shadow:none;cursor:not-allowed}body.embroidery-workbench-ui .btn.primary:disabled{background:#adc6f8;color:#fff;border-color:#adc6f8}body.embroidery-workbench-ui .btn.btn-sm{font-size:11px;padding:5px 9px;border-radius:5px;min-width:26px}body.embroidery-workbench-ui .toolbar-row button{font-size:11px;padding:5px 8px;min-width:28px;min-height:25px}body.embroidery-workbench-ui :is(.field,.export-field,.toolbar-row) :is(input[type=text],input[type=number],select),body.embroidery-workbench-ui .modal textarea{border:1px solid #dfe6ef;border-radius:5px;background:#fff;color:#526176;font-size:12px;padding:6px 8px;box-shadow:none}body.embroidery-workbench-ui :is(input,select,textarea):focus-visible{outline:2px solid #93b9fb;outline-offset:1px}body.embroidery-workbench-ui input[type=checkbox],body.embroidery-workbench-ui input[type=range],body.embroidery-workbench-ui input[type=radio]{accent-color:#2563eb}body.embroidery-workbench-ui .modal-overlay{padding:24px;background:#17243b52;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}body.embroidery-workbench-ui .modal{max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);overflow-y:auto;border:1px solid #e5eaf1;border-radius:12px;padding:20px;background:#fff;box-shadow:0 20px 65px #17243b24;font-size:12px;color:#334155}body.embroidery-workbench-ui .modal:is(.cross-assistant-modal,.object-edit-modal){overflow:hidden}body.embroidery-workbench-ui .modal>:is(h2,h3){font-size:16px;font-weight:600;line-height:1.5;margin:0 0 16px;color:#334155}body.embroidery-workbench-ui .modal .field label{font-size:11px;color:#8190a5}body.embroidery-workbench-ui .modal .modal-btns{gap:8px;padding-top:14px;margin-top:14px;border-top:1px solid #edf1f6;justify-content:flex-end;flex-shrink:0}body.embroidery-workbench-ui .modal .modal-btns>.btn{flex:0 0 auto;min-width:76px;min-height:31px;padding:7px 14px}body.embroidery-workbench-ui .modal .modal-btns>.btn.primary{order:2}body.embroidery-workbench-ui .modal.object-edit-modal{width:680px}body.embroidery-workbench-ui .modal.cross-assistant-modal{width:960px}body.embroidery-workbench-ui .modal.design-editor-modal{width:1000px}body.embroidery-workbench-ui .modal.bulk-stitch-method-dialog{width:560px}body.embroidery-workbench-ui .modal.color-picker-modal{width:420px}body.embroidery-workbench-ui .object-edit-tabs{gap:5px;border-color:#e5eaf1}body.embroidery-workbench-ui .object-edit-tab{padding:7px 11px;font-size:12px}body.embroidery-workbench-ui .param-group{border-color:#e5eaf1;border-radius:7px}body.embroidery-workbench-ui .param-group-header{font-size:12px;background:#f7f9fc;color:#65758c}body.embroidery-workbench-ui .cross-assistant-layout{grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);gap:14px}body.embroidery-workbench-ui .color-merge-dialog{width:1160px;max-width:calc(100vw - 48px);height:min(760px,calc(100dvh - 48px));border:1px solid #e5eaf1;border-radius:12px;box-shadow:0 20px 65px #17243b24}body.embroidery-workbench-ui .color-merge-header{height:48px;padding:0 18px}body.embroidery-workbench-ui .color-merge-header strong{font-size:15px;font-weight:600}body.embroidery-workbench-ui .color-merge-toolbar{font-size:12px}body.embroidery-workbench-ui .flat-satin-settings-dialog{max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #e5eaf1;border-radius:12px;background:#fff;box-shadow:0 20px 65px #17243b24;font-size:12px}body.embroidery-workbench-ui button:focus-visible{outline:2px solid #93b9fb;outline-offset:2px}@media(min-width:2400px){body.embroidery-workbench-ui .modal.object-edit-modal{width:700px}body.embroidery-workbench-ui .modal.cross-assistant-modal{width:1000px}body.embroidery-workbench-ui .modal.design-editor-modal{width:1060px}body.embroidery-workbench-ui .color-merge-dialog{width:1240px;height:min(820px,calc(100dvh - 64px))}}@media(max-height:760px){body.embroidery-workbench-ui .modal-overlay{padding:16px}body.embroidery-workbench-ui .modal{max-height:calc(100dvh - 32px);padding:16px}body.embroidery-workbench-ui .modal .modal-btns{padding-top:10px;margin-top:10px}body.embroidery-workbench-ui .color-merge-dialog{height:calc(100dvh - 32px)}}@media(max-width:900px){body.embroidery-workbench-ui .cross-assistant-layout{grid-template-columns:1fr}body.embroidery-workbench-ui .modal.cross-assistant-modal{overflow:auto}body.embroidery-workbench-ui .modal-overlay{padding:12px}body.embroidery-workbench-ui .modal,body.embroidery-workbench-ui .color-merge-dialog{max-width:calc(100vw - 24px)}}.app.studio-theme>.sidebar{background:linear-gradient(160deg,#fff,#faf9fd);border-right:1px solid #ece8f0;box-shadow:none}.app.studio-theme>.sidebar .btn.text-btn{min-height:40px;margin-bottom:8px;padding:11px 9px;border:0;border-radius:10px;background:transparent;color:#626171;font-size:13px;font-weight:500;line-height:1.3;letter-spacing:0;box-shadow:none}.app.studio-theme>.sidebar .btn.text-btn:hover:not(:disabled){background:#f3eef8;color:#746086;box-shadow:none}.app.studio-theme>.sidebar .btn.text-btn.active,.app.studio-theme>.sidebar .btn.text-btn.active:hover{background:#eee5ff;color:#8239e5;font-weight:600;border:0;box-shadow:none}.app.studio-theme>.sidebar .logo{color:#151419;font-size:25px}.app.studio-theme>.sidebar .sidebar-account{border-color:#ece8f0}.studio-demo-page{flex:1;min-height:0;overflow:auto;padding:44px 48px 30px;background:radial-gradient(ellipse at 90% 0,#f2e8db75,transparent 50%),#faf8f4;color:#373341}.studio-demo-heading,.studio-demo-toolbar,.studio-inspiration-grid{max-width:1280px;margin-left:auto;margin-right:auto}.studio-demo-heading{margin-bottom:28px}.studio-demo-eyebrow{font-size:11px;letter-spacing:1px;color:#b29a80}.studio-demo-heading h1{font-family:Songti SC,STSong,SimSun,serif;font-size:38px;line-height:1.3;letter-spacing:-1px;margin:10px 0 12px;color:#28232d}.studio-demo-heading p{font-size:13px;color:#96909b;line-height:1.8;margin:0 0 12px}.studio-demo-badge{display:inline-block;padding:5px 9px;border:1px solid #e8dfd3;border-radius:6px;background:#ffffffb0;font-size:10px;color:#a29280}.studio-demo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.studio-demo-toolbar>h2{font-size:15px;font-weight:600;margin:0}.studio-demo-toolbar>h2 span{margin-left:10px;font-size:11px;font-weight:400;color:#aaa1a8}.studio-demo-filters{display:flex;gap:6px;flex-wrap:wrap}.studio-demo-filters button{padding:7px 13px;border:1px solid transparent;border-radius:8px;background:transparent;color:#8e8494;font-size:12px;cursor:pointer}.studio-demo-filters button.active{background:#eee5ff;color:#8239e5;border-color:#e7d8fc}.studio-demo-toolbar input{width:220px;padding:9px 12px;border:1px solid #e6e0d9;border-radius:8px;background:#ffffffc4;color:#706677;font-size:12px}.studio-inspiration-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-content:start}.studio-pattern-card{padding:10px;background:#fff;border:1px solid #eee7e0;border-radius:14px;box-shadow:0 4px 18px #4c382406}.studio-pattern-open{display:block;width:100%;padding:0;border:0;border-radius:9px;overflow:hidden;background:none;cursor:pointer}.studio-pattern-art{aspect-ratio:1.25;background-image:url(/images/creation-studio-atlas.png);background-size:500% 296%;background-position-y:100%;background-color:#e8dccb;border-radius:9px}.studio-pattern-info{display:flex;align-items:center;justify-content:space-between;padding:13px 3px 12px;gap:8px}.studio-pattern-info h2{font-size:13px;font-weight:600;margin:0 0 6px}.studio-pattern-info p{font-size:10px;color:#b1a8ae;margin:0}.studio-favorite{border:0;background:none;font-size:21px;color:#b2a6bc;cursor:pointer}.studio-favorite[aria-pressed=true]{color:#a16aec}.studio-demo-use{padding:8px 12px;width:100%;border:1px solid #e8e1ed;border-radius:7px;background:#faf8fc;color:#93849e;font-size:11px;cursor:pointer}.studio-demo-use:hover:not(:disabled){background:#eee5ff;color:#8239e5}.studio-demo-use:disabled{cursor:default;opacity:.65}.studio-demo-empty{padding:50px;text-align:center;color:#b0a4b0;font-size:13px}.modal.studio-pattern-dialog{width:420px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #e7e0ee;border-radius:14px;box-shadow:0 16px 60px #3e2b5221;padding:22px;background:#fff}.studio-pattern-dialog .studio-pattern-art{aspect-ratio:1.4}.studio-pattern-dialog h2{font-size:17px;margin:18px 0 10px}.studio-pattern-dialog p{font-size:12px;line-height:1.8;color:#9b90a2}.studio-pattern-dialog .modal-btns{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.studio-pattern-dialog .btn{flex:0 0 auto;padding:8px 13px;font-size:12px;background:#f5f1f9;color:#8e789e;border:1px solid #e8dff0;box-shadow:none}.studio-pattern-dialog .btn.primary{background:#eee5ff;color:#8239e5;border-color:#dfcff5}.studio-demo-page button:focus-visible,.studio-demo-page input:focus-visible{outline:2px solid #b69be1;outline-offset:2px}@media(min-width:2400px){.studio-demo-page{padding-top:64px}.studio-inspiration-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.studio-demo-page{padding:32px}.studio-inspiration-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}@media(max-width:800px){.studio-demo-page{padding:24px 18px}.studio-demo-heading h1{font-size:30px}.studio-demo-toolbar{flex-wrap:wrap;gap:12px}.studio-inspiration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.creation-technique{display:flex;align-items:center;gap:6px;margin-bottom:16px;flex-wrap:wrap}.creation-technique>button{border:1px solid #e7ddec;border-radius:7px;background:#ffffffbd;color:#9a8aa2;padding:8px 16px;font-size:12px;cursor:pointer}.creation-technique>button.active{background:#eee5ff;border-color:#ddc9fa;color:#8239e5;font-weight:600}.creation-technique>span{font-size:11px;color:#a6989c;margin-left:10px}.cross-creation-page{flex:1;min-height:0;display:flex;flex-direction:column;padding:18px 24px;gap:16px;background:#f7f9fc}.cross-creation-page>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.cross-creation-page h1{font-size:16px;font-weight:600;color:#334155;margin:0 0 6px}.cross-creation-page header p{font-size:12px;margin:0;color:#94a3b8}.cross-creation-page .btn{flex:0 0 auto;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#526176;font-size:12px;font-weight:500;padding:8px 12px;box-shadow:none}.cross-creation-page .btn.primary{background:#2563eb;color:#fff;border-color:#2563eb}.cross-creation-page .btn:disabled{opacity:.5;cursor:not-allowed}.cross-creation-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;flex:1;min-height:0}.cross-creation-preview{display:flex;min-height:0;overflow:hidden;border:1px solid #e5eaf1;border-radius:12px;background:#fff;padding:10px}.cross-creation-preview>.cross-grid-preview{flex:1;min-height:0;overflow:auto;border:0}.cross-creation-layout>aside{display:flex;flex-direction:column;gap:16px;min-height:0;border:1px solid #e5eaf1;border-radius:12px;background:#fff;padding:18px}.cross-creation-layout h2{font-size:13px;margin:0;color:#475569}.cross-creation-fields{display:flex;flex-direction:column;gap:14px;overflow:auto;min-height:0}.cross-creation-fields>label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#8190a5}.cross-creation-fields input,.cross-creation-fields select{width:100%;height:32px;padding:6px 9px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;font-size:12px;color:#526176}.cross-creation-note{font-size:11px;color:#94a3b8;line-height:1.8;margin:0}.cross-creation-layout>aside>.btn{margin-top:auto}.cross-creation-error{font-size:11px;color:#ba4332}@media(min-width:2400px){.cross-creation-page{padding:24px 32px}.cross-creation-layout{grid-template-columns:minmax(0,1fr) 320px}}@media(max-width:1000px){.cross-creation-layout{grid-template-columns:minmax(0,1fr) 260px;gap:12px}.cross-creation-page{padding:14px}}.creation-editorial .creation-modes{grid-template-columns:repeat(4,minmax(0,1fr))}.creation-editorial .creation-entry-free{background:linear-gradient(130deg,#eaf0faed,#d6e1f3ed);border-color:#fff}.creation-editorial .creation-entry-free small{max-width:90%;line-height:1.8}.creation-free-art{position:absolute;right:22px;bottom:9px;font-family:Georgia,serif;font-size:60px;color:#96aedb;transform:rotate(-8deg);opacity:.75}.creation-free-art>span{font-size:30px;position:absolute;right:-12px;top:-8px;color:#b7a1ea}.free-design-workspace .free-design-header{display:flex;align-items:center;gap:14px;padding:14px 18px;background:#fff;border-bottom:1px solid #e5eaf1;flex-shrink:0}.free-design-header h1{font-size:16px;line-height:1.4;margin:0 0 4px;font-weight:600;color:#334155}.free-design-header p{font-size:11px;color:#94a3b8;margin:0}.free-design-header>.btn{flex:0 0 auto}.free-design-header>.primary{margin-left:auto}.free-design-canvas .canvas-measure-tools>button:not([data-free-design-tool]):not([data-free-draw-toggle]),.free-design-canvas .workspace-actions-host,.free-design-canvas .object-config-tool,.free-design-canvas .animation-toolbar,.free-design-canvas .design-log{display:none!important}.free-design-canvas .canvas-measure-tools{gap:8px}.free-design-workspace .workspace-canvas-shell{min-height:0;flex:1}.free-design-workspace .animation-container{height:100%;min-height:0}@media(max-width:1500px){.creation-editorial .creation-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-editorial .creation-entry-free{min-height:150px}}@media(max-width:650px){.creation-editorial .creation-modes{grid-template-columns:1fr}.free-design-header p{display:none}.free-design-workspace .free-design-header{padding:10px;gap:10px}}.creation-confirming .creation-setup-palette{display:flex;flex-direction:column;overflow:hidden;min-height:220px;gap:9px}.setup-color-reduction{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex-shrink:0}.setup-color-reduction>label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#94a3b8}.setup-color-reduction input,.setup-color-reduction select{width:100%;height:29px;min-width:0;padding:5px 7px;border:1px solid #dfe6ef;border-radius:5px;background:#fff;color:#526176;font-size:11px}.setup-color-history{display:flex;align-items:center;gap:5px;flex-shrink:0}.setup-color-history>span{flex:1;font-size:10px;color:#94a3b8}.creation-confirming .setup-color-history .btn{padding:4px 6px;font-size:10px;min-height:23px}.setup-color-list{flex:1;min-height:48px;overflow:auto;scrollbar-width:thin}.setup-color-row{display:flex;align-items:center;gap:8px;padding:7px 4px;border-bottom:1px solid #f0f3f7;border-radius:5px;font-size:11px;color:#758397}.setup-color-row.selected{background:#eff6ff}.setup-color-row>span{flex:1}.setup-color-row>small{font-size:9px;color:#2563eb}.setup-color-row input[type=checkbox]{accent-color:#2563eb;margin:0;width:13px;height:13px}.creation-confirming .setup-color-row input[type=color]{height:25px;width:26px;padding:1px}.setup-color-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex-shrink:0}.creation-confirming .setup-color-actions .btn{font-size:10px;padding:6px;min-height:26px}.setup-color-actions>button:last-child{grid-column:1/-1}.setup-color-help{font-size:10px!important;line-height:1.65!important;color:#a3aebe!important;margin:0!important;flex-shrink:0}.setup-fabric-color{display:flex;align-items:center;gap:6px;font-size:10px;color:#7f8b9c;flex-shrink:0}.setup-fabric-color>span{width:15px;height:15px;border:1px solid #e0e6ee;border-radius:4px}.setup-fabric-color .btn{margin-left:auto;font-size:10px!important;padding:4px 5px!important}@media(max-height:850px){.creation-confirming .creation-setup-palette{min-height:180px;gap:6px}.setup-color-row{padding:5px 3px}.creation-confirming .creation-setup-panel{gap:9px}.creation-confirming .creation-setup-panel fieldset{padding-bottom:9px}}.my-works-page .task-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1040px;width:100%;gap:16px;flex-shrink:1}.my-works-page .task-card{padding:8px;border-radius:12px;min-width:0}.my-works-page .task-card-thumb{height:140px;border-radius:8px}.my-works-page .task-card-thumb img{padding:7px}.my-works-page .task-card-body{padding:10px 3px 2px;gap:8px}.my-works-page .task-card-name{font-size:12px;line-height:1.5}.my-works-page .task-card-meta{gap:5px;flex-wrap:wrap}.my-works-page .task-time{font-size:9px;white-space:nowrap}.my-works-page .task-result-status{font-size:9px;padding:2px 6px}.my-works-page .task-type-badge{font-size:9px;top:7px;left:7px;padding:3px 7px}.my-works-page .task-card-actions{top:14px;right:13px;gap:3px}.my-works-page .task-action-btn{width:23px;height:24px;font-size:11px;border-radius:5px}@media(min-width:2400px){.my-works-page .task-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1080px;gap:18px}.my-works-page .task-card-thumb{height:148px}}@media(max-width:1250px){.my-works-page .task-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:780px}}@media(max-width:900px){.my-works-page .task-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px}}@media(max-width:520px){.my-works-page .task-grid{grid-template-columns:1fr;max-width:280px}}.text-font-grid:empty{display:none}.text-font-load-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #edf1f6;border-radius:6px;background:#f7f9fc;color:#94a3b8;font-size:11px}.text-font-load-status .btn{flex:0 0 auto}.creation-task-page,.cross-creation-page,.free-design-workspace{--workflow-line:#e9e0d5;--workflow-paper:#fffdf9;--workflow-muted:#a89f96}.creation-task-page,.creation-confirming,.creation-making,.creation-finished,.cross-creation-page{position:relative;isolation:isolate;background-color:#f9f3ea;background-image:radial-gradient(ellipse at 78% 6%,#fffdf5c9 0,transparent 52%),linear-gradient(110deg,#faf5efee,#fffaf3d9 48%,#f4e8d9c9)}.creation-task-page:before,.cross-creation-page:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background-image:linear-gradient(135deg,transparent 14%,#d2b99b10 20%,transparent 28%,#fffdf680 38%,transparent 48%),url(/images/works-studio.png);background-size:100% 100%,cover;background-position:center;opacity:.14}.creation-confirming .creation-confirm-steps,.creation-confirming .creation-confirm-center,.creation-confirming .creation-setup-panel,.creation-making .creation-workflow,.creation-making .creation-processing-preview,.creation-finished .creation-result-details section,.cross-creation-preview,.cross-creation-layout>aside{background:#fffdf9ed;border-color:var(--workflow-line);box-shadow:0 3px 15px #947a5807}.creation-finished .creation-task-header{background:#fffaf2b8;border-color:var(--workflow-line)}.creation-confirming .creation-confirm-center,.creation-finished .creation-result-main{border-color:var(--workflow-line);background:#fffdf9}.creation-confirming .creation-setup-preview{border-color:#ebe0d2;background:#fffdf9}.creation-confirming .creation-confirm-tip,.creation-making .creation-tip{background:#f4eadfbd;border-color:#ede1d2}.creation-confirming .creation-confirm-tip p,.creation-making .creation-tip p{color:#a99988}.creation-confirming .creation-confirm-steps li:not(:last-child):before{background:#e8dfd5}.creation-confirming .creation-setup-panel fieldset{border-color:#eee5db}.creation-task-page .creation-artwork-metrics>div,.creation-task-page .creation-fabric-compensation,.creation-task-page .setup-color-help,.cross-creation-note{background-color:#f8f3ec}.creation-finished .creation-thread-list li,.creation-confirming .setup-color-row{border-color:#efe6dc}.creation-task-page .creation-preview-tools,.creation-task-page .creation-zoom-toolbar,.cross-creation-page .cross-preview-heading{background:#fffdf9ed;border-color:#ebe2d6}.creation-finished .creation-canvas-view-switch{background:#f7f1e9ed;border-color:#e9dfd2;box-shadow:0 2px 8px #9273510a}.creation-task-page .creation-player-controls{background:#fffdf9;border-color:#e9dfd2}.creation-task-page .creation-artwork-thumbnail{background:#f7f1e8;border-color:#ede2d5}.creation-confirming .creation-setup-size input,.creation-confirming .setup-color-reduction input,.creation-confirming .setup-color-reduction select,.creation-confirming .creation-fabric-field select,.cross-creation-fields input,.cross-creation-fields select{background:#fffdfb;border-color:#e6ded5}.creation-making .creation-processing-preview>.creation-preview-fabric{background-color:#faf6f0}.creation-task-page .creation-zoom-surface.creation-background-plain{background-color:#fff}.creation-task-page .creation-zoom-surface.creation-background-fabric{background-color:#eee3d3;background-image:repeating-linear-gradient(0deg,#ffffff75 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#aa947433 0 1px,transparent 1px 4px)}.free-design-workspace{background:#f9f3ea}.free-design-workspace .free-design-header{background:#fffaf3;border-color:#e9e0d5}.creation-task-page .creation-zoom-surface>.creation-zoom-content{bottom:0}.creation-task-page .creation-task-header{display:flex;align-items:center;gap:20px;max-width:none;min-height:50px;flex:0 0 auto}.creation-task-page .creation-header-title{display:none}.creation-task-page .creation-top-steps{display:flex;align-items:stretch;list-style:none;gap:clamp(12px,2vw,36px);margin:0;padding:0;min-width:0;flex:1;max-width:1000px}.creation-top-steps li{display:flex;align-items:center;gap:9px;position:relative;padding:12px 0;color:#a3a09d;white-space:nowrap;min-width:0}.creation-top-steps li>span{display:flex;align-items:center;justify-content:center;width:25px;height:25px;flex-shrink:0;border:1px solid #d8d3cd;border-radius:50%;font-size:12px}.creation-top-steps strong{font-size:12px;font-weight:500}.creation-top-steps li.done>span,.creation-top-steps li.current>span{background:#7c3aed;border-color:#7c3aed;color:#fff}.creation-top-steps li.done{color:#655875}.creation-top-steps li.current{color:#6d28d9}.creation-top-steps li.current:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;border-radius:2px;background:#8b5cf6}.creation-task-page.creation-confirming .creation-setup-grid{grid-template-columns:minmax(0,1fr) 300px}.creation-task-page.creation-making .creation-processing-grid{grid-template-columns:minmax(0,1fr);max-width:none}.creation-making .creation-processing-preview{display:flex;flex-direction:column;gap:12px}.creation-processing-status{flex:0 0 auto}.creation-processing-status .creation-progress-caption{margin:0 0 9px;font-size:12px}.creation-processing-status .creation-progress{margin:0;height:5px}.creation-making .creation-preview-fabric{flex:1;min-height:0}@media(min-width:2400px){.creation-task-page.creation-confirming .creation-setup-grid{grid-template-columns:minmax(0,1fr) 320px}}@media(max-width:1100px){.creation-task-page .creation-task-header{gap:12px}.creation-task-page .creation-top-steps{gap:12px;justify-content:space-between}.creation-top-steps strong{font-size:11px}.creation-top-steps li{gap:5px}.creation-task-page.creation-confirming .creation-setup-grid{grid-template-columns:minmax(0,1fr) 270px}}@media(max-width:800px){.creation-top-steps li{flex-direction:column;gap:4px;padding:5px 0}.creation-top-steps strong{font-size:9px}.creation-top-steps li>span{width:21px;height:21px}.creation-task-page .creation-top-steps{gap:7px}}.creation-task-page .creation-task-header.processing{justify-content:flex-start;text-align:left}.creation-task-page .creation-task-header.processing .creation-back{position:static}.creation-breadcrumb{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px;color:#aaa096;flex:0 1 auto}.creation-breadcrumb button{border:0;background:transparent;box-shadow:none;padding:6px 0;color:#7c7166;font:inherit;white-space:nowrap;cursor:pointer}.creation-breadcrumb button:hover{color:#7c3aed}.creation-breadcrumb button:focus-visible{outline:2px solid #a78bfa;outline-offset:3px;border-radius:3px}.creation-breadcrumb-current{color:#37312d;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}.creation-task-page .creation-task-header:has(.creation-top-steps){flex-wrap:wrap;column-gap:28px;row-gap:0}.creation-task-page .creation-task-header:has(.creation-top-steps) .creation-breadcrumb-current{max-width:180px}body.embroidery-workbench-ui .workspace-tab.free-design-workspace{background:#f9f3ea;--border:#e9e0d5}.free-design-workspace .animation-canvas{background:silver;border-color:#e9e0d5}.free-design-workspace .free-design-header{box-sizing:border-box;width:100%;min-width:0;min-height:52px;gap:16px;padding:8px 24px;background:#f9f3ea;border-bottom:1px solid #e9e0d5}.free-design-header>.creation-breadcrumb{flex:1;min-width:0;line-height:20px}.free-design-header>.btn.primary{flex:0 0 auto;margin:0;min-height:34px;padding:7px 16px;font-size:13px;line-height:18px;white-space:nowrap;border-radius:8px}.free-design-header>.btn.primary:disabled{background:#f1edf7;border-color:#e6dfee;color:#9b8eaf;opacity:1;box-shadow:none}@media(max-width:650px){.free-design-workspace .free-design-header{padding:8px 12px;gap:12px}.free-design-header>.btn.primary{padding:7px 12px}}@media(max-width:1100px){.creation-task-page .creation-task-header .creation-top-steps{flex-basis:100%;max-width:none}.creation-breadcrumb-current{max-width:240px}}.my-works-page .works-content{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;padding:clamp(12px,1.2vw,22px);overflow:hidden}.my-works-page .works-content>.task-empty{flex:1;align-self:stretch;min-height:0;padding:12px;gap:10px;border:0;background:transparent;overflow:auto;justify-content:safe center;text-align:center}.my-works-page .works-empty-art{height:88px;margin-bottom:6px}.my-works-page .task-empty-title{font-size:17px;font-weight:600;color:#453b34;margin:0;line-height:1.5}.my-works-page .task-empty-hint{font-size:12px;color:#968778;line-height:1.8;margin:0;max-width:380px}.works-empty-action{margin-top:12px;border:0;border-radius:8px;background:#7c3aed;color:#fff;font-size:13px;font-weight:500;line-height:20px;padding:9px 25px;cursor:pointer;box-shadow:0 3px 10px #7c3aed1a}.works-empty-action:hover{background:#6d28d9}.works-empty-action:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}.my-works-page .task-empty-loading{padding:35px;flex-direction:row;font-size:12px;color:#968778}.creation-editorial .creation-ideas{margin-top:24px}.creation-editorial .creation-entry-describe .creation-prompt-action{display:inline-flex;align-items:center;justify-content:center;position:absolute;top:auto;right:16px;bottom:20px;width:48px;height:34px;min-height:0;margin:0;padding:0;border:0;border-radius:9px;background:#ffddc6;color:#78533d;font-size:11px;line-height:1;white-space:nowrap;cursor:pointer}.creation-editorial .creation-entry-describe .creation-inline-prompt{width:calc(100% - 54px);box-sizing:border-box}.creation-editorial .creation-prompt-action:disabled{opacity:.5;cursor:wait}.creation-editorial .creation-modes{align-items:stretch;gap:18px;overflow:visible}.creation-editorial .creation-entry{min-height:252px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;transform-origin:center;position:relative}.creation-editorial .creation-entry:hover,.creation-editorial .creation-entry:focus-visible,.creation-editorial .creation-entry:focus-within,.creation-editorial .creation-entry.selected{transform:translateY(-4px) scale(1.025);z-index:3;box-shadow:0 14px 30px #75523020;border-color:#cbb0ed}.creation-editorial .creation-entry-describe{padding:20px;gap:8px;cursor:default;display:flex;flex-direction:column}.creation-editorial .creation-entry-describe>strong{font-size:23px}.creation-editorial .creation-entry-describe>small{font-size:11px;max-width:none}.creation-idea-input{display:flex;flex:1;flex-direction:column;align-self:stretch;width:100%;min-width:0;gap:4px;margin-top:4px;padding:10px 12px;background:#ffffffd9;border:1px solid #e2d4ef;border-radius:10px;min-height:85px;box-sizing:border-box;position:relative;z-index:2}.creation-idea-input textarea{width:100%;min-height:58px;flex:1;resize:none;border:0;outline:none;background:transparent;color:#544b5c;font:inherit;font-size:12px;line-height:1.7;padding:0}.creation-idea-input:focus-within{border-color:#a78bfa;box-shadow:0 0 0 2px #a78bfa18}.creation-idea-input>span{font-size:9px;text-align:right;color:#b0a7b7}.creation-prompt-chips{display:flex;gap:5px;position:relative;z-index:2}.creation-prompt-chips button{background:#ffffffb8;border:0;border-radius:14px;padding:4px 8px;font-size:10px;color:#91808b;cursor:pointer;white-space:nowrap}.creation-prompt-chips button:hover{background:#ede3ff;color:#7c3aed}.creation-editorial .creation-generate-action{position:relative;z-index:2;display:block;flex:0 0 auto;width:100%;height:34px;min-height:0;padding:6px 12px;border:0;border-radius:18px;background:#7c3aed;color:#fff;font-size:12px;cursor:pointer;margin-top:2px;white-space:nowrap}.creation-generate-action:disabled{opacity:.5;cursor:default}.creation-generation-error{font-size:12px;color:#b4533c;margin:16px 0 0}.creation-generated-dialog{width:min(460px,90vw);max-height:88dvh;display:flex;flex-direction:column;gap:14px;padding:20px}.creation-generated-dialog>img{width:100%;min-height:0;max-height:55dvh;object-fit:contain;border-radius:10px;background:#faf7f1}.creation-generated-heading{display:flex;align-items:center;justify-content:space-between}.creation-generated-heading h2{font-size:16px;margin:0}.creation-generated-dialog>p{font-size:12px;color:#968778;margin:0}@media(prefers-reduced-motion:reduce){.creation-editorial .creation-entry{transition:none}}@media(min-width:2400px){.creation-editorial .creation-entry{min-height:264px}}.creation-editorial .creation-prompt-chips button{display:inline-flex;align-items:center;justify-content:center;flex-direction:row;min-height:0;height:23px;width:auto;gap:0;padding:3px 8px;font-size:10px;font-weight:400;line-height:1.2;border:0;border-radius:14px;transform:none}.creation-editorial .creation-prompt-chips button:hover{transform:none}.creation-editorial .creation-generate-action{min-height:0;flex-direction:row;align-items:center;justify-content:center;border-radius:18px;background:#7c3aed;color:#fff}.creation-editorial .creation-generate-action:hover:not(:disabled){background:#6d28d9;transform:none}.image-creation-page{flex:1;min-height:0;overflow:hidden;box-sizing:border-box;padding:24px 40px;background:linear-gradient(115deg,#fcf7efed,#fcf7efe8),url(/images/works-studio.png) right center/cover;color:#38302b}.image-creation-inner{max-width:1380px;height:100%;min-height:0;margin:auto;display:flex;flex-direction:column;gap:16px}.image-creation-heading{position:relative;flex-shrink:0;padding:8px 0 10px}.image-creation-heading h1{font-family:"Noto Serif SC",Songti SC,SimSun,serif;font-size:34px;font-weight:600;line-height:1.3;margin:0 0 10px}.image-creation-heading p{font-size:13px;color:#91877e;margin:0}.image-creation-heading>span{position:absolute;right:35px;top:6px;font-family:Georgia,serif;font-style:italic;color:#b598d6;font-size:27px;transform:rotate(-8deg);opacity:.65}.image-creation-composer{display:flex;align-items:center;gap:12px;padding:7px 8px 7px 22px;border:1px solid #e9dfed;border-radius:22px;background:#ffffffed;box-shadow:0 3px 12px #6b4d7810;flex:0 0 auto}.image-creation-composer textarea{flex:1;min-width:0;height:38px;max-height:72px;resize:none;background:transparent;border:0;outline:0;padding:9px 0;font:inherit;font-size:13px;line-height:20px;color:#4d4140;box-sizing:border-box}.image-generate-button{border:0;border-radius:18px;background:#7c3aed;color:#fff;padding:11px 25px;font:inherit;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}.image-generate-button:hover:not(:disabled){background:#6d28d9}.image-generate-button:disabled{opacity:.45;cursor:default}.image-prompt-clear{border:0;background:#f0edf1;color:#b1a8b6;border-radius:50%;width:20px;height:20px;padding:0;font-size:16px;cursor:pointer}.image-creation-suggestions{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:0 0 16px;border-bottom:1px solid #e9e0d6}.image-creation-suggestions>span{font-size:12px;color:#968a7e;margin-right:5px}.image-creation-suggestions button,.image-regenerate{border:1px solid #eee7e0;background:#ffffffb8;border-radius:16px;color:#74695f;padding:6px 14px;font-size:12px;cursor:pointer}.image-creation-suggestions button:hover{border-color:#c6ade8;color:#7c3aed;background:#f8f2ff}.image-regenerate:disabled{opacity:.4;cursor:default}.image-creation-results{flex:1;min-height:0;display:flex;flex-direction:column;gap:14px}.image-creation-results>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.image-creation-results>header>div{display:flex;align-items:baseline;gap:15px}.image-creation-results h2{font-size:16px;margin:0}.image-creation-results header p{font-size:11px;color:#9a8f84;margin:0}.image-result-grid{min-height:0;flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px}.image-result-card{position:relative;min-height:0;min-width:0;overflow:hidden;background:#fffaf3;padding:3px;border:2px solid transparent;border-radius:13px;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}.image-result-card img{width:100%;height:100%;object-fit:contain;border-radius:8px}.image-result-card:hover{transform:translateY(-2px);box-shadow:0 5px 14px #8a649518}.image-result-card.selected{border-color:#a078ee;box-shadow:0 0 0 2px #b59ae91a}.image-result-check{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#8b5cf6;color:#fff;font-size:13px}.image-result-card.image-creation-generating{display:grid;place-items:center;cursor:default;font-size:13px}.image-result-card.image-creation-generating:hover{transform:none;box-shadow:none}.image-creation-generating:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,transparent 25%,#fff9 50%,transparent 75%);animation:image-generation-shimmer 2s ease-in-out infinite;pointer-events:none}@keyframes image-generation-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.image-creation-generating:before{animation:none;opacity:0}}.image-creation-error{color:#b4533c;font-size:12px;margin:0}.image-creation-empty{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;color:#9b8f85}.image-creation-empty>span{font-size:32px;color:#c0a3e7}.image-creation-empty h2{font-size:16px;color:#65564c;font-weight:500}.image-creation-empty p{font-size:12px;margin:0}.image-creation-footer{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:flex-end;min-height:42px}.image-result-pagination{position:absolute;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:18px;font-size:12px;color:#7e7166}.image-result-pagination button{border:0;background:transparent;color:#8f7e9e;font-size:23px;cursor:pointer;padding:2px 8px}.image-result-pagination button:disabled{opacity:.3;cursor:default}@media(min-width:2400px){.image-creation-page{padding:32px 48px}.image-creation-inner{max-width:1500px;gap:20px}.image-creation-heading{padding:12px 0 16px}.image-creation-heading h1{font-size:38px}.image-result-grid{gap:20px}}@media(max-height:800px){.image-creation-page{padding-top:16px;padding-bottom:16px}.image-creation-inner{gap:10px}.image-creation-heading{padding:0}.image-creation-heading h1{font-size:28px}.image-creation-suggestions{padding-bottom:10px}.image-creation-heading>span{font-size:22px}}@media(max-width:1050px){.image-creation-page{padding-left:20px;padding-right:20px}.image-creation-heading>span{display:none}.image-creation-results>header>div{display:block}.image-creation-results header p{margin-top:5px}.image-creation-suggestions{gap:5px;flex-wrap:wrap}.image-creation-suggestions button{padding:5px 10px}.image-result-pagination{position:static;transform:none;margin-right:auto}}@media(prefers-reduced-motion:reduce){.image-result-card{transition:none}}.creation-editorial .creation-entry-describe{cursor:pointer}.creation-editorial .creation-entry-describe .creation-idea-input,.creation-editorial .creation-entry-describe textarea{cursor:text}.creation-editorial .creation-entry-describe:focus-visible{outline:2px solid #a78bfa;outline-offset:4px}.image-creation-mode{display:inline-block;vertical-align:middle;margin-left:12px;padding:3px 9px;border-radius:10px;background:#eee5fc;color:#8755b9;font-size:10px;line-height:1.5}.image-result-card{cursor:zoom-in}.creation-idea-input-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:26px;flex:0 0 auto}.creation-idea-input-footer>span{font-size:9px;color:#b0a7b7;white-space:nowrap}.idea-reference-input{display:flex;align-items:center;flex:0 0 auto;gap:4px;width:auto;min-width:0;position:relative;z-index:2}.idea-reference-input>.idea-reference-upload,.idea-reference-input>.idea-reference-remove,.creation-editorial .creation-entry-describe .idea-reference-input>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:26px;height:26px;min-height:0;max-height:26px;margin:0;padding:3px;border:0;background:transparent;color:#9a84af;border-radius:5px;box-shadow:none;font-size:18px;line-height:1;cursor:pointer}.idea-reference-input>.idea-reference-upload:hover,.creation-editorial .creation-entry-describe .idea-reference-input>button:hover{background:#f0e7fa;color:#7c3aed;transform:none}.idea-reference-upload>img{display:block;width:22px;height:22px;object-fit:contain;border-radius:3px}.idea-reference-input>.idea-reference-remove{width:20px;color:#94858f}.idea-reference-input>.image-creation-error{position:absolute;left:0;bottom:calc(100% + 6px);width:200px;padding:7px 9px;border:1px solid #ead6cf;border-radius:7px;background:#fffaf5;font-size:11px;line-height:1.5;box-shadow:0 3px 10px #45302012}.idea-reference-input button:disabled{opacity:.5;cursor:default}.generated-image-preview{border:0;padding:24px;margin:auto;max-width:100vw;max-height:100dvh;background:transparent;overflow:auto;color:#fff}.generated-image-preview::backdrop{background:#1d1823c7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.generated-image-preview-content{position:relative;line-height:0}.generated-image-preview-content>img{display:block;width:auto;height:auto;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);object-fit:contain;border-radius:12px;background:#fffaf3;box-shadow:0 16px 64px #0005}.generated-image-preview-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #ffffff90;border-radius:50%;background:#302738c9;color:#fff;font-size:26px;line-height:1;cursor:pointer}.generated-image-preview-close:focus-visible{outline:3px solid #c4a4ff;outline-offset:3px}.generated-image-preview-download{position:absolute;top:10px;right:54px;display:grid;place-items:center;min-height:36px;padding:0 12px;border:1px solid #ffffff90;border-radius:18px;background:#302738e8;color:#fff;font-size:13px;line-height:1;text-decoration:none}.generated-image-preview-download:hover{background:#302738}.generated-image-preview-download:focus-visible{outline:3px solid #c4a4ff;outline-offset:3px}.page-header>.creation-breadcrumb{min-height:22px;font-weight:400}.creation-breadcrumb .creation-breadcrumb-ancestor{min-width:0;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1100px){.creation-breadcrumb .creation-breadcrumb-ancestor{max-width:200px}}.setup-color-delete{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:0;border-radius:5px;background:transparent;color:#94a3b8;cursor:pointer}.setup-color-delete:hover:not(:disabled){color:#dc2626;background:#fef2f2}.setup-color-delete:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.setup-color-delete:disabled{opacity:.35;cursor:not-allowed}.setup-color-fabric{flex-shrink:0;padding:4px 6px;border:1px solid #e0e6ee;border-radius:5px;background:transparent;color:#64748b;font-size:10px;cursor:pointer}.setup-color-fabric:hover:not(:disabled){color:#2563eb;background:#eff6ff}.setup-color-fabric:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.setup-color-fabric:disabled{opacity:.35;cursor:not-allowed}.creation-style-picker{padding:24px;background:#fffdf9;border-radius:18px}.creation-style-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin:24px 0}.creation-style-options button{display:flex;flex-direction:column;gap:10px;padding:14px;text-align:left;border:2px solid #eee5da;border-radius:16px;background:#fff;color:#334155;cursor:pointer}.creation-style-options button[aria-pressed=true]{border-color:#8b5cf6;background:#faf5ff}.creation-style-options img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}.creation-style-options strong{font-size:20px}.creation-style-options small{color:#94a3b8}@media(max-width:800px){.creation-style-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.my-works-page .task-manager{height:100%;min-height:0;min-width:0;box-sizing:border-box}.my-works-page .task-grid{width:100%;max-width:none;flex:1;min-height:0;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));grid-auto-rows:max-content;align-content:start;align-items:start;gap:clamp(12px,1.2vw,24px);overflow-y:auto}.my-works-page .task-card{content-visibility:visible}.my-works-page .task-card-thumb{height:auto;aspect-ratio:8 / 5}@media(max-width:650px){.my-works-page .task-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))}}.creation-editorial,.studio-demo-page{padding:clamp(24px,4vh,64px) clamp(18px,3vw,72px) 28px;min-width:0;box-sizing:border-box}.creation-editorial .creation-inner{width:100%;max-width:none;min-width:0}.studio-demo-page>.studio-demo-heading,.studio-demo-page>.studio-demo-toolbar,.studio-demo-page>.studio-inspiration-grid{width:100%;max-width:none;box-sizing:border-box}.creation-editorial .creation-modes{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.creation-editorial .creation-idea-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}.studio-demo-page .studio-inspiration-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:clamp(12px,1.2vw,24px);align-content:start}@media(max-width:650px){.studio-demo-page .studio-demo-toolbar{flex-wrap:wrap}.studio-demo-page .studio-demo-toolbar input{width:100%}.studio-demo-page .studio-inspiration-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))}}body.embroidery-workbench-ui .page-header,.page-header{min-height:32px;box-sizing:border-box;margin-top:4px;padding:3px 12px;font-size:13px;line-height:22px}.creation-breadcrumb{gap:8px;font-size:12px;line-height:20px}.creation-breadcrumb button{padding:2px 0;line-height:20px}.page-header>.creation-breadcrumb{min-height:24px}.free-design-workspace .free-design-header{min-height:34px;padding:3px 12px;gap:10px}.free-design-header>.btn.primary{min-height:26px;padding:3px 10px;font-size:12px}.creation-task-page .creation-task-header{min-height:34px;padding-top:3px;padding-bottom:3px;gap:12px}.creation-task-page .creation-task-actions .btn{min-height:26px;padding:3px 10px;font-size:12px}.cross-creation-page>header:has(.creation-breadcrumb){min-height:28px;gap:10px}body.embroidery-workbench-ui .modal.object-edit-modal{width:540px;max-width:calc(100vw - 24px);height:min(640px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:14px;gap:0;border-radius:12px;box-sizing:border-box}.object-edit-modal .object-edit-header{padding-bottom:8px;margin-bottom:8px;gap:10px}.object-edit-modal .object-edit-title{font-size:13px;min-width:0;gap:6px}.object-edit-modal .object-edit-title strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-edit-modal .object-edit-id{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.object-edit-modal .object-edit-tabs{min-height:30px;margin-bottom:6px;padding:3px;border:0;border-radius:7px;background:#f1f5f9;gap:3px}body.embroidery-workbench-ui .object-edit-modal .object-edit-tab{padding:5px 8px;margin:0;min-height:28px;font-size:12px;border:0;background:transparent}body.embroidery-workbench-ui .object-edit-modal .object-edit-tab.active{background:#fff;color:#2563eb;box-shadow:0 1px 3px #0f172a12}.object-edit-modal .object-edit-method{margin:3px 0 7px;font-size:11px}.object-edit-modal .object-edit-section{display:flex;align-items:center;gap:10px;margin-bottom:8px}.object-edit-modal .object-edit-label{margin:0;font-size:12px;font-weight:500}.object-edit-modal .object-color-row{flex:1;min-width:0;gap:6px}.object-edit-modal .object-color-swatch{width:28px;height:26px;min-height:0}.object-edit-modal .object-color-text{min-width:0;height:26px;padding:3px 7px;font-size:12px;box-sizing:border-box}.object-edit-modal .object-edit-params{padding-top:8px;padding-right:5px;margin-bottom:0;scrollbar-width:thin}.object-edit-modal .param-group{margin-bottom:8px;border-radius:7px;box-shadow:none}.object-edit-modal .param-group-header{padding:7px 10px;font-size:12px}.object-edit-modal .param-group-body{padding:6px 10px}.object-edit-modal .param-group-body .field{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,170px);min-height:28px;gap:10px;margin-bottom:4px;align-items:center}.object-edit-modal .field .param-label{font-size:12px;line-height:1.4}.object-edit-modal .object-edit-control{display:flex;align-items:center;justify-content:flex-end;width:100%}.object-edit-modal .field input[type=number],.object-edit-modal .field input[type=text],.object-edit-modal .field select{width:100%;min-width:0;height:27px;padding:3px 7px;font-size:12px;box-sizing:border-box}.object-edit-modal .field input[type=checkbox]{width:14px;height:14px;margin:0}.object-edit-modal .object-edit-subgroup-title{padding-top:7px;margin-top:6px;margin-bottom:5px;font-size:12px}.object-edit-modal .modal-btns{margin-top:10px;padding-top:10px;gap:8px;border-top:1px solid #e5eaf1}body.embroidery-workbench-ui .object-edit-modal .modal-btns .btn{min-height:29px;padding:5px 16px;font-size:12px}@media(max-width:560px){.object-edit-modal .param-group-body .field{grid-template-columns:minmax(0,1fr) minmax(0,140px)}.object-edit-modal .object-edit-id{max-width:90px}}.creation-thread-list .creation-thread-usage{display:flex;flex-direction:column;align-items:flex-end;gap:3px;white-space:nowrap}.creation-thread-usage>.creation-thread-estimate{font-size:11px;font-weight:400;color:#7c8799}.creation-artwork-thumbnail>img{display:block;position:absolute;top:5%;right:5%;bottom:5%;left:5%;width:90%;height:90%;object-fit:contain}.creation-artwork-thumbnail>.creation-preview-empty{position:absolute;top:0;right:0;bottom:0;left:0;padding:4px;font-size:10px;text-align:center}.pattern-library-panel{--accent: #475569;--accent-soft: #f1f5f9}.pattern-library-panel .pattern-library-tabs{background:#f1f2f4}.pattern-library-panel .pattern-library-tabs button[aria-selected=true]{background:#fff;color:#334155;box-shadow:0 1px 3px #0f172a14}.pattern-library-panel .pattern-library-card{background:#fff;border-color:#e2e5e9}.pattern-library-panel .pattern-library-card:hover{background:#f8fafc;border-color:#a8b1bd}.pattern-library-panel .pattern-library-card.selected{background:#f1f5f9;border-color:#64748b}.pattern-library-panel .pattern-library-card strong,.pattern-library-panel .pattern-library-card.selected strong{color:#374151}.pattern-library-panel .pattern-library-card span{color:#7b8491}.pattern-library-panel .pattern-library-footer{background:#f8fafb;color:#475569}.creation-confirming .creation-setup-preview .creation-zoom-content{top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.creation-confirming .creation-setup-preview .creation-zoom-content>img{position:static;inset:auto;width:min(80%,640px);height:min(80%,640px);object-fit:contain}.stitch-display-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:36px;padding:2px;border:1px solid transparent;border-radius:5px;background:transparent;color:#526176;cursor:pointer}.stitch-display-toggle:hover{background:#f1eee7;border-color:#dfd5c6}.stitch-display-toggle[aria-pressed=true]{background:#fff0c7;border-color:#e9c66f;color:#6b5124}.stitch-display-toggle:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.simulation-window.animation-toolbar{resize:both;min-width:min(420px,100%);min-height:150px;max-width:100%;padding:10px 12px 14px}.simulation-window .toolbar-play-row{overflow:visible}.simulation-window .toolbar-play-buttons{flex-wrap:wrap;gap:5px}.simulation-window .slider-row{flex-wrap:wrap}.simulation-window .sim-slider{flex:1 0 100%}.simulation-resize-edge{position:absolute;top:0;bottom:0;width:7px;cursor:ew-resize;touch-action:none;z-index:2}.simulation-resize-edge.left{left:0}.simulation-resize-edge.right{right:0}.simulation-resize-edge:hover{background:#2563eb22}.creation-style-picker{display:flex;flex-direction:column;min-height:440px}.creation-style-options{grid-template-columns:repeat(auto-fill,280px);align-content:start}.creation-style-options button{gap:8px;min-width:0;padding:10px;border-radius:14px}.creation-style-options img{height:168px;aspect-ratio:auto;object-fit:contain;border-radius:9px;background:#f5efe5}.creation-style-options strong{font-size:15px;line-height:1.5}.creation-style-options span{font-size:12px;line-height:1.6}.creation-style-options small{font-size:11px;margin-top:auto}.creation-style-actions{display:flex;justify-content:flex-end;margin-top:auto;padding-top:20px}@media(min-width:1800px){.creation-style-options{grid-template-columns:repeat(auto-fill,290px);gap:24px}}@media(max-width:640px){.creation-style-picker{padding:16px}.creation-style-options{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:14px}.creation-style-options img{height:150px}}.creation-editorial .creation-idea-grid{grid-template-columns:repeat(auto-fill,280px);gap:20px;align-content:start;justify-content:start}.creation-editorial .creation-idea{box-sizing:border-box;min-width:0;padding:10px;border:1px solid #eee5da;border-radius:14px;background:#fffdf9;text-align:left}.creation-editorial .creation-art{width:100%;height:168px;aspect-ratio:auto;border-radius:9px}.creation-editorial .creation-idea strong{display:block;font-size:13px;margin:11px 0 3px}@media(min-width:1800px){.creation-editorial .creation-idea-grid{grid-template-columns:repeat(auto-fill,290px);gap:24px}}@media(max-width:640px){.creation-editorial .creation-idea-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:14px}}.simulation-marker-controls{display:flex;flex:1 0 100%;align-items:center;flex-wrap:wrap;gap:5px;margin-bottom:8px;font-size:12px;color:#64748b}.simulation-marker-controls button{padding:4px 9px;font-size:12px;border:1px solid #dbe3ee;border-radius:6px;background:#fff;color:#64748b;cursor:pointer}.simulation-marker-controls button[aria-pressed=true]{background:#ede9fe;border-color:#a78bfa;color:#6d28d9}.simulation-marker-controls button:focus-visible{outline:2px solid #8b5cf6;outline-offset:2px}body.embroidery-workbench-ui .canvas-measure-tools{top:auto;left:50%;right:auto;bottom:18px;transform:translate(-50%);display:flex;flex-direction:row;align-items:center;gap:4px;width:max-content;max-width:calc(100% - 32px);padding:7px;border:1px solid #ffffff30;border-radius:12px;background:#30343eef;box-shadow:0 8px 28px #0003;z-index:35;overflow-x:auto;scrollbar-width:thin}body.embroidery-workbench-ui .canvas-measure-tools .workspace-actions-host,body.embroidery-workbench-ui .canvas-measure-tools .object-config-tool{display:flex;flex-direction:row;align-items:center;gap:4px;flex-shrink:0}body.embroidery-workbench-ui .canvas-measure-tools .btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;min-width:54px;max-width:80px;height:52px;padding:5px 7px;border:0;border-radius:7px;background:transparent;color:#e5e7eb;font-size:10px;white-space:nowrap;box-shadow:none}body.embroidery-workbench-ui .canvas-measure-tools .btn:before{content:"⚙";font-size:19px;line-height:20px}body.embroidery-workbench-ui .canvas-measure-tools>.btn:nth-of-type(1):before{content:"▷"}body.embroidery-workbench-ui .canvas-measure-tools>.btn:nth-of-type(2):before{content:"⛶"}body.embroidery-workbench-ui .canvas-measure-tools>.btn:nth-of-type(3):before{content:"↔"}body.embroidery-workbench-ui .canvas-measure-tools>.btn:nth-of-type(4):before{content:"▧"}body.embroidery-workbench-ui .canvas-measure-tools [aria-controls=text-library]:before{content:"T"}body.embroidery-workbench-ui .canvas-measure-tools [aria-controls=frame-library]:before{content:"▢"}body.embroidery-workbench-ui .canvas-measure-tools [aria-controls=pattern-library]:before{content:"◇"}body.embroidery-workbench-ui .canvas-measure-tools [data-free-draw-toggle]:before{content:"✎"}body.embroidery-workbench-ui .canvas-measure-tools [data-tracing-toggle]:before{content:"▧"}body.embroidery-workbench-ui .canvas-measure-tools .btn:hover{background:#ffffff20;color:#fff}body.embroidery-workbench-ui .canvas-measure-tools .btn[aria-expanded=true],body.embroidery-workbench-ui .canvas-measure-tools .btn[aria-pressed=true]{background:#71637f;color:#fff}body.embroidery-workbench-ui .canvas-measure-tools .btn:focus-visible{outline:2px solid #c4b5fd;outline-offset:-2px}body.embroidery-workbench-ui .pattern-library-panel{left:auto;right:14px;top:14px;bottom:auto;width:min(340px,calc(100% - 28px));max-height:calc(100% - 110px);z-index:40}body.embroidery-workbench-ui .object-config-flyout{position:fixed;left:auto;right:24px;top:76px;bottom:auto;transform:none;max-height:calc(100dvh - 180px);overflow:auto;z-index:100}@media(max-width:700px){body.embroidery-workbench-ui .canvas-measure-tools{bottom:10px;max-width:calc(100% - 16px)}body.embroidery-workbench-ui .canvas-measure-tools .btn{min-width:48px}body.embroidery-workbench-ui .modal-overlay{padding:16px 12px 90px}}body.embroidery-workbench-ui .canvas-measure-tools{flex-wrap:wrap;justify-content:center;overflow:visible;width:max-content;max-width:calc(100% - 32px);box-sizing:border-box}body.embroidery-workbench-ui .canvas-measure-tools .workspace-actions-host,body.embroidery-workbench-ui .canvas-measure-tools .workspace-params-tool,body.embroidery-workbench-ui .canvas-measure-tools .object-config-tool{display:contents}body.embroidery-workbench-ui .pattern-library-panel{left:14px;right:auto;top:14px}body.embroidery-workbench-ui .object-config-flyout,body.embroidery-workbench-ui .workspace-params-flyout{position:fixed;left:24px;right:auto;top:76px;bottom:auto;transform:none;max-width:calc(100vw - 48px);max-height:calc(100dvh - 180px);overflow:auto;z-index:100}body.embroidery-workbench-ui .canvas-config-tools{position:absolute;left:12px;top:58px;z-index:38;display:flex;flex-direction:column;gap:5px;padding:6px;border-radius:10px;background:#30343eef;box-shadow:0 4px 18px #0002}body.embroidery-workbench-ui .canvas-config-tools .object-config-tool,body.embroidery-workbench-ui .canvas-config-tools .workspace-actions-host,body.embroidery-workbench-ui .canvas-config-tools .workspace-params-tool{display:contents}body.embroidery-workbench-ui .canvas-config-tools .btn{width:88px;padding:9px 7px;border:0;border-radius:6px;background:transparent;color:#e5e7eb;font-size:12px}body.embroidery-workbench-ui .canvas-config-tools .btn:hover,body.embroidery-workbench-ui .canvas-config-tools .btn[aria-expanded=true]{background:#ffffff25;color:#fff}body.embroidery-workbench-ui .workspace-tab .object-list-panel{position:absolute;left:auto;right:0;top:0;bottom:0;width:min(330px,calc(100% - 120px));height:auto;max-height:none;display:flex;flex-direction:column;border-radius:10px 0 0 10px;z-index:36;box-shadow:-6px 0 22px #0002;overflow:hidden}body.embroidery-workbench-ui .workspace-tab .object-list-panel.collapsed{top:12px;right:12px;bottom:auto;width:auto;height:auto;border-radius:9px}body.embroidery-workbench-ui .object-list-panel .object-panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:40px;padding:10px 12px;border:0;background:#30343e;color:#fff;cursor:pointer;text-align:left;flex:0 0 auto}body.embroidery-workbench-ui .object-list-panel .object-panel-title{color:inherit}body.embroidery-workbench-ui .object-list-panel .object-panel-body{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}body.embroidery-workbench-ui .canvas-config-tools .object-config-flyout,body.embroidery-workbench-ui .canvas-config-tools .workspace-params-flyout{left:118px;top:76px}body.embroidery-workbench-ui .canvas-config-tools{left:auto;right:12px;top:50%;transform:translateY(-50%);padding:5px;gap:5px;transition:right .15s ease}body.embroidery-workbench-ui .workspace-tab:has(.object-list-panel.open) .canvas-config-tools{right:min(342px,calc(100% - 108px))}body.embroidery-workbench-ui .canvas-config-tools .btn{width:42px;height:44px;padding:7px;font-size:0;display:flex;align-items:center;justify-content:center}body.embroidery-workbench-ui .canvas-config-tools .btn:before{content:"▣";font-size:22px;line-height:1}body.embroidery-workbench-ui .canvas-config-tools .object-list-toggle:before{content:"▱";text-shadow:0 4px currentColor}body.embroidery-workbench-ui .canvas-config-tools [aria-controls=object-configuration]:before{content:"⚙"}body.embroidery-workbench-ui .canvas-config-tools [aria-controls=workspace-parameter-settings]:before{content:"☷"}body.embroidery-workbench-ui .canvas-config-tools>#workspace-config-host+.btn:before{content:"▣"}body.embroidery-workbench-ui .workspace-tab .object-list-panel.collapsed{display:none}body.embroidery-workbench-ui .canvas-config-tools .object-config-flyout,body.embroidery-workbench-ui .canvas-config-tools .workspace-params-flyout{left:auto;right:76px;top:76px}body.embroidery-workbench-ui .canvas-measure-tools,body.embroidery-workbench-ui .canvas-config-tools{background:#fff;border:1px solid #e2e8f0;box-shadow:0 4px 18px #33415518}body.embroidery-workbench-ui .canvas-measure-tools .btn,body.embroidery-workbench-ui .canvas-config-tools .btn{color:#526176;background:transparent}body.embroidery-workbench-ui .canvas-measure-tools .btn:hover,body.embroidery-workbench-ui .canvas-config-tools .btn:hover{background:#f1f5f9;color:#334155}body.embroidery-workbench-ui .canvas-measure-tools .btn[aria-expanded=true],body.embroidery-workbench-ui .canvas-measure-tools .btn[aria-pressed=true],body.embroidery-workbench-ui .canvas-config-tools .btn[aria-expanded=true]{background:#f1eaff;color:#7c3aed}body.embroidery-workbench-ui .object-list-panel .object-panel-header{background:#fff;color:#334155;border-bottom:1px solid #e2e8f0}body.embroidery-workbench-ui .object-list-panel{background:#fff}body.embroidery-workbench-ui .workspace-tab .object-list-panel.open{top:12px;bottom:auto;height:auto;max-height:min(560px,calc(100% - 110px));border-radius:10px;right:12px}body.embroidery-workbench-ui .object-list-panel.open .object-panel-body{flex:0 1 auto;min-height:0;overflow-y:auto;max-height:calc(min(560px,100dvh - 160px) - 48px)}body.embroidery-workbench-ui .modal-overlay.object-edit-overlay,.modal-overlay.object-edit-overlay{display:flex;align-items:flex-start;justify-content:flex-start;padding:76px 24px 24px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}body.embroidery-workbench-ui .object-edit-overlay>.object-edit-modal,.object-edit-overlay>.object-edit-modal{margin:0;max-width:calc(100vw - 48px);max-height:calc(100dvh - 100px);box-shadow:0 8px 32px #33415526}@media(max-width:640px){body.embroidery-workbench-ui .modal-overlay.object-edit-overlay{padding:16px 12px}.object-edit-overlay>.object-edit-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}}body.embroidery-workbench-ui .animation-canvas-wrapper>.object-edit-overlay,.animation-canvas-wrapper>.object-edit-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:12px 12px 90px;width:100%;height:100%;box-sizing:border-box;align-items:flex-start;justify-content:flex-start;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none;z-index:60}body.embroidery-workbench-ui .animation-canvas-wrapper>.object-edit-overlay>.object-edit-modal,.animation-canvas-wrapper>.object-edit-overlay>.object-edit-modal{pointer-events:auto;width:min(440px,calc(100% - 24px));max-width:100%;max-height:100%;margin:0;overflow:auto;box-sizing:border-box}.object-edit-overlay .object-edit-params{min-height:0;overflow-y:auto;overscroll-behavior:contain}.object-edit-overlay .object-edit-modal{overscroll-behavior:contain}.object-edit-live-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.object-edit-live-heading strong{font-size:13px}.object-edit-live-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.object-edit-live-heading [role=status]{flex-shrink:0}.object-inline-spacing{width:100%;min-width:0;padding:0;box-shadow:none}.object-inline-spacing .flat-satin-settings-layout{display:flex;flex-direction:column}.object-inline-spacing .flat-satin-settings-panel{min-width:0}.object-spacing-setting,.object-spacing-controls{width:100%;min-width:0;box-sizing:border-box}.object-spacing-setting>summary{cursor:pointer;padding:8px 0;-webkit-user-select:none;user-select:none}.object-spacing-setting>summary:focus-visible{outline:2px solid #a78bfa;outline-offset:2px;border-radius:4px}.object-spacing-controls{display:block;border:0;padding:0;margin:0}.object-inline-spacing .flat-satin-settings-layout{gap:10px}.object-inline-spacing .flat-satin-settings-panel{width:100%;box-sizing:border-box;padding:10px;border-radius:6px}.object-inline-spacing .flat-satin-settings-panel h3{font-size:12px;margin:0 0 10px}.object-inline-spacing .flat-satin-settings-table-head,.object-inline-spacing .flat-satin-settings-table-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.object-inline-spacing input[type=number]{width:100%;min-width:0;height:28px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:4px;padding:4px 6px;font-size:12px}.object-inline-spacing .flat-satin-offset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.object-inline-spacing .flat-satin-offset-grid label{font-size:11px;gap:6px;min-width:0}.object-inline-spacing .flat-satin-offset-grid label span{min-width:0}.object-inline-spacing .flat-satin-settings-actions{align-items:flex-end}.object-inline-spacing .flat-satin-settings-actions .btn{width:auto}.object-stitch-type{padding:10px 0 14px;border-bottom:1px solid #e2e8f0;margin-bottom:12px}.object-thread-colors{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:4px 0 8px;border-bottom:1px solid #e2e8f0;margin-bottom:6px}.object-thread-colors .object-edit-label{line-height:20px}.object-thread-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:6px}body.embroidery-workbench-ui .object-thread-swatches :is(.object-thread-swatch,.object-thread-more){display:grid;place-items:center;flex:0 0 20px;box-sizing:border-box;width:20px;height:20px;min-width:0;min-height:0;padding:0;border:1px solid #94a3b8;border-radius:2px}.object-thread-swatch[aria-pressed=true]{outline:2px solid #64748b;outline-offset:1px}body.embroidery-workbench-ui .object-thread-swatches .object-thread-more{background:transparent;color:#475569;font-size:14px;line-height:1}.object-stitch-type-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 14px}body.embroidery-workbench-ui .object-stitch-type-options button{display:flex;gap:8px;align-items:center;justify-content:center;padding:10px;border:1px solid #cbd5e1;border-radius:8px;color:#475569;background:#fff}body.embroidery-workbench-ui .object-stitch-type-options button[aria-pressed=true]{background:#ede9fe;border-color:#a78bfa;color:#6d28d9}.object-stitch-pattern .field{margin-bottom:0}.object-thread-palette-popover{position:fixed;z-index:1500;padding:14px;box-sizing:border-box;overflow:auto;background:#fff;color:#334155;border:1px solid #d8dee8;border-radius:12px;box-shadow:0 8px 28px #33415530}.object-thread-palette-content{position:static;width:100%;box-sizing:border-box;padding:0;background:transparent;border:0;box-shadow:none}.object-thread-palette-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.object-thread-palette-heading button{font-size:22px;border:0;background:transparent}.object-thread-palette-popover .color-picker-simthread{display:grid;grid-template-columns:repeat(auto-fill,minmax(30px,1fr));gap:8px;width:100%;max-height:240px;overflow:auto}.object-thread-palette-popover .color-swatch{width:30px;height:30px;border:1px solid #cbd5e1;border-radius:6px}.object-edit-live-heading [role=status]{color:#64748b;font-size:11px}.object-edit-live-error{color:#b42318;font-size:12px;line-height:1.5}body.embroidery-workbench-ui .animation-canvas-wrapper>.object-edit-overlay>.object-edit-modal{width:min(360px,calc(100% - 24px));height:auto;max-height:100%;padding:12px}.modal-overlay.export-dialog-overlay,body.embroidery-workbench-ui .modal-overlay.export-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px}.modal-overlay.export-dialog-overlay>.modal.export-result-modal{margin:0;max-height:calc(100dvh - 48px)}@media(max-width:600px){.modal-overlay.export-dialog-overlay,body.embroidery-workbench-ui .modal-overlay.export-dialog-overlay{padding:16px}.modal-overlay.export-dialog-overlay>.modal.export-result-modal{max-height:calc(100dvh - 32px)}}.modal.export-result-modal{width:560px;padding:28px}.export-result-modal .export-dialog-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;border:0;background:transparent;margin:24px 0 28px}.export-result-modal .export-dialog-summary>span{display:flex;flex-direction:column;gap:7px;padding:14px 16px;border:1px solid #edf1f6;border-radius:8px;background:#f7f9fc}.export-dialog-summary small{font-size:12px}.export-dialog-summary strong{font-size:16px;font-weight:600;color:#334155}.export-dialog-summary>span:first-child{grid-column:1 / -1}.export-result-modal .export-result-fields{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px 12px}.export-result-modal .export-name-field{grid-column:1;grid-row:1}.export-result-modal .export-format-field{grid-column:2;grid-row:1}.export-result-modal .export-kind-field{grid-column:1 / -1;grid-row:2}.export-result-modal .export-hint,.export-result-modal .modal-btns{grid-column:1 / -1}.export-result-modal .modal-btns{margin-top:20px}@media(max-width:600px){.modal.export-result-modal{padding:18px}.export-result-modal .export-result-fields{grid-template-columns:minmax(0,1fr)}.export-result-modal .export-format-field{grid-column:1;grid-row:2}.export-result-modal .export-kind-field{grid-row:3}}.export-result-modal .export-machine-field{grid-column:1 / -1;grid-row:1}.export-result-modal .export-name-field{grid-column:1 / -1;grid-row:2}.export-result-modal .export-kind-field{grid-row:3}.inspiration-real-preview{display:block;width:100%;height:320px;object-fit:contain;background:#f7f9fc}.inspiration-page .studio-demo-toolbar .inspiration-add-button{flex:0 0 auto;width:auto;min-width:0;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;margin:0;font-size:13px;cursor:pointer}.inspiration-add-button[aria-disabled=true]{opacity:.6;cursor:wait}.inspiration-title-link{padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.inspiration-title-link:hover{color:var(--accent)}.inspiration-back{border:0;background:none;color:var(--text);padding:0;margin-bottom:26px;font-size:14px;cursor:pointer}.inspiration-detail-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:30px;align-items:start}.inspiration-detail-main,.inspiration-detail-sidebar{min-width:0}.inspiration-detail-art{height:clamp(360px,64vh,800px);border:1px solid var(--border,#e5e7eb);border-radius:18px;overflow:hidden;background:#f7f9fc}.inspiration-detail-art img{width:100%;height:100%;object-fit:contain}.inspiration-detail-caption,.inspiration-detail-card{padding:26px;border:1px solid var(--border,#e5e7eb);background:var(--panel,#fff);border-radius:16px}.inspiration-detail-caption{margin-top:20px}.inspiration-detail-caption h2{margin:0 0 8px;font-size:18px;overflow-wrap:anywhere}.inspiration-detail-caption p,.inspiration-detail-muted{color:var(--hint,#94a3b8);font-size:13px}.inspiration-detail-actions{display:flex;gap:10px;margin-top:18px}.inspiration-detail-actions a{text-decoration:none}.inspiration-detail-sidebar{display:flex;flex-direction:column;gap:22px}.inspiration-detail-card h1{font-size:28px;line-height:1.4;margin:16px 0 20px;overflow-wrap:anywhere}.inspiration-detail-card h2{font-size:15px;margin:0 0 22px}.inspiration-detail-tags{display:flex;flex-wrap:wrap;gap:8px}.inspiration-detail-tags span{border:1px solid var(--border,#e5e7eb);border-radius:20px;padding:5px 12px;font-size:12px;color:var(--hint,#94a3b8)}.inspiration-detail-card dl{margin:0;display:grid;gap:20px}.inspiration-detail-card dl>div{display:flex;justify-content:space-between;gap:16px;font-size:14px}.inspiration-detail-card dt{color:var(--hint,#94a3b8)}.inspiration-detail-card dd{margin:0;font-weight:600;text-align:right}@media(max-width:900px){.inspiration-detail-layout{grid-template-columns:1fr;gap:20px}.inspiration-detail-art{height:50vh;min-height:300px}}.inspiration-detail-art .creation-stitch-player{height:100%;display:flex;flex-direction:column}.inspiration-detail-art .creation-player-surface{flex:1;min-height:0}.inspiration-detail-actions{flex-wrap:wrap}.inspiration-detail-card select{width:100%;margin-bottom:14px;padding:10px;border:1px solid var(--border,#e5e7eb);border-radius:8px;background:var(--panel,#fff);color:inherit}.inspiration-publish-dialog{width:480px}.inspiration-publish-dialog label{display:flex;flex-direction:column;gap:8px;margin-top:16px}.inspiration-publish-dialog input,.inspiration-publish-dialog textarea{padding:10px;border:1px solid var(--border,#e5e7eb);border-radius:8px;font:inherit}.inspiration-publish-dialog textarea{min-height:90px;resize:vertical}.inspiration-detail-page{position:relative;width:100%;height:100%;overflow-y:auto;color:var(--text,#334155)}.inspiration-detail-page .inspiration-detail-layout{width:100%;max-width:1600px;margin:0 auto}.inspiration-detail-page .inspiration-detail-art{position:relative;isolation:isolate;min-width:0}.inspiration-detail-page .inspiration-detail-art .creation-zoom-surface{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.inspiration-detail-page .inspiration-detail-art .creation-zoom-content{top:20px;right:20px;bottom:20px;left:20px;width:auto;height:auto;display:flex;align-items:center;justify-content:center}.inspiration-detail-page .inspiration-detail-art .creation-zoom-content>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.inspiration-detail-page .creation-player-surface{position:relative;overflow:hidden}.inspiration-detail-page .inspiration-detail-actions .btn{flex:0 0 auto;width:auto;min-width:72px}.inspiration-detail-page .inspiration-detail-card .btn{width:100%;margin-top:12px}.inspiration-detail-page{--inspiration-accent:#8054e8;--inspiration-ink:#302b3c;--inspiration-muted:#8c8598;color:var(--inspiration-ink)}.inspiration-detail-page .inspiration-back{display:inline-flex;align-items:center;padding:8px 0;margin-bottom:22px;color:#81778e;font-size:13px}.inspiration-detail-page .inspiration-back:hover{color:var(--inspiration-accent)}.inspiration-detail-page .inspiration-detail-layout{max-width:1440px;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:26px}.inspiration-detail-page .inspiration-detail-art{height:clamp(380px,60vh,720px);border:1px solid #ebe6ef;border-radius:18px;background:#f3f0f5;box-shadow:0 8px 32px #40304d04}.inspiration-detail-page .inspiration-detail-art .creation-zoom-surface{background:#f5f3f6}.inspiration-detail-page .inspiration-detail-art .creation-zoom-content{top:28px;right:28px;bottom:28px;left:28px}.inspiration-detail-page .inspiration-detail-card,.inspiration-detail-page .inspiration-detail-caption{border:1px solid #eee8f0;border-radius:16px;padding:24px;box-shadow:0 5px 24px #40304d03;background:#fff}.inspiration-detail-page .inspiration-detail-sidebar{gap:18px}.inspiration-detail-page .inspiration-detail-card .studio-demo-eyebrow{font-size:12px;color:var(--inspiration-muted);letter-spacing:.03em}.inspiration-detail-page .inspiration-detail-card h1{font-size:23px;font-weight:600;line-height:1.5;letter-spacing:-.4px;margin:14px 0 18px}.inspiration-detail-page .inspiration-detail-card h2{font-size:14px;font-weight:600;margin-bottom:18px}.inspiration-detail-page .inspiration-detail-tags span{border:0;background:#f4f0fb;color:#8c6bb6;font-size:11px;padding:5px 10px}.inspiration-detail-page .inspiration-detail-muted{margin:18px 0 20px;font-size:12px;color:var(--inspiration-muted)}.inspiration-detail-page .inspiration-detail-card dl{gap:0}.inspiration-detail-page .inspiration-detail-card dl>div{padding:12px 0;border-bottom:1px solid #f4f0f5;font-size:13px}.inspiration-detail-page .inspiration-detail-card dl>div:last-child{border-bottom:0;padding-bottom:0}.inspiration-detail-page .inspiration-detail-card dt{color:var(--inspiration-muted)}.inspiration-detail-page .inspiration-detail-card dd{font-weight:500;color:#50465d;font-variant-numeric:tabular-nums}.inspiration-detail-page .btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 14px;border:1px solid #e8e1ee;border-radius:9px;background:#fff;color:#70637f;font-size:12px;line-height:1.4;font-weight:500;box-shadow:none;cursor:pointer;transition:background .15s,border-color .15s}.inspiration-detail-page .btn:hover:not(:disabled){background:#f7f3fc;border-color:#d4c5eb;color:#764ac9}.inspiration-detail-page .btn.primary{background:var(--inspiration-accent);border-color:var(--inspiration-accent);color:#fff;box-shadow:0 3px 9px #8054e81a;min-height:40px}.inspiration-detail-page .btn.primary:hover:not(:disabled){background:#7043d5;border-color:#7043d5;color:#fff}.inspiration-detail-page .btn:disabled{background:#f3f0f5;border-color:#eee9f2;color:#b2a9bd;box-shadow:none;cursor:not-allowed;opacity:1}.inspiration-detail-page .btn:focus-visible{outline:3px solid #ded0f6;outline-offset:2px}.inspiration-detail-page .inspiration-detail-actions[role=tablist]{display:inline-flex;padding:4px;gap:3px;margin-top:14px;background:#eee9f2;border-radius:10px}.inspiration-detail-page [role=tablist] .btn{background:transparent;border-color:transparent;min-width:92px;min-height:32px;padding:7px 14px}.inspiration-detail-page [role=tablist] .btn[aria-selected=true]{background:#fff;color:#7950c5;box-shadow:0 1px 4px #3b264b0c}.inspiration-detail-page [role=tablist] .btn:disabled{background:transparent}.inspiration-detail-page .inspiration-detail-caption{margin-top:20px}.inspiration-detail-page .inspiration-detail-caption h2{font-size:16px;font-weight:600}.inspiration-detail-page .inspiration-detail-caption p{font-size:12px;line-height:1.8;color:var(--inspiration-muted);margin-bottom:0}.inspiration-detail-page .inspiration-detail-actions:not([role=tablist]){gap:8px;margin-top:16px}.inspiration-detail-page .inspiration-detail-card select{min-height:40px;border:1px solid #e8e1ee;background:#fcfbfd;border-radius:9px;color:#65566f;font-size:13px;margin-bottom:4px}.inspiration-detail-page .creation-preview-tools{background:#ffffffeb;border:1px solid #ebe5ef;border-radius:10px;padding:4px;box-shadow:none}.inspiration-detail-page .creation-preview-tools .btn{min-width:30px;min-height:30px;padding:6px;border:0;background:transparent;color:#8b7c9a}.inspiration-detail-page>p[role=alert]{max-width:1440px;margin:0 auto 20px;padding:12px 16px;border:1px solid #eee5d6;background:#fcf8ef;border-radius:10px;color:#9a805a;font-size:12px}@media(max-width:900px){.inspiration-detail-page .inspiration-detail-layout{grid-template-columns:1fr}.inspiration-detail-page .inspiration-detail-art{height:52vh;min-height:320px}}.inspiration-page .studio-inspiration-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.inspiration-page .studio-pattern-card{padding:0;border-radius:12px;overflow:hidden;border-color:#ece5f0;box-shadow:none;transition:box-shadow .15s,transform .15s}.inspiration-page .studio-pattern-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #4c305010}.inspiration-page .studio-pattern-open{border-radius:0}.inspiration-page .inspiration-real-preview{width:100%;height:auto;aspect-ratio:1.4;padding:16px;box-sizing:border-box;background:#f2eff5}.inspiration-grid-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:#fff}.inspiration-grid-title{display:flex;align-items:center;gap:8px;min-width:0}.inspiration-grid-title .inspiration-title-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.inspiration-avatar{flex:0 0 26px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#8762bd;background:#eee6fa;font-size:12px}.inspiration-grid-stats{display:flex;flex-shrink:0;align-items:center;gap:9px;font-size:11px;color:#9a8ea7}.inspiration-delete{border:0;background:transparent;padding:3px;font-size:11px;color:#a195aa;cursor:pointer}.inspiration-delete:hover{color:#cb5573}.inspiration-page .studio-demo-toolbar{gap:12px}.inspiration-page .studio-demo-toolbar>input{flex:1;width:auto;min-width:180px}.inspiration-page .studio-demo-toolbar>select,.inspiration-page .inspiration-mine{flex:0 0 auto;width:auto;padding:9px 13px;border:1px solid #e8e1ee;border-radius:8px;background:#fff;color:#7d6d8d;font-size:12px}.inspiration-page .inspiration-mine.active{color:#8054e8;border-color:#d9c9f4;background:#f1eafa}@media(min-width:2400px){.inspiration-page .studio-inspiration-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1200px){.inspiration-page .studio-inspiration-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.inspiration-page .studio-inspiration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inspiration-grid-footer{flex-wrap:wrap}}@media(max-width:480px){.inspiration-page .studio-inspiration-grid{grid-template-columns:1fr}}.modal.inspiration-publish-dialog{box-sizing:border-box;width:480px;min-width:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow-y:auto;padding:26px;border:1px solid #eee6f4;border-radius:16px;background:#fff;color:#44374f}.inspiration-publish-dialog h2{margin:0 0 22px;font-size:18px;font-weight:600}.inspiration-publish-dialog label{width:100%;min-width:0;margin-top:16px;gap:8px;font-size:13px;color:#7e6e8c}.inspiration-publish-dialog :is(input,textarea){box-sizing:border-box;width:100%;min-width:0;max-width:100%;color:#44374f;border:1px solid #e9e1ee;background:#fdfcfe;font-size:13px}.inspiration-publish-dialog :is(input,textarea):focus{outline:2px solid #e9dcfc;border-color:#ba99ed}.inspiration-publish-dialog .modal-btns{display:flex;flex-direction:row;justify-content:flex-end;flex-wrap:wrap;width:100%;min-width:0;gap:10px;box-sizing:border-box;margin:24px 0 0;padding:18px 0 0;border-top:1px solid #f0eaf5}.modal.inspiration-publish-dialog .modal-btns>button.btn{flex:0 0 auto;width:auto;min-width:80px;max-width:100%;min-height:36px;margin:0;padding:9px 18px;font-size:13px;border:1px solid #7c3aed;border-radius:8px;line-height:1.4}@media(max-width:520px){.modal.inspiration-publish-dialog{padding:20px;max-height:calc(100dvh - 32px)}}.studio-demo-page.inspiration-page,.studio-demo-page.inspiration-detail-page{background:var(--creation-page-background)}.inspiration-page .studio-demo-eyebrow{color:#9a85b2}.inspiration-page .studio-demo-toolbar input{border-color:#e8e1ef;background:#ffffffd9}.studio-demo-page.inspiration-page,.studio-demo-page.inspiration-detail-page{background:radial-gradient(ellipse at 90% 0,#f2e8db65,transparent 55%),#faf6ef}.inspiration-page .studio-pattern-card,.inspiration-detail-page .inspiration-detail-card,.inspiration-detail-page .inspiration-detail-caption{background:#fffdf9;border-color:#ece4d9}.inspiration-page .inspiration-real-preview,.inspiration-detail-page .inspiration-detail-art,.inspiration-detail-page .inspiration-detail-art .creation-zoom-surface{background:#f7f2ea;border-color:#ece4d9}.inspiration-page .inspiration-grid-footer{background:#fffdf9}.inspiration-page .studio-demo-toolbar input,.inspiration-page .studio-demo-toolbar>select,.inspiration-detail-page .inspiration-detail-card select{background:#fffdf9;border-color:#e9e0d5}.inspiration-page .studio-demo-eyebrow{color:#b29a80}.inspiration-page .studio-pattern-card{border:1px solid #d9c7f4;border-radius:14px;background:#fffdf9;box-shadow:0 4px 18px #4c382406}.inspiration-page .studio-pattern-card:hover{border-color:#c7afea;box-shadow:0 8px 24px #6e4b9a10}.creation-setup-panel .creation-back-to-style{flex:0 0 auto;width:fit-content;padding:4px 0;border:0;background:transparent;color:#9473b6;font-size:12px;text-align:left;cursor:pointer}.creation-setup-panel .creation-back-to-style:hover:not(:disabled){color:#7c3aed}.creation-setup-panel .creation-back-to-style:disabled{opacity:.5;cursor:not-allowed}.creation-setup-panel .creation-back-to-style:focus-visible{outline:2px solid #c4b5fd;outline-offset:4px}body.embroidery-workbench-ui .workspace-tab.free-design-workspace{background:#f3f5f8;--border:#e4e9f1}.free-design-workspace .free-design-header{min-height:52px;padding:9px 22px;background:#fffaf3;border-color:#e9e0d5}.free-design-workspace .free-design-header>.btn.primary{padding:8px 18px;border-radius:7px;font-size:12px;background:#8247df;color:#fff}.free-design-workspace .workspace-canvas-shell,.free-design-workspace .animation-container,.free-design-workspace .animation-canvas-wrapper{border:0;border-radius:0;background:#f3f5f8}.free-design-workspace .workspace-canvas-shell{margin:10px 12px 12px;border-radius:12px;overflow:hidden}.free-design-workspace .animation-canvas{background:#f3f5f8;border:0}.free-design-canvas .canvas-config-tools,.free-design-canvas .design-info,.free-design-canvas .canvas-info-panel{display:none!important}.free-design-canvas .canvas-measure-tools{bottom:30px;top:auto;left:50%;right:auto;transform:translate(-50%);padding:7px;gap:3px;border:1px solid #e4e9f1;border-radius:13px;background:#fffffff5;box-shadow:0 5px 24px #23334b0a;max-width:calc(100% - 40px);overflow-x:auto;white-space:nowrap}.free-design-canvas .canvas-measure-tools>.btn{width:auto;flex:0 0 auto;padding:8px 10px;font-size:12px;border:0;background:transparent;color:#475569;box-shadow:none;border-radius:7px}.free-design-canvas .canvas-measure-tools>.btn:hover{background:#f0f3f8}.free-design-canvas .canvas-measure-tools>.pattern-tool-active{background:#ede5fc;color:#7c3cdb}.free-design-settings{position:absolute;right:22px;top:18px;z-index:35;width:215px;display:flex;flex-direction:column;gap:15px;padding:18px;background:#fffffff5;border:1px solid #e4e9f1;border-radius:12px;box-shadow:0 8px 30px #23334b0a;font-size:12px;color:#475569}.free-design-settings strong{font-weight:600}.free-design-settings label{display:flex;align-items:center;justify-content:space-between;gap:8px}.free-design-settings input[type=number]{width:70px;padding:6px;border:1px solid #dce3ed;border-radius:6px;background:#fafbfc;color:#475569}.free-design-settings input[type=checkbox]{width:15px;height:15px;accent-color:#8247df}.free-design-canvas .canvas-status{background:#ffffffd9;border-color:#e4e9f1;box-shadow:none;border-radius:8px;font-size:11px}.stitch-display-toggle,.display-settings-toolbar .toolbar-settings .stitch-palette-toggle{width:auto;min-width:0;gap:5px;padding:3px 8px;white-space:nowrap;font:inherit}.stitch-display-toggle svg,.stitch-palette-toggle svg{flex-shrink:0}.cross-creation-layout>aside{overflow-y:auto;overflow-x:hidden;gap:12px}.cross-creation-page .cross-settings-group{margin:0;padding:10px;flex-shrink:0}.cross-creation-page .cross-creation-fields{overflow:visible;gap:8px}.cross-creation-page .cross-creation-fields>label{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-width:0;line-height:1.4}.cross-creation-page .cross-creation-fields>label>span{flex:0 0 104px;min-width:0;display:flex;justify-content:flex-end}.cross-creation-page .cross-creation-fields input,.cross-creation-page .cross-creation-fields select{box-sizing:border-box;min-width:0;max-width:100%;height:30px;padding:4px 7px}.cross-creation-page .cross-creation-fields input[type=checkbox]{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;width:16px;height:16px;min-height:0;flex:0 0 16px;padding:0;margin:0;accent-color:#2563eb;cursor:pointer}.outline-method-label{margin-bottom:6px}.outline-method-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.outline-method-grid button{display:grid;place-items:center;min-height:42px;padding:4px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#475569;cursor:pointer}.outline-method-grid button:hover,.outline-method-grid button:focus-visible{border-color:#8b5cf6}.outline-method-grid button[aria-pressed=true]{border-color:#8b5cf6;background:#ede9fe;color:#6d28d9}.outline-method-grid svg{width:100%;max-width:38px;height:24px}.creation-task-page.creation-finished{overflow-y:auto}.creation-finished .creation-result-details{container:result-sidebar / size;gap:8px;max-height:none}.creation-finished .creation-result-details>section{--card-room: clamp(0px, (100cqh - 700px) / 18, 7px);padding:calc(10px + var(--card-room)) calc(12px + var(--card-room))}.creation-finished .creation-result-details h2{margin-bottom:calc(6px + var(--card-room) / 2)}.creation-finished .creation-artwork-heading{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:6px}.creation-finished .creation-artwork-heading h2,.creation-finished .creation-artwork-heading .creation-fabric-badge{margin:0}.creation-finished .creation-artwork-heading .creation-fabric-badge{padding:2px 5px;text-align:right}.creation-finished .creation-artwork-summary{gap:calc(8px + var(--card-room));margin-bottom:calc(8px + var(--card-room))}.creation-finished .creation-artwork-thumbnail{width:calc(44px + 3 * var(--card-room));height:calc(44px + 3 * var(--card-room))}.creation-finished .creation-artwork-summary>div:last-child{min-width:0}.creation-finished .creation-artwork-summary h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:2px}.creation-finished .creation-artwork-summary p{margin-bottom:2px}.creation-finished .creation-generated-badge{padding:3px 6px}.creation-finished .creation-artwork-metrics{gap:6px}.creation-finished .creation-artwork-metrics>div{min-height:52px;padding:calc(6px + var(--card-room) / 2) 8px;gap:calc(2px + var(--card-room) / 2);justify-content:center;line-height:1.3}.creation-finished .creation-artwork-metrics strong{white-space:normal;overflow-wrap:anywhere}.creation-finished .creation-quick-size{padding-bottom:6px;margin-bottom:6px}.creation-finished .creation-thread-list:not(:empty){min-height:calc(38px + var(--card-room))}.creation-finished .creation-thread-list li{padding:calc(4px + var(--card-room) / 2) 0}.creation-finished .creation-result-details>.creation-check-info{padding-block:calc(13px + var(--card-room))}.creation-finished .creation-check-info :is(.creation-check,.creation-quality-warning){line-height:1.6;margin:5px 0}.creation-finished .creation-sidebar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(7px + var(--card-room) / 2);margin-top:calc(10px + var(--card-room))}.creation-task-page.creation-finished .creation-sidebar-actions>.btn{min-height:calc(32px + var(--card-room));padding:5px 7px}.creation-finished .creation-sidebar-actions>:is(.primary,.btn:only-of-type,[role=status]){grid-column:1 / -1}.creation-task-page.creation-choice-page{--choice-preview-height: 168px;gap:8px}.creation-choice-page .creation-style-picker{flex:1;min-height:0;padding-block:12px;overflow-y:auto;scrollbar-gutter:stable}.creation-choice-page .creation-style-options{flex-shrink:0;margin-block:0}.creation-choice-page .creation-style-options button>strong{align-self:stretch;text-align:center}.creation-choice-page .creation-style-options button:hover:not(:disabled),.creation-choice-page .creation-style-options button:focus-visible,.creation-choice-page .creation-style-options button[aria-busy=true]{border-color:#8b5cf6;background:#faf5ff}.creation-choice-page .creation-style-options button>:is(img,.cross-method-comparison){height:var(--choice-preview-height)}.creation-style-options .cross-method-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:stretch;width:100%;overflow:hidden;border-radius:9px;background:#f7faff}.cross-method-single-cell{width:100%;height:100%}.creation-style-options.cross-method-options img{height:100%;min-width:0;border-left:1px solid #d7e0eb;border-radius:0;background:#f3ede2}@media(max-width:640px){.creation-task-page.creation-choice-page{--choice-preview-height: 150px}}.creation-choice-page .cat-style-options{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:14px}.creation-choice-page .cat-style-options button{border:1px solid #eee5da;box-shadow:0 2px 7px #46250915}.creation-choice-page .cat-style-options button>img{height:auto;aspect-ratio:435 / 344}.creation-choice-page .cat-style-options button>strong{text-align:center;font-size:17px}.cat-style-options button>span{color:#475569}.creation-choice-page .creation-style-options.cat-style-options button>img{height:auto}:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog){--accent: var(--studio-action);--accent-hi: var(--studio-action-hover);--accent-soft: #ecded1}:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) button:not(:where(.color-swatch,[class*=color-chip],.simthread-swatch-trigger,.studio-pattern-open,.pattern-library-card,.creation-entry,.inspiration-title-link)),:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) :is(a.btn,label.btn,.studio-demo-primary){background:var(--studio-action)!important;color:#fff!important;border-color:var(--studio-action)!important;box-shadow:none!important;text-shadow:none;transition:background-color .15s,border-color .15s,box-shadow .15s}:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) button:not(:where(.color-swatch,[class*=color-chip],.simthread-swatch-trigger,.studio-pattern-open,.pattern-library-card,.creation-entry,.inspiration-title-link)):hover:not(:disabled),:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) :is(a.btn,label.btn,.studio-demo-primary):hover{background:var(--studio-action-hover)!important;border-color:var(--studio-action-hover)!important;color:#fff!important}:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) button:is(.active,[aria-selected=true],[aria-pressed=true]):not(.color-swatch):not(.simthread-swatch-trigger),:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) button:active:not(:disabled):not(.color-swatch):not(.simthread-swatch-trigger){background:var(--studio-action-active)!important;border-color:var(--studio-action-active)!important;color:#fff!important;box-shadow:inset 0 0 0 1px #ffffff38!important}:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) button:disabled:not(.color-swatch):not(.simthread-swatch-trigger),:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) :is(label.btn,a.btn)[aria-disabled=true]{background:#e4d9cd!important;border-color:#e4d9cd!important;color:#65534a!important;opacity:.7!important;cursor:not-allowed;box-shadow:none!important}:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) :is(button,a.btn,label.btn):focus-visible{outline:3px solid var(--studio-accent)!important;outline-offset:3px}:is(.inspiration-page,.inspiration-detail-page,.inspiration-publish-dialog) button:not(.color-swatch):not(.simthread-swatch-trigger) svg{color:inherit}.inspiration-detail-page button:not(:where(.color-swatch,.simthread-swatch-trigger)),.inspiration-detail-page :is(a.btn,label.btn){background:#eee4da!important;border-color:#d9c9bb!important;color:#744a39!important;box-shadow:none!important}.inspiration-detail-page button:hover:not(:disabled):not(:where(.color-swatch,.simthread-swatch-trigger)),.inspiration-detail-page :is(a.btn,label.btn):hover{background:var(--studio-action)!important;border-color:var(--studio-action)!important;color:#fff!important}.inspiration-detail-page button:disabled:not(:where(.color-swatch,.simthread-swatch-trigger)){background:#eee7de!important;border-color:#ded3c8!important;color:#6b5d54!important;opacity:1!important}.inspiration-detail-page button.inspiration-back,.inspiration-detail-page button.inspiration-back:hover:not(:disabled),.inspiration-detail-page button.inspiration-back:active{background:transparent!important;border-color:transparent!important;color:var(--studio-muted)!important;box-shadow:none!important}.inspiration-detail-page button.inspiration-back:hover:not(:disabled){color:var(--studio-accent)!important}.inspiration-page button.inspiration-delete,.inspiration-page button.inspiration-delete:hover:not(:disabled),.inspiration-page button.inspiration-delete:active{background:transparent!important;border-color:transparent!important;color:#9b889e!important;box-shadow:none!important;padding:4px 2px;font-size:12px}.inspiration-page button.inspiration-delete:hover:not(:disabled){color:#bd536b!important}.inspiration-page .inspiration-grid-stats{font-size:15px;gap:12px;line-height:1.5}.inspiration-page .inspiration-grid-stats>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}body .modal-overlay:not(.object-edit-overlay){position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;z-index:1000;background:#24173552;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}body .modal-overlay>.modal{box-sizing:border-box;min-width:0;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);margin:0;overflow-y:auto;border:1px solid #e9e2ef;border-radius:14px;background:#fff;padding:24px;color:#44374f;box-shadow:0 20px 70px #24173524;font-size:13px;line-height:1.6;overflow-wrap:anywhere}body .modal-overlay>.modal:not(:is(.object-edit-modal,.cross-assistant-modal,.design-editor-modal,.color-merge-dialog,.bulk-stitch-method-dialog,.modal-preview,.pixel-import-dialog)){width:480px}body .modal-overlay>.modal.export-result-modal{width:560px}body .modal-overlay>.modal :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}body .modal-overlay>.modal>:is(h2,h3){margin:0 0 18px;font-size:18px;line-height:1.4;font-weight:600}body .modal-overlay .modal .modal-btns{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-wrap:wrap;flex-shrink:0;gap:10px;width:100%;min-width:0;box-sizing:border-box;margin:22px 0 0;padding:16px 0 0;border-top:1px solid #eee8f2}body .modal-overlay .modal .modal-btns>:is(button,.btn){flex:0 0 auto;width:auto;min-width:80px;max-width:100%;min-height:36px;margin:0;padding:8px 16px;border:1px solid #e4daee;border-radius:8px;font-size:13px;line-height:1.4;font-weight:500;white-space:normal;background:#fff;color:#796787;box-shadow:none;order:0}body .modal-overlay .modal .modal-btns>.primary{order:1;background:#7c3aed;border-color:#7c3aed;color:#fff}body .modal-overlay .modal .modal-btns>:is(button,.btn):hover:not(:disabled){background:#f5f0fb;border-color:#cbb3ed}body .modal-overlay .modal .modal-btns>.primary:hover:not(:disabled){background:#6d28d9;border-color:#6d28d9;color:#fff}body .modal-overlay .modal .modal-btns>:disabled{opacity:.55;cursor:not-allowed}body .modal-overlay .modal :is(button,input,select,textarea):focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}body .modal-overlay.object-edit-overlay>.modal{max-height:calc(100dvh - 100px)}@media(max-width:640px),(max-height:650px){body .modal-overlay:not(.object-edit-overlay){padding:12px}body .modal-overlay>.modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px}body .modal-overlay .modal .modal-btns{margin-top:18px;padding-top:14px}}.simulation-window.animation-toolbar{padding:14px 18px 16px;border:1px solid #dce4ed;border-radius:16px;background:#fff;box-shadow:0 12px 40px #23354d20,0 2px 8px #23354d0a;gap:14px;color:#334155}.simulation-window .simulation-window-header{padding:0 0 12px;margin:0;border-bottom:1px solid #edf1f5;gap:12px}.simulation-window .simulation-window-header strong{font-size:14px;letter-spacing:.03em}.simulation-window .simulation-window-header span{font-size:11px;color:#94a3b8}.simulation-window .simulation-window-header button{width:28px;height:28px;border:0;border-radius:8px;background:#f1f5f9;color:#64748b}.simulation-window .toolbar-play-buttons{gap:6px;align-items:center;flex-wrap:wrap}.simulation-window .toolbar-play-buttons button{min-width:34px;height:34px;padding:0 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#526176;font-size:12px;font-weight:500;box-shadow:none;transition:background .15s,border-color .15s}.simulation-window .toolbar-play-buttons button:hover:not(:disabled){background:#eaf0f8;border-color:#becde0}.simulation-window .toolbar-play-buttons>button:nth-child(4){min-width:82px;background:#4f46e5;border-color:#4f46e5;color:#fff;box-shadow:0 3px 8px #4f46e52b}.simulation-window .toolbar-play-buttons>button:nth-child(4):hover:not(:disabled){background:#4338ca}.simulation-window .speed-control{margin-left:6px;padding-left:12px;border-left:1px solid #e2e8f0;gap:6px}.simulation-window .simulation-speed-value{min-width:66px;font-size:12px;font-variant-numeric:tabular-nums}.simulation-window .slider-row{gap:8px;justify-content:flex-end;flex-wrap:wrap;padding:0}.simulation-window .simulation-marker-controls{flex:1 0 100%;gap:6px;margin:0;padding:10px 0 0;border-top:1px solid #edf1f5}.simulation-window .simulation-marker-controls>span{margin-right:6px;font-size:11px;color:#94a3b8}.simulation-window .simulation-marker-controls button{height:28px;padding:0 9px;border:1px solid transparent;border-radius:6px;background:#f8fafc;color:#94a3b8;font-size:11px;box-shadow:none}.simulation-window .simulation-marker-controls button[aria-pressed]:before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:currentColor;opacity:.45}.simulation-window .simulation-marker-controls button[aria-pressed=true]{background:#eef2ff;border-color:#dce2ff;color:#4f46e5}.simulation-window .simulation-marker-controls button[aria-pressed=true]:before{opacity:1}.simulation-window .simulation-marker-controls button:nth-child(2)[aria-pressed=true]{color:#2563eb;background:#eff6ff;border-color:#dbeafe}.simulation-window .simulation-marker-controls button:nth-child(3)[aria-pressed=true]{color:#c2410c;background:#fff7ed;border-color:#ffedd5}.simulation-window .simulation-marker-controls button:nth-child(5)[aria-pressed=true]{color:#059669;background:#ecfdf5;border-color:#d1fae5}.simulation-window .simulation-marker-controls button:not([aria-pressed]){background:transparent;color:#64748b}.simulation-window .sim-slider{flex:1 0 100%;height:76px;min-height:76px;padding:0 8px 18px;box-sizing:border-box}.simulation-window .sim-slider-track{height:12px;margin-top:44px;border-radius:6px;background:#e9edf3;box-shadow:0 0 0 4px #f5f7fa}.simulation-window .sim-color-section{top:2px;height:8px;border-radius:2px}.simulation-window .sim-slider-thumb{top:-4px;height:20px;width:3px;background:#4f46e5;border-radius:3px;box-shadow:0 0 0 2px #fff}.simulation-window .sim-slider-thumb:before{content:"";top:-5px;left:-3px;width:9px;height:9px;border-radius:50%;background:#4f46e5;box-shadow:0 0 0 2px #fff}.simulation-window .sim-marker{opacity:.8}.simulation-window .sim-marker.jump{top:-36px;height:36px}.simulation-window .sim-marker.trim{top:-25px;height:25px}.simulation-window .sim-marker.stop{top:-36px;height:36px}.simulation-window .sim-marker.color-change{top:-15px;height:15px}.simulation-window .sim-marker span{width:13px;height:13px;left:-6px;line-height:12px;font-size:9px;border-radius:4px;box-shadow:0 1px 3px #0f172a12}.simulation-window .stitch-box{height:28px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;text-align:center;font-size:12px;color:#334155}.simulation-window .total-stitches{font-size:11px;color:#94a3b8}.simulation-window .progress-percent{margin-left:6px;padding:4px 8px;border-radius:5px;background:#eef2ff;color:#4f46e5;font-size:11px;font-variant-numeric:tabular-nums}.simulation-window button:focus-visible{outline:2px solid #818cf8;outline-offset:2px}@media(max-width:600px){.simulation-window .simulation-window-header span{display:none}.simulation-window .simulation-window-header strong{flex:1}}.simulation-window.animation-toolbar{gap:9px;padding-top:10px;padding-bottom:10px}.simulation-window .simulation-window-header{padding-bottom:8px}.simulation-window .slider-row{column-gap:7px;row-gap:4px}.simulation-window .sim-slider{order:0;height:66px;min-height:66px;padding-bottom:16px}.simulation-window .sim-slider-track{margin-top:36px}.simulation-window .simulation-marker-controls{order:1;flex:1 1 auto;width:auto;margin:0;padding:0;border-top:0;gap:4px}.simulation-window .simulation-marker-controls>span{margin-right:3px}.simulation-window .simulation-marker-controls button{padding:0 7px;height:26px}.simulation-window .stitch-box,.simulation-window .total-stitches,.simulation-window .progress-percent{order:2;flex-shrink:0}body.embroidery-workbench-ui .canvas-config-tools{padding:6px;gap:4px;border-radius:13px}body.embroidery-workbench-ui .canvas-config-tools .btn{width:72px;min-width:72px;height:62px;padding:7px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:11px;line-height:1.2;white-space:nowrap;border-radius:9px}body.embroidery-workbench-ui .canvas-config-tools .btn:before{content:"";display:block;width:23px;height:23px;flex:0 0 23px;background:currentColor;text-shadow:none;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M8 3v3M16 3v3M3 8h3M3 16h3M18 8h3M18 16h3M8 18v3M16 18v3'/%3E%3C/svg%3E") center / contain no-repeat}body.embroidery-workbench-ui .canvas-config-tools .object-list-toggle:before{content:"";-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5Zm-9 9 9 5 9-5M3 16l9 5 9-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5Zm-9 9 9 5 9-5M3 16l9 5 9-5'/%3E%3C/svg%3E")}body.embroidery-workbench-ui .canvas-config-tools [aria-controls=object-configuration]:before{content:"";-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Cpath d='M9 9h6v6H9zM2 5h1M2 19h1M21 5h1M21 19h1M5 2v1M19 2v1M5 21v1M19 21v1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Cpath d='M9 9h6v6H9zM2 5h1M2 19h1M21 5h1M21 19h1M5 2v1M19 2v1M5 21v1M19 21v1'/%3E%3C/svg%3E")}body.embroidery-workbench-ui .canvas-config-tools [aria-controls=workspace-parameter-settings]:before{content:"";-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3Crect x='7' y='4' width='3' height='4' rx='1' fill='white'/%3E%3Crect x='14' y='10' width='3' height='4' rx='1' fill='white'/%3E%3Crect x='8' y='16' width='3' height='4' rx='1' fill='white'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3Crect x='7' y='4' width='3' height='4' rx='1' fill='white'/%3E%3Crect x='14' y='10' width='3' height='4' rx='1' fill='white'/%3E%3Crect x='8' y='16' width='3' height='4' rx='1' fill='white'/%3E%3C/svg%3E")}body.embroidery-workbench-ui .canvas-config-tools .object-config-flyout,body.embroidery-workbench-ui .canvas-config-tools .workspace-params-flyout{right:96px}body.embroidery-workbench-ui .canvas-measure-tools [data-toolbar-icon]:before{content:"";width:22px;height:22px;background:currentColor;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}body.embroidery-workbench-ui .canvas-measure-tools [data-toolbar-icon=import]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H5v18h14v-8M10 8v8m-3-3 3 3 3-3M14 3v5h5l-5-5Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H5v18h14v-8M10 8v8m-3-3 3 3 3-3M14 3v5h5l-5-5Z'/%3E%3C/svg%3E")}body.embroidery-workbench-ui .canvas-config-tools [data-toolbar-icon=export]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3m-4 4 4-4 4 4M4 14v6h16v-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3m-4 4 4-4 4 4M4 14v6h16v-6'/%3E%3C/svg%3E")}body.embroidery-workbench-ui .canvas-measure-tools [data-toolbar-icon=cross]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E")}body.embroidery-workbench-ui .canvas-measure-tools [data-toolbar-icon=generate]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10a8 8 0 0 0-14-5L3 8m0-5v5h5M4 14a8 8 0 0 0 14 5l3-3m0 5v-5h-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10a8 8 0 0 0-14-5L3 8m0-5v5h5M4 14a8 8 0 0 0 14 5l3-3m0 5v-5h-5'/%3E%3C/svg%3E")}.text-tool-panel .text-font-kind{display:block;flex-shrink:0;font-size:10px;line-height:16px;color:#94a3b8}.text-tool-panel .text-font-item.active .text-font-kind{color:#6d28d9}.selected-object-color-control{position:relative}.selected-object-color-popover{position:absolute;left:0;bottom:100%;z-index:1000;padding-bottom:8px;width:min(560px,calc(100vw - 32px))}.selected-object-color-popover>.simthread-picker-panel{max-height:min(600px,calc(100vh - 120px));overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 36px #0f172a26}body.embroidery-workbench-ui .simulation-window.animation-toolbar{padding:8px 10px;gap:8px;border-radius:5px;background:#fafbfc;border:1px solid #cbd1d9;box-shadow:0 3px 12px #1b25351a;min-height:0}body.embroidery-workbench-ui .simulation-window .simulation-window-header{padding:0 0 6px;gap:10px;border-color:#dfe3e8}body.embroidery-workbench-ui .simulation-window .simulation-window-header strong{font-size:12px;letter-spacing:0;color:#303b49}body.embroidery-workbench-ui .simulation-window .simulation-window-header span{font-size:11px;color:#89929e}body.embroidery-workbench-ui .simulation-window .simulation-window-header button{width:22px;height:22px;padding:0;border-radius:3px;background:transparent;color:#647080;font-size:16px}body.embroidery-workbench-ui .simulation-window .toolbar-play-buttons{width:100%;gap:8px;flex-wrap:wrap}.simulation-control-group{display:flex;align-items:center;gap:3px;padding-right:8px;border-right:1px solid #d9dee5}body.embroidery-workbench-ui .simulation-window .toolbar-play-buttons button{height:26px;min-width:27px;padding:0 7px;border:1px solid #d7dce3;border-radius:3px;background:#fff;color:#3c4858;font-size:11px;font-weight:500;box-shadow:none}body.embroidery-workbench-ui .simulation-window .toolbar-play-buttons button:hover:not(:disabled){background:#eaf0f7;border-color:#a6b8ce}body.embroidery-workbench-ui .simulation-window .toolbar-play-buttons .simulation-primary-play{min-width:62px;background:#e7eef7;border-color:#aebfd4;color:#284c78}body.embroidery-workbench-ui .simulation-window .toolbar-play-buttons .simulation-primary-play[aria-pressed=true]{background:#d5e3f3}body.embroidery-workbench-ui .simulation-window button:disabled{opacity:.4}.simulation-speed-select{display:flex;align-items:center;gap:5px;margin-left:auto;font-size:11px;color:#657181}.simulation-speed-select select{height:26px;padding:2px 5px;font-size:11px;color:#344154;border:1px solid #d7dce3;border-radius:3px;background:#fff}body.embroidery-workbench-ui .simulation-window .sim-slider{height:46px;min-height:46px;padding:0 5px 8px}body.embroidery-workbench-ui .simulation-window .sim-slider-track{margin-top:27px;height:8px;border-radius:2px;background:#e0e4ea;box-shadow:none}body.embroidery-workbench-ui .simulation-window .sim-color-section{top:1px;height:6px;border-radius:0}body.embroidery-workbench-ui .simulation-window .sim-slider-thumb{top:-4px;width:3px;height:16px;background:#42638a;border-radius:1px;box-shadow:0 0 0 1px #fff}body.embroidery-workbench-ui .simulation-window .sim-slider-thumb:before{display:none}body.embroidery-workbench-ui .simulation-window .slider-row{gap:5px}body.embroidery-workbench-ui .simulation-window .simulation-marker-controls{padding:5px 0 0;border-top:1px solid #e0e4ea;gap:3px;flex-wrap:wrap}body.embroidery-workbench-ui .simulation-window .simulation-marker-controls button{height:23px;padding:0 6px;border-radius:3px;font-size:10px;box-shadow:none}body.embroidery-workbench-ui .simulation-window .simulation-marker-controls button[aria-pressed=true]{background:#e8eef5;color:#355578;border-color:#c3cfdc}body.embroidery-workbench-ui .simulation-window .stitch-box{height:23px;border-radius:3px;font-size:11px;background:#fff}body.embroidery-workbench-ui .simulation-window .progress-percent{padding:3px 5px;border-radius:3px;color:#52667e;background:#e9edf2;font-size:11px}body.embroidery-workbench-ui .animation-canvas-wrapper{border-radius:3px;border-color:#cbd2dc}:is(body.embroidery-workbench-ui,.pixel-editor) .canvas-measure-tools,body.embroidery-workbench-ui .canvas-config-tools,body.embroidery-workbench-ui .canvas-status,body.embroidery-workbench-ui .design-log{border:1px solid #cfd5dd;border-radius:3px;background:#fafbfc;box-shadow:0 1px 4px #26374c12}:is(body.embroidery-workbench-ui,.pixel-editor) .canvas-measure-tools{padding:4px;gap:2px;bottom:8px}:is(body.embroidery-workbench-ui,.pixel-editor) .canvas-measure-tools .btn{width:auto;min-width:0;height:30px;padding:4px 7px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:2px;background:transparent;color:#485567;font-size:11px;line-height:18px;box-shadow:none}:is(body.embroidery-workbench-ui,.pixel-editor) .canvas-measure-tools .btn:before,:is(body.embroidery-workbench-ui,.pixel-editor) .canvas-measure-tools [data-toolbar-icon]:before{width:16px;height:16px;flex:0 0 16px;font-size:16px;line-height:16px}:is(body.embroidery-workbench-ui,.pixel-editor) .canvas-measure-tools .btn svg{width:16px;height:16px}:is(body.embroidery-workbench-ui,.pixel-editor) .canvas-measure-tools .btn:hover,body.embroidery-workbench-ui .canvas-config-tools .btn:hover{background:#e9eef5;border-color:#c4cfdd}body.embroidery-workbench-ui .canvas-config-tools{padding:3px;gap:2px}body.embroidery-workbench-ui .canvas-config-tools .btn{width:auto;min-width:86px;height:30px;padding:4px 7px;flex-direction:row;gap:6px;font-size:11px;border-radius:2px;box-shadow:none}body.embroidery-workbench-ui .canvas-config-tools .btn:before{width:16px;height:16px;flex:0 0 16px}body.embroidery-workbench-ui .canvas-config-tools .object-config-flyout,body.embroidery-workbench-ui .canvas-config-tools .workspace-params-flyout{right:108px}body.embroidery-workbench-ui .canvas-zoom-controls{gap:3px}body.embroidery-workbench-ui .canvas-zoom-controls button{width:28px;height:28px;min-width:28px;padding:3px;font-size:16px;border-radius:2px;box-shadow:none;border:1px solid #cfd5dd}body.embroidery-workbench-ui .canvas-status{padding:4px 7px;gap:8px;font-size:11px;border-radius:2px}body.embroidery-workbench-ui .design-log{width:190px;padding:8px 9px;right:8px;bottom:8px;font-size:11px}body.embroidery-workbench-ui .design-log-title{font-size:12px;margin-bottom:6px;color:#465466}body.embroidery-workbench-ui .design-log-item{font-size:11px;line-height:1.5;margin-bottom:2px}body.embroidery-workbench-ui .production-warning{font-size:10px;line-height:1.4;margin-top:5px}body.embroidery-workbench-ui .animation-toolbar.display-settings-toolbar{border-radius:3px;border-color:#cfd5dd;background:#fafbfc;box-shadow:none;padding:3px 7px}body.embroidery-workbench-ui .display-settings-toolbar .toolbar-settings{gap:5px;min-height:26px}body.embroidery-workbench-ui .display-settings-toolbar .toolbar-settings button{height:24px;padding:2px 5px;border-radius:2px;font-size:11px;box-shadow:none}body.embroidery-workbench-ui .display-settings-toolbar .toolbar-settings button svg{width:19px;height:19px}body.embroidery-workbench-ui .display-settings-toolbar .toolbar-settings .color-text{font-size:11px}body.embroidery-workbench-ui .workspace-tab .object-list-panel.open{width:min(300px,calc(100% - 120px));border-radius:3px;border:1px solid #cbd2dc;box-shadow:0 2px 8px #25344918}body.embroidery-workbench-ui .object-list-panel .object-panel-header{min-height:29px;padding:5px 8px;gap:8px;background:#f3f5f7;border-bottom:1px solid #d7dce3;border-radius:0}body.embroidery-workbench-ui .object-list-panel .object-panel-title{font-size:12px;font-weight:600;color:#3d4a5c}body.embroidery-workbench-ui .object-list-panel .object-panel-body{padding:3px}body.embroidery-workbench-ui .object-list-panel .object-pattern-group{margin:0;padding:0;border:0;border-radius:0}body.embroidery-workbench-ui .object-list-panel .object-pattern-header{min-height:25px;padding:3px 5px;margin:0;gap:6px;border-radius:2px;background:#eef1f5;font-size:11px;line-height:19px}body.embroidery-workbench-ui .object-list-panel .object-pattern-name{font-size:11px;font-weight:600}body.embroidery-workbench-ui .object-list-panel .object-pattern-index,body.embroidery-workbench-ui .object-list-panel .object-pattern-count,body.embroidery-workbench-ui .object-list-panel .object-pattern-chevron{font-size:10px;color:#7b8695}body.embroidery-workbench-ui .object-list-panel .object-item{min-height:28px;padding:2px 4px;margin:0;gap:4px;border:0;border-bottom:1px solid #edf0f3;border-radius:0;background:#fff}body.embroidery-workbench-ui .object-list-panel .object-item:hover{background:#f3f6fa}body.embroidery-workbench-ui .object-list-panel .object-item.selected{background:#e6eef8;box-shadow:inset 2px 0 #6487af}body.embroidery-workbench-ui .object-list-panel .object-item-index{width:19px;min-width:19px;font-size:10px;color:#8792a0}body.embroidery-workbench-ui .object-list-panel .object-item-type{padding:0 3px;border-radius:0;background:transparent;font-size:11px;line-height:22px;color:#46566b}body.embroidery-workbench-ui .object-list-panel .object-item button{width:22px;min-width:22px;height:22px;padding:2px;border:1px solid transparent;border-radius:2px;background:transparent;font-size:12px;line-height:16px;color:#758396;box-shadow:none}body.embroidery-workbench-ui .object-list-panel .object-item button:hover{background:#e4eaf2;border-color:#c4cfdc;color:#344f70}body.embroidery-workbench-ui .object-list-panel .object-panel-empty{padding:10px 6px;font-size:11px}body.embroidery-workbench-ui .object-config-flyout,body.embroidery-workbench-ui .workspace-params-flyout{padding:5px;border:1px solid #cbd2dc;border-radius:3px;background:#fafbfc;box-shadow:0 2px 8px #25344918;font-size:11px}body.embroidery-workbench-ui .object-config-flyout{width:174px;min-width:0}body.embroidery-workbench-ui .object-config-flyout .object-panel-actions,body.embroidery-workbench-ui .object-config-flyout .object-configuration-actions{display:flex;flex-direction:column;gap:2px;padding:0;margin:0}body.embroidery-workbench-ui .object-config-flyout .object-panel-actions{padding-bottom:4px;margin-bottom:4px;border-bottom:1px solid #dfe3e8}body.embroidery-workbench-ui .object-config-flyout .object-panel-actions button,body.embroidery-workbench-ui .object-config-flyout .object-configuration-actions button{width:100%;min-width:0;height:27px;min-height:0;padding:4px 8px;margin:0;text-align:left;justify-content:flex-start;border:1px solid transparent;border-radius:2px;background:transparent;color:#465569;font-size:11px;line-height:17px;font-weight:400;box-shadow:none}body.embroidery-workbench-ui .object-config-flyout button:hover:not(:disabled){background:#e8eef6;border-color:#c3cfde}body.embroidery-workbench-ui .object-config-flyout button:disabled{color:#a0a8b3;background:transparent;opacity:.65}body.embroidery-workbench-ui :is(.workspace-params-flyout,.object-edit-modal,.flat-satin-settings-dialog){font-size:11px;border-radius:3px}body.embroidery-workbench-ui :is(.workspace-params-flyout,.object-edit-modal) .param-group{margin:0 0 6px;border:1px solid #dce1e7;border-radius:2px;box-shadow:none}body.embroidery-workbench-ui :is(.workspace-params-flyout,.object-edit-modal) .param-group-header{min-height:26px;padding:4px 7px;font-size:11px;background:#f0f3f6;border-radius:0}body.embroidery-workbench-ui :is(.workspace-params-flyout,.object-edit-modal) .param-group-body{padding:6px 7px;gap:6px}body.embroidery-workbench-ui :is(.workspace-params-flyout,.object-edit-modal) .field{margin-bottom:5px;gap:5px}body.embroidery-workbench-ui :is(.workspace-params-flyout,.object-edit-modal) .param-label{font-size:11px;line-height:18px}body.embroidery-workbench-ui :is(.workspace-params-flyout,.object-edit-modal) :is(input:not([type=checkbox]):not([type=range]):not([type=radio]),select){min-height:25px;height:25px;padding:2px 5px;font-size:11px;border-radius:2px;border:1px solid #cdd5df;box-shadow:none}body.embroidery-workbench-ui .object-edit-modal{padding:10px;background:#fafbfc;border:1px solid #cbd2dc;box-shadow:0 3px 12px #25344920}body.embroidery-workbench-ui .object-edit-modal :is(h2,h3){font-size:12px;margin:0 0 8px}body.embroidery-workbench-ui .object-edit-modal button{min-height:25px;padding:3px 8px;border-radius:2px;font-size:11px;box-shadow:none}body.embroidery-workbench-ui .object-edit-modal .modal-btns{gap:5px;margin-top:8px;padding-top:7px;border-top:1px solid #dce1e7}body.embroidery-workbench-ui .simulation-window .slider-row>.simulation-speed-select{order:2;flex:0 0 auto;margin-left:auto;margin-right:8px}body.embroidery-workbench-ui .simulation-window .slider-row>.simulation-marker-controls{flex:0 1 auto}body.embroidery-workbench-ui .display-settings-toolbar .toolbar-settings button:is([aria-pressed=true],[aria-expanded=true],.active){background:#e7ddff;border-color:#b49aee;color:#6735c5;box-shadow:inset 0 0 0 1px #b49aee33}body.embroidery-workbench-ui .display-settings-toolbar .toolbar-settings button:is([aria-pressed=true],[aria-expanded=true],.active):hover{background:#dbccff;border-color:#9670df;color:#5828ad}body.embroidery-workbench-ui .display-settings-toolbar .toolbar-settings button:focus-visible{outline:2px solid #9870df;outline-offset:1px}.modal-overlay.export-dialog-overlay>.modal.export-result-modal{width:480px;max-width:calc(100vw - 32px);padding:12px 14px;border:1px solid #cbd2dc;border-radius:4px;background:#fafbfc;box-shadow:0 8px 28px #17273826;font-size:12px}.export-result-modal .export-dialog-heading{align-items:flex-start;gap:10px;padding-bottom:8px;border-bottom:1px solid #dce1e7}.export-result-modal .export-dialog-heading h2{font-size:14px;line-height:22px;margin:0;color:#344154}.export-result-modal .export-dialog-heading p{font-size:11px;line-height:18px;margin:2px 0 0;color:#7b8797}.export-result-modal .export-dialog-close{width:24px;height:24px;min-width:24px;padding:3px;border-radius:2px;background:transparent;box-shadow:none}.feedback-dialog .export-dialog-heading{margin-bottom:0}.feedback-dialog-message{margin:0;padding:14px 0;color:#475569;font-size:13px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-line}.export-result-modal .export-dialog-summary{display:flex;flex-wrap:wrap;gap:0;margin:8px 0 12px;padding:7px 8px;border:1px solid #dce2e9;border-radius:2px;background:#f0f3f6}.export-result-modal .export-dialog-summary>span{display:flex;flex:1 1 auto;flex-direction:row;align-items:center;gap:6px;padding:0 9px;border:0;border-right:1px solid #d2d9e2;border-radius:0;background:transparent}.export-result-modal .export-dialog-summary>span:first-child{padding-left:0}.export-result-modal .export-dialog-summary>span:last-child{border:0;padding-right:0}.export-result-modal .export-dialog-summary small{font-size:11px;color:#7c8795}.export-result-modal .export-dialog-summary strong{font-size:12px;font-weight:600;color:#3d4c60}.export-result-modal .export-result-fields{display:flex;flex-direction:column;gap:9px;padding:0;margin:0;border:0;min-width:0}.export-result-modal .export-result-fields .field{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;column-gap:8px;row-gap:4px;margin:0}.export-result-modal .export-result-fields .field label{margin:0;font-size:11px;color:#536176}.export-result-modal .export-result-fields :is(input,select){width:100%;min-width:0;height:28px;min-height:28px;padding:3px 7px;font-size:12px;border:1px solid #cbd4df;border-radius:2px;background:#fff;box-shadow:none}.export-result-modal .export-kind-field{order:0}.export-result-modal .export-name-field{order:1}.export-result-modal .export-machine-field{order:2}.export-result-modal .export-machine-field>:is(p,select[aria-label]){grid-column:2}.export-result-modal .export-hoop-field{order:3;grid-column:1 / -1}.export-result-modal .export-hoop-field input[type=checkbox]{width:16px;height:16px;min-height:16px;margin:0}.export-hoop-placement{grid-column:1 / -1;order:4}.export-hoop-placement svg{display:block;width:100%;height:180px;color:#334155;background:#f0f3f6;cursor:crosshair}.export-hoop-coordinates{max-height:120px;overflow:auto}.export-hoop-coordinates>div{display:grid;grid-template-columns:auto 1fr 1fr auto;align-items:end;gap:6px;margin:4px 0}.export-result-modal .export-hint{margin:0;padding:3px 0;font-size:11px;line-height:17px;background:transparent;border:0;border-radius:0;color:#7b8797;order:3}.export-result-modal .modal-btns{order:4;display:flex;justify-content:flex-end;gap:6px;margin-top:5px;padding-top:9px;border-top:1px solid #dce1e7}.export-result-modal .modal-btns .btn{height:28px;min-height:28px;min-width:70px;padding:3px 10px;font-size:12px;border-radius:3px;box-shadow:none}@media(max-width:420px){.export-result-modal .export-result-fields .field{grid-template-columns:82px minmax(0,1fr)}.export-result-modal .export-dialog-summary>span{padding:2px 5px}}.export-result-modal .export-progress-status{display:flex;align-items:center;gap:7px;margin-top:8px;padding:6px 8px;border:1px solid #ccd8e6;border-radius:2px;background:#edf2f8;color:#4b607c}.export-result-modal .export-progress-status strong{font-size:11px;font-weight:400;line-height:18px}.export-result-modal .export-progress-status .design-quantizing-spinner{width:13px;height:13px;min-width:13px;margin:0;border-width:2px}.export-result-modal .export-result-fields:disabled{opacity:1}.export-result-modal .export-result-fields:disabled :is(input,select){color:#687487;background:#f1f3f6;opacity:1;cursor:wait}body.embroidery-workbench-ui .canvas-measure-tools>.btn[data-toolbar-icon=image]:before{content:"";-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8' cy='9' r='1.5'/%3E%3Cpath d='m3 17 5-4 4 3 4-5 5 5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8' cy='9' r='1.5'/%3E%3Cpath d='m3 17 5-4 4 3 4-5 5 5'/%3E%3C/svg%3E")}body.embroidery-workbench-ui .canvas-measure-tools>.btn[data-toolbar-icon=text]:before{content:"";-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M5 7V5h14v2m-7-2v14m-3 0h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M5 7V5h14v2m-7-2v14m-3 0h6'/%3E%3C/svg%3E")}body.embroidery-workbench-ui .canvas-measure-tools>.btn[data-toolbar-icon=ruler]:before{content:"";-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='7' width='18' height='10' rx='2'/%3E%3Cpath d='M7 7v4m3-4v3m3-3v4m3-4v3m3-3v4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='7' width='18' height='10' rx='2'/%3E%3Cpath d='M7 7v4m3-4v3m3-3v4m3-4v3m3-3v4'/%3E%3C/svg%3E")}:root{--window-corner-radius: 14px}body :is(.modal,[role=dialog],[role=alertdialog],.layer-preview-modal,.sep-original-modal){border-radius:var(--window-corner-radius)!important}body :is(.modal,[role=dialog],[role=alertdialog],.layer-preview-modal,.sep-original-modal)>:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}body :is(.modal,[role=dialog],[role=alertdialog],.layer-preview-modal,.sep-original-modal)>:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}:root{--studio-canvas: #1b1816;--studio-surface: #27221f;--studio-raised: #312a26;--studio-line: #4a4039;--studio-ink: #f1ebe2;--studio-muted: #bdb3a8;--studio-accent: #dda68c;--studio-action: #99563f;--studio-action-hover: #854632;--studio-action-active: #713b2c;--studio-paper: #eee7dc;--studio-card: #e7ded0;--studio-card-line: #cbbeb0;--studio-field: #f4eee5;--studio-card-ink: #342b27;--studio-card-muted: #62554d}.app.studio-theme{--accent: var(--studio-action);--accent-hi: var(--studio-action-hover);--accent-soft: #ecded1}.app.studio-theme>.sidebar{background:var(--studio-surface);border-color:var(--studio-line)}.app.studio-theme>.sidebar :is(.logo,.account-trigger){color:var(--studio-ink)}.app.studio-theme>.sidebar :is(.btn.text-btn,.collapse-btn){color:var(--studio-muted)}.app.studio-theme>.sidebar :is(.btn.text-btn,.collapse-btn,.account-trigger):hover:not(:disabled),.app.studio-theme>.sidebar .account-trigger[aria-expanded=true]{background:var(--studio-raised);color:var(--studio-ink)}.app.studio-theme>.sidebar .btn.text-btn.active,.app.studio-theme>.sidebar .btn.text-btn.active:hover{background:#3b2d27;color:#f2c8b2;box-shadow:inset 0 0 0 1px #dda68c40}.app.studio-theme>.sidebar .sidebar-account{border-color:var(--studio-line)}.app.studio-theme>.sidebar .account-avatar{background:#3b2d27;color:var(--studio-accent)}.app.studio-theme>.sidebar button:focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}.account-menu{background:var(--studio-surface);border-color:var(--studio-line)}.account-menu .account-menu-name{color:var(--studio-muted);border-color:var(--studio-line)}.account-menu button{color:#f4c3c6}.account-menu button:is(:hover,:focus-visible){background:#443940}.app.studio-theme>.main{background:var(--studio-canvas)}.app.studio-theme>.main>:is(.creation-editorial,.studio-demo-page,.image-creation-page,.creation-task-page,.cross-creation-page,.workspace-tab,.pixel-editor),.main .pixel-editor .pixel-scroll{background:transparent}:is(.creation-editorial,.creation-task-page,.cross-creation-page):before{content:none}.app.studio-theme>.main>.page-header,.creation-task-page.creation-finished .creation-task-header,.main .pixel-editor>header,.free-design-workspace .free-design-header{background:var(--studio-surface);border-color:var(--studio-line);color:var(--studio-ink)}.main .creation-breadcrumb :is(button,span){color:var(--studio-muted)}.main .pixel-editor .creation-breadcrumb button{background:transparent;padding:2px 0}.main .creation-breadcrumb .creation-breadcrumb-current,.main .creation-breadcrumb button:hover:not(:disabled){color:var(--studio-ink)}.creation-editorial .creation-heading h1,.creation-editorial .creation-section-heading h2,.my-works-page .works-heading h1,.studio-demo-page .studio-demo-heading h1,.my-works-page .works-content .task-empty-title,.creation-task-page .creation-task-header h1,.cross-creation-page>header h1,.image-creation-page .image-creation-results h2,.image-creation-page .image-creation-heading h1{color:var(--studio-ink)}.creation-editorial .creation-heading p,.creation-editorial .creation-section-heading :is(p,button),.my-works-page .works-heading p,.my-works-page .works-content :is(.task-empty,.task-empty-hint),.creation-task-page .creation-task-header p,.cross-creation-page>header p,.creation-task-page .creation-top-steps li,.studio-demo-page .studio-demo-heading p,.inspiration-page .studio-demo-empty,.studio-demo-page>:is([role=status],[role=alert]),.image-creation-page .image-creation-heading p,.image-creation-page .image-creation-results header p,.image-creation-page .image-creation-empty,.image-creation-page .image-creation-suggestions>span,.image-creation-page .image-result-pagination,.image-creation-page .image-result-pagination button{color:var(--studio-muted)}.creation-task-page .creation-top-steps li:is(.done,.current){color:var(--studio-accent)}.creation-task-page .creation-top-steps li:is(.done,.current)>span{background:var(--studio-action);border-color:var(--studio-accent)}.creation-task-page .creation-top-steps li.current:after{background:var(--studio-accent)}.creation-editorial .creation-heading h1 span,.studio-demo-page .studio-demo-heading .studio-demo-eyebrow,.image-creation-page .image-creation-heading>span,.image-creation-page .creation-breadcrumb :is(button,span){color:var(--studio-accent)}.creation-editorial .creation-heading h1 span:after,.my-works-page .works-heading h1:after{border-color:var(--studio-accent)}.my-works-page .works-heading h1:before,.creation-editorial .creation-section-heading h2:before{background:var(--studio-accent)}.studio-demo-page.inspiration-detail-page button.inspiration-back,.studio-demo-page.inspiration-detail-page button.inspiration-back:hover:not(:disabled){color:var(--studio-ink)!important}.image-creation-page .image-creation-suggestions{border-color:var(--studio-line)}.image-creation-page .image-creation-error{color:#ffd0c8}.image-creation-page .idea-reference-input>.image-creation-error{color:#923f34}.creation-editorial :is(.creation-template-empty,.creation-idea){background:var(--studio-card);border-color:var(--studio-card-line);color:var(--studio-card-ink);box-shadow:none}.creation-editorial .creation-template-empty{background:#ffffff08;border-color:#6e6056;color:var(--studio-ink)}.creation-editorial .creation-idea:hover{border-color:#a57d68;box-shadow:0 5px 12px #13100e38}.creation-editorial .creation-idea small{color:var(--studio-card-muted)}.creation-editorial .creation-template-empty p{color:var(--studio-muted)}.creation-editorial .creation-idea strong{color:var(--studio-card-ink)}.creation-editorial .creation-entry-upload.drag-over{border-color:#69419b;border-style:dashed}.my-works-page :is(.task-search,.task-type-filter){background:var(--studio-surface);border-color:var(--studio-line);color:var(--studio-ink);color-scheme:dark}.my-works-page .task-search::placeholder{color:var(--studio-muted);opacity:1}.my-works-page .task-card{padding:12px;background:#f4eee5;border:1px solid #d6c9bb;box-shadow:none}.my-works-page .task-card:hover{background:#fbf6ef;border-color:#b69b88;box-shadow:none;transform:none}.my-works-page .task-card-header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}.my-works-page .task-card-actions{position:static;flex:0 0 auto;gap:5px}.my-works-page .task-card-thumb{aspect-ratio:2 / 1;background:#e6e0d6}.my-works-page .task-card-thumb-placeholder{color:#625b52}.my-works-page .task-action-btn{display:grid;place-items:center;width:30px;height:30px;padding:0;background:transparent;color:#62554d;box-shadow:none}.my-works-page .task-action-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.my-works-page .task-action-btn:hover{background:#e7dbce;color:#342b27}.my-works-page .task-action-btn.danger:hover{background:#f2dcd6;color:#853b34}.my-works-page .task-type-badge{position:static;padding:5px 10px;border:1px solid transparent;font-size:11px}.my-works-page .task-type-badge:is([data-style=flat],[data-style=outline]){background:#e3d9f3;color:#4c336d}.my-works-page .task-type-badge[data-style=cross],.my-works-page .task-result-status.queued{background:#d6e1f3;color:#2d466d}.my-works-page .task-type-badge:is([data-style=interleave],[data-style=interleave_sparse],[data-style=pet_interleave]),.my-works-page .task-result-status.done{background:#d7e4cf;color:#304c2d}.my-works-page .task-card-name{color:var(--studio-card-ink);font-weight:600}.my-works-page .task-time{color:var(--studio-card-muted)}.my-works-page .task-result-status.none{background:#e5ddd3;color:#62554d}.my-works-page .task-result-status.processing{background:#f3dcc2;color:#633f29}.my-works-page .task-result-status.error{background:#f2dcd6;color:#853b34}.my-works-page .task-card-meta{flex-wrap:wrap;row-gap:4px}.studio-demo-page.inspiration-page :is(.studio-pattern-card,.inspiration-grid-footer),.studio-demo-page.inspiration-detail-page :is(.inspiration-detail-card,.inspiration-detail-caption){background:var(--studio-field);border-color:var(--studio-card-line)}.studio-demo-page.inspiration-page .studio-pattern-card:hover{border-color:var(--studio-accent)}.image-creation-page .image-creation-mode{background:#ecded1;color:#744a39}.image-creation-page .image-creation-generating{background:#ecded1;border-color:var(--studio-accent);color:#744a39}.image-creation-page .image-creation-suggestions button:hover{background:#ecded1;border-color:var(--studio-accent);color:#6a4132}.image-style-presets{display:flex;flex-wrap:wrap;gap:5px}.creation-editorial .image-style-presets button[aria-pressed=true],.image-creation-page .image-style-presets button[aria-pressed=true]{background:var(--studio-action);border-color:var(--studio-action);color:#fff}.creation-editorial .creation-generate-action,.image-creation-page .image-generate-button,.my-works-page .works-empty-action,.cross-creation-page .btn.primary,.main .pixel-editor .pixel-submit,.free-design-workspace .free-design-header>.btn.primary{background:var(--studio-action);border-color:var(--studio-action);color:#fff}.creation-editorial .creation-generate-action:hover:not(:disabled),.image-creation-page .image-generate-button:hover:not(:disabled),.my-works-page .works-empty-action:hover:not(:disabled),.cross-creation-page .btn.primary:hover:not(:disabled),.main .pixel-editor .pixel-submit:hover:not(:disabled),.free-design-workspace .free-design-header>.btn.primary:hover:not(:disabled){background:var(--studio-action-hover);border-color:var(--studio-action-hover);color:#fff}:is(.creation-task-page,.cross-creation-page){--workflow-line: var(--studio-card-line);--workflow-paper: var(--studio-field)}.creation-finished .creation-result-details section,.creation-confirming :is(.creation-confirm-steps,.creation-confirm-center,.creation-setup-panel),.creation-making :is(.creation-workflow,.creation-processing-preview),.cross-creation-layout>aside{background:var(--workflow-paper)}.creation-finished .creation-artwork-metrics>div{background:var(--studio-paper)}.creation-task-page .creation-zoom-surface.creation-background-fabric{background-color:#e7dfd3;background-image:repeating-linear-gradient(0deg,#ffffff80 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#76645526 0 1px,transparent 1px 4px)}.creation-task-page:is(.creation-confirming,.creation-finished){--task-primary: var(--studio-action);--task-primary-hover: var(--studio-action-hover);--task-primary-soft: #ecded1}.creation-style-options button[aria-pressed=true]{border-color:#a57660;background:#f0e2d7}.creation-style-picker{background:var(--studio-field)}
