:root{font-family:Manrope,"Noto Sans SC","Microsoft YaHei","PingFang SC",sans-serif;color:#263d36;background:#fafbf8;font-synthesis:none;--green:#24694f;--muted:#88918b;--line:#e7ebe4}*{box-sizing:border-box}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button,a,summary{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none}svg{width:20px;height:20px;stroke-width:1.7;flex-shrink:0}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,.dropzone:focus-visible{outline:3px solid #80b49b;outline-offset:4px}.topbar{height:88px;padding:0 5.3%;display:flex;align-items:center;border-bottom:1px solid var(--line);background:#ffffffb0;gap:40px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:25px;letter-spacing:-1px}.brand-icon{display:grid;place-items:center;width:34px;height:36px;border-radius:9px;background:var(--green);color:white;transform:rotate(-5deg)}.brand-icon svg{width:24px;height:24px}.brand-divider{height:20px;width:1px;background:#dce2da;margin:0 6px 0 12px}.brand-sub{font-size:12px;font-weight:400;letter-spacing:1px;color:#7e8b81}nav{display:flex;gap:30px;margin-left:auto;align-items:center;height:100%;font-size:13px}nav a{height:100%;display:flex;align-items:center;position:relative}.nav-active:after{content:"";position:absolute;bottom:0;left:14px;right:14px;height:3px;background:var(--green);border-radius:3px}nav button{display:flex;gap:7px;align-items:center;color:#7d8780}nav svg{width:15px}.local-pill{border:1px solid #e1e8dd;border-radius:30px;padding:8px 13px;font-size:11px;color:#668570;display:flex;align-items:center;gap:8px;margin-left:12px}.local-pill span,.eyebrow>span{width:6px;height:6px;display:inline-block;border-radius:50%;background:#6c947a}main{max-width:1180px;margin:auto;padding:0 28px}.hero{padding:51px 0 40px;position:relative}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#81917f;display:flex;align-items:center;gap:8px}h1{font-size:44px;letter-spacing:-2px;margin:16px 0 20px;line-height:1.5;position:relative;width:max-content;font-weight:700}h1 span{color:var(--green)}h1>svg{position:absolute;bottom:-9px;right:8px;width:230px;height:22px;fill:none;stroke:#bed0aa;stroke-width:2}.hero>p{font-size:13px;line-height:1.95;color:#849087;margin:0}.hero-tags{display:flex;align-items:center;gap:18px;margin-top:21px;font-size:11px;color:#637b68}.hero-tags>span{display:flex;align-items:center;gap:6px}.hero-tags svg{width:15px;height:15px}.hero-tags b{font-weight:400;color:#b8c3b7}.hero-art{position:absolute;right:42px;top:56px;width:320px;height:200px}.float-doc{position:absolute;background:#fff;border:1px solid #e2e8dd;box-shadow:0 12px 30px #354c3b08;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;border-radius:9px}.small-doc{width:70px;height:91px;top:28px;left:12px;transform:rotate(-15deg);color:#a08a55;font-size:11px}.pdf-doc{width:107px;height:133px;left:108px;top:35px;transform:rotate(10deg);background:#edf2e7;border:1px solid #dce6d4;color:#668162;z-index:1}.pdf-doc svg{width:39px;height:39px}.pdf-doc strong{font-size:22px;letter-spacing:2px}.word-doc{width:66px;height:84px;top:113px;right:0;transform:rotate(-9deg);color:#708f9e;font-size:9px}.art-line{position:absolute;inset:45px -8px 10px 25px;border:1px dashed #c7d3c0;border-radius:50%;transform:rotate(16deg)}.art-spark{position:absolute;right:24px;top:20px;color:#b1bd8d;font-size:25px}.workspace{display:grid;grid-template-columns:235px 1fr;border:1px solid #e2e6dd;border-radius:16px;overflow:hidden;background:white;box-shadow:0 8px 35px #34473704;scroll-margin-top:20px}.sidebar{padding:27px 18px 23px;background:#f5f7f1;border-right:1px solid #e5e9df}.sidebar-heading{font-size:13px;font-weight:600;padding:0 10px;display:flex;justify-content:space-between;align-items:center}.sidebar-heading>span{font-size:10px;color:#97a08f;border:1px solid #dfe5d7;padding:2px 5px;border-radius:4px;font-weight:500}.side-label{font-size:10px;color:#96a08e;margin:27px 10px 10px;letter-spacing:1px}.side-label.second{margin-top:23px}.tool-button{display:flex;align-items:center;gap:12px;padding:13px 12px;width:100%;border-radius:7px;font-size:12px;margin:3px 0;text-align:left;color:#697663;transition:background .2s}.tool-button>svg{width:18px;height:18px}.tool-button:hover{background:#ebefe5}.tool-button.active{background:#e4ecdd;color:#356341;font-weight:600}.tool-button .arrow{margin-left:auto;width:15px;opacity:0}.tool-button.active .arrow{opacity:1}.side-note{margin:32px 9px 0;padding-top:20px;border-top:1px solid #e0e5d9}.leaf-icon{display:block;color:#809377;margin-bottom:10px}.side-note strong{font-size:11px;font-weight:500}.side-note p{font-size:10px;line-height:1.9;color:#98a08f;margin:8px 0 17px}.side-note>span:last-child{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#96a18c}.side-note>span:last-child svg{width:13px}.converter{padding:29px 31px 0;min-width:0}.converter-head{display:flex;align-items:center;gap:12px;margin-bottom:26px}.title-icon{width:44px;height:44px;border:1px solid #e7eadf;background:#f6f8f2;border-radius:10px;display:grid;place-items:center;color:#6f845f}.title-icon svg{width:24px;height:24px}h2{font-size:20px;margin:0 0 7px;font-weight:600;letter-spacing:-.5px}.converter-head p{font-size:11px;margin:0;color:#98a08f}.mode-tag{margin-left:auto;align-self:flex-start;border-radius:4px;background:#f3f7ef;color:#849575;font-size:9px;padding:5px 7px;white-space:nowrap}.dropzone{min-height:287px;border:1.5px dashed #ccd9be;border-radius:10px;background:#fbfcf8;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:background .2s,border .2s}.dropzone.dragging{background:#eaf2e3;border-color:#34724d}.upload-illustration{position:relative;width:70px;height:62px;margin:0 0 15px}.back-page{position:absolute;width:39px;height:49px;background:#e8efdf;border:1px solid #cbd8bb;border-radius:5px;top:1px;left:10px;transform:rotate(-12deg)}.front-page{position:absolute;width:43px;height:52px;border:1px solid #bfcfb3;border-radius:6px;background:#fff;left:24px;top:6px;transform:rotate(9deg);display:grid;place-items:center;color:#8ca374}.front-page svg{width:25px;height:25px}.plus-dot{position:absolute;right:-3px;bottom:-2px;background:#76965d;color:white;display:grid;place-items:center;border:3px solid #fbfcf8;width:25px;height:25px;border-radius:50%}.plus-dot svg{width:13px;height:13px}.dropzone h3{font-size:15px;font-weight:500;margin:0 0 9px}.dropzone p{font-size:11px;color:#9ba391;margin:0 0 19px}.choose-button{background:var(--green);color:white;padding:11px 24px;border-radius:6px;font-size:12px;display:flex;align-items:center;gap:9px;box-shadow:0 2px 3px #234e3810}.choose-button:hover,.convert-button:not(:disabled):hover{background:#18553d}.choose-button svg{width:16px;height:16px}.file-hint{font-size:9px;color:#a1a895;margin-top:15px}.settings{display:flex;gap:17px;align-items:center;font-size:10px;padding:20px 0;border-bottom:1px solid #edf0e8;flex-wrap:wrap}.settings>div{display:flex;align-items:center;gap:7px;margin-right:auto}.settings>div svg{width:15px;height:15px;color:#8d9883}.settings strong{font-weight:500}.settings label{display:flex;align-items:center;gap:8px;color:#8b9582}.settings select{font-size:10px;padding:7px 24px 7px 9px;border:1px solid #e3e8db;border-radius:5px;background:#fff;color:#66735c;max-width:180px}.check-label input{accent-color:var(--green);width:13px;height:13px}.convert-bottom{display:flex;align-items:center;justify-content:space-between;padding:20px 0}.convert-bottom>span{font-size:10px;color:#9fa693}.convert-button{font-size:12px;padding:12px 23px;display:flex;gap:24px;align-items:center;background:var(--green);color:white;border-radius:6px}.convert-button:disabled{background:#e9ede4;color:#a3ad97;cursor:not-allowed}.convert-button svg{width:16px;height:16px}.secure-foot{border-top:1px solid #eef0e9;margin-top:3px;display:flex;align-items:center;justify-content:center;gap:7px;padding:18px 0;font-size:9px;color:#a5ad9c}.secure-foot svg{width:12px;height:12px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:36px 0 40px;border-bottom:1px solid var(--line)}.benefits article{display:flex;gap:13px;align-items:flex-start}.benefits article>span{display:grid;place-items:center;width:37px;height:37px;background:#eff3e9;border-radius:10px;color:#869975;flex-shrink:0}.benefits svg{width:19px;height:19px}.benefits h3{font-size:12px;font-weight:500;margin:0 0 9px}.benefits p{font-size:10px;color:#99a18f;line-height:1.7;margin:0}.faq{display:grid;grid-template-columns:1fr 1.6fr;gap:50px;padding:43px 0 50px}.faq .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:14px}.faq h2{font-size:19px}.faq>div>p{font-size:11px;color:#9aa390}.faq-items details{border-bottom:1px solid #e5e9df;padding:0 0 15px;margin-bottom:15px}.faq-items summary{font-size:11px;list-style:none;display:flex;align-items:center;justify-content:space-between}.faq-items summary::-webkit-details-marker{display:none}.faq-items summary svg{width:14px;height:14px;color:#9ca68f}.faq-items details[open] summary svg{transform:rotate(45deg)}.faq-items p{font-size:11px;line-height:1.9;color:#829078;margin:14px 24px 0 0}footer{border-top:1px solid var(--line);padding:24px max(5.3%,calc((100vw - 1124px)/2));display:flex;align-items:center;gap:22px}footer .brand{font-size:18px}footer .brand-icon{width:24px;height:26px;border-radius:6px}footer .brand-icon svg{width:16px;height:16px}footer p{font-size:10px;color:#a0a995}footer>span{margin-left:auto;display:flex;gap:11px;align-items:center;font-size:9px;color:#9aa58e}footer>span svg{width:14px;height:14px}.file-list{display:grid;gap:8px;margin-top:12px}.file-list:empty{margin:0}.file-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e7ebdf;border-radius:7px;background:#fbfcf9;font-size:11px}.file-row>svg{color:#839673}.file-row .name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80%}.file-row small{margin-left:auto;white-space:nowrap;color:#8e9982}.file-row button{padding:3px;display:grid;place-items:center}.file-row button svg{width:15px;height:15px}.status{font-size:11px;padding:12px;border-radius:6px;line-height:1.7;background:#edf4e8;color:#486b3e;margin-bottom:10px;white-space:pre-line}.status.error{background:#fff1eb;color:#a65a42}.downloads{display:grid;gap:8px;margin-bottom:10px}.download-link{display:flex;align-items:center;gap:9px;font-size:11px;padding:12px;background:#edf4e8;border-radius:6px;color:#426b3e;overflow-wrap:anywhere}.download-link svg{width:17px}.download-link span{margin-left:auto;font-size:10px;white-space:nowrap}.format-note{font-size:10px;color:#8c9076;background:#f7f7ed;padding:10px 12px;line-height:1.7;margin-top:12px}dialog{border:1px solid #e0e6d7;border-radius:16px;padding:35px;max-width:450px;width:calc(100% - 32px);color:#344736;box-shadow:0 30px 100px #253d3630}dialog::backdrop{background:#183b3350;backdrop-filter:blur(3px)}dialog h2{margin-top:16px}dialog ol{padding-left:20px;font-size:13px;line-height:1.8}dialog li{padding:8px}dialog li p{font-size:12px;color:#829078;margin:4px 0}.close-dialog{position:absolute;right:15px;top:15px}.dialog-note{font-size:11px;color:#89927e;background:#f4f6ed;padding:12px;border-radius:6px}[hidden]{display:none!important}
@media(min-width:1500px){main{max-width:1240px}.hero{padding-top:60px;padding-bottom:45px}.dropzone{min-height:310px}.workspace{grid-template-columns:245px 1fr}}
@media(max-width:900px){.brand-sub,.brand-divider,.local-pill{display:none}.topbar{padding:0 25px;height:74px}.hero-art{right:0;transform:scale(.8);transform-origin:right center}.hero h1{font-size:38px}.workspace{grid-template-columns:195px 1fr}.sidebar{padding-left:10px;padding-right:10px}.converter{padding:24px 22px 0}.mode-tag{display:none}.benefits{gap:17px}.benefits article{gap:8px}.benefits p{font-size:9px}.settings{gap:12px}.settings>div{width:100%}.hero-art{opacity:.8}}
@media(max-width:650px){main{padding:0 18px}.topbar{padding:0 18px;height:68px;gap:15px}.brand{font-size:22px}nav{gap:16px;font-size:11px}.hero{padding:32px 0}.hero-art{display:none}.hero h1{font-size:36px;letter-spacing:-1.5px}.hero h1>svg{width:195px}.hero>p{font-size:12px}.hero-tags{gap:12px;font-size:10px}.workspace{grid-template-columns:1fr}.sidebar{padding:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-heading{padding:0}.side-label{margin:16px 0 7px;font-size:9px}.side-label.second{margin-top:12px}#to-tools,#from-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.tool-button{font-size:10px;justify-content:center;gap:6px;padding:10px 5px}.tool-button>svg{width:15px}.tool-button .arrow,.side-note{display:none}.converter{padding:22px 18px 0}.converter-head{gap:10px;margin-bottom:20px}.converter-head h2{font-size:18px}.converter-head p{font-size:10px;line-height:1.7}.title-icon{width:37px;height:39px;flex-shrink:0}.dropzone{min-height:275px}.dropzone h3{font-size:13px}.file-hint{font-size:8px}.settings{gap:10px}.secure-foot{font-size:8px}.benefits{grid-template-columns:1fr;padding:26px 5px;gap:21px}.benefits article{gap:14px}.benefits p{font-size:10px}.faq{grid-template-columns:1fr;gap:20px;padding:30px 0}.faq>div>p{display:none}footer{padding:20px 18px;flex-wrap:wrap;gap:12px}footer>span{display:none}footer p{margin-left:auto;font-size:9px}.hero-tags svg{width:13px}.file-row .name{max-width:66%}}
.transfer-panel{border:1px solid #b9d4b4;background:#f0f7eb;border-radius:12px;padding:20px;margin:0 0 20px;scroll-margin-top:24px;box-shadow:0 3px 15px #315d3510}.transfer-steps{display:flex;gap:20px;font-size:10px;color:#85947e;margin-bottom:18px}.transfer-steps .current{color:#24694f;font-weight:700}.transfer-heading{display:flex;align-items:center;gap:10px}.transfer-heading strong{font-size:15px;min-width:0;overflow-wrap:anywhere}.transfer-heading b{margin-left:auto;font-size:22px;color:#24694f;white-space:nowrap}.transfer-spinner{width:19px;height:19px;border:2px solid #c0d5b5;border-top-color:#24694f;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}.transfer-panel[data-state=done] .transfer-spinner{animation:none;background:#24694f;border:5px solid #c8dfbc}.transfer-panel[data-state=error]{background:#fff5ef;border-color:#ebc9b8}.transfer-panel[data-state=error] .transfer-spinner{animation:none;border-color:#b56748}.transfer-panel progress{display:block;width:100%;height:9px;border:0;border-radius:8px;overflow:hidden;accent-color:#24694f;background:#dde9d7;margin-top:15px}.transfer-panel progress::-webkit-progress-bar{background:#dde9d7;border-radius:8px}.transfer-panel progress::-webkit-progress-value{background:#24694f;border-radius:8px;transition:width .15s}.transfer-panel progress:not([value]){background:linear-gradient(90deg,#dde9d7,#7daa73,#dde9d7);background-size:200% 100%;animation:shimmer 1.5s infinite}.transfer-panel p{font-size:11px;line-height:1.7;color:#64795b;margin:10px 0 0;overflow-wrap:anywhere}.download-link{width:100%;text-align:left;border:1px solid #c7d9ba;cursor:pointer}.download-link:disabled{opacity:.65;cursor:wait}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.transfer-spinner,.transfer-panel progress:not([value]){animation:none}}@media(max-width:650px){.transfer-panel{padding:16px}.transfer-steps{gap:13px;font-size:9px}.transfer-heading strong{font-size:13px}.transfer-heading b{font-size:20px}}
.result-row{display:flex;gap:8px;min-width:0;flex-wrap:wrap}.result-row .download-link{flex:1;min-width:0}.result-note{flex-basis:100%;font-size:11px;line-height:1.5;color:#64795b;padding:0 2px 8px}.preview-button{flex:none;padding:0 17px;border:1px solid #b9d4b4;border-radius:6px;background:#fff;color:#24694f;font-size:11px;font-weight:600}.preview-button:hover{background:#edf4e8}.preview-dialog{width:min(960px,calc(100vw - 32px));max-width:none;height:min(90vh,850px);max-height:none;padding:0;display:flex;flex-direction:column;overflow:hidden}.preview-dialog:not([open]){display:none}.preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 23px;border-bottom:1px solid #e7ebe4}.preview-head h2{font-size:18px;margin:6px 0 0;overflow-wrap:anywhere}.preview-close{font-size:28px;line-height:1;padding:0 8px;color:#698174}.preview-note{font-size:11px;color:#748673;margin:0;padding:10px 23px;background:#f7faf5}.preview-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:stretch;background:#f2f5ef}.preview-pdf{border:0;width:100%;height:100%;min-height:0;flex:1}.preview-image{display:block;max-width:100%;max-height:100%;object-fit:contain;margin:auto;padding:16px}.preview-pages{display:flex;gap:16px;align-items:center;justify-content:center;padding:10px;background:#fff;font-size:11px}.preview-pages span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-pages button{color:#24694f;border:1px solid #c7d9ba;border-radius:5px;padding:6px 10px;white-space:nowrap}.preview-pages button:disabled{opacity:.4;cursor:not-allowed}.preview-text{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 "Noto Sans SC",sans-serif;margin:18px;background:#fff;border:1px solid #e2e8dc;border-radius:8px;padding:24px;min-height:max-content;color:#263d36}@media(max-width:650px){.preview-dialog{height:90vh}.preview-head{padding:14px 16px}.preview-note{padding:8px 16px}.preview-button{padding:0 11px}.preview-pages{gap:8px}.preview-pages button{padding:5px 7px}}
.preview-canvas{display:block;max-width:calc(100% - 32px);height:auto!important;margin:18px auto;background:#fff;box-shadow:0 5px 22px #263d3618}
.preview-scroll-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px;padding:7px 18px;background:#fff;border-bottom:1px solid #dce5d8;color:#365247;font-size:12px;font-weight:600}.preview-zoom-controls{display:flex;align-items:center;gap:8px;white-space:nowrap}.preview-zoom-controls button{width:28px;height:28px;border:1px solid #c7d9ba;border-radius:5px;color:#24694f;font-size:18px;line-height:1}.preview-zoom-controls button:disabled{opacity:.4}.preview-zoom-controls span{min-width:38px;text-align:center}.preview-scroll-pages{display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:18px 24px 28px;min-width:max-content}.preview-scroll-page{flex:none;margin-inline:auto}.preview-page-content{position:relative;overflow:hidden;background:#fff;box-shadow:0 5px 22px #263d3618}.preview-scroll-canvas{display:block}.preview-page-number{display:block;padding-top:7px;text-align:center;color:#657667;font-size:11px}@media(max-width:650px){.preview-scroll-toolbar{padding:7px 12px;font-size:11px}.preview-scroll-pages{padding:12px 16px 24px;gap:14px}}
.preview-docx{min-width:max-content;margin:auto;padding:12px}.preview-docx .docx-wrapper{background:transparent!important;padding:0!important}.preview-docx section.docx{box-shadow:0 4px 18px #263d3624!important;margin:12px auto!important}
.preview-docx{zoom:.85}@media(max-width:650px){.preview-docx{zoom:.6}}
.compare-dialog{width:min(1280px,calc(100vw - 24px));max-width:none;height:min(92vh,940px);max-height:none;padding:0;display:flex;flex-direction:column;overflow:hidden}.compare-dialog:not([open]){display:none}.compare-head{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #e7ebe4}.compare-head h2{margin:6px 0 0}.compare-close{font-size:28px;line-height:1;padding:0 8px;color:#698174}.compare-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 16px;background:#fff}.compare-toolbar button{padding:7px 12px;border:1px solid #c7d9ba;border-radius:5px;color:#24694f;font-size:11px}.compare-toolbar button:disabled{opacity:.4;cursor:not-allowed}.compare-toolbar>span{min-width:65px;text-align:center;font-size:11px}.compare-toolbar label{display:flex;align-items:center;gap:6px;margin-left:14px;font-size:11px;color:#486b3e}.compare-toolbar input{accent-color:#d84b45}.compare-status{margin:0;padding:9px 20px;background:#f7faf5;color:#64795b;font-size:11px;line-height:1.6}.compare-pages{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;background:#f2f5ef;align-items:start}.compare-side{min-width:0;text-align:center;overflow:auto}.compare-side h3{font-size:11px;font-weight:600;margin:0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compare-sheet{position:relative;background:white;box-shadow:0 4px 18px #263d3618;min-height:140px}.compare-sheet canvas{display:block}.compare-sheet .compare-overlay{position:absolute;inset:0;pointer-events:none}.compare-sheet .compare-overlay[hidden]{display:none}@media(max-width:760px){.compare-dialog{height:94vh}.compare-pages{grid-template-columns:1fr}.compare-toolbar{gap:7px}.compare-toolbar label{margin-left:4px}}
.compare-approve{background:#24694f!important;color:#fff!important;border-color:#24694f!important;font-weight:700}.compare-review-note{margin:0;padding:9px 20px;background:#fff5e9;color:#855c2c;font-size:11px;line-height:1.6}.compare-review-note[hidden]{display:none}@media(max-width:760px){.compare-toolbar{flex-wrap:wrap}.compare-approve{flex-basis:100%}}
.pdf-options{margin:14px 0 0;padding:15px 17px;background:#f8faf6;border:1px solid #e3eadd;border-radius:9px}.pdf-option-group{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px 18px}.pdf-option-group label{display:flex;flex-direction:column;gap:6px;min-width:140px;font-size:11px;color:#667b6a;font-weight:600}.pdf-option-group input,.pdf-option-group select{height:36px;border:1px solid #ceddca;border-radius:6px;background:white;padding:0 10px;color:#284b35;font:12px Manrope,"Noto Sans SC",sans-serif}.pdf-option-group input:focus-visible,.pdf-option-group select:focus-visible{outline:2px solid #80b49b;outline-offset:2px}.pdf-option-group small{font-size:10px;font-weight:400;color:#899989}.file-row .file-order{display:flex;gap:2px;margin-left:auto}.file-order button{font-size:14px;border:1px solid #d8e5d5;border-radius:4px;padding:2px 7px;color:#426b3e}.file-order button:disabled{opacity:.35}.file-row:has(.file-order) small{margin-left:0}@media(max-width:650px){.pdf-options{padding:12px}.pdf-option-group label{min-width:120px;flex:1}.file-order button{padding:2px 5px}}

.image-layout-editor{margin:14px 0;padding:17px;border:1px solid #dce8d7;border-radius:10px;background:#f8faf6}.layout-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.layout-top strong,.layout-side>strong,.layout-controls>strong{font-size:12px;color:#315c42}.layout-top p{font-size:10px;color:#809380;line-height:1.6;margin:6px 0 0}.layout-pages{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;color:#5c765e}.layout-pages button,.layout-controls button{border:1px solid #cbdcc8;border-radius:5px;background:white;padding:6px 8px;font-size:10px}.layout-pages button:disabled{opacity:.4;cursor:not-allowed}.layout-workspace{display:grid;grid-template-columns:minmax(0,1fr) 185px;gap:16px;margin-top:16px}.layout-paper-wrap{min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}.layout-paper-wrap>small{font-size:9px;color:#8d988c}.layout-paper{width:100%;max-width:440px;position:relative;overflow:hidden;background:white;border:1px solid #d3dcd0;box-shadow:0 8px 22px #263d3615;touch-action:none}.layout-image{position:absolute;border:2px solid transparent;cursor:grab;touch-action:none;user-select:none}.layout-image.selected{border-color:#2b805b;z-index:2;box-shadow:0 0 0 1px white}.layout-image:active{cursor:grabbing}.layout-image img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}.layout-resize{display:none;position:absolute;right:-7px;bottom:-7px;width:16px;height:16px;border:2px solid white;background:#2b805b;border-radius:4px;cursor:nwse-resize}.layout-image.selected .layout-resize{display:block}.layout-side{min-width:0}.layout-thumbs{display:grid;gap:5px;margin-top:9px;max-height:220px;overflow:auto}.layout-thumb{display:flex;align-items:center;gap:6px;width:100%;min-width:0;text-align:left;border:1px solid #e0e8db;border-radius:6px;background:white;padding:5px;color:#4f654f;font-size:10px}.layout-thumb.selected{border-color:#2b805b;background:#eef5ed}.layout-thumb img{width:29px;height:36px;object-fit:contain;background:#f4f7f2}.layout-thumb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.layout-thumb small{white-space:nowrap;color:#91a08c;font-size:9px}.layout-controls{border-top:1px solid #e0e9dd;margin-top:13px;padding-top:11px;display:grid;gap:8px}.layout-controls label{display:grid;gap:5px;font-size:10px;color:#668069}.layout-controls select{height:30px;border:1px solid #cbdcc8;border-radius:5px;background:white;font-size:10px;padding:0 5px}.layout-controls input{width:100%;accent-color:#2b805b}.layout-controls label span{font-size:9px;color:#7b927c}@media(max-width:700px){.layout-workspace{grid-template-columns:1fr}.layout-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.layout-side>strong{grid-column:1/-1}.layout-thumbs{margin-top:0}.layout-controls{margin-top:0;border-top:0;padding-top:0}}@media(max-width:440px){.layout-side{grid-template-columns:1fr}}
.layout-top .layout-error{color:#b7563e;font-weight:600}
.layout-image-art{position:absolute;left:50%;top:50%;overflow:hidden;pointer-events:none;transform-origin:center center}.layout-image-art img{position:absolute;max-width:none;max-height:none;object-fit:fill}.layout-rotation{display:grid;gap:6px;font-size:10px;color:#668069}.layout-rotation>div{display:flex;align-items:center;gap:5px}.layout-rotation input{width:50px;height:29px;border:1px solid #cbdcc8;border-radius:5px;text-align:center;font-size:10px}.layout-crop{border-top:1px solid #e0e9dd;padding-top:10px;display:grid;gap:6px}.layout-crop>strong{font-size:10px;color:#315c42}.layout-crop-field{display:grid!important;grid-template-columns:17px 1fr 30px;align-items:center;gap:4px!important}.layout-crop-field input{min-width:0}.layout-crop-field span{text-align:right}.layout-crop button{justify-self:start}
.watermark-options{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px}.watermark-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.watermark-fields label{min-width:0}.watermark-fields input[type="range"]{padding:0;accent-color:#24694f}.watermark-fields input[type="color"]{width:100%;padding:3px;cursor:pointer}.watermark-preview-panel{display:flex;flex-direction:column;align-items:center;gap:9px}.watermark-preview-panel>strong{font-size:11px;color:#526d62}.watermark-preview-panel>small{font-size:9px;line-height:1.5;color:#85948a;text-align:center}.watermark-preview-page{position:relative;width:100%;max-width:230px;aspect-ratio:595.28/841.89;overflow:hidden;background:repeating-linear-gradient(to bottom,#fff 0,#fff 25px,#f5f7f5 26px,#fff 27px);border:1px solid #ccd8cc;box-shadow:0 5px 16px #283f3515;touch-action:none}.watermark-preview-page.can-drag{cursor:grab}.watermark-preview-page.can-drag:active{cursor:grabbing}.watermark-mark{position:absolute;white-space:nowrap;font-weight:700;line-height:1.4;pointer-events:none;user-select:none;transform-origin:center center}@media(max-width:760px){.watermark-options{grid-template-columns:1fr}.watermark-preview-panel{max-width:260px;margin:auto}}@media(max-width:440px){.watermark-fields{grid-template-columns:1fr}}
.hero h1{width:auto;max-width:720px;font-size:40px}.tool-guides{padding:45px 0 48px;border-bottom:1px solid var(--line);scroll-margin-top:25px}.tool-guides-head .eyebrow{font-size:9px}.tool-guides-head h2{font-size:23px;margin:9px 0 8px}.tool-guides-head p{font-size:11px;line-height:1.8;color:#859284;margin:0 0 20px}.tool-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tool-guide-grid a{display:flex;flex-direction:column;gap:9px;min-height:128px;padding:18px;border:1px solid #e1e9dd;border-radius:9px;background:#fff;color:#315b43;text-decoration:none;transition:border-color .2s,transform .2s}.tool-guide-grid a:hover{border-color:#8db49b;transform:translateY(-2px)}.tool-guide-grid strong{font-size:14px}.tool-guide-grid span{font-size:11px;line-height:1.65;color:#718572}.tool-guide-grid b{font-size:10px;font-weight:600;margin-top:auto}@media(max-width:900px){.hero h1{max-width:calc(100% - 280px);font-size:34px}}@media(max-width:650px){.hero h1{max-width:100%;font-size:34px}.tool-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-guides{padding:30px 0}}@media(max-width:420px){.tool-guide-grid{grid-template-columns:1fr}.tool-guide-grid a{min-height:108px}}
.brand-number{font-size:12px;font-weight:800;letter-spacing:-1px}.brand .brand-number{color:#fff}footer .brand-number{font-size:8px}
.pdf-option-group input[aria-invalid="true"]{border-color:#bc6245}.pdf-option-group .field-help{color:#bc6245}
.reorder-assist{flex-basis:100%;min-width:0;padding-top:2px}.reorder-actions{display:flex;gap:8px;margin-bottom:8px}.reorder-actions button{padding:5px 10px;border:1px solid #c7d9ba;border-radius:5px;background:#fff;color:#24694f;font-size:11px}.reorder-actions button:disabled{opacity:.45;cursor:not-allowed}.reorder-assist p{margin:0;color:#536d59;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.reorder-assist p.error{color:#bc6245}
/* Mobile tool picker keeps the upload action visible near the first screen. */
.mobile-tool-toggle{display:none}
@media(max-width:650px){
  .sidebar{padding:14px 16px 16px}
  .sidebar-heading{font-size:13px;margin-bottom:10px}
  .mobile-tool-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:48px;padding:10px 12px;border:1px solid #cbdcc9;border-radius:9px;background:#fff;color:#315c43;text-align:left;font-size:13px}
  .mobile-tool-toggle strong{font-weight:700}
  .mobile-tool-toggle-action{white-space:nowrap;color:#24694f;font-weight:700}
  .mobile-tool-toggle-action span{display:inline-block;font-size:19px;line-height:10px;transition:transform .2s}
  .sidebar.menu-open .mobile-tool-toggle-action span{transform:rotate(180deg)}
  .sidebar:not(.menu-open)>.side-label,.sidebar:not(.menu-open)>#to-tools,.sidebar:not(.menu-open)>#from-tools,.sidebar:not(.menu-open)>#utility-tools{display:none}
  #to-tools,#from-tools,#utility-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .tool-button{min-height:44px;justify-content:flex-start;padding:8px 9px;font-size:12px;line-height:1.35;margin:0}
  .tool-button>svg{width:17px;height:17px}
  .hero{padding:25px 0 27px}
  .hero>p{font-size:13px;line-height:1.75}
  .hero-tags{font-size:11px;flex-wrap:wrap;row-gap:8px}
  .converter-head p{font-size:12px}
  .dropzone{min-height:245px}
  .file-hint,.secure-foot{font-size:10px;line-height:1.55}
  #choose-button,#convert-button,.preview-button{min-height:44px}
  .settings label,.pdf-options label{font-size:12px}
  .settings select,.pdf-options select,.pdf-options input:not([type=range]):not([type=color]){min-height:42px}
  .tool-guide-grid span{font-size:12px}
  nav a,nav button{min-height:44px}
}
@media(max-width:360px){
  .topbar{gap:8px;padding:0 12px}
  .topbar .brand{font-size:20px;gap:6px;white-space:nowrap;flex-shrink:0}
  .topbar nav{gap:12px;font-size:12px;flex-shrink:0;margin-left:auto}
  .topbar nav a[href="#tool-guides"]{display:none}
  .topbar nav button{font-size:12px;white-space:nowrap}
  .topbar nav button svg{display:none}
  .compare-toolbar{gap:4px;padding:8px 6px}
  .compare-toolbar button{min-height:40px;padding:6px 8px}
  .compare-toolbar label{margin-left:2px;white-space:nowrap;font-size:10px}
}
@media(max-width:650px){
  .image-layout-editor button,.file-order button,.preview-zoom-controls button{min-height:40px;min-width:40px;font-size:12px}
  .layout-controls label,.layout-crop label,.layout-rotation{font-size:12px}
  .layout-rotation input{height:40px;min-width:52px}
  .preview-close,.compare-close{min-width:44px;min-height:44px}
}
@media(min-width:480px) and (max-width:650px){
  #to-tools,#from-tools,#utility-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.remove-watermark-options{align-items:flex-start}
.remove-watermark-options [hidden]{display:none!important}
.remove-watermark-options p{flex:1;min-width:220px;margin:0;color:#64795b;font-size:11px;line-height:1.7}
@media(max-width:650px){.remove-watermark-options p{flex-basis:100%;min-width:0;font-size:12px}}
/* Local PDF editor */
.pdf-editor-dialog{width:min(1320px,calc(100vw - 20px));max-width:none;height:94vh;max-height:none;padding:0;display:flex;flex-direction:column;overflow:hidden}.pdf-editor-dialog:not([open]){display:none}.pe-head{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e1e8dd}.pe-head h2{margin:5px 0 0;font-size:19px}.pe-close{font-size:28px;min-width:44px;min-height:40px}.pe-tools,.pe-properties,.pe-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 16px;border-bottom:1px solid #e1e8dd;background:#fff}.pdf-editor-dialog button{border:1px solid #d6e1d0;border-radius:6px;padding:8px 11px;font-size:12px;color:#35634b;min-height:36px}.pdf-editor-dialog button:hover{background:#edf4e8}.pdf-editor-dialog button:disabled{opacity:.45;cursor:not-allowed}.pdf-editor-dialog [aria-pressed=true]{background:#24694f;color:#fff;border-color:#24694f}.pe-properties label{display:flex;align-items:center;gap:6px;font-size:11px}.pe-properties input,.pe-properties select{border:1px solid #cfddc8;border-radius:5px;padding:7px;width:66px;font:inherit;background:#fff;color:#344736}.pe-properties .pe-text{width:240px}.pe-properties input[type=color]{padding:3px;width:40px;height:32px}.pe-properties select{width:100px}.pe-note{font-size:11px;line-height:1.7;color:#7a715a;margin:0;padding:7px 16px;background:#faf7ed}.pe-navigation{font-size:12px;padding:6px 16px}.pe-status{margin-left:auto;font-size:11px;color:#7e907b}.pe-workspace{flex:1;min-height:100px;overflow:auto;background:#e9eee6;padding:18px;overscroll-behavior:contain}.pe-sheet{position:relative;margin:0 auto;background:white;box-shadow:0 4px 18px #263d3620;flex-shrink:0}.pe-base{display:block}.pe-overlay{position:absolute;inset:0;touch-action:none}.pe-footer{padding:12px 16px;display:flex;align-items:center;gap:10px;border-top:1px solid #dfe7d8}.pe-footer span{font-size:11px;line-height:1.5;color:#7f9078;margin-right:auto}.pe-footer .pe-export{background:#24694f;color:white;border-color:#24694f}.pe-footer .pe-export:hover{background:#18553d}
@media(max-width:650px){.pdf-editor-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.pe-head{padding:8px 12px}.pe-tools{gap:5px;padding:8px}.pdf-editor-dialog button{min-height:40px;padding:7px 9px}.pe-properties{gap:7px;padding:8px}.pe-properties label:first-child{width:100%}.pe-properties .pe-text{flex:1;width:auto;min-width:0}.pe-properties input{width:48px}.pe-properties select{width:87px}.pe-note{font-size:10px;padding:6px 10px}.pe-navigation{padding:5px 8px;gap:6px}.pe-status{width:100%;font-size:10px}.pe-footer{padding:8px;flex-wrap:wrap}.pe-footer span{flex-basis:100%;font-size:10px}.pe-footer button{flex:1}.pe-workspace{padding:12px}}
body>footer{flex-wrap:wrap}footer .icp-record{flex:0 0 100%;text-align:center;font-size:12px;line-height:1.8;color:#6b786f}footer .icp-record a:hover{text-decoration:underline}
