/* Generated PDF Tools fonts: begin */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/immutable/46f7ef8a89f8685b4daa7e036f383bcf5cd446e1d8e3e87409419db80cea72ad/fonts/inter-4.1/ui/InterVariable-normal-complete.woff2") format("woff2") }
@font-face{font-family:"Inter";font-style:italic;font-weight:100 900;font-display:swap;src:url("/assets/immutable/72cc8b0763dc375546ebf473b2327e57a6b0d6e2ca1a1d1fa40a16c6a29f7a6c/fonts/inter-4.1/ui/InterVariable-italic-complete.woff2") format("woff2") }
/* Generated PDF Tools fonts: end */
*{box-sizing:border-box}body.document-tools{margin:0;background:#f6f6fa;color:#2d3039;--tools-font:"Inter",sans-serif;font:16px/1.55 var(--tools-font);font-optical-sizing:auto}button,input,select,textarea,option,optgroup{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:#204a8b;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,label:focus-within{outline:3px solid #79a8ff;outline-offset:4px}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{position:fixed;z-index:99;background:white;padding:12px}.tools-header{min-height:78px;background:#fff;border-bottom:1px solid #dedee8;display:flex;align-items:center;gap:26px;padding:12px 30px;position:relative;z-index:10}.tools-brand{display:flex;flex-direction:column;flex:none}.tools-brand img{object-fit:contain;width:160px;height:40px}.tools-brand span{font-size:9px;letter-spacing:2.3px;color:#596478;text-align:center}.tools-header>nav{display:flex;gap:22px;align-items:center}.top-tool{font-size:12px;font-weight:700;text-transform:uppercase;color:#353640}.top-tool.selected,.top-tool:hover{color:#2457a4}.header-actions{margin-left:auto;display:flex;gap:18px;align-items:center;white-space:nowrap;font-size:13px}.language-switch{border:1px solid #d6d9e3;border-radius:8px;padding:8px 12px;color:#283b63;font-weight:700}.tools-menu>summary{font-size:12px;list-style:none;font-weight:700;text-transform:uppercase;cursor:pointer;display:flex;gap:8px;align-items:center}.tools-menu>summary::-webkit-details-marker{display:none}.mega-menu{position:absolute;top:calc(100% - 1px);left:6%;right:6%;background:white;border:1px solid #dedee7;border-radius:0 0 18px 18px;box-shadow:0 18px 40px #22253a1c;padding:28px;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.mega-menu h2{font-size:12px;color:#777b8b;text-transform:uppercase;margin:0 0 14px}.mega-menu a{display:flex;align-items:center;gap:10px;padding:9px 5px;color:#30333c;font-size:13px;font-weight:600;border-radius:6px}.mega-menu a:hover{background:#f1f4fa}.mega-menu .tool-icon{width:24px;height:24px}.tools-main{max-width:1440px;margin:auto;padding:0 30px}.tools-hero{text-align:center;max-width:950px;margin:0 auto;padding:64px 0 30px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#38609b}.tools-hero h1{font-size:clamp(32px,4vw,48px);line-height:1.16;letter-spacing:-1.3px;margin:14px 0 22px}.tools-hero>p:not(.eyebrow){font-size:20px;color:#686a76;max-width:850px;margin:0 auto 20px}.local-badge{display:inline-block;font-size:12px;color:#536579;background:#edf2f8;padding:8px 16px;border-radius:20px}.category-tabs{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:8px 0 34px}.category-tabs button{background:#fff;border:1px solid #d6d7e1;border-radius:24px;padding:8px 20px;color:#50515c;font-weight:600;font-size:14px}.category-tabs button[aria-pressed=true]{background:#292a32;color:#fff;border-color:#292a32}.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.tool-card{background:#fff;border:1px solid #d9dbe5;border-radius:17px;padding:24px;position:relative;min-height:220px;color:#353743;transition:transform .15s,box-shadow .15s}.tool-card:hover{border-color:#7788a8;transform:translateY(-3px);box-shadow:0 9px 22px #27375d0b}.tool-card h2{font-size:20px;line-height:1.3;margin:14px 0 8px}.tool-card p{font-size:14px;color:#767986;line-height:1.5;margin:0}.card-arrow{position:absolute;right:20px;top:23px;color:#c1c8d5}.tool-icon{width:45px;height:45px;display:block;flex:none}.tool-icon rect{fill:currentColor}.tool-icon path{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tool-icon.green{color:#80ac59}.tool-icon.orange{color:#ee7857}.tool-icon.yellow{color:#d6b92b}.tool-icon.purple{color:#aa719c}.tool-heading{text-align:center;padding:40px 0 20px}.tool-heading>.tool-icon{margin:0 auto 10px;width:38px;height:38px}.tool-heading h1{font-size:clamp(32px,4vw,44px);line-height:1.2;letter-spacing:-.8px;margin:0 0 14px}.tool-heading p{font-size:19px;color:#6d707e;max-width:850px;margin:0 auto}.tool-workspace{min-height:550px}.select-stage{text-align:center;padding:18px 0 62px}.select-files{display:inline-flex;align-items:center;justify-content:center;gap:13px;background:#244e94;color:#fff;border-radius:12px;min-height:78px;padding:20px 46px;font-size:24px;font-weight:700;cursor:pointer;box-shadow:0 5px 10px #1a427b17}.select-files:hover{background:#173d79}.select-files span{font-size:28px}.drop-caption{font-size:14px;color:#7c7f8c;margin:14px 0}.tool-workspace.is-dragging{outline:3px dashed #4779b7;outline-offset:10px;background:#eaf0fc}.tool-assurance{font-size:12px;color:#737b8a;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;padding:20px 10px}.ad-slot{margin:38px auto;max-width:970px;text-align:center;color:#a3a6b0;clear:both}.ad-slot>span{font-size:10px;text-transform:uppercase;letter-spacing:1.8px}.ad-space{min-height:100px;max-width:728px;margin:8px auto;background:#eef0f6;border:1px dashed #dcdfe9;display:grid;place-items:center;font-size:12px;letter-spacing:.4px;border-radius:5px}.tool-guide{max-width:860px;margin:55px auto;color:#666b7a;font-size:15px}.tool-guide h2{font-size:22px;color:#343946;line-height:1.35;margin:32px 0 14px}.tool-guide ol{padding-left:24px}.tool-guide li{padding:5px 0}.tool-guide details{background:white;border:1px solid #dedfe9;border-radius:10px;padding:18px;margin:24px 0}.tool-guide summary{font-weight:600;color:#313c50;cursor:pointer}.back-link{display:inline-block;margin-top:15px}.related-tools{margin:55px 0}.related-tools>h2{font-size:24px}.tools-footer{border-top:1px solid #dfe1e9;background:#fff;margin-top:50px;padding:25px 35px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#767c89;gap:22px}.tools-footer nav{display:flex;gap:22px;flex-wrap:wrap}.tools-footer a{color:#606a7c}.editor-stage{display:grid;grid-template-columns:minmax(0,1fr) 320px;border:1px solid #dce0eb;border-radius:14px;overflow:hidden;background:#eef0f6;margin-top:20px}.file-area{padding:22px;min-width:0}.file-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px;align-items:center;font-size:13px}.file-toolbar button,.file-actions button,.page-actions button{border:1px solid #d4dae6;background:#fff;color:#35537e;border-radius:6px;padding:7px 10px}.file-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}.file-card{background:white;padding:15px;border-radius:10px;border:1px solid #dce1eb;text-align:center;min-width:0}.file-preview{height:110px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;overflow:hidden;background:#f6f7fb;border-radius:5px}.file-preview img{max-height:100%;max-width:100%;object-fit:contain}.file-preview svg{width:48px;height:60px;color:#a1aabc}.file-name{display:block;overflow-wrap:anywhere;font-size:12px;font-weight:600;line-height:1.4}.file-size{font-size:11px;color:#808696;margin:5px 0 8px}.file-actions{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}.file-actions button{font-size:11px;padding:5px 8px}.settings{background:white;border-left:1px solid #dce0eb;padding:24px}.settings h2{margin:0 0 22px;font-size:21px}.settings label{font-size:13px;font-weight:600;display:block;margin:15px 0 5px}.settings select,.settings input:not([type=checkbox]){display:block;width:100%;padding:10px;border:1px solid #ccd3e0;border-radius:6px;background:#fff;color:#364258;font-size:14px}.settings .setting-help{font-size:12px;color:#7a7f8d;margin:8px 0 18px;line-height:1.5}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:9px;padding:15px 24px;font-size:17px;font-weight:700;cursor:pointer;line-height:1.4}.primary{background:#244e94;border:1px solid #244e94;color:#fff}.primary:hover{background:#183c75}.secondary{background:#fff;border:1px solid #cbd5e7;color:#244e94}.process-button{width:100%;margin-top:28px}.text-button{display:block;border:0;background:none;color:#687c9c;text-decoration:underline;margin:20px auto 0;padding:5px 8px;font-size:13px}.processing-stage,.result-stage{text-align:center;padding:42px 15px;max-width:850px;margin:auto}.processing-stage h2,.result-stage h2{font-size:29px;line-height:1.3}.processing-stage progress{display:block;width:min(480px,100%);height:16px;margin:28px auto;accent-color:#244e94}.processing-stage p,.result-stage p{color:#747d8d;font-size:14px}.result-stage .primary,.result-stage .secondary{margin:10px 4px}.success-icon{border-radius:50%;background:#e4f0e0;color:#5c9545;font-size:38px;width:74px;height:74px;display:grid;place-items:center;margin:auto}.tool-error{color:#a12533;border:1px solid #e5b5b9;background:#fff1f2;border-radius:9px;padding:17px;max-width:850px;margin:20px auto;font-size:14px}.page-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-top:22px}.page-tile{background:white;border:1px solid #d3dbe8;padding:14px;border-radius:8px;text-align:center}.page-tile strong{display:block;padding:15px 0;font-size:16px}.page-actions{display:flex;gap:4px;justify-content:center;flex-wrap:wrap}.page-actions button{font-size:11px;padding:5px 8px}.spinner{width:52px;height:52px;border:5px solid #e0e5ee;border-top-color:#244e94;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 25px}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.spinner{border-style:dashed}}
@media(max-width:1100px){.tools-header{gap:18px;padding:12px 20px}.tools-header>nav{gap:16px}.catalog-link{display:none}.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.top-tool{font-size:11px}.tools-brand img{width:135px;height:34px}}
@media(max-width:760px){.tools-header{padding:12px 16px;gap:14px;flex-wrap:wrap}.tools-header>nav{order:3;width:100%;justify-content:space-between;padding:10px 0 0;border-top:1px solid #eff0f5}.tools-header .top-tool{font-size:10px}.tools-menu>summary{font-size:10px}.tools-main{padding:0 18px}.tools-hero{padding:40px 0 20px}.tools-hero h1{font-size:33px;letter-spacing:-.6px}.tools-hero>p:not(.eyebrow){font-size:17px}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tool-card{padding:19px;min-height:225px}.tool-card h2{font-size:18px}.tool-card p{font-size:13px}.mega-menu{left:10px;right:10px;grid-template-columns:repeat(2,1fr);padding:20px;max-height:75vh;overflow:auto;gap:14px}.mega-menu h2{font-size:11px}.mega-menu a{font-size:12px}.category-tabs{gap:8px;margin-top:12px}.category-tabs button{font-size:12px;padding:7px 13px}.editor-stage{grid-template-columns:1fr}.settings{border-left:0;border-top:1px solid #dce0eb;padding:22px}.file-area{padding:16px}.tool-heading{padding-top:30px}.tool-heading p{font-size:16px}.tool-workspace{min-height:460px}.select-files{font-size:21px;padding:19px 30px;min-height:72px}.tool-assurance{font-size:11px;line-height:1.6}.tools-footer{padding:22px;flex-direction:column;align-items:flex-start}.tool-guide{font-size:14px;margin:38px auto}.ad-space{min-height:100px}.tool-guide h2{font-size:20px}.file-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.tool-card{padding:15px;min-height:230px}.tool-card h2{font-size:16px}.tool-card p{font-size:12px}.tools-main{padding:0 12px}.tool-icon{width:36px;height:36px}.card-arrow{display:none}.tools-header>nav{gap:10px}.top-tool{max-width:80px}.tools-hero h1{font-size:29px}}

.file-preview canvas{max-width:100%;max-height:110px;object-fit:contain}.page-tile canvas{max-width:100%;height:110px;object-fit:contain;display:block;margin:auto}.select-files{border:0}
.result-stage[data-status=warning] .success-icon{background:#fff0d0;color:#986207;font-weight:700}.result-stage[data-status=warning] h2{color:#825807}.result-stage[data-status=warning] [data-result-note]{background:#fff8e8;border:1px solid #e9ce92;border-radius:10px;padding:16px;color:#6f511c;max-width:720px;margin:20px auto;line-height:1.7}.result-retry{margin:20px auto 0;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.result-retry .secondary{font-size:14px;padding:12px 18px;white-space:normal}.result-stage [data-result-summary]{font-size:16px;color:#435674}.result-retry:has(>button[hidden]+button[hidden]){display:none}
.compression-levels{border:0;padding:0;margin:20px 0}.compression-levels legend{font-size:13px;font-weight:700}.settings label.quality-choice{display:flex;align-items:flex-start;gap:12px;border:1px solid #dce0eb;border-radius:8px;padding:13px;margin:10px 0;cursor:pointer}.quality-choice:has(input:checked){background:#edf3ff;border-color:#6589c6}.settings .quality-choice input[type=radio]{display:block;width:18px;height:18px;flex-shrink:0;padding:0;margin:2px 0 0;accent-color:#244e94}.quality-choice strong{display:block;font-size:14px}.quality-choice small{display:block;font-size:12px;font-weight:400;line-height:1.45;color:#68758b;margin-top:4px}

/* Compact task workspace; one clear primary action in each phase. */
.tool-workspace{min-height:0;max-width:1180px;margin:0 auto}
.tool-heading{padding:32px 0 14px}
.tool-heading>.tool-icon{width:34px;height:34px;margin-bottom:10px}
.tool-heading h1{font-size:clamp(30px,3.5vw,40px);margin-bottom:12px}
.tool-heading p{max-width:740px;font-size:17px;line-height:1.6}
.select-stage{padding:16px 0 18px}
.select-files{min-height:76px;min-width:280px;border-radius:12px;padding:18px 38px;font-size:23px;box-shadow:0 5px 12px #244e941a}
.drop-caption{margin:12px 0 0;color:#687185}
.tool-assurance{padding:14px 10px 22px;gap:5px;font-size:12px;color:#657185}
.tool-workspace[data-stage=processing] .tool-heading,.tool-workspace[data-stage=result] .tool-heading{display:none}
.tool-workspace[data-stage=edit] .tool-heading{padding-top:24px}
.tool-workspace[data-stage=edit] .tool-heading h1{font-size:28px}
.tool-workspace[data-stage=edit] .tool-heading>.tool-icon{display:none}
.processing-stage{padding:40px 10px 22px}
.result-stage{padding:34px 0 12px;max-width:850px;scroll-margin-top:20px}
.result-heading{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:24px}
.result-heading h2{font-size:clamp(25px,3vw,32px);margin:0;letter-spacing:-.5px}
.result-heading .success-icon{width:34px;height:34px;font-size:20px;flex:none;margin:0}
.download-actions{display:flex;justify-content:center;align-items:stretch;gap:12px;flex-wrap:wrap}
.result-stage .download-actions a{margin:0}
.result-stage .result-download{min-width:340px;min-height:76px;padding:20px 36px;font-size:24px;border-radius:12px;box-shadow:0 4px 8px #244e9426}
.result-download svg{width:28px;height:28px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-right:5px}
.result-stage .result-preview{padding:14px 20px;font-size:14px;border-radius:12px}
.result-metrics{display:flex;align-items:center;justify-content:center;gap:22px;max-width:660px;margin:24px auto 14px;text-align:left}
.savings-ring{width:96px;height:96px;position:relative;flex:none}
.savings-ring svg{width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:7}
.ring-track{stroke:#dfe5ee}.ring-value{stroke:#698f4e;stroke-linecap:round}
.savings-ring>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}
.savings-ring strong{font-size:24px;line-height:1.25;color:#273b54;letter-spacing:-.6px}
.savings-ring span{font-size:10px;text-transform:uppercase;color:#657185;letter-spacing:.5px}
.result-file{min-width:0;max-width:470px}
.result-stage .result-filename{font-size:14px;color:#647185;margin:0 0 4px;overflow-wrap:anywhere}
.result-stage [data-result-summary]{font-size:17px;font-weight:600;line-height:1.6;margin:0;color:#324d74}
.result-stage [data-result-note]{margin:14px auto;line-height:1.65;max-width:720px;font-size:13px;color:#657185}
.result-stage [data-result-note]:empty{display:none}
.result-stage[data-status=warning] [data-result-note]{padding:14px 18px;text-align:left;font-size:13px;margin:16px auto}
.result-stage[data-status=warning] .ring-value{stroke:#bc892d}
.result-retry{margin:16px auto 0;align-items:center;gap:12px}
.result-stage .result-retry .secondary{margin:0;padding:10px 14px;font-size:13px}
.result-retry .text-button{margin:0;padding:10px 8px;font-size:13px}
.result-retry:has(>button[hidden]+button[hidden]){display:flex}
.next-tools{max-width:900px;margin:6px auto 24px;background:#fff;border:1px solid #e1e5ee;border-radius:14px;padding:22px 26px}
.next-tools-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.next-tools-heading h2{font-size:17px;margin:0;font-weight:700;color:#313d51}
.next-tools-heading>a{font-size:12px;font-weight:600;white-space:nowrap}
.next-label-result,.follow-up-note{display:none}
.tool-workspace[data-stage=result]~.next-tools .next-label-result{display:inline}
.tool-workspace[data-stage=result]~.next-tools .next-label-idle{display:none}
.tool-workspace[data-stage=result]~.next-tools .follow-up-note{display:block;font-size:12px;color:#707b8e;margin:5px 0 0}
.tool-workspace:is([data-stage=edit],[data-stage=processing])~.next-tools{display:none}
.next-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px;row-gap:6px;margin-top:14px}
.next-tools-grid>a{display:flex;align-items:center;gap:10px;padding:10px 8px;border-radius:9px;min-height:50px;font-size:13px;font-weight:600;color:#314057;line-height:1.35}
.next-tools-grid>a:hover{background:#f1f5fb;color:#244e94}
.next-tools-grid .tool-icon{width:32px;height:32px}
.next-arrow{margin-left:auto;color:#8c97a8;font-size:21px;font-weight:400}
.tool-workspace~.ad-slot{margin:28px auto;max-width:900px}
.tool-workspace~.tool-guide{margin:34px auto 42px;max-width:900px;font-size:14px}
.tool-workspace~.tool-guide h2{font-size:20px;margin:24px 0 12px}
.tool-workspace~.tool-guide ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;counter-reset:steps;padding:0;margin:18px 0 30px}
.tool-workspace~.tool-guide li{counter-increment:steps;display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}
.tool-workspace~.tool-guide li:before{content:counter(steps);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e7edf7;color:#34578a;font-weight:700;flex:none}
.tool-workspace~.tool-guide details{padding:16px 18px;margin:20px 0}
.tool-workspace~.tool-guide .back-link{font-size:13px}
@media(max-width:760px){
 .tool-heading{padding-top:26px}.tool-heading p{font-size:16px}.select-stage{padding:12px 0 14px}.select-files{min-width:245px;font-size:21px;min-height:70px}
 .tool-assurance{font-size:11px;max-width:560px;margin:auto;padding-bottom:18px}.result-stage{padding-top:28px}
 .result-heading{gap:8px;margin-bottom:20px}.result-heading h2{font-size:26px}.result-heading .success-icon{width:30px;height:30px;font-size:18px}
 .result-stage .result-download{min-width:270px;min-height:68px;font-size:21px;padding:17px 26px}.result-metrics{gap:16px;margin:22px auto 16px;max-width:520px}
 .next-tools{padding:18px;margin-top:6px}.next-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}.next-tools-grid>a{padding:9px 4px;font-size:12px}
 .tool-workspace~.tool-guide ol{grid-template-columns:1fr;gap:10px;margin-bottom:24px}.tool-workspace~.tool-guide li{align-items:center}
}
@media(max-width:480px){
 .result-heading h2{font-size:24px;text-align:left}.download-actions{gap:10px}.result-stage .result-download{width:100%;min-width:0;font-size:22px}.result-stage .result-preview{padding:10px 18px;font-size:13px}
 .result-metrics{gap:14px}.savings-ring{width:82px;height:82px}.savings-ring strong{font-size:22px}.result-stage [data-result-summary]{font-size:14px}.result-stage .result-filename{font-size:12px}
 .result-retry{gap:8px}.result-stage .result-retry .secondary{width:100%;padding:12px}.next-tools{padding:16px 12px}.next-tools-heading{gap:10px}.next-tools-heading h2{font-size:16px}.next-tools-heading>a{font-size:11px}.next-tools-grid{gap:4px 6px}.next-tools-grid .tool-icon{width:29px;height:29px}.next-tools-grid>a{gap:7px}.next-arrow{display:none}
 .tool-workspace~.ad-slot{margin:24px auto}.tool-workspace~.tool-guide{margin-top:28px}.tool-workspace~.tool-guide h2{font-size:19px}
}

/* Merge workspace: file/page ordering, separated advertising, reachable actions. */
.sort-card-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px;min-height:38px}
.order-number{display:grid;place-items:center;min-width:25px;height:25px;border-radius:50%;background:#e9eff8;color:#34557d;font-weight:700;font-size:12px}
.drag-handle{touch-action:none!important;user-select:none;-webkit-user-select:none;cursor:grab;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:64px;padding:6px 9px;background:#f2f5fa;color:#385778;border:1px solid #d9e1ed;border-radius:8px;font-size:12px;font-weight:600}
.drag-handle span{font-size:22px;line-height:1}.drag-handle:active{cursor:grabbing}.sorting{user-select:none}.sort-source{opacity:.6}.sort-target{outline:3px solid #2b62ac!important;outline-offset:3px;background:#edf4ff!important}
[data-sort-index]{scroll-margin-top:24px;scroll-margin-bottom:112px}
[data-drag-card]{cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
[data-drag-card] :is(canvas,img){-webkit-user-drag:none;touch-action:auto}
[data-drag-card] :is(button,a,input,select){cursor:pointer}
.sorting [data-drag-card]{cursor:grabbing}
.sort-drag-preview{position:fixed;z-index:1000;pointer-events:none;width:128px;max-width:38vw;padding:8px;background:#fff;border:2px solid #2b62ac;border-radius:10px;box-shadow:0 12px 30px #20396d40;transform:rotate(-3deg);text-align:center;user-select:none}
.sort-drag-preview :is(canvas,img){display:block;max-width:100%;max-height:150px;width:auto;height:auto;margin:0 auto 6px;object-fit:contain}
.sort-drag-preview span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 12px/1.4 var(--tools-font);color:#20396d}
[data-tool=merge-pdf]{max-width:none}
[data-tool=merge-pdf][data-stage=edit]>.tool-heading{display:none}
[data-tool=merge-pdf] .editor-stage{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:24px;padding-top:0;margin-top:0}
[data-tool=merge-pdf] .file-area{min-width:0;padding:0 0 24px}
[data-tool=merge-pdf] .file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0 14px;flex-wrap:wrap}
[data-tool=merge-pdf] .file-toolbar strong{font-size:13px;color:#607086}
[data-tool=merge-pdf] [data-add]{background:#244e94;color:white;border:0;border-radius:9px;padding:11px 16px;font-weight:700;min-height:44px}
.merge-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:0 0 4px}.merge-view{display:flex;border:1px solid #d2dbe9;border-radius:9px;overflow:hidden;background:#fff}.merge-view button{background:transparent;border:0;padding:10px 22px;min-height:44px;color:#52657f;font-size:14px;font-weight:700}.merge-view button[aria-pressed=true]{background:#244e94;color:white}.merge-toolbar .secondary{font-size:12px;padding:10px 12px;min-height:44px}.merge-toolbar .text-button{font-size:12px;padding:8px 0;margin:0}
.merge-gesture-hint,.merge-custom{font-size:12px;line-height:1.6;color:#66758a;margin:10px 0 18px}.merge-custom{background:#eaf1fc;border:1px solid #cbd9ef;border-radius:8px;padding:12px}
[data-tool=merge-pdf] .file-list,[data-tool=merge-pdf] .page-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));align-items:start;gap:16px}
[data-tool=merge-pdf] .file-card,[data-tool=merge-pdf] .page-tile{background:#fff;padding:14px;min-width:0;border:1px solid #dce2ec;border-radius:12px;box-shadow:0 3px 10px #26364d06;text-align:center}
[data-tool=merge-pdf] .file-preview{height:165px;background:#f7f8fb;border-radius:5px;display:flex;align-items:center;justify-content:center;margin:0 0 12px}
[data-tool=merge-pdf] .file-preview canvas,[data-tool=merge-pdf] .page-tile canvas{max-width:100%;max-height:160px;height:auto;object-fit:contain}
[data-tool=merge-pdf] .page-tile>canvas{height:165px;max-height:165px;margin:0 auto 12px}
[data-tool=merge-pdf] .file-name,[data-tool=merge-pdf] .source-file{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#61718a;margin:4px 0;max-width:100%}
[data-tool=merge-pdf] .file-size{font-size:11px;margin:7px 0;color:#758197}
[data-tool=merge-pdf] .page-tile strong{font-size:13px}
.file-actions button,.page-actions button{min-width:36px;min-height:38px}.file-actions button:disabled,.page-actions button:disabled{cursor:default}
[data-tool=merge-pdf] .settings{position:sticky;top:16px;min-height:calc(100dvh - 126px);display:flex;flex-direction:column;max-width:none;padding:24px;border-radius:0 0 12px 12px}
[data-tool=merge-pdf] .settings h2{font-size:23px;text-align:center;margin:0 0 6px}.merge-summary{font-size:14px;font-weight:700;text-align:center;color:#536a8b;margin:0 0 20px}
[data-tool=merge-pdf] .setting-help{font-size:13px;line-height:1.7}
[data-tool=merge-pdf] .process-button{margin-top:auto;min-height:64px;font-size:20px}
[data-tool=merge-pdf] .settings .text-button{margin-top:14px}
[data-tool=merge-pdf] .ad-slot{max-width:728px;margin:20px auto 24px;width:100%;padding:0}
[data-tool=merge-pdf] .ad-space{height:90px;min-height:90px;max-width:728px;width:100%;border-radius:6px}
[data-tool=merge-pdf] .processing-stage{padding-top:4px}
[data-tool=merge-pdf] .processing-stage .ad-slot{margin-bottom:38px}
[data-tool=merge-pdf]:not([data-stage=result])~.ad-slot{display:none}
[data-tool=merge-pdf]:is([data-stage=edit],[data-stage=processing])~.tool-guide{display:none}
@media(max-width:1100px){[data-tool=merge-pdf] .editor-stage{grid-template-columns:minmax(0,1fr) 270px;gap:18px}[data-tool=merge-pdf] .settings{padding:20px}}
@media(max-width:760px){
 [data-tool=merge-pdf] .editor-stage{grid-template-columns:1fr;gap:16px}
 [data-tool=merge-pdf][data-stage=edit]{padding-bottom:96px}
 [data-tool=merge-pdf] .settings{position:static;min-height:0;padding:18px;border-radius:12px}
 [data-tool=merge-pdf] .settings h2{font-size:20px}
 [data-tool=merge-pdf] .process-button{position:fixed;z-index:20;left:0;right:0;bottom:0;width:100%;border:10px solid #fff;border-bottom-width:calc(10px + env(safe-area-inset-bottom,0px));border-radius:0;min-height:84px;margin:0;box-shadow:0 -3px 16px #26364d1a;background-clip:padding-box;font-size:20px}
 [data-tool=merge-pdf] .ad-slot{max-width:320px;margin:18px auto 20px}
 [data-tool=merge-pdf] .ad-space{height:100px;min-height:100px;max-width:320px}
 [data-tool=merge-pdf] .file-list,[data-tool=merge-pdf] .page-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 [data-tool=merge-pdf] .file-card,[data-tool=merge-pdf] .page-tile{padding:10px}
 [data-tool=merge-pdf] .file-preview,[data-tool=merge-pdf] .page-tile>canvas{height:140px;max-height:140px}
 [data-tool=merge-pdf] .file-preview canvas{max-height:135px}
 .merge-view button{padding:10px 16px}.merge-toolbar{gap:8px}.merge-gesture-hint{font-size:12px}
}
@media(max-width:360px){[data-tool=merge-pdf] .file-list,[data-tool=merge-pdf] .page-list{gap:8px}[data-tool=merge-pdf] .file-card,[data-tool=merge-pdf] .page-tile{padding:8px}.drag-handle{min-width:58px;font-size:11px;padding:5px}.order-number{min-width:21px;height:21px}.file-actions button,.page-actions button{min-width:32px}}

/* Split PDF workspace */
[data-tool=split-pdf]{max-width:none}
[data-tool=split-pdf][data-stage=edit]>.tool-heading{display:none}
[data-tool=split-pdf] .editor-stage{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:24px;padding-top:0;margin-top:0}
[data-tool=split-pdf] .file-area{min-width:0;padding:0 0 24px}
[data-tool=split-pdf] .file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0 14px;flex-wrap:wrap}
[data-tool=split-pdf] .file-toolbar strong{font-size:13px;color:#607086;overflow-wrap:anywhere;min-width:0;flex:1}
[data-tool=split-pdf] [data-add]{background:#244e94;color:white;border:0;border-radius:9px;padding:11px 16px;font-weight:700;min-height:44px}
[data-tool=split-pdf] .settings{position:sticky;top:16px;min-height:calc(100dvh - 126px);display:flex;flex-direction:column;max-width:none;padding:24px;border-radius:0 0 12px 12px}
[data-tool=split-pdf] .settings h2{font-size:23px;text-align:center;margin:0 0 6px}.merge-summary{font-size:14px;font-weight:700;text-align:center;color:#536a8b;margin:0 0 20px}
[data-tool=split-pdf] .setting-help{font-size:13px;line-height:1.7}
[data-tool=split-pdf] .process-button{margin-top:auto;min-height:64px;font-size:20px}
[data-tool=split-pdf] .settings .text-button{margin-top:14px}
[data-tool=split-pdf] .ad-slot{max-width:728px;margin:20px auto 24px;width:100%;padding:0}
[data-tool=split-pdf] .ad-space{height:90px;min-height:90px;max-width:728px;width:100%;border-radius:6px}
[data-tool=split-pdf] .processing-stage{padding-top:4px}
[data-tool=split-pdf] .processing-stage .ad-slot{margin-bottom:38px}
[data-tool=split-pdf]:not([data-stage=result])~.ad-slot{display:none}
[data-tool=split-pdf]:is([data-stage=edit],[data-stage=processing])~.tool-guide{display:none}
@media(max-width:1100px){[data-tool=split-pdf] .editor-stage{grid-template-columns:minmax(0,1fr) 270px;gap:18px}[data-tool=split-pdf] .settings{padding:20px}}
@media(max-width:760px){
 [data-tool=split-pdf] .editor-stage{grid-template-columns:1fr;gap:16px}
 [data-tool=split-pdf][data-stage=edit]{padding-bottom:96px}
 [data-tool=split-pdf] .settings{position:static;min-height:0;padding:18px;border-radius:12px}
 [data-tool=split-pdf] .settings h2{font-size:20px}
 [data-tool=split-pdf] .process-button{position:fixed;z-index:20;left:0;right:0;bottom:0;width:100%;border:10px solid #fff;border-bottom-width:calc(10px + env(safe-area-inset-bottom,0px));border-radius:0;min-height:84px;margin:0;box-shadow:0 -3px 16px #26364d1a;background-clip:padding-box;font-size:20px}
 [data-tool=split-pdf] .ad-slot{max-width:320px;margin:18px auto 20px}
 [data-tool=split-pdf] .ad-space{height:100px;min-height:100px;max-width:320px}
}

[data-tool=split-pdf] .editor-stage{grid-template-columns:minmax(0,1fr) 330px}
[data-tool=split-pdf] .settings{max-height:calc(100dvh - 32px);overflow:auto;min-height:0}
[data-tool=split-pdf] .settings .process-button{margin-top:20px;flex-shrink:0}
[data-tool=split-pdf] .page-list{display:block}
.split-tabs,.split-subtabs{display:flex;gap:5px;margin:18px 0}
.split-tabs{border-bottom:1px solid #dce2ec;padding-bottom:12px}
.split-tabs button,.split-subtabs button{flex:1;border:1px solid #dce2ec;border-radius:8px;background:#f8f9fc;color:#5b6575;padding:10px 6px;min-height:46px;font-size:13px;font-weight:700}
.split-tabs button[aria-pressed=true]{background:#244e94;color:#fff;border-color:#244e94}
.split-subtabs button[aria-pressed=true]{border-color:#244e94;background:#edf3ff;color:#244e94;box-shadow:inset 0 0 0 1px #244e94}
.split-range-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;gap:8px;padding:12px;margin:0 0 12px;border:1px solid #dce2ec;border-radius:9px}
.split-range-row legend{font-size:13px;font-weight:700;padding:0 6px}
.settings .split-range-row label{font-size:11px;margin:0}.settings .split-range-row input{margin:4px 0 0;padding:8px;min-width:0;width:100%;min-height:44px}
.split-range-row button{border:0;background:#f1f4f9;border-radius:8px;align-self:end;min-height:44px;color:#66758a;font-size:20px}
.split-add-range{width:100%;min-height:44px;font-size:13px;padding:10px}
.settings .split-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:20px 0}
.settings .split-check input{width:20px;height:20px;margin:1px 0 0;flex-shrink:0;accent-color:#244e94}
.split-plan-summary{background:#edf3fc;padding:12px;border-radius:8px;font-size:13px;font-weight:700;color:#244e94;margin:20px 0 10px}.split-plan-summary:empty{display:none}
.split-validation{color:#a13d2b;font-size:12px;line-height:1.6}.split-validation:empty{display:none}
.split-size-input{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:8px}
.split-preview-heading{font-size:13px;color:#65748b;margin:4px 0 16px;font-weight:700}
.split-range-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;align-items:start}
.split-range-preview{min-width:0;padding:18px;background:#fff;border:1px dashed #b9c8de;border-radius:12px}
.split-range-preview h3{display:flex;justify-content:space-between;gap:8px;font-size:14px;margin:0 0 20px}.split-range-preview h3 span{font-size:12px;font-weight:400;color:#79869b}
.split-range-thumbs{display:flex;gap:10px;align-items:center;justify-content:center}.split-thumbnail{min-width:0;text-align:center;flex:1}.split-thumbnail>span{display:block;font-size:11px;color:#748399;margin-top:8px}
.split-thumbnail button{position:relative;border:0;background:#f4f5f9;border-radius:6px;padding:8px;width:100%;min-height:150px;display:flex;align-items:center;justify-content:center}.split-thumbnail canvas{max-width:100%;max-height:145px;width:auto;height:auto;object-fit:contain;box-shadow:0 2px 6px #20396d19}
.split-zoom-label{position:absolute;right:4px;bottom:4px;background:white;border:1px solid #dce2ec;border-radius:50%;width:24px;height:24px;font-size:18px;color:#244e94}
.range-ellipsis{color:#8d98aa}.split-range-preview>p{font-size:12px;text-align:center;color:#65748b;margin:16px 0 0;overflow-wrap:anywhere}
.split-page-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;font-size:13px}.split-page-tools strong{margin-right:auto}.split-page-tools button{padding:10px 12px;min-height:44px;border:1px solid #d4deed;border-radius:8px;background:white;color:#244e94;font-size:12px}
.split-page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}.split-page-card{background:white;border:2px solid #dce2ec;border-radius:12px;padding:12px;min-width:0}.split-page-card.selected{border-color:#408268;background:#f6fcf9}
.split-page-toggle{display:flex;align-items:center;gap:8px;font-weight:700;font-size:12px;margin:0 0 8px;min-height:32px;cursor:pointer}.split-page-toggle input{width:20px;height:20px;accent-color:#408268}
.split-page-select{display:flex;justify-content:center;align-items:center;width:100%;height:155px;border:0;background:#f0f2f7;border-radius:5px}.split-page-select canvas{max-width:100%;max-height:145px;width:auto;height:auto;object-fit:contain;pointer-events:none}
.split-enlarge{display:block;border:0;background:transparent;margin:8px auto 0;color:#526d93;font-size:12px;min-height:36px;padding:6px 12px}
.split-zoom-dialog{width:min(850px,94vw);max-height:92dvh;border:0;border-radius:14px;padding:20px;box-shadow:0 20px 80px #19283d55}.split-zoom-dialog::backdrop{background:#172a46a8}.split-zoom-dialog>div{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:white;padding-bottom:10px}.split-zoom-dialog button{min-width:44px;min-height:44px;border:1px solid #dce2ec;border-radius:8px;background:#f4f6fa;font-size:22px}.split-zoom-dialog>canvas{display:block;max-width:100%;height:auto;margin:auto}
@media(max-width:1100px){[data-tool=split-pdf] .editor-stage{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:760px){
 [data-tool=split-pdf] .editor-stage{display:flex;flex-direction:column}
 [data-tool=split-pdf] .settings{order:-1;position:static;max-height:none;width:100%;padding:16px;overflow:visible}
 [data-tool=split-pdf] .file-area{width:100%}
 [data-tool=split-pdf] .settings h2{font-size:20px}
 [data-tool=split-pdf] .settings>.text-button{display:none}
 [data-tool=split-pdf] .settings .process-button{margin-top:0}
 .split-tabs{margin-top:10px}.split-subtabs{margin:12px 0}.split-range-grid{grid-template-columns:1fr;gap:14px}.split-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .split-page-card{padding:10px}.split-range-preview{padding:14px}.split-plan-summary{margin-top:14px}
}

[data-tool=split-pdf] .process-button:disabled{cursor:not-allowed}
/* Page organizer: one canvas for pages from every source PDF. */
[data-tool=organize-pdf]{max-width:none}
[data-tool=organize-pdf][data-stage=edit]>.tool-heading{display:none}
[data-tool=organize-pdf] .editor-stage{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:24px;margin-top:0}
[data-tool=organize-pdf] .file-area{min-width:0}
[data-tool=organize-pdf] .file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
[data-tool=organize-pdf] [data-file-count]{font-size:13px;color:#607086}
[data-tool=organize-pdf] [data-add]{background:#244e94;color:white;border:0;border-radius:9px;padding:12px 18px;min-height:44px;font-weight:700}
[data-tool=organize-pdf] .settings{position:sticky;top:16px;padding:22px;border-radius:12px;max-height:calc(100dvh - 32px);overflow:auto}
[data-tool=organize-pdf] .settings h2{font-size:23px;text-align:center;margin:0 0 12px}
[data-tool=organize-pdf] .settings h3{font-size:14px;margin:22px 0 10px}
.organize-summary{font-weight:700;text-align:center;color:#52688b}
.organize-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}
.organize-tools button{min-width:0;min-height:44px;padding:9px 8px;border:1px solid #cdd9eb;border-radius:8px;background:#f7f9fd;color:#244e94;font-size:12px;line-height:1.5}
.organize-tools [data-organize-add]{background:#e9f0fc;font-weight:700}
.organize-blank-options{font-size:13px;border-bottom:1px solid #e3e9f2;padding:8px 0 14px}.organize-blank-options summary{cursor:pointer;min-height:30px}.organize-blank-options label{font-size:12px;margin-top:12px}
.organize-sources{list-style:none;margin:0;padding:0;display:grid;gap:8px}.organize-sources li{display:flex;align-items:flex-start;gap:10px;background:var(--source-bg);border-left:4px solid var(--source-color);padding:10px;border-radius:7px;min-width:0}.organize-sources strong{color:var(--source-color);font-size:14px}.organize-sources li>span{font-size:12px;min-width:0;overflow-wrap:anywhere}.organize-sources small{display:block;color:#64738a;margin-top:3px}
.source-0{--source-bg:#f2f6ff;--source-color:#4d72b6}.source-1{--source-bg:#eef9f5;--source-color:#318268}.source-2{--source-bg:#fff5eb;--source-color:#b47736}.source-3{--source-bg:#f7f1fc;--source-color:#8864b3}.source-4{--source-bg:#fcf1f3;--source-color:#b25c78}.source-5{--source-bg:#ecf8fa;--source-color:#318493}.source-blank{--source-bg:#f5f6f8;--source-color:#8291a5}
[data-tool=organize-pdf] .organize-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}
[data-tool=organize-pdf] .organize-page{min-width:0;border:1px solid #d4deed;border-top:4px solid var(--source-color);background:var(--source-bg);padding:12px;border-radius:12px;display:flex;flex-direction:column;align-items:stretch;text-align:center;gap:8px}
.organize-page .sort-card-heading{margin:0;gap:6px}.organize-page .order-number{background:white;font-size:12px}.organize-page .drag-handle{font-size:12px;min-height:36px}
.organize-preview{height:170px;display:flex;align-items:center;justify-content:center;background:#ffffffa8;border-radius:5px;margin:4px 0}.organize-preview canvas{max-width:100%;max-height:160px;width:auto;height:auto;pointer-events:none;box-shadow:0 2px 6px #20396d20}
.organize-page>strong{font-size:13px}.organize-page .source-file{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#6f7f95}
.organize-page .page-actions{display:flex;gap:4px;justify-content:space-between}.organize-page .page-actions button{flex:1;min-width:28px;min-height:40px;padding:4px;border:1px solid #d7e0ed;border-radius:6px;background:white;color:#244e94;font-size:20px}
.organize-page>[data-action=blank]{min-height:34px;border:0;background:transparent;color:#526d93;font-size:11px;padding:5px}
.blank-sheet{width:100px;height:142px;background:white;box-shadow:0 2px 6px #20396d20;display:grid;place-items:center;color:#b0b9c6;font-size:12px}.blank-sheet.landscape{width:142px;height:100px}
[data-tool=organize-pdf] .process-button{min-height:60px;font-size:19px;margin-top:22px}
[data-tool=organize-pdf] .ad-slot{max-width:728px;width:100%;margin:20px auto 24px;padding:0}
[data-tool=organize-pdf] .ad-space{height:90px;min-height:90px;width:100%;border-radius:6px}
[data-tool=organize-pdf]:not([data-stage=result])~.ad-slot{display:none}
[data-tool=organize-pdf]:is([data-stage=edit],[data-stage=processing])~.tool-guide{display:none}
@media(max-width:760px){
 [data-tool=organize-pdf] .editor-stage{display:flex;flex-direction:column;gap:18px}
 [data-tool=organize-pdf][data-stage=edit]{padding-bottom:96px}
 [data-tool=organize-pdf] .settings{order:-1;position:static;max-height:none;overflow:visible;padding:16px;width:100%}
 [data-tool=organize-pdf] .settings h2{font-size:20px}.organize-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:14px 0}
 [data-tool=organize-pdf] .file-area{width:100%}.organize-sources{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-tool=organize-pdf] .settings>.text-button{display:none}
 [data-tool=organize-pdf] .process-button{position:fixed;z-index:20;left:0;right:0;bottom:0;width:100%;border:10px solid white;border-bottom-width:calc(10px + env(safe-area-inset-bottom,0px));border-radius:0;min-height:84px;margin:0;box-shadow:0 -3px 16px #26364d1a;background-clip:padding-box;font-size:20px}
 [data-tool=organize-pdf] .organize-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 [data-tool=organize-pdf] .organize-page{padding:8px;gap:7px}.organize-preview{height:145px}.organize-preview canvas{max-height:132px}.organize-page .page-actions{flex-wrap:wrap;gap:3px}.organize-page .page-actions button{min-width:36px;min-height:44px}.organize-page .drag-handle{padding:4px;font-size:11px}.blank-sheet{height:120px;width:85px}.blank-sheet.landscape{width:110px;height:78px}
 [data-tool=organize-pdf] .ad-slot{max-width:320px;margin:18px auto 20px}[data-tool=organize-pdf] .ad-space{height:100px;min-height:100px}
}
.organize-options>summary{font-size:13px;font-weight:700;color:#244e94;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}.organize-options>summary::before{content:'＋'}.organize-options[open]>summary::before{content:'−'}
@media(min-width:761px){.organize-options>summary{display:none}}
@media(max-width:760px){[data-tool=organize-pdf] .settings .setting-help{font-size:12px;margin:10px 0}.organize-summary{font-size:13px;margin:8px 0}.organize-options{border-top:1px solid #e3e9f2}}

/* Watermark: a real output preview alongside clearly grouped controls. */
[data-tool=watermark-pdf][data-stage=edit]{max-width:1380px}
[data-tool=watermark-pdf][data-stage=edit] .tool-heading{padding:18px 0 10px}
[data-tool=watermark-pdf][data-stage=edit] .tool-heading p{display:none}
[data-tool=watermark-pdf] .editor-stage{grid-template-columns:minmax(0,1fr) 350px;gap:22px;background:transparent;border:0;overflow:visible}
[data-tool=watermark-pdf] .file-area{min-width:0;padding:0}
[data-tool=watermark-pdf] .file-toolbar{gap:10px;font-size:12px;align-items:center}
[data-tool=watermark-pdf] .file-toolbar button{white-space:nowrap;min-height:44px}
[data-tool=watermark-pdf] .settings{border:1px solid #dce3ed;border-radius:14px;padding:22px;align-self:start;position:sticky;top:12px}
[data-tool=watermark-pdf] .settings h2{font-size:19px;margin:0 0 18px}
@media(min-width:761px){[data-tool=watermark-pdf] .settings{display:flex;flex-direction:column;height:calc(100dvh - 150px);min-height:540px;max-height:1100px}[data-tool=watermark-pdf] [data-settings]{overflow-y:auto;min-height:0;flex:1;padding-right:6px}[data-tool=watermark-pdf] .settings>.text-button{margin-top:10px}[data-tool=watermark-pdf] .settings>h2,[data-tool=watermark-pdf] .settings>button{flex-shrink:0}}
.wm-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wm-tabs button{min-height:54px;border-radius:9px;border:1px solid #d3daea;background:white;color:#53637c;font-weight:700;font-size:16px}
.wm-tabs button[aria-pressed=true]{color:#244e94;background:#edf3ff;border-color:#6087c9}
.wm-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wm-two>div{min-width:0}
.wm-format{display:flex;align-items:center;gap:7px;margin:12px 0}.wm-format button{border:1px solid #ccd6e6;background:white;color:#344963;border-radius:6px;min-width:38px;height:40px}.wm-format [data-wm-style=bold]{font-weight:bold}.wm-format [data-wm-style=italic]{font-style:italic}.wm-format [data-wm-style=underline]{text-decoration:underline}.wm-format button[aria-pressed=true]{background:#e3edff;border-color:#6087c9}
.settings .wm-format label{margin:0 0 0 auto;font-size:12px}.settings .wm-format input[type=color]{padding:4px;width:44px;height:40px}
.settings input[type=file]{font-size:12px;max-width:100%;padding:10px 7px}.settings input[type=file]::file-selector-button{padding:8px 10px;border:0;border-radius:5px;background:#edf3ff;color:#244e94;margin-right:7px;cursor:pointer}
.wm-options{margin-top:16px;border-top:1px solid #e0e6f0}.wm-options>summary{font-size:14px;font-weight:700;padding:14px 0;cursor:pointer;min-height:48px}
.wm-label{font-size:13px;font-weight:600;display:block;margin-bottom:8px}.wm-position-row{display:flex;align-items:center;gap:16px}.wm-position{display:grid;grid-template-columns:repeat(3,40px);gap:3px}.wm-position button{height:40px;background:#fafbfe;border:1px solid #d4ddec;border-radius:5px;color:#9aa9c0;font-size:22px}.wm-position button[aria-pressed=true]{background:#e7efff;color:#244e94;border-color:#6087c9}
.settings .wm-check{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;line-height:1.5;font-weight:400}.wm-check input{min-width:20px;height:20px;accent-color:#244e94}
[data-tool=watermark-pdf] .wm-preview{display:block;margin-top:16px}
.wm-preview-toolbar{display:flex;align-items:flex-end;gap:10px;margin-bottom:18px}.wm-preview-toolbar>div{flex:1;min-width:0}.wm-preview-toolbar label{display:block;font-size:12px;color:#67778f;margin-bottom:5px}.wm-preview-toolbar select{max-width:100%;width:100%;height:44px;padding:8px;border:1px solid #d3ddec;border-radius:7px;background:white;color:#3d526f;font-size:13px;text-overflow:ellipsis}.wm-preview-toolbar button,.wm-pager button{min-width:44px;height:44px;border:1px solid #cdd8e8;border-radius:7px;background:white;color:#244e94;font-size:20px}
.wm-sheet{display:flex;align-items:center;justify-content:center;min-height:280px;padding:20px;background:#e9ecf3;border:1px solid #e0e4ed;border-radius:12px}
.wm-sheet canvas{display:block;max-width:100%;width:auto;height:auto;max-height:620px;box-shadow:0 4px 18px #27375325;background:white}
.wm-preview[data-wm-preview-state=loading] .wm-sheet{opacity:.65}.wm-preview[data-wm-preview-state=error] .wm-sheet{opacity:.4}
.wm-pager{display:flex;align-items:center;justify-content:center;gap:10px;margin:18px 0 8px;font-size:13px}.wm-pager input{width:66px;height:42px;text-align:center;border:1px solid #cdd8e8;border-radius:6px;background:white;color:#344963}
.wm-preview-status{text-align:center;font-size:12px;color:#687a94;min-height:20px}.wm-preview[data-wm-preview-state=error] .wm-preview-status{color:#a12533}
[data-tool=watermark-pdf] .process-button{min-height:58px;font-size:18px;margin-top:14px}
[data-tool=watermark-pdf] .ad-slot{max-width:728px;width:100%;margin:16px auto 22px;padding:0}
[data-tool=watermark-pdf] .ad-space{height:90px;min-height:90px;width:100%;border-radius:6px}
[data-tool=watermark-pdf]:not([data-stage=result])~.ad-slot{display:none}
[data-tool=watermark-pdf]:is([data-stage=edit],[data-stage=processing])~.tool-guide{display:none}
@media(max-width:760px){
 [data-tool=watermark-pdf] .editor-stage{display:flex;flex-direction:column;gap:16px}
 [data-tool=watermark-pdf][data-stage=edit]{padding-bottom:96px}
 [data-tool=watermark-pdf] .settings{position:static;width:100%;padding:18px;order:1}
 [data-tool=watermark-pdf] .file-area{width:100%}
 [data-tool=watermark-pdf] .settings>.text-button{display:none}
 [data-tool=watermark-pdf] .process-button{position:fixed;z-index:20;left:0;right:0;bottom:0;width:100%;border:10px solid white;border-bottom-width:calc(10px + env(safe-area-inset-bottom,0px));border-radius:0;min-height:84px;margin:0;box-shadow:0 -3px 16px #26364d1a;background-clip:padding-box;font-size:19px}
 .wm-sheet{padding:14px;min-height:230px}.wm-sheet canvas{max-height:400px}.wm-pager{gap:8px}.wm-position{grid-template-columns:repeat(3,44px)}.wm-position button{height:44px}
 [data-tool=watermark-pdf] .ad-slot{max-width:320px;margin:14px auto 18px}[data-tool=watermark-pdf] .ad-space{height:100px;min-height:100px}
}

/* Page numbering: a real output preview alongside clearly grouped controls. */
[data-tool=page-numbers][data-stage=edit]{max-width:1380px}
[data-tool=page-numbers][data-stage=edit] .tool-heading{padding:18px 0 10px}
[data-tool=page-numbers][data-stage=edit] .tool-heading p{display:none}
[data-tool=page-numbers] .editor-stage{grid-template-columns:minmax(0,1fr) 350px;gap:22px;background:transparent;border:0;overflow:visible}
[data-tool=page-numbers] .file-area{min-width:0;padding:0}
[data-tool=page-numbers] .file-toolbar{gap:10px;font-size:12px;align-items:center}
[data-tool=page-numbers] .file-toolbar button{white-space:nowrap;min-height:44px}
[data-tool=page-numbers] .settings{border:1px solid #dce3ed;border-radius:14px;padding:22px;align-self:start;position:sticky;top:12px}
[data-tool=page-numbers] .settings h2{font-size:19px;margin:0 0 18px}
@media(min-width:761px){[data-tool=page-numbers] .settings{display:flex;flex-direction:column;height:calc(100dvh - 150px);min-height:540px;max-height:1100px}[data-tool=page-numbers] [data-settings]{overflow-y:auto;min-height:0;flex:1;padding-right:6px}[data-tool=page-numbers] .settings>.text-button{margin-top:10px}[data-tool=page-numbers] .settings>h2,[data-tool=page-numbers] .settings>button{flex-shrink:0}}
.pn-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pn-tabs button{min-height:54px;border-radius:9px;border:1px solid #d3daea;background:white;color:#53637c;font-weight:700;font-size:16px}
.pn-tabs button[aria-pressed=true]{color:#244e94;background:#edf3ff;border-color:#6087c9}
.pn-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pn-two>div{min-width:0}
.pn-format{display:flex;align-items:center;gap:7px;margin:12px 0}.pn-format button{border:1px solid #ccd6e6;background:white;color:#344963;border-radius:6px;min-width:38px;height:40px}.pn-format [data-pn-style=bold]{font-weight:bold}.pn-format [data-pn-style=italic]{font-style:italic}.pn-format [data-pn-style=underline]{text-decoration:underline}.pn-format button[aria-pressed=true]{background:#e3edff;border-color:#6087c9}
.settings .pn-format label{margin:0 0 0 auto;font-size:12px}.settings .pn-format input[type=color]{padding:4px;width:44px;height:40px}
.settings input[type=file]{font-size:12px;max-width:100%;padding:10px 7px}.settings input[type=file]::file-selector-button{padding:8px 10px;border:0;border-radius:5px;background:#edf3ff;color:#244e94;margin-right:7px;cursor:pointer}
.pn-options{margin-top:16px;border-top:1px solid #e0e6f0}.pn-options>summary{font-size:14px;font-weight:700;padding:14px 0;cursor:pointer;min-height:48px}
.pn-label{font-size:13px;font-weight:600;display:block;margin-bottom:8px}.pn-position-row{display:flex;align-items:center;gap:16px}.pn-position{display:grid;grid-template-columns:repeat(3,40px);gap:3px}.pn-position button{height:40px;background:#fafbfe;border:1px solid #d4ddec;border-radius:5px;color:#9aa9c0;font-size:22px}.pn-position button[aria-pressed=true]{background:#e7efff;color:#244e94;border-color:#6087c9}
.settings .pn-check{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;line-height:1.5;font-weight:400}.pn-check input{min-width:20px;height:20px;accent-color:#244e94}
[data-tool=page-numbers] .pn-preview{display:block;margin-top:16px}
.pn-preview-toolbar{display:flex;align-items:flex-end;gap:10px;margin-bottom:18px}.pn-preview-toolbar>div{flex:1;min-width:0}.pn-preview-toolbar label{display:block;font-size:12px;color:#67778f;margin-bottom:5px}.pn-preview-toolbar select{max-width:100%;width:100%;height:44px;padding:8px;border:1px solid #d3ddec;border-radius:7px;background:white;color:#3d526f;font-size:13px;text-overflow:ellipsis}.pn-preview-toolbar button,.pn-pager button{min-width:44px;height:44px;border:1px solid #cdd8e8;border-radius:7px;background:white;color:#244e94;font-size:20px}
.pn-sheet{display:flex;align-items:center;justify-content:center;min-height:280px;padding:20px;background:#e9ecf3;border:1px solid #e0e4ed;border-radius:12px}
.pn-sheet canvas{display:block;max-width:100%;width:auto;height:auto;max-height:620px;box-shadow:0 4px 18px #27375325;background:white}
.pn-preview[data-pn-preview-state=loading] .pn-sheet{opacity:.65}.pn-preview[data-pn-preview-state=error] .pn-sheet{opacity:.4}
.pn-pager{display:flex;align-items:center;justify-content:center;gap:10px;margin:18px 0 8px;font-size:13px}.pn-pager input{width:66px;height:42px;text-align:center;border:1px solid #cdd8e8;border-radius:6px;background:white;color:#344963}
.pn-preview-status{text-align:center;font-size:12px;color:#687a94;min-height:20px}.pn-preview[data-pn-preview-state=error] .pn-preview-status{color:#a12533}
[data-tool=page-numbers] .process-button{min-height:58px;font-size:18px;margin-top:14px}
[data-tool=page-numbers] .ad-slot{max-width:728px;width:100%;margin:16px auto 22px;padding:0}
[data-tool=page-numbers] .ad-space{height:90px;min-height:90px;width:100%;border-radius:6px}
[data-tool=page-numbers]:not([data-stage=result])~.ad-slot{display:none}
[data-tool=page-numbers]:is([data-stage=edit],[data-stage=processing])~.tool-guide{display:none}
@media(max-width:760px){
 [data-tool=page-numbers] .editor-stage{display:flex;flex-direction:column;gap:16px}
 [data-tool=page-numbers][data-stage=edit]{padding-bottom:96px}
 [data-tool=page-numbers] .settings{position:static;width:100%;padding:18px;order:1}
 [data-tool=page-numbers] .file-area{width:100%}
 [data-tool=page-numbers] .settings>.text-button{display:none}
 [data-tool=page-numbers] .process-button{position:fixed;z-index:20;left:0;right:0;bottom:0;width:100%;border:10px solid white;border-bottom-width:calc(10px + env(safe-area-inset-bottom,0px));border-radius:0;min-height:84px;margin:0;box-shadow:0 -3px 16px #26364d1a;background-clip:padding-box;font-size:19px}
 .pn-sheet{padding:14px;min-height:230px}.pn-sheet canvas{max-height:400px}.pn-pager{gap:8px}.pn-position{grid-template-columns:repeat(3,44px)}.pn-position button{height:44px}
 [data-tool=page-numbers] .ad-slot{max-width:320px;margin:14px auto 18px}[data-tool=page-numbers] .ad-space{height:100px;min-height:100px}
}

.pn-position-row>div:last-child{min-width:0;flex:1}.pn-jump{display:none}.pn-check{margin-top:14px!important}.pn-preview-status{overflow-wrap:anywhere}.pn-sheet{overflow:hidden}
@media(max-width:760px){.pn-jump{display:block;margin:14px auto}.pn-tabs button{font-size:14px}.pn-position-row{gap:10px}}

.pn-header-footer{border:1px solid #dce3ed;border-radius:9px;padding:0 12px;background:#f9fbff}.pn-header-footer>summary{font-size:13px}.pn-hf-part{padding:10px 0;border-top:1px solid #e1e7f0}.settings .pn-hf-part>.pn-check{margin:0!important;min-height:44px;font-weight:600;font-size:13px;cursor:pointer}.settings .pn-hf-part input[type=checkbox]{width:20px;flex:0 0 20px}.pn-hf-part fieldset,.pn-hf-shared{border:0;padding:0;margin:0;min-width:0}.pn-hf-part fieldset>div>label{font-size:12px;margin:12px 0 6px}.pn-hf-part input[type=text]{font-size:13px}.pn-hf-shared{border-top:1px solid #e1e7f0;padding-top:6px}

/* Shared navigation stays available on hubs and tools; PDF docks own their scroll. */
.document-tools{--tools-header-height:78px}
.pdf-tool-page{--tool-panel-width:clamp(300px,28vw,370px)}
.document-tools .tools-header{position:sticky;top:0;z-index:50}
.document-tools .mega-menu{max-height:calc(100dvh - var(--tools-header-height) - 12px);overflow-y:auto;overscroll-behavior:contain}
.document-tools #main,.document-tools .settings,.document-tools .result-stage{scroll-margin-top:calc(var(--tools-header-height) + 12px)}
@media(min-width:761px){
 .pdf-tool-editing .tools-main{max-width:none;padding:0 var(--tool-panel-width) 0 0}
 .pdf-tool-editing [data-tool]{max-width:none}
 .pdf-tool-editing [data-tool] .editor-stage{display:block;margin-top:0;border:0;background:transparent;overflow:visible}
 .pdf-tool-editing [data-tool] .file-area{padding:0 28px 16px}
 .pdf-tool-editing [data-tool] .settings{position:fixed;z-index:30;top:var(--tools-header-height);right:0;bottom:0;width:var(--tool-panel-width);height:calc(100dvh - var(--tools-header-height));min-height:0;max-height:none;overflow:hidden;display:flex;flex-direction:column;border-width:0 0 0 1px;border-radius:0;padding:20px;box-shadow:-2px 0 12px #26364d08}
 .pdf-tool-editing [data-tool] [data-settings]{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 8px 8px 0}
 .pdf-tool-editing [data-tool] .settings>h2{font-size:19px;text-align:left;padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #e0e6f0}
 .pdf-tool-editing [data-tool] .settings>h2,.pdf-tool-editing [data-tool] .settings>button,.pdf-tool-editing [data-tool] .settings>.merge-summary{flex-shrink:0}
 .pdf-tool-editing [data-tool] .process-button{min-height:58px;margin-top:14px;font-size:18px}
 .pdf-tool-editing [data-tool] .settings>.text-button{margin-top:10px}
 .pdf-tool-editing .tools-footer{margin-right:var(--tool-panel-width)}
}
@media(min-width:761px) and (max-height:600px){
 .pdf-tool-editing [data-tool] .settings{padding:12px 16px}
 .pdf-tool-editing [data-tool] .settings>h2{font-size:17px;margin-bottom:6px;padding-bottom:8px}
 .pdf-tool-editing [data-tool] .process-button{margin-top:8px;min-height:48px;padding:10px}
 .pdf-tool-editing [data-tool] .settings>.text-button{margin-top:2px}
}
@media(max-width:760px){
 .document-tools{--tools-header-height:112px}
 .pdf-tool-editing [data-tool]{padding-bottom:96px}
 .pdf-tool-editing [data-tool] .settings{position:static;height:auto;min-height:0;max-height:none;overflow:visible;width:100%}
 .pdf-tool-editing [data-tool] [data-settings]{max-height:none;overflow:visible}
 .pdf-tool-editing [data-tool] .process-button{position:fixed;z-index:20;left:0;right:0;bottom:0;width:100%;border:10px solid white;border-bottom-width:calc(10px + env(safe-area-inset-bottom,0px));border-radius:0;min-height:84px;margin:0;box-shadow:0 -3px 16px #26364d1a;background-clip:padding-box;font-size:19px}
 .pdf-tool-page .settings input,.pdf-tool-page .settings select,.pdf-tool-page .pn-options{scroll-margin-top:calc(var(--tools-header-height) + 12px);scroll-margin-bottom:104px}
}
.managed-ad{--banner-height:90px;width:min(728px,100%);max-width:100%;margin:24px auto;min-height:0;padding:0;overflow:visible}.managed-ad>span{display:block;margin:0 0 8px;font-size:10px;line-height:14px;letter-spacing:1.5px}.managed-ad .ad-space{width:100%;height:auto;min-height:var(--banner-height);margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}.managed-ad ins.adsbygoogle{display:block;width:100%;height:var(--banner-height);min-height:var(--banner-height);max-width:100%}.managed-ad[data-ad-status=awaiting-consent],.managed-ad[data-ad-status=unfilled],.managed-ad[data-ad-status=unavailable]{display:none!important}.document-tools:has([data-stage=edit]) .managed-ad,.document-tools:has([data-stage=processing]) .managed-ad{display:none!important}
@media(min-width:761px){.managed-ad.ad-no-desktop{display:none}}
@media(min-width:480px) and (max-width:799px){.managed-ad{--banner-height:60px;width:min(468px,100%)}}
@media(max-width:479px){.managed-ad{--banner-height:100px;width:min(320px,100%)}}
@media(max-width:760px){.managed-ad.ad-no-mobile{display:none}}
.hub-ad{grid-column:1/-1;justify-self:center;margin:24px auto;max-width:100%}
.tool-workspace~.managed-ad{margin:20px auto 28px;max-width:728px}
.tool-workspace~.managed-ad+.next-tools{margin-top:0}
.managed-video-preview{width:min(480px,100%);margin:48px auto 32px}
.video-ad-space{aspect-ratio:16/9;margin-top:8px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:24px;background:#eef0f6;border:1px dashed #dcdfe9;border-radius:8px;font-size:13px}
.video-ad-space small{font-size:11px;line-height:1.6}
.document-tools:has([data-stage=edit]) .managed-video-preview,.document-tools:has([data-stage=processing]) .managed-video-preview{display:none!important}
@media(min-width:761px){.managed-video-preview.ad-no-desktop{display:none}}
@media(max-width:760px){.managed-video-preview.ad-no-mobile{display:none}.managed-video-preview{width:min(320px,100%)}.tool-workspace~.managed-ad{margin:12px auto 26px}}


.hub-ad{margin:28px auto 12px}.hub-ad+.tools-hero{padding-top:24px}.free-tools-note{display:flex;flex-direction:column;gap:7px;padding:18px 20px;margin:22px auto;max-width:780px;background:#eaf4ee;border:1px solid #c8e1d1;border-radius:14px;color:#235d3b}.free-tools-note strong{font-size:20px}.free-tools-note span{font-size:14px;line-height:1.6}@media(max-width:760px){.hub-ad{margin:20px auto 8px}.free-tools-note{padding:16px}.free-tools-note strong{font-size:18px}}

/* Compact hub heading follows the approved ribbon / promise / headline order. */
.tools-hero{max-width:1100px;padding-bottom:26px}.tools-hero .tools-ribbon{display:table;position:relative;margin:0 auto 8px;padding:9px 36px;background:#20396d;color:#fff;font-size:16px;letter-spacing:0;line-height:1.25;clip-path:polygon(0 0,100% 0,93% 50%,100% 100%,0 100%,7% 50%)}.tools-hero>p.tools-tagline{max-width:1100px;font-size:17px;line-height:1.6;margin:0 auto 4px;color:#3d4148}.tools-hero .free-tools-note{padding:0;margin:0 auto 10px;gap:0;max-width:100%;border:0;border-radius:0;background:transparent;color:#20396d}.tools-hero .free-tools-note strong{font-size:20px;line-height:1.4}.tools-hero .free-tools-note span{font-size:13px;color:#303844}.tools-hero h1{max-width:760px;font-size:34px;letter-spacing:-.5px;color:#20396d;line-height:1.16;margin:10px auto 18px}.tools-hero h1 span{display:block}.tools-hero .local-badge{font-size:11px}
@media(max-width:760px){.tools-hero>p.tools-tagline{font-size:15px}.tools-hero .tools-ribbon{font-size:14px;padding:9px 30px}.tools-hero .free-tools-note strong{font-size:18px}.tools-hero .free-tools-note span{font-size:12px;line-height:1.6}.tools-hero h1{font-size:28px;line-height:1.2;margin-top:14px}.tools-hero{padding-bottom:24px}}
/* Compact results leave room for a full banner without shrinking the ad creative.
   Short screens and long filenames still use normal document scrolling. */
.tool-workspace[data-stage=result]{min-height:0;margin-bottom:0}
[data-stage=result] .result-stage{padding:22px 0 4px}
[data-stage=result] .result-heading{margin-bottom:16px}
[data-stage=result] .result-download{min-height:64px;padding:15px 30px}
[data-stage=result] .result-metrics{margin:18px auto 10px;gap:18px}
[data-stage=result] .savings-ring{width:80px;height:80px}
[data-stage=result] .result-retry{margin-top:12px;gap:8px}
[data-stage=result] .tool-assurance{padding:10px 8px 8px}
@media(max-width:760px){
 [data-stage=result] .result-stage{padding-top:16px}
 [data-stage=result] [data-result-note]{margin:10px auto}
 [data-stage=result] .result-heading{margin-bottom:14px}
 [data-stage=result] .download-actions{gap:8px}
 [data-stage=result] .result-download{min-height:58px;padding:13px 20px}
 [data-stage=result] .result-preview{padding:9px 14px}
 [data-stage=result] .result-metrics{margin:14px auto 8px;gap:12px}
 [data-stage=result] .savings-ring{width:72px;height:72px}
 [data-stage=result] .savings-ring strong{font-size:21px}
 [data-stage=result] .result-retry{margin-top:10px}
 [data-stage=result] .result-retry .secondary{padding:9px 12px}
 [data-stage=result] .tool-assurance{padding:8px 4px 4px}
}

.tool-icon.blue{color:#477fbd}

.tool-icon.teal{color:#16858c}

/* Document scanning has its own category identity. */
.tool-icon.raspberry{color:#c23b4b}
