@font-face{font-family:StudioSans;src:url('/files/fonts/Regular.ttf')}*{box-sizing:border-box}body{margin:0;font-family:StudioSans,'Microsoft YaHei',sans-serif;color:#253c3a;background:#f5f6f3;font-size:13px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid #d8dfda;background:white;color:#344d49;padding:9px 14px;border-radius:7px;transition:background .15s}button:hover{background:#edf2ed}button.primary{background:#20594f;color:white;border-color:#20594f}button.primary:hover{background:#16443c}button:disabled{opacity:.45;cursor:wait}button.danger{color:#a23a31}button.small{padding:5px 9px;font-size:12px}input,select,textarea{width:100%;border:1px solid #d5ddd7;border-radius:6px;background:#fff;padding:9px 10px;color:#203d37}input:focus,select:focus,textarea:focus{border-color:#40877a;outline:2px solid #d8eae2}textarea{resize:vertical;min-height:80px;line-height:1.6}input[type=checkbox]{width:16px;height:16px;accent-color:#20594f}input[type=color]{padding:3px;height:37px}h1{font-size:23px;line-height:1.4;margin:0 0 5px;font-weight:600;letter-spacing:-.4px}h2{font-size:16px;margin:0 0 16px}h3{font-size:13px;margin:0 0 12px}p{margin:0 0 12px;line-height:1.8}.muted{color:#7b8d86}.tiny{font-size:11px}.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{background:#183e37;color:#c2d3ca;padding:26px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{padding:0 10px 27px;display:flex;gap:10px;align-items:center;color:#fff}.brandmark{width:33px;height:39px;border:1px solid #b6cbb9;border-radius:3px 10px 3px 3px;display:grid;place-items:center;font:20px Georgia,serif}.brand strong{font-size:14px;font-weight:500}.brand small{display:block;letter-spacing:2px;font-size:9px;color:#a7c2b6;margin-top:4px}.nav-label{font-size:10px;padding:0 11px 10px;letter-spacing:1.5px;color:#87ab9a}.nav{display:flex;flex-direction:column;gap:5px}.nav button{color:#bed2c8;text-align:left;border:0;background:transparent;padding:12px 14px;display:flex;gap:13px;align-items:center}.nav button span:first-child{font-size:16px;width:19px;text-align:center}.nav button.active{background:#31574b;color:#fff}.nav button:hover{background:#284e43}.side-foot{margin-top:auto;border-top:1px solid #34564a;padding:18px 10px 0;font-size:11px;line-height:1.9;color:#a6c2b1}.status-dot{width:6px;height:6px;border-radius:50%;background:#b2d58c;display:inline-block;margin-right:5px}.side-foot button{display:block;background:transparent;border:0;color:#b9ccbf;padding:8px 0;font-size:11px}.content{min-width:0}.topbar{height:65px;padding:0 30px;background:#fff;border-bottom:1px solid #e2e7df;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:12px;color:#82918a}.top-actions{display:flex;gap:10px;align-items:center}.status{font-size:11px;color:#82918a}.page{padding:28px 30px 36px;max-width:1750px;margin:auto}.page-heading{display:flex;align-items:start;justify-content:space-between;margin-bottom:23px;gap:14px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#79917e;margin-bottom:7px}.subtitle{color:#819087;font-size:12px;margin-bottom:0}.grid-main{display:grid;grid-template-columns:minmax(480px,1fr) 370px;gap:22px;align-items:start}.panel{background:#fff;border:1px solid #e0e5dc;border-radius:10px;overflow:hidden;margin-bottom:18px;box-shadow:0 2px 5px #173d3710}.panel-header{padding:17px 20px;border-bottom:1px solid #e8ece5;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-header h2,.panel-header h3{margin:0}.panel-body{padding:20px}.step{font-size:10px;color:#91a18d;font-family:monospace;margin-right:9px}.flex{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.spacer{flex:1}.field{display:block;margin-bottom:15px}.field>span,.field>label{font-size:11px;display:block;color:#728579;margin-bottom:6px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.fields .wide{grid-column:1/-1}.tabs{display:flex;gap:5px;border-bottom:1px solid #e1e8e0;padding:0 20px}.tabs button{background:none;border:0;border-radius:0;color:#7c9186;font-size:12px;padding:13px 15px}.tabs button.active{color:#20594f;border-bottom:2px solid #20594f}.pill{font-size:10px;padding:3px 7px;border-radius:4px;background:#edf3e9;color:#608459}.pill.warn{background:#fff2dd;color:#9d7333}.choices{display:flex;gap:9px;flex-wrap:wrap}.choice{padding:11px 13px;border:1px solid #dce4d9;border-radius:7px;display:flex;align-items:center;gap:9px;cursor:pointer;flex:1;white-space:nowrap}.choice:has(input:checked){border-color:#548675;background:#f0f6ef}.choice strong{font-weight:500;font-size:12px}.choice small{display:block;color:#85958a;font-size:10px;margin-top:3px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-weight:400;font-size:10px;color:#7d9183;background:#f7f9f4;padding:11px 16px;white-space:nowrap}td{border-top:1px solid #edf0e9;padding:13px 16px;font-size:12px}tr.selected td{background:#f0f5ec}.clickable{cursor:pointer}.clickable:hover td{background:#f7f9f4}.product-code{font-family:Georgia,serif;font-size:18px;color:#29483d}.preview-wrap{background:#e9ede5;padding:22px;display:flex;align-items:center;justify-content:center;min-height:290px}.preview-paper{line-height:0;box-shadow:0 4px 15px #223f3921;background:white;width:100%;position:relative}.preview-paper svg{width:100%;height:auto;display:block}.preview-caption{padding:12px 17px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#889789;background:#fbfcf9}.preview-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:15px}.preview-controls .wide{grid-column:1/-1}.alerts{font-size:11px;line-height:1.9;padding:10px 15px;color:#a16d2e;border-top:1px solid #e8e6d7;background:#fff9ed;max-height:180px;overflow:auto}.empty-note{padding:25px;color:#7e9183;text-align:center}.import-zone{padding:20px;border:1px dashed #b7cabb;border-radius:8px;display:flex;gap:16px;align-items:center;background:#f8faf5}.import-icon{width:43px;height:46px;background:#edf2e7;border-radius:6px;display:grid;place-items:center;font-family:Georgia,serif;font-size:24px;color:#5a8067}.import-zone p{font-size:11px;color:#8a998d;margin:4px 0 0}.export-bar{background:#f0f4e9;border:1px solid #d8e3ce;padding:18px 20px;border-radius:9px;display:flex;align-items:center;gap:16px}.export-count{font-size:30px;font-family:Georgia,serif;color:#315d43;line-height:1}.export-bar p{font-size:11px;color:#7f927e;margin:4px 0 0}.editor-grid{display:grid;grid-template-columns:200px minmax(310px,1fr) 260px;gap:16px;align-items:start}.template-list button{display:block;width:100%;text-align:left;border:0;border-radius:0;padding:12px 16px;border-bottom:1px solid #edf0e8;font-size:12px}.template-list button.active{background:#eef5e9;color:#285841;box-shadow:inset 3px 0 #4c7f5b}.element-list{max-height:330px;overflow:auto;padding:7px}.element-list button{display:block;width:100%;text-align:left;padding:7px 10px;border:0;background:none;font-size:10px;font-family:monospace}.element-list button.active{background:#e9f1e2;color:#345b3d}.canvas-shell{background:#e4e9df;min-height:600px;padding:30px;display:flex;align-items:start;justify-content:center;overflow:auto}.canvas-paper{position:relative;background:white;box-shadow:0 6px 28px #2d493826;width:420px;min-width:200px;flex-shrink:0;line-height:0}.canvas-paper svg{display:block;width:100%;height:auto}.element-hit{position:absolute;border:1px solid transparent;cursor:move;touch-action:none}.element-hit:hover{border-color:#6a9c77;background:#77ae7910}.element-hit.active{border:1.5px solid #578a61;background:#79ad7310}.element-hit.active:after{content:'';position:absolute;width:6px;height:6px;background:#fff;border:1px solid #578a61;right:-3px;bottom:-3px}.props .fields{gap:0 10px}.props .field{margin-bottom:10px}.props label>span{font-size:10px}.props input,.props select,.props textarea{font-size:11px;padding:7px}.props textarea{font-family:monospace;font-size:11px}.section-label{font-size:10px;letter-spacing:1px;color:#82907d;margin:16px 0 10px}.item-card{border:1px solid #dfe6d9;border-radius:8px;padding:15px;cursor:pointer}.item-card.active{border-color:#608c69;background:#f2f7ed}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:13px}.asset-image{height:95px;background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 50%/14px 14px;display:flex;align-items:center;justify-content:center;border-radius:5px;margin-bottom:10px;overflow:hidden}.asset-image img{max-width:90%;max-height:90%;object-fit:contain}.asset-name{font-size:11px;overflow-wrap:anywhere}.copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.copy-grid .field.wide{grid-column:1/-1}.copy-grid textarea{min-height:60px;font-size:12px}.copy-grid textarea.long{min-height:180px}.help{font-size:11px;color:#8a9989;line-height:1.9}.notice{background:#f8f4e7;border:1px solid #e9e1c8;border-radius:7px;padding:12px 16px;font-size:11px;line-height:1.9;color:#907840;margin-bottom:18px}.result{margin-top:14px;padding:14px;background:#f1f7ed;border-radius:7px;line-height:1.8;color:#476a41}dialog{width:min(680px,95vw);border:1px solid #d5dfcf;border-radius:12px;padding:24px;box-shadow:0 20px 60px #173d3733;color:#29443a}dialog::backdrop{background:#142e2555}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.loading{display:grid;place-items:center;min-height:50vh;color:#7d9785}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#234e3c;color:#fff;border-radius:7px;padding:12px 22px;z-index:1000;box-shadow:0 4px 18px #153b3125;max-width:80vw;transition:.2s;font-size:12px}#toast.show{opacity:1;transform:translate(-50%,0)}.footer-note{font-size:10px;color:#8d9c8b;line-height:1.9;margin-top:14px}.progress{font-size:12px;color:#65815e;line-height:1.8}.switch-line{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0}.block-button{width:100%;margin-top:8px}.btn-group{display:flex;gap:6px}.square{padding:6px 10px;font-size:13px}@media(min-width:1500px){.grid-main{grid-template-columns:minmax(500px,1fr) 420px}}@media(max-width:1150px){.shell{grid-template-columns:175px minmax(0,1fr)}.page{padding:22px 20px}.grid-main{grid-template-columns:minmax(390px,1fr) 295px}.editor-grid{grid-template-columns:160px minmax(260px,1fr)}.editor-grid>.props{grid-column:1/-1}.canvas-paper{width:330px}.canvas-shell{padding:18px}.topbar{padding:0 20px}}@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;padding:12px}.brand{padding-bottom:10px}.nav{flex-direction:row;overflow:auto}.nav-label,.side-foot{display:none}.nav button{white-space:nowrap;padding:9px}.grid-main,.editor-grid{grid-template-columns:1fr}.editor-grid>.props{grid-column:auto}.template-list{display:flex;overflow:auto}.template-list button{min-width:140px}.element-list{max-height:150px}.topbar{height:auto;padding:10px 16px}.status{display:none}.page{padding:20px 14px}.copy-grid{grid-template-columns:1fr}.fields{grid-template-columns:1fr 1fr}.page-heading{flex-wrap:wrap}.canvas-shell{min-height:500px}.preview-paper{max-width:330px}.export-bar{flex-wrap:wrap}}

.wizard-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:4px 0 24px}.wizard-step{display:flex;align-items:center;gap:10px;color:#95a28f;font-size:12px;border-bottom:2px solid #e2e8da;padding:10px 0 15px}.wizard-step>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1px solid #d5dfcd;font-family:Georgia,serif}.wizard-step strong{font-weight:500}.wizard-step.active{color:#20594f;border-bottom-color:#477e59}.wizard-step.active>span{background:#20594f;color:#fff;border-color:#20594f}.wizard-step.done>span{background:#e6efdd;color:#567c48}.wizard-actions{display:flex;align-items:center;gap:12px;margin:20px 0}.brand-review{border-bottom:1px solid #edf0e8;margin:18px 0;padding-bottom:10px}.review-product{display:flex;gap:18px;align-items:center;padding:8px 0 18px;border-bottom:1px solid #e8ece2}details>summary{cursor:pointer;font-size:12px;color:#668164}@media(max-width:600px){.wizard-step{font-size:10px;gap:5px}.wizard-step>span{width:22px;height:22px}}

.output-row{display:grid;grid-template-columns:130px 1fr;align-items:center;gap:15px;border-bottom:1px solid #edf0e8;padding:7px 0}.output-row:last-child{border:0}.output-row select{max-width:350px}

.output-row{grid-template-columns:90px minmax(120px,1fr) minmax(120px,1fr)}.output-row .tiny{display:block;margin-bottom:4px}.output-row select{margin-top:3px}@media(max-width:650px){.output-row{grid-template-columns:75px minmax(100px,1fr)}.output-row>div:last-child{grid-column:2}}

.output-row{grid-template-columns:70px minmax(120px,1fr) minmax(90px,1fr);gap:10px}@media(max-width:650px){.output-row{grid-template-columns:75px minmax(100px,1fr)}.output-row>div:last-child{grid-column:2}}

#packing-pages:empty{display:none}.packing-item{border:1px solid #dfe6d9;border-radius:8px;padding:14px;margin:12px 0}.packing-item-grid{display:grid;grid-template-columns:90px minmax(0,1fr);gap:15px;margin-top:12px}.packing-art{background:#f8faf6;min-height:90px;display:flex;align-items:center;justify-content:center}.packing-art img{max-width:90%;max-height:110px}.packing-item textarea{min-height:55px}.packing-item .field{margin-bottom:9px}.packing-item .switch-line{margin:0}.pdf-modal{width:min(980px,96vw)}.pdf-preview-stage{background:#e8ece3;text-align:center;padding:12px;min-height:220px;max-height:510px;overflow:auto}.pdf-crop-surface{position:relative;display:inline-block;line-height:0;touch-action:none;cursor:crosshair}.pdf-crop-surface img{display:block;max-width:100%;max-height:475px;width:auto;height:auto;user-select:none}.pdf-crop-surface #pdf-selection{position:absolute;border:2px solid #41865a;background:#76b18522;pointer-events:none}.pdf-crop-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}@media(max-width:650px){.pdf-crop-fields{grid-template-columns:1fr 1fr}.packing-item-grid{grid-template-columns:65px minmax(0,1fr)}}

.page:has(.packing-items) .grid-main>aside{position:sticky;top:14px}.page:has(.packing-items) .preview-paper{max-width:280px}

.brand{padding:0 2px 27px;gap:8px}.brand>div:last-child{min-width:0}.brandmark{width:30px;min-width:30px;flex-shrink:0}.brand strong{display:block;font-size:13px;line-height:1.5;white-space:nowrap}.brand small{font-size:10px;letter-spacing:.2px;line-height:1.5}
/* Project workspace */
.project-search{max-width:440px;margin:0 0 22px}.project-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.project-card{background:#fff;border:1px solid #dfe6df;border-radius:12px;padding:22px;box-shadow:0 3px 12px #244d3d04}.project-card-top,.project-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-card-top{margin-bottom:20px}.project-icon{display:grid;place-items:center;width:38px;height:42px;background:#edf4ec;border:1px solid #d6e3d4;border-radius:6px;font-size:23px;color:#557e60}.project-card h2{margin-bottom:7px;font-size:18px}.project-tags{display:flex;flex-wrap:wrap;gap:6px;margin:17px 0 22px}.project-tags span{background:#f2f5f0;border-radius:4px;padding:4px 7px;color:#708570;font-size:10px}.project-card-footer{border-top:1px solid #edf0eb;padding-top:16px}.project-card[hidden]{display:none}.project-work-grid{display:grid;grid-template-columns:minmax(350px,1fr) minmax(360px,.95fr);gap:22px;align-items:start}.work-tabs{display:flex;gap:4px;border-bottom:1px solid #dfe6dc;margin-bottom:22px}.work-tabs button{border:0;background:transparent;border-radius:0;padding:12px 19px;color:#869183}.work-tabs button.active{color:#285d4b;border-bottom:2px solid #427a57;background:#eef3e9}.project-preview{position:sticky;top:12px}.file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px;background:#fafcf8;border-bottom:1px solid #e2e8dc}.file-row{display:flex;align-items:center;gap:5px;background:white;border:1px solid #e1e7dc;border-radius:7px;padding:6px 7px;min-width:0}.file-row.active{background:#edf5e8;border-color:#779e71;box-shadow:0 0 0 1px #a5bea044}.file-row>label{padding:4px 0;display:flex}.file-row button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:2px 3px;overflow:hidden;min-width:0}.file-row strong{display:block;font-size:10px;line-height:1.7;font-weight:500;overflow-wrap:anywhere}.file-type{display:block;color:#8d9a87;font-size:9px;margin-bottom:3px}.project-preview .preview-wrap{padding:20px;min-height:240px}.project-preview .preview-paper{max-width:295px}.project-preview .preview-paper:has(svg[viewBox="0 0 100 70"]){max-width:440px}.preview-paper .loading{min-height:250px}.packing-page-strip:empty{display:none}.packing-page-strip{padding:8px 12px}.packing-entry-fields{display:grid;grid-template-columns:minmax(0,1fr) 68px;gap:10px}.packing-item .packing-entry-fields .compact-name{min-height:37px;height:39px;padding:7px 9px;line-height:1.35;resize:vertical}.packing-entry-fields input{height:39px;padding:7px}.packing-item-grid{grid-template-columns:64px minmax(0,1fr);gap:12px;margin-top:8px}.packing-art{min-height:64px}.packing-art img{max-height:75px}.packing-item{padding:11px;margin:9px 0}.packing-item select{padding:6px 8px;font-size:11px}.packing-item .field>span{font-size:10px}.packing-item .flex{gap:6px}.packing-item .small{font-size:10px;padding:4px 6px}.packing-item .switch-line{font-size:10px}.cert-brand{margin:24px 0 10px;font-size:15px}.cert-language{border-top:1px solid #e5eadf;padding:14px 0 4px}.cert-language>strong{font-size:12px;font-weight:500}.cert-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:9px;margin-top:12px}.cert-choice{padding:8px;border:1px solid #dce3d5;background:#fff;border-radius:7px;display:grid;grid-template-columns:16px 1fr;align-items:center;gap:7px;cursor:pointer}.cert-choice:has(input:checked){background:#f0f6eb;border-color:#75a26c}.cert-choice img{max-width:100%;height:40px;object-fit:contain;min-width:0}.cert-choice span{grid-column:1/-1;font-size:10px;color:#6c8165;text-align:center}.template-choices{max-height:55vh;overflow:auto}.template-choice{padding:11px 0;border-bottom:1px solid #e5ebdf;display:grid;grid-template-columns:1.1fr 1fr;gap:12px;align-items:center}.template-choice>label{display:flex;gap:9px;align-items:center;font-size:12px}.template-choice select{padding:7px;font-size:11px}.element-list .element-child{padding-left:20px;font-size:9px;color:#81947a}.element-list button.active{color:#285841}.editor-grid .template-list button{font-size:10px;overflow-wrap:anywhere}.project-work-grid .panel h2{font-size:14px}.project-work-grid .panel-body{padding:18px}.editor-grid .panel-header h3{margin:0;overflow-wrap:anywhere}.project-card .muted{min-height:18px}.project-preview .panel-header h3{margin:0}
@media(min-width:1600px){.project-work-grid{grid-template-columns:minmax(450px,1fr) minmax(420px,.85fr)}}
@media(max-width:1120px){.project-work-grid{grid-template-columns:minmax(300px,1fr) 330px}.file-list{grid-template-columns:1fr}.project-preview{position:static}}
@media(max-width:850px){.project-work-grid{grid-template-columns:1fr}.file-list{grid-template-columns:repeat(2,minmax(0,1fr))}.project-preview{position:static}.work-tabs{overflow:auto}.work-tabs button{white-space:nowrap;padding:10px 13px}.template-choice{grid-template-columns:1fr}.project-cards{grid-template-columns:1fr}.project-work-grid .fields{grid-template-columns:1fr 1fr}}
