@font-face{font-family:LocalThai;src:local('Leelawadee UI'),local('Tahoma');font-display:swap}
:root{--ink:#203a33;--green:#166952;--green-dark:#10533f;--muted:#758079;--line:#e3e7e2;--paper:#f7f8f4;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:var(--paper);font-family:'Segoe UI',LocalThai,Tahoma,sans-serif;font-size:15px;line-height:1.65}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #e7ab46;outline-offset:4px}[hidden]{display:none!important}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{height:86px;max-width:1180px;margin:auto;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{display:flex;align-items:center;gap:11px;font-size:25px;font-weight:650;letter-spacing:-1px}.brand-pdf{font-size:12px;letter-spacing:1px;border-left:1px solid #d7ded7;margin-left:12px;padding-left:12px;vertical-align:middle}.site-header nav{display:flex;gap:35px;font-size:14px;color:#5f6c65}.site-header nav a:hover{color:var(--green)}.header-note{font-size:12px;color:#65786d;background:#f1f6ef;border:1px solid #e5eddf;padding:7px 12px;border-radius:30px;white-space:nowrap}.status-dot{width:6px;height:6px;background:#549778;display:inline-block;border-radius:100%;margin-right:6px;vertical-align:middle}main{max-width:1120px;margin:0 auto;padding:0 30px}.hero{text-align:center;padding:64px 0 37px}.eyebrow,.section-kicker{font-size:10px;letter-spacing:2px;font-weight:650;color:#6f8778}.eyebrow{display:inline-flex;align-items:center;gap:2px;border:1px solid #dbe4d7;border-radius:20px;padding:5px 12px;background:#f1f4ed}.hero h1{font-size:clamp(40px,5vw,62px);line-height:1.3;font-weight:650;letter-spacing:-1.8px;margin:21px 0 17px}.hero h1 span{color:var(--green)}.hero>p{color:#7a837b;font-size:16px;line-height:1.9;margin:0}.mobile-break{display:none}.hero-meta{display:flex;justify-content:center;gap:23px;font-size:11px;color:#758376;margin-top:23px}.tools{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:7px 0 25px}.tool-card{border:1px solid var(--line);background:#fff;border-radius:14px;display:flex;align-items:center;gap:14px;padding:24px 19px;text-align:left;box-shadow:0 2px 2px #203a3302;transition:border-color .15s,transform .15s}.tool-card:hover{transform:translateY(-3px);border-color:#b0c9b9}.tool-card.active{border-color:var(--green);box-shadow:0 0 0 1px var(--green);background:#fbfdf9}.tool-icon{width:47px;height:49px;flex-shrink:0;border-radius:12px;display:grid;place-items:center;font-size:30px;font-weight:400}.coral{background:#fff0e9;color:#d47659}.amber{background:#fcf3dd;color:#b38d39}.green{background:#e8f1e5;color:#6c8a52}.tool-copy{display:flex;flex-direction:column;gap:5px}.tool-copy strong{font-weight:600;font-size:16px}.tool-copy small{font-size:11px;color:#869086}.tool-arrow{margin-left:auto;color:#9eada1;font-size:20px}.workspace{border:1px solid var(--line);border-radius:19px;background:#fff;padding:32px;box-shadow:0 8px 30px #243e3103}.workspace-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.workspace-top h2{font-size:25px;font-weight:600;margin:6px 0 1px}.workspace-top p{color:var(--muted);font-size:13px;margin:0}.step-pill{font-size:11px;border:1px solid #e5e9e1;background:#f7f9f4;padding:6px 12px;border-radius:20px;color:#84917f;white-space:nowrap}.dropzone{border:1.5px dashed #c7d7c6;border-radius:13px;min-height:317px;background:#f8faf5;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;padding:27px 20px;transition:background .15s,border-color .15s}.dropzone:hover,.dropzone.dragover{border-color:var(--green);background:#eff5e9}.dropzone h3{font-weight:600;font-size:20px;margin:15px 0 1px}.dropzone p{color:#94a18e;font-size:12px;margin:0 0 19px}.dropzone small{color:#97a18f;font-size:10px;margin-top:15px}.upload-art{position:relative;width:66px;height:68px}.paper-back{position:absolute;inset:4px 3px 1px 10px;border:1px solid #d5dfd0;background:#e4ecde;border-radius:6px;transform:rotate(13deg)}.paper-front{position:absolute;inset:0 12px 4px 3px;background:#fff;border:1px solid #d7e0ce;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px 8px #476a3b0d}.paper-front span{color:#5a8052;font-size:13px;font-weight:700;letter-spacing:1px}.paper-front i{height:2px;width:24px;background:#e1e9da;margin-top:6px}.paper-front i:last-child{width:16px;margin-right:8px}.upload-plus{position:absolute;right:0;bottom:0;width:24px;height:24px;display:grid;place-items:center;background:#e9efdf;color:#729255;border:3px solid #f8faf5;border-radius:50%;font-size:18px;line-height:1}.primary-button{border:0;background:var(--green);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:30px;border-radius:8px;padding:13px 25px;font-weight:550;font-size:14px;line-height:1.7;transition:background .15s,transform .15s}.primary-button:hover{background:var(--green-dark);transform:translateY(-1px)}.upload-button{padding:11px 28px;font-size:14px}.primary-button>span{font-size:20px;line-height:1}.trust-section{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:35px;margin:55px 0 50px;padding:0 3px}.trust-intro h2{font-size:25px;line-height:1.5;font-weight:600;margin:7px 0}.trust-intro .section-kicker{font-size:8px;letter-spacing:1.7px}.trust-item>span{display:block;font-size:26px;color:#668660;margin-bottom:4px;height:36px}.trust-item h3{font-size:14px;font-weight:600;margin:0 0 6px}.trust-item p{font-size:11px;color:#8a9387;line-height:1.9;margin:0}.faq{border-top:1px solid var(--line);padding:26px 0 45px;display:grid;grid-template-columns:1fr 2fr;gap:0 40px}.faq h2{font-size:20px;font-weight:600;grid-row:span 3}.faq details{border-bottom:1px solid var(--line);padding:14px 0;font-size:13px}.faq summary{cursor:pointer}.faq details p{font-size:12px;color:#7b877a;line-height:1.9}.faq details:last-child{border:0}footer{border-top:1px solid var(--line);max-width:1120px;padding:24px 30px 30px;margin:auto;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#919b8e}.footer-brand{color:#4e6858;font-size:16px;font-weight:600;letter-spacing:-.5px}.footer-brand strong{font-size:10px;margin-left:4px;letter-spacing:1px}footer p{margin:0}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px;gap:15px}.editor-toolbar strong{font-size:14px}.editor-toolbar span{display:block;font-size:12px;color:var(--muted)}.toolbar-actions{display:flex;gap:15px}.text-button{border:0;background:none;color:var(--green);font-size:13px;padding:6px 2px}.text-button:hover{text-decoration:underline}.text-button.muted{color:var(--muted)}.file-list{display:flex;flex-direction:column;gap:8px;margin:18px 0}.file-row{display:flex;align-items:center;gap:12px;background:#f8faf6;border:1px solid #e7ece3;border-radius:8px;padding:12px}.file-badge{font-size:10px;font-weight:700;color:#7f906d;background:#eaf0e2;border-radius:5px;padding:8px 6px}.file-info{min-width:0;flex:1}.file-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.file-info small{color:var(--muted);font-size:11px}.icon-button{border:1px solid #dfe7d8;border-radius:6px;background:#fff;min-width:33px;height:33px;display:inline-grid;place-items:center;font-size:17px}.icon-button:hover{background:#edf3e6}.icon-button:disabled{opacity:.25;cursor:default}.file-actions{display:flex;gap:5px}.compression-options{border:0;padding:0;margin:25px 0}.compression-options legend{font-size:14px;font-weight:600;margin-bottom:10px}.mode-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:9px;padding:16px;margin:9px 0;cursor:pointer}.mode-option:has(input:checked){border-color:#95b49a;background:#f6faf3}.mode-option input{accent-color:var(--green)}.mode-option>span:nth-child(2){flex:1}.mode-option strong{font-size:13px;font-weight:600}.mode-option small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.mode-tag{color:#85937e;border:1px solid #dbe4d5;padding:3px 7px;font-size:10px;border-radius:5px;white-space:nowrap}.scan-options{background:#faf8ef;border:1px solid #ede6cf;border-radius:9px;padding:16px;font-size:12px}.scan-options select{margin-left:10px;padding:6px 9px;background:white;border:1px solid #d8dccf;border-radius:5px;font-size:12px;color:var(--ink)}.warning{color:#95713b;font-size:12px}.consent{display:flex;align-items:center;gap:8px}.consent input{accent-color:var(--green)}.editor-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:20px;gap:16px}.editor-bottom>p{color:#8b9983;font-size:11px}.lock-icon{color:var(--green);font-size:16px;padding-right:3px}.rotate-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:22px 0}.rotate-controls>span{font-size:12px;color:var(--muted);margin-right:auto}.secondary-button{border:1px solid #dbe3d6;background:#f8faf5;border-radius:7px;padding:7px 11px;font-size:12px}.secondary-button:hover{background:#edf3e6}.pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:15px;margin:20px 0}.page-card{padding:10px;background:#f3f5ef;border:1px solid #e2e8db;border-radius:9px;min-width:0}.page-preview{height:175px;display:flex;justify-content:center;align-items:center;overflow:hidden}.page-preview canvas{max-width:100%;max-height:100%;box-shadow:0 2px 8px #24483115;background:white}.page-label{display:flex;justify-content:space-between;font-size:10px;color:#85967a;margin:8px 0}.page-actions{display:flex;justify-content:center;gap:4px}.page-actions .icon-button{min-width:29px;height:29px;font-size:15px}.preview-note{font-size:11px;color:var(--muted)}.progress-panel,.result-panel{text-align:center;padding:40px 20px}.spinner{border:3px solid #e8efe0;border-top-color:var(--green);height:45px;width:45px;border-radius:50%;margin:0 auto 22px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.progress-panel h3,.result-panel h3{font-weight:600;font-size:23px;margin:10px 0}.progress-panel p,.result-panel>p{color:var(--muted);font-size:13px}.progress-panel progress{display:block;margin:22px auto 12px;width:min(100%,380px);height:9px;accent-color:var(--green)}.success-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#eaf3e3;color:var(--green);font-size:30px;margin:0 auto 17px}.result-panel .section-kicker{display:block}.result-panel>.text-button{display:block;margin:16px auto 0}.result-stats{display:flex;justify-content:center;align-items:center;gap:30px;margin:24px 0}.result-stats>div{padding:12px 22px;border:1px solid var(--line);border-radius:10px;min-width:140px}.result-stats strong{display:block;font-size:23px}.result-stats small{color:var(--muted);font-size:11px}.result-stats .saving{color:var(--green);background:#f1f7eb}.error-message{border:1px solid #f0c9bb;background:#fff2ec;color:#a5533a;border-radius:8px;padding:14px 18px;margin-top:20px;font-size:13px;white-space:pre-line}.loading-text{font-size:12px;color:var(--muted);padding:30px;text-align:center}.page-placeholder{font-size:11px;color:#85967a;text-align:center}
@media(min-width:1400px){.hero{padding-top:75px}.hero h1{font-size:64px}.tools{margin-top:12px}}
@media(max-width:900px){.header-note{display:none}.header-inner{height:74px}.tool-card{padding:20px 14px;gap:10px}.tool-icon{width:38px;height:42px;font-size:25px}.tool-copy strong{font-size:14px}.tool-copy small{font-size:10px}.tool-arrow{display:none}.trust-section{gap:20px}.trust-intro h2{font-size:23px}.trust-item h3{font-size:13px}}
@media(max-width:640px){body{font-size:14px}.header-inner{padding:0 20px;height:70px;gap:15px}.brand{font-size:22px;gap:8px}.brand img{width:31px;height:31px}.brand-pdf{font-size:10px;margin-left:8px;padding-left:8px}.site-header nav{gap:13px;font-size:11px}main{padding:0 17px}.hero{padding:40px 0 27px}.eyebrow{font-size:8px;letter-spacing:1.4px}.hero h1{font-size:42px;letter-spacing:-1px;margin:18px 0 13px}.hero>p{font-size:13px}.mobile-break{display:block}.hero-meta{gap:12px;font-size:9px;margin-top:20px}.tools{gap:8px;margin-bottom:17px}.tool-card{flex-direction:column;align-items:flex-start;padding:15px 10px;gap:10px;border-radius:11px}.tool-icon{width:35px;height:35px;font-size:24px;border-radius:9px}.tool-copy strong{font-size:12px;line-height:1.7}.tool-copy small{display:none}.workspace{padding:22px 16px;border-radius:14px}.workspace-top{gap:8px;margin-bottom:20px;align-items:flex-start}.workspace-top h2{font-size:22px}.workspace-top p{font-size:11px;max-width:220px}.section-kicker{font-size:8px;letter-spacing:1.4px}.step-pill{font-size:9px;padding:4px 7px;margin-top:5px}.dropzone{min-height:300px;padding:25px 10px}.dropzone h3{font-size:17px}.dropzone small{font-size:9px;text-align:center}.trust-section{grid-template-columns:1fr 1fr;gap:25px;margin:35px 2px}.trust-intro h2{font-size:23px;margin-top:7px}.trust-item h3{font-size:13px}.trust-item p{font-size:11px}.faq{display:block;padding:15px 0 28px}.faq h2{font-size:18px}.faq details{font-size:12px}footer{padding:20px 18px;flex-wrap:wrap;gap:8px}footer p{order:3;width:100%;font-size:10px}.editor-toolbar{align-items:flex-start}.toolbar-actions{gap:10px;flex-shrink:0}.toolbar-actions .text-button{font-size:11px}.file-row{padding:10px;gap:7px}.file-info strong{font-size:11px}.file-actions{gap:3px}.file-actions .icon-button{min-width:27px;height:29px;font-size:14px}.mode-option{padding:12px 9px;gap:8px}.mode-option strong{font-size:12px}.mode-option small{font-size:10px}.mode-tag{display:none}.editor-bottom{flex-direction:column-reverse;gap:5px}.editor-bottom .primary-button{width:100%}.editor-bottom>p{font-size:10px}.pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.page-preview{height:150px}.page-card{padding:7px}.page-actions{gap:3px}.page-actions .icon-button{min-width:25px;height:27px}.rotate-controls{gap:6px}.rotate-controls>span{width:100%;margin-bottom:3px}.secondary-button{font-size:10px;padding:7px}.result-stats{gap:8px;flex-wrap:wrap}.result-stats>div{min-width:100px;padding:10px 12px}.result-stats strong{font-size:18px}.progress-panel,.result-panel{padding:25px 5px}}
.tools{grid-template-columns:repeat(4,minmax(0,1fr))}.tool-card{padding:20px 13px;gap:10px}.tool-copy{min-width:0}.tool-copy strong{font-size:14px}.tool-copy small{font-size:10px}.tool-arrow{display:none}.blue{background:#e8f0fa;color:#648bb1}.site-header nav{gap:22px}.selection-controls{margin:20px 0;background:#f5f9f1;border:1px solid #dfe8d7;border-radius:10px;padding:16px}.selection-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.selection-top>strong{font-size:13px}.selection-top>div{display:flex;gap:15px}.range-controls{display:flex;align-items:center;gap:9px;margin-top:12px;font-size:12px}.range-controls input{min-width:0;width:170px;border:1px solid #d4dfcb;border-radius:6px;padding:8px 10px;background:#fff;color:var(--ink)}.selection-hint{font-size:11px;color:var(--muted);margin:10px 0}.selected-actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #e0e9d8;padding-top:12px}.selected-actions button:disabled{cursor:default}.danger-button{color:#a85848}.page-card.selected{border-color:var(--green);box-shadow:0 0 0 1px var(--green);background:#eef5e9}.page-check{display:flex;align-items:center;gap:7px;font-size:11px;margin-bottom:9px;color:var(--green)}.page-check input{accent-color:var(--green);margin:0;width:16px;height:16px}.page-preview-button{border:0;background:none;width:100%;padding:0;cursor:zoom-in}.page-open-button{display:block;width:100%;margin-top:8px;font-size:11px;padding:5px;border:1px solid #d7e2cf;border-radius:5px;background:#fff;color:var(--green)}.page-pagination{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:11px;margin:20px 0}.page-pagination>span{color:var(--muted)}.page-pagination>label{margin-left:12px}.page-pagination input{width:62px;padding:6px;border:1px solid #d6e1ce;border-radius:5px;color:var(--ink)}.image-options{border:1px solid #dde5da;border-radius:10px;padding:18px;margin:22px 0;background:#f8faf6}.image-options legend{font-size:14px;font-weight:600;padding:0 6px}.image-settings{display:grid;grid-template-columns:1fr 1fr;gap:20px}.image-settings label{font-size:12px}.image-settings select{display:block;width:100%;margin-top:7px;padding:9px 10px;border:1px solid #d8e2d0;border-radius:6px;background:#fff;color:var(--ink)}.image-options p{font-size:12px;color:#6f8067;margin-bottom:5px}.image-options small{font-size:10px;color:var(--muted)}.page-dialog{border:1px solid #dce5d5;border-radius:16px;padding:24px;width:min(960px,calc(100vw - 40px));max-height:94vh;color:var(--ink);background:var(--paper);box-shadow:0 20px 100px #18342435}.page-dialog::backdrop{background:#152d25b8;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;gap:20px}.dialog-header h2{margin:5px 0;font-size:22px;font-weight:600}.dialog-header p{font-size:11px;color:var(--muted);margin:0}.dialog-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.dialog-toolbar>label{margin-left:auto;display:flex;gap:7px;align-items:center;font-size:12px}.dialog-toolbar select{padding:5px;border:1px solid #d4decd;border-radius:5px;color:var(--ink);background:#fff}.dialog-preview{height:52vh;min-height:200px;overflow:auto;background:#e5eae0;border-radius:9px;padding:18px}.dialog-preview canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;margin:0 auto;box-shadow:0 3px 18px #193b2620}.dialog-preview[data-zoom="150"] canvas{width:150%;max-width:none;max-height:none}.dialog-preview[data-zoom="200"] canvas{width:200%;max-width:none;max-height:none}.dialog-status{color:#947042;font-size:12px;min-height:20px;margin:9px 0}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.dialog-actions>div{display:flex;gap:8px;flex-wrap:wrap;flex:1 1 100%;margin-bottom:4px}.dialog-actions .primary-button{padding:9px 15px;font-size:12px}.dialog-footnote{font-size:10px;color:var(--muted);margin:14px 0 0}
@media(max-width:900px){.tools{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-card{padding:18px}.tool-copy strong{font-size:15px}}
@media(max-width:640px){.header-inner{height:auto;min-height:70px;flex-wrap:wrap;padding:14px 20px;gap:10px}.site-header nav{width:100%;justify-content:space-between;gap:10px;font-size:12px}.tool-card{padding:14px;flex-direction:row;align-items:center}.tool-copy strong{font-size:12px}.tool-icon{flex-shrink:0}.selection-controls{padding:12px}.selection-top{align-items:flex-start;flex-wrap:wrap;gap:2px}.selection-top>div{gap:12px}.selection-top .text-button{font-size:11px}.range-controls{flex-wrap:wrap;gap:8px}.range-controls>label{width:100%}.range-controls input{width:130px;flex:1}.selection-hint{line-height:1.8}.selected-actions{gap:7px}.selected-actions .secondary-button{font-size:10px}.image-settings{grid-template-columns:1fr;gap:14px}.image-settings select{font-size:12px}.image-options{padding:12px}.page-pagination{gap:8px}.page-pagination>label{margin-left:0}.page-dialog{width:calc(100vw - 20px);padding:14px;border-radius:12px;max-height:96vh}.dialog-preview{height:42vh;padding:10px}.dialog-header h2{font-size:19px}.dialog-toolbar{gap:7px}.dialog-toolbar>label{font-size:11px}.dialog-toolbar select{font-size:11px;max-width:110px}.dialog-actions{gap:8px}.dialog-actions>button{width:100%}.dialog-actions>div{gap:6px}.dialog-footnote{line-height:1.7}}
@font-face{font-family:Sarabun;src:url('./fonts/Sarabun-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.tools{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-card[data-tool="edit"]{grid-column:span 2}.violet{background:#eee9f8;color:#8b71ae}.edit-intro{background:#f3f0f9;border:1px solid #e4ddef;border-radius:10px;padding:16px;margin:20px 0}.edit-intro strong{font-size:13px}.edit-intro p{font-size:11px;color:#82798e;margin:6px 0 0}.edited-badge{display:block;margin-top:7px;font-size:10px;color:#8564a8}.dialog-layout{min-width:0}.page-dialog.editing-content{width:min(1240px,calc(100vw - 28px))}.editing-content .dialog-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px}.content-editor{background:#fff;border:1px solid #e0e6da;border-radius:9px;padding:14px;max-height:56vh;overflow:auto;min-width:0}.content-tabs{display:flex;gap:5px;border-bottom:1px solid #e1e7db;padding-bottom:10px;margin-bottom:14px;position:sticky;top:-14px;background:#fff;z-index:1;padding-top:5px}.content-tabs button{flex:1;border:1px solid #e0e6d9;border-radius:6px;background:#f8faf5;padding:7px 3px;font-size:12px}.content-tabs button[aria-selected="true"]{background:var(--green);color:#fff;border-color:var(--green)}.content-editor label{display:block;font-size:11px;margin:10px 0 5px}.content-editor input:not([type="checkbox"]):not([type="color"]):not([type="file"]),.content-editor textarea,.content-editor select{display:block;width:100%;max-width:100%;padding:7px 8px;border:1px solid #dbe3d3;border-radius:5px;background:#fff;color:var(--ink);font:13px Sarabun,Tahoma,sans-serif}.content-editor textarea{resize:vertical;min-height:70px}.content-editor select{font-family:'Segoe UI',Tahoma,sans-serif;font-size:11px}.content-editor input[type="color"]{display:block;width:100%;height:33px;padding:2px;border:1px solid #dbe3d3;border-radius:5px;background:#fff}.content-editor .editor-checkbox{display:flex;gap:7px;align-items:center;font-size:11px}.editor-checkbox input{accent-color:var(--green)}.editor-inline{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px}.editor-hint{font-size:10px;line-height:1.8;color:#86917f;margin:9px 0}.position-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}#object-position{border-top:1px solid #e5eadf;margin-top:14px;padding-top:6px}#apply-page-object{width:100%;margin-top:12px;padding:9px 12px;font-size:12px;gap:5px}.editor-status{font-size:11px;color:#99713c;line-height:1.8;white-space:pre-line}.page-change{display:flex;justify-content:space-between;gap:7px;align-items:center;border-top:1px solid #e6ece1}.page-change .text-button{font-size:11px;text-align:left;word-break:break-word}.page-change .danger-button{white-space:nowrap}.content-editor>.text-button{font-size:10px}#signature-pad{width:100%;height:auto;display:block;border:1px dashed #b6c8aa;background:#fbfcf9;border-radius:6px;touch-action:none;cursor:crosshair}.signature-buttons{display:flex;align-items:center;justify-content:space-between;gap:10px}.signature-upload{padding:10px;border:1px dashed #ccd8c2;border-radius:6px}.signature-upload input{display:block;margin-top:8px;max-width:100%;font-size:10px}.content-editor .secondary-button{font-size:11px}.editing-content #dialog-canvas{cursor:crosshair}.editing-content .dialog-preview{height:56vh}.content-editor #clear-page-edits{font-size:10px}.site-header nav{gap:16px}.dialog-preview canvas{background:white}
@media(max-width:900px){.tools{grid-template-columns:repeat(2,minmax(0,1fr))}.editing-content .dialog-layout{grid-template-columns:minmax(0,1fr) 300px;gap:10px}.content-editor{padding:10px}.content-tabs{top:-10px}}
@media(max-width:700px){.editing-content .dialog-layout{grid-template-columns:1fr}.editing-content .dialog-preview{height:40vh}.content-editor{max-height:none}.page-dialog.editing-content{width:calc(100vw - 20px)}.site-header nav{gap:7px;font-size:11px}.tool-card[data-tool="edit"] .tool-copy small{display:block;font-size:10px}.content-tabs{position:static}.editor-inline{grid-template-columns:1fr 1fr 1fr}.dialog-actions>div .secondary-button{font-size:10px}}
html:not([data-app-ready]) .site-header nav{pointer-events:none;opacity:.45}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}
