/* Shared navigation, readable guides, and native links for every tool. */
html{scroll-padding-top:24px}body{overflow-wrap:break-word}a{text-underline-offset:3px}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #597d36;outline-offset:4px}[hidden]{display:none!important}
.skip-link{position:absolute;left:16px;top:-80px;padding:12px 18px;border-radius:8px;background:#283f27;color:white;z-index:100}.skip-link:focus{top:12px}
.site-header nav a:first-child{display:inline-flex}.site-header nav{gap:24px}.brand-icon{font-size:27px}.breadcrumbs{max-width:1056px;margin:23px auto 0;padding:0 24px;display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#57694d}.breadcrumbs a{text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}
.tool-hero{padding:28px 20px 30px}.tool-hero h1{font-size:clamp(28px,3.6vw,44px);line-height:1.25;letter-spacing:-1.5px;margin:18px 0 14px}.hero p{max-width:650px;margin-left:auto;margin-right:auto;font-size:15px;line-height:1.85;color:#5e6d55}.tool-hero .eyebrow{font-size:11px}
.tool-button{text-decoration:none}.tool-button>span:last-child{min-width:0}.tool-button small{line-height:1.5}.workspace,.workspace-heading>div,.pdf-workspace-top>div{min-width:0}.workspace-heading p,.pdf-workspace-top p{line-height:1.8}.workspace h2,.pdf-workspace-top h2{overflow-wrap:anywhere}.tool-menu .pdf-nav-link small{line-height:1.7}.quick-tools a{font-size:12px;background:#fff;border:1px solid #d5dfca;padding:9px 12px;border-radius:8px;color:#405a2f;text-decoration:none}.quick-tools a:hover{background:#eaf4dd}
.all-tools-section,.directory-wrap,.related-tools{max-width:1056px;margin:64px auto;padding:0 24px}.directory-group{margin-top:32px}.directory-group>h2,.related-tools>h2{font-size:21px;letter-spacing:-.6px;margin:0 0 18px}.tool-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.directory-card{position:relative;display:flex;gap:13px;padding:21px 18px;border:1px solid #dfe6d7;border-radius:14px;background:#fff;text-decoration:none;color:#304a28;min-width:0;transition:background .15s,border-color .15s}.directory-card:hover{background:#f0f6e9;border-color:#9eb780}.directory-mark{display:grid;place-items:center;flex:0 0 36px;height:38px;background:#eef5e6;border-radius:9px;color:#597c40;font-size:20px;font-weight:700}.directory-mark.pdf-mark{font-size:11px;background:#f8e9e1;color:#95634b}.directory-card>div{min-width:0;flex:1}.directory-card h3{font-size:15px;line-height:1.5;margin:0 12px 7px 0;letter-spacing:-.4px}.directory-card p{font-size:12px;line-height:1.8;color:#627258;margin:0}.card-arrow{position:absolute;right:14px;top:20px;color:#7e936c;font-size:14px}.all-tools-link{display:inline-block;margin-top:24px;color:#426b2b;font-size:14px;font-weight:600}.related-tools{margin-top:52px;margin-bottom:65px}
.usage-notes{max-width:970px;margin:32px auto 0;padding:24px 28px;border:1px solid #e1e8d9;border-radius:14px;background:#f1f5eb}.usage-notes h2{font-size:17px;margin:0 0 12px}.usage-notes p{color:#526548;font-size:13px;line-height:1.9;margin:10px 0}.how-section{margin-top:55px}.how-grid p{font-size:13px;color:#5c6d51}.how-grid h3{line-height:1.6}.faq-section{margin-top:50px;margin-bottom:40px}.faq-list p{font-size:13px;color:#526548}.faq-list summary{font-size:14px;line-height:1.7}.faq-list summary>span{flex-shrink:0}.faq-list details[open] summary>span{transform:rotate(45deg)}
.tool-search{max-width:650px;margin:0 auto 36px}.tool-search label{display:block;font-weight:600;margin-bottom:10px;font-size:14px}.tool-search input{width:100%;font:inherit;min-height:52px;border:1px solid #b9c9a9;border-radius:10px;padding:14px 17px;background:white;color:#304a28}.tool-search p{font-size:13px;min-height:20px;color:#627258}.prose{max-width:800px;margin:0 auto 70px;padding:0 24px;color:#41553a}.prose h2{font-size:22px;line-height:1.5;margin:36px 0 13px;letter-spacing:-.5px}.prose p,.prose li{font-size:15px;line-height:1.95}.prose ul{padding-left:22px}.prose a{color:#386621}.prose .updated{font-size:12px;color:#617454}.table-scroll{overflow-x:auto;border:1px solid #dce4d4;border-radius:10px}.prose table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;line-height:1.8}.prose td,.prose th{padding:13px;border-bottom:1px solid #dce4d4;vertical-align:top}.prose th{background:#edf4e6}.prose td:first-child{min-width:120px}.error-actions{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;margin:10px 20px 100px}.error-actions a{color:#34532a}.no-script{margin:24px auto;padding:18px;max-width:850px;background:#fff3e5;color:#775122;font-size:14px;line-height:1.7}
footer{flex-wrap:wrap;justify-content:space-between;gap:24px}footer>div{min-width:0}footer p{font-size:12px;color:#607154}footer nav{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:#526848}footer nav a{text-decoration:none}footer nav a:hover{text-decoration:underline}footer>span{font-size:11px;color:#647458;margin-left:0}.pdf-main .how-section{padding:0}.pdf-main .related-tools{padding:0}.pdf-main .usage-notes{max-width:850px}.pdf-main .faq-section{max-width:850px}.pdf-main .all-tools-section{padding:0}.file-hint,.option-note,.workspace-footer{color:#5e7052}.steps span{white-space:nowrap}.header-note{color:#5f7350}
@media(max-width:900px){.tool-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header{padding-left:22px;padding-right:22px}.site-header nav{gap:17px}.header-note{display:none}}
@media(max-width:600px){.site-header{height:auto;min-height:84px;gap:12px;padding:15px 18px;align-items:center;flex-wrap:wrap}.site-header .brand{font-size:24px}.site-header nav{margin-left:auto;gap:14px;font-size:12px;flex-wrap:wrap}.site-header nav a:last-child{display:none}.hero{padding-left:20px;padding-right:20px}.hero h1{font-size:32px;letter-spacing:-1.4px;overflow-wrap:break-word}.hero p{font-size:13px}.tool-hero h1{font-size:30px}.breadcrumbs{font-size:11px;padding:0 20px;gap:6px}.all-tools-section,.directory-wrap,.related-tools{margin:40px auto;padding:0 18px}.tool-directory{grid-template-columns:minmax(0,1fr);gap:10px}.directory-card{padding:18px}.directory-card p{font-size:12px}.usage-notes{margin:24px 18px 0;padding:20px}.pdf-main .usage-notes{margin:24px 0 0}.pdf-main .breadcrumbs{padding:0}.how-grid p{font-size:13px}.faq-list p{font-size:13px}.prose h2{font-size:20px}.prose p,.prose li{font-size:14px}footer{margin:0 18px;padding:25px 0;gap:16px}footer nav{gap:12px 18px;width:100%}footer>span{width:auto}.workspace-heading{gap:8px}.workspace h2{font-size:21px}.workspace-heading p{font-size:12px}.tool-buttons{gap:7px}.tool-button{gap:7px}.tool-icon{flex-shrink:0}.tool-button strong{font-size:12px}.tool-button small{font-size:9px}.pdf-main{padding:0 16px}}
@media(max-width:360px){.site-header{gap:9px;padding-left:14px;padding-right:14px}.site-header nav{gap:10px;font-size:11px}.site-header .brand{font-size:22px}.brand-icon{width:29px;height:29px}.converter{margin-left:12px;margin-right:12px}.workspace{padding-left:15px;padding-right:15px}.tool-button{padding:10px 7px}.tool-button .tool-icon{display:none}.steps{gap:5px}.steps i{width:14px}.tool-hero h1{font-size:27px}.hero h1{font-size:28px}}

#text-background-options{margin:20px 0;padding:18px;border:1px solid #dce5d2;border-radius:12px;background:#f6f9f1}#text-background-options h3{font-size:15px;margin:0 0 10px}.text-selection-actions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.text-selection-actions button{border:1px solid #cbd9bc;border-radius:7px;min-height:40px;padding:8px 10px;background:white;font-size:12px}.text-selection-actions button.selected{background:#38573a;color:white;border-color:#38573a}.text-preview-wrap{padding:8px;background:#e7ede0;border-radius:8px}#text-stage{position:relative;touch-action:none;overflow:hidden;cursor:crosshair}#text-canvas{display:block;width:100%;height:auto}#text-selection{position:absolute;border:2px solid #6da02e;box-shadow:0 0 0 2000px #1a261e70;pointer-events:none}.text-margins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.text-margins label{font-size:11px;display:block;margin:9px 0 6px}.text-margins input{width:100%;min-width:0;border:1px solid #cbd9bc;background:white;border-radius:6px;font:inherit;font-size:12px;padding:8px;min-height:40px}.text-color-controls{display:grid;grid-template-columns:1fr 2fr;gap:20px;margin-top:14px}.text-color-controls label{font-size:12px}.text-color-controls input[type=color]{display:block;min-height:40px;width:64px;margin-top:6px;border:1px solid #cbd9bc;background:white;border-radius:6px}.text-color-controls output{float:right}.text-check{display:flex;gap:7px;align-items:flex-start;font-size:12px;line-height:1.7}.text-check input{accent-color:#547c32;min-width:17px;min-height:17px}#text-edit-again{display:block;margin:12px auto} @media(max-width:520px){#text-background-options{padding:12px}.text-margins{grid-template-columns:repeat(2,minmax(0,1fr))}.text-color-controls{gap:12px;grid-template-columns:1fr 1.5fr}.text-selection-actions button{font-size:11px}}

/* Editing, batch conversion, and comparison controls. */
.option-panel{margin:18px 0;padding:17px;border:1px solid #dbe5d1;border-radius:12px;background:#f6f9f2;text-align:left}.option-panel h3,.target-options h3{font-size:14px;line-height:1.6;margin:0 0 12px}.option-panel p{line-height:1.8}.option-panel summary{font-size:13px;font-weight:600;cursor:pointer}.option-panel[open] summary{margin-bottom:16px}.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.option-grid>div{min-width:0}.option-grid label,.target-options label{display:block;font-size:11px;margin-bottom:6px}.option-grid input:not([type=range]),.option-grid select,.target-options select,.target-options input[type=number],#compare-zoom{max-width:100%;width:100%;min-width:0;min-height:40px;border:1px solid #cddabd;border-radius:7px;padding:9px;background:#fff;color:#354f3e;font:inherit;font-size:12px}.action-row,.rotation-actions,.section-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.section-row{justify-content:space-between;margin-bottom:12px}.section-row h3{margin:0}.section-row>span{font-size:11px;color:#617553}.rotation-actions{align-content:center}.rotation-actions button,.secondary,.continue-tools button{min-height:40px;border:1px solid #ccdbbc;border-radius:7px;background:#fff;padding:8px 11px;font-size:12px;cursor:pointer}.rotation-actions button[aria-pressed=true],.brush-toolbar button[aria-pressed=true]{background:#365139;color:#fff;border-color:#365139}.target-options{border-top:1px solid #dce5d2;margin-top:15px;padding:16px 0 8px}.target-options .text-check{display:flex;gap:7px;align-items:flex-start;margin:12px 0}.target-options input[type=checkbox]{flex-shrink:0}.target-options #target-quality-label{max-width:220px}.batch-list{list-style:none;margin:0 0 15px;padding:0;max-height:330px;overflow:auto}.batch-list li{border-bottom:1px solid #dfe6d7;padding:10px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:center}.batch-list strong{font-size:12px;overflow-wrap:anywhere;font-weight:500}.batch-list small{font-size:11px;display:block;color:#667859;grid-column:1/-1}.batch-list a{font-size:11px;color:#426c2d;text-decoration:underline;padding:5px}.batch-list .failed{color:#9c482d}.crop-preview{padding:7px;background:#e6eddf;border-radius:8px;margin:14px 0;overflow:hidden}#crop-stage{position:relative;touch-action:none;cursor:crosshair;overflow:hidden}#crop-canvas{width:100%;height:auto;display:block}#crop-selection{position:absolute;border:2px solid #78ac3f;box-shadow:0 0 0 2000px #13231780;pointer-events:none}.brush-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:14px 0}.brush-toolbar .segmented{margin:0;flex:1}.retouch-viewport,.compare-viewport{max-width:100%;overflow:auto;max-height:520px;border:1px solid #dce4d2;border-radius:9px;overscroll-behavior:contain}.retouch-viewport{margin-top:12px}#retouch-stage{width:100%}#retouch-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}#brush-size-value{float:right;color:#647d50}#image-comparison{margin:20px 0;text-align:left}#image-comparison .section-row{font-size:12px}#image-comparison label{display:flex;align-items:center;gap:8px}#compare-zoom{width:auto;min-height:35px;padding:6px}#compare-stage{width:100%;position:relative}#compare-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;margin:0;max-height:none;border-radius:0}#compare-before{z-index:1}#compare-divider{position:absolute;top:0;bottom:0;width:2px;background:#9ac25e;z-index:2;pointer-events:none}.compare-labels{display:flex;justify-content:space-between;font-size:10px;color:#6c7f5c;margin-top:8px}.continue-tools{border-top:1px solid #e0e7d7;padding-top:18px;margin:16px 0;text-align:left}.continue-tools h4{font-size:13px;margin:0 0 12px}.continue-tools .option-note{margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#result-warning{margin:12px 0;text-align:left}.workspace input,.workspace select{max-width:100%}.workspace .option-note{font-size:11px}.batch-list [aria-disabled=true]{pointer-events:none;opacity:.6}
@media(max-width:520px){.option-panel{padding:12px}.option-grid{gap:10px}.rotation-actions button,.secondary,.continue-tools button{font-size:11px;padding:8px}.retouch-viewport,.compare-viewport{max-height:340px}.brush-toolbar{flex-wrap:wrap}.option-panel .text-button{font-size:11px}.section-row{align-items:flex-start}#image-comparison .section-row{gap:8px}.action-row>.primary{width:100%;font-size:12px}.target-options #target-quality-label{max-width:100%}.tool-button small{white-space:normal}}

#crop-stage,#compare-stage,#retouch-stage{margin-left:auto;margin-right:auto}.crop-result-preview{margin:16px 0 0;padding:12px;border:1px dashed #cedbbf;border-radius:8px;background:#fff;text-align:center}.crop-result-preview span{display:block;font-size:11px;color:#718760;margin-bottom:10px}.crop-result-preview canvas{display:block;max-width:100%;height:auto;margin:auto}
