:root{--bg:#f7f8f5;--panel:#fff;--ink:#163638;--muted:#718181;--line:#e3e8e2;--lime:#baf394;--mint:#edf6e9;--purple:#f0edfb;font-family:'Noto Sans Thai',Tahoma,system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,.dropzone:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #86bb77;outline-offset:4px}button{color:inherit}a{color:inherit}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}header{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:var(--panel)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:-.8px}.brand-icon{display:grid;place-items:center;background:var(--ink);color:var(--lime);border-radius:12px;width:41px;height:43px}.brand-icon svg{width:23px}.brand360{font-weight:400;margin-left:3px;color:#7b8a80}.header-note{font-size:10px;letter-spacing:1.6px;display:flex;align-items:center;gap:9px;color:#6e7d73}.green-dot{width:7px;height:7px;border-radius:100%;background:#75a96e}.layout{display:flex;max-width:1800px;margin:auto}.sidebar{width:241px;flex-shrink:0;border-right:1px solid var(--line);padding:39px 20px;display:flex;flex-direction:column;min-height:calc(100vh - 86px);background:#fcfdfb}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.7px;color:#7a887f}.sidebar>.eyebrow{margin:0 16px 20px}.tool-nav{display:flex;gap:12px;align-items:center;width:100%;border:0;background:none;text-align:left;padding:16px 12px;margin-bottom:9px;border-radius:10px;font-size:13px}.tool-nav.active{background:#eaf2e5}.tool-nav>svg{width:21px}.tool-nav small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.nav-dot{width:5px;height:5px;border-radius:50%;background:transparent;margin-left:auto}.active .nav-dot{background:#649750}.sidebar-bottom{margin-top:260px;padding:20px 14px}.sidebar-bottom>svg{width:21px;color:#7d9676}.sidebar-bottom p{font-size:12px;margin:12px 0 6px}.sidebar-bottom small{font-size:11px;line-height:1.9;color:var(--muted)}.local-tag{font-size:8px;letter-spacing:1px;border:1px solid var(--line);padding:7px 8px;margin-top:16px;border-radius:5px;width:max-content}main{width:100%;min-width:0;max-width:1320px;margin:auto;padding:46px 48px 24px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px;min-height:142px}.intro .eyebrow{display:flex;align-items:center;gap:9px}.mini-line{display:inline-block;width:22px;height:2px;background:#80a473}h1{font-size:clamp(26px,2.5vw,39px);font-weight:600;letter-spacing:-1.2px;margin:18px 0 10px;line-height:1.45}h1 span{color:#7a8e79}.subtitle{font-size:13px;color:#7d8981;line-height:1.9;margin:0}.hero-art{position:relative;width:165px;height:142px;flex-shrink:0;margin-right:20px}.paper{position:absolute;border:1px solid #d9e4d4;border-radius:11px;width:80px;height:109px;background:#eaf1e4;left:42px;top:14px}.paper-back{transform:rotate(16deg);left:63px;top:12px}.paper-front{background:#fff;transform:rotate(-10deg);padding:13px 14px;box-shadow:0 10px 20px #1d3e2a08}.paper-front svg{width:20px;height:23px;color:#8d9b86}.paper-front b{display:block;font-size:13px;letter-spacing:2px;margin:6px 0 8px}.paper-front i{display:block;width:44px;height:3px;background:#dfe9d9;margin-top:5px}.paper-front i:last-child{width:29px}.art-badge{position:absolute;bottom:14px;right:0;border-radius:15px;width:47px;height:47px;background:var(--lime);display:grid;place-items:center;transform:rotate(8deg);border:4px solid var(--bg)}.art-badge svg{width:21px}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:26px}.mode-card{position:relative;display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px 20px;text-align:left;transition:.2s}.mode-card:hover{border-color:#9bb68b}.mode-card.selected{border-color:#6f9360;box-shadow:0 0 0 1px #6f936012;background:#fcfff9}.mode-icon{display:grid;place-items:center;width:44px;height:46px;border-radius:11px;background:#edf5e9;flex-shrink:0}.mode-icon.lavender{background:var(--purple);color:#7d6aa0}.mode-title{display:block;font-size:16px;font-weight:600}.mode-card small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:5px}.radio-dot{height:17px;width:17px;border:1.5px solid #d7ded3;border-radius:50%;margin-left:auto;flex-shrink:0}.selected .radio-dot{border:5px solid #6d915d}.workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:22px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:23px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}h2{font-size:14px;font-weight:600;display:flex;align-items:center;gap:10px;margin:0}.step{font-size:10px;border:1px solid #e2e8df;border-radius:5px;padding:3px 5px;color:#91a087;font-family:system-ui}.label{font-size:10px;color:#8a9689;white-space:nowrap}.dropzone{border:1.5px dashed #cbdac3;background:linear-gradient(150deg,#fbfdf8,#f8fbf5);border-radius:11px;min-height:268px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;gap:11px;text-align:center;padding:20px;transition:.2s}.dropzone.over{background:#e7f5db;border-color:#6b955b}.dropzone.disabled{pointer-events:none;opacity:.6}.upload-illustration{background:white;box-shadow:0 5px 15px #24451b07;border:1px solid #e4ebde;border-radius:15px;width:60px;height:65px;display:grid;place-items:center;margin-bottom:9px;transform:rotate(-5deg)}.upload-illustration svg{width:27px;height:27px;color:#658354;transform:rotate(5deg)}.dropzone strong{font-size:15px;font-weight:500}.dropzone>span:not(.upload-illustration){font-size:12px;color:#819178}.choose-link{color:#527243;text-decoration:underline;text-underline-offset:4px}.dropzone>small{font-size:10px;color:#98a28f;margin-top:8px}.upload-foot{display:flex;justify-content:center;gap:7px;color:#8b9785;font-size:10px;margin-top:18px;align-items:center}.upload-foot svg{width:13px;height:13px}.text-button{display:block;background:none;border:0;font-size:11px;text-decoration:underline;text-underline-offset:3px;margin:15px auto 0;color:#67845b}fieldset{border:0;margin:0;padding:0;min-width:0}legend,.field-label{font-size:11px;color:#7f8b7b;margin-bottom:13px;display:block}.preset{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px 11px;border-radius:9px;margin-bottom:9px;cursor:pointer}.preset:has(input:checked){background:#f3f8ee;border-color:#a5bc96}.preset input,input[type=checkbox]{accent-color:#648b52;width:15px;height:15px;flex-shrink:0;margin:0}.preset b{font-size:12px;font-weight:500}.preset em{background:#dfefd3;color:#62844e;font-style:normal;font-size:8px;border-radius:4px;padding:3px 5px;margin-left:5px}.preset small{display:block;font-size:10px;color:#8b9585;margin-top:3px}.preset-bars{margin-left:auto;font-size:11px;letter-spacing:2px;color:#839776;white-space:nowrap}.setting-note{font-size:10px;color:#8a8a78;line-height:1.9;margin:14px 0 19px;background:#fafaf6;border-radius:7px;padding:10px 12px}.primary{width:100%;border:0;background:var(--ink);color:#e8f1e2;padding:14px 16px;border-radius:9px;display:flex;justify-content:center;align-items:center;gap:15px;font-size:12px;font-weight:500;transition:.2s}.primary:not(:disabled):hover{background:#2b5050}.primary svg{width:17px;height:17px}.primary:disabled{background:#cfd8c9;color:#7e8c75;opacity:1}.ready-note{font-size:10px;text-align:center;color:#9aa190;margin:12px 0 0}.file-list{max-height:300px;overflow:auto}.file-row{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:14px 0}.file-row:first-child{margin-top:15px}.file-thumb{width:33px;height:42px;border:1px solid var(--line);object-fit:contain;flex-shrink:0;background:#f6f8f2;border-radius:3px}.file-data{min-width:0;flex:1}.file-name{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-detail{font-size:10px;color:var(--muted);display:block;margin-top:4px}.icon-btn{background:none;border:0;padding:5px;display:flex;align-items:center;justify-content:center}.icon-btn svg{width:17px;height:17px}.field-label{margin-bottom:8px}input[type=text]{border:1px solid var(--line);border-radius:8px;width:100%;padding:11px;font-size:12px;background:#fcfdf9;color:var(--ink)}.field-help{font-size:10px;color:#99a08f;display:block;margin:7px 0 22px}.check-setting{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.8;margin:17px 0;cursor:pointer}.check-setting input{margin-top:4px}.check-setting small{display:block;font-size:10px;color:var(--muted)}.cancel{border:0;background:none;text-decoration:underline;font-size:11px;display:block;margin:12px auto}.progress-wrap{margin-top:18px}.progress-track{height:5px;border-radius:20px;background:#e8eee3;overflow:hidden}#progress{height:100%;width:0;background:#779c5e;transition:width .2s}#progress-text{font-size:10px;color:var(--muted);line-height:1.8;margin:9px 0 0}.benefits{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin:35px 0 30px;padding:0 5px}.benefits>div{display:flex;gap:11px}.benefits>div>span{color:#9eae93;font-size:10px;border-top:1px solid #c7d5bc;padding-top:5px;margin-top:2px}h3{font-size:11px;font-weight:500;margin:0 0 6px}.benefits p{font-size:10px;line-height:1.9;color:#8f9986;margin:0}.faq{font-size:11px;color:#7b8972;border-top:1px solid var(--line);padding-top:20px;line-height:2;cursor:pointer}.faq p{max-width:900px}.faq summary::marker{color:#a0b18f}footer{display:flex;justify-content:space-between;gap:16px;font-size:9px;letter-spacing:.9px;color:#9ba58f;margin-top:31px;padding-top:20px;border-top:1px solid var(--line)}footer b{font-weight:400;color:#6c8659}.footer-divider{margin:0 10px}footer>span:last-child{letter-spacing:0}#message{padding:14px 18px;border-radius:10px;background:#eef5e7;color:#567245;font-size:12px;line-height:1.9;margin-top:20px}#message.error{background:#fff0e9;color:#a85837}.results{margin-top:24px}.result-row{border-top:1px solid var(--line);padding:19px 0 9px;display:flex;gap:16px;align-items:center}.result-icon{background:var(--mint);border-radius:9px;width:40px;height:45px;display:grid;place-items:center;flex-shrink:0}.result-icon svg{width:21px}.result-info{flex:1;min-width:0}.result-info b{font-size:12px;font-weight:500;overflow-wrap:anywhere}.result-info p{font-size:10px;color:var(--muted);line-height:1.9;margin:5px 0}.result-info .result-warning{color:#a2753a}.result-actions{display:flex;gap:8px;flex-shrink:0}.secondary,.download-btn{padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:11px;display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--ink);text-decoration:none}.download-btn{background:var(--lime);border-color:var(--lime)}.result-actions svg{width:15px;height:15px}.savings{background:#eaf4e2;color:#618746;font-size:10px;border-radius:4px;padding:2px 5px;margin-left:7px}.result-error{color:#a85837;font-size:12px}.secondary:hover{background:#f6f9f2}.download-btn:hover{background:#a4e67a}dialog{border:1px solid var(--line);border-radius:15px;width:min(900px,94vw);padding:24px;max-height:92vh;overflow:auto;color:var(--ink);background:var(--bg)}dialog::backdrop{background:#102c2cb0;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}#preview-canvas{display:block;max-width:100%;height:auto;margin:15px auto;background:white;box-shadow:0 3px 12px #0001}.preview-toolbar{display:flex;align-items:center;justify-content:center;gap:18px;font-size:12px}.preview-toolbar button{background:white;border:1px solid var(--line);border-radius:7px;padding:8px 10px;font-size:11px}#markdown-editor{width:100%;height:55vh;resize:vertical;background:white;border:1px solid var(--line);border-radius:8px;padding:18px;font-family:ui-monospace,monospace;font-size:13px;line-height:1.8;color:var(--ink)}#md-preview>p{font-size:11px;color:var(--muted)}.editor-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:15px}.editor-actions .primary{width:auto}
@media(min-width:1500px){main{padding:52px 64px 28px}.sidebar{width:260px}.dropzone{min-height:287px}.mode-card{padding:25px}.intro{margin-bottom:45px}}
@media(max-width:1150px){.sidebar{width:200px;padding:32px 12px}main{padding:35px 28px}.workspace{grid-template-columns:minmax(0,1.1fr) minmax(270px,1fr);gap:16px}.panel{padding:19px}.hero-art{width:135px;margin-right:0}.mode-card{padding:18px 14px;gap:10px}.mode-icon{width:37px;height:42px}.mode-title{font-size:14px}.mode-card small{font-size:10px}.result-row{flex-wrap:wrap}.result-actions{margin-left:56px}}
@media(max-width:950px){.sidebar{display:none}main{padding:32px;max-width:1000px}header{height:75px;padding:0 32px}.workspace{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}h1{font-size:33px}}
@media(max-width:650px){header{height:69px;padding:0 20px}.brand{font-size:20px}.brand-icon{width:34px;height:36px;border-radius:9px}.header-note{display:none}main{padding:25px 17px 22px}.intro{margin-bottom:24px;min-height:0}.hero-art{display:none}.intro .eyebrow{font-size:8px;letter-spacing:1px}.mini-line{width:15px}h1{font-size:28px;letter-spacing:-.8px;margin-top:15px}h1 span{display:block}.subtitle{font-size:11px;max-width:340px}.mode-cards{gap:10px;margin-bottom:19px}.mode-card{padding:16px 12px;align-items:flex-start;flex-direction:column;gap:11px;border-radius:11px}.mode-title{font-size:13px}.mode-card small{font-size:10px;line-height:1.9;max-width:140px}.mode-icon{width:34px;height:35px;border-radius:8px}.mode-icon svg{width:20px;height:20px}.radio-dot{position:absolute;top:23px;right:13px;width:15px;height:15px}.selected .radio-dot{border-width:4px}.workspace{grid-template-columns:1fr;gap:17px}.panel{padding:18px}.panel-heading{margin-bottom:20px}.dropzone{min-height:237px}.benefits{grid-template-columns:1fr;gap:20px;margin:28px 5px}.benefits h3{font-size:12px}.benefits p{font-size:11px}footer{flex-direction:column;gap:10px;font-size:8px;margin-top:23px}.result-row{gap:11px}.result-actions{margin-left:0;flex-basis:100%;justify-content:flex-end}.result-icon{width:33px;height:39px}.result-info{min-width:calc(100% - 55px)}.secondary,.download-btn{font-size:10px;padding:10px}.results>.panel-heading>.label{display:none}dialog{padding:16px}.preview-toolbar{gap:8px;font-size:11px}.preview-toolbar button{font-size:10px}.faq{font-size:11px}.check-setting{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.demo-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}.demo-buttons .text-button{margin:15px 0 0}

.unchanged-badge{display:inline-block;font-size:10px;color:#976524;background:#fff2d8;padding:3px 7px;border-radius:5px;margin-left:8px}.result-row.unchanged .result-icon{background:#fff4df;color:#a97728}.result-actions{flex-wrap:wrap}.result-info{min-width:0}@media(max-width:1150px){.result-info{min-width:calc(100% - 60px)}}

.mode-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.mode-card{padding:18px 15px;gap:12px}.mode-card small{line-height:1.5}.file-order{display:flex;flex-shrink:0}.file-number{font-size:12px;color:var(--muted);margin-left:8px}.file-order button{font-size:18px}.file-order button:disabled{opacity:.25;cursor:default}#merge-name{width:100%;padding:12px;border:1px solid #d7dfdc;border-radius:8px;font:inherit}.file-data{min-width:0}@media(max-width:1100px){.mode-cards{grid-template-columns:1fr}.mode-card{padding:15px}}

.mode-cards{grid-template-columns:repeat(4,minmax(0,1fr))}input[type=password]{border:1px solid var(--line);border-radius:8px;width:100%;padding:11px;font-size:12px;background:#fcfdf9;color:var(--ink);margin-bottom:16px}@media(max-width:1400px){.mode-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1100px){.mode-cards{grid-template-columns:1fr}}
