:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#282522;background:#f6f5f2;font-synthesis:none;font-weight:400}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,label.custom-template{cursor:pointer}button{transition:background .16s,transform .16s}button:disabled{cursor:not-allowed;opacity:.45}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f7aa83;outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.header{height:80px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8e4de;background:#fff}.brand{display:flex;gap:12px;align-items:center;font-size:20px;font-weight:750}.brand-mark{width:38px;height:38px;background:#d9472f;color:#fff;border-radius:11px;display:grid;place-items:center;font-size:23px}.brand-sub{font-size:14px;color:#8a837b;font-weight:450;margin-left:18px;border-left:1px solid #ded8d1;padding-left:18px}.header-right{display:flex;gap:8px;align-items:center;font-size:12px;color:#7e7870}.header-right button{margin-left:22px}.local-dot{background:#589274;width:6px;height:6px;border-radius:50%}main{max-width:1560px;margin:auto;padding:36px 4% 20px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#b16b50;font-weight:650}h1{font-size:29px;letter-spacing:-.7px;margin:10px 0;color:#322824;font-weight:650}.intro p{font-size:13px;color:#8b827a;margin:0}.edition{font-size:11px;color:#8d847c}.edition span{margin-left:10px;padding:5px 9px;border:1px solid #ddd5cd;border-radius:5px}.workspace{display:grid;grid-template-columns:240px minmax(340px,1fr) 254px;gap:16px;align-items:stretch}.panel{background:#fff;border:1px solid #e8e4dd;border-radius:13px;overflow:hidden}.panel-heading{padding:18px 18px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-heading h2,h2{font-size:14px;font-weight:650;margin:0}.panel-heading>span{font-size:10px;color:#989086}.step{font-size:10px;margin-right:9px;color:#ba9c8a}.template-panel{padding-bottom:16px}#templates{padding:0 12px;display:grid;gap:11px}.template-card{border:1.5px solid #e9e3db;border-radius:9px;padding:9px;background:#fff;text-align:left;width:100%;position:relative}.template-card.selected{border-color:#da5a3f;background:#fffaf5}.template-card.selected:after{content:"✓";position:absolute;right:15px;top:14px;border-radius:50%;background:#d85236;color:#fff;font-size:10px;width:17px;height:17px;text-align:center;line-height:17px}.template-thumb{height:124px;background-color:#f5f3ef;background-image:linear-gradient(45deg,#eae7e2 25%,transparent 25%),linear-gradient(-45deg,#eae7e2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eae7e2 75%),linear-gradient(-45deg,transparent 75%,#eae7e2 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0;border-radius:5px;display:flex;align-items:center;justify-content:center;overflow:hidden}.template-thumb img{max-height:112px;max-width:96%;object-fit:contain}.template-card h3{font-size:12px;margin:9px 0 4px;font-weight:600}.template-meta{font-size:10px;color:#95887c;display:flex;justify-content:space-between}.custom-template{display:block;margin:14px 16px 0;padding:11px 2px;border:1px dashed #d7cdc3;border-radius:7px;text-align:center;color:#8c6751;font-size:11px}.small-note{font-size:10px;line-height:1.8;color:#a1968b}.template-panel>.small-note{margin:10px 17px}.local-note{display:flex;gap:10px;padding:14px;margin:20px 14px 0;background:#f7f7f1;border-radius:8px;color:#6d7665}.local-icon{font-size:23px}.local-note strong{font-size:11px;font-weight:550}.local-note p{font-size:10px;line-height:1.7;margin:5px 0 0;color:#8e9285}.preview-panel{display:flex;flex-direction:column}.preview-stage{position:relative;flex:1;min-height:420px;background:#efeeeb;display:flex;align-items:center;justify-content:center;padding:28px;overflow:hidden;background-image:radial-gradient(#d4d0c8 .65px,transparent .65px);background-size:12px 12px}.canvas-wrap{max-width:100%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 30px #30201012}#preview{display:block;max-width:100%;max-height:440px;object-fit:contain;touch-action:none;cursor:grab;width:auto;height:auto}#preview:active{cursor:grabbing}.empty-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:13px;white-space:nowrap;color:#877d74}.empty-hint strong{font-size:16px;color:#61554c;font-weight:550}.empty-hint>span:not(.upload-symbol){font-size:11px}.upload-symbol{font-size:28px;background:#fff8;border:1px solid #e1d6cc;border-radius:12px;width:51px;height:51px;text-align:center;line-height:48px}.empty-hint .primary{font-size:11px;padding:10px 23px;margin-top:4px}.preview-footer{height:43px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;gap:8px;font-size:10px;color:#91867b}.preview-tip{white-space:nowrap;font-size:9px;color:#afa498}#previewLabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-panel{display:flex;flex-direction:column}fieldset{border:0;padding:0 18px;margin:0;min-width:0}.field-label{display:block;font-size:11px;color:#7e736a;margin:2px 0 9px}.segmented{background:#f4f2ee;padding:3px;border-radius:6px;display:flex;gap:4px}.segmented button{flex:1;padding:8px 0;border:0;background:none;color:#96897e;font-size:11px;border-radius:4px}.segmented button.selected{background:#fff;box-shadow:0 1px 4px #0000000b;color:#5b4435}.range-heading{display:flex;justify-content:space-between;font-size:11px;margin-top:21px;color:#7e736a}.range-heading output{font-size:10px;color:#ad9d90}input[type=range]{width:100%;accent-color:#ce5a3d;margin:11px 0 17px;height:4px}.position-inputs{display:flex;gap:10px}.position-inputs label{font-size:10px;color:#998b7f;position:relative;flex:1;min-width:0}.position-inputs input{margin-top:6px;display:block;width:100%;border:1px solid #e6dfd7;border-radius:5px;padding:7px 22px 7px 9px;font-size:11px;color:#62574e}.position-inputs span{position:absolute;right:10px;bottom:9px;font-size:9px}.inline-field{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#7e736a;margin-top:17px}.inline-field input[type=color]{border:1px solid #e5ddd5;border-radius:5px;width:29px;height:25px;padding:2px;background:#fff}.adjust-actions{display:flex;justify-content:space-between;margin-top:11px}.text-btn{padding:4px 0;background:none;border:0;color:#8f7e70;font-size:11px}.adjust-actions .text-btn{font-size:10px}hr{border:0;border-top:1px solid #eee8e2;margin:18px 0}select{width:100%;padding:9px 10px;border:1px solid #e8e1d9;border-radius:6px;background:#fff;font-size:11px;color:#716258}input[type=checkbox]{accent-color:#d65638}.settings-panel .small-note{margin:11px 0}.export-area{padding:5px 18px 18px;margin-top:auto}.primary,.secondary,.small-btn{border-radius:6px;padding:10px 15px;font-size:11px;border:1px solid transparent;font-weight:550;white-space:nowrap}.primary{background:#cf5134;color:#fff;border-color:#cf5134}.primary:hover:not(:disabled){background:#b9432a}.secondary{background:#fff;border-color:#e4dcd3;color:#7b6554}.secondary:hover:not(:disabled){background:#faf7f1}.small-btn{padding:5px 10px;border-color:#e4dcd3;background:#fff;color:#7b6554}.export-area>.primary,.export-area>.secondary{width:100%}.export-area .small-note{margin:6px 0 13px;font-size:9px;overflow-wrap:anywhere}.export-btn{display:flex;align-items:center;justify-content:center;gap:12px;height:40px}.export-btn span{border-left:1px solid #ffffff55;padding-left:12px;font-size:10px}#cancelBtn{margin-top:8px}.queue-panel{margin-top:18px}.queue-heading{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee9e3}.queue-heading h2 span{margin-left:8px;font-size:10px;border-radius:4px;background:#f3eee7;padding:2px 6px;color:#9c8069}.queue-heading p{font-size:10px;color:#a09286;margin:7px 0 0}.queue-actions{display:flex;gap:14px;align-items:center}.queue-empty{text-align:center;padding:28px 10px;color:#a59a8f}.queue-empty>span{font-size:24px}.queue-empty p{font-size:12px;margin:9px 0}.queue-empty small{font-size:10px;color:#b0a69b}.queue-item{display:flex;gap:13px;align-items:center;padding:13px 20px;border-bottom:1px solid #f0ece5;cursor:pointer}.queue-item.active{background:#fff9f2;box-shadow:inset 3px 0 #d85638}.queue-item:last-child{border-bottom:0}.file-thumb{width:45px;height:45px;object-fit:cover;background:#f0ede7;border-radius:5px}.file-info{flex:1;min-width:0}.file-name{font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.file-meta{font-size:10px;color:#a39588;margin-top:5px}.file-status{font-size:10px;color:#998677;max-width:230px}.file-status.error{color:#b94836}.file-status.done{color:#5c8363}.item-actions{display:flex;align-items:center;gap:13px}.queue-item progress{width:70px;height:4px;accent-color:#d25133}.batch-progress{border-top:1px solid #eee4d9;padding:15px 22px}.batch-progress>div{display:flex;justify-content:space-between;font-size:11px;color:#8f7663;margin-bottom:9px}progress{width:100%;height:5px;accent-color:#d25133}.footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.4px;color:#a89b8e;padding:19px 2px}.dragover{outline:2px dashed #d2573a;outline-offset:3px;background:#fff6ee!important}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);padding:13px 22px;background:#3c3028;color:#fff;border-radius:8px;font-size:12px;box-shadow:0 4px 20px #0002;z-index:20;max-width:90vw}dialog{border:1px solid #e4dcd2;border-radius:14px;padding:26px;max-width:520px;color:#645548;box-shadow:0 15px 80px #0003}dialog::backdrop{background:#26201b66;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px}dialog ol{padding-left:21px;font-size:13px;line-height:2}dialog p{font-size:12px;line-height:1.8;color:#8b7e71}#queueList{max-height:370px;overflow:auto}@media(min-width:1450px){.workspace{grid-template-columns:260px minmax(400px,1fr) 275px}.preview-stage{min-height:485px}#preview{max-height:470px}}@media(max-width:1050px){main{padding:25px 20px}.workspace{grid-template-columns:195px minmax(250px,1fr) 220px;gap:10px}.panel-heading{padding:16px 13px}.panel-heading h2{font-size:12px}.preview-stage{padding:15px}.preview-tip{display:none}.template-thumb{height:112px}.template-thumb img{max-height:102px}.queue-actions{gap:8px}}@media(max-width:800px){.header{height:66px;padding:0 18px}.brand-sub{display:none}.header-right>span:not(.local-dot){display:none}.header-right button{margin-left:7px}h1{font-size:24px}.edition{display:none}.workspace{grid-template-columns:1fr}.template-panel{order:0}#templates{grid-template-columns:repeat(2,minmax(0,1fr));max-height:240px;overflow:auto}.template-thumb{height:94px}.template-thumb img{max-height:85px}.local-note,.template-panel>.small-note{display:none}.custom-template{margin-top:10px}.preview-panel{order:1}.preview-stage{min-height:350px}#preview{max-height:400px}.settings-panel{order:2}.settings-panel fieldset{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}.settings-panel fieldset>hr{display:none}.settings-panel fieldset>.range-heading{margin-top:0}.settings-panel .export-area{padding-top:15px}.queue-heading{align-items:flex-start;gap:10px}.queue-actions{flex-wrap:wrap;justify-content:flex-end}.queue-actions .primary,.queue-actions .secondary{padding:9px}.queue-heading p{line-height:1.7}.file-status{max-width:100px;line-height:1.6}.footer{line-height:1.8;gap:20px}.queue-item{padding:12px;gap:9px}.item-actions{gap:6px}.file-thumb{width:34px;height:34px}.intro{margin-bottom:20px}}@media(max-width:800px){.settings-panel fieldset{display:block}.settings-panel fieldset>.range-heading{margin-top:18px}.settings-panel fieldset>hr{display:block}.settings-panel .export-area{padding-top:6px}}.catalog-controls{margin:0 13px 12px}.catalog-controls label{font-size:10px;color:#9c8d80;display:block;margin-bottom:6px}.catalog-controls input{width:100%;border:1px solid #e8e1d9;border-radius:6px;background:#fff;padding:9px;margin-top:8px;font-size:10px;color:#69584b}#templates{max-height:480px;overflow-y:auto;overscroll-behavior:contain}.template-thumb{height:106px}.template-thumb img{max-height:98px}.original-download{display:block;margin:10px 16px;width:calc(100% - 32px)}.local-note{margin-top:13px}.template-meta{gap:6px}.template-meta span:last-child{color:#aa684e}@media(max-width:800px){#templates{max-height:330px}.catalog-controls{display:flex;align-items:center;gap:8px}.catalog-controls label{display:none}.catalog-controls select,.catalog-controls input{width:50%;margin:0}.template-panel>.small-note{display:block}.original-download{margin-top:8px}}.copy-panel{margin-top:20px;padding-bottom:18px}.locked-style{font-size:11px;color:#8e8178;font-weight:400;margin-left:12px}.copy-panel fieldset{border:0;padding:0 24px;margin:0}#copyInputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.copy-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.copy-field textarea{resize:vertical;min-height:45px;padding:11px;border:1px solid #dedbd7;border-radius:7px;background:#fff;font:14px/1.6 inherit;color:#333;width:100%;box-sizing:border-box}.copy-field textarea:focus{outline:2px solid #b26a43;outline-offset:1px}.copy-style{font-size:10px;color:#8b8178;font-weight:400;overflow-wrap:anywhere}.copy-field-error,#copyErrors{color:#b0392e;font-size:12px;font-weight:400}.copy-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 24px 10px}.copy-panel>.small-note,#copyErrors{margin:10px 24px}.no-copy #copyFields,.no-copy .copy-actions,.no-copy #copyHelp,.no-copy #resetCopy{display:none}.no-copy .queue-heading{padding-bottom:0}@media(max-width:900px){#copyInputs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){#copyInputs{grid-template-columns:1fr}.locked-style{display:block;margin:6px 0}.copy-actions>button{flex:1}}.match-controls{padding:14px;background:#f6f4ec;border-radius:12px;margin-bottom:16px}.match-controls label{font-size:12px}.match-controls .secondary{width:100%;font-size:12px}.match-controls input[type=checkbox]{accent-color:#567157}.review-panel{padding:24px;margin-top:20px}#reviewList{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px;margin-top:20px}.review-card{border:1px solid #e0e2d7;border-radius:14px;padding:14px;min-width:0}.review-card strong{display:block;overflow-wrap:anywhere;margin-top:12px}.review-card p,.review-card li{font-size:12px;color:#666d61;line-height:1.6}.review-card ul{padding-left:18px;min-height:40px}.review-images{height:180px;display:flex;align-items:center;justify-content:center;gap:5px;background:#eeeee7;border-radius:8px;overflow:hidden}.review-images button{background:none;border:0;min-width:0;height:100%;flex:1;cursor:pointer;padding:4px}.review-images img{max-width:100%;height:145px;object-fit:contain}.review-images span{display:block;font-size:10px}.review-actions{display:flex;justify-content:space-between;gap:8px}#videoSeek{width:110px;min-width:60px}.file-thumb{object-fit:contain}.review-panel .queue-actions{flex-wrap:wrap}.review-panel .queue-actions label{font-size:12px}.usage-guide{margin-bottom:32px;border-color:#ddd8c9;scroll-margin-top:20px}.guide-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 28px 18px}.guide-heading h2{font-size:23px;line-height:1.5;margin:8px 0}.guide-heading p{margin:0;font-size:13px;line-height:1.8;color:#766e62}.guide-start{flex-shrink:0;padding:12px 17px;border-radius:8px;background:#a35e3c;color:#fff;font-size:13px;font-weight:600}.guide-preflight{margin:0 28px 18px;padding:13px 16px;background:#f4f3eb;border-radius:8px;font-size:13px;line-height:1.9;color:#5d614f}.guide-details>summary{cursor:pointer;padding:16px 28px;border-top:1px solid #ece8df;font-size:14px;font-weight:650;color:#5b4637}.guide-details>summary span{float:right;font-weight:400;font-size:12px;color:#817665}.guide-details>summary:focus-visible{outline:3px solid #f7aa83;outline-offset:-4px}.guide-steps{list-style:none;margin:0;padding:8px 28px 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.guide-steps>li{border:1px solid #e8e3d9;background:#fffefa;padding:19px;border-radius:10px;min-width:0}.guide-number{font-size:12px;font-weight:700;color:#a56646;letter-spacing:2px}.guide-steps h3{font-size:16px;line-height:1.6;margin:7px 0 12px;color:#3b352d}.guide-steps p{font-size:13px;line-height:1.95;margin:0 0 10px;color:#70685c;overflow-wrap:anywhere}.guide-steps strong{font-weight:600;color:#3f392f}.guide-steps a{font-size:12px;color:#975332;text-decoration:underline;text-underline-offset:3px}.guide-example{padding:17px 28px;background:#f5f1e9;border-top:1px solid #e9e1d4;color:#6e5c46;font-size:13px;line-height:1.9}#workbench,#dropZone,#copyPanel,#batchReview{scroll-margin-top:20px}@media(max-width:1100px){.guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-heading h2{font-size:21px}}@media(max-width:650px){.guide-heading{padding:20px;align-items:flex-start;flex-direction:column;gap:14px}.guide-heading h2{font-size:20px}.guide-preflight{margin:0 20px 16px}.guide-details>summary{padding:16px 20px}.guide-steps{grid-template-columns:1fr;padding:4px 20px 20px;gap:14px}.guide-example{padding:16px 20px}.guide-start{font-size:12px}}
