:root{font-family:Arial,PingFang SC,sans-serif;color:#17221f;background:#f7f9f8;font-synthesis:none;--green:#23694f;--soft:#e1efe7;--line:#d9dfdc;--muted:#67736d}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 14px;color:inherit;background:#fff;border:1px solid #cdd5d0;border-radius:7px;transition:background .15s}button:hover{background:#edf4ef}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #92b7a0;outline-offset:2px}input,select,textarea{min-width:0;background:#fff;border:1px solid #c6cfc9;border-radius:6px;padding:10px 12px;color:#17221f}textarea{resize:vertical;line-height:1.5;min-height:116px}h1,h2,h3,p{margin:0}h2{font-size:24px;line-height:1.3}h3{font-size:17px}p{line-height:1.5}svg{flex-shrink:0}button.primary{background:var(--green);color:#fff;border-color:var(--green);font-weight:600}button.primary:hover{background:#18543e}.outline{border-color:var(--green);color:var(--green);font-weight:600}.active{background:var(--soft)!important;color:var(--green)}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{height:76px;display:flex;align-items:center;gap:24px;padding:0 28px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}.brand{font-weight:700;font-size:23px;padding:0;border:none;background:none;white-space:nowrap;letter-spacing:-.7px}.brand svg{color:var(--green)}.guide-title{font-size:20px;max-width:420px;flex:1;width:100px}.session{font-size:14px;display:flex;align-items:center;gap:10px;white-space:nowrap}.session>span{background:#82c79e;width:10px;height:10px;border-radius:50%}.preview-button{white-space:nowrap;margin-left:auto}.notice{display:flex;gap:10px;align-items:center;background:#e9f2ec;padding:10px 28px;font-size:14px;overflow-wrap:anywhere}.notice>span{flex:1}.notice button{min-height:28px;padding:2px;border:0;background:transparent}.start{width:min(1260px,calc(100% - 80px));margin:40px auto 36px}.intro{text-align:center}.intro h1{font-size:44px;letter-spacing:-1.3px;line-height:1.2}.intro p{font-size:23px;color:#4b5751;margin-top:12px}.flow{display:flex;align-items:center;justify-content:space-between;border:1px solid #cbd3cd;background:#fff;padding:5px;gap:22px;max-width:730px;margin:30px auto 36px;border-radius:10px}.flow span{display:flex;align-items:center;gap:14px;padding:9px 18px;white-space:nowrap;border-radius:7px;font-size:18px}.flow b{width:30px;height:30px;border:1px solid;display:grid;place-items:center;border-radius:50%;font-weight:500}.flow .active b{background:var(--green);color:#fff;border-color:var(--green)}.start-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}.drop-zone{border:1.5px dashed #adb9b0;border-radius:12px;display:flex;align-items:center;flex-direction:column;padding:60px 28px 28px;text-align:center;justify-content:center}.drop-zone>svg{color:var(--green);margin:0 0 23px}.drop-zone h2{font-size:29px;margin-bottom:28px}.choose{font-size:22px;min-width:280px;min-height:54px}.drop-zone>p{color:#526058;margin:19px 0}.chip{display:inline-block;background:#eef1ef;padding:7px 14px;border-radius:6px;color:#56635b;font-size:14px}.privacy{border-top:1px solid var(--line);width:100%;padding-top:21px;margin-top:32px}.privacy p{margin-top:5px;font-size:15px;color:var(--muted)}.sample-card{background:#fff;border:1px solid #ccd5ce;border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:20px}.sample-card h2{font-size:26px}.sample-heading{display:flex;gap:17px;align-items:center}.sample-heading>svg{padding:9px;box-sizing:content-box;background:var(--soft);border-radius:9px;color:var(--green)}.sample-heading h3{font-size:20px}.sample-heading p{font-size:14px;color:var(--muted);margin-top:4px}.sample-card canvas{width:100%;border-radius:8px;border:1px solid var(--line);aspect-ratio:1000/680}.sample-card>button{font-size:18px}.features{display:grid;grid-template-columns:repeat(3,1fr);margin-top:38px;gap:36px}.features>div{display:flex;gap:20px;align-items:center}.features>div+div{border-left:1px solid var(--line);padding-left:36px}.features svg{background:var(--soft);padding:12px;box-sizing:content-box;color:var(--green);border-radius:10px}.features h3{font-size:20px;margin-bottom:4px}.features p{font-size:14px}.resume{margin:20px auto 0;display:flex}.editor{display:grid;grid-template-columns:270px minmax(360px,1fr) 310px;flex:1;min-height:calc(100vh - 120px)}.steps-panel{padding:24px 12px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:22px}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:0 8px}.panel-title h2{font-size:21px}.panel-title span{font-size:14px}.step-list{display:flex;flex-direction:column;gap:9px}.step-row{display:flex;border:1px solid var(--line);border-radius:8px;min-height:78px;overflow:hidden}.step-row.active{border-color:#a9cdb9}.step-main{background:transparent;border:0;border-radius:0;padding:10px 6px;gap:9px;flex:1;min-width:0;justify-content:flex-start;text-align:left;font-size:14px;line-height:1.3}.step-main canvas{width:74px;height:53px;object-fit:contain;background:#fff;border:1px solid #d8dfda;border-radius:5px}.step-main>span{flex:1;overflow-wrap:anywhere;font-weight:600}.reorder{display:flex;flex-direction:column;width:22px;justify-content:center}.reorder button{padding:3px;min-height:28px;border:none;background:transparent}.reorder button:hover{background:#cde3d6}.add-step{margin-top:auto;width:100%}.workspace{padding:20px;background:#f5f7f6;min-width:0}.toolbar{display:flex;align-items:center;gap:2px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 2px 3px #263d2e05;justify-content:space-between}.toolbar button{padding:8px 9px;border:0;font-size:14px;gap:7px}.toolbar svg{width:20px}.divider{height:23px;border-left:1px solid var(--line);margin:0 3px}.step-caption{margin:30px 0 24px;font-size:24px}.canvas-frame{border:1px solid #cbd3cd;border-radius:8px;overflow:hidden;background:#fff}.editor-canvas{display:block;width:100%;height:auto;touch-action:none}.canvas-meta{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}.canvas-meta span{font-size:13px;color:#5d6962;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:80px}.canvas-meta button{font-size:13px;padding:8px;min-height:36px}.tool-hint{font-size:13px;color:#68766d;margin-top:14px}.inspector{background:#fff;padding:20px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:22px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:18px;margin-top:-4px}.tabs button{border:0;border-radius:0;background:transparent;padding:12px 14px;color:#758078;font-weight:600}.tabs button.active{background:transparent!important;border-bottom:3px solid var(--green)}label{display:flex;flex-direction:column;gap:9px;font-weight:600;font-size:15px}label input,label textarea,label select{font-weight:400;width:100%}.annotation-settings{border-top:1px solid var(--line);padding-top:22px;display:flex;flex-direction:column;gap:16px}.muted{color:var(--muted);font-size:13px;line-height:1.55}.danger{color:#b12828}.info{display:flex;align-items:flex-start;gap:10px;background:#f0f4f1;padding:13px;border-radius:7px;font-size:13px;line-height:1.5}.delete-step{margin-top:auto}.review-label{display:block;color:#885b13}.review-warning{background:#fff6df;border:1px solid #e0c889;padding:12px;border-radius:6px;margin-bottom:16px;font-size:14px}.review-warning button{margin:8px 8px 0 0;font-size:13px}.segmented{display:flex;border:1px solid var(--line);border-radius:7px;padding:3px}.segmented button{flex:1;border:0}.inspector h3{margin-top:4px}.mobile-step-nav,.mobile-only{display:none}.empty-state{text-align:center;padding:90px 0;display:flex;flex-direction:column;align-items:center;gap:20px}.preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;flex:1}.preview-main{padding:24px 30px 40px;background:#edf0ee}.preview-heading{display:flex;align-items:center;gap:24px;margin-bottom:25px}.preview-heading p{font-size:14px;color:#5a675f;margin-top:3px}.preview-heading button{white-space:nowrap}.paper{max-width:830px;background:#fff;margin:auto;padding:48px 56px;box-shadow:0 2px 12px #153a2420}.paper>h1{font-size:28px;margin-bottom:30px;padding-bottom:26px;border-bottom:1px solid var(--line)}.preview-step{padding:26px 0;border-bottom:1px solid var(--line)}.preview-step:first-of-type{padding-top:0}.preview-step header{display:flex;gap:14px;margin-bottom:19px;align-items:flex-start}.preview-step header>div{flex:1;min-width:0}.preview-step h2{font-size:22px;overflow-wrap:anywhere}.preview-step p{font-size:15px;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.step-number{display:grid;place-items:center;border-radius:50%;background:var(--soft);width:36px;height:36px;font-size:20px;font-weight:600;flex-shrink:0}.preview-step canvas{display:block;width:100%;border-radius:7px;border:1px solid var(--line)}.edit-preview{border:0;min-height:30px;padding:4px;color:#7b887f}.compact{padding:26px 32px}.compact .preview-step{padding:16px 0}.export-panel{background:#fff;padding:28px;display:flex;flex-direction:column;gap:22px;border-left:1px solid var(--line);align-self:start;position:sticky;top:0}.export-panel fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:22px;min-width:0}.export-panel legend{font-weight:600;margin-bottom:14px;font-size:15px}.radio{flex-direction:row;align-items:center;border:1px solid var(--line);border-radius:7px;padding:14px;font-weight:400;gap:12px}.radio+.radio{margin-top:-23px;border-radius:0 0 7px 7px}.radio input,.check input{width:18px;height:18px;accent-color:var(--green);flex-shrink:0}.radio small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.check{flex-direction:row;align-items:center;justify-content:space-between}.export-summary{background:#eff3f0;padding:12px;border-radius:7px;font-size:14px}.download{width:100%}.local-note{font-size:12px;text-align:center;color:#67756b;margin-top:-11px}.export-status{padding:18px;background:#e9f3ec;border:1px solid #c1d8c8;border-radius:8px;display:flex;flex-direction:column;gap:12px;font-size:14px}.export-status.error{background:#fff0ed}.export-status button{width:100%}progress{width:100%;accent-color:var(--green)}footer{padding:15px 24px;border-top:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#5c6b61;margin-top:auto}.canvas-modal{position:fixed;top:16px;right:16px;bottom:16px;left:16px;z-index:30;overflow:auto;background:#ecf0ed;padding:60px 20px 20px}.expanded-canvas{width:100%;min-width:900px}.close-expand{position:fixed;top:28px;right:36px;z-index:31}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#19342544;z-index:40}.drawer{background:#fff;max-width:360px;width:92%;height:100%;padding:24px 14px;overflow:auto;display:flex;flex-direction:column;gap:20px}@media(min-width:1600px){.editor{grid-template-columns:300px minmax(360px,1fr) 340px}.workspace{padding:24px}.step-main canvas{width:90px}.toolbar{justify-content:flex-start;gap:12px}}@media(max-width:1200px){.app-header{gap:14px;padding:0 20px}.brand{font-size:20px}.session{display:none}.editor{grid-template-columns:225px minmax(310px,1fr) 270px}.steps-panel{padding:20px 8px}.step-main{gap:5px;font-size:12px}.step-main canvas{width:53px;height:43px}.workspace{padding:16px}.toolbar button{flex-direction:column;gap:3px;padding:6px;font-size:11px}.toolbar .divider{display:none}.inspector{padding:16px}.preview-layout{grid-template-columns:minmax(0,1fr) 320px}.paper{padding:30px}.start{width:calc(100% - 56px)}.intro h1{font-size:39px}}@media(max-width:900px){.editor{display:block}.steps-panel{display:none}.app-header{flex-wrap:wrap;height:auto;min-height:70px;padding:15px 18px;gap:14px}.brand{font-size:21px}.guide-title{order:2;max-width:none;flex:1;min-width:100px;width:100px;font-size:17px}.preview-button{order:3;font-size:14px}.workspace{padding:18px}.mobile-step-nav{display:flex;gap:10px;margin-bottom:22px}.mobile-step-nav>button:nth-child(2){flex:1}.mobile-step-nav button{min-height:44px}.desktop-only{display:none}.mobile-only{display:inline}.toolbar{margin-bottom:20px;justify-content:space-between}.toolbar button{min-height:44px;padding:7px 10px;font-size:12px}.step-caption{margin:20px 0;font-size:26px}.inspector{border-left:0;border-top:1px solid var(--line);padding:20px;gap:22px}.delete-step{margin-top:15px}.canvas-meta button{min-height:44px}.canvas-meta>span{flex-basis:100%}.tabs{margin-bottom:0}.preview-layout{display:flex;flex-direction:column}.export-panel{position:static;order:-1;border-left:0;border-bottom:1px solid var(--line);width:100%;padding:22px}.export-panel fieldset{display:grid;grid-template-columns:1fr 1fr;gap:16px}.export-panel .radio+.radio{margin:0;border-radius:7px}.export-panel .muted{grid-column:1/-1}.export-panel>h2{font-size:24px}.export-panel .info,.export-panel>.muted,.export-panel .local-note{display:none}.export-panel fieldset>h3{grid-column:1/-1}.export-panel fieldset>.segmented{align-self:start}.preview-main{padding:24px 16px}.preview-heading{gap:14px;align-items:flex-start;flex-direction:column}.start-grid{grid-template-columns:1fr}.start{width:calc(100% - 40px);margin-top:32px}.intro h1{font-size:35px}.intro p{font-size:19px}.flow{gap:8px;margin:26px auto}.flow span{gap:8px;padding:8px;font-size:14px}.flow svg{width:16px}.features{grid-template-columns:1fr;gap:22px}.features>div+div{border:0;padding:0}.drop-zone{padding:35px 22px 22px}footer{flex-direction:column;gap:6px}.sample-card canvas{max-height:350px;object-fit:contain}.canvas-meta{justify-content:space-between}.canvas-meta button{flex:1}.step-list .step-main{font-size:14px;gap:12px}.step-list .step-main canvas{width:85px;height:54px}.reorder{width:44px}.reorder button{min-height:36px}}@media(max-width:480px){.brand{font-size:21px;letter-spacing:-.8px}.brand svg{width:27px}.app-header{padding:13px 14px}.intro h1{font-size:32px}.intro p{font-size:17px}.flow{gap:3px}.flow span{font-size:12px;padding:7px 4px;gap:6px}.flow b{width:24px;height:24px}.flow svg{width:12px}.choose{min-width:230px}.drop-zone h2{font-size:24px}.sample-card{padding:20px}.preview-button{padding:10px;font-size:12px;max-width:127px}.toolbar button{padding:6px 4px;gap:5px;font-size:10px}.toolbar{padding:5px;gap:1px}.toolbar svg{width:20px}.workspace{padding:14px}.step-caption{font-size:24px}.paper{padding:25px 20px}.paper>h1{font-size:25px}.preview-step h2{font-size:19px}.preview-step p{font-size:14px}.export-panel fieldset{gap:12px}.radio{font-size:13px;padding:10px}.export-panel{gap:17px}.inspector input,.inspector textarea,.guide-title{font-size:16px}}@media(min-width:1201px){.editor{grid-template-columns:290px minmax(360px,1fr) 320px}.step-main,.toolbar button{font-size:15px}.inspector label{font-size:16px}.brand{font-size:24px}}@media(max-width:900px){.workspace{display:flex;flex-direction:column}.mobile-step-nav{order:0}.step-caption{order:1}.review-warning{order:2}.canvas-frame{order:3}.canvas-meta{order:4}.toolbar{order:5;margin:20px 0 0}.tool-hint{order:6}.empty-state{order:1}.reorder button{min-height:44px}.step-row{min-height:90px}.tabs button{min-height:44px}}@media(max-width:900px){.app-header{padding:8px 14px;gap:10px}.brand{min-height:34px}.mobile-step-nav{margin-bottom:0}.step-caption{margin:12px 0}.toolbar button{min-width:40px}.toolbar button:nth-last-child(-n+2){min-width:44px}}@media(min-width:901px){.preview-layout{height:calc(100vh - 120px);min-height:640px;overflow:hidden}.preview-main{display:flex;flex-direction:column;min-height:0}.preview-heading{flex-shrink:0}.paper{width:100%;overflow-y:auto;min-height:0;flex:1}.export-panel{height:100%;overflow-y:auto;position:static}}@media(min-width:901px){.preview-layout{flex:0 0 auto;grid-template-rows:minmax(0,1fr)}.export-panel{min-height:0}}@media(min-width:1201px){.preview-layout{grid-template-columns:minmax(0,1fr) 390px}}.export-panel{gap:18px;padding:24px}.export-panel fieldset{gap:18px}.export-panel fieldset>.muted{display:none}.export-panel>.muted{font-size:12px}.export-panel .radio+.radio{margin-top:-19px}@media(max-width:900px){.export-panel .radio+.radio{margin-top:0}.canvas-meta>span{display:none}.tool-hint{display:none}.inspector{padding:18px 14px;gap:16px}.inspector>.tabs{order:3}.inspector>.annotation-settings{order:4}.inspector>.info{order:5}.inspector>.delete-step{order:6}.inspector textarea{min-height:92px}}@media(max-width:900px){.toolbar button{min-width:44px}.preview-button,.mobile-step-nav button,.canvas-meta button{min-height:44px}}.draft-status{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:9px 20px;font-size:13px;line-height:1.5;background:#e9f2ec;border-bottom:1px solid var(--line);color:#23694f}.draft-status.saving{background:#f4f2e7;color:#62521e}.draft-status.error,.draft-status.conflict{background:#fff0e4;color:#793d1e}.draft-status button{font-size:13px;min-height:36px;padding:6px 12px}.draft-actions{display:flex;justify-content:center;gap:12px;margin-top:24px}.draft-gate{max-width:640px;margin:15vh auto;padding:28px;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}.draft-gate>svg{color:var(--green)}footer>span{max-width:850px;line-height:1.5}footer{align-items:center}@media(max-width:900px){.draft-status{padding:8px 14px;font-size:12px}footer{align-items:flex-start}}@media(max-width:900px){.app-header .brand{flex-basis:100%;justify-content:flex-start}}a{color:var(--green);text-underline-offset:3px}a:focus-visible{outline:3px solid #23694f;outline-offset:4px}.footer-brand{display:flex;flex-direction:column;gap:8px;flex-shrink:0}footer nav{display:flex;gap:20px;flex-wrap:wrap}footer nav a{display:inline-flex;align-items:center;min-height:32px}.keyboard-help{line-height:1.65}.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:#fff;padding:12px 18px;border:2px solid var(--green);border-radius:6px}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}main:focus{outline:none}.drawer:focus,.canvas-modal:focus{outline:none}@media(max-width:900px){footer nav a{min-height:44px}}
