:root{font-family:'Noto Sans Thai','Kanit',Tahoma,'Segoe UI',sans-serif;color:#16253a;background:#f3f6f4;font-synthesis:none;--ink:#12243a;--muted:#647287;--lime:#c9f440;--cyan:#24c4cf;--accent:#14a788;--line:#e4e9e6;--radius:21px;--shadow:0 16px 48px rgba(20,46,65,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #61d6c3;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{max-width:1500px;margin:0 auto;padding:0 34px 36px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:11px}.brand-icon{width:51px;height:51px;display:block;background:#12243a;border-radius:16px;padding:5px;transform:rotate(-7deg);box-shadow:0 5px 0 #c9f440}.brand-icon svg{width:100%;height:100%;display:block}.brand strong{display:block;letter-spacing:-.7px;font-family:Arial,Tahoma,sans-serif;font-size:20px;font-weight:950;line-height:1.2}.brand strong em{color:#149e88;font-style:normal}.brand small{font-size:9px;font-weight:850;letter-spacing:1.4px;color:#758593}.top-actions{display:flex;align-items:center;gap:25px}.help-link{font-size:12px;font-weight:750;color:#45546a}.help-link span{color:#23a8a3}.status-dot{display:flex;align-items:center;gap:8px;color:#546878;font-size:12px;font-weight:700}.status-dot i{width:9px;height:9px;border-radius:50%;background:#24b780;box-shadow:0 0 0 5px #dff6e9}.hero{position:relative;min-height:284px;background:#101f32;border-radius:30px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;padding:36px 48px;isolation:isolate;box-shadow:0 15px 35px #182c3a20}.hero:before{content:"";position:absolute;width:440px;height:440px;right:-120px;top:-220px;border:1px solid #4dd9d344;border-radius:50%;box-shadow:0 0 0 60px #6fc9ff05,0 0 0 130px #bdfd5308;z-index:-1}.hero:after{content:"";position:absolute;inset:0;background-image:radial-gradient(#b2ef7028 .9px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(90deg,transparent 0%,#000 100%);z-index:-1}.hero-copy{z-index:1;max-width:780px}.eyebrow{display:inline-flex;gap:8px;align-items:center;border:1px solid #ffffff24;background:#ffffff09;border-radius:50px;padding:8px 14px;color:#cdeaa8;font-size:11px;font-weight:800}.eyebrow-dot{color:#dbff4a}.hero h1{font-size:clamp(28px,3.4vw,46px);line-height:1.34;color:#fafdff;letter-spacing:-1.4px;margin:13px 0 14px;font-weight:850}.hero h1 span{color:#d8ff5f}.hero-copy>p{color:#c1ced6;line-height:1.9;max-width:760px;font-size:13px;margin:0}.hero-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:19px}.hero-chips span{font-size:10.8px;font-weight:750;color:#dff3e5;background:#ffffff10;border:1px solid #ffffff1d;padding:6px 11px;border-radius:15px}.hero-visual{position:relative;width:200px;height:213px;margin-right:18px;flex-shrink:0}.hero-frame{position:absolute;top:6px;left:23px;width:147px;height:208px;transform:rotate(9deg);background:#153f4d;border:7px solid #b8f548;border-radius:17px;padding:8px;box-shadow:0 12px 0 #55bca4,0 22px 25px #050e1c88}.hero-frame-head{height:23px;background:#dcff6f;border-radius:6px;display:flex;justify-content:space-between;align-items:center;padding:0 7px;font-size:9px;color:#163b42;font-family:Arial;font-weight:950}.hero-star{font-size:16px}.hero-photo-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,1fr);gap:5px;height:120px;margin-top:8px}.hero-photo-grid span{background:linear-gradient(150deg,#ccfff4,#bee3ff);border-radius:4px;position:relative;overflow:hidden}.hero-photo-grid span:before{content:"";position:absolute;left:12%;bottom:0;width:76%;height:65%;background:#339eb3;border-radius:65% 65% 0 0;opacity:.75}.hero-photo-grid span:after{content:"";position:absolute;top:14%;left:33%;width:35%;height:35%;border-radius:50%;background:#fff0af}.hero-footer{display:flex;gap:8px;justify-content:center;color:#e0ff6b;font-size:15px;margin-top:5px}.floating-float{position:absolute;font-size:27px;font-weight:900;color:#cbf94d}.float-one{top:5px;right:2px;color:#2ed8c7}.float-two{bottom:4px;right:6px}.float-three{bottom:24px;left:0;color:#ee8de4}.workspace{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:26px;align-items:start;margin-top:30px}.section-title{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:14px;padding:0 4px}.section-number{font-size:10px;color:#2b9985;letter-spacing:1.5px;font-weight:950}.section-title h2{font-size:25px;letter-spacing:-.8px;margin:3px 0 0}.text-button{background:transparent;border:0;color:#5e7483;font-size:12px;font-weight:800;padding:7px}.text-button:hover{color:#128e83}.locked-note{font-size:11px;font-weight:800;color:#399986;background:#e3f7ed;border:1px solid #b8ead4;padding:6px 10px;border-radius:20px;white-space:nowrap}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.preset-panel{padding:20px 22px;margin-bottom:15px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.panel-title h3{font-size:15px;letter-spacing:-.2px;margin:0}.panel-title>span{font-size:11px;color:var(--muted)}.preset-list{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.preset{border:1px solid #e2e9e6;background:#f9fbfa;padding:9px 12px;border-radius:11px;font-weight:800;font-size:11.5px;color:#3e5260;transition:.15s}.preset:hover,.preset.selected{background:#eaffb1;border-color:#b0d74c;color:#204937}.preset-icon{font-size:16px;margin-right:3px}.fields-panel{padding:24px;margin-bottom:15px}.panel-heading{display:flex;gap:11px;align-items:center;margin-bottom:22px}.panel-heading h3{font-size:17px;margin:0 0 2px;letter-spacing:-.3px}.panel-heading p{font-size:11px;color:var(--muted);margin:0}.round-icon{background:#ddf6de;color:#177a63;width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;font-size:19px;font-weight:900}.round-icon.pink{background:#ffe8f4;color:#b64b91}.round-icon.blue{background:#e4f3ff;color:#247ba6}.field{margin-bottom:16px;min-width:0}.field:last-child{margin-bottom:0}.field label,.object-group legend{display:block;font-size:12px;font-weight:850;color:#304155;margin-bottom:7px}.required{color:#e46170}.field input:not([type=checkbox]),.field select,.field textarea{width:100%;appearance:none;border-radius:11px;border:1px solid #dce5e4;background:#fcfdfc;color:#26384b;outline:none;padding:12px 13px;font-size:12.4px;min-height:46px;transition:.16s}.field input:focus,.field textarea:focus,.field select:focus{border-color:#4cc5a7;box-shadow:0 0 0 3px #4cc5a722}.field input::placeholder,.field textarea::placeholder{color:#99a5ad}.field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364757b' stroke-width='2' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat;padding-right:31px}.field textarea{resize:vertical;min-height:92px;line-height:1.8}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.palette-swatches{display:flex;gap:5px;margin-top:9px}.palette-swatches i{height:16px;width:31px;border:2px solid #fff;outline:1px solid #e5e8e6;border-radius:6px;box-shadow:0 2px 4px #00000010}.object-group{border:0;padding:0;margin:4px 0 17px}.object-group legend{padding:0;margin-bottom:9px}.helper{font-size:10.5px;color:#8997a2;font-weight:500}.objects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.object-checkbox{display:flex;align-items:center;gap:7px;padding:10px 9px;background:#f9fbfb;border:1px solid #e6eded;border-radius:10px;font-size:11px;color:#4c6070;cursor:pointer;line-height:1.3;min-width:0}.object-checkbox:hover{background:#f0faf3}.object-checkbox:has(input:checked){background:#edffd8;border-color:#a6dc82;color:#35643f;font-weight:800}.object-checkbox input{accent-color:#2f9970;width:15px;height:15px;flex:0 0 15px;margin:0}.object-checkbox span{overflow:hidden;text-overflow:ellipsis}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;border-radius:12px;border:1px solid #e0e8e5;padding:4px;background:#f5f8f6}.segmented button{border:0;border-radius:8px;background:transparent;color:#73838c;font-size:11.5px;font-weight:800;padding:10px 0}.segmented button.active{background:#d5fa92;color:#2b5738;box-shadow:0 2px 7px #4a72451a}.option-row{display:flex;gap:13px;flex-wrap:wrap;margin-top:5px}.toggle-line{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:700;color:#4d6570;cursor:pointer}.toggle-line input{position:absolute;opacity:0;width:1px;height:1px}.toggle-ui{width:32px;height:18px;background:#cdd8d4;position:relative;border-radius:15px;transition:.15s;flex:0 0 32px}.toggle-ui:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;transition:.15s}.toggle-line input:checked+.toggle-ui{background:#2da783}.toggle-line input:checked+.toggle-ui:after{transform:translateX(14px)}.toggle-line input:focus-visible+.toggle-ui{outline:3px solid #73d6bc}.preview-panel{padding:20px 22px 17px;margin-bottom:15px}.layout-preview{display:flex;align-items:center;justify-content:center;gap:30px;margin-top:22px}.preview-unit{width:42%;max-width:200px}.preview-graphic{display:flex;justify-content:center;align-items:center;min-width:0}.preview-graphic svg{display:block;max-height:327px;width:auto;max-width:100%;filter:drop-shadow(0 9px 9px #1c46501c)}.preview-graphic .outer{fill:#142943;stroke:var(--schemeA,#39b8b4);stroke-width:13}.preview-graphic .photo-slot{fill:#f1f8f9;stroke:#ffffff;stroke-width:14;rx:0;ry:0}.preview-graphic .banner-space{fill:#1b4855;stroke:#d4fd78;stroke-width:7;stroke-dasharray:20 14}.preview-graphic .qr-space{fill:#204057;stroke:#d6fd83;stroke-width:8;stroke-dasharray:13 11}.preview-graphic .banner-label{font-size:38px;fill:#d3f5c0;font-weight:850}.preview-graphic .slot-label{font-family:Arial,sans-serif;font-size:100px;fill:#83adaf;font-weight:950}.preview-graphic .qr-label{font-size:56px;fill:#e4ffbd;font-family:Arial,sans-serif;font-weight:950}.preview-unit-footer{text-align:center;display:flex;flex-direction:column;gap:2px;margin-top:11px;font-size:12px}.preview-unit-footer span{font-family:Arial,Tahoma,sans-serif;color:#718191;font-size:11px}.legend{display:flex;gap:11px;flex-wrap:wrap;justify-content:center;margin-top:18px;padding-top:13px;border-top:1px dashed #e6ece9}.legend span{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;color:#71818f}.legend i{display:block;width:12px;height:12px;border-radius:3px;background:#e6f6fc;border:1px solid #a5d7dc}.legend .legend-banner{background:#224854;border:1px dashed #beec72}.legend .legend-qr{background:#233b4e;border:1px dashed #c9fc7d}.prompt-panel{padding:24px;position:relative}.prompt-panel-head{display:flex;align-items:start;justify-content:space-between}.tiny-pill{display:inline-flex;border-radius:30px;background:#e7f8df;color:#317c52;padding:4px 9px;font-size:9px;font-weight:950;letter-spacing:.4px}.prompt-panel h3{font-size:20px;letter-spacing:-.4px;margin:8px 0 3px}.prompt-panel-head p{color:#778691;font-size:11.5px;margin:0}.prompt-icon{height:44px;width:44px;display:grid;place-items:center;background:#dfff91;color:#245342;font-size:29px;border-radius:13px}.generate-row{margin-top:18px}.btn{border-radius:12px;border:1px solid transparent;padding:12px 13px;font-size:11.5px;font-weight:850;display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:42px;transition:.14s}.btn:hover{transform:translateY(-1px)}.btn-generate{width:100%;padding:15px;font-size:14px;color:#193822;background:linear-gradient(105deg,#cfff59,#91e5a2);box-shadow:0 8px 15px #9dd99130;border-radius:13px}.btn-generate span{font-size:19px}.prompt-toolstrip{display:flex;justify-content:space-between;gap:5px;margin-top:14px;margin-bottom:9px}.meta-word{font-size:11px;color:#4e7475;font-family:Arial,Tahoma,sans-serif;font-weight:800}.meta-tip{font-size:10.5px;color:#83909a}.prompt-panel textarea{width:100%;min-height:390px;max-height:660px;border-radius:13px;padding:18px;font-size:12px;line-height:1.85;resize:vertical;color:#d5eee5;background:#111f2e;border:1px solid #213a4a;outline:none;font-family:'Noto Sans Thai',Tahoma,monospace}.prompt-panel textarea:focus{box-shadow:0 0 0 3px #3dbdb328}.output-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:10px}.btn-copy{background:#183f42;color:#fff}.btn-outline{color:#3d5265;background:#f8faf9;border:1px solid #e3eae7}.important-note{margin:14px 0 0;background:#fff8e9;border:1px solid #f3e7c8;border-radius:11px;padding:12px;color:#6c6149;font-size:10.5px;line-height:1.9}.important-note strong{color:#a1732d;margin-right:5px}.howto{padding:27px 0 36px}.howto-head{text-align:center;margin:20px 0}.howto-head h2{font-size:25px;margin:6px}.howto-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.howto article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow)}.howto-num{display:inline-grid;place-items:center;font-size:14px;font-family:Arial;font-weight:950;background:#deff83;color:#2d5941;width:39px;height:39px;border-radius:12px}.howto h3{font-size:15px;margin:11px 0 5px}.howto p{font-size:12px;color:#667789;line-height:1.85;margin:0}.footer{border-top:1px solid #e1e9e5;padding-top:19px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;color:#7f8b93;font-size:10px;font-weight:650}.footer b{color:#278f86}.toast{position:fixed;right:22px;bottom:23px;z-index:1000;background:#153a36;color:#fff;box-shadow:0 15px 40px #0b252644;border:1px solid #4cae9c;border-radius:13px;padding:13px 19px;max-width:350px;font-size:12px;font-weight:750}.toast[hidden]{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px){.app-shell{padding:0 20px 25px}.hero{padding:33px}.hero-copy{max-width:670px}.hero-visual{width:170px;margin-right:0}.workspace{gap:15px}.fields-panel{padding:18px}.prompt-panel{padding:20px}.output-actions{grid-template-columns:1fr 1fr}.output-actions .btn-copy{grid-column:1/-1}}
@media(max-width:850px){.topbar{height:77px}.top-actions .status-dot{display:none}.hero-visual{display:none}.hero{min-height:0}.workspace{grid-template-columns:1fr}.result-col{order:2}.config-col{order:1}.layout-preview{gap:20px}.preview-graphic svg{max-height:300px}.prompt-panel textarea{min-height:360px}.howto-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:33px}}
@media(max-width:560px){.app-shell{padding:0 12px 25px}.topbar{height:73px}.brand strong{font-size:15px}.brand small{font-size:7px;letter-spacing:.8px}.brand-icon{width:40px;height:40px;border-radius:12px}.help-link{font-size:11px}.hero{border-radius:23px;padding:24px 20px}.hero h1{font-size:27px;letter-spacing:-.9px}.hero h1 br{display:none}.hero-copy>p{font-size:11.5px}.hero-chips span{font-size:9.5px}.workspace{margin-top:22px}.section-title h2{font-size:21px}.preset-panel,.preview-panel{padding:17px}.fields-panel,.prompt-panel{padding:17px}.two-fields{grid-template-columns:1fr}.two-fields .field{margin-bottom:8px}.panel-heading h3{font-size:16px}.objects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.option-row{flex-direction:column;gap:12px}.layout-preview{gap:11px}.preview-unit{width:48%}.preview-graphic svg{max-height:280px}.legend{gap:6px}.legend span{font-size:9px}.output-actions{gap:7px}.btn{font-size:10.5px}.prompt-panel textarea{font-size:11px;min-height:340px}.howto{padding:20px 0}.howto-grid{grid-template-columns:1fr}.footer{font-size:9px}.panel-title>span{font-size:9px}.section-number{font-size:9px}}
