@charset "UTF-8";
:root{--ink:#242521;--muted:#80817b;--line:#e6e7e0;--paper:#f7f6f2;--accent:#db4d2c;--accent-light:#fff1e9;--panel:#fff;--font:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:var(--font);color:var(--ink);font-size:13px}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #e78a62;outline-offset:3px}button{color:inherit}button svg{width:20px;height:20px}input,select,textarea{width:100%;color:var(--ink);border:1px solid #dfe1da;border-radius:7px;background:#fff;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #e7583514}input,select{height:37px;padding:0 10px}textarea{padding:9px 10px;resize:vertical;line-height:1.5}input:disabled,textarea:disabled{background:#f8f8f5;color:#8a8b85}input[type=checkbox]{width:31px;height:18px;accent-color:var(--accent);cursor:pointer}input[type=color]{width:30px;height:27px;padding:3px;border-radius:6px;cursor:pointer}input[type=range]{height:17px;padding:0;accent-color:var(--accent);border:0;box-shadow:none}h1,h2,h3,p{margin:0}h2{font-size:14px;font-weight:650}h3{font-size:12px;font-weight:650}.primary,.secondary,.quiet,.text-btn,.danger-text,.demo-btn{border:0;border-radius:7px;background:none;font-weight:550;white-space:nowrap}.primary{background:var(--ink);color:white;padding:10px 17px;display:inline-flex;gap:18px;align-items:center;justify-content:center}.primary:hover:not(:disabled){background:#41443d}.secondary{padding:9px 12px;background:#fff;border:1px solid var(--line)}.secondary:hover:not(:disabled){background:#f1f2ed}.quiet{padding:8px 10px;color:#62665b}.quiet:hover:not(:disabled){background:#efeee9}.text-btn{padding:4px;color:#656b5e}.text-btn:hover:not(:disabled){color:var(--accent)}.icon-btn{width:30px;height:30px;border:1px solid var(--line);border-radius:6px;background:white;font-size:20px;display:inline-grid;place-items:center}.icon-btn:hover:not(:disabled){background:#f3f3ee}.danger-text{color:#bc422b;padding:8px}.danger-text:hover:not(:disabled){background:#fff0ea}.app-header{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 25px;gap:30px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);flex-shrink:0}.brand-icon{width:35px;height:35px;background:var(--accent);border-radius:10px;color:#fff;display:grid;place-items:center}.brand-icon svg{width:29px;height:29px}.brand strong{font-size:23px;letter-spacing:-1px}.brand-en{font-size:9px;letter-spacing:1.5px;color:#777e71;font-weight:600;margin-top:4px}.project-heading{border-left:1px solid var(--line);padding-left:24px;min-width:150px;max-width:300px;flex:1;display:flex;flex-direction:column;gap:3px}.project-heading input{border:0;height:25px;padding:0;background:transparent;font-weight:600}.project-heading input:focus{box-shadow:none}.project-heading span{font-size:10px;color:var(--muted)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.header-actions .primary{background:var(--accent)}.header-actions .primary:hover:not(:disabled){background:#b93e22}.workspace{height:calc(100dvh - 78px);min-height:600px;display:grid;grid-template-columns:222px minmax(300px,1fr) 284px}.steps-panel{display:flex;flex-direction:column;background:#fcfcfa;border-right:1px solid var(--line);padding:23px 15px 0;min-height:0}.panel-title{display:flex;align-items:center;justify-content:space-between}.panel-title h2 span{display:inline-block;font-size:10px;min-width:21px;text-align:center;padding:3px;border-radius:5px;background:#efefe9;margin-left:5px;color:#747a6d}.panel-note{color:var(--muted);font-size:10px;margin:7px 0 21px}.step-list{overflow:auto;min-height:0;padding:2px;flex:1}.step-card{position:relative;display:flex;gap:9px;width:100%;align-items:flex-start;border:1px solid transparent;padding:10px 7px;margin-bottom:9px;text-align:left;background:transparent;border-radius:9px}.step-card:hover{background:#f0f0ea}.step-card.active{background:#fff4ed;border-color:#eeb49c}.step-number{font-size:10px;color:#999d92;font-variant-numeric:tabular-nums;padding-top:4px}.step-card.active .step-number{color:var(--accent);font-weight:700}.step-preview{min-width:0;flex:1}.step-preview img{width:100%;height:82px;object-fit:contain;background:#eeeee8;border:1px solid #e4e5de;border-radius:4px;display:block}.step-preview b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;margin-top:9px;font-weight:550}.step-preview small{display:block;color:#8c9084;font-size:9px;margin-top:3px}.add-more{flex-shrink:0;background:transparent;border:1px dashed #cdd1c4;border-radius:7px;padding:12px 4px;color:#6e7767;margin:15px 2px 20px}.add-more:hover{background:#eeefe8}.steps-footer{display:flex;align-items:center;gap:6px;border-top:1px solid var(--line);padding:15px 0;font-size:9px;color:#7b8373;flex-shrink:0}.steps-footer .text-btn{margin-left:auto;font-size:10px}.local-dot{width:5px;height:5px;background:#8d9c70;border-radius:50%}.editor{display:flex;min-width:0;flex-direction:column;min-height:0}.editor-top{padding:24px 25px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center}.breadcrumb{font-size:11px;color:#858a7d;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.breadcrumb span{margin:0 10px;color:#bec3b4}.breadcrumb strong{font-weight:550;color:#52584b}.version-pill{font-size:9px;letter-spacing:1px;border:1px solid #dce0d4;border-radius:4px;padding:4px 6px;color:#939a85;white-space:nowrap}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 25px 18px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 3px #24301203}.tool-group{display:flex;align-items:center;gap:3px}.tool{padding:7px 10px;display:flex;align-items:center;gap:7px;background:transparent;border:0;border-radius:6px;font-size:11px;color:#6e7466;white-space:nowrap}.tool span{font-size:17px;line-height:18px}.tool:hover{background:#f3f4ee}.tool.active{background:#fff0e8;color:#c94c2e}.history{border-left:1px solid var(--line);padding-left:6px}.history .icon-btn{border:0}.history .quiet{font-size:10px;padding:7px 5px}.stage{position:relative;flex:1;min-height:0;margin:0 25px;overflow:auto;border:1px solid #e2e4da;border-radius:9px;background-color:#eeefe8;background-image:radial-gradient(#d4d9c9 .75px,transparent .75px);background-size:14px 14px;display:flex;align-items:center;justify-content:center;padding:25px}.canvas-wrap{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;min-width:0}canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 16px 40px #222b1c19;touch-action:none;cursor:crosshair}canvas[data-tool=select]{cursor:default}.editor-bottom{height:51px;padding:0 25px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:#888f7e;flex-shrink:0}.editor-bottom .text-btn{font-size:10px}#toolHint{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{text-align:center;padding:20px 0}.empty-state h1{font-size:36px;line-height:1.35;font-weight:650;letter-spacing:-1.5px;margin:14px 0}.empty-state p{font-size:12px;line-height:1.9;color:#79816f}.eyebrow{color:#929b83;font-size:9px;letter-spacing:2px}.large{padding:13px 27px;margin-top:23px;background:var(--accent);font-size:12px}.large:hover:not(:disabled){background:#c74223}.file-hint{display:block;color:#929b86;font-size:9px;margin-top:12px}.demo-btn{display:block;margin:22px auto 0;color:#646e58;font-size:11px;padding:5px}.demo-btn span{margin-left:15px;color:var(--accent)}.empty-illustration{position:relative;width:140px;height:95px;margin:0 auto 26px}.paper{position:absolute;background:#fffdf7;border:1px solid #d8decb;border-radius:6px;width:106px;height:78px;box-shadow:0 8px 14px #69764e0c}.paper.back{left:7px;top:3px;transform:rotate(-14deg);background:#e7eadc}.paper.front{left:26px;top:9px;transform:rotate(6deg);padding:11px}.mini-dot{float:left;font-size:7px;color:var(--accent);padding:2px;background:#fbe7d5;border-radius:3px}.mini-line{height:3px;background:#d0d6c2;width:43px;margin:4px 0 9px 23px}.mini-screen{background:#edf0e5;height:31px;border:1px solid #dfe4d4;border-radius:3px;padding:6px}.mini-screen i{height:3px;background:#d2dbc0;width:40px;display:block;margin-bottom:4px}.paper b{position:absolute;color:var(--accent);font-size:24px;bottom:2px;right:10px}.settings-panel{background:#fff;border-left:1px solid var(--line);overflow:auto;min-height:0;padding:25px 21px 10px}.settings-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.settings-heading span{font-size:9px;color:#9b9d96}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.scope{font-size:9px;color:#8b8e82;padding:2px 5px;border:1px solid #e6e8df;border-radius:4px}.setting-section{border-bottom:1px solid var(--line);padding-bottom:21px;margin-bottom:22px}.setting-section:last-child{border:0}.themes{display:flex;gap:9px;margin-bottom:19px}.theme{border:1px solid transparent;background:none;border-radius:7px;padding:4px;width:33.333%;font-size:9px;color:#8a8f80}.theme:hover{background:#f6f6f2}.theme.active{border-color:#e8a992;color:#b8472a;background:#fff6f0}.swatch{display:block;height:34px;border-radius:4px;margin-bottom:7px;border:1px solid #00000008;position:relative;overflow:hidden}.swatch:after{content:"";position:absolute;left:16px;right:16px;top:10px;bottom:-4px;border-radius:3px;background:#ffffffbb;box-shadow:0 0 9px #00000009}.paper-swatch{background:#f1e7d8}.mist-swatch{background:#dce8ed}.night-swatch{background:#243b39}.field{font-size:10px;color:#7a8071;display:block;margin-bottom:14px}.field input,.field select,.field textarea{display:block;margin-top:7px;font-size:11px}.range-field{display:flex;justify-content:space-between;font-size:10px;color:#7a8071;margin-bottom:9px}.range-field output{font-size:10px;color:#777d6e}.toggle-row{display:flex;align-items:center;justify-content:space-between;margin:15px 0;font-size:11px;color:#6e7563}.step-controls{display:flex;gap:6px}.step-controls button{font-size:10px;flex:1;padding:8px 5px}.color-row{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7a8071}.small-note{font-size:9px;line-height:1.8;color:#919789;margin-top:11px}.annotation-list{margin-top:10px;max-height:190px;overflow:auto}.annotation-item{display:flex;gap:5px;margin:5px 0}.annotation-item>button:first-child{border:1px solid var(--line);border-radius:5px;text-align:left;background:#f9faf6;flex:1;font-size:10px;padding:7px 9px}.annotation-item.active>button:first-child{border-color:#e9aa92;background:#fff4ec}.annotation-item>button:last-child{border:0;background:transparent;color:#919886;width:24px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:min(90vw,650px);background:#263125;color:white;padding:13px 22px;border-radius:9px;font-size:12px;line-height:1.6;z-index:50;box-shadow:0 8px 40px #0002}.toast.error{background:#923c29}.drop-overlay{position:absolute;inset:10px;z-index:20;border:2px dashed var(--accent);border-radius:9px;background:#fff7eeef;display:grid;place-items:center;font-size:22px;font-weight:600;color:var(--accent);pointer-events:none}dialog{border:1px solid var(--line);border-radius:16px;max-width:min(560px,90vw);padding:35px;color:var(--ink);box-shadow:0 30px 100px #0003}dialog::backdrop{background:#242d2255;backdrop-filter:blur(3px)}dialog h2{font-size:22px;margin:12px 0 20px}dialog ol{padding-left:24px}dialog li{padding-left:7px;margin-bottom:18px;font-size:12px}dialog li::marker{color:var(--accent);font-weight:700}dialog p{line-height:1.8;color:#717865;font-size:12px;margin-top:6px}.help-note{background:#f5f4ec;padding:14px;border-radius:8px;font-size:11px;line-height:1.9;color:#777d6c}.dialog-close{position:absolute;right:16px;top:13px;font-size:25px;border:0;background:transparent;color:#8b9180}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.busy{cursor:progress}.busy .workspace{pointer-events:none;opacity:.7}[hidden]{display:none!important}
@media(min-width:1550px){.workspace{grid-template-columns:252px minmax(300px,1fr) 310px}.steps-panel{padding-left:22px;padding-right:22px}.stage{padding:40px}.step-preview img{height:95px}.settings-panel{padding-left:26px;padding-right:26px}}
@media(max-width:1150px){.brand-en{display:none}.workspace{grid-template-columns:170px minmax(260px,1fr) 254px}.app-header{gap:17px;padding:0 18px}.header-actions{gap:4px}.header-actions button{font-size:11px;padding:9px}.project-heading{padding-left:17px}.settings-panel{padding:24px 15px}.toolbar{margin-left:15px;margin-right:15px;flex-wrap:wrap}.editor-top,.editor-bottom{padding-left:15px;padding-right:15px}.stage{margin-left:15px;margin-right:15px;padding:15px}.tool{padding:6px}.history{margin-left:auto}.step-preview img{height:65px}.steps-panel{padding-left:10px;padding-right:10px}.steps-footer{font-size:8px;flex-wrap:wrap}#toolHint{display:none}}
@media(max-width:850px){.app-header{height:auto;min-height:70px;flex-wrap:wrap;padding:14px 16px;gap:12px}.brand strong{font-size:20px}.project-heading{max-width:none;min-width:100px}.header-actions{width:100%;justify-content:flex-end}.header-actions #helpBtn{margin-right:auto}.workspace{height:auto;min-height:calc(100dvh - 123px);grid-template-columns:140px minmax(0,1fr)}.steps-panel{min-height:650px;max-height:900px}.editor{height:650px}.settings-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px}.settings-heading{grid-column:1/-1;margin-bottom:0}.setting-section{margin:0}.annotation-section{grid-column:1/-1}.empty-state h1{font-size:29px}.stage{padding:10px}.empty-illustration{transform:scale(.8);margin-bottom:10px}.toolbar{gap:2px}.tool{font-size:10px}.tool span{font-size:15px}.editor-bottom{font-size:8px}.panel-note{line-height:1.8}.steps-footer{font-size:8px}.step-card{gap:5px;padding:7px 3px}.step-preview img{height:55px}.panel-title h2{font-size:12px}}
@media(max-width:520px){.workspace{grid-template-columns:1fr}.steps-panel{min-height:0;max-height:none;border-right:0;border-bottom:1px solid var(--line);padding:13px 15px}.panel-note,.steps-footer,.add-more{display:none}.step-list{display:flex;gap:7px;overflow-x:auto;flex:none;padding:0;margin-top:10px}.step-list:empty{display:none}.step-card{width:135px;min-width:135px;margin:0}.step-preview img{height:50px}.editor{height:620px}.editor-top{padding-top:16px;padding-bottom:13px}.settings-panel{grid-template-columns:1fr}.settings-heading,.annotation-section{grid-column:auto}.stage{padding:15px}.header-actions .quiet,.header-actions .secondary{font-size:10px}.header-actions .primary{padding:9px 13px}.project-heading input{font-size:12px}.empty-state h1{font-size:32px}.history .quiet{font-size:9px}.editor-bottom{font-size:9px}.breadcrumb{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.steps-panel,.settings-panel{min-width:0}
@media(max-width:520px){.workspace{grid-template-columns:minmax(0,1fr)}.step-list{max-width:100%}}
