@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,Noto Sans SC,system-ui,sans-serif;color:#202321;background:#f5f3ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.site-header{height:76px;padding:0 clamp(22px,4vw,64px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e8e7e2}.brand{display:flex;gap:13px;align-items:center}.brand-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#d9f16c;color:#20291a;font-size:26px;line-height:1}.brand strong{display:block;font-size:17px;letter-spacing:-.04em}.brand span{display:block;margin-top:1px;font-size:11px;color:#858981;letter-spacing:.08em}.header-meta{display:flex;align-items:center;gap:30px;color:#757a73;font-size:12px}.header-meta a{font-weight:700;color:#262b24}.local-badge{display:flex;align-items:center;gap:8px}.local-badge i{width:7px;height:7px;border-radius:50%;background:#8cbd55;box-shadow:0 0 0 4px #eef6e2}.workspace{display:grid;grid-template-columns:minmax(350px,420px) minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{background:#fff;border-right:1px solid #e7e7e2;padding:34px clamp(22px,2.7vw,42px) 38px;overflow:auto}.sidebar-title{padding:4px 2px 28px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.22em;color:#7c8b50}.sidebar-title h1{font-size:clamp(28px,2.5vw,37px);line-height:1.27;letter-spacing:-.07em;margin:12px 0 11px;font-weight:800}.sidebar-title h1 em{font-style:normal;color:#7ca333}.sidebar-title p{font-size:12px;line-height:1.8;color:#848a82;max-width:310px}.panel{border-top:1px solid #ecece8;padding:24px 0}.section-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:17px}.step{background:#e9f4c5;color:#506728;border-radius:6px;font-size:10px;font-weight:800;padding:6px 7px}.section-heading h2{font-size:14px;letter-spacing:-.02em}.section-heading p{margin-top:3px;color:#a0a59c;font-size:11px}.dropzone{height:116px;border:1.5px dashed #ccd3be;border-radius:12px;background:#fbfcf7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.drag-over{background:#f1f8dd;border-color:#95b451}.upload-icon{font-size:24px;line-height:1;color:#789d38}.dropzone strong{font-size:12px}.dropzone small{font-size:10px;color:#a2aa9b}.import-note{margin-top:12px;font-size:11px;color:#9ca29a;overflow:hidden}.import-note strong{display:block;color:#30362e;overflow-wrap:anywhere}.import-note>span{display:block;line-height:1.5;margin-top:3px}.overlay-choice{display:block;margin-top:9px;color:#656d5d}.overlay-choice select{margin-top:4px;width:100%;height:33px;border:1px solid #e0e4d7;border-radius:6px;padding:0 7px;background:#fff;color:#333}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.setting-grid label{font-size:11px;font-weight:700;color:#60655f}.static-field,.setting-grid select{display:flex;align-items:center;justify-content:space-between;margin-top:7px;width:100%;height:37px;padding:0 10px;background:#f8f9f5;border:1px solid #e9ece3;border-radius:7px;color:#30362d;font-size:12px;font-weight:700}.static-field span{font-size:10px;color:#9ba596}.setting-grid select{cursor:pointer}.toggle-row{margin-top:20px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.toggle-row strong,.toggle-row small{display:block}.toggle-row strong{font-size:12px}.toggle-row small{margin-top:3px;font-size:10px;color:#a0a59f}.toggle-row input{position:absolute;opacity:0}.switch{width:36px;height:21px;border-radius:20px;background:#c7ccc2;position:relative;transition:.2s;flex:none}.switch:after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;background:#fff;border-radius:50%;transition:.2s}.toggle-row input:checked+.switch{background:#93ba4a}.toggle-row input:checked+.switch:after{transform:translate(15px)}.count{font-size:10px;background:#edf3df;color:#779249;padding:3px 6px;border-radius:20px;margin-left:4px}.slot-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.slot-actions button{height:33px;background:#f7f8f4;border:1px solid #e7ebe0;border-radius:6px;color:#586050;font-size:11px;font-weight:700}.slot-actions button:hover:not(:disabled){background:#eef5df}.slot-list{max-height:330px;overflow:auto;margin:13px -3px 0;padding:0 3px}.empty-list{padding:18px 8px;text-align:center;color:#a1a69f;font-size:11px}.slot-item{display:flex;align-items:center;gap:8px;padding:10px 7px;border:1px solid #eceee8;border-radius:8px;margin-bottom:6px;background:#fff;cursor:pointer}.slot-item.active{background:#f6faec;border-color:#b7d47f}.slot-check{accent-color:#8caf46;margin:0}.slot-index{font-size:10px;font-weight:800;color:#a0a999}.slot-description{min-width:0;flex:1}.slot-description strong{display:block;font-size:11px;white-space:nowrap}.slot-description small{display:block;color:#a0a7a0;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.number-label{font-size:9px;color:#90998c;text-align:center;flex:none}.number-label input{display:block;width:43px;height:29px;margin-top:2px;border:1px solid #dce4d2;border-radius:5px;padding:0 3px;text-align:center;font-size:12px;font-weight:800;color:#536b2c;background:#fff}.geometry-panel{border-top:1px solid #efefeb;margin-top:14px;padding-top:14px}.geometry-title{display:flex;justify-content:space-between;font-size:11px;font-weight:800}.geometry-title span{font-weight:400;color:#a2a89e;font-size:10px}.geometry-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:10px}.geometry-grid label{font-size:10px;color:#868e83}.geometry-grid input{width:100%;margin-top:4px;height:33px;border:1px solid #e2e8d8;border-radius:6px;padding:0 8px;color:#333}.selection-hint{font-size:10px;color:#a1a89e;line-height:1.6}.export-btn{width:100%;height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border:0;border-radius:9px;background:#d9f26c;color:#253014;font-size:13px;font-weight:800;box-shadow:0 5px 15px #d9eea355}.export-btn:hover:not(:disabled){background:#c9e953}.export-btn span:last-child{font-size:21px;font-weight:400}.status{min-height:24px;margin-top:11px;font-size:11px;color:#68883b;line-height:1.55}.status.error{color:#bd655c}.preview-area{display:flex;flex-direction:column;min-width:0;background:#f5f3ef;padding:34px clamp(25px,4vw,64px) 28px}.preview-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:21px}.preview-toolbar h2{font-size:24px;letter-spacing:-.06em;margin-top:7px}.preview-hints{display:flex;gap:18px;color:#91988b;font-size:10px}.preview-hints span{display:flex;align-items:center;gap:6px}.hint-dot{width:7px;height:7px;border-radius:50%;background:#95b94d}.preview-surface{flex:1;min-height:650px;border:1px solid #e6e5df;border-radius:15px;background-color:#e9e9e5;background-image:linear-gradient(45deg,#e0e1dd 25%,transparent 25%),linear-gradient(-45deg,#e0e1dd 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0e1dd 75%),linear-gradient(-45deg,transparent 75%,#e0e1dd 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;display:flex;align-items:center;justify-content:center;padding:28px;overflow:auto}.empty-preview{text-align:center;color:#9a9e95}.empty-art{height:150px;width:110px;margin:0 auto 20px;background:#fff;box-shadow:0 10px 35px #5552;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px}.empty-art span{background:#e6efcf}.empty-art span:nth-child(2){background:#dce2d3}.empty-art span:nth-child(3){background:#e9e7e1}.empty-art span:nth-child(4){background:#f1eacc}.empty-preview h3{font-size:16px;color:#535a4d}.empty-preview p{font-size:12px;margin-top:7px}.canvas-stage{position:relative;flex:none;width:min(100%,min(590px,calc((100vh - 245px)*.6667)));background:#fff;box-shadow:0 15px 50px #3e483139;touch-action:none;-webkit-user-select:none;user-select:none;overflow:hidden}.template-image{position:absolute;object-fit:fill;pointer-events:none}.photo-frame{position:absolute;background:#6fa8c433;border:1.5px solid #1b9aab;cursor:grab;display:flex;align-items:flex-start;justify-content:flex-start;touch-action:none}.photo-frame.selected{border:2px solid #ec654b;background:#ec654b2e;z-index:5;cursor:grabbing}.frame-label{background:#0c8fa3;color:#fff;font-size:10px;font-weight:800;line-height:1;padding:5px 6px;white-space:nowrap}.photo-frame.selected .frame-label{background:#ec654b}.frame-size{position:absolute;right:5px;bottom:4px;color:#075e67;background:#fffd;padding:1px 3px;font-size:9px;font-weight:700}.handle{display:none;position:absolute;width:10px;height:10px;background:#fff;border:2px solid #ec654b;border-radius:2px}.photo-frame.selected .handle{display:block}.handle.nw{top:-6px;left:-6px;cursor:nwse-resize}.handle.ne{top:-6px;right:-6px;cursor:nesw-resize}.handle.sw{bottom:-6px;left:-6px;cursor:nesw-resize}.handle.se{bottom:-6px;right:-6px;cursor:nwse-resize}.preview-footer{display:flex;justify-content:space-between;gap:15px;padding-top:14px;color:#9da39b;font-size:10px}.preview-footer span:first-child{color:#626d59;font-weight:700}.guide{display:grid;grid-template-columns:260px 1fr;gap:40px;padding:52px clamp(22px,4vw,64px);background:#e8efd8}.guide h2{margin-top:9px;font-size:22px;letter-spacing:-.05em}.guide-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.guide-steps article{border-left:1px solid #c9d8ae;padding-left:18px}.guide-steps b{font-size:11px;color:#789e38}.guide-steps h3{font-size:14px;margin-top:8px}.guide-steps p{font-size:11px;color:#77826e;line-height:1.7;margin-top:5px}footer{background:#e8efd8;padding:0 clamp(22px,4vw,64px) 28px;color:#849176;font-size:10px}@media(max-width:1050px){.workspace{grid-template-columns:350px minmax(0,1fr)}.preview-hints span:last-child{display:none}.preview-area{padding:28px}.preview-surface{min-height:570px}}@media(max-width:760px){.site-header{height:68px;padding:0 20px}.header-meta a{display:none}.workspace{display:flex;flex-direction:column}.sidebar{border-right:0;padding:30px 20px 20px}.preview-area{min-height:650px;padding:26px 20px}.preview-surface{min-height:570px;padding:18px}.canvas-stage{width:min(100%,370px)}.guide{grid-template-columns:1fr;gap:25px;padding:35px 20px}.guide-steps{gap:12px}.guide-steps article{padding-left:10px}footer{padding:0 20px 25px}}.photo-fill{position:absolute;display:grid;place-items:center;color:#fff;font-size:clamp(16px,3vw,56px);font-weight:800;pointer-events:none}.photo-frame,.photo-frame.selected{background:transparent;z-index:10}.photo-frame.selected{z-index:11}.size-note{margin-top:8px;font-size:10px;color:#91998b}.canvas-stage:has(.template-image){max-width:100%}
