*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#13233a;background:#f6f8fc}a{text-decoration:none;color:inherit}.wrap{max-width:1180px;margin:auto;padding:0 22px}.nav{height:72px;background:#fff;border-bottom:1px solid #e7ebf2;display:flex;align-items:center;position:sticky;top:0;z-index:50}.nav .wrap{width:100%;display:flex;align-items:center;gap:26px}.brand{font-weight:800;font-size:23px;letter-spacing:-.7px;display:flex;align-items:center;gap:10px}.brandmark{width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#2563eb,#0f3da7);display:grid;place-items:center;color:white;font-weight:900;box-shadow:0 8px 22px #2563eb33}.navlinks{display:flex;gap:20px;color:#56657a;font-size:14px}.navlinks a:hover{color:#1357c5}.privacy-pill{margin-left:auto;background:#eefbf4;color:#157445;padding:9px 13px;border-radius:999px;font-size:12px;font-weight:750;display:flex;gap:6px;align-items:center}.hero{background:radial-gradient(circle at 50% -10%,#dbeafe 0,#f8fbff 44%,#f6f8fc 72%);padding:74px 0 42px;text-align:center}.eyebrow{display:inline-flex;gap:7px;align-items:center;background:#fff;border:1px solid #dfe7f3;padding:8px 12px;border-radius:999px;color:#2a5eb0;font-size:12px;font-weight:800;box-shadow:0 4px 16px #17345b0d}.hero h1{font-size:52px;line-height:1.03;max-width:850px;margin:18px auto 14px;letter-spacing:-2.2px;color:#0b1b31}.hero h1 span{color:#2263d7}.hero p{max-width:720px;margin:0 auto;color:#617087;font-size:17px;line-height:1.65}.trustrow{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;margin:24px 0 30px;font-size:13px;color:#40536d;font-weight:650}.trustrow span:before{content:'✓';color:#15935a;font-weight:900;margin-right:7px}.search{max-width:720px;margin:0 auto;position:relative}.search input{width:100%;height:58px;border:1px solid #dce3ed;border-radius:17px;background:white;box-shadow:0 12px 35px #24477212;padding:0 54px 0 51px;font-size:16px;outline:none}.search input:focus{border-color:#79a8f8;box-shadow:0 12px 38px #2563eb20}.search .mag{position:absolute;left:18px;top:18px;color:#738299}.search kbd{position:absolute;right:16px;top:17px;border:1px solid #e2e7ef;border-bottom-width:2px;background:#f8fafc;color:#8a96a8;border-radius:7px;padding:4px 7px;font-size:11px}.section{padding:30px 0}.sectionhead{display:flex;align-items:end;justify-content:space-between;margin:8px 0 17px}.sectionhead h2{font-size:25px;margin:0;letter-spacing:-.7px;color:#112139}.sectionhead p{margin:5px 0 0;color:#748197;font-size:13px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.toolcard{background:#fff;border:1px solid #e5e9f0;border-radius:16px;padding:18px;min-height:146px;transition:.2s;position:relative;overflow:hidden}.toolcard:hover{transform:translateY(-3px);border-color:#b9cdf2;box-shadow:0 13px 32px #17345b14}.toolicon{width:42px;height:42px;border-radius:12px;background:#eff5ff;color:#2865ce;display:grid;place-items:center;font-weight:850;font-size:13px;margin-bottom:14px}.toolcard.pop .toolicon{background:#e9f2ff;color:#145ac9}.toolcard h3{font-size:15px;margin:0 0 6px;color:#15253d;letter-spacing:-.2px}.toolcard p{font-size:12.5px;line-height:1.5;color:#718096;margin:0}.tag{position:absolute;right:12px;top:12px;border-radius:999px;padding:5px 8px;background:#fff5dc;color:#9c6400;font-size:9px;font-weight:850;letter-spacing:.3px}.tag.advanced{background:#f2efff;color:#6540bb}.why{margin:52px auto 30px;background:#0d203b;color:#fff;border-radius:24px;padding:34px;display:grid;grid-template-columns:1.2fr 1fr;gap:36px}.why h2{font-size:31px;margin:0 0 11px;letter-spacing:-1px}.why p{color:#b7c7dc;line-height:1.65}.featurelist{display:grid;grid-template-columns:1fr 1fr;gap:12px}.feat{background:#ffffff0c;border:1px solid #ffffff14;border-radius:14px;padding:15px}.feat b{display:block;font-size:13px;margin-bottom:5px}.feat small{color:#a9bdd6;line-height:1.4}.seo{background:white;border-top:1px solid #e7ebf2;border-bottom:1px solid #e7ebf2;margin-top:48px;padding:54px 0}.seo .cols{display:grid;grid-template-columns:1fr 1fr;gap:55px}.seo h2{font-size:28px;letter-spacing:-.8px;margin-top:0}.seo h3{font-size:17px;margin:24px 0 7px}.seo p,.seo li{color:#65758b;line-height:1.68;font-size:14px}.footer{padding:34px 0 44px}.foot{display:flex;justify-content:space-between;gap:30px;color:#778397;font-size:12px}.footlinks{display:flex;gap:18px}.empty{grid-column:1/-1;text-align:center;padding:28px;background:#fff;border:1px dashed #d3dbe7;border-radius:14px;color:#738196}.toolhero{padding:46px 0 18px;text-align:center}.toolhero .back{display:inline-block;margin-bottom:12px;color:#4f6b95;font-size:12px}.toolhero h1{font-size:39px;margin:0 0 10px;letter-spacing:-1.4px}.toolhero p{color:#66758b;margin:0 auto;max-width:620px;line-height:1.6}.workspace{max-width:880px;margin:25px auto 45px;background:#fff;border:1px solid #e1e7f0;border-radius:22px;box-shadow:0 16px 42px #16335d10;padding:24px}.drop{border:2px dashed #b9c8df;border-radius:18px;background:#f8fbff;min-height:230px;display:flex;align-items:center;justify-content:center;text-align:center;padding:28px;transition:.2s}.drop.drag{border-color:#2669da;background:#eef5ff}.drop h2{font-size:20px;margin:0 0 7px}.drop p{color:#7a8799;font-size:13px;margin:0 0 17px}.btn{appearance:none;border:0;background:#2563d9;color:#fff;font-weight:750;border-radius:11px;padding:12px 18px;cursor:pointer;font-size:13px}.btn:hover{background:#174fbd}.btn.secondary{background:#eef3fa;color:#315375}.btn.danger{background:#fff0f0;color:#b32929}.controls{display:none;margin-top:18px}.controls.show{display:block}.controlrow{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:12px 0}.field{flex:1;min-width:160px}.field label{display:block;font-size:11px;font-weight:800;color:#68778b;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid #d8e0eb;border-radius:10px;padding:10px 11px;font:inherit;font-size:13px;background:#fff}.field textarea{min-height:120px}.filelist{display:grid;gap:8px;margin-top:14px}.fileitem{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #e4e9f0;border-radius:10px;background:#fbfcfe;font-size:12px}.result{display:none;margin-top:15px;padding:13px;border-radius:12px;background:#effaf4;color:#20643d;font-size:12px}.result.show{display:block}.note{margin-top:15px;font-size:11px;color:#8290a2;text-align:center}.progress{height:7px;background:#eaf0f7;border-radius:999px;overflow:hidden;margin-top:12px;display:none}.progress.show{display:block}.progress i{display:block;height:100%;width:0;background:#2563d9;transition:.2s}.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.mini{border:1px solid #e1e7ef;border-radius:11px;padding:10px;font-size:11px;color:#64738a;background:#fbfcfe}.toolseo{max-width:880px;margin:0 auto 55px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.infobox{background:#fff;border:1px solid #e3e8f0;border-radius:16px;padding:20px}.infobox h3{font-size:15px;margin:0 0 8px}.infobox p,.infobox li{font-size:12.5px;color:#728097;line-height:1.6}.badge-local{display:inline-flex;align-items:center;gap:6px;margin-top:13px;font-size:11px;font-weight:800;color:#17744a;background:#ebf9f1;padding:7px 9px;border-radius:999px}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.why,.seo .cols{grid-template-columns:1fr}.navlinks{display:none}.hero h1{font-size:40px}.toolseo{grid-template-columns:1fr}}@media(max-width:560px){.wrap{padding:0 15px}.grid{grid-template-columns:1fr}.hero{padding-top:48px}.hero h1{font-size:34px;letter-spacing:-1.4px}.hero p{font-size:15px}.privacy-pill{font-size:0}.privacy-pill:after{content:'Private';font-size:11px}.workspace{margin-left:12px;margin-right:12px;padding:15px}.toolhero h1{font-size:31px}.featurelist{grid-template-columns:1fr}.foot{display:block}.footlinks{margin-top:15px;flex-wrap:wrap}.mini-grid{grid-template-columns:1fr 1fr}}

