*{box-sizing:border-box;letter-spacing:0}html{color:#202827;background:#f7f8f9;font:14px/1.6 system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #79b6ed;outline-offset:3px}a{color:#176eaf;text-decoration:none}a:hover{text-decoration:underline}svg{height:19px;width:19px;flex-shrink:0}h1,h2,p{margin:0}h1{font-size:24px;font-weight:650}h2{font-size:16px;font-weight:650}strong{font-weight:600}input,select,textarea{min-width:0;max-width:100%}[hidden]{display:none!important}.topbar{height:76px;padding:0 40px;background:#fff;border-bottom:1px solid #e0e5e6;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:12px;align-items:center;font-weight:650;color:#243a3a;font-size:16px}.brand>svg{width:32px;height:32px;padding:6px;background:#167d68;color:white;border-radius:6px}.brand-sub{font-size:12px;color:#73817e;display:block;font-weight:400}.quiet-link{display:inline-flex;gap:7px;align-items:center;color:#65716e;background:none;border:0;font-size:13px}.workbench{max-width:1240px;margin:0 auto;padding:32px 32px 0}.title-row{display:flex;align-items:center;gap:12px;margin-bottom:25px}.title-icon{height:42px;width:42px;border:1px solid #d4e7e2;background:#edf6f3;color:#167d68;border-radius:6px;display:grid;place-items:center}.title-icon svg{width:23px;height:23px}.local-badge{font-size:12px;color:#59716a;display:inline-flex;align-items:center;gap:5px;margin-left:auto}.local-badge svg{width:15px;height:15px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;border-top:1px solid #dce3e2;border-bottom:1px solid #dce3e2;background:#fff}.work-area{padding:24px;min-width:0}.stage{position:relative;height:420px;width:100%;background-color:#f5f7f7;background-image:linear-gradient(45deg,#e8eded 25%,transparent 25%),linear-gradient(-45deg,#e8eded 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8eded 75%),linear-gradient(-45deg,transparent 75%,#e8eded 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #dce3e2}.stage>img{display:block;max-width:100%;max-height:100%;object-fit:contain}.stage.dragover{outline:3px solid #167d68;outline-offset:-4px}.empty{display:flex;flex-direction:column;align-items:center;gap:15px;color:#758381;font-size:13px;padding:32px;background:#f5f7f7;border-radius:6px}.empty>svg{width:46px;height:46px;color:#829a94;stroke-width:1.2}.settings{border-left:1px solid #e0e5e4;padding:24px 20px}.settings-heading{display:flex;gap:8px;align-items:center;padding-bottom:17px;border-bottom:1px solid #e5eae9;margin-bottom:18px;color:#566860}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;font-size:13px;color:#435550}.field input:not([type=range]):not([type=checkbox]):not([type=color]),.field select,.field textarea{width:100%;border:1px solid #ccd7d4;border-radius:4px;padding:8px 10px;background:white;color:#273b34;min-height:38px}.field textarea{resize:vertical;min-height:112px}.field input[type=color]{width:100%;height:38px;border:1px solid #ccd7d4;border-radius:4px;padding:4px;background:white;cursor:pointer}.range{display:flex;gap:12px;align-items:center}.range input{min-width:0;flex:1;accent-color:#167d68}.range output{font-size:12px;min-width:35px;color:#61716d}.check-field{display:flex;align-items:center;gap:8px;margin-bottom:18px;font-size:13px}.check-field input{accent-color:#167d68;width:16px;height:16px}.row-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload{width:100%;min-height:42px;border:1px dashed #8daea4;border-radius:4px;color:#166d57;background:#f4faf7;margin-bottom:22px}.upload:hover{background:#eaf5ef}.primary{width:100%;min-height:42px;background:#167d68;color:white;border:1px solid #167d68;border-radius:4px;margin-top:6px}.primary:hover{background:#106c59}.reset{width:100%;min-height:38px;margin-top:8px}#status{margin-top:13px;font-size:12px;color:#357762;overflow-wrap:anywhere;min-height:20px}#status.error{color:#b63838}.file-list:not(:empty){margin-top:18px}.file-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5ebe9;min-height:65px;padding:8px 0}.file-row>img{width:42px;height:42px;object-fit:cover;border-radius:3px;background:#eee}.file-meta{flex:1;min-width:0}.file-meta strong,.file-meta span{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta span{font-size:11px;color:#7b8884}.icon-button{background:none;border:0;color:#668074;width:30px;min-width:30px;height:32px;padding:5px;border-radius:4px}.icon-button:hover{background:#edf4f0}.delay-label{font-size:10px;color:#71837c}.delay-label input{width:65px;display:block;border:1px solid #ccd7d4;padding:3px 5px;border-radius:3px;font-size:12px}.results{margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-heading>span{font-size:12px;color:#73817d}.result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.result{border:1px solid #dbe4df;border-radius:6px;background:white;overflow:hidden;min-width:0}.result-preview{height:170px;display:grid;place-items:center;background:#eef2f1;border-bottom:1px solid #e1e7e4;padding:12px}.result-preview>img{max-width:100%;max-height:145px;object-fit:contain}.result-preview>svg{width:36px;height:36px;color:#77968b}.result-info{padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.result-info>strong{font-size:12px;max-width:100%;overflow-wrap:anywhere}.result-info>span{font-size:12px;color:#74847d}.download{margin-top:7px;border:1px solid #b7d4c9;background:#f1f8f5;color:#176952;padding:6px 12px;border-radius:4px;font-size:12px;min-height:34px}footer{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:flex-start;font-size:11px;color:#7a8582;padding:23px 0 32px}footer a{color:#617d72}footer span:first-child{color:#4b6359}cropper-canvas{display:block;width:100%;height:100%}.swatches{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;margin-top:20px}.swatch{border:1px solid #d6dedb;border-radius:4px;overflow:hidden}.swatch-color{height:72px}.swatch button{width:100%;background:white;border:0;padding:10px;font-size:12px;flex-wrap:wrap}.metadata{margin-top:20px;white-space:pre-wrap;overflow-wrap:anywhere;background:#eef2f1;padding:16px;font:12px/1.7 ui-monospace,monospace;max-height:420px;overflow:auto}.metric{margin-top:20px;font-size:16px;color:#167d68}.catalog{max-width:1240px;margin:auto;padding:34px 32px}.catalog-title{display:flex;align-items:baseline;gap:16px;margin-bottom:24px}.catalog-title h1{font-size:26px}.catalog-title span{font-size:12px;color:#73817b}.catalog-toolbar{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid #dce3e0;border-bottom:1px solid #dce3e0;flex-wrap:wrap}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tabs button{border:0;background:none;color:#677870;border-radius:4px;padding:6px 13px;font-size:13px;min-height:34px}.tabs button[aria-selected=true]{background:#e0eee8;color:#13614e}.search{display:flex;align-items:center;gap:9px;flex:0 1 250px;border:1px solid #d5dfda;border-radius:4px;padding:7px 10px;background:#fff}.search input{border:0;width:100%;outline:0;background:none}.search svg{color:#81958b;width:17px}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:23px}.tool-tile{display:flex;gap:15px;align-items:center;border:1px solid #d9e2de;border-radius:6px;background:white;padding:22px 18px;color:#2c4337;min-height:108px}.tool-tile:hover{border-color:#87b6a4;text-decoration:none;background:#fcfefd}.tile-icon{width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;background:#edf3f8;color:#3577ab;border-radius:5px}.tool-tile:nth-child(3n+2) .tile-icon{background:#f8eeee;color:#ad6a68}.tool-tile:nth-child(3n) .tile-icon{background:#edf5ee;color:#508665}.tool-tile>div:nth-child(2){flex:1;min-width:0}.tool-tile h2{font-size:15px;margin-bottom:5px;overflow-wrap:anywhere}.tool-tile p{font-size:12px;color:#77877f}.tool-tile>svg{width:16px;color:#93a49b}.catalog-empty{padding:40px;color:#71827a}.catalog footer{margin-top:10px}.catalog-art{width:100%;height:76px;object-fit:cover;border-radius:3px;margin-bottom:22px;border:1px solid #dbe4df}

.catalog-art{height:100px;object-fit:contain;background:#edf2f1}

@media(min-width:1500px){.stage{height:480px}}

@media(max-width:900px){.topbar{padding:0 24px}.workbench{padding:24px 20px 0}.workspace{grid-template-columns:minmax(0,1fr) 245px}.work-area{padding:18px}.stage{height:370px}.settings{padding:20px 16px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:640px){.topbar{height:68px;padding:0 18px}.brand{font-size:14px}.quiet-link{font-size:12px}.workbench{padding:23px 16px 0}.title-row{gap:10px;margin-bottom:19px}h1{font-size:21px}.title-icon{width:36px;height:36px}.local-badge{font-size:10px}.local-badge svg{height:13px;width:13px}.workspace{grid-template-columns:minmax(0,1fr)}.work-area{padding:14px}.stage{height:285px}.settings{border-left:0;border-top:1px solid #e0e5e4;padding:20px}.settings-heading{margin-bottom:16px}.result-grid{grid-template-columns:minmax(0,1fr)}.file-row{gap:5px;flex-wrap:wrap}.file-meta{min-width:70px}.file-row>img{width:32px;height:32px}.delay-label input{width:58px}.icon-button{width:27px;min-width:27px}footer{gap:10px 18px}.catalog{padding:26px 16px}.catalog-title h1{font-size:22px}.catalog-toolbar{gap:13px}.search{flex-basis:100%}.tool-grid{grid-template-columns:minmax(0,1fr);gap:12px}.tool-tile{min-height:92px;padding:18px}.catalog-art{height:60px}}

.title-row h1{min-width:0;overflow-wrap:anywhere}.title-icon{flex-shrink:0}.local-badge{flex-shrink:0}.metadata{max-width:100%}

@media(max-width:400px){.title-row{flex-wrap:wrap}.title-row h1{flex:1;font-size:20px}.local-badge{margin-left:48px}.tool-tile p{overflow-wrap:anywhere}}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}



.result-save-hint{margin:0 0 16px;color:#536963;font-size:13px;line-height:1.8}.download-status{margin:5px 0 0;color:#365d51;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.download-status:empty{display:none}.download-status.error{color:#a13930}



#app .workspace .stage.stage-state{height:auto;min-height:240px;background:#f5f7f7;background-image:none}.stage-message{max-width:100%;text-align:center;gap:12px;overflow-wrap:anywhere}.stage-message strong{font-size:17px;color:#435550}.stage-message p{max-width:34em;line-height:1.7}.stage-message small{color:#65716e;font-size:12px}

@media(max-width:640px){#app .workspace .stage.stage-state{min-height:180px}.stage-message{padding:24px 20px}}