@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-thai-thai-400-normal-BEOmKAI1.woff2) format("woff2"),url(/assets/noto-sans-thai-thai-400-normal-Dxb_unuU.woff) format("woff");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-thai-latin-ext-400-normal-nBP59pVw.woff2) format("woff2"),url(/assets/noto-sans-thai-latin-ext-400-normal-B-1H0YkH.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-thai-latin-400-normal-BaWBrqFP.woff2) format("woff2"),url(/assets/noto-sans-thai-latin-400-normal-Dh_FJjOB.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-thai-thai-600-normal-Cs73sVjl.woff2) format("woff2"),url(/assets/noto-sans-thai-thai-600-normal-CmgB8_JK.woff) format("woff");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-thai-latin-ext-600-normal-maHHBsez.woff2) format("woff2"),url(/assets/noto-sans-thai-latin-ext-600-normal-PkMZo0xa.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-thai-latin-600-normal-CemcjnVR.woff2) format("woff2"),url(/assets/noto-sans-thai-latin-600-normal-Dbc-dNO6.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-thai-thai-700-normal-Cm52XUnT.woff2) format("woff2"),url(/assets/noto-sans-thai-thai-700-normal-C9ISMlQq.woff) format("woff");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-thai-latin-ext-700-normal-uJk63onE.woff2) format("woff2"),url(/assets/noto-sans-thai-latin-ext-700-normal-xdwl2Xg6.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-thai-latin-700-normal-_dn-40wb.woff2) format("woff2"),url(/assets/noto-sans-thai-latin-700-normal-C4AMFKt5.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Noto Sans Thai,sans-serif;color:#253c38;background:#f6f8f7;font-synthesis:none;--accent: #166653;--muted: #61736d;--border: #dde6e1}.protect-page{margin:0 28px 10px;min-height:0;overflow:auto;display:grid;place-items:center;border:1px solid var(--border);border-radius:14px;background:#edf3ef;padding:20px}.protect-card{width:min(100%,560px);background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 8px 30px #253c3808}.protect-heading h2{font-size:22px;margin:6px 0}.protect-heading p{font-size:13px}.protect-modes{display:flex;gap:6px;padding:5px;border-radius:10px;background:#eff4f1;margin:18px 0}.protect-modes button{flex:1;background:transparent;border:0}.protect-modes button[aria-pressed=true]{background:#fff;color:var(--accent);font-weight:600;box-shadow:0 2px 6px #253c3810}.protect-drop{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:88px;border:1px dashed #91b4a5;background:#f8fbf9}.protect-drop strong{max-width:100%;overflow-wrap:anywhere}.protect-drop span{font-size:12px;color:var(--muted)}#protect-file-info{margin-bottom:14px}.password-row{display:flex;gap:8px}.password-row input{min-width:0;flex:1}.protect-card input[type=password],.protect-card input[type=text]{width:100%;padding:10px;border:1px solid var(--border);border-radius:8px;background:#fafcfb}#protect-confirm-field{margin-top:12px}.protect-actions{display:flex;gap:10px;margin-top:16px}.protect-actions .primary{flex:1}.protect-message{font-size:13px;color:var(--accent);margin-top:12px}.protect-message.error{color:#ad3636}.protect-result{display:block;text-align:center;padding:12px;background:var(--accent);color:#fff;border-radius:8px;text-decoration:none;margin-top:12px}.protect-footnote{font-size:11px;line-height:1.7;margin-top:16px}@media(min-width:1000px)and (min-height:650px){.protect-page{grid-row:3}.protect-card{padding:18px 24px}.protect-heading h2{font-size:19px}.protect-heading .eyebrow{display:none}.protect-modes{margin:10px 0}.protect-drop{min-height:66px}.protect-footnote{margin-top:10px}#app:has(#protect-page:not([hidden])) footer{grid-row:5}}@media(max-width:650px){.protect-page{margin:0 12px 20px;padding:12px}.protect-card{padding:18px}}.tool-nav{display:flex;gap:4px;align-items:center}.tool-nav a{display:flex;align-items:center;min-height:40px;padding:8px 12px;border-radius:8px;color:var(--muted);text-decoration:none;font-size:12px;white-space:nowrap}.tool-nav a:hover{background:#eff5f1;color:var(--accent)}.tool-nav a[aria-current=page]{background:#e8f3ed;color:var(--accent);font-weight:600}.tool-placeholder{min-height:400px;margin:0 28px 10px;background:#fff;border:1px solid var(--border);border-radius:14px;display:grid;place-items:center;text-align:center;padding:28px}.placeholder-card h2{font-size:24px;margin:14px 0}.placeholder-card p{margin-bottom:24px}.placeholder-card a{color:var(--accent);font-size:14px;text-decoration:none}.coming-soon{font-size:11px;letter-spacing:2px;color:var(--accent);background:#edf6f1;border-radius:30px;padding:8px 14px}@media(min-width:1000px)and (min-height:650px){.tool-placeholder{min-height:0;grid-row:3}}@media(max-width:1100px){header .privacy{display:none}}@media(max-width:999px){header{height:auto;flex-wrap:wrap;padding:12px 18px;gap:10px}.tool-nav{width:100%;overflow-x:auto}.tool-placeholder{margin:0 12px 20px}.tool-nav a{min-height:44px}}.settings-nav{display:flex;gap:4px;padding:6px;background:#eff4f1;border:1px solid var(--border);border-radius:12px;margin:14px 16px 0;flex-shrink:0}.settings-nav button{flex:1;border:0;background:transparent;color:var(--muted);font-size:13px;padding:8px}.settings-nav button[aria-selected=true]{background:#fff;color:var(--accent);box-shadow:0 2px 6px #253c3810;font-weight:600}.settings-group h2{font-size:14px;margin:0 0 5px}.group-help{font-size:12px;line-height:1.8;margin-bottom:20px}.settings-group .field{margin-bottom:20px}.settings-scope{border-top:1px solid var(--border);padding-top:16px}.settings-scope .field{margin-bottom:12px}.intro h1{font-size:clamp(15px,1.6vw,20px);letter-spacing:.07em;color:var(--accent);font-weight:700}.intro p{font-size:12px}@media(min-width:1000px)and (min-height:650px){.workspace .settings{display:flex;flex-direction:column;gap:0;flex:1;padding:20px 18px 14px}.settings-group{flex:1}.settings-group .field{margin-bottom:18px}.settings-group label{margin-bottom:8px}.settings-group textarea{min-height:88px;height:88px;padding:12px}.settings-group .row.field{margin-top:16px}.settings-group .check{padding:12px;border:1px solid var(--border);border-radius:10px;background:#f6f9f7}.settings-group .chips{margin-top:8px}.settings-scope .hint{font-size:11px}#settings-panel-0{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;align-content:start}#settings-panel-0 h2,#settings-panel-0 .group-help{grid-column:1 / -1}#settings-panel-0 .group-help{margin-bottom:4px}#settings-panel-0 .field{margin:0}#settings-panel-0 .check{padding:8px;font-size:11px}#settings-panel-0 .chips{gap:4px}#settings-panel-0>.field:first-of-type{grid-column:1 / -1}#settings-panel-0{gap:6px 14px}#settings-panel-0 h2{display:none}#settings-panel-0 .group-help{font-size:11px;margin:0}#settings-panel-0 label{margin-bottom:4px}.settings #settings-panel-0 textarea{height:48px;min-height:48px}.settings:has(#settings-panel-0:not([hidden])) .settings-scope{padding-top:8px}.workspace .settings:has(#settings-panel-0:not([hidden])){padding-top:12px;padding-bottom:10px}#settings-panel-0 .group-help{display:none}#settings-panel-0{gap:4px 14px}}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid var(--border);background:#fff;color:inherit;border-radius:9px;padding:9px 14px}button:hover{background:#eef5f1}button:disabled{opacity:.45;cursor:not-allowed}:focus-visible{outline:3px solid #71b8a4;outline-offset:3px}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover{background:#0f5142}.skip{position:absolute;left:12px;top:-100px}.skip:focus{top:10px;background:#fff;z-index:5}header{height:84px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.brand{display:flex;gap:13px;align-items:center}.logo{background:var(--accent);color:#fff;padding:9px 13px;border-radius:12px;font-weight:700;font-size:24px}.brand strong{font-size:18px;letter-spacing:2px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:1.8px}.privacy{font-size:13px;color:var(--accent);background:#edf6f1;padding:8px 14px;border-radius:30px}.intro{max-width:1440px;margin:32px auto 24px;padding:0 40px;display:flex;justify-content:space-between;align-items:end}.eyebrow{font-size:11px;font-weight:700;color:var(--accent);letter-spacing:2px}h1{font-size:30px;margin:8px 0}p{color:var(--muted);margin:0;font-size:14px}.workspace{max-width:1440px;margin:auto;padding:0 40px 32px;display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}.panel-title{padding:18px 22px;border-bottom:1px solid var(--border);font-weight:600;display:flex;justify-content:space-between;align-items:center}.settings{padding:20px 22px}label{display:block;font-size:13px;font-weight:600;margin:0 0 8px}textarea,input[type=text],select{width:100%;border:1px solid var(--border);border-radius:8px;padding:10px;background:#fafcfb;color:inherit}textarea{resize:vertical;min-height:84px}.field{margin-bottom:20px}.range-label{display:flex;justify-content:space-between}.range-label output{color:var(--accent)}input[type=range]{width:100%;accent-color:var(--accent)}.row{display:flex;gap:10px;align-items:center}.row>*{flex:1}.chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.chips button{font-size:11px;padding:5px 8px;min-height:32px}.check{display:flex;align-items:center;gap:8px;font-weight:400}.check input{accent-color:var(--accent);width:17px;height:17px}.divider{height:1px;background:var(--border);margin:24px 0}.hint{font-size:11px;line-height:1.7;color:var(--muted);margin-top:7px}.tools{display:flex;gap:6px}.tools button{padding:4px 10px}.preview{min-height:640px;display:flex;flex-direction:column}.stage{background:#edf1ef;min-height:470px;flex:1;padding:28px;display:flex;align-items:center;justify-content:center;overflow:auto;background-image:radial-gradient(#d9e1dc .8px,transparent .8px);background-size:12px 12px}.empty{text-align:center;padding:40px 10px;max-width:460px}.empty-icon{width:72px;height:84px;border:2px solid #9bb5aa;border-radius:10px;margin:0 auto 24px;display:grid;place-items:center;font-size:32px;color:var(--accent);background:#f9fcfa}.empty h2{font-size:22px}.empty p{line-height:1.8;margin-bottom:24px}.empty .hint{margin-top:16px}.paper{position:relative;box-shadow:0 8px 35px #253c3820;max-width:100%;touch-action:none}.paper canvas{display:block;max-width:100%;height:auto}.paper #mark{position:absolute;inset:0;cursor:crosshair}.preview-footer{padding:14px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.pager{display:flex;align-items:center;gap:12px}.files{padding:10px 18px;border-bottom:1px solid var(--border);display:flex;gap:8px;flex-wrap:wrap}.file{display:flex;align-items:center;border:1px solid var(--border);border-radius:8px;overflow:hidden;max-width:100%}.file button{border:0;border-radius:0;font-size:12px}.file.active{border-color:var(--accent);background:#eef7f2}.file .name{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.export-bar{padding:18px 22px;border-top:1px solid var(--border);background:#fcfdfc;display:flex;justify-content:space-between;align-items:center;gap:14px}.export-bar select{width:auto}.status{max-width:1360px;margin:0 auto 20px;padding:0 40px;color:var(--accent);font-size:14px;min-height:24px}.status.error{color:#ad3636}footer{text-align:center;color:var(--muted);font-size:11px;padding:0 20px 24px}.dragging .stage{outline:3px dashed var(--accent);outline-offset:-8px}input[type=color]{width:100%;height:44px;border:1px solid var(--border);border-radius:8px;background:#fff}.hidden,[hidden]{display:none!important}.step{font-size:12px;color:var(--muted)}@media(max-width:900px){.workspace{grid-template-columns:260px minmax(0,1fr);padding:0 20px 24px}.intro{padding:0 20px}.stage{padding:16px}.step{display:none}.export-bar{flex-wrap:wrap}}@media(max-width:650px){header{height:70px;padding:0 18px}.privacy{font-size:10px;padding:6px 9px}.brand strong{font-size:14px}.brand small{font-size:9px}.logo{font-size:20px}.intro{margin:24px auto 20px}h1{font-size:25px}.workspace{display:flex;flex-direction:column-reverse;padding:0 12px 20px;gap:14px}.preview{min-height:420px}.stage{min-height:320px}.empty{padding:22px 8px}.empty h2{font-size:19px}.export-bar{padding:14px}.export-bar .primary{width:100%}.preview-footer{flex-wrap:wrap}.status{padding:0 20px}.intro p{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(min-width:1000px)and (min-height:650px){#app{height:100dvh;display:grid;grid-template-rows:56px 64px minmax(0,1fr) 24px 30px}header{height:auto;padding:0 28px}.logo{font-size:20px;padding:5px 11px}.intro{width:100%;max-width:none;margin:0;padding:10px 28px;align-items:center}.eyebrow{display:none}h1{font-size:20px;margin:0 0 2px}.workspace{width:100%;max-width:none;min-height:0;margin:0;padding:0 28px 10px;grid-template-columns:390px minmax(0,1fr);gap:16px}.workspace>aside{display:flex;flex-direction:column;min-height:0}.panel-title{padding:8px 16px;flex-shrink:0}.settings{min-height:0;overflow:auto;padding:12px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px;align-content:start}.settings>.field{margin:0}.settings>.field:first-child,.settings>.field:last-of-type,.settings>#reset{grid-column:1 / -1}.settings label{font-size:12px;margin-bottom:4px}.settings textarea{min-height:48px;height:48px;resize:none;padding:7px 9px}.settings select,.settings input[type=text]{padding:6px 8px}.settings .chips{margin-top:5px}.settings .divider{display:none}.settings .hint{font-size:10px;margin-top:3px}.settings .check{align-self:center}.settings #reset{min-height:36px;padding:5px}.preview{min-height:0}.stage{min-height:0;padding:16px;align-items:safe center;justify-content:safe center}.files{flex-wrap:nowrap;flex-shrink:0;overflow-x:auto;padding:6px 12px}.file{flex-shrink:0}.preview-footer{padding:6px 14px;flex-shrink:0}#fileInfo{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.pager{gap:8px;flex-shrink:0}.export-bar{padding:8px 14px;flex-shrink:0}.status{width:100%;max-width:none;min-height:0;margin:0;padding:0 28px;font-size:12px;overflow:auto}footer{font-size:10px;line-height:13px;padding:0 20px 4px}.empty{padding:12px}.empty-icon{height:54px;width:48px;margin-bottom:10px}.empty h2{margin:8px 0}.empty p{margin-bottom:12px}}@media(min-width:1000px)and (min-height:650px){.protect-page{place-items:safe center}.protect-card{width:min(100%,660px)}#protect-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.protect-drop,#protect-file-info,.protect-actions{grid-column:1 / -1}#protect-confirm-field{margin-top:0}#protect-file-info{margin:0 0 4px}.protect-actions{margin-top:6px}}@media(max-width:999px){#app header{height:auto;min-height:70px}}@media(min-width:1000px)and (min-height:650px){#app:has(#tool-placeholder:not([hidden])) footer{grid-row:5}}@media(min-width:1000px)and (min-height:820px){.workspace .settings:has(#settings-panel-0:not([hidden])){padding:20px 18px 16px}#settings-panel-0{gap:clamp(14px,calc((100dvh - 768px)*.1),28px) 16px}.settings #settings-panel-0 textarea{height:clamp(72px,calc(48px + (100dvh - 768px)/4),120px);min-height:72px;padding:12px}#settings-panel-0 label{margin-bottom:8px;font-size:13px}#settings-panel-0 .chips{margin-top:10px;gap:8px}#settings-panel-0 .chips button{min-height:36px;font-size:12px}#settings-panel-0 .check{padding:12px;font-size:12px}.settings:has(#settings-panel-0:not([hidden])) .settings-scope{padding-top:16px}}.convert-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:14px}.convert-card select{width:100%}.convert-card .protect-modes button{padding:10px 6px;font-size:13px}.convert-card .protect-heading p{margin:6px 0}.convert-card .protect-footnote{margin-bottom:0}#convert-list{padding:0;margin:12px 0;list-style:none;max-height:150px;overflow:auto}#convert-list li{display:flex;align-items:center;gap:6px;padding:5px 0}#convert-list li span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}#convert-list li button{min-height:30px;padding:4px 10px}@media(min-width:1000px)and (min-height:650px){#app:has(#convert-page:not([hidden])) footer{grid-row:5}}.word-review{width:min(100%,1280px);min-width:0;background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px}.review-header,.review-toolbar,.review-bottom{display:flex;align-items:center;gap:12px}.review-header{justify-content:space-between}.review-header h2{margin:0;font-size:19px}.review-header p{margin:4px 0 12px}.review-toolbar{margin-bottom:12px;flex-wrap:wrap;font-size:13px}.review-toolbar select{width:80px}.review-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:0}.review-original,.review-text{min-width:0;display:flex;flex-direction:column}.review-label{font-size:13px;margin-bottom:6px}.review-image{background:#eff4f1;border:1px solid var(--border);border-radius:10px;overflow:auto;height:clamp(240px,calc(100dvh - 440px),580px);padding:12px}.review-image canvas{display:block;width:100%;height:auto}#word-review-edit{width:100%;resize:vertical;min-height:240px;height:clamp(240px,calc(100dvh - 440px),580px);padding:14px;font:inherit;line-height:1.8;border:1px solid var(--border);border-radius:10px;background:#fcfdfc}.review-bottom{margin-top:12px;justify-content:space-between}.review-bottom .primary{flex-shrink:0}@media(max-width:650px){.review-columns{grid-template-columns:1fr}.review-header,.review-bottom{align-items:flex-start;flex-wrap:wrap}.review-image{height:280px}.review-bottom .primary{width:100%}}.compare-card{width:min(100%,800px)}.compare-card select{width:100%}.compare-notice{background:#fff8e8;border:1px solid #eadcb8;border-radius:10px;padding:12px 14px;margin:12px 0;font-size:13px}.compare-notice p{margin:6px 0 0;line-height:1.7}.compare-result{width:min(100%,1280px);min-width:0;padding:18px;background:#fff;border:1px solid var(--border);border-radius:16px}.compare-result h2{font-size:19px;margin:0}.compare-result .hint{margin:6px 0 12px}.compare-warning{color:#946020;font-size:13px;margin:8px 0}.compare-headings,.compare-row{display:grid;grid-template-columns:1fr 1fr}.compare-headings{gap:16px;margin-bottom:10px;font-size:13px;overflow-wrap:anywhere}.compare-diff{max-height:clamp(220px,calc(100dvh - 460px),580px);overflow:auto;border:1px solid var(--border);border-radius:10px}.compare-cell{min-width:0;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #edf1ee;font-size:14px}.compare-cell.before{border-right:1px solid var(--border)}.compare-row.removed .before{background:#fcecec;color:#932f2f}.compare-row.added .after{background:#e7f5ed;color:#145b3f}@media(min-width:1000px)and (min-height:650px){#app:has(#compare-page:not([hidden])) footer{grid-row:5}}@media(max-width:650px){.compare-card .convert-options{grid-template-columns:1fr}.compare-cell{padding:8px;font-size:12px}}
