:root{font:14px Arial,Helvetica,sans-serif;color:#24352e;background:#edf0ef;--green:#173f32;--line:#dfe5e1}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select,summary,.upload{cursor:pointer}button,select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px 12px;color:inherit}button:hover{background:#eaf1ec}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.upload:focus-within{outline:3px solid #7ba491;outline-offset:3px}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;gap:22px;align-items:center}.brand img{width:112px}.brand span{border-left:1px solid var(--line);padding-left:22px;letter-spacing:2px;font-size:12px}.export-actions,.button-row{display:flex;gap:8px;align-items:center}.primary{background:var(--green);color:#fff;border:0;padding:13px 20px}.primary:hover{background:#285442}main{display:grid;grid-template-columns:310px minmax(0,1fr);height:calc(100dvh - 76px)}aside{background:#fff;padding:24px;overflow:auto;border-right:1px solid var(--line)}section+section{border-top:1px solid var(--line);margin-top:23px;padding-top:23px}h2{font-size:14px;margin:0 0 15px}h2 b{color:#9aaa9f;font-size:12px;margin-right:12px}.upload{position:relative;display:block;text-align:center;border:1px dashed #a7b8ac;border-radius:8px;padding:14px;background:#f7faf8;font-weight:600;overflow:hidden}.upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.small{padding:9px 12px;font-weight:400;white-space:nowrap}.hint,.privacy,.notice{font-size:12px;color:#78857e;line-height:1.55}.logo-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px}.logo-row img{width:110px;height:45px;object-fit:contain}.check{display:flex;gap:7px;align-items:center;line-height:1.5;margin-top:12px}.logo-preview-toggle{width:100%;margin-top:12px;border-color:#b8c9be;color:#254c3a;font-size:13px}.logo-preview-toggle[aria-pressed=true]{background:#edf4ef}input[type=checkbox],input[type=range]{accent-color:var(--green)}section>select,.field select{width:100%}.material-note{font-size:13px;line-height:1.55;color:#63776a;min-height:40px;margin:10px 0 18px}.control{margin:18px 0}.control label{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.control output{font-size:12px;color:#738477;font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:4px}details{border:1px solid var(--line);border-radius:8px;padding:12px;margin-top:16px}summary{font-size:13px;color:#62746a}.field{display:block;margin-top:18px;font-size:13px}.field select{margin-top:8px}.position{display:grid;grid-template-columns:1fr 1fr;gap:10px}.position label{font-size:12px}.position input{width:100%;border:1px solid var(--line);border-radius:5px;padding:9px;margin:7px 0 12px}.button-row button{font-size:13px;white-space:nowrap}.reset{width:100%;margin-top:22px;border:0;background:#f1f5f2;font-size:13px}.privacy{text-align:center;margin-bottom:0}article{min-width:0;padding:24px 28px;display:flex;flex-direction:column;overflow:hidden}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.toolbar strong{font-size:14px}.toolbar span{display:block;font-size:12px;color:#7e8b84;margin-top:6px}.toolbar select{font-size:12px;max-width:170px}.stage{background:#e3e8e5;border:1px solid #dbe1dd;border-radius:10px;flex:1;min-height:200px;overflow:auto;display:flex;align-items:center;justify-content:center;position:relative}canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;touch-action:none;cursor:move;background:white}canvas[hidden]{display:none}.stage.zoomed{display:block}.stage.zoomed canvas{max-width:none;max-height:none;object-fit:initial}.empty{text-align:center;padding:35px 20px}.empty-mark{font-size:30px;border:1px solid #bfcfc5;width:64px;height:64px;display:grid;place-items:center;border-radius:16px;color:#658574;margin:0 auto 25px}h1{font-size:24px;letter-spacing:-.5px;font-weight:500;margin:0 0 12px}.empty p{font-size:15px;line-height:1.7;color:#708277;margin-bottom:25px}.empty>span{display:block;font-size:12px;color:#849088;margin-top:15px}.canvas-footer{display:flex;gap:20px;justify-content:space-between;font-size:12px;color:#6c7d72;margin-top:15px}.notice{margin:12px 0 0}@media(max-width:950px){header{padding:0 18px}.brand span{display:none}main{grid-template-columns:275px minmax(0,1fr)}aside{padding:20px}article{padding:20px 16px}.toolbar{flex-wrap:wrap}.toolbar .button-row{width:100%;justify-content:space-between}.canvas-footer{flex-wrap:wrap;gap:6px}}@media(max-width:650px){header{height:65px;padding:0 12px}.brand img{width:90px}.primary{padding:11px 12px}main{display:flex;flex-direction:column;height:auto}article{order:-1;min-height:440px;height:60dvh;padding:15px}.stage{min-height:220px}.notice{display:none}.toolbar{margin-bottom:10px}.toolbar strong{font-size:13px}.toolbar .button-row{width:auto}aside{padding:22px;overflow:visible}h1{font-size:21px}.empty{padding:20px}.empty-mark{display:none}.empty p{font-size:14px}.canvas-footer>span:last-child{display:none}}

.text-editor{display:grid;gap:9px;margin-top:20px;padding-top:18px;border-top:1px solid #d9e3df}
.text-editor>label{font-weight:650;font-size:14px;color:#283d36}
.text-editor label output{float:right;font-weight:400;color:#667973}
.text-editor textarea{box-sizing:border-box;width:100%;min-height:92px;resize:vertical;border:1px solid #cad7d2;border-radius:9px;padding:11px 12px;background:#fff;color:#233b33;font:inherit;line-height:1.45}
.text-editor textarea:focus-visible{outline:2px solid #215947;outline-offset:2px}
.text-editor .hint{margin:0 0 4px}
.text-editor input[type=range]{width:100%;accent-color:#174a3b}
.text-editor .text-position{display:grid;gap:10px;margin-top:3px}
.text-editor .text-position label{font-size:14px;font-weight:600}
.text-editor .text-position output{float:right;font-weight:400}
.text-editor .text-position input{display:block;margin-top:9px;width:100%}
.text-editor #textCenter{justify-self:start;padding:9px 12px;border:1px solid #c9d8d2;border-radius:8px;background:#fff;color:#214638;cursor:pointer}
