:root{--ink:#1d1d1f;--muted:#6e6e73;--quiet:#68686d;--line:#e5e5e7;--paper:#fff;--wash:#f5f5f7;--blue:#0066cc;--black:#050505;--max:1220px;--header:64px;--radius:18px}
#main{min-height:max(calc(100vh - var(--header) - 190px),1100px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:#fff;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;background:none;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.45}[hidden]{display:none!important}:focus-visible{outline:3px solid #248be9;outline-offset:3px}.wrap{width:min(var(--max),calc(100% - 80px));margin:auto}.skip-link{position:fixed;z-index:100;left:15px;top:8px;background:#fff;padding:10px 14px;border:1px solid;border-radius:8px;transform:translateY(-160%)}.skip-link:focus{transform:none}.site-header{height:var(--header);position:sticky;top:0;z-index:60;background:rgba(5,5,5,.96);color:#fff;border-bottom:1px solid #252525;backdrop-filter:blur(16px)}.header-inner{height:100%;display:flex;align-items:center;gap:42px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:650;letter-spacing:-1px}.brand-mark{width:26px;height:26px;border:7px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;transform:rotate(-18deg)}.desktop-nav{display:flex;gap:32px;flex:1}.desktop-nav button{color:#c9c9ce;font-size:13px}.desktop-nav button:hover{color:#fff}.header-actions{margin-left:auto;display:flex;gap:14px;align-items:center}.saved-nav{color:#c9c9ce;font-size:12px}.saved-nav b{font-size:10px;background:#28282a;border-radius:4px;padding:2px 5px}.mobile-toggle{display:none;color:#fff}.mobile-menu{position:absolute;top:64px;left:0;right:0;background:#090909;padding:20px 24px;border-top:1px solid #262626}.mobile-menu>*{display:block;width:100%;text-align:left;color:#ddd;padding:13px 0}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:650;margin:0}.hero{text-align:center;padding:56px 0 25px}.hero h1{font-size:clamp(40px,5.2vw,68px);line-height:1.04;letter-spacing:-3.6px;margin:15px 0 17px;font-weight:650}.hero h1 span{color:var(--muted)}.hero>p{font-size:18px;color:var(--muted);margin:0 auto;max-width:650px}.upload-shell{max-width:850px;margin:34px auto 0}.upload-zone{border:1px solid #d8d8dc;border-radius:22px;background:linear-gradient(#fff,#fafafa);padding:38px 28px;box-shadow:0 12px 40px #00000008;transition:.18s}.upload-zone.dragging{border-color:var(--blue);background:#f3f8ff;transform:scale(1.005)}.upload-orb{width:54px;height:54px;border-radius:16px;background:#e9f3ff;color:var(--blue);display:grid;place-items:center;margin:0 auto 14px;font-size:25px}.upload-zone h2{font-size:22px;letter-spacing:-.5px;margin:0 0 3px}.upload-zone p{font-size:13px!important;color:var(--muted);margin:0 0 18px}.choose-files,.primary-button{background:var(--blue);color:#fff;border-radius:9px;padding:12px 20px;font-size:13px;font-weight:600}.choose-files:hover,.primary-button:hover{background:#005bb5}.hidden-input{position:absolute;width:1px;height:1px;opacity:0}.privacy-line{margin:17px 0 0!important;font-size:11px!important}.source-row{display:flex;justify-content:center;gap:8px;margin-top:14px}.source-row button{border:1px solid var(--line);border-radius:8px;padding:8px 11px;font-size:11px;background:#fff}.source-row button[disabled]{text-decoration:none}.source-note{font-size:10px;color:var(--quiet);margin-top:7px}.trust-strip{display:flex;justify-content:center;gap:24px;font-size:11px;color:var(--muted);margin-top:14px}.search-wrap{max-width:600px;margin:30px auto 0;position:relative}.search-field{height:52px;border:1px solid transparent;border-radius:12px;background:var(--wash);display:flex;align-items:center;padding:0 16px;gap:10px}.search-field:focus-within{background:#fff;border-color:#aaa}.search-field input{border:0;outline:0;background:transparent;width:100%;font-size:14px}.search-results{position:absolute;left:0;right:0;top:58px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 38px #0002;padding:8px;z-index:20;text-align:left}.search-results button{width:100%;padding:11px;border-radius:7px;text-align:left}.search-results button:hover{background:var(--wash)}.search-results b{display:block;font-size:13px}.search-results span{font-size:11px;color:var(--muted)}.category-rail{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;padding:23px 0 31px;border-bottom:1px solid var(--line)}.category-shortcut{padding:10px 6px;border-radius:10px;text-align:center}.category-shortcut:hover{background:var(--wash)}.category-icon{font-size:26px;display:block;margin-bottom:6px}.category-shortcut b{display:block;font-size:12px;font-weight:500}.category-shortcut small{font-size:10px;color:var(--quiet)}.featured-section{padding:45px 0 10px}.section-heading{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:17px}.section-heading h2{font-size:26px;letter-spacing:-.8px;margin:0}.section-heading a{font-size:12px;color:var(--blue)}.featured-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.featured{background:var(--wash);border-radius:17px;padding:23px;text-align:left;min-height:174px;position:relative}.featured:hover{background:#ededf0}.featured-art{font-size:38px;height:63px;display:flex;align-items:center}.featured h3{font-size:18px;letter-spacing:-.45px;margin:5px 0}.featured p{font-size:12px;color:var(--muted);margin:0}.ad-zone{margin:50px 0;padding:16px 20px;border:1px solid var(--line);background:#fafafa;min-height:100px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--quiet)}.ad-zone span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.14em;margin-bottom:6px}.ad-zone p{font-size:12px;margin:0}.directory{padding:22px 0 40px}.directory-top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.directory-top h2{font-size:36px;letter-spacing:-1.4px;margin:0 0 5px}.directory-top p{font-size:13px;color:var(--muted);margin:0}.directory-meta{font-size:12px;color:var(--muted)}.directory-layout{display:grid;grid-template-columns:180px 1fr;gap:48px}.directory-sidebar{position:sticky;top:88px;align-self:start}.side-filter{width:100%;text-align:left;padding:10px;border-radius:8px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between}.side-filter:hover,.side-filter.active{background:var(--wash);color:var(--ink)}.tool-group{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--line)}.tool-group h3{font-size:23px;letter-spacing:-.65px;margin:0}.tool-group>p{font-size:12px;color:var(--muted);margin:5px 0 15px}.tool-list{display:grid;grid-template-columns:repeat(3,1fr);gap:2px 20px}.tool-row{display:flex;align-items:center;border-radius:7px;padding:0 6px}.tool-row:hover{background:var(--wash)}.tool-row .tool-open{flex:1;text-align:left;padding:10px 4px;font-size:13px}.favorite{font-size:17px;color:#999;opacity:0}.tool-row:hover .favorite,.favorite.selected{opacity:1}.smart-section{margin:30px 0 55px;background:var(--black);color:#fff;border-radius:24px;padding:46px;display:grid;grid-template-columns:1fr 1fr;gap:50px}.smart-section h2{font-size:34px;line-height:1.1;letter-spacing:-1.3px;margin:9px 0}.smart-section p{color:#aaa;font-size:13px}.smart-actions{display:grid;gap:8px}.smart-actions button{background:#1b1b1d;border:1px solid #29292c;color:#fff;border-radius:10px;padding:13px 15px;text-align:left}.smart-actions button:hover{background:#242427}.selected-file{max-width:850px;margin:18px auto 0;border:1px solid var(--line);border-radius:16px;padding:18px;text-align:left}.selected-file-top{display:flex;gap:12px;align-items:center}.file-badge{width:42px;height:42px;border-radius:10px;background:#eaf3fc;color:var(--blue);display:grid;place-items:center;font-weight:700;font-size:11px}.selected-file b{display:block}.selected-file small{color:var(--muted)}.selected-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.selected-actions button{border:1px solid var(--line);border-radius:8px;padding:9px 12px;font-size:12px}.selected-actions button:hover{border-color:#aaa}.legal{max-width:800px;padding:65px 0 90px}.legal h1,.tool-page h1{font-size:48px;line-height:1.08;letter-spacing:-2px;margin:8px 0 15px}.legal h2,.tool-copy h2{margin-top:34px}.legal p,.legal li,.tool-copy p{color:#515154}.tool-page{padding:48px 0 80px}.breadcrumbs{font-size:11px;color:var(--muted);margin-bottom:22px}.tool-intro{max-width:760px}.tool-intro>p{font-size:17px;color:var(--muted)}.tool-workspace{margin-top:28px;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 10px 35px #00000008}.tool-copy{max-width:820px;margin-top:50px}.related-list{display:flex;flex-wrap:wrap;gap:8px}.related-list a{border:1px solid var(--line);border-radius:8px;padding:9px 12px;font-size:12px}.footer{background:var(--wash);padding:42px 0 24px;border-top:1px solid var(--line)}.footer-top{display:flex;justify-content:space-between;align-items:flex-start}.footer p{color:var(--muted);font-size:12px}.footer nav{display:flex;gap:18px;flex-wrap:wrap}.footer nav a{font-size:12px;color:var(--muted)}.footer-bottom{border-top:1px solid #ddd;margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;font-size:11px;color:var(--quiet)}dialog{width:min(760px,calc(100% - 30px));border:0;border-radius:20px;padding:0;box-shadow:0 30px 90px #0006}dialog::backdrop{background:#0006}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}.dialog-header h2{margin:3px 0 0;font-size:25px;letter-spacing:-.7px}.dialog-body{padding:24px}.icon-button{font-size:28px;width:40px;height:40px;border-radius:50%}.icon-button:hover{background:var(--wash)}.workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.workspace-grid label{font-size:11px;color:var(--muted);display:block;margin-bottom:5px}.workspace-grid textarea{width:100%;min-height:260px;resize:vertical;border:1px solid #d5d5d8;border-radius:11px;padding:13px;line-height:1.55}.workspace-grid textarea:focus{border-color:var(--blue);outline:2px solid #d8ebff}.workspace-controls{grid-column:1/-1;display:flex;gap:9px;align-items:end;flex-wrap:wrap}.workspace-controls label{margin:0}.workspace-controls input,.workspace-controls select{border:1px solid #d3d3d6;border-radius:8px;padding:9px;max-width:180px}.soft-button{border:1px solid #d4d4d7;border-radius:8px;padding:9px 14px;background:#fff}.result-bar{grid-column:1/-1;font-size:12px;color:var(--muted);min-height:20px}.error{color:#b3261e}.image-workspace input[type=file]{border:1px dashed #bbb;border-radius:12px;padding:25px;width:100%}.image-options{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}.image-options label{font-size:11px;color:var(--muted)}.image-options input,.image-options select{display:block;padding:8px;border:1px solid #ccc;border-radius:7px}.image-result img{display:block;max-width:100%;max-height:340px;margin:18px auto;border-radius:10px;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 50%/18px 18px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#111;color:#fff;padding:11px 16px;border-radius:9px;font-size:12px;opacity:0;pointer-events:none;transition:.18s;z-index:100}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.wrap{width:min(100% - 40px,var(--max))}.desktop-nav{display:none}.mobile-toggle{display:block}.category-rail{grid-template-columns:repeat(4,1fr)}.featured-grid{grid-template-columns:repeat(2,1fr)}.directory-layout{grid-template-columns:1fr}.directory-sidebar{display:none}.tool-list{grid-template-columns:repeat(2,1fr)}.smart-section{grid-template-columns:1fr}.legal h1,.tool-page h1{font-size:42px}}
@media(max-width:560px){.wrap{width:min(100% - 28px,var(--max))}.hero{padding-top:40px}.hero h1{letter-spacing:-2.2px}.upload-zone{padding:28px 16px}.source-row{display:none}.trust-strip{gap:8px;flex-wrap:wrap}.category-rail{grid-template-columns:repeat(4,1fr)}.category-shortcut:nth-child(n+5){display:none}.featured-grid{grid-template-columns:1fr}.directory-top{display:block}.directory-meta{margin-top:8px}.tool-list{grid-template-columns:1fr}.smart-section{padding:28px}.workspace-grid{grid-template-columns:1fr}.footer-top,.footer-bottom{display:block}.footer nav{margin-top:25px}.footer-bottom span{display:block;margin-top:5px}.legal h1,.tool-page h1{font-size:36px}.favorite{opacity:1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.text-output{display:block;width:100%;min-height:220px;margin:16px 0;padding:13px;border:1px solid #d5d5d8;border-radius:10px;white-space:pre;font:12px/1.25 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.output-download{margin:8px 8px 0 0}.image-workspace details{margin:14px 0;border:1px solid var(--line);border-radius:10px;padding:10px 12px}.image-workspace summary{cursor:pointer;font-size:12px;color:var(--muted)}.image-workspace progress{display:block;width:100%;height:8px;margin:12px 0}.image-workspace progress[hidden]{display:none}

/* Smart file workspace */
.file-context{--format:#4b78a8;max-width:850px;margin:22px auto 0;border:1px solid #d9d9dc;border-top:3px solid var(--format);border-radius:20px;padding:24px;background:#fff;text-align:left;box-shadow:0 18px 55px #0000000d;animation:context-in .24s ease-out}.file-context.accent-pdf{--format:#c43b34}.file-context.accent-image{--format:#6e63a8}.file-context.accent-video{--format:#8158a2}.file-context.accent-audio{--format:#b26a3f}.file-context.accent-code{--format:#397b65}.file-context.accent-text{--format:#4b78a8}.file-context-head{display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:center}.file-context .file-badge{width:52px;height:60px;border-radius:8px 8px 12px 8px;background:color-mix(in srgb,var(--format) 11%,white);color:var(--format);border:1px solid color-mix(in srgb,var(--format) 24%,white);position:relative}.file-context .file-badge:after{content:"";position:absolute;right:-1px;top:-1px;border-style:solid;border-width:0 13px 13px 0;border-color:transparent #fff transparent transparent}.file-identity h2{font-size:24px;letter-spacing:-.6px;margin:2px 0 0}.file-name{font-size:12px!important;color:var(--muted);margin:2px 0 0!important;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-controls{display:flex;gap:8px}.quiet-button{padding:9px 6px;color:var(--muted);font-size:12px}.quiet-button:hover{color:#b3261e}.file-facts{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.file-facts span{padding:6px 9px;border-radius:7px;background:#f5f5f7;color:#56565a;font-size:11px}.recommendation-copy{display:flex;align-items:baseline;gap:10px;margin:20px 0 10px}.recommendation-copy b{font-size:14px}.recommendation-copy span{font-size:11px;color:var(--muted)}.context-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.context-action{min-height:46px;border:1px solid #d8d8dc;border-radius:10px;background:#fff;padding:11px 14px;text-align:left;font-size:12px;font-weight:600;transition:transform .15s,box-shadow .15s,border-color .15s}.context-action:hover{border-color:#aaa;box-shadow:0 6px 18px #0000000c;transform:translateY(-1px)}.context-primary{grid-column:1/-1;background:var(--format);border-color:var(--format);color:#fff;font-size:14px;padding:14px 17px}.context-primary:hover{border-color:var(--format);box-shadow:0 9px 24px color-mix(in srgb,var(--format) 24%,transparent)}.more-actions,.advanced-file{margin-top:13px;border-top:1px solid var(--line);padding-top:12px}.more-actions summary,.advanced-file summary{cursor:pointer;width:max-content;color:var(--muted);font-size:12px}.more-actions>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.context-more{font-weight:500}.advanced-file dl{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 0}.advanced-file dl div{background:#fafafa;border-radius:8px;padding:9px}.advanced-file dt{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--quiet)}.advanced-file dd{font-size:11px;margin:2px 0 0;overflow-wrap:anywhere}.runtime-note{font-size:10px!important;color:var(--quiet);margin:16px 0 0!important}.detection-warning{background:#fff8e8;color:#72551c;border:1px solid #f0dfb8;border-radius:9px;padding:10px 12px;font-size:11px!important}.detecting-state,.detection-error{max-width:850px;margin:20px auto 0;border:1px solid var(--line);border-radius:16px;padding:24px;background:#fff;display:grid;justify-items:center;gap:4px}.detecting-state small,.detection-error p{color:var(--muted);margin:0}.spinner{width:22px;height:22px;border:2px solid #ddd;border-top-color:var(--blue);border-radius:50%;animation:spin .75s linear infinite;margin-bottom:7px}.success-card{border:1px solid #d9e7dd;background:#fbfefc;border-radius:16px;padding:20px;margin-top:15px}.success-heading{display:flex;gap:11px;align-items:center}.success-heading>span{width:34px;height:34px;border-radius:50%;background:#e4f4e9;color:#24733d;display:grid;place-items:center;font-weight:700}.success-heading h3{margin:1px 0 0;font-size:20px;letter-spacing:-.4px}.output-facts{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.output-facts span{min-width:92px;background:#fff;border:1px solid #e3ebe5;border-radius:8px;padding:8px 10px;font-size:12px}.output-facts b{display:block;color:var(--quiet);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.output-preview{display:block;max-width:100%;max-height:300px;margin:12px auto;border-radius:10px}.process-another{margin-left:8px}.result-bar.success{color:#24733d;font-weight:600}.image-workspace .primary-button:disabled{position:relative}.image-workspace .primary-button:disabled:after{content:"";display:inline-block;width:10px;height:10px;border:2px solid #ffffff77;border-top-color:#fff;border-radius:50%;margin-left:8px;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes context-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:560px){.file-context{padding:18px 15px}.file-context-head{grid-template-columns:auto 1fr}.file-controls{grid-column:1/-1;width:100%}.file-controls .soft-button{flex:1}.context-actions,.more-actions>div{grid-template-columns:1fr}.context-primary{grid-column:auto}.advanced-file dl{grid-template-columns:1fr}.recommendation-copy{display:block}.recommendation-copy span{display:block;margin-top:3px}.file-name{max-width:200px}.process-another{margin:8px 0 0;width:100%}.output-download{display:block;text-align:center;width:100%;margin-right:0}}
@media(prefers-reduced-motion:reduce){.file-context,.spinner,.image-workspace .primary-button:disabled:after{animation:none!important}}
.metadata-note{color:var(--muted);font-size:11px!important;margin:8px 0}
.success-next{border-top:1px solid #dfe9e2;margin-top:18px;padding-top:14px}.success-next>b{display:block;font-size:12px;margin-bottom:8px}.success-next>div{display:flex;gap:7px;flex-wrap:wrap}.success-next button{border:1px solid #d7dfd9;background:#fff;border-radius:8px;padding:8px 10px;font-size:11px}.success-next button:hover{border-color:#8ba596}
.hero h1{word-spacing:.08em}
@media(max-width:1024px){.hero h1{letter-spacing:-1.4px}}
@media(max-width:560px){.hero h1{letter-spacing:-1px}}

/* Shared UI polish: Tailwind utilities handle surface primitives; these rules
   cover component-specific layout and interaction states. */
.ui-icon{display:block;width:20px;height:20px;flex:none}
.upload-orb .ui-icon{width:27px;height:27px}
.privacy-line,.runtime-note{text-align:center}
.privacy-line .ui-icon,.runtime-note .ui-icon{display:inline-block;width:13px;height:13px;vertical-align:-2px;margin-right:5px}
.upload-zone{border-color:#d7d7db;box-shadow:0 16px 46px #0000000a}
.upload-zone:hover{border-color:#bfc4ce;box-shadow:0 20px 55px #00000010}
.upload-zone.dragging{border-style:dashed;box-shadow:0 0 0 4px #0066cc12,0 20px 55px #00000010}
.choose-files,.primary-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 4px 12px #0066cc21;transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease}
.choose-files:hover,.primary-button:hover{box-shadow:0 7px 18px #0066cc2e;transform:translateY(-1px)}
.choose-files:active,.primary-button:active{transform:translateY(0)}
.soft-button,.context-action,.related-list a{transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}
.soft-button:hover,.related-list a:hover{border-color:#aaaeb9;background:#fbfbfc}
.category-icon{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 7px;border-radius:12px;background:#f5f5f7;color:#555962}
.category-icon .ui-icon{width:22px;height:22px}
.category-shortcut:hover .category-icon,.category-shortcut:focus-visible .category-icon{background:#eaf3fc;color:var(--blue)}
.featured-art .ui-icon{width:36px;height:36px;color:#4e5663}
.featured{transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease}
.featured:hover,.featured:focus-visible{transform:translateY(-2px);box-shadow:0 12px 28px #0000000c}
.tool-row-icon{display:grid;place-items:center;width:28px;height:28px;color:#707781}
.tool-row-icon .ui-icon{width:17px;height:17px}
.tool-row{gap:3px}.tool-row:hover .tool-row-icon{color:var(--blue)}
.file-context{box-shadow:0 18px 46px #0000000e}
.file-context .file-badge{font-size:12px;letter-spacing:.03em}
.file-identity h2{font-size:clamp(20px,2.5vw,27px)}
.file-facts span{font-size:12px;padding:7px 10px}
.recommendation-copy b{font-size:15px}
.context-primary{font-size:15px;min-height:52px}
.context-secondary{min-height:47px}
.image-workspace input[type=file]{background:#fbfbfc;border-color:#c9cbd1;cursor:pointer;line-height:1.5}
.image-workspace input[type=file]::file-selector-button{border:1px solid #c9ddf3;background:#eaf3fd;color:#155b9d;border-radius:8px;padding:9px 13px;margin-right:12px;font-weight:600;cursor:pointer;transition:background-color .18s ease,border-color .18s ease}
.image-workspace input[type=file]::file-selector-button:hover{background:#dcecff;border-color:#a7c9eb}
.image-workspace input[type=file]:focus-visible{outline:3px solid #248be9;outline-offset:3px}
.result-bar:not(:empty){font-size:13px;line-height:1.45;padding:11px 13px;border-radius:10px;background:#f5f7fa;border:1px solid #e5e9ef;min-height:44px;margin:14px 0 0}
.result-bar.error{background:#fff8f7;border-color:#f0d5d1;color:#9e211b}
.result-bar.success{background:#f4faf5;border-color:#d9eadc;color:#226b3b}
.result-bar.preparing,.result-bar.processing{display:flex;align-items:center;gap:10px;color:#254d75;background:#f2f7fc;border-color:#d8e6f4;font-weight:600}
.result-bar.preparing:before{content:"";width:15px;height:15px;flex:none;border:2px solid #bfd8f1;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}
.result-bar.processing{justify-content:space-between}
.progress-number{font-size:22px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.5px;color:var(--blue)}
.image-workspace progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:10px;margin:11px 0 0;border:0;border-radius:999px;background:#e7edf4;overflow:hidden}
.image-workspace progress::-webkit-progress-bar{background:#e7edf4;border-radius:999px}
.image-workspace progress::-webkit-progress-value{background:var(--blue);border-radius:999px;transition:width .2s ease}
.image-workspace progress::-moz-progress-bar{background:var(--blue);border-radius:999px}
.success-card{background:#fff;border-color:#dce8df;box-shadow:0 18px 45px #133b1f0b;padding:clamp(22px,3vw,32px);margin-top:16px;scroll-margin-top:calc(var(--header) + 18px);animation:context-in .2s ease-out}
.success-heading{align-items:center;gap:14px}
.success-heading>span{width:44px;height:44px;background:#e8f5eb}
.success-heading .ui-icon{width:23px;height:23px}
.success-heading h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.9px;line-height:1.14;margin:1px 0 0}
.result-file-name{font-size:clamp(17px,2.1vw,22px);font-weight:620;letter-spacing:-.35px;margin:22px 0 4px;overflow-wrap:anywhere}
.output-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:18px 0 21px}
.output-facts span{display:flex;flex-direction:column;gap:4px;min-width:0;padding:13px 14px;background:#f9faf9}
.output-facts b{font-size:10px;color:#696d75}
.output-facts strong{font-size:clamp(18px,2vw,23px);font-weight:650;letter-spacing:-.55px;line-height:1.1}
.output-facts small{font-size:11px;color:var(--muted)}
.output-facts .savings strong{color:#267344}
.output-preview{max-height:340px;margin:15px auto 21px}
.result-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.result-actions .output-download{font-size:14px;font-weight:650;padding:13px 19px;min-height:50px;margin:0;max-width:100%;text-align:center;overflow-wrap:anywhere}
.result-actions .output-download .ui-icon{width:18px;height:18px}
.result-actions .process-another{margin:0;min-height:50px;padding:12px 16px}
.success-next{margin-top:25px;padding-top:18px}
.success-next>b{font-size:13px}
.success-next button{font-size:12px;min-height:38px}
.how-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:16px 0 0;counter-reset:step}
.how-steps li{counter-increment:step;background:#f8f8fa;border:1px solid #ececef;border-radius:12px;padding:16px;display:grid;gap:5px}
.how-steps li:before{content:counter(step,decimal-leading-zero);color:var(--blue);font-size:11px;font-weight:700}
.how-steps b{font-size:14px}.how-steps span{font-size:12px;color:var(--muted)}
dialog[open]{animation:dialog-in .2s ease-out}
dialog[open]::backdrop{animation:backdrop-in .2s ease-out}
.mobile-menu:not([hidden]),.search-results:not([hidden]){animation:popover-in .18s ease-out}
details>summary{transition:color .18s ease}
details>summary:hover{color:var(--blue)}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes context-in{from{transform:translateY(7px)}to{transform:none}}
@keyframes dialog-in{from{transform:translateY(8px) scale(.985)}to{transform:none}}
@keyframes popover-in{from{transform:translateY(-5px)}to{transform:none}}
@media(max-width:560px){.category-icon{width:40px;height:40px}.result-actions{display:grid}.result-actions .output-download,.result-actions .process-another{width:100%}.output-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.how-steps{grid-template-columns:1fr}.success-card{padding:20px}.result-file-name{margin-top:17px}}
@media(max-width:360px){.output-facts strong{font-size:17px}.output-facts span{padding:11px 9px}.result-actions .output-download{font-size:13px}}
@media(prefers-reduced-motion:reduce){.success-card,dialog[open],dialog[open]::backdrop,.mobile-menu:not([hidden]),.search-results:not([hidden]),.result-bar.preparing:before{animation:none!important}.choose-files,.primary-button,.featured{transform:none!important}}

/* OneTool premium UI system: restrained blue, readable type and shared states. */
:root{--blue:#0071e3;--max:1280px;--header:68px}
body{font-size:16px;line-height:1.55}
.eyebrow{font-size:12px;letter-spacing:.11em}
.site-header{background:#08090b}
.header-inner{gap:38px}
.desktop-nav{gap:2px;align-items:stretch;height:100%}
.desktop-nav button{display:flex;align-items:center;gap:7px;padding:0 10px;color:#e0e0e4;font-size:14px;font-weight:550;white-space:nowrap;border-bottom:2px solid transparent}
.desktop-nav button:hover,.desktop-nav button[aria-expanded=true]{color:#fff;border-color:#0071e3}
.desktop-nav button span{font-size:15px;color:#a4a6ae}
.saved-nav{font-size:13px}.saved-nav b{font-size:11px}
.mega-menu{position:absolute;top:var(--header);left:0;right:0;background:#fff;color:var(--ink);border-bottom:1px solid #dcdfe5;box-shadow:0 24px 45px #10182825;animation:mega-in .19s ease-out}
.mega-content{display:grid;grid-template-columns:minmax(210px,1fr) minmax(450px,2fr);gap:34px;padding:27px 0 34px}
.mega-popular{grid-row:span 2;border-right:1px solid var(--line);padding-right:28px}.mega-popular .eyebrow,.mega-right .eyebrow,.mega-other .eyebrow{margin-bottom:13px}
.mega-popular button{display:flex;align-items:center;gap:12px;width:100%;padding:9px 7px;text-align:left;border-radius:9px;font-size:15px;font-weight:600}
.mega-popular button:hover,.mega-other button:hover{background:#f3f7fc;color:var(--blue)}
.mega-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mega-featured button{text-align:left;display:flex;flex-direction:column;gap:5px;padding:9px;background:#f5f7fa;border:1px solid #e7e9ee;border-radius:13px}
.mega-featured button:hover{border-color:#9fc8f3;background:#f0f7ff}.mega-featured strong{font-size:14px}.mega-featured button>span:last-child{font-size:12px;color:var(--blue)}
.mini-preview{height:76px;width:100%;display:grid;place-items:center;border-radius:8px;background:#fff;border:1px solid #e8edf3}
.mega-other{margin-top:22px}.mega-other>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 10px}.mega-other button{text-align:left;font-size:13px;border-radius:7px;padding:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hero{padding-top:44px}.hero h1{font-size:clamp(44px,5.1vw,66px);line-height:1.08;letter-spacing:-2.8px;margin:12px 0 12px}.hero h1 span{color:#565b66}.hero>p{font-size:18px}
.upload-shell{margin-top:27px}.upload-zone{padding:34px 24px;border-radius:24px;background:#fff;border:1.5px dashed #becad8;box-shadow:0 16px 45px #152f4c0e}.upload-zone:hover{border-color:var(--blue)}.upload-zone h2{font-size:27px;letter-spacing:-.75px}.upload-zone p{font-size:16px!important}.upload-orb{width:62px;height:62px;border-radius:18px;background:#eaf4ff;margin-bottom:13px}.upload-orb .ui-icon{width:30px;height:30px}
.choose-files,.primary-button{min-height:52px;padding:12px 25px;border-radius:11px;font-size:16px;background:var(--blue)}.choose-files:hover,.primary-button:hover{background:#0064cc}.supported-formats{font-size:13px!important;margin:14px 0 0!important;color:#626b76!important}.privacy-line{font-size:13px!important;margin-top:10px!important}.trust-strip{font-size:13px;gap:25px;margin-top:18px}.search-wrap{max-width:660px;margin-top:30px}.search-field{height:56px}.search-field .ui-icon{color:#66717e}.search-field input{font-size:16px}
.category-rail{gap:5px;padding:20px 0 30px}.category-shortcut{min-height:94px;padding:11px 4px}.category-shortcut b{font-size:14px;font-weight:600}.category-shortcut small{font-size:12px}.category-icon{margin-bottom:5px}
.popular-section{padding:55px 0 22px}.section-lead h2,.section-heading h2{font-size:clamp(29px,3vw,38px);letter-spacing:-1.2px;line-height:1.18;margin:6px 0}.section-lead>p:last-child{font-size:17px;color:var(--muted);margin:6px 0 21px}
.popular-tabs{display:flex;gap:5px;overflow:auto;scrollbar-width:thin;padding:6px;background:#f3f5f8;border:1px solid #e9edf1;border-radius:16px;max-width:100%}.popular-tabs button{display:flex;align-items:center;gap:8px;flex:none;min-height:48px;padding:0 15px;border-radius:11px;font-size:14px;font-weight:650;white-space:nowrap;color:#454c57;transition:background .18s,color .18s,box-shadow .18s}.popular-tabs button .ui-icon{width:18px;height:18px}.popular-tabs button:hover{background:#fff}.popular-tabs button[aria-selected=true]{background:var(--blue);color:#fff;box-shadow:0 4px 11px #0071e32a}
.popular-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:23px}.popular-card{display:flex;align-items:flex-start;gap:14px;min-height:156px;padding:20px 16px;background:#fff;border:1px solid #e2e6ec;border-radius:16px;box-shadow:0 6px 22px #192b3e07;transition:transform .18s,box-shadow .18s,border-color .18s}.popular-card:hover{border-color:#a5c9ef;box-shadow:0 15px 30px #173d6716;transform:translateY(-2px)}.popular-card-copy{display:flex;flex:1;flex-direction:column;min-width:0}.popular-card-copy small,.featured-card-bottom small{font-size:12px;color:#657080}.popular-card-copy strong{font-size:17px;letter-spacing:-.35px;line-height:1.25;margin:4px 0 7px}.popular-card-copy>span{font-size:13px;line-height:1.4;color:#626c79;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-arrow{width:15px;height:15px;color:var(--blue);transform:rotate(-90deg)}.popular-reveal{animation:popular-in .18s ease-out}
.tool-format{display:grid;place-items:center;flex:none;width:48px;height:56px;background:#eaf3fc;color:#0071e3;border:1px solid #d1e4fa;border-radius:8px 8px 11px 8px;font-size:12px;font-weight:800;letter-spacing:.02em;position:relative}.tool-format:after{content:"";position:absolute;right:-1px;top:-1px;border-style:solid;border-width:0 12px 12px 0;border-color:transparent #fff transparent transparent}.format-pdf{background:#fff0ee;color:#bc3935;border-color:#f4d5d0}.format-jpg,.format-png,.format-webp{background:#f2edff;color:#6844a8;border-color:#e0d3fb}.format-mp4,.format-mp3{background:#eaf4ff;color:#1765a9;border-color:#cfe4fb}.format-json,.format-csv{background:#ecf7f0;color:#26764a;border-color:#cde9d6}
.featured-section{padding:54px 0 12px}.section-heading{align-items:end;margin-bottom:20px}
.featured-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.featured-card{display:flex;flex-direction:column;min-width:0;border-radius:16px;overflow:hidden;border:1px solid #e1e6ec;background:#fff;transition:border-color .18s,box-shadow .18s}.featured-card:hover{border-color:#adcbe9;box-shadow:0 8px 22px #182f4812}.featured-card-bottom{display:flex;justify-content:space-between;gap:9px;padding:17px 18px 19px}.featured-card-bottom>span{display:grid;gap:4px}.featured-card-bottom strong{font-size:17px;line-height:1.24}.featured-card-bottom>span>span{font-size:13px;color:#646e79;line-height:1.4}.featured-card-bottom>b{color:var(--blue);font-size:21px}
.tool-page{padding-top:43px}.breadcrumbs{font-size:13px;margin-bottom:19px}.tool-page h1{font-size:clamp(40px,4vw,52px);letter-spacing:-1.8px}.tool-intro>p{font-size:18px}.tool-workspace{max-width:1050px;padding:clamp(22px,3vw,36px);border-radius:24px;box-shadow:0 17px 45px #1836550b}.image-workspace>label{font-size:17px;font-weight:600}.image-workspace input[type=file]{min-height:118px;margin:10px 0 15px;padding:31px;background:#f8fbff;border-color:#a8c7e7;border-width:1.5px}.image-workspace details summary{font-size:15px;padding:6px 0}.image-options label,.workspace-grid label{font-size:14px}.result-bar:not(:empty){font-size:15px}.progress-number{font-size:29px}.success-card{border-color:#bad4ed;box-shadow:0 18px 52px #0d407713}.success-heading>span{background:#e7f2ff;color:var(--blue)}.result-file-name{font-size:clamp(20px,2.2vw,25px)}.output-facts strong{font-size:clamp(23px,2.7vw,30px)}.output-facts b{font-size:12px}.result-actions .output-download{min-height:56px;font-size:16px}.file-context .file-badge{font-size:15px}.file-name{font-size:17px!important}.file-facts span{font-size:14px}.recommendation-copy b{font-size:17px}.recommendation-copy span{font-size:14px}.context-action{font-size:15px;min-height:50px}.context-primary{background:var(--blue);border-color:var(--blue);font-size:16px;min-height:55px}.context-primary:hover{border-color:#0064cc;box-shadow:0 9px 24px #0071e340}.more-actions summary,.advanced-file summary{font-size:14px}.runtime-note{font-size:13px!important}
@keyframes mega-in{from{opacity:0;transform:translateY(-6px) scale(.99)}to{opacity:1;transform:none}}@keyframes popular-in{from{opacity:.86;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:1180px){.desktop-nav{gap:0}.desktop-nav button{font-size:12px;padding:0 6px}.popular-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.featured-track{grid-auto-columns:calc((100% - 24px)/3)}}
@media(max-width:1000px){.desktop-nav{display:none}.mobile-toggle{display:block;font-size:15px;font-weight:650}.mobile-menu{max-height:calc(100vh - var(--header));overflow:auto;padding:10px 24px 20px}.mobile-menu>details{border-bottom:1px solid #282d35}.mobile-menu summary{list-style:none;display:flex;align-items:center;gap:11px;padding:13px 0;color:#f5f6f8;font-size:16px;cursor:pointer}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu summary>span{margin-left:auto}.mobile-menu details>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px;padding:0 0 10px 31px}.mobile-menu details button{text-align:left;color:#d1d4da;font-size:14px;padding:8px 0}.mobile-menu>a{font-size:14px}.mega-menu{display:none!important}.category-rail{grid-template-columns:repeat(4,minmax(0,1fr))}.popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-track{grid-auto-columns:calc((100% - 12px)/2)}}
@media(max-width:560px){.hero{padding-top:30px}.hero h1{font-size:clamp(36px,9vw,45px);line-height:1.07;letter-spacing:-1.5px}.hero>p{font-size:16px}.upload-shell{margin-top:22px}.upload-zone{padding:26px 15px}.upload-zone h2{font-size:23px}.upload-zone p{font-size:14px!important}.choose-files{width:100%;max-width:260px}.privacy-line{font-size:12px!important}.trust-strip{gap:8px 15px;font-size:12px}.category-rail{display:flex;overflow-x:auto;scrollbar-width:thin;gap:5px;padding:15px 0 22px}.category-shortcut,.category-shortcut:nth-child(n+5){display:block;min-width:91px;flex:none}.category-shortcut b{font-size:12px}.popular-section{padding-top:37px}.popular-tabs{margin-right:-14px;border-radius:12px}.popular-tabs button{min-height:44px;padding:0 12px;font-size:13px}.popular-grid{grid-template-columns:1fr;gap:10px;margin-top:17px}.popular-card{min-height:116px;padding:15px}.featured-section{padding-top:39px}.featured-track{grid-auto-columns:84%}.featured-preview{height:154px}.carousel-controls button{width:38px;height:38px}.tool-page{padding-top:27px}.tool-page h1{font-size:clamp(36px,9vw,42px)}.tool-intro>p{font-size:16px}.tool-workspace{padding:20px 15px}.image-workspace input[type=file]{padding:20px 12px}.file-name{font-size:15px!important}.recommendation-copy span{font-size:13px}.output-facts strong{font-size:23px}}
@media(max-width:360px){.mobile-menu details>div{grid-template-columns:1fr}.hero h1{font-size:36px}.popular-card-copy strong{font-size:16px}.tool-format{width:42px;height:50px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.mega-menu,.popular-reveal{animation:none!important}.featured-card,.popular-card,.popular-tabs button{transition:none!important}.featured-card:hover,.popular-card:hover{transform:none!important}}
@media(min-width:1001px) and (max-width:1180px){.desktop-nav{display:none}.mobile-toggle{display:block;font-size:15px;font-weight:650}.mega-menu{display:none!important}}
@media(min-width:1001px) and (max-width:1180px){.mobile-menu{max-height:calc(100vh - var(--header));overflow:auto;padding:10px 30px 20px}.mobile-menu>details{border-bottom:1px solid #282d35}.mobile-menu summary{list-style:none;display:flex;align-items:center;gap:11px;padding:13px 0;color:#f5f6f8;font-size:16px;cursor:pointer}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu summary>span{margin-left:auto}.mobile-menu details>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 15px;padding:0 0 10px 31px}.mobile-menu details button{text-align:left;color:#d1d4da;font-size:14px;padding:8px 0}.mobile-menu>a{font-size:14px}}
.image-workspace.has-result>label,.image-workspace.has-result>details,.image-workspace.has-result>.image-options,.image-workspace.has-result>[data-process],.image-workspace.has-result>[data-process-media],.image-workspace.has-result>[data-process-pdf],.image-workspace.has-result>[data-process-avif],.image-workspace.has-result>[data-process-svg]{display:none!important}
.image-workspace.has-result>.result-bar.success{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0;border:0;margin:0}
.image-workspace.has-result .success-card{margin-top:0}
.card-arrow{transform:none}
.tool-format.format-img,.tool-format.format-txt,.tool-format.format-tool{color:#0757a3}

/* The same roomy workspace handles detection, options, processing and result. */
#toolDialog{width:min(1100px,calc(100vw - 64px));max-width:none;max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;border-radius:22px;box-shadow:0 32px 90px #06162755}
#toolDialog .dialog-header{position:sticky;top:0;z-index:2;min-height:80px;background:#fff;padding:18px 28px;gap:20px}
#toolDialog .dialog-header h2{font-size:clamp(26px,2.6vw,34px);letter-spacing:-1px;line-height:1.12}
.dialog-header-actions{display:flex;align-items:center;gap:11px;flex:none}.dialog-header-actions .soft-button{font-size:14px;min-height:42px}
#toolDialog .dialog-body{padding:28px 34px 34px;overflow:visible}
#toolDialog[data-flow="detected"] .file-context{max-width:none;margin:0;padding:0;border:0;box-shadow:none;animation:context-in .21s ease-out}
.flow-file-grid{display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:start;gap:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.flow-preview{height:160px;background:#f5f8fc;border:1px solid #e2e9f1;border-radius:15px;overflow:hidden;display:grid;place-items:center}
.flow-preview img,.flow-preview video{display:block;width:100%;height:100%;object-fit:contain;background:#f3f6fa}
.flow-preview .file-badge{height:94px;width:80px;font-size:19px;border-radius:11px;color:#0757a3}
.flow-file-information h3{font-size:clamp(21px,2.3vw,28px);line-height:1.22;letter-spacing:-.65px;overflow-wrap:anywhere;margin:7px 0 4px}
.flow-file-type{font-size:17px;color:#4e5865;margin:0}.flow-file-information .file-facts{margin:19px 0 0;gap:8px}.flow-file-information .file-facts span{font-size:14px;padding:7px 11px}
.flow-file-grid .file-controls{align-self:start}.flow-file-grid .file-controls button{min-height:42px;font-size:14px}.flow-file-grid .quiet-button{color:#ad2f29}
.flow-action-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:25px 0 15px}.flow-action-header h3{font-size:24px;line-height:1.2;letter-spacing:-.65px;margin:5px 0 0}.flow-action-header>p{font-size:14px;color:var(--muted);margin:0;max-width:360px;text-align:right}
.flow-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.flow-action{display:flex;align-items:center;gap:12px;min-width:0;min-height:78px;padding:11px 13px;text-align:left;background:#fff;border:1px solid #dbe1e8;border-radius:12px;transition:transform .18s,border-color .18s,box-shadow .18s}.flow-action:hover{border-color:#8dbbea;box-shadow:0 7px 22px #19395b12;transform:translateY(-1px)}.flow-action .tool-format{width:40px;height:46px;font-size:11px}.flow-action>span:nth-child(2){min-width:0;flex:1}.flow-action strong{display:block;font-size:15px;line-height:1.2}.flow-action small{display:block;margin-top:4px;color:#596572;font-size:12px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.flow-action>.ui-icon{width:17px;color:var(--blue)}.flow-action em{align-self:flex-start;color:#0760b7;background:#e4f1ff;font-size:10px;font-weight:750;letter-spacing:.04em;font-style:normal;text-transform:uppercase;border-radius:5px;padding:4px 5px}.flow-action-primary{grid-column:span 3;background:#f2f8ff;border:1.5px solid #6aacec;min-height:72px}.flow-action-primary strong{font-size:17px}.flow-action-primary small{font-size:13px;display:block}.flow-action-primary .tool-format{background:#fff}
#toolDialog .advanced-file{margin-top:18px}.flow-detected .runtime-note{margin-top:15px!important;text-align:left}
.flow-file-mini{display:flex;align-items:center;gap:13px;padding:12px 15px;margin-bottom:20px;background:#f5f9fd;border:1px solid #dce9f6;border-radius:12px}.flow-file-mini .tool-format{width:40px;height:45px;font-size:10px}.flow-file-mini b{display:block;font-size:15px;overflow-wrap:anywhere}.flow-file-mini small{font-size:13px;color:#596572}.flow-prefilled{display:none!important}
#toolDialog .image-workspace{min-height:180px}.image-workspace.is-processing:not(:has(.result-bar.error)):not(.has-result)>label,.image-workspace.is-processing:not(:has(.result-bar.error)):not(.has-result)>details,.image-workspace.is-processing:not(:has(.result-bar.error)):not(.has-result)>.image-options,.image-workspace.is-processing:not(:has(.result-bar.error)):not(.has-result)>select,.image-workspace.is-processing:not(:has(.result-bar.error)):not(.has-result)>button{display:none!important}
#toolDialog .image-workspace.is-processing .result-bar.preparing,#toolDialog .image-workspace.is-processing .result-bar.processing{min-height:126px;display:flex;justify-content:center;flex-direction:column;align-items:center;gap:10px;font-size:20px;text-align:center;background:#f7fbff;border-color:#c7dff6;padding:22px}
#toolDialog .image-workspace.is-processing .progress-number{font-size:42px}
#toolDialog .image-workspace.is-processing progress{height:10px;max-width:680px;margin:15px auto 0}
#toolDialog .image-workspace.has-result .success-card{max-width:none}
#toolDialog .success-heading h2{font-size:clamp(30px,3vw,40px)}#toolDialog .result-file-name{font-size:clamp(19px,2vw,23px)}#toolDialog .output-facts strong{font-size:clamp(26px,2.8vw,34px)}#toolDialog .result-actions .output-download{min-height:56px;font-size:17px}
@media(max-width:800px){#toolDialog{width:min(100vw - 32px,760px)}#toolDialog .dialog-body{padding:23px}.flow-file-grid{grid-template-columns:145px minmax(0,1fr)}.flow-preview{height:125px}.flow-file-grid .file-controls{grid-column:2}.flow-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-action-primary{grid-column:span 2}.flow-action-header{display:block}.flow-action-header>p{text-align:left;max-width:none;margin-top:5px}}
@media(max-width:560px){#toolDialog{width:100vw;height:100dvh;max-height:none;max-width:none;margin:0;inset:0;border-radius:0}#toolDialog .dialog-header{min-height:67px;padding:13px 16px}#toolDialog .dialog-header h2{font-size:23px}#toolDialog .dialog-header .eyebrow{font-size:10px}#toolDialog .dialog-body{padding:18px 16px 30px}.dialog-header-actions .soft-button{font-size:0;min-width:37px;padding:0}.dialog-header-actions .soft-button::first-letter{font-size:18px}.flow-file-grid{grid-template-columns:88px minmax(0,1fr);gap:13px;padding-bottom:18px}.flow-preview{height:88px;border-radius:11px}.flow-preview .file-badge{height:62px;width:53px;font-size:12px}.flow-file-information h3{font-size:18px;line-height:1.2;margin:2px 0;max-height:45px;overflow:hidden}.flow-file-type{font-size:14px}.flow-file-information .eyebrow{font-size:10px}.flow-file-information .file-facts{margin:7px 0 0;gap:4px}.flow-file-information .file-facts span{font-size:11px;padding:3px 6px}.flow-file-grid .file-controls{grid-column:1/-1;display:flex;gap:10px}.flow-file-grid .file-controls .soft-button{flex:none}.flow-file-grid .file-controls .quiet-button{padding:8px}.flow-action-header{margin:19px 0 11px}.flow-action-header h3{font-size:21px}.flow-action-header>p{font-size:12px}.flow-action-grid{grid-template-columns:1fr;gap:8px}.flow-action-primary{grid-column:auto}.flow-action{min-height:64px;padding:9px 10px}.flow-action .tool-format{width:37px;height:41px}.flow-action strong{font-size:14px}.flow-action small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.flow-action em{font-size:9px}.flow-detected .runtime-note{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.flow-action,.file-context{animation:none!important;transition:none!important}.flow-action:hover{transform:none}}

/* Real OneTool previews and operation-led directory icons. */
.operation-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.featured-section .section-heading{margin-bottom:22px}.featured-section .section-heading h2{font-size:clamp(30px,3vw,36px)}
.featured-track{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:18px;overflow:visible;padding:0}
.featured-card{border-radius:18px;min-height:476px;transition:border-color .18s,box-shadow .18s}
.featured-preview{position:relative;height:255px;padding:17px 15px 0;display:block;background:#eef6ff;overflow:hidden}
.featured-preview-image-compressor{background:#effbf5}.featured-preview-jpg-to-png{background:#f5f0ff}.featured-preview-mp4-to-mp3{background:#fff1f7}.featured-preview-compress-pdf{background:#fff3f2}.featured-preview-merge-pdf{background:#fff4f0}.featured-preview-webp-to-jpg{background:#effbfb}.featured-preview-case-converter{background:#f6f4fc}
.featured-preview-unlock-pdf{background:#fff2f2}
.featured-preview img{display:block;width:100%;height:auto;aspect-ratio:580/430;object-fit:cover;border:1px solid #dfe7ed;border-radius:9px 9px 0 0;box-shadow:0 10px 26px #20374c12;background:#fff}.featured-preview img:not([src]){opacity:0}
.featured-icon{position:absolute;left:28px;bottom:17px;display:inline-flex;align-items:center;gap:7px;min-height:58px;padding:7px 9px;border:1px solid #e1e8ef;border-radius:14px;background:#ffffffed;box-shadow:0 8px 22px #1830481e;backdrop-filter:blur(4px)}.featured-format{display:grid;place-items:center;min-width:43px;height:43px;padding:0 5px;border:1px solid var(--format-border,#d7e4f4);border-radius:9px;background:var(--format-bg,#edf5ff);color:var(--format-fg,#2766a9);font-size:12px;font-weight:800;letter-spacing:-.035em}.featured-icon>.ui-icon{width:20px;height:20px;flex:none;color:#52718e}.featured-preview-compress-pdf .featured-icon>.ui-icon,.featured-preview-merge-pdf .featured-icon>.ui-icon,.featured-preview-unlock-pdf .featured-icon>.ui-icon{color:#b83c38}
.featured-card-bottom{flex:1;padding:22px 22px 24px}.featured-card-bottom>span{display:flex;flex-direction:column;gap:6px;width:100%}.featured-card-bottom small{font-size:14px}.featured-card-bottom strong{font-size:clamp(23px,1.8vw,26px);letter-spacing:-.6px;line-height:1.2}.featured-card-bottom>span>span:not(.featured-open){font-size:16px;line-height:1.38;color:#5e6875;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.featured-open{margin-top:auto;padding-top:10px}
.featured-open{display:inline-flex!important;align-items:center;gap:6px;color:var(--blue)!important;font-size:16px!important;font-weight:650}.featured-open .ui-icon{width:18px;height:18px;transition:transform .18s}.featured-card:hover .featured-open .ui-icon{transform:translateX(3px)}
.directory{padding-top:32px}.directory-top h2{font-size:clamp(34px,3.4vw,42px)}.directory-top p{font-size:15px}.directory-layout{grid-template-columns:220px minmax(0,1fr);gap:36px}.directory-sidebar{top:90px}
.side-filter{align-items:center;gap:8px;min-height:44px;padding:8px 11px;font-size:15px;transition:background-color .18s,color .18s}.side-filter>span{display:flex;align-items:center;gap:11px}.side-filter .ui-icon{width:23px;height:23px;flex:none}.side-filter.active{background:#eaf4ff;color:#075fae;font-weight:650}.side-filter b{font-size:12px;font-weight:600;color:#526171}
.tool-group{margin-bottom:37px;padding-bottom:28px}.tool-group h3{font-size:28px}.tool-group>p{font-size:15px;margin:4px 0 16px}.tool-list{gap:1px 10px}
.tool-row{min-width:0;min-height:62px;padding:5px 8px;gap:7px;transition:background-color .18s}.tool-row:hover{background:#f3f8fd}.tool-row .tool-open{min-width:0;padding:10px 2px;font-size:16px;line-height:1.28;font-weight:500}.tool-row-arrow{width:17px;height:17px;color:#98a3b1;flex:none;transition:color .18s,transform .18s}.tool-row-arrow .ui-icon{width:17px;height:17px}.tool-row:hover .tool-row-arrow{color:var(--blue);transform:translateX(2px)}
.tool-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:52px;height:46px;color:#2f669b}.tool-icon-action{width:44px;height:44px;border-radius:11px;background:#eef5fc}.tool-icon-action .ui-icon{width:25px;height:25px}.tool-row:hover .tool-icon-action{background:#e2f0ff;color:#006bca}.tool-icon-convert{width:70px;gap:3px}.tool-icon-convert .ui-icon{width:13px;height:13px;color:#697889}.mini-format{display:grid;place-items:center;min-width:25px;height:30px;padding:0 2px;border:1px solid #d7e4f4;border-radius:5px;background:#edf5ff;color:#2766a9;font-size:9px;font-weight:800;letter-spacing:-.04em}
.tool-format,.mini-format{--format-bg:#edf5ff;--format-fg:#2766a9;--format-border:#d7e4f4;background:var(--format-bg);color:var(--format-fg);border-color:var(--format-border)}
.format-pdf{--format-bg:#fff1ef;--format-fg:#b83c38;--format-border:#f4d5d0}.format-jpg,.format-jpeg{--format-bg:#f3edff;--format-fg:#6844a8;--format-border:#e0d3fb}.format-png{--format-bg:#eaf4ff;--format-fg:#1767a9;--format-border:#cfe4fb}.format-webp,.format-avif{--format-bg:#ebf8f4;--format-fg:#24765d;--format-border:#cceadf}.format-svg{--format-bg:#fff3e9;--format-fg:#a65b20;--format-border:#f2dbc5}.format-mp4,.format-mov,.format-webm,.format-mkv,.format-avi{--format-bg:#eaf4ff;--format-fg:#1765a9;--format-border:#cfe4fb}.format-mp3,.format-wav,.format-ogg,.format-flac,.format-aac,.format-m4a{--format-bg:#f6eeff;--format-fg:#7149a2;--format-border:#e6d7f5}.format-json,.format-yaml{--format-bg:#fff8dd;--format-fg:#775916;--format-border:#eee2b8}.format-csv,.format-xlsx{--format-bg:#ecf7f0;--format-fg:#26764a;--format-border:#cde9d6}.format-docx{--format-bg:#eaf3ff;--format-fg:#225ca6;--format-border:#cddff7}.format-pptx{--format-bg:#fff0e8;--format-fg:#a65326;--format-border:#f0d2c1}.format-gif,.format-apng{--format-bg:#f3eeff;--format-fg:#674aa5;--format-border:#e1d7fa}.format-zip,.format-rar,.format-7z{--format-bg:#f0f2f5;--format-fg:#52606d;--format-border:#d9dfe5}
.featured-format.format-img{--format-bg:#e8f7ef;--format-fg:#237354;--format-border:#cdebdc}.featured-format.format-txt{--format-bg:#f2edfc;--format-fg:#684e9b;--format-border:#e2d7f4}
.directory-mobile-filter{display:none}
.tool-icon-single{width:44px}.tool-icon-single .mini-format{min-width:36px;height:36px}.format-jfif{--format-bg:#f3edff;--format-fg:#6844a8;--format-border:#e0d3fb}
@media(max-width:1180px){.featured-track{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-layout{grid-template-columns:200px minmax(0,1fr);gap:25px}.tool-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.directory-layout{grid-template-columns:1fr}.directory-sidebar{display:none}.directory-mobile-filter{display:grid;gap:8px;max-width:360px;margin-bottom:19px;font-size:15px;font-weight:650}.directory-mobile-filter select{height:46px;border:1px solid #cbd6e2;border-radius:10px;background:#fff;padding:0 13px;font-size:16px}}
@media(max-width:560px){.featured-track{grid-template-columns:minmax(0,1fr);gap:16px}.featured-card{min-height:0}.featured-preview{height:255px}.featured-card-bottom{height:232px;flex:none}.featured-card-bottom strong{font-size:24px}.directory-top h2{font-size:34px}.tool-list{grid-template-columns:1fr}.tool-row .tool-open{font-size:16px}.directory-mobile-filter{max-width:none}}
@media(prefers-reduced-motion:reduce){.featured-card,.tool-row,.tool-row-arrow,.side-filter{transition:none!important}.tool-row:hover .tool-row-arrow{transform:none}}

/* Compact file workspace: one file panel beside all available actions. */
#toolDialog[data-flow="detected"]{width:min(1180px,calc(100vw - 40px))}
#toolDialog[data-flow="detected"] .dialog-body{padding:22px 26px 26px}
.flow-layout{display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);gap:26px;align-items:start}
.flow-file-panel{min-width:0;padding:17px;background:#f8fbfe;border:1px solid #e1eaf3;border-radius:17px}
.flow-file-panel .flow-file-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:0;border:0}
.flow-file-panel .flow-preview{width:100%;height:172px;background:#fff}
.flow-file-panel .flow-preview img,.flow-file-panel .flow-preview video{object-fit:contain;background:#fff}
.flow-file-panel .flow-file-information h3{margin:2px 0 3px;font-size:21px;line-height:1.18}
.flow-file-panel .flow-file-type{font-size:14px}
.flow-file-panel .flow-file-information .file-facts{gap:5px;margin:10px 0 0}
.flow-file-panel .flow-file-information .file-facts span{font-size:12px;padding:5px 8px}
.flow-file-panel .file-controls{grid-column:1;display:flex;gap:8px;align-items:center;margin-top:4px}
.flow-file-panel .file-controls button{min-height:38px;font-size:13px}
.flow-file-panel .advanced-file{margin-top:13px!important;padding-top:10px}
.flow-file-panel .advanced-file dl{grid-template-columns:1fr 1fr}
.flow-file-panel .runtime-note{margin-top:12px!important;font-size:11px!important;line-height:1.35}
.flow-file-panel .detection-warning,.flow-file-panel .metadata-note{margin:10px 0 0;font-size:12px}
.flow-actions-panel{min-width:0}
.flow-actions-panel .flow-action-header{margin:2px 0 14px;align-items:start}
.flow-actions-panel .flow-action-header h3{font-size:25px}
.flow-actions-panel .flow-action-header>p{font-size:12px;line-height:1.3;max-width:260px}
.flow-actions-panel .flow-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.flow-actions-panel .flow-action{min-height:66px;padding:9px 11px;gap:9px}
.flow-actions-panel .flow-action-primary{grid-column:1/-1;min-height:66px}
.flow-actions-panel .flow-action .tool-format{width:37px;height:42px}
.flow-actions-panel .flow-action strong{font-size:14px}
.flow-actions-panel .flow-action small{font-size:11px;line-height:1.25}

/* The dialog heading already announces completion; keep the result compact. */
#toolDialog[data-flow="result"] .flow-file-mini,#toolDialog[data-flow="result"] .success-heading{display:none}
#toolDialog[data-flow="result"] .dialog-body{padding:20px 28px 25px}
#toolDialog[data-flow="result"] .success-card{margin:0;padding:22px 25px}
#toolDialog[data-flow="result"] .result-file-name{margin:0 0 12px}
#toolDialog[data-flow="result"] .output-facts{margin:0 0 17px;gap:8px}
#toolDialog[data-flow="result"] .output-facts span{padding:10px 12px}
#toolDialog[data-flow="result"] .output-facts strong{font-size:25px}
#toolDialog[data-flow="result"] .output-preview{width:auto;max-width:min(100%,240px);max-height:145px;object-fit:contain;margin:16px 0 0;border:1px solid #e6eaf0}

/* Shared, runtime-only file picker on every file-backed tool workspace. */
.universal-uploader{margin:0 0 22px}.universal-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;min-height:265px;padding:30px 18px;border:1.5px dashed #a9c8e8;border-radius:18px;background:#f8fbff;text-align:center;cursor:pointer;transition:background .18s,border-color .18s}.universal-dropzone:hover,.universal-dropzone.is-dragging{background:#eaf5ff;border-color:#0071e3}.universal-dropzone:focus-visible,.upload-choose:focus-visible,.upload-remove:focus-visible{outline:3px solid #0071e3;outline-offset:3px}.universal-dropzone strong{font-size:19px;letter-spacing:-.35px}.universal-dropzone small{font-size:13px;color:#687381}.upload-choose{min-height:43px;padding:9px 18px;border-color:#b9d7f4;color:#005fb8;font-weight:700}.universal-uploader.has-files .universal-dropzone{min-height:130px;padding:15px;gap:5px}.universal-uploader.has-files .upload-file-art{transform:scale(.6);height:47px;margin:-13px 0 -4px}.universal-uploader.has-files .universal-dropzone strong{font-size:16px}.universal-uploader.has-files .universal-dropzone small{font-size:12px}.universal-uploader.has-files .upload-choose{min-height:35px;padding:5px 13px}.upload-file-art{display:block;position:relative;width:96px;height:78px;margin:2px 0 8px}.upload-file-art>span{position:absolute;top:11px;left:24px;width:54px;height:62px;border-radius:9px;box-shadow:0 9px 18px #26478229}.upload-file-art>span:first-child{background:#aa71e9;transform:rotate(-21deg) translate(-11px,2px)}.upload-file-art>span:nth-child(2){background:#ff9a5c;transform:rotate(20deg) translate(13px,1px)}.upload-file-art>span:last-child{display:grid;place-items:center;background:linear-gradient(150deg,#52d5ea,#0071e3);border:1px solid #8be2ee}.upload-file-art svg{width:29px;height:29px;color:#fff}.universal-dropzone input[type=file]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important}.upload-file-list{display:grid;gap:10px;margin-top:14px}.upload-file-list:empty{display:none}.upload-file-row{display:grid;grid-template-columns:56px minmax(0,1fr) 44px;gap:14px;align-items:center;min-height:76px;padding:10px 12px;border:1px solid #dce4ec;border-radius:13px;background:#fff}.upload-file-icon{width:50px;height:56px;background:var(--format-bg,#eaf4ff);color:var(--format-fg,#1765a9);border-color:var(--format-border,#cfe4fb);font-size:11px}.upload-thumbnail{width:54px;height:54px;object-fit:cover;border-radius:8px;border:1px solid #e2e8ef}.upload-file-info{min-width:0}.upload-file-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.upload-file-info small{display:block;color:#667383;font-size:12px;margin-top:3px}.upload-remove{width:44px;height:44px;border-radius:9px;font-size:27px;line-height:1;color:#6a7480}.upload-remove:hover{background:#fff1f1;color:#b3261e}.upload-notice{margin:8px 0 0;color:#b3261e;font-size:13px}.upload-notice:empty{display:none}.image-workspace.is-processing:not(.has-result):not(:has(.result-bar.error))>.universal-uploader{display:none}.image-workspace.is-processing:not(.has-result):not(:has(.result-bar.error))>.result-bar:not(.error):not(.success){display:grid;place-items:center;min-height:130px;padding:24px;background:#f8fbff;border:1px solid #c7dff6;border-radius:14px;text-align:center;font-size:17px}.image-workspace.is-processing:not(.has-result):not(:has(progress:not([hidden])))>.result-bar:not(.error):not(.success):after{content:"";display:block;width:min(300px,80%);height:8px;border-radius:99px;background:linear-gradient(90deg,#dcecff 0%,#0071e3 50%,#dcecff 100%);background-size:200% 100%;animation:upload-progress 1.1s linear infinite}@keyframes upload-progress{to{background-position-x:-200%}}.image-workspace.has-result>.universal-uploader{display:none}.tool-page .output-preview{width:auto;max-width:min(100%,220px);max-height:130px;object-fit:contain;margin:14px 0 0;border:1px solid #e6eaf0}.tool-page .success-card{margin-top:0}.image-workspace .image-options select[name=quality]{min-width:180px;min-height:42px}
.image-workspace:has(.universal-uploader:not(.has-files)) [data-process],.image-workspace:has(.universal-uploader:not(.has-files)) [data-process-pdf],.image-workspace:has(.universal-uploader:not(.has-files)) [data-process-media],.image-workspace:has(.universal-uploader:not(.has-files)) [data-process-avif],.image-workspace:has(.universal-uploader:not(.has-files)) [data-process-svg],.image-workspace:has(.universal-uploader:not(.has-files)) [data-process-bulk],.image-workspace:has(.universal-uploader:not(.has-files)) [data-process-gif]{display:none}
.universal-uploader.has-files .upload-file-art{display:none}
.image-workspace:has(.universal-uploader:not(.has-files)):not(.has-result)>.image-options,.image-workspace:has(.universal-uploader:not(.has-files)):not(.has-result)>details{display:none}.image-workspace.has-result>[data-process-bulk],.image-workspace.has-result>[data-process-gif]{display:none!important}.image-workspace.is-processing:not(.has-result):not(:has(.result-bar.error))>.image-options,.image-workspace.is-processing:not(.has-result):not(:has(.result-bar.error))>[data-process-bulk],.image-workspace.is-processing:not(.has-result):not(:has(.result-bar.error))>[data-process-gif],.image-workspace.is-processing:not(.has-result):not(:has(.result-bar.error))>[data-process-pdf],.image-workspace.is-processing:not(.has-result):not(:has(.result-bar.error))>[data-process-media]{display:none!important}
.universal-dropzone:focus-within{outline:3px solid #0071e3;outline-offset:3px}
/* Image tools keep the empty and selected states in the same calm card. */
.image-upload{border:1px solid #e1e4e8;border-radius:18px;overflow:hidden;background:#fff}.upload-category-title{margin:0;padding:17px 22px;border-bottom:1px solid #e6e8eb;font-size:19px;line-height:1.3;letter-spacing:-.35px}.image-upload .universal-dropzone{min-height:225px;margin:25px;border-color:#d3d9df;background:#fcfcfd;gap:10px}.image-upload .universal-dropzone:hover,.image-upload .universal-dropzone.is-dragging{border-color:#0071e3;background:#f6fbff}.image-upload .universal-dropzone strong{font-size:17px;font-weight:500}.image-upload .upload-choose{display:inline-flex;align-items:center;gap:9px;min-height:47px;padding:9px 21px;background:#fff;border-color:#d4dbe2;color:#202328;font-size:16px;font-weight:650;box-shadow:0 3px 8px #14283d12}.image-upload .upload-choose svg{width:20px;height:20px}.image-upload.has-files .universal-dropzone{min-height:170px;margin-bottom:17px;padding:21px}.image-upload.has-files .upload-choose{min-height:43px}.image-upload .upload-file-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0;padding:0 25px 25px}.image-upload .upload-file-row{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;min-height:0;padding:8px;border-radius:13px;background:#f8f9fa}.image-upload .upload-thumbnail{width:100%;height:112px;object-fit:cover;border-radius:9px}.image-upload .upload-file-icon{width:100%;height:112px}.image-upload .upload-file-info strong{font-size:12px}.image-upload .upload-file-info small{font-size:10px}.image-upload .upload-remove{position:absolute;top:12px;right:12px;width:34px;height:34px;background:#1c273dc7;color:#fff;border-radius:8px;font-size:22px}.image-upload .upload-remove:hover{background:#b3261e;color:#fff}.image-upload .upload-notice{margin:0 25px 18px}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)){display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:20px;align-items:start}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .success-heading{grid-column:1/-1}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .output-preview{grid-column:1;grid-row:2/5;width:112px;height:112px;object-fit:contain;margin:17px 0 0}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .result-file-name{grid-column:2;grid-row:2}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .output-facts{grid-column:2;grid-row:3}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .result-actions{grid-column:2;grid-row:4}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .success-next{grid-column:1/-1}.batch-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:17px 0}.batch-output-item{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;border:1px solid #e1e6eb;border-radius:13px;background:#fafbfc}.batch-output-item .output-preview{width:100%;height:105px;max-height:105px;object-fit:contain;margin:0}.batch-output-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.batch-output-item small{color:#687381}.batch-output-item .output-download{display:flex;justify-content:center;min-height:40px;margin:2px 0 0;padding:7px 10px;font-size:12px}.batch-output-item .output-download svg{width:15px;height:15px}
@media(max-width:1100px){.image-upload .upload-file-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:800px){.image-upload .upload-file-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.upload-category-title{padding:13px 16px;font-size:17px}.image-upload .universal-dropzone{min-height:205px;margin:16px;padding:19px 10px}.image-upload.has-files .universal-dropzone{margin-bottom:14px}.image-upload .universal-dropzone strong{font-size:14px}.image-upload .universal-dropzone small{font-size:11px}.image-upload .upload-file-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 16px 16px}.image-upload .upload-thumbnail,.image-upload .upload-file-icon{height:100px}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)){grid-template-columns:76px minmax(0,1fr);column-gap:12px}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .output-preview{width:76px;height:76px}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .output-facts{grid-column:1/-1;grid-row:3}.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .result-actions{grid-column:1/-1;grid-row:4}}
@media(max-width:560px){.image-result .success-card:has(.output-preview):not(:has(.batch-result-grid)) .output-preview{grid-row:2}}

/* Bounded multi-file controls reuse the selected-file card and result tiles. */
.upload-add-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;clip-path:inset(50%)!important;pointer-events:none!important}.upload-add-more{display:block;min-height:44px;margin:0 0 12px;color:#005fb8;border-color:#b9d7f4;font-weight:700}.upload-add-more[hidden]{display:none!important}.image-upload .upload-add-more{margin:0 25px 22px}.upload-file-row{grid-template-columns:56px minmax(0,1fr) auto}.upload-file-controls{display:flex;align-items:center;gap:4px}.upload-move{width:35px;height:35px;border:1px solid #dce4ec;border-radius:8px;color:#225f9a;font-size:18px;line-height:1;background:#fff}.upload-move:disabled{color:#adb6c0;background:#f6f7f8}.upload-move:focus-visible,.upload-add-more:focus-visible{outline:3px solid #0071e3;outline-offset:2px}.upload-format-badge{position:absolute;top:13px;left:13px;border-radius:5px;background:#152331bd;color:#fff;padding:3px 5px;font-size:10px;font-weight:800;line-height:1.2}.image-upload .upload-file-controls{position:absolute;top:11px;right:11px;gap:3px}.image-upload .upload-move,.image-upload .upload-remove{position:static;width:29px;height:29px;border:0;background:#1c273dc7;color:#fff;border-radius:7px;font-size:18px}.image-upload .upload-move:disabled{background:#77808bb0;color:#d9dee5}.image-upload .upload-remove{font-size:20px}.batch-progress{padding:20px;border:1px solid #c7dff6;border-radius:14px;background:#f8fbff}.batch-progress>strong{display:block;font-size:17px;margin-bottom:12px}.batch-progress progress{display:block!important;width:100%;height:10px;margin:0 0 15px;accent-color:#0071e3}.batch-progress ol{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:280px;overflow:auto}.batch-progress li{display:flex;justify-content:space-between;gap:12px;padding:7px 9px;border:1px solid #e1e9f0;border-radius:7px;background:#fff;font-size:12px}.batch-progress li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-progress li b{white-space:nowrap;color:#1765a9}.image-workspace:has(.batch-progress)>.result-bar.processing{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.batch-failures{margin-top:16px;padding:13px;border:1px solid #f0d2ce;border-radius:10px;background:#fff9f8;color:#8c302a}.batch-failures strong{display:block;margin-bottom:7px}.batch-failures p{font-size:12px;margin:4px 0;overflow-wrap:anywhere}
@media(max-width:560px){.image-upload .upload-add-more{width:calc(100% - 32px);margin:0 16px 16px}.upload-file-row{grid-template-columns:50px minmax(0,1fr) auto}.upload-move{width:32px;height:38px}.batch-progress{padding:15px}.batch-progress li{font-size:11px}}
@media(max-width:560px){.universal-dropzone{min-height:220px;padding:22px 13px}.universal-dropzone strong{font-size:16px}.universal-dropzone small{font-size:12px}.upload-file-row{grid-template-columns:50px minmax(0,1fr) 44px;gap:9px}.upload-file-info strong{font-size:13px}.upload-file-info small{font-size:11px}.tool-page .image-workspace>.primary-button,.tool-page .image-workspace>.image-options>.primary-button{width:100%}}
.image-workspace.batch-actions-inline>.image-options{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 15px}.image-workspace.batch-actions-inline>.image-options .upload-add-more{margin:0 auto 0 0;min-height:44px}.image-workspace.batch-actions-inline>.image-options .primary-button{min-height:44px}@media(max-width:700px){.image-workspace.batch-actions-inline>.image-options .upload-add-more{margin-right:0}}@media(max-width:560px){.image-workspace.batch-actions-inline>.image-options .upload-add-more{width:100%;margin:0}.image-workspace.batch-actions-inline>.image-options label{flex:1;min-width:0}.image-workspace.batch-actions-inline>.image-options select{width:100%;min-width:0!important}}
@media(prefers-reduced-motion:reduce){.image-workspace .result-bar:after{animation:none!important}}
#toolDialog[data-flow="result"] .success-next{margin-top:14px;padding-top:12px}

/* A single dimensional icon family for the eight category shortcuts. */
.category-shortcut{--category-ink:#2769ac;--category-a:#e7f3ff;--category-b:#cbe5fb;--category-shadow:#2769ac20}
.category-shortcut[data-jump="images"]{--category-ink:#116fae;--category-a:#e5f8ff;--category-b:#bceaff;--category-shadow:#1590ca30}
.category-shortcut[data-jump="text"]{--category-ink:#7250b2;--category-a:#f4edff;--category-b:#ddccfb;--category-shadow:#7250b22a}
.category-shortcut[data-jump="code"]{--category-ink:#4a5dac;--category-a:#edf0ff;--category-b:#ccd5fb;--category-shadow:#5266b52a}
.category-shortcut[data-jump="utilities"]{--category-ink:#526378;--category-a:#f1f5f8;--category-b:#d6e1e9;--category-shadow:#52637828}
.category-shortcut[data-jump="video"]{--category-ink:#1d69b2;--category-a:#e9f4ff;--category-b:#bfddfa;--category-shadow:#2879c52a}
.category-shortcut[data-jump="pdf"]{--category-ink:#b34f39;--category-a:#fff2ea;--category-b:#f8d4c6;--category-shadow:#bb62412a}
.category-shortcut[data-jump="gif"]{--category-ink:#9b4f9f;--category-a:#fff0fb;--category-b:#efc9ea;--category-shadow:#9b4f9f2b}
.category-shortcut[data-jump="fonts"]{--category-ink:#976814;--category-a:#fff8e7;--category-b:#f2dda4;--category-shadow:#a2751e2d}
.category-shortcut .category-icon,.category-shortcut:hover .category-icon,.category-shortcut:focus-visible .category-icon{position:relative;isolation:isolate;width:50px;height:50px;border:1px solid color-mix(in srgb,var(--category-ink) 18%,white);border-radius:14px;background:linear-gradient(145deg,var(--category-a),var(--category-b));color:var(--category-ink);box-shadow:inset 0 1px 1px #ffffffeb,inset 0 -2px 3px #ffffff55,0 5px 10px var(--category-shadow)}
.category-shortcut .category-icon:before{content:"";position:absolute;z-index:-1;inset:3px 4px auto;height:19px;border-radius:9px 9px 50% 50%;background:#ffffff66;pointer-events:none}
.category-shortcut .category-icon .ui-icon{width:25px;height:25px;filter:drop-shadow(0 1px 1px #ffffffaa)}
@media(max-width:900px){.flow-layout{grid-template-columns:1fr;gap:18px}.flow-file-panel .flow-file-grid{grid-template-columns:145px minmax(0,1fr);align-items:start}.flow-file-panel .flow-preview{height:135px}.flow-file-panel .file-controls{grid-column:2}.flow-file-panel .advanced-file,.flow-file-panel .runtime-note{margin-top:10px!important}}
@media(max-width:560px){#toolDialog[data-flow="detected"]{width:100vw}#toolDialog[data-flow="detected"] .dialog-body{padding:15px 15px 25px}.flow-layout{gap:16px}.flow-file-panel{padding:12px}.flow-file-panel .flow-file-grid{grid-template-columns:96px minmax(0,1fr);gap:9px}.flow-file-panel .flow-preview{height:96px}.flow-file-panel .flow-file-information h3{font-size:17px}.flow-file-panel .file-controls{grid-column:1/-1;margin:0}.flow-actions-panel .flow-action-header{margin:0 0 10px}.flow-actions-panel .flow-action-grid{grid-template-columns:1fr}.flow-actions-panel .flow-action-primary{grid-column:auto}#toolDialog[data-flow="result"] .dialog-body{padding:16px}#toolDialog[data-flow="result"] .success-card{padding:18px}#toolDialog[data-flow="result"] .output-preview{max-width:180px;max-height:110px}.category-shortcut .category-icon{width:47px;height:47px}}

/* One focused direct-tool template; the two reserved ad slots remain unchanged. */
.tool-page .tool-workspace{margin:28px auto 0}
.tool-page .tool-intro{max-width:820px}
.related-tools{max-width:1050px;margin:32px auto 0}
.related-tools h2{font-size:clamp(25px,2.5vw,30px);letter-spacing:-.8px;margin:0 0 17px;text-align:center}
.related-tools .related-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.related-tool-card{display:flex;align-items:center;gap:10px;min-width:0;min-height:72px;padding:10px 12px;border:1px solid #dce4ec;border-radius:13px;background:#fff;transition:border-color .18s,box-shadow .18s,background-color .18s}
.related-tool-card:hover{border-color:#9bc8ef;background:#fbfdff;box-shadow:0 7px 18px #19395b0e}
.related-tool-card .tool-icon{width:46px;height:44px}
.related-tool-card .tool-icon-convert{width:66px}
.related-tool-card .tool-icon-action{width:44px}
.related-tool-card>span:nth-child(2){min-width:0;flex:1;font-size:15px;font-weight:600;line-height:1.25}
.related-tool-arrow{width:17px;height:17px;flex:none;color:#4984bb;transition:transform .18s}
.related-tool-card:hover .related-tool-arrow{transform:translateX(2px)}
@media(max-width:1180px){.related-tools .related-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.related-tools .related-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tool-page .tool-workspace{margin-top:23px}.related-tools{margin-top:27px}.related-tools .related-list{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.related-tool-card,.related-tool-arrow{transition:none!important}.related-tool-card:hover .related-tool-arrow{transform:none}}
.tool-page .breadcrumbs{text-align:left;margin-bottom:20px}.tool-page .tool-intro{max-width:900px;margin:0 auto;text-align:center}.tool-page .tool-intro h1{margin:0;font-size:clamp(34px,4vw,52px);line-height:1.1}.tool-page .tool-intro>p{max-width:760px;margin:12px auto 0;font-size:18px;line-height:1.45}@media(max-width:560px){.tool-page .tool-intro h1{font-size:clamp(30px,8vw,36px)}.tool-page .tool-intro>p{font-size:15px;margin-top:9px}}
body:has(.tool-page){background:#f9f9f9}
.tool-page .tool-workspace:has(.reference-upload){max-width:820px;padding:0;border:0;background:transparent;box-shadow:none}
.reference-upload{margin:0 0 18px;overflow:hidden;border:1px solid #e8e8e6;border-radius:28px;background:#fff;box-shadow:0 22px 60px #00000012}
.reference-upload .upload-category-title{display:flex;align-items:center;min-height:76px;margin:0;padding:0 32px;border-bottom:1px solid #e8e8e6;background:#f4f4f3;font-size:22px;font-weight:700;letter-spacing:-.02em}
.reference-upload .universal-dropzone,.reference-upload.image-upload .universal-dropzone{min-height:300px;margin:28px 28px 0;padding:28px;border:1.5px dashed #d9d9d6;border-radius:18px;background:#fff;gap:7px}
.reference-upload .universal-dropzone:hover,.reference-upload .universal-dropzone.is-dragging{border-color:#a9bce8;background:#fafbff}
.reference-upload .universal-dropzone strong,.reference-upload.image-upload .universal-dropzone strong{font-size:23px;font-weight:500;letter-spacing:-.02em}
.reference-upload .upload-choose,.reference-upload.image-upload .upload-choose,.reference-upload.has-files .upload-choose{display:inline-block;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#315e9b;font-size:18px;font-weight:500;text-decoration:underline;text-underline-offset:4px}
.reference-upload .upload-choose:hover{color:#315e9b;background:transparent}
.reference-upload .upload-meta{display:flex;justify-content:space-between;gap:12px;padding:14px 28px 26px;color:#62625e;font-size:14px;font-style:italic}
.reference-upload .upload-file-list,.reference-upload.image-upload .upload-file-list{margin:0;padding:0 28px 28px;gap:12px}
.reference-upload .upload-file-row,.reference-upload.image-upload .upload-file-row{border-color:#e8e8e6;background:#fff}
.reference-upload .upload-notice,.reference-upload.image-upload .upload-notice{margin:0 28px 20px}
.reference-upload.has-files .universal-dropzone,.reference-upload.image-upload.has-files .universal-dropzone{min-height:120px;margin-bottom:0;padding:19px;gap:4px}
.reference-upload.has-files .upload-reference-art{display:none}
.upload-reference-art{position:relative;display:block;width:150px;height:115px;margin:0 auto 16px;flex:none}
.upload-reference-doc{position:absolute;top:6px;left:36px;width:78px;height:104px;border-radius:18px 18px 14px 14px;box-shadow:0 12px 22px #00000026}
.upload-reference-doc:before{content:"";position:absolute;top:0;right:0;width:26px;height:26px;background:#ffffff5c;clip-path:polygon(0 0,100% 100%,0 100%);border-top-right-radius:10px}
.upload-reference-doc:after{content:"";position:absolute;left:18px;bottom:22px;width:42px;height:7px;border-radius:99px;background:#ffffffc7;box-shadow:0 -17px 0 #ffffffc7}
.upload-reference-doc.green{z-index:1;background:linear-gradient(160deg,#8ef0d6,#4bc8ae);transform:translate(-25px,12px) rotate(-11deg)}
.upload-reference-doc.purple{z-index:1;background:linear-gradient(160deg,#eda5f7,#ca79db);transform:translate(28px,15px) rotate(11deg)}
.upload-reference-doc.blue{z-index:3;background:linear-gradient(160deg,#cfe2ff,#8fb2ef)}
.upload-reference-plus{position:absolute;z-index:5;top:36px;left:52px;width:46px;height:46px;border:3px solid #fffffff2;border-radius:50%}
.upload-reference-plus:before,.upload-reference-plus:after{content:"";position:absolute;top:50%;left:50%;background:#fff;border-radius:99px;transform:translate(-50%,-50%)}
.upload-reference-plus:before{width:20px;height:3px}.upload-reference-plus:after{width:3px;height:20px}
@media(max-width:620px){.reference-upload{border-radius:22px}.reference-upload .upload-category-title{min-height:68px;padding:0 22px;font-size:20px}.reference-upload .universal-dropzone,.reference-upload.image-upload .universal-dropzone{min-height:265px;margin:18px 18px 0;padding:22px 12px}.reference-upload .universal-dropzone strong,.reference-upload.image-upload .universal-dropzone strong{font-size:20px}.reference-upload .upload-choose,.reference-upload.image-upload .upload-choose{font-size:16px}.reference-upload .upload-meta{flex-direction:column;gap:3px;padding:12px 18px 22px;font-size:12px}.reference-upload .upload-file-list,.reference-upload.image-upload .upload-file-list{padding:0 18px 22px}.reference-upload .upload-notice,.reference-upload.image-upload .upload-notice{margin:0 18px 18px}}
.tool-page{padding-top:16px}@media(max-width:560px){.tool-page{padding-top:12px}}
.mega-featured .mini-preview:has(img){height:142px;overflow:hidden;background:#f9faff}.mega-featured .mini-preview img{display:block;width:100%;height:100%;object-fit:contain}
.tool-page .tool-workspace:has(.batch-success){max-width:880px}
.image-result .success-card.batch-success{display:block;margin:0;padding:0 26px 24px;border:1px solid #e8e8e6;border-radius:28px;background:#fff;box-shadow:0 22px 60px #00000014}
.batch-success .batch-result-header{display:flex;align-items:center;height:72px;margin:0 -26px 22px;padding:0 32px;border-bottom:1px solid #e8e8e6;background:#f4f4f3;font-size:22px;font-weight:700;letter-spacing:-.02em}
.batch-success .success-heading{display:flex;align-items:center;gap:16px;margin:0 0 20px}.batch-success .success-heading>span{width:52px;height:52px;flex:none;background:#eef6ef;color:#2f7d4d}.batch-success .success-heading h2{font-size:clamp(27px,3vw,34px);line-height:1.1;letter-spacing:-.04em}.batch-success .success-heading .eyebrow{color:#686864}.batch-success .result-file-name{display:none}
.batch-success .output-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:0 0 22px}.batch-success .output-facts span{min-width:0;min-height:96px;padding:13px 14px;border:1px solid #e8e8e6;border-radius:16px;background:#f8f8f7}.batch-success .output-facts b{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#62625e}.batch-success .output-facts strong{font-size:clamp(19px,2vw,23px);line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}.batch-success .output-facts small{color:#62625e}.batch-success .output-facts .savings strong{color:#2f7d4d}
.batch-results-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}.batch-results-title h3{margin:0;font-size:20px;letter-spacing:-.02em}.batch-results-title span{font-size:13px;color:#62625e}
.batch-success .batch-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:0 0 18px}.batch-success .batch-output-item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;row-gap:3px;min-width:0;min-height:98px;padding:10px;border:1px solid #e8e8e6;border-radius:16px;background:#fff}.batch-success .batch-output-item .output-preview{grid-column:1;grid-row:1/3;width:76px;height:76px;max-height:76px;margin:0;object-fit:contain;border:1px solid #ededeb;border-radius:12px}.batch-success .batch-output-item strong{grid-column:2;grid-row:1;min-width:0;font-size:14px}.batch-success .batch-output-item small{grid-column:2;grid-row:2;min-width:0;color:#62625e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.batch-success .batch-output-item .output-download{grid-column:3;grid-row:1/3;display:inline-flex;align-items:center;gap:6px;min-width:105px;min-height:40px;margin:0;padding:8px 12px;border-radius:12px;background:#111;color:#fff;font-size:13px;font-weight:700}.batch-success .batch-output-item .output-download:hover{background:#333}
.batch-success .result-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px solid #e8e8e6}.batch-success .batch-result-note{margin:0;color:#62625e;font-size:13px}.batch-success .process-another{min-height:46px;padding:0 18px;border-color:#e8e8e6;border-radius:13px;font-size:14px;font-weight:600}
#toolDialog .batch-result-header{display:none}
@media(max-width:760px){.image-result .success-card.batch-success{padding:0 18px 20px;border-radius:22px}.batch-success .batch-result-header{height:68px;margin:0 -18px 18px;padding:0 22px}.batch-success .output-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-success .batch-result-grid{grid-template-columns:1fr}.batch-success .result-actions{align-items:stretch;flex-direction:column}.batch-success .process-another{width:100%}}
@media(max-width:480px){.batch-success .batch-output-item{grid-template-columns:70px minmax(0,1fr)}.batch-success .batch-output-item .output-preview{width:70px;height:70px;max-height:70px}.batch-success .batch-output-item .output-download{grid-column:1/-1;grid-row:3;width:100%;justify-content:center;margin-top:8px}.batch-success .output-facts span{min-height:86px;padding:10px}.batch-success .output-facts strong{font-size:20px}}

/* One reusable, lightweight glossy document family for left-side tool/menu icons. */
.tool-icon{width:72px;height:48px;flex:none;gap:0;isolation:isolate}
.tool-icon-action,.tool-row:hover .tool-icon-action{width:72px;height:48px;border-radius:0;background:none;color:inherit}
.tool-icon-convert{width:72px;height:48px;gap:0}
.tool-icon-single{width:72px;height:48px}
.tool-icon .icon-sheet,.tool-icon .mini-format{--icon-top:#f0f8ff;--icon-mid:#c7e5ff;--icon-bottom:#7ebafa;--icon-edge:#a6ceee;--icon-ink:#155b9c;--icon-shadow:#4b8cc852;position:relative;display:grid;place-items:center;flex:none;overflow:hidden;background:linear-gradient(153deg,#ffffffd9 0%,var(--icon-top) 25%,var(--icon-mid) 66%,var(--icon-bottom) 100%);border:1px solid var(--icon-edge);border-radius:8px 10px 9px 9px;color:var(--icon-ink);box-shadow:inset 1px 1px 1px #fff,inset -2px -2px 3px #ffffff70,0 3px 1px -1px var(--icon-shadow),0 6px 9px -5px var(--icon-shadow);transform:perspective(120px) rotateY(-5deg)}
.tool-icon .icon-sheet:before,.tool-icon .mini-format:before{content:"";position:absolute;top:-1px;right:-1px;width:10px;height:10px;border:1px solid var(--icon-edge);border-top:0;border-right:0;border-radius:0 0 0 5px;background:linear-gradient(145deg,#ffffffee,var(--icon-mid));box-shadow:-1px 1px 2px #ffffff9c;z-index:2}
.tool-icon .icon-sheet:after,.tool-icon .mini-format:after{content:"";position:absolute;inset:2px 3px auto 3px;height:40%;border-radius:6px 6px 50% 50%;background:linear-gradient(#fff9,#ffffff08);pointer-events:none}
.tool-icon .icon-sheet{width:41px;height:43px}
.tool-icon .icon-sheet .ui-icon{position:relative;z-index:1;width:23px;height:23px;stroke-width:2.1;filter:drop-shadow(0 1px 0 #ffffffc4)}
.tool-icon .mini-format{min-width:0;width:30px;height:36px;padding:0 1px;font-size:8px;font-weight:850;letter-spacing:-.045em;line-height:1;text-shadow:0 1px #ffffffa8}
.tool-icon .mini-format:before{width:8px;height:8px}
.tool-icon-single .mini-format{width:41px;height:43px;font-size:10px}
.icon-conversion-arrow{position:relative;z-index:3;display:grid;place-items:center;flex:none;width:16px;height:18px;margin:0 -2px;border-radius:6px;background:linear-gradient(145deg,#a6dbff,#699ceb 55%,#996cf1);box-shadow:inset 0 1px 1px #fff,0 2px 4px #4569a85c;color:#fff}
.tool-icon-convert .icon-conversion-arrow .ui-icon{width:12px;height:12px;stroke-width:2.7;color:#fff}
.tool-icon .format-pdf{--icon-top:#fff1ed;--icon-mid:#ffc5bc;--icon-bottom:#f68e80;--icon-edge:#ecb3a9;--icon-ink:#a83c32;--icon-shadow:#bb625657}
.tool-icon-unlock{justify-content:flex-start;padding-left:9px}.tool-icon-unlock .mini-format{width:41px;height:43px;font-size:10px}.tool-icon-unlock .unlock-open-lock{position:relative;z-index:3;display:grid;place-items:center;width:24px;height:24px;margin-left:-8px;margin-top:18px;border:1px solid #e6afa9;border-radius:8px;background:linear-gradient(145deg,#fff,#ffe2dc);box-shadow:0 3px 7px #ac615546;color:#ad3f37}.tool-icon-unlock .unlock-open-lock .ui-icon{width:17px;height:17px;stroke-width:2.2}
.mega-popular button small{display:block;margin-top:1px;color:#6b7280;font-size:11px;font-weight:400}.search-results .search-unlock-result{display:flex;align-items:center;gap:10px}.search-results .search-unlock-result>span:last-child{min-width:0}
.tool-icon .format-jpg,.tool-icon .format-jpeg,.tool-icon .format-jfif{--icon-top:#faf2ff;--icon-mid:#dfc9ff;--icon-bottom:#b994ee;--icon-edge:#d8bced;--icon-ink:#66439c;--icon-shadow:#8c61af54}
.tool-icon .format-png{--icon-top:#eff8ff;--icon-mid:#b9ddff;--icon-bottom:#74b3f9;--icon-edge:#a7d0f4;--icon-ink:#155a9c;--icon-shadow:#518cbe59}
.tool-icon .format-webp{--icon-top:#edfff6;--icon-mid:#b4efd7;--icon-bottom:#76d9b2;--icon-edge:#a1ddc4;--icon-ink:#14795c;--icon-shadow:#4a9b7d54}
.tool-icon .format-svg{--icon-top:#eaffff;--icon-mid:#abe8e5;--icon-bottom:#69c9ce;--icon-edge:#98d7d9;--icon-ink:#136b73;--icon-shadow:#478d9459}
.tool-icon .format-gif,.tool-icon .format-apng{--icon-top:#fff0fc;--icon-mid:#ffc7ef;--icon-bottom:#eb90d5;--icon-edge:#edb6db;--icon-ink:#9a317e;--icon-shadow:#b05a9a55}
.tool-icon .format-avif{--icon-top:#f2efff;--icon-mid:#c9c5ff;--icon-bottom:#9797ee;--icon-edge:#bcbbea;--icon-ink:#46479a;--icon-shadow:#6668ae58}
.tool-icon .format-heic,.tool-icon .format-heif{--icon-top:#eafffc;--icon-mid:#b2ebe6;--icon-bottom:#77d2cb;--icon-edge:#a0d9d3;--icon-ink:#176f72;--icon-shadow:#438f8f55}
.tool-icon .format-img{--icon-top:#eafffb;--icon-mid:#b6e9e8;--icon-bottom:#82c9e5;--icon-edge:#a6d8df;--icon-ink:#176f8b;--icon-shadow:#498ba456}
.tool-icon .format-mp4,.tool-icon .format-mov,.tool-icon .format-webm,.tool-icon .format-mkv,.tool-icon .format-avi,.tool-icon .format-vid{--icon-top:#fff0fc;--icon-mid:#dec6fa;--icon-bottom:#bd9aec;--icon-edge:#d6b9ec;--icon-ink:#7651a2;--icon-shadow:#916cb053}
.tool-icon .format-mp3,.tool-icon .format-wav,.tool-icon .format-ogg,.tool-icon .format-flac,.tool-icon .format-aac,.tool-icon .format-m4a,.tool-icon .format-aud{--icon-top:#f2f5ff;--icon-mid:#c8d7fc;--icon-bottom:#9ab8ec;--icon-edge:#b7c8eb;--icon-ink:#544994;--icon-shadow:#786ca753}
.tool-icon .format-zip,.tool-icon .format-rar,.tool-icon .format-7z,.tool-icon-compress .icon-sheet,.tool-icon-stack .icon-sheet{--icon-top:#fff8e7;--icon-mid:#ffe3a2;--icon-bottom:#f2bc68;--icon-edge:#e8cc8f;--icon-ink:#855c1c;--icon-shadow:#ad864d59}
.tool-icon .format-doc,.tool-icon .format-docx,.tool-icon .format-txt,.tool-icon .format-md,.tool-icon .format-html,.tool-icon .format-file{--icon-top:#f5f9ff;--icon-mid:#d2e1f4;--icon-bottom:#a4c0e5;--icon-edge:#c3d4e8;--icon-ink:#3c5f89;--icon-shadow:#6c8aac52}
.tool-icon .format-csv,.tool-icon .format-xlsx,.tool-icon .format-json,.tool-icon .format-yaml,.tool-icon .format-xml{--icon-top:#f3fcf8;--icon-mid:#c5e9d9;--icon-bottom:#96d4b9;--icon-edge:#b8dec9;--icon-ink:#28674f;--icon-shadow:#65957d55}
.tool-icon .format-tool,.tool-icon .format-hex,.tool-icon .format-lbs,.tool-icon .format-kg,.tool-icon .format-pst,.tool-icon .format-est,.tool-icon .format-cst{--icon-top:#faf7ff;--icon-mid:#e1d5f5;--icon-bottom:#bda7dc;--icon-edge:#d7c8ea;--icon-ink:#654d8a;--icon-shadow:#816c9d53}
.tool-icon .format-pptx{--icon-top:#fff5ef;--icon-mid:#ffd7b8;--icon-bottom:#eeb184;--icon-edge:#eac5a9;--icon-ink:#9b592e;--icon-shadow:#ad795657}
.mega-popular .tool-icon{margin-left:-3px;margin-right:0}
.mega-popular .mega-pdf-icon{width:72px;height:48px;flex:none;object-fit:contain;margin-left:-3px}
.mega-popular button>span:last-child{min-width:0}
.directory-sidebar .side-filter .ui-icon{box-sizing:content-box;width:19px;height:19px;padding:5px;border:1px solid #c0d5ee;border-radius:9px;background:linear-gradient(145deg,#fff,#d9edff 55%,#b3d3f4);box-shadow:inset 1px 1px 1px #fff,0 3px 6px #376ca31f;color:#2d679c}
.directory-sidebar .side-filter:hover .ui-icon,.directory-sidebar .side-filter.active .ui-icon{border-color:#9dc6ee;background:linear-gradient(145deg,#fff,#c7e7ff 55%,#9dc8f0)}

/* Fit the complete featured illustration in the existing fixed-size menu frame. */
.mega-featured .mini-preview:has(img){position:relative}
.mega-featured .mini-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
/* The three photographic image-tool previews should fill the frame edge to edge. */
.mega-featured .mini-preview img[src$=".jpg"]{object-fit:cover;object-position:center}

/* Shared control primitives for the existing vanilla-JS UI. Native selects stay native. */
:root{--control-height:48px;--control-radius:12px;--control-border:#cbd5e1}
.primary-button,.soft-button,.choose-files,.context-action,.upload-add-more{min-height:var(--control-height);border-radius:var(--control-radius);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650;line-height:1.25}
.primary-button,.soft-button{padding:10px 18px}
.choose-files,.context-primary,.output-download{min-height:54px}
.search-field{height:var(--control-height)}
.search-field input{height:100%;border-radius:var(--control-radius)}
.search-results a{width:100%;padding:11px;border-radius:7px;text-align:left}
.search-results a:hover,.search-results a:focus-visible{background:var(--wash)}
.smart-actions a{display:block;background:#1b1b1d;border:1px solid #29292c;color:#fff;border-radius:10px;padding:13px 15px;text-align:left}
.smart-actions a:hover,.smart-actions a:focus-visible{background:#242427}
.dialog-header-actions .soft-button{min-height:var(--control-height)}
.side-filter,.mobile-menu summary{min-height:var(--control-height)}
.icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:var(--control-radius)}
.quiet-button{min-height:44px;border-radius:var(--control-radius);background:transparent}
.upload-remove{border-radius:var(--control-radius)}
#toolDialog{box-shadow:0 32px 90px #06162755}
#toolDialog .dialog-header{border-bottom:1px solid var(--line)}
#toolDialog::backdrop{background:#06162799}
.workspace-controls input:not([type="checkbox"]):not([type="hidden"]),.workspace-controls select,.image-options input:not([type="checkbox"]):not([type="hidden"]),.image-options select,.directory-mobile-filter select,.tool-workspace input[type="text"],.tool-workspace input[type="password"],.tool-workspace input[type="number"],.tool-workspace select{min-height:var(--control-height);border:1px solid var(--control-border);border-radius:var(--control-radius);background-color:#fff;padding:10px 12px;font:inherit;color:var(--ink)}
.tool-workspace textarea{border:1px solid var(--control-border);border-radius:var(--control-radius);background:#fff;color:var(--ink)}
.tool-workspace :is(button,a,input,select,textarea):focus-visible,.legal a:focus-visible{outline:3px solid #78b8fb;outline-offset:2px}
.tool-workspace button:disabled{cursor:not-allowed;opacity:.65}
.image-workspace .image-options select[name=quality],.image-workspace.batch-actions-inline>.image-options .primary-button,.image-workspace.batch-actions-inline>.image-options .upload-add-more{min-height:var(--control-height)}
.tool-icon-case{width:72px;height:48px;display:flex;align-items:center;justify-content:flex-start;padding-left:9px}
.tool-icon-case>span{display:grid;place-items:center;width:43px;height:43px;border:1px solid #c8b8e9;border-radius:11px;background:linear-gradient(145deg,#fff,#e7ddff 60%,#c8b3f2);box-shadow:inset 1px 1px 1px #fff,0 4px 8px #8065a433;color:#593b88;font-size:20px;font-weight:800;letter-spacing:-.09em}
.case-workspace{display:grid;gap:0}
.case-label{margin-bottom:9px;font-size:14px;font-weight:700;color:var(--ink)}
.case-workspace textarea{display:block;width:100%;min-height:360px;padding:20px;resize:vertical;font:inherit;font-size:18px;line-height:1.55}
.case-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:13px 0;border-bottom:1px solid #e5e9ee}
.case-utilities,.case-stats{display:flex;align-items:center;flex-wrap:wrap}
.case-utilities{gap:8px}
.case-icon-button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d5dce4;border-radius:11px;background:#fff;color:#344154;box-shadow:none;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.case-icon-button .ui-icon,.case-icon-button .operation-icon{width:20px;height:20px}
.case-icon-button:hover{border-color:#90c4f8;background:#eef6ff;color:#005bb5}
.case-clear-button:hover{border-color:#e9b0ac;background:#fff2f1;color:#aa2d28}
.case-stats{gap:7px 15px;color:#5d6877;font-size:13px}
.case-stats strong{color:var(--ink);font-weight:700}
.case-actions{display:flex;flex-wrap:wrap;gap:9px;padding-top:16px}
.case-actions button{min-height:46px;padding:9px 15px;border:1px solid #d5dce4;border-radius:11px;background:#fff;color:#253246;box-shadow:none;font-size:14px;font-weight:650;transition:background .18s,border-color .18s,color .18s}
.case-actions button:hover,.case-actions button.is-active{border-color:#86bdf4;background:#edf6ff;color:#005bb5}
.case-status{min-height:21px;margin:11px 0 0;color:#526173;font-size:13px}
@media(max-width:560px){.case-workspace textarea{min-height:300px;padding:16px;font-size:16px}.case-toolbar{align-items:flex-start}.case-stats{width:100%;justify-content:space-between;gap:5px 9px}.case-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.case-actions button{width:100%;padding:9px 7px;font-size:13px;line-height:1.25}}
@media(max-width:360px){.saved-nav{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.saved-nav span{display:none}}
@media(prefers-reduced-motion:reduce){.case-actions button,.case-icon-button{transition:none!important}}
.mega-menu{max-height:calc(100dvh - var(--header));overflow-y:auto;overscroll-behavior:contain}
.mega-content{width:min(1000px,calc(100% - 64px));margin:auto;display:block;padding:28px 0 32px}
.mega-category{min-width:0;padding:0;border:0}
.mega-category h2{display:block;margin:0 0 16px;padding:0 0 15px;border-bottom:1px solid #e1e6ec;font-size:22px;font-weight:700;letter-spacing:-.35px;line-height:1.25}
.mega-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 24px}
.mega-links a{display:block;min-width:0;padding:6px 5px;color:#292d33;font-size:17px;font-weight:450;line-height:1.5;text-wrap:pretty}
.mega-links a:hover,.mega-links a:focus-visible{color:#0071e3}
.mega-links a:focus-visible{outline:2px solid #78b8fb;outline-offset:2px;border-radius:3px}
@media(min-width:901px){.desktop-nav{display:flex}.mobile-toggle{display:none}.mega-menu:not([hidden]){display:block!important}}
@media(min-width:901px) and (max-width:1180px){.desktop-nav{display:none}.mobile-toggle{display:block}.mega-menu{display:none!important}}

/* Registry-backed menus keep their separate categories in one open, text-first panel. */
.mega-menu{background:#fff;border-bottom:1px solid #e3e8ee;box-shadow:0 14px 36px #14243b1a}
.mega-content{width:min(1320px,calc(100% - 64px));padding:28px 0 34px}
.mega-category h2{display:flex;align-items:center;gap:11px;margin:0 0 18px;padding:0 0 20px;border-bottom:1px solid #e3e8ee;font-size:22px;font-weight:700;letter-spacing:-.35px;line-height:1.3}
.mega-category-icon{display:grid;place-items:center;flex:none;width:24px;height:24px;color:#273341}
.mega-category-icon .ui-icon{display:block;width:23px;height:23px;stroke-width:1.8}
.mega-links{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:0}
.mega-links-images,.mega-links-text,.mega-links-code,.mega-links-fonts{grid-template-columns:repeat(4,minmax(0,1fr))}
.mega-links-gif,.mega-links-utilities{grid-template-columns:repeat(2,minmax(0,1fr))}
.mega-link-group{min-width:0;display:flex;flex-direction:column;align-items:stretch;padding:0 26px;border-left:1px solid #e3e8ee}
.mega-link-group:first-child{padding-left:0;border-left:0}
.mega-link-group:last-child{padding-right:0}
.mega-link-group h3{margin:0 0 8px;color:#586575;font-size:13px;line-height:1.4;font-weight:750;letter-spacing:.07em;text-transform:uppercase}
.mega-link-group a{display:block;min-width:0;margin:0;padding:8px 0;border-radius:2px;color:#242a31;font-size:17px;font-weight:450;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.mega-link-group a:hover{background:transparent;color:#0057ad}
.mega-link-group a:focus-visible{outline:2px solid #0071e3;outline-offset:3px;background:transparent;color:#0057ad}
.mobile-menu .mobile-category-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;padding:8px 0 20px}
.mobile-menu-group{display:flex;min-width:0;flex-direction:column;align-items:stretch}
.mobile-menu-group h3{margin:0 0 6px;color:#aab5c3;font-size:13px;line-height:1.4;font-weight:750;letter-spacing:.07em;text-transform:uppercase}
.mobile-menu-group a{display:block;padding:7px 2px;color:#e0e4eb;font-size:16px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.mobile-menu-group a:hover,.mobile-menu-group a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
.mobile-menu-group a:focus-visible,.mobile-menu [data-mobile-category]:focus-visible{outline:2px solid #78b8fb;outline-offset:2px}
.mobile-menu [data-mobile-category]{grid-column:1/-1;justify-self:start;padding:8px 2px;color:#9bcaff;font-size:15px;text-align:left}
@media(max-width:560px){.mobile-menu .mobile-category-groups{grid-template-columns:1fr;gap:17px}}
@media(max-width:900px){.mobile-menu{max-height:calc(100dvh - var(--header));overflow-y:auto;overscroll-behavior:contain}.mobile-menu summary{min-height:55px;font-size:19px;font-weight:650}.mobile-menu summary .ui-icon{width:21px;height:21px}.mobile-menu summary>span:first-of-type{margin-left:0}.mobile-menu .mobile-chevron{margin-left:auto}.mobile-menu details>div{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0 0 12px 31px}.mobile-menu details a,.mobile-menu details button{display:block;min-height:43px;padding:9px 0;color:#d1d4da;font-size:16px;font-weight:450;line-height:1.4;text-align:left}.mobile-menu details a:hover,.mobile-menu details a:focus-visible,.mobile-menu details button:hover,.mobile-menu details button:focus-visible{color:#8fc3ff}}

/* Supplied File Convert Center brand assets. */
.brand-header{flex:none;display:inline-flex;align-items:center;gap:5px;line-height:1;white-space:nowrap}
.brand-header-mark{display:block;width:39px;height:39px;object-fit:contain;flex:none}
.brand-header-name{display:inline-flex;align-items:baseline;font-size:18px;font-weight:800;letter-spacing:-.065em;color:#fff}
.brand-header-name span:nth-child(2){color:#1689ff}
.brand-footer img{display:block;width:min(260px,100%);height:auto}
/* Keep the desktop menu grouped at the right edge while leaving mobile controls intact. */
.header-inner{justify-content:space-between;gap:24px}
.desktop-nav{flex:0 1 auto;min-width:0;margin-left:auto;justify-content:flex-end}
.header-actions{display:none}
@media(max-width:1180px){.header-actions{display:flex;margin-left:auto}}
@media(max-width:560px){.brand-header{gap:4px}.brand-header-mark{width:32px;height:32px}.brand-header-name{font-size:15px}}
.hero-free{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 10px;margin:13px auto 0!important;color:#626972;font-size:13px!important;line-height:1.4}
.hero-free strong{color:#006bcf;font-weight:750}

/* Shared tool cards follow their two-line content instead of a fixed tall floor. */
.popular-card{min-height:0;padding:20px 20px 18px}
@media(max-width:560px){.popular-card{min-height:0;padding:18px 18px 18px}}

/* Optional analytics uses existing action styles and never blocks a tool. */
.analytics-consent{position:fixed;z-index:90;right:20px;bottom:20px;width:min(510px,calc(100vw - 40px));display:flex;align-items:center;gap:18px;padding:17px 18px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 15px 40px #10182825}
.analytics-consent p{margin:0;display:grid;gap:3px;font-size:13px;line-height:1.4}
.analytics-consent strong{font-size:14px}
.analytics-consent p span{color:var(--muted)}
.analytics-consent a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.analytics-consent>div{display:flex;flex:none;gap:8px}
.analytics-consent button{min-height:38px;padding:8px 11px;white-space:nowrap;font-size:12px}
@media(max-width:600px){.analytics-consent{right:12px;bottom:12px;width:calc(100vw - 24px);display:block;padding:16px}.analytics-consent>div{margin-top:12px}.analytics-consent button{flex:1}}

/* Compact the long Video & Audio mega-menu without changing link text or size. */
.mega-links-video .mega-link-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;column-gap:16px}
.mega-links-video .mega-link-group h3{grid-column:1/-1}

/* Date-aware PST to EST tool. Scoped to this tool and its contextual link. */
.pst-converter{display:grid;gap:18px}
.pst-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pst-fields label,.pst-occurrence{display:grid;align-content:start;gap:7px;font-size:14px;font-weight:600}
.pst-fields input,.pst-fields select,.pst-occurrence select{width:100%;min-width:0;min-height:46px;border:1px solid var(--control-border);border-radius:var(--control-radius);padding:10px 12px;background:#fff}
.pst-fields label>span{font-size:12px;font-weight:400;color:var(--muted)}
.pst-occurrence{max-width:320px}
.pst-answer{padding:22px 24px;border:1px solid #c9e0f5;border-radius:16px;background:#f7fbff}
.pst-answer>span{display:block;color:#42627c;font-size:13px;font-weight:700}
.pst-answer strong{display:block;margin:5px 0;font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.8px;overflow-wrap:anywhere}
.pst-answer p{margin:8px 0 0;color:#456075;font-size:14px}
.pst-actions{display:flex;align-items:center;gap:13px;min-height:40px}
.pst-actions span{font-size:13px;color:var(--muted)}
.pst-guide{max-width:1050px;margin:34px auto 0;padding:25px;border:1px solid var(--line);border-radius:18px;background:#fff}
.pst-guide-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}
.pst-guide h2{font-size:clamp(23px,2.5vw,30px);letter-spacing:-.7px;margin:5px 0 0}
.pst-guide-heading>p{margin:0;color:var(--muted);font-size:13px}
.pst-table-scroll{max-height:420px;overflow:auto;margin-top:19px;border:1px solid var(--line);border-radius:12px}
.pst-guide table{width:100%;border-collapse:collapse;text-align:left}
.pst-guide caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.pst-guide th,.pst-guide td{padding:11px 15px;border-bottom:1px solid #e9edf1;font-size:14px}
.pst-guide thead th{position:sticky;top:0;background:#f7f9fb;color:#4f5e6d;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.pst-guide tbody th{font-weight:600}
.pst-guide tbody tr:last-child>*{border-bottom:0}
.pst-guide-details{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:22px}
.pst-guide-details h3{font-size:17px;margin:0 0 6px}
.pst-guide-details p{font-size:14px;color:var(--muted);margin:0;line-height:1.55}
.pst-related,.pst-backlink{margin:22px auto 0;font-size:14px}
.pst-related a,.pst-backlink a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.pst-backlink{max-width:1050px}
.pst-guide [data-pst-table-date]{font-variant-numeric:tabular-nums}
@media(max-width:700px){.pst-fields{grid-template-columns:1fr}.pst-answer{padding:18px}.pst-guide{padding:18px 14px}.pst-guide-heading{display:block}.pst-guide-heading>p{margin-top:6px}.pst-guide-details{grid-template-columns:1fr;gap:18px}.pst-guide th,.pst-guide td{padding:9px 10px;font-size:13px}}

/* Image-tools hub: scoped to the new category route. */
.image-category-link,.image-related-all a,.image-hub-menu-link{color:#0057b8;font-weight:650}
.image-category-link{display:inline-block;font-size:13px;margin:0 0 18px}
.image-related-all{margin:16px 0 0;font-size:13px}
.image-hub-menu-link{display:inline-block;margin:8px 0 4px;font-size:14px}
.mobile-menu .image-hub-menu-link{grid-column:1/-1;color:#83bcff;padding:9px 0}
.image-hub{padding:44px 0 88px}
.image-hub-intro{max-width:760px;margin:0 0 42px}
.image-hub-intro h1{font-size:clamp(42px,5vw,64px);letter-spacing:-.055em;line-height:1.05;margin:9px 0 14px}
.image-hub-intro>p:last-child{font-size:18px;line-height:1.6;color:var(--muted);margin:0}
.image-hub h2{font-size:24px;letter-spacing:-.035em;line-height:1.2;margin:0 0 16px}
.image-hub-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.image-hub-feature{display:flex;flex-direction:column;min-height:172px;padding:22px;border:1px solid #dfe5ed;border-radius:18px;background:#f8faff;transition:border-color .18s,box-shadow .18s,transform .18s}
.image-hub-feature img{display:block;width:100%;height:auto;aspect-ratio:1160/860;object-fit:cover;border:1px solid #e5ebf2;border-radius:12px;margin-bottom:16px;background:#f7f9fc}
.image-hub-feature:hover,.image-hub-feature:focus-visible{border-color:#a9cbed;box-shadow:0 12px 28px #092d5712;transform:translateY(-2px)}
.image-hub-feature strong{font-size:17px;line-height:1.3}
.image-hub-feature>span:nth-child(2){color:var(--muted);font-size:13px;line-height:1.5;margin:9px 0 16px}
.image-hub-feature .image-hub-go{margin-top:auto;color:#0057b8;font-size:13px;font-weight:650}
.image-hub-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:36px 0}
.image-hub-group{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}
.image-hub-group h2{margin-bottom:6px}
.image-hub-group>p{color:var(--muted);font-size:13px;line-height:1.55;margin:0 0 16px}
.image-hub-group ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
.image-hub-group li{border-top:1px solid #eff1f4;min-width:0}
.image-hub-group li a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;font-size:14px;line-height:1.4}
.image-hub-group li a:hover{color:var(--blue)}
.image-hub-group li span{color:var(--blue);flex:none}
.image-hub-guide{max-width:900px;padding:26px 30px;border-radius:20px;background:#f5f8fc;border:1px solid #e0eaf5}
.image-hub-guide h2{margin-bottom:10px}
.image-hub-guide p{color:#4d5866;line-height:1.65;margin:0 0 10px}
.image-hub-guide p:last-child{margin-bottom:0}
.image-hub-guide a{color:#0057b8;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1024px){.image-hub-featured{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.image-hub{padding:28px 0 60px}.image-hub-intro{margin-bottom:32px}.image-hub-intro>p:last-child{font-size:16px}.image-hub-groups{grid-template-columns:1fr}.image-hub-feature{min-height:148px}.image-hub-guide{padding:22px}}
@media(max-width:390px){.image-hub-featured{grid-template-columns:1fr}.image-hub-feature{min-height:0}.image-hub-group ul{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.image-hub-feature{transition:none}.image-hub-feature:hover{transform:none}}
