:root{--ink:#18352e;--muted:#75827a;--line:#e4e9e2;--accent:#c9ef70;--paper:#f6f7f3}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','IBM Plex Sans Thai',sans-serif;font-size:14px}header{height:78px;border-bottom:1px solid #e5e9e2;display:flex;justify-content:space-between;align-items:center;padding:0 max(5%,calc((100vw - 1350px)/2));background:#fafbf8}.brand{display:flex;align-items:center;gap:11px}.brandmark{background:var(--ink);color:#d1f57e;width:37px;height:37px;border-radius:10px;display:grid;place-items:center;font-size:25px}.brand strong{font-size:16px;letter-spacing:-.5px}.brand strong span{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:1.3px;color:#8a968f;margin-top:2px}.header-right{display:flex;align-items:center;gap:28px}.header-right a{color:var(--ink);text-decoration:none;font-weight:600}.header-right a span{margin-left:9px}.status{font-size:11px;color:#66815a;background:#eef5e6;border:1px solid #e1ecd8;padding:8px 12px;border-radius:30px}main{max-width:1350px;margin:auto;padding:0 4%}.intro{display:flex;justify-content:space-between;align-items:end;padding:53px 0 38px}.eyebrow,.step,.tiny-label{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#7f9286}.eyebrow span{display:inline-block;width:8px;height:8px;background:#9bc854;border-radius:50%;margin-right:7px}.intro h1{font-size:clamp(35px,4vw,55px);line-height:1.15;margin:14px 0 8px;letter-spacing:-2px}.intro h1 span{color:#7eaa39}.intro p,.section-head p,.download p{color:var(--muted);margin:0}.intro-note{display:flex;align-items:center;gap:12px;color:#7d8c81;font-size:12px;line-height:1.7}.intro-note span{font-size:25px;color:#82ae44}.intro-note b{color:var(--ink)}.workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.8fr);gap:23px;align-items:start}.editor,aside{background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:0 8px 25px #233b2510}.editor{padding:32px}.section-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.section-head h2,.preview-head h2{font-size:21px;margin:7px 0 3px;letter-spacing:-.5px}.section-head p{font-size:12px}.tiny-label{font-size:9px;border:1px solid #ebefea;border-radius:20px;padding:7px 9px}.types{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.type{background:#fbfcfa;border:1px solid #e8ede7;border-radius:11px;min-height:85px;color:#6c8074;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font:inherit;font-size:11px}.type span{font-size:21px;line-height:1;color:#587368}.type.active{background:#eff8de;border-color:#a9d66b;color:#244d29;font-weight:700}.divider{height:1px;background:var(--line);margin:29px 0}.compact{margin-bottom:20px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.fields label,.custom label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}.fields label.full{grid-column:1/-1}input:not([type=color]):not([type=file]),textarea,select{width:100%;border:1px solid #e1e8e1;background:#fcfdfb;border-radius:8px;padding:12px;font:inherit;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#a1cd61!important}textarea{min-height:85px;resize:vertical}.custom{display:grid;grid-template-columns:1fr 1fr;gap:17px}.custom label span{border:1px solid #e1e8e1;border-radius:8px;display:flex;align-items:center;gap:10px;padding:6px;font-size:11px;color:#718077}.custom input[type=color]{width:30px;height:28px;border:0;background:none;padding:0}.custom input[type=file]{font:inherit;font-size:11px;max-width:100%}.hint{color:#84927e;font-size:11px;margin:18px 0}.primary{width:100%;border:0;background:#1c4438;color:#fff;border-radius:9px;padding:15px 18px;font:inherit;font-weight:700;cursor:pointer;display:flex;justify-content:space-between}.primary:hover{background:#2c5c4b}.error{color:#b24436}.preview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.preview-head h2{margin-bottom:0}.live{font-size:10px;color:#6c8b58;background:#f1f7e9;border-radius:30px;padding:8px 10px}.live i{display:inline-block;width:6px;height:6px;background:#85bd4e;border-radius:50%;margin-right:5px}aside{padding:26px}.preview-box{background:#f0f4e9;border:1px solid #e8eee0;border-radius:14px;padding:18px}.preview-top,.preview-bottom{display:flex;justify-content:space-between;color:#97a98f;font-size:9px;font-weight:700;letter-spacing:1px}.preview-top span:last-child{font-size:18px}#canvas-wrap{width:min(100%,300px);aspect-ratio:1;margin:13px auto;background:white;border-radius:12px;padding:16px;box-shadow:0 10px 30px #304d2510;display:grid;place-items:center}canvas{width:100%;height:100%;object-fit:contain}.preview-caption{font-size:11px;color:#8a998b;text-align:center;margin:15px 0 24px}.preview-caption span{color:#7dad45}.download{border-top:1px solid var(--line);padding-top:20px}.download b{font-size:14px}.download p{font-size:11px;margin-top:4px}.download-buttons{display:flex;gap:8px;margin-top:15px}.download-buttons button{flex:1;border:1px solid #dfe7dd;background:white;border-radius:8px;padding:12px 5px;color:var(--ink);font:inherit;font-size:11px;font-weight:700;cursor:pointer}.download-buttons button:hover{background:#eff8de}.dynamic{display:flex;gap:12px;background:#f5f8ef;border-radius:10px;padding:15px;margin-top:22px}.dynamic>span{font-size:20px;color:#8db850}.dynamic b{font-size:12px}.dynamic p{font-size:11px;line-height:1.65;color:#819184;margin:4px 0 0}footer{display:flex;align-items:center;justify-content:space-between;padding:35px 0;color:#9aa69d;font-size:10px}footer .brandmark{width:29px;height:29px;font-size:20px}footer .brand strong{font-size:12px}footer>span{letter-spacing:1px}@media(max-width:850px){.workspace{grid-template-columns:1fr}.intro-note{display:none}.types{grid-template-columns:repeat(5,1fr)}aside{max-width:none}.intro{padding-top:36px}}@media(max-width:500px){header{height:65px}.header-right .status{display:none}.header-right{gap:0}.intro h1{font-size:35px}.editor,aside{padding:20px}.types{grid-template-columns:repeat(3,1fr)}.type{min-height:75px}.fields,.custom{grid-template-columns:1fr}.fields label.full{grid-column:auto}.tiny-label{display:none}footer p,footer>span{display:none}}
.preset-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:18px}.preset-row span{font-size:11px;font-weight:600;margin-right:5px}.preset-row button{border:1px solid #dfe7dd;border-radius:20px;background:#fff;padding:6px 12px;color:#36584a;font:inherit;font-size:11px;cursor:pointer}.preset-row button:hover{background:#eff8de}

.shortener label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}.shortener .primary{margin-top:12px}.short-row{background:#f6f9f2;border:1px solid #e1ebd9;border-radius:10px;padding:12px;margin:10px 0;overflow-wrap:anywhere}.short-row a{color:#245d41;font-weight:700}.short-row p{margin:7px 0;color:#748479;font-size:11px}.short-actions{display:flex;gap:6px;flex-wrap:wrap}.short-actions button{background:white;border:1px solid #dae6d6;border-radius:7px;padding:7px 10px;color:#234c39;cursor:pointer}#short-status{color:#a13d30;font-size:12px}