/* Soft category color system — subtle, professional and easy to scan */
.section.theme-popular{--card-bg:#f7faff;--card-border:#dfe9f8;--icon-bg:#e8f1ff;--icon-color:#2b64b7;--hover:#c8daf5}
.section.theme-organize{--card-bg:#f7fcfa;--card-border:#dcefe6;--icon-bg:#e6f6ef;--icon-color:#2f7c61;--hover:#c5e5d7}
.section.theme-optimize{--card-bg:#f6fbfc;--card-border:#dcecef;--icon-bg:#e5f4f6;--icon-color:#347487;--hover:#c6e1e7}
.section.theme-frompdf{--card-bg:#faf8fd;--card-border:#e8e1f2;--icon-bg:#f0eafb;--icon-color:#6b55a3;--hover:#d8cdeb}
.section.theme-topdf{--card-bg:#fffaf6;--card-border:#f2e4d9;--icon-bg:#faeee5;--icon-color:#9a6446;--hover:#e8d1c0}
.section.theme-edit{--card-bg:#fff8fa;--card-border:#f1dfe5;--icon-bg:#f9e9ee;--icon-color:#9a5a6c;--hover:#e8cbd4}
.section.theme-security{--card-bg:#fffaf3;--card-border:#f0e4cf;--icon-bg:#f8edd8;--icon-color:#8b6a2e;--hover:#e5d3ad}
.section.theme-create{--card-bg:#f8fbff;--card-border:#dfe9f1;--icon-bg:#eaf2f8;--icon-color:#4f718e;--hover:#cbdce8}
.section.theme-view{--card-bg:#f9fafc;--card-border:#e3e7ed;--icon-bg:#eef1f5;--icon-color:#647184;--hover:#d4dbe4}
.section[class*="theme-"] .toolcard{background:var(--card-bg);border-color:var(--card-border)}
.section[class*="theme-"] .toolcard .toolicon{background:var(--icon-bg);color:var(--icon-color)}
.section[class*="theme-"] .toolcard:hover{border-color:var(--hover);box-shadow:0 12px 28px rgba(23,52,91,.09)}
.section[class*="theme-"] .sectionhead h2{display:flex;align-items:center;gap:10px}
.section[class*="theme-"] .sectionhead h2:before{content:'';width:9px;height:9px;border-radius:999px;background:var(--icon-color);opacity:.62;box-shadow:0 0 0 5px var(--icon-bg)}


/* White clean homepage override + professional per-tool icons */
.section[class*="theme-"] .toolcard{background:#fff;border-color:#e5e9f0}
.section[class*="theme-"] .toolcard:hover{border-color:#bfd0ea;box-shadow:0 13px 32px rgba(23,52,91,.12)}
.section[class*="theme-"] .toolcard .toolicon{background:transparent;color:inherit}
.section[class*="theme-"] .sectionhead h2:before{display:none}
.toolicon{width:44px;height:44px;border-radius:0;background:transparent!important;color:inherit!important;display:flex;align-items:center;justify-content:flex-start;font-weight:normal;font-size:0;line-height:1;margin-bottom:15px}
.toolicon svg{width:38px;height:38px;display:block}
.toolicon .pdf-red{fill:#ef6b4a}.toolicon .pdf-red-soft{fill:#f8c7ba}
.toolicon .green{fill:#8abf63}.toolicon .green-soft{fill:#cfe5bf}
.toolicon .blue{fill:#6b8fd6}.toolicon .blue-soft{fill:#c8d6f1}
.toolicon .purple{fill:#b06ba6}.toolicon .purple-soft{fill:#e4c8df}
.toolicon .yellow{fill:#d5bc33}.toolicon .yellow-soft{fill:#efe5a9}
.toolicon .teal{fill:#5ba9a6}.toolicon .teal-soft{fill:#bfe2df}
.toolicon .orange{fill:#f29a62}.toolicon .orange-soft{fill:#f9d8bf}
.toolicon .ink{fill:#ffffff}.toolicon .stroke{stroke:#ffffff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;fill:none}


/* ===== FreePDFShop refinement update ===== */
.nav{position:sticky;top:0;backdrop-filter:saturate(140%) blur(10px)}
.brand{font-size:18px;font-weight:850;gap:12px}
.brandtext{display:inline-block;transform:translateY(.5px)}
.brandmark{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#2563eb,#0f4ccb);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(37,99,235,.22);overflow:hidden}
.brandmark svg{width:28px;height:28px;display:block}
.navlinks{font-size:16px;font-weight:700;color:#344256}
.navlinks a{padding:8px 2px;position:relative}
.navlinks a:hover,.navlinks a:focus{color:#0f4ccb}
.navlinks a:after{content:'';position:absolute;left:0;bottom:-11px;width:100%;height:2px;background:#2263d7;transform:scaleX(0);transform-origin:left;transition:.2s}
.navlinks a:hover:after,.navlinks a:focus:after{transform:scaleX(1)}
.hero{padding-bottom:34px}
.hero p{max-width:780px}
.chipbar{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:22px auto 0;max-width:1060px}
.chip{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;border:1px solid #d9e1ec;background:#fff;color:#334256;font-size:14px;font-weight:750;transition:.18s box-shadow,.18s transform,.18s border-color,.18s color}
.chip:hover,.chip.active{border-color:#b7c8e3;color:#0f4ccb;transform:translateY(-1px);box-shadow:0 7px 20px rgba(31,74,147,.08)}
.all-tools-chip{background:#13253d;color:#fff;border-color:#13253d}
.all-tools-chip:hover{color:#fff;background:#0f1f35}
.grid{gap:18px}
.toolcard{min-height:172px;padding:20px;border-radius:18px}
.toolcard h3{font-size:16px;margin-bottom:8px}
.toolcard p{font-size:13.4px;line-height:1.52;color:#65758b}
.toolcard.compact{min-height:156px;padding:18px}
.toolcard.compact h3{font-size:15px}
.toolcard.compact p{font-size:12.8px}
.toolicon{width:48px;height:48px;margin-bottom:16px;filter:drop-shadow(0 1px 0 rgba(255,255,255,.55))}
.toolicon svg{width:40px;height:40px}
.toolicon .pdf-red{fill:#f06a47}.toolicon .pdf-red-soft{fill:#f7c5b7}
.toolicon .green{fill:#90c650}.toolicon .green-soft{fill:#cfe6b4}
.toolicon .blue{fill:#5d84e8}.toolicon .blue-soft{fill:#c4d4fb}
.toolicon .purple{fill:#ae62d7}.toolicon .purple-soft{fill:#e2c8f4}
.toolicon .yellow{fill:#d2b420}.toolicon .yellow-soft{fill:#efe293}
.toolicon .teal{fill:#56aaa5}.toolicon .teal-soft{fill:#bde5e1}
.toolicon .orange{fill:#f28a4c}.toolicon .orange-soft{fill:#f9d2b5}
.section{padding:34px 0}
.sectionhead h2{font-size:27px}
.sectionhead p{font-size:14px}
.alltools-page .hero{padding:64px 0 32px}
.alltools-page .tool-directory{padding-top:6px;padding-bottom:26px}
.alltools-page .compact-grid{grid-template-columns:repeat(5,1fr)}
.alltools-page .section{padding-top:26px;padding-bottom:26px}
.footlinks a:hover{color:#0f4ccb}
@media(max-width:1100px){.alltools-page .compact-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.navlinks{display:flex;gap:16px;font-size:14px}.alltools-page .compact-grid,.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.brandtext{font-size:15px}.navlinks{display:none}.chipbar{justify-content:flex-start;overflow:auto;padding-bottom:4px}.chip{white-space:nowrap;padding:10px 14px;font-size:13px}.alltools-page .compact-grid,.grid{grid-template-columns:1fr}.toolcard{min-height:150px}.privacy-pill{padding:8px 10px}}


/* ===== Brand cart + image tools update ===== */
.brand{gap:10px}
.brandmark{display:block;width:50px;height:50px;object-fit:contain;border-radius:0;background:none!important;box-shadow:none!important;overflow:visible;flex:0 0 50px}
.brandmark:hover{transform:translateY(-1px) rotate(-1deg)}
.brandtext{font-size:20px;font-weight:900;letter-spacing:-.6px}
.theme-image-tools .toolcard{background:#fff;border-color:#e5e9f0}
.theme-image-tools .toolcard:hover{border-color:#bfd0ea;box-shadow:0 13px 32px rgba(23,52,91,.12)}
.field small{display:block;margin-top:5px;color:#8a96a8;font-size:10.5px;line-height:1.35}
@media(max-width:560px){.brandmark{width:44px;height:44px;flex-basis:44px}.brandtext{font-size:16px}}

/* SuperTools category refinements */
.section.theme-image-tools{--icon-color:#9a5a6c;--icon-bg:#fdeef4}.section.theme-document-tools{--icon-color:#315fa6;--icon-bg:#eaf2ff}.section.theme-text-tools{--icon-color:#6b55a3;--icon-bg:#f2edff}.section.theme-data-tools{--icon-color:#27786e;--icon-bg:#e8f7f4}.section.theme-file-tools{--icon-color:#805c2e;--icon-bg:#fbf1df}.result pre{white-space:pre-wrap;word-break:break-word;text-align:left;max-height:520px;overflow:auto}.result code{word-break:break-all}.alltools-page .toolcard.compact{min-height:170px}.tool-section .toolcard p{min-height:42px}@media(max-width:560px){.chipbar{padding-left:2px;padding-right:2px}}

/* ===== Semantic tool icons + processing/result preview ===== */
.semantic-tool-icon{width:42px;height:42px;display:block;overflow:visible;filter:drop-shadow(0 2px 2px rgba(23,48,79,.08))}
.processing-state{display:none;align-items:center;gap:13px;margin-top:17px;padding:14px 16px;border:1px solid #dbe6f6;border-radius:14px;background:#f7faff;color:#17304f}.processing-state.show{display:flex}.processing-state b{display:block;font-size:13px}.processing-state small{display:block;margin-top:3px;color:#73839a;font-size:11.5px;line-height:1.4}.processing-spinner{width:24px;height:24px;border-radius:50%;border:3px solid #d9e6fb;border-top-color:#2563d9;animation:fpsspin .8s linear infinite;flex:0 0 24px}@keyframes fpsspin{to{transform:rotate(360deg)}}
.generated-output{display:none;margin-top:18px;border:1px solid #dfe7f1;border-radius:18px;background:#fff;padding:18px;box-shadow:0 12px 30px rgba(23,52,91,.08)}.generated-output.show{display:block}.output-success-head{display:flex;gap:12px;align-items:center;margin-bottom:16px}.success-check{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e8f8ef;color:#178650;font-size:21px;font-weight:900;flex:0 0 36px}.output-success-head h3{margin:0;color:#14243b;font-size:17px}.output-success-head p{margin:4px 0 0;color:#738196;font-size:12.5px}.image-preview-grid{display:grid;grid-template-columns:1fr;gap:12px}.image-preview-grid.has-original{grid-template-columns:1fr 1fr}.preview-col{border:1px solid #e4e9f0;border-radius:14px;padding:10px;background:#f9fbfe;min-width:0}.preview-col>span{display:block;font-size:10px;font-weight:850;color:#718096;margin:0 0 8px;text-transform:uppercase;letter-spacing:.5px}.preview-col img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;border-radius:10px;background:repeating-conic-gradient(#eef1f5 0 25%,#fff 0 50%) 50%/18px 18px}.document-preview{height:460px;border:1px solid #e4e9f0;border-radius:14px;overflow:hidden;background:#f7f9fc}.document-preview object{width:100%;height:100%;border:0}.text-output-preview{max-height:420px;overflow:auto;border:1px solid #e4e9f0;border-radius:14px;background:#f8fafc;padding:14px;white-space:pre-wrap;word-break:break-word;color:#26374e;font-size:12px;line-height:1.55}.file-ready-preview{display:flex;align-items:center;gap:13px;border:1px solid #e4e9f0;border-radius:14px;background:#f8fafc;padding:16px}.file-ready-icon{width:44px;height:44px;border-radius:13px;background:#e7f6ed;color:#13824d;display:grid;place-items:center;font-size:22px;font-weight:900}.file-ready-preview b{display:block;font-size:14px}.file-ready-preview span{display:block;margin-top:4px;color:#748197;font-size:12px}.output-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.output-download{min-width:180px}.output-size{margin-left:auto;font-size:11px;color:#8190a4;font-weight:700}.future-rewarded-ad-hook{min-height:0}
@media(max-width:650px){.image-preview-grid.has-original{grid-template-columns:1fr}.document-preview{height:380px}.output-actions .btn{width:100%}.output-size{margin-left:0;width:100%;text-align:center}}
.controls.is-processing .result{display:none!important}

/* ===== Upload preview + Auto/Custom visual framing ===== */
.input-preview-panel{display:none;margin:16px 0 18px;border:1px solid #dfe6f0;border-radius:18px;background:#fff;padding:16px;box-shadow:0 10px 28px rgba(22,51,93,.06)}
.input-preview-panel.show{display:block}
.input-preview-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}
.input-preview-head>div:first-child>span{display:block;font-size:10px;font-weight:900;letter-spacing:.65px;text-transform:uppercase;color:#2563d9;margin-bottom:4px}
.input-preview-head h3{margin:0;font-size:17px;color:#14243b}
.input-preview-head p{margin:5px 0 0;color:#718096;font-size:12.5px;line-height:1.5}
.mode-toggle{display:flex;gap:4px;padding:4px;border:1px solid #dce4ef;background:#f5f8fc;border-radius:12px;flex:0 0 auto}
.mode-btn{border:0;background:transparent;color:#5f6f85;font-weight:800;font-size:12px;padding:9px 14px;border-radius:9px;cursor:pointer}
.mode-btn.active{background:#2563d9;color:#fff;box-shadow:0 4px 12px rgba(37,99,217,.23)}
.upload-main-preview{display:flex;justify-content:center;border-radius:14px;background:#f5f7fb;border:1px solid #e3e8f0;padding:12px;overflow:auto}
.crop-editor-wrap{position:relative;display:inline-block;max-width:100%;line-height:0;user-select:none;touch-action:none}
.crop-editor-wrap>img{display:block;max-width:100%;width:auto;height:auto;max-height:520px;border-radius:10px;object-fit:contain;background:repeating-conic-gradient(#eef1f5 0 25%,#fff 0 50%) 50%/18px 18px}
.crop-selection{position:absolute;display:none;border:2px solid #fff;outline:2px solid #2563eb;background:rgba(37,99,235,.07);box-shadow:0 0 0 9999px rgba(10,22,40,.45);cursor:move;border-radius:5px;min-width:36px;min-height:36px;touch-action:none}
.crop-selection.active{display:block}
.crop-selection.circle-selection{border-radius:50%}
.crop-handle{position:absolute;width:15px;height:15px;border-radius:50%;background:#fff;border:3px solid #2563eb;box-shadow:0 2px 7px rgba(0,0,0,.18)}
.crop-handle.nw{left:-9px;top:-9px;cursor:nwse-resize}.crop-handle.ne{right:-9px;top:-9px;cursor:nesw-resize}.crop-handle.sw{left:-9px;bottom:-9px;cursor:nesw-resize}.crop-handle.se{right:-9px;bottom:-9px;cursor:nwse-resize}
.crop-move-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(11,27,49,.76);color:#fff;padding:7px 9px;border-radius:8px;font-size:10px;line-height:1;white-space:nowrap;font-weight:800;pointer-events:none}
.upload-thumb-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.upload-thumb{border:1px solid #e2e8f0;border-radius:12px;padding:8px;background:#f8fafc;min-width:0}
.upload-thumb img{width:100%;height:120px;object-fit:cover;border-radius:8px;display:block}
.upload-thumb span{display:block;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#6f7d91}
.visual-crop-hidden-field{display:none!important}
.generated-output .output-download{min-width:130px}
@media(max-width:700px){.input-preview-head{align-items:flex-start;flex-direction:column}.mode-toggle{width:100%}.mode-btn{flex:1}.upload-thumb-grid{grid-template-columns:repeat(2,1fr)}.crop-editor-wrap>img{max-height:420px}}


/* ===== Visual editor QA pass ===== */
.single-image-filelist{display:none!important}
.visual-editor-settings{margin-top:12px;padding:13px;border:1px solid #e2e8f0;border-radius:13px;background:#fbfcff}
.selection-readout{font-size:12px;color:#66758a;margin-bottom:10px}.selection-readout b{color:#17304f}
.editor-dimension-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.editor-dimension-grid label,.editor-background-row label{font-size:11px;font-weight:800;color:#68778b}.editor-dimension-grid input,.editor-background-row select,.editor-background-row input{display:block;width:100%;margin-top:6px;border:1px solid #d8e0eb;border-radius:10px;padding:10px 11px;background:#fff;font:inherit;font-size:13px}.ratio-lock{align-self:center;margin-top:17px;color:#52719a;font-size:11px;font-weight:800;white-space:nowrap}.editor-background-row{display:grid;grid-template-columns:1fr 180px;gap:10px;margin-top:10px}
.crop-handle.n{left:50%;top:-9px;transform:translateX(-50%);cursor:ns-resize}.crop-handle.s{left:50%;bottom:-9px;transform:translateX(-50%);cursor:ns-resize}.crop-handle.e{right:-9px;top:50%;transform:translateY(-50%);cursor:ew-resize}.crop-handle.w{left:-9px;top:50%;transform:translateY(-50%);cursor:ew-resize}
.object-editor-toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.object-editor-toolbar label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800;color:#42556f}.object-editor-toolbar input[type=range]{width:220px}.object-editor-wrap{position:relative;max-width:100%;margin:auto;display:grid;place-items:center;border:1px solid #e3e8f0;border-radius:14px;background:#f5f7fb;padding:10px;overflow:auto}.object-editor-wrap canvas{grid-area:1/1;max-width:100%;height:auto;border-radius:9px}.object-editor-wrap #objectMaskCanvas{cursor:crosshair;touch-action:none}.object-editor-note{font-size:11.5px;color:#6e7f95;margin-top:10px;line-height:1.45}
@media(max-width:650px){.editor-dimension-grid{grid-template-columns:1fr 1fr}.ratio-lock{grid-column:1/-1;margin-top:0}.editor-background-row{grid-template-columns:1fr}.object-editor-toolbar input[type=range]{width:160px}}
.crop-selection.auto-frame{pointer-events:none;cursor:default;outline-color:#5f8eea;background:rgba(37,99,235,.045);box-shadow:0 0 0 9999px rgba(10,22,40,.34)}
.crop-selection.auto-frame .crop-handle{display:none}.crop-selection.auto-frame .crop-move-hint{background:rgba(37,99,217,.88)}.crop-selection.auto-frame .crop-move-hint:after{content:' (Auto)'}


/* ===== Professional audit UX ===== */
.sign-pro-editor{display:grid;gap:20px;margin:18px 0 20px}.sign-source-card,.pdf-placement-card,.pdf-file-preview-card{border:1px solid #dfe7f1;border-radius:18px;background:#fff;padding:20px;box-shadow:0 8px 25px rgba(30,64,120,.05)}.sign-source-head,.pdf-placement-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:15px}.mini-label{display:block;color:#2b61cb;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:4px}.sign-source-head h3,.pdf-placement-head h3{margin:0 0 4px;font-size:19px}.sign-source-head p,.pdf-placement-head p{margin:0;color:#728198;font-size:13px}.sign-tabs{display:flex;background:#eef3fa;border-radius:12px;padding:4px;gap:4px}.sign-tab{border:0;background:transparent;padding:9px 14px;border-radius:9px;font-weight:800;color:#52637a;cursor:pointer}.sign-tab.active{background:#fff;color:#1656c7;box-shadow:0 2px 8px rgba(35,77,140,.12)}#sigCanvas{width:100%;height:145px;border:1px solid #d8e0eb;border-radius:12px;background:white;touch-action:none;display:block}.small-btn{padding:8px 12px;font-size:13px}.signature-upload-box{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:130px;border:2px dashed #b8c9e4;border-radius:14px;background:#f8fbff;cursor:pointer;color:#17304f}.signature-upload-box span{font-size:12px;color:#718097;margin-top:5px}.signature-image-preview{margin-top:12px;padding:12px;border:1px solid #e0e7f0;border-radius:12px;background:linear-gradient(45deg,#f6f7f9 25%,transparent 25%) 0 0/18px 18px,linear-gradient(-45deg,#f6f7f9 25%,transparent 25%) 0 9px/18px 18px,linear-gradient(45deg,transparent 75%,#f6f7f9 75%) 9px -9px/18px 18px,linear-gradient(-45deg,transparent 75%,#f6f7f9 75%) -9px 0/18px 18px}.signature-image-preview img{max-width:260px;max-height:110px;display:block;margin:auto}.pdf-page-nav{display:flex;align-items:center;gap:7px;white-space:nowrap}.pdf-page-nav label{display:flex;align-items:center;gap:5px;font-weight:700;color:#506078}.pdf-page-nav input{width:64px;padding:8px;border:1px solid #d5deea;border-radius:9px}.pdf-sign-preview{position:relative;min-height:280px;background:#edf2f8;border:1px solid #dbe4ef;border-radius:14px;display:flex;justify-content:center;align-items:flex-start;padding:16px;overflow:auto}.pdf-sign-preview canvas{max-width:100%;height:auto;display:block;box-shadow:0 7px 22px rgba(17,35,59,.14)}.pdf-preview-placeholder{margin:auto;color:#8492a5;font-size:14px}.signature-overlay{position:absolute;border:2px solid #2867df;background:rgba(40,103,223,.08);border-radius:5px;cursor:move;touch-action:none;min-width:55px;min-height:24px}.signature-overlay img{width:100%;height:100%;object-fit:contain;pointer-events:none}.signature-overlay .resize-dot{position:absolute;width:14px;height:14px;border-radius:50%;background:#2867df;border:2px solid #fff;right:-7px;bottom:-7px;cursor:nwse-resize}.sign-size-row{margin-top:12px}.sign-size-row label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;color:#52637a}.sign-size-row input{flex:1}.pdf-upload-thumb{display:block;max-width:780px;margin:12px auto 0}.pdf-upload-thumb canvas{width:100%;height:auto;border:1px solid #dde5ef;border-radius:10px;box-shadow:0 6px 18px rgba(35,56,89,.08)}.file-validation-error{padding:12px 14px;border-radius:11px;background:#fff0f0;color:#b42318;border:1px solid #ffd0d0;margin-top:10px;font-weight:700}.audit-hint{font-size:12px;color:#748398;margin-top:7px}
@media(max-width:720px){.sign-source-head,.pdf-placement-head{flex-direction:column}.pdf-page-nav{flex-wrap:wrap}.sign-tabs{width:100%}.sign-tab{flex:1}}
.pdf-text-marker{position:absolute;padding:5px 8px;background:rgba(37,99,235,.14);border:2px solid #2563eb;border-radius:6px;color:#163b82;font-weight:800;line-height:1.15;cursor:move;touch-action:none;min-width:36px;min-height:24px}.pdf-redact-overlay{position:absolute;background:rgba(15,23,42,.72);border:2px solid #ef4444;border-radius:4px;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;cursor:move;touch-action:none;min-width:40px;min-height:24px}.pdf-redact-overlay .resize-dot{position:absolute;width:14px;height:14px;border-radius:50%;background:#ef4444;border:2px solid white;right:-7px;bottom:-7px;cursor:nwse-resize}.pdf-page-thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}.pdf-page-thumb{border:2px solid #dce5f0;background:#fff;border-radius:12px;padding:8px;cursor:pointer;color:#24364e;text-align:center;transition:.18s}.pdf-page-thumb:hover{border-color:#91addb;transform:translateY(-1px)}.pdf-page-thumb.selected{border-color:#2563eb;background:#eef5ff;box-shadow:0 0 0 3px rgba(37,99,235,.08)}.pdf-page-thumb.dragging{opacity:.45}.pdf-page-thumb .thumb-canvas{display:block;background:#f6f8fb;border-radius:7px;overflow:hidden;margin-bottom:7px}.pdf-page-thumb canvas{width:100%;height:auto;display:block}.pdf-page-thumb b{font-size:12px}.auto-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auto-form-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:#52637a}.auto-form-field input,.auto-form-field select{padding:10px 11px;border:1px solid #d6dfeb;border-radius:9px;background:#fff;color:#17283f}.page-picker-card{margin-bottom:16px}@media(max-width:680px){.auto-form-grid{grid-template-columns:1fr}.pdf-page-thumb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.pdf-sign-stage{position:relative;display:inline-block;line-height:0}.pdf-sign-stage canvas{max-width:100%;height:auto}.signature-overlay{line-height:normal}


/* SEO semantic content system */
.seo-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#718096;margin:0 0 14px}.seo-breadcrumb a{color:#3569b8;font-weight:700}.seo-breadcrumb span:last-child{color:#536176}.tool-seo-extension{max-width:980px;margin:8px auto 60px;padding:0 22px}.seo-copy-card{background:#fff;border:1px solid #e4e9f1;border-radius:18px;padding:22px;margin-bottom:14px}.seo-copy-card h2{margin:0 0 10px;font-size:25px;letter-spacing:-.7px}.seo-copy-card h3{margin:0 0 10px;font-size:17px}.seo-copy-card p,.seo-copy-card li{font-size:13.5px;line-height:1.68;color:#64748b}.seo-copy-card ul,.seo-copy-card ol{margin:8px 0 0;padding-left:20px}.seo-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.seo-faq details{border-top:1px solid #edf0f5;padding:13px 0}.seo-faq details:first-of-type{border-top:0}.seo-faq summary{cursor:pointer;font-size:13px;font-weight:800;color:#243a59}.seo-faq details p{margin:8px 0 0}.related-tool-links{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.related-tool-links a,.category-hub-grid a{display:flex;flex-direction:column;gap:5px;background:#f8fafc;border:1px solid #e4e9f1;border-radius:14px;padding:14px;transition:.18s}.related-tool-links a:hover,.category-hub-grid a:hover{border-color:#b8ccec;box-shadow:0 8px 20px rgba(23,52,91,.08);transform:translateY(-1px)}.related-tool-links strong,.category-hub-grid strong{font-size:13px;color:#172941}.related-tool-links span,.category-hub-grid span{font-size:11.5px;line-height:1.45;color:#738196}.seo-category-hubs{padding:35px 0 15px}.category-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.category-hero{padding-bottom:48px}.category-hero .seo-breadcrumb{justify-content:center}.category-hero h1{margin-top:16px}
@media(max-width:800px){.seo-content-grid,.related-tool-links,.category-hub-grid{grid-template-columns:1fr}.tool-seo-extension{padding:0 15px}.seo-copy-card{padding:18px}}

/* ===== New utility tools ===== */
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:8px 0 18px}
.stats-grid>div{background:#fff;border:1px solid #dfe6f0;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:5px}
.stats-grid b{font-size:20px;color:#10213a}.stats-grid span{font-size:12.5px;color:#718096}
.result-table-wrap{overflow:auto;border:1px solid #dfe6f0;border-radius:14px;background:#fff}.result-table{width:100%;border-collapse:collapse;font-size:13px}.result-table th,.result-table td{padding:11px 13px;border-bottom:1px solid #edf1f6;text-align:left;white-space:nowrap}.result-table th{background:#f7f9fc;color:#43526a}.result-table tr:last-child td{border-bottom:0}
.result-warning,.result-note{padding:13px 15px;border-radius:12px;margin:10px 0 16px;font-size:13px;line-height:1.5}.result-warning{background:#fff7df;border:1px solid #f0d995;color:#6b5310}.result-note{background:#f1f7ff;border:1px solid #d4e4fa;color:#35506f}
.secondary-upload-box{margin-top:16px;padding:16px;border:1px solid #dfe6f0;border-radius:14px;background:#f9fbfe}.secondary-upload-box label:first-child{display:block;font-weight:750;margin-bottom:8px}.secondary-upload-box input[type=file]{width:100%}
.pdf-image-preview{margin:16px 0;border:1px solid #dfe6f0;border-radius:16px;padding:12px;background:#f7f9fc;min-height:180px}.pdf-image-stage{position:relative;max-width:760px;margin:0 auto}.pdf-added-image-overlay{position:absolute;display:none;cursor:move;touch-action:none;border:2px solid #2f6de0;border-radius:6px;background:rgba(47,109,224,.08);box-sizing:border-box}.pdf-added-image-overlay img{display:block;width:100%;height:auto;pointer-events:none}.pdf-added-image-overlay i{position:absolute;width:15px;height:15px;border-radius:50%;right:-8px;bottom:-8px;background:#2f6de0;border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.2);cursor:nwse-resize}
@media(max-width:700px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Global ranked search + multi-image result UX */
.global-search-results{padding-top:34px}
.global-search-results .sectionhead{margin-bottom:18px}
.global-search-results .grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.multi-image-output{margin-top:20px}
.multi-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.multi-image-card{border:1px solid #dbe4f0;border-radius:18px;background:#fff;padding:12px;display:flex;flex-direction:column;gap:10px}
.multi-image-preview{aspect-ratio:4/3;background:#f4f7fb;border:1px solid #e4eaf2;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.multi-image-preview img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.multi-image-meta{display:flex;flex-direction:column;gap:3px;min-width:0}
.multi-image-meta b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.multi-image-meta span{font-size:12px;color:#71809a}
.multi-image-download{width:100%;justify-content:center}
@media(max-width:900px){.global-search-results .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.multi-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.global-search-results .grid,.multi-image-grid{grid-template-columns:1fr}}

/* Accessibility contrast pass — FreePDFShop */
.search kbd{color:#4e5d72}
.sectionhead p{color:#536176}
.toolcard p{color:#536176}
.hero p{color:#536176}
.seo p,.seo li{color:#536176}
.foot{color:#536176}
.empty{color:#536176}
.drop p{color:#536176}
.field label{color:#536176}
.field small{color:#536176}
.note{color:#536176}
.infobox p,.infobox li{color:#536176}
.processing-state small{color:#536176}
.output-success-head p{color:#536176}
.preview-col>span{color:#536176}
.file-ready-preview span{color:#536176}
.output-size{color:#536176}
.input-preview-head p{color:#536176}
.upload-thumb span{color:#536176}
.object-editor-note{color:#536176}
.signature-upload-box span{color:#536176}
.pdf-preview-placeholder{color:#536176}
.audit-hint{color:#536176}
.seo-breadcrumb{color:#536176}
.related-tool-links span,.category-hub-grid span{color:#536176}
.stats-grid span{color:#536176}
.multi-image-meta span{color:#536176}
.toolhero p{color:#536176}
