:root{font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#202b33;background:#f7f8fa;font-synthesis:none;--green:#205d4c;--green-hover:#174b3d;--muted:#78838a;--border:#e5e9ed;--radius:10px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #72aa98;outline-offset:3px}button{transition:background .15s,border-color .15s,color .15s,transform .15s}svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.site-header{height:92px;max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:700;letter-spacing:1px}.brand-mark{width:41px;height:41px;background:var(--green);color:#fff;display:grid;place-items:center;border-radius:12px}.brand-mark svg{width:25px;height:25px}.brand>span:last-child{display:flex;align-items:center;gap:14px}.brand-sub{font-size:11px;letter-spacing:2px;color:#7b858b;font-weight:600;padding-left:14px;border-left:1px solid #d8dfe4}.privacy{display:flex;align-items:center;gap:7px;color:#67766e;font-size:13px}.privacy svg{width:16px;height:16px}main{max-width:1168px;margin:25px auto 0;padding:0 20px}.heading-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.eyebrow{font-size:12px;color:#869096;letter-spacing:1px;margin-bottom:13px}h1{font-size:32px;letter-spacing:.2px;font-weight:620;margin:0 0 12px;line-height:1.35}.intro{font-size:15px;color:#748087;margin:0;line-height:1.8}.version-label{font-size:12px;background:#ecf1ef;color:#5d776c;border:1px solid #dde6e1;padding:7px 12px;border-radius:6px}.workspace{border:1px solid var(--border);border-radius:14px;background:white;box-shadow:0 5px 24px #24354505;position:relative;overflow:hidden}.toolbar{min-height:76px;display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid var(--border);gap:12px}.toolbar-group{display:flex;align-items:center;gap:7px}.button{background:#fff;color:#35434b;border:1px solid #dfe5e9;border-radius:8px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;font-size:14px;font-weight:500;white-space:nowrap}.button:hover:not(:disabled){background:#f6f8f9;border-color:#c4ced5}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover:not(:disabled){background:var(--green-hover);border-color:var(--green-hover)}.button svg{width:17px;height:17px}.danger-subtle{border-color:transparent;color:#657078}.danger-subtle:hover:not(:disabled){background:#fff2f1;color:#ba514c;border-color:#f4dedb}.divider{height:23px;width:1px;background:var(--border);margin:0 6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:7px;background:transparent;color:#647179}.icon-button:hover:not(:disabled){background:#eef2f3}.empty-state{margin:28px;min-height:397px;border:1.5px dashed #d9e2e6;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(160deg,#fff,#fbfcfd);padding:30px}.upload-illustration{background:#eef4f1;width:76px;height:85px;display:grid;place-items:center;color:var(--green);border-radius:16px;margin-bottom:22px}.upload-illustration svg{width:38px;height:45px;stroke-width:1.35}.empty-state h2{font-size:21px;font-weight:600;margin:0 0 10px}.empty-state>p{margin:0;color:#879199;font-size:14px}.upload-button{margin-top:24px;padding:12px 25px}.text-button{color:var(--green);border:0;background:transparent;padding:6px 0;font-size:14px}.text-button:hover{text-decoration:underline}.sample-button{display:flex;gap:7px;align-items:center;margin-top:14px;font-size:13px;color:#728279}.sample-button svg{width:14px;height:14px}.upload-meta{margin-top:26px;color:#a0a9af;font-size:12px}.workspace-footer{border-top:1px solid var(--border);min-height:43px;padding:12px 23px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#8a949a}.workspace-footer>span:first-child{display:flex;gap:7px;align-items:center}.status-mark{width:5px;height:5px;border-radius:50%;background:#8baa9e;display:inline-block}.workflow{display:flex;align-items:center;justify-content:center;gap:32px;margin:38px auto 42px;max-width:850px}.workflow>div{display:flex;align-items:center;gap:13px;white-space:nowrap}.step-number{font-size:13px;color:#7b888f;background:#edf0f3;border:1px solid #e2e6ea;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-variant-numeric:tabular-nums}.workflow strong{font-size:14px;font-weight:500;display:block;margin-bottom:5px}.workflow small{font-size:12px;color:#95a0a7}.step-line{height:1px;width:67px;background:#e0e5e8}.site-footer{max-width:1168px;padding:23px 20px;display:flex;justify-content:space-between;gap:15px;margin:0 auto;color:#98a2a9;font-size:12px;border-top:1px solid #e7ebee}.footer-sep{padding:0 9px;color:#c6cdd1}.filebar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 25px 6px}.file-info{display:flex;align-items:center;gap:11px;min-width:0}.file-symbol{background:#f1f5f3;color:var(--green);padding:9px;border-radius:8px}.file-info>div{display:flex;flex-direction:column;gap:5px;min-width:0}.file-info strong{font-size:14px;font-weight:550;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-info span#file-meta{font-size:12px;color:#8a949a}.selection-controls{display:flex;gap:14px;align-items:center;font-size:13px;white-space:nowrap;color:#8c969d}.selection-controls label{display:flex;gap:6px;align-items:center;color:#5d6d76;cursor:pointer}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green);cursor:pointer}.page-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 20px;min-height:400px;padding:25px;background:#fff;align-content:start}.page-card{min-width:0;position:relative}.page-surface{position:relative;background:#f0f2f4;padding:13px;border:1.5px solid transparent;border-radius:9px;cursor:pointer;transition:background .15s,border-color .15s}.page-surface:hover{background:#e9efec}.page-card.selected .page-surface{background:#edf4f0;border-color:#649681}.page-surface:focus-visible{outline:3px solid #72aa98;outline-offset:3px}.thumbnail{position:relative;width:100%;aspect-ratio:1/1.414;background:white;box-shadow:0 2px 8px #283c4413;display:flex;align-items:center;justify-content:center;overflow:hidden}.thumbnail canvas{display:block;max-width:100%;max-height:100%;object-fit:contain}.page-checkbox{position:absolute;left:8px;top:7px;z-index:1;background:#fff;border-radius:5px;padding:3px;display:flex;box-shadow:0 1px 3px #0001}.page-checkbox input{margin:0}.page-card.selected .page-checkbox{background:#edf4f0}.page-caption{display:flex;align-items:center;justify-content:space-between;padding-top:8px;gap:5px}.page-number{font-size:13px;font-weight:500;color:#54636c}.page-caption small{display:block;color:#9aa3a9;font-size:12px;white-space:nowrap;max-width:110px;text-overflow:ellipsis;overflow:hidden}.page-actions{display:flex;gap:1px}.page-actions .icon-button{width:26px;height:27px}.page-actions svg{width:15px;height:15px}.thumbnail-loading{font-size:12px;color:#a3adb3}.blank-label{font-size:12px;color:#b8c0c4}.document-empty{min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center}.document-empty>span{color:#9ab0a6}.document-empty svg{width:38px;height:38px}.document-empty h2{font-size:20px}.document-empty p{font-size:14px;color:#8a949a;margin-top:0;margin-bottom:24px}.drop-overlay{position:absolute;inset:0;background:#eef6f3f5;border:2px dashed var(--green);border-radius:14px;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--green);font-size:22px;pointer-events:none}.drop-overlay svg{width:42px;height:42px}dialog{border:1px solid #e2e7e9;border-radius:16px;padding:26px;box-shadow:0 20px 100px #182b3230;color:#27343b;max-height:90dvh;overflow:auto}dialog::backdrop{background:#26383e55;backdrop-filter:blur(3px)}.add-dialog{width:460px;max-width:calc(100% - 30px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-heading h2,dialog>h2{font-size:21px;margin:0 0 9px;font-weight:600}.dialog-heading p,dialog>p{font-size:14px;color:#829097;margin:0;line-height:1.8}.dialog-heading .icon-button{margin:-6px -8px 0 0}.tabs{display:flex;background:#f0f3f4;border-radius:8px;padding:4px;margin:24px 0}.tabs button{flex:1;border:0;background:transparent;border-radius:6px;color:#7b878e;font-size:14px;padding:11px 7px;display:flex;align-items:center;justify-content:center;gap:8px}.tabs svg{width:16px;height:16px}.tabs button.active{background:white;box-shadow:0 1px 5px #263b4210;color:var(--green)}.field-label{display:block;font-size:14px;margin:20px 0 9px;color:#53636b}select,input[type=text]{width:100%;padding:12px;border:1px solid #dce3e7;border-radius:7px;background:white;color:#364750;font-size:14px;min-height:43px}.field-hint{font-size:12px;color:#94a0a7;margin:8px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:28px;padding-top:19px;border-top:1px solid #e6ebee}.import-picker{display:flex;flex-direction:column;gap:8px;align-items:center;border:1px dashed #cad8d1;background:#f7faf8;border-radius:9px;padding:22px;cursor:pointer;color:var(--green)}.import-picker strong{font-size:14px;font-weight:500;word-break:break-all;text-align:center}.import-picker>span:last-child{font-size:12px;color:#8a9890}.form-error{color:#ae423e;background:#fff2f0;border-radius:7px;padding:12px;font-size:13px;line-height:1.7}.preview-dialog{width:min(930px,calc(100% - 28px));padding:0;background:#eef1f3}.preview-toolbar{background:white;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:1}.preview-toolbar>strong{font-size:14px;font-weight:500}.preview-toolbar>div{display:flex;align-items:center;gap:12px}.preview-toolbar span#preview-count{font-size:13px;color:#819097}.preview-paper{padding:24px;min-height:200px;display:flex;justify-content:center;align-items:flex-start;overflow:auto}.preview-paper canvas{display:block;max-width:100%;height:auto;background:white;box-shadow:0 3px 15px #21353c17}.blank-preview{background:white;box-shadow:0 3px 15px #21353c17;max-width:100%}.replace-dialog{width:500px;max-width:calc(100% - 30px)}.replace-dialog .dialog-actions{flex-wrap:wrap}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#233e34;color:white;font-size:14px;border-radius:10px;box-shadow:0 5px 25px #233e3433;z-index:10;max-width:calc(100% - 30px);line-height:1.6;display:flex;gap:18px;align-items:center}.toast.error{background:#8b3936}.toast button{background:transparent;border:0;color:white;text-decoration:underline;white-space:nowrap}.busy-overlay{position:fixed;inset:0;background:#f8fafbee;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;backdrop-filter:blur(4px)}.busy-overlay strong{font-size:18px;font-weight:550}.busy-overlay>span:last-child{font-size:14px;color:#8a979e}.spinner{border:3px solid #dce9e3;border-top-color:var(--green);border-radius:50%;width:34px;height:34px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1500px){main{margin-top:45px}.empty-state{min-height:460px}}@media(max-width:1050px){.page-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.workflow{gap:20px}.step-line{width:35px}}@media(max-width:800px){.toolbar{flex-wrap:wrap;padding:13px 17px}.toolbar-group{gap:5px}.toolbar-group:last-child{margin-left:auto}.filebar{align-items:flex-start;flex-direction:column}.file-info strong{max-width:calc(100vw - 130px)}.selection-controls{width:100%;padding-top:7px}.page-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}.heading-row{margin-bottom:22px}.step-line{display:none}.workflow{justify-content:space-between;gap:10px}.workflow>div{gap:8px}.privacy{font-size:12px}.site-header{padding:0 25px}}@media(max-width:600px){.site-header{height:76px;padding:0 20px}.brand{font-size:23px}.brand-sub{display:none}.privacy{max-width:150px;line-height:1.7;align-items:flex-start}.privacy svg{margin-top:2px;flex-shrink:0}.brand-mark{width:37px;height:37px;border-radius:10px}main{margin-top:15px;padding:0 14px}h1{font-size:26px}.intro{font-size:14px;max-width:320px}.version-label{display:none}.toolbar{gap:8px;padding:12px}.toolbar-group:first-child{width:100%}.toolbar-group .button{padding:9px 10px;font-size:13px}.toolbar .divider{margin:0 2px}.toolbar-group:last-child{justify-content:flex-end;width:100%}.empty-state{margin:15px;min-height:353px;padding:24px 12px}.empty-state h2{font-size:20px}.page-grid{padding:18px 14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.page-surface{padding:11px}.filebar{padding:17px 15px 0}.selection-controls{gap:12px}.workspace-footer{padding:12px 15px;font-size:12px}.footer-tip{display:none}.workflow{margin:28px 8px 30px;align-items:flex-start}.workflow>div{flex-direction:column;align-items:flex-start;gap:10px}.workflow small{font-size:12px;line-height:1.7;white-space:normal}.workflow strong{font-size:13px}.step-number{width:29px;height:29px;font-size:12px}.site-footer{padding:20px 18px;flex-direction:column;gap:10px;font-size:12px}.dialog-actions .button{padding:10px 12px}.preview-paper{padding:14px}.preview-toolbar{padding:10px}.preview-toolbar>div{gap:4px}.preview-toolbar>strong{font-size:13px}.toast{bottom:14px;width:max-content;max-width:calc(100% - 28px)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}.spinner{animation-duration:2s}}
@media(max-width:600px){.toolbar-group:first-child{flex-wrap:wrap}.toolbar-group:first-child>.divider{display:none}}
.page-surface{cursor:grab;user-select:none;touch-action:pan-y}.page-surface:active{cursor:grabbing}.page-surface canvas{pointer-events:none}.page-caption-text{flex:1;min-width:0}.page-caption-text small{max-width:100%}.page-drag-handle{flex-shrink:0;width:22px;height:30px;touch-action:none;cursor:grab;color:#a0aaaF}.page-drag-handle:hover:not(:disabled){color:var(--green);background:#edf4f0}.page-drag-handle:active{cursor:grabbing}.page-drag-handle svg{width:14px;height:18px}.page-actions{flex-shrink:0}.drag-source{opacity:.28}.drag-ghost{position:fixed;z-index:30;pointer-events:none;opacity:.92;transform:rotate(2deg);margin:0;filter:drop-shadow(0 8px 14px #2345362b)}.drag-ghost .page-caption{visibility:hidden}.sorting-active{cursor:grabbing;user-select:none}.drop-before::before,.drop-after::after{content:'';position:absolute;top:0;bottom:36px;width:3px;background:var(--green);border-radius:3px;z-index:2}.drop-before::before{left:-9px}.drop-after::after{right:-9px}.move-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.move-fields .field-label{margin-top:0}input[type=number],textarea{width:100%;padding:12px;border:1px solid #dce3e7;border-radius:7px;background:white;color:#364750;font-size:14px;min-height:43px}textarea{font:inherit;font-size:14px;line-height:1.7;resize:vertical;max-height:260px}.field-hint{line-height:1.7}.toolbar-group:first-child{flex-wrap:wrap}.drop-before .page-surface,.drop-after .page-surface{background:#eaf3ed}@media(max-width:600px){.drop-before::before{left:-7px}.drop-after::after{right:-7px}.page-caption{gap:3px}.page-actions{gap:0}.page-drag-handle{width:20px}.page-actions .icon-button{width:24px}.move-fields{gap:12px}}
.image-dialog{width:1040px;max-width:calc(100% - 28px);padding:24px}.image-editor-toolbar{display:flex;align-items:center;gap:12px;margin:20px 0 16px}.image-editor-toolbar>label{font-size:14px;color:#64747b;white-space:nowrap}.image-editor-toolbar>select{width:150px;padding:10px}.image-editor-toolbar>.button{margin-left:auto}.image-editor-body{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:24px}.image-stage-wrap{height:clamp(280px,58dvh,640px);background:#edf1f2;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden}.image-stage{position:relative;flex:none;background:#fff;box-shadow:0 3px 16px #263b4220;overflow:hidden}.image-stage #image-base,.image-stage #image-layers{position:absolute;inset:0}.image-stage canvas{width:100%;height:100%;display:block}.image-stage-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:15px;color:#8b969c;font-size:13px;pointer-events:none}.image-overlay{position:absolute;transform-origin:center;cursor:move;touch-action:none;user-select:none;outline:1px solid transparent}.image-overlay>img{width:100%;height:100%;display:block;pointer-events:none}.image-overlay:hover{outline-color:#72aa9880}.image-overlay.active{outline:2px solid #4f9379}.image-overlay:focus-visible{outline:2px solid #205d4c}.image-resize-handle{display:none;position:absolute;width:12px;height:12px;border-radius:3px;background:white;border:2px solid #4f9379;box-shadow:0 1px 3px #0002;z-index:1;touch-action:none}.active>.image-resize-handle{display:block}.image-resize-handle.nw{left:-6px;top:-6px;cursor:nwse-resize}.image-resize-handle.ne{right:-6px;top:-6px;cursor:nesw-resize}.image-resize-handle.sw{left:-6px;bottom:-6px;cursor:nesw-resize}.image-controls{min-width:0}.image-controls .field-label{margin-top:18px;display:flex;justify-content:space-between}.image-controls .field-label:first-child{margin-top:0}.image-controls .field-label>span{font-size:12px;color:#8c979d}.image-controls select{font-size:13px;overflow:hidden;text-overflow:ellipsis;padding:10px}.image-controls input[type=range]{width:100%;accent-color:var(--green);cursor:pointer;height:24px;margin:5px 0}.angle-field{position:relative}.angle-field input{padding-right:34px}.angle-field>span{position:absolute;right:15px;top:12px;color:#8b969c}.rotation-presets{display:flex;gap:5px;margin-top:6px}.rotation-presets button{flex:1;border:1px solid #dfe6e4;background:white;color:#5f746b;border-radius:6px;padding:9px 4px;font-size:13px}.rotation-presets button:hover,.rotation-presets button.active{background:#edf5f0;border-color:#72aa98;color:var(--green)}.image-position-actions{display:flex;gap:6px;margin:23px 0 14px}.image-position-actions .button{padding:9px 10px;font-size:13px}.image-empty-help{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:180px;color:#82918a;font-size:13px}.image-empty-help>span{padding:14px;background:#edf4f0;border-radius:12px;margin-bottom:17px;color:#60917d}.image-empty-help svg{width:27px;height:27px}.image-empty-help strong{font-size:15px;font-weight:500;color:#536a5f}.image-empty-help p{line-height:1.8;margin:9px 0 18px}.image-save-hint{margin-right:auto;align-self:center;color:#8a9790;font-size:12px}.image-dialog .dialog-actions{margin-top:18px}.preview-image-button{font-size:13px;padding:7px 10px;min-height:34px}.image-editor-body .field-hint{font-size:12px;line-height:1.7}
@media(max-width:1050px){.toolbar{flex-wrap:wrap}.toolbar-group:last-child{margin-left:auto}}
@media(max-width:700px){.image-dialog{padding:18px;max-height:94dvh;max-width:calc(100% - 16px)}.image-editor-body{grid-template-columns:1fr;gap:20px}.image-stage-wrap{height:44dvh;min-height:250px}.image-editor-toolbar{gap:8px}.image-editor-toolbar>label{font-size:13px}.image-editor-toolbar>select{width:110px}.image-editor-toolbar>.button{font-size:13px;padding:10px}.image-controls #image-properties{display:grid;grid-template-columns:1fr;gap:0}.image-empty-help{min-height:160px}.image-controls .field-label{margin-top:14px}.image-controls .image-position-actions{margin-top:16px}.image-resize-handle{width:17px;height:17px}.image-resize-handle.nw{left:-8px;top:-8px}.image-resize-handle.ne{right:-8px;top:-8px}.image-resize-handle.sw{left:-8px;bottom:-8px}.image-save-hint{display:none}.image-dialog .dialog-actions{position:sticky;bottom:-18px;background:white;padding-bottom:6px}.preview-image-button{font-size:12px;padding:7px}.preview-image-button svg{display:none}}
.image-dialog{max-height:94dvh}.image-stage-wrap{height:clamp(280px,calc(94dvh - 255px),620px)}.image-controls .field-label{margin-top:14px}.image-position-actions{margin-top:16px}.preview-image-button{font-size:13px;padding:7px 10px;min-height:34px}@media(max-width:700px){.image-stage-wrap{height:44dvh}.image-dialog .dialog-heading{position:sticky;top:-18px;z-index:3;background:white;padding:6px 0 10px}.preview-image-button{font-size:12px;padding:7px}}
.image-overlay.active{outline-offset:-2px}.image-resize-handle.nw{left:1px;top:1px}.image-resize-handle.ne{right:1px;top:1px}.image-resize-handle.se{right:1px;bottom:1px}.image-resize-handle.sw{left:1px;bottom:1px}
.image-rotate-handle{display:none;position:absolute;right:-16px;bottom:-16px;width:32px;height:32px;padding:5px;border:1.5px solid #4f9379;border-radius:50%;background:#fff;color:#23654f;box-shadow:0 2px 7px #183d3126;z-index:2;touch-action:none;cursor:grab}.image-overlay.active>.image-rotate-handle{display:grid;place-items:center}.image-rotate-handle svg{width:100%;height:100%;pointer-events:none}.image-rotate-handle:hover{background:#edf5f0;border-color:#205d4c}.image-rotate-handle:active{cursor:grabbing;background:#dcefe4}.image-rotate-handle:focus-visible{outline:3px solid #23654f;outline-offset:2px}@media(max-width:700px){.image-rotate-handle{width:40px;height:40px;right:-20px;bottom:-20px;padding:7px}}
@media(max-width:700px){.image-editor-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr)}.image-editor-toolbar>select{width:100%;min-width:0}.image-editor-toolbar>.button{grid-column:1/-1;width:100%;margin:0}.image-dialog .dialog-heading>div{min-width:0}.image-dialog .dialog-heading h2{font-size:20px}.image-dialog .dialog-heading .icon-button{flex-shrink:0}}
