/* Interface redesign only. Conversion engines and route contracts are unchanged. */
:root{--bg-main:#f4f6fa;--bg-secondary:#eef2f8;--bg-card:#fff;--text-primary:#192333;--text-secondary:#647186;--text-muted:#5f6e83;--accent:#2468ee;--accent-hover:#1657d3;--accent-subtle:#eaf1ff;--accent-ring:#b9d1ff;--border:#e4e9f0;--border-strong:#cbd5e3;--header-bg:#fff;--sidebar-width:228px;--header-height:72px;--radius:12px;--shadow-sm:none;--shadow-md:0 12px 35px #102f5710;color-scheme:light}
html[data-theme=dark]{--bg-main:#0c111b;--bg-secondary:#192233;--bg-card:#131b29;--text-primary:#edf2fb;--text-secondary:#a0aec3;--text-muted:#91a0b5;--accent:#78a7ff;--accent-hover:#a2c2ff;--accent-subtle:#1b2e4f;--accent-ring:#33588f;--border:#243044;--border-strong:#3b4b63;--header-bg:#101722;color-scheme:dark}
@media(prefers-color-scheme:dark){html:not([data-theme]){--bg-main:#0c111b;--bg-secondary:#192233;--bg-card:#131b29;--text-primary:#edf2fb;--text-secondary:#a0aec3;--text-muted:#91a0b5;--accent:#78a7ff;--accent-subtle:#1b2e4f;--border:#243044;--header-bg:#101722;color-scheme:dark}}
*{box-sizing:border-box}body{display:block;margin:0;background:var(--bg-main);color:var(--text-primary);font-size:14px;line-height:1.5;transition:background .15s,color .15s}a{color:inherit}a:hover{text-decoration:none}button,input,select{font:inherit}button,a,summary,input,select{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}[hidden],.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:15px;padding:12px 18px;background:var(--bg-card);z-index:1000;color:var(--accent)}.skip-link:focus{top:12px}svg{stroke-width:1.7}.site-header{position:sticky;top:0;height:var(--header-height);background:var(--header-bg);border-bottom:1px solid var(--border);backdrop-filter:none;z-index:100}.header-inner{max-width:none;height:100%;padding:0 28px 0 24px;display:grid;grid-template-columns:204px minmax(240px,520px) 1fr;gap:28px}.logo{font-size:25px;letter-spacing:-1.1px;font-weight:800;display:flex;align-items:center;gap:0;min-height:44px;width:fit-content}.logo .logo-accent{color:var(--accent)}.brand-dot{height:5px;width:5px;background:var(--accent);border-radius:50%;margin:12px 0 0 4px}.header-controls{display:flex;align-items:center;justify-content:flex-end;gap:16px}.global-search{position:relative;width:100%;display:flex;align-items:center;gap:10px;background:var(--bg-main);border:1px solid transparent;padding:0 13px;border-radius:9px;height:42px}.global-search:focus-within{border-color:var(--accent);background:var(--bg-card)}.global-search>svg{width:18px;height:18px;color:var(--text-secondary);flex-shrink:0}.global-search input{width:100%;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--text-primary);font-size:13px;padding:0;box-shadow:none}.global-search input::placeholder{color:var(--text-secondary);opacity:1}.global-search kbd{font:11px inherit;white-space:nowrap;color:var(--text-muted);border:1px solid var(--border);border-radius:4px;padding:1px 5px}#tool-results{position:absolute;left:0;right:0;top:calc(100% + 9px);max-height:420px;overflow:auto;background:var(--bg-card);border:1px solid var(--border-strong);border-radius:12px;padding:7px;box-shadow:var(--shadow-md);z-index:110}#tool-results>a{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 11px;min-height:45px;border-radius:6px;font-size:13px;color:var(--text-primary)}#tool-results>a[aria-selected=true],#tool-results>a:hover{background:var(--accent-subtle);color:var(--accent)}#tool-results small{color:var(--text-secondary);font-size:11px;text-align:right}.search-empty{padding:15px;font-size:13px;color:var(--text-secondary)}.language-menu{position:relative}.language-menu>summary{list-style:none;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;min-height:42px;cursor:pointer;border-radius:7px;padding:0 5px}.language-menu>summary::-webkit-details-marker{display:none}.language-menu svg{width:17px;height:17px}.language-menu summary svg:last-child{width:12px}.language-options{position:absolute;right:0;top:48px;background:var(--bg-card);border:1px solid var(--border);box-shadow:var(--shadow-md);border-radius:10px;padding:6px;min-width:174px;z-index:120}.language-options a{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:43px;border:0!important;border-radius:5px;padding:10px 11px;background:transparent;color:var(--text-primary);font-size:13px;cursor:pointer}.language-options a span{font-size:11px;color:var(--text-muted)}.language-options a.active,.language-options a:hover{background:var(--accent-subtle);color:var(--accent)}.theme-control{display:flex;align-items:center;gap:4px;border-left:1px solid var(--border);padding-left:14px}.icon-button,.system-button{display:inline-grid;place-items:center;border:0;background:transparent;color:var(--text-secondary);border-radius:8px;cursor:pointer;flex-shrink:0}.icon-button{width:40px;height:40px}.icon-button svg{width:20px;height:20px}.icon-button:hover,.system-button:hover{background:var(--bg-secondary);color:var(--text-primary)}.system-button{width:29px;height:34px}.system-button svg{width:14px;height:14px}.system-button[aria-pressed=true]{color:var(--accent);background:var(--accent-subtle)}html[data-theme=dark] .moon-icon,html:not([data-theme=dark]) .sun-icon{display:none}.mobile-menu,#menu-close{display:none}.page-shell{display:block;max-width:none;padding:0;margin:0;width:100%}.sidebar{width:var(--sidebar-width);position:fixed;top:var(--header-height);bottom:0;left:0;height:auto;background:var(--header-bg);border-right:1px solid var(--border);padding:20px 14px 18px;display:flex;gap:0;overflow-y:auto;z-index:90;box-shadow:none;transition:none}.sidebar-top{display:flex;align-items:center;margin-bottom:23px}.sidebar-home{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:600;padding:10px 12px;width:100%;border-radius:8px;color:var(--text-secondary)}.sidebar-home svg{width:16px;height:16px}.sidebar-home.active{background:var(--accent-subtle);color:var(--accent)}.sidebar-nav{display:block}.nav-group{margin-bottom:21px}.nav-group-title{font-size:11px;font-weight:650;letter-spacing:.01em;text-transform:none;color:var(--text-muted)!important;padding:0 11px 8px;gap:0}.nav-group-title svg,.nav-group-title i{display:none}.nav-link{display:flex;align-items:center;gap:10px;min-height:32px;padding:6px 11px;line-height:1.35;font-size:12px;color:var(--text-secondary);border-radius:7px;border:0!important;font-weight:450}.nav-link svg{width:15px;height:15px;flex-shrink:0;color:var(--text-muted)}.nav-link.active{padding-left:11px!important;background:var(--accent-subtle);color:var(--accent);font-weight:650}.nav-link.active svg{color:var(--accent)}.nav-link:hover{background:var(--bg-main);color:var(--text-primary)}.sidebar-bottom{border-top:1px solid var(--border);padding-top:14px;margin-top:2px}.sidebar-bottom a{display:flex;align-items:center;gap:10px;min-height:35px;font-size:12px;padding:6px 11px;color:var(--text-secondary)}.sidebar-bottom svg{width:15px;height:15px}.content-column{margin-left:var(--sidebar-width);min-width:0}.main-content{padding:38px 40px 35px;max-width:1310px;margin:auto;min-width:0}.main-content:focus{outline:0}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;border:0;border-top:1px solid var(--border);margin:0 40px;padding:22px 0 28px;background:none;font-size:12px;color:var(--text-secondary)}.site-footer>p{font-weight:700;color:var(--text-primary)}.site-footer>p>span:first-child{color:var(--accent)}.site-footer .footer-note{font-weight:400;color:var(--text-muted);margin-left:14px;font-size:11px}.site-footer nav{display:flex;gap:22px}.menu-is-open{overflow:hidden}.menu-backdrop{position:fixed;inset:0;background:#07101f85;border:0;z-index:250;width:100%;height:100%;cursor:default}
/* A useful home, with four immediate paths and compact source formats. */
.page-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.page-intro h1{font-size:34px;line-height:1.2;letter-spacing:-1.2px;font-weight:720;margin:0 0 9px}.page-intro p{font-size:14px;color:var(--text-secondary);margin:0}.free-note{font-size:11px;color:var(--text-secondary);white-space:nowrap;padding-bottom:3px}.featured-tools{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;margin-bottom:28px}.convert-feature{position:relative;display:flex;overflow:hidden;min-height:266px;background:linear-gradient(120deg,#286cf1,#1549c5);color:#fff;border-radius:17px;padding:29px}.feature-copy{position:relative;z-index:2;max-width:270px}.feature-copy h2{font-size:25px;line-height:1.2;letter-spacing:-.6px;font-weight:650;margin:0 0 12px;color:white}.feature-copy p{font-size:13px;line-height:1.6;color:#fff;max-width:215px;margin:0 0 23px}.feature-sources{display:flex;gap:7px;flex-wrap:wrap}.feature-sources a{display:flex;align-items:center;gap:14px;min-height:39px;border-radius:7px;padding:9px 11px;font-size:12px;font-weight:650;background:white;color:#1c54c0;box-shadow:0 3px 6px #002a7b10}.feature-sources a:hover{background:#e6f0ff}.feature-sources a span{font-size:13px;color:#537ecb}.more-formats{display:inline-flex;align-items:center;gap:9px;color:#eaf1ff;font-size:11px;margin-top:18px}.more-formats:hover{text-decoration:underline}.conversion-example{width:164px;position:absolute;right:17px;top:25px;bottom:18px;opacity:.98}.sample-file{position:absolute;width:100px;padding:6px;background:#fff;border-radius:9px;box-shadow:0 9px 25px #00236435;transform:rotate(-9deg);color:#263758}.sample-file img{height:74px;width:100%;object-fit:cover;border-radius:5px}.sample-file>span{display:block;font-size:11px;font-weight:650;padding:6px 2px 1px}.sample-before{left:0;top:0}.sample-after{right:0;bottom:0;transform:rotate(8deg)}.sample-arrow{position:absolute;top:103px;right:4px;font-size:29px;transform:rotate(35deg);color:#d6e6ff}.quick-edits{display:flex;flex-direction:column;gap:0;justify-content:space-between;background:var(--bg-card);border-radius:17px;padding:7px 20px}.quick-edit{display:flex;align-items:center;gap:17px;min-height:83px;padding:14px 0;border-bottom:1px solid var(--border)}.quick-edit:last-child{border:0}.quick-edit>div:nth-child(2){flex:1;min-width:0}.quick-edit h2{font-size:16px;font-weight:650;letter-spacing:-.25px;margin:0 0 3px}.quick-edit p{font-size:12px;color:var(--text-secondary);margin:0}.quick-edit>svg{height:18px;width:18px;color:var(--text-muted);transition:transform .15s}.quick-edit:hover>svg{color:var(--accent);transform:translateX(2px)}.quick-edit:hover h2{color:var(--accent)}.crop-visual,.compress-visual,.resize-visual{width:57px;height:54px;flex-shrink:0;border-radius:8px;position:relative;overflow:hidden;background:var(--accent-subtle)}.crop-visual img{width:57px;height:54px;object-fit:cover;opacity:.8}.crop-visual span{position:absolute;inset:8px 11px;border:1.5px solid #fff;box-shadow:0 0 0 30px #142a4935}.compress-visual{display:flex;flex-direction:column;gap:7px;padding:12px 10px}.resize-visual span{position:absolute;inset:10px 9px 11px;border:1.5px dashed #88a8dc;border-radius:3px}.resize-visual span:last-child{inset:auto 9px 11px auto;width:23px;height:19px;background:#80a9f080;border:1.5px solid var(--accent)}.source-formats{display:flex;align-items:center;gap:25px;margin:0 0 32px;padding:20px 0;border-bottom:1px solid var(--border)}.source-formats h2{font-size:12px;line-height:1.5;font-weight:600;color:var(--text-secondary);margin:0;max-width:160px}.source-formats>div{display:flex;flex-wrap:wrap;gap:8px;flex:1}.source-formats a{display:inline-flex;justify-content:center;align-items:center;min-width:53px;min-height:38px;font-size:11px;font-weight:650;background:var(--bg-card);color:var(--text-secondary);border-radius:7px;padding:8px 12px}.source-formats a:hover{color:var(--accent);background:var(--accent-subtle)}.home-catalog{display:grid;grid-template-columns:1fr 1fr;gap:38px}.catalog-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.catalog-heading svg{height:19px;width:19px;color:var(--accent)}.catalog-heading h2{font-size:16px;font-weight:650;letter-spacing:-.25px;margin:0}.catalog-links{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.catalog-links a{display:flex;align-items:center;gap:9px;min-height:45px;font-size:12px;color:var(--text-secondary);border-bottom:1px solid var(--border)}.catalog-links a>svg{height:14px;width:14px;color:var(--text-muted);flex-shrink:0}.catalog-links a>span:not(.catalog-arrow){flex:1}.catalog-links a:hover{color:var(--accent)}.catalog-arrow{font-size:15px;opacity:.6}
/* Real converter: source and settings grouped, results use the engine's actual DOM. */
.breadcrumb{font-size:12px;color:var(--text-secondary);margin-bottom:20px}.breadcrumb a{color:var(--text-secondary)}.tool-page{max-width:none;margin:0}.tool-header{margin-bottom:25px}.tool-title{font-size:30px!important;line-height:1.25;font-weight:700;letter-spacing:-.75px}.tool-subtitle{font-size:14px;color:var(--text-secondary);line-height:1.6;margin-top:9px;max-width:800px}.conversion-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(275px,.85fr);gap:23px;align-items:start}.source-pane,.control-pane{min-width:0;background:var(--bg-card);border-radius:14px;padding:22px}.source-pane .upload-zone{border:1.5px dashed var(--accent-ring);background:var(--bg-main);border-radius:10px;padding:40px 20px;min-height:255px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;margin:0;cursor:pointer}.source-pane .upload-zone:hover,.source-pane .upload-zone:focus-visible{border-color:var(--accent);background:var(--accent-subtle)}.source-pane .upload-icon{height:49px;margin:0 0 3px;color:var(--accent)}.source-pane .upload-icon svg{width:43px;height:43px}.source-pane .upload-text{text-align:center;font-size:14px;line-height:1.7;max-width:280px;margin:0}.source-pane .upload-link{color:var(--accent);font-weight:600}.source-pane .upload-hint{font-size:11px;color:var(--text-muted);margin:0}.source-pane .file-list{margin-top:16px}.source-pane .file-row{padding:11px 0;gap:9px;background:none;border:0;border-top:1px solid var(--border);border-radius:0}.source-pane .file-name{font-size:12px}.source-pane .file-thumb{width:42px;height:42px;border-radius:6px}.control-intro{display:grid;grid-template-columns:20px 1fr;gap:8px 9px}.control-intro>svg{width:18px;height:18px;color:var(--accent);margin-top:2px}.control-intro h2{font-size:14px;font-weight:650;margin:0}.control-intro p{grid-column:2;font-size:12px;color:var(--text-secondary);line-height:1.6;margin:8px 0 0}.control-pane:has(.tool-controls:not(.hidden)) .control-intro p{display:none}.control-pane .tool-controls{display:flex;flex-direction:column;gap:18px;margin:20px 0 0;padding:0;background:none;border:0;border-radius:0}.control-pane .control-group{margin:0;min-width:0}.control-pane label{font-size:11px;font-weight:600;letter-spacing:.01em;color:var(--text-secondary)}.control-pane .select-input,.control-pane .num-input{min-height:44px;background:var(--bg-main);border:1px solid var(--border-strong);border-radius:7px;padding:10px;font-size:13px;color:var(--text-primary)}.control-pane .range-input{accent-color:#2468ee;margin-top:9px;width:100%}.control-pane summary{font-size:12px;padding:6px 0;cursor:pointer;color:var(--text-secondary)}.control-pane .tool-actions{display:flex;gap:10px;margin:0}.btn-primary,#convert-btn{background:#2468ee;color:#fff;border:1px solid #2468ee;border-radius:8px;min-height:45px;padding:11px 20px;font-size:13px;font-weight:650;box-shadow:none;width:auto}#convert-btn,#convert-all-btn{width:100%}.btn-primary:hover{background:#1558d7}.convert-progress{margin:0!important}.convert-progress-label{font-size:11px;color:var(--text-secondary);margin-top:8px}.convert-progress-bar{height:5px;background:var(--bg-secondary);border-radius:4px}.convert-progress-fill{background:#2468ee;border-radius:4px}.results-heading{font-size:16px;font-weight:650;margin:27px 0 12px}.result-row{display:flex;align-items:center;gap:16px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:19px}.result-thumb{width:68px;height:55px;object-fit:contain;border-radius:6px;background:var(--bg-main)}.result-meta{flex:1;font-size:12px;min-width:0}.result-row .btn-secondary{display:flex;align-items:center;justify-content:center;min-height:44px;background:#2468ee;color:#fff;border:0;border-radius:7px;padding:11px 20px;cursor:pointer;font:inherit;font-size:12px;font-weight:600;white-space:nowrap;flex-shrink:0}.result-row .btn-secondary:hover{background:#1558d7}.target-badge{background:var(--accent-subtle);color:var(--accent)}.tool-help{margin-top:30px;border-top:1px solid var(--border);padding:14px 0}.tool-help>summary{font-size:13px;color:var(--text-secondary);cursor:pointer;padding:12px 0}.tool-help .tool-seo{max-width:800px;margin:0;padding:20px 0;border:0}.tool-seo h2{font-size:17px}.tool-seo p,.tool-seo li{font-size:13px;color:var(--text-secondary)}.tool-help .tool-seo ul,.tool-help .tool-seo ol{padding-left:20px}
@media(min-width:1600px){.conversion-example{right:36px;width:190px}.sample-file{width:116px}.sample-file img{height:88px}.convert-feature{min-height:285px}}
@media(max-width:1250px){.header-inner{grid-template-columns:184px minmax(220px,440px) 1fr;gap:20px;padding-left:22px;padding-right:22px}.main-content{padding:30px 28px}.featured-tools{gap:18px;grid-template-columns:1.2fr 1fr}.convert-feature{padding:25px}.conversion-example{width:120px;right:12px;top:30px;bottom:25px;opacity:.7}.sample-file{width:80px}.sample-file img{height:65px}.feature-copy{max-width:245px}.feature-copy h2{font-size:22px}.feature-copy p{max-width:175px}.feature-sources a{gap:7px;padding:9px}.quick-edits{padding:6px 15px}.quick-edit{gap:12px}.quick-edit p{font-size:11px}.home-catalog{gap:25px}.catalog-links{grid-template-columns:1fr}.source-formats{gap:18px}.source-formats a{padding:8px 10px;min-width:45px}.page-intro h1{font-size:30px}.free-note{display:none}.site-footer{margin:0 28px}.footer-note{display:none}}
@media(max-width:1023px){:root{--header-height:118px}.header-inner{grid-template-columns:1fr auto;grid-template-rows:60px 48px;gap:0 15px;padding:0 20px 10px}.logo{font-size:25px}.header-controls{grid-column:2;grid-row:1;gap:12px}.global-search{grid-column:1 / -1;grid-row:2;height:42px;max-width:none}.global-search kbd{display:none}.theme-control{padding-left:10px;gap:1px}.mobile-menu{display:inline-grid}.sidebar{top:0;left:0;bottom:0;width:min(320px,calc(100% - 38px));height:100dvh;transform:translateX(-105%);visibility:hidden;padding:18px 17px;z-index:300;transition:none}.sidebar.open{transform:translateX(0);visibility:visible;box-shadow:20px 0 60px #07101f30}.sidebar-top{gap:7px;margin-bottom:18px}.sidebar-home{min-height:44px}.sidebar .nav-link{min-height:41px;font-size:13px}.nav-group-title{font-size:12px}.nav-group{margin-bottom:19px}#menu-close{display:inline-grid}.content-column{margin:0}.main-content{padding:27px 24px}.page-intro h1{font-size:31px}.featured-tools{grid-template-columns:1.2fr 1fr;gap:18px}.conversion-example{display:none}.feature-copy{max-width:none}.feature-copy p{max-width:220px}.quick-edit h2{font-size:15px}.quick-edit p{font-size:11px}.source-formats{align-items:start;flex-direction:column;gap:13px}.source-formats h2{max-width:none}.source-formats>div{gap:8px}.home-catalog{gap:30px}.catalog-links{grid-template-columns:1fr 1fr}.site-footer{margin:0 24px}.conversion-workspace{grid-template-columns:1fr 1fr;gap:18px}.source-pane,.control-pane{padding:18px}}
@media(max-width:650px){:root{--header-height:112px}.header-inner{padding:0 16px 10px;grid-template-rows:57px 45px;gap:0 10px}.logo{font-size:23px}.header-controls{gap:5px}.language-menu>summary{gap:4px;padding:0 3px;font-size:11px}.language-menu summary>svg:first-child{width:16px}.language-menu summary>svg:last-child{display:none}.theme-control{gap:0;padding-left:6px}.icon-button{width:35px;height:38px}.system-button{width:25px;height:32px}.system-button svg{width:13px}.icon-button svg{width:18px}.global-search{height:40px;padding:0 11px}.global-search input{font-size:12px}.global-search>svg{width:17px}.main-content{padding:23px 16px 27px}.page-intro{margin-bottom:20px}.page-intro h1{font-size:27px;letter-spacing:-.8px;line-height:1.18;margin-bottom:8px}.page-intro p{font-size:12px;line-height:1.6;max-width:310px}.featured-tools{grid-template-columns:1fr;gap:15px;margin-bottom:23px}.convert-feature{min-height:194px;padding:21px;border-radius:13px}.feature-copy{max-width:230px}.feature-copy h2{font-size:20px;margin-bottom:8px}.feature-copy p{font-size:11px;max-width:200px;margin-bottom:16px}.feature-sources{gap:6px}.feature-sources a{min-height:36px;padding:8px 10px;font-size:11px;gap:12px}.more-formats{font-size:10px;margin-top:12px}.conversion-example{display:block;width:98px;right:16px;top:16px;bottom:16px;opacity:1;pointer-events:none}.sample-file{width:66px;border-radius:6px;padding:4px}.sample-file img{height:47px;border-radius:3px}.sample-file>span{font-size:8px;padding:4px 1px 0}.sample-after{right:0;bottom:0}.sample-arrow{top:71px;right:0;font-size:22px}.quick-edits{padding:0 15px;border-radius:13px}.quick-edit{min-height:69px;padding:11px 0;gap:13px}.crop-visual,.compress-visual,.resize-visual{width:44px;height:43px;border-radius:6px}.crop-visual img{width:44px;height:43px}.crop-visual span{inset:6px 9px}.compress-visual{padding:10px 8px;gap:6px}.resize-visual span{inset:8px}.resize-visual span:last-child{width:20px;height:16px;right:8px;bottom:8px}.quick-edit h2{font-size:14px;margin-bottom:2px}.quick-edit p{font-size:11px}.quick-edit>svg{width:16px;height:16px}.source-formats{padding:0 0 22px;margin-bottom:25px;gap:12px}.source-formats h2{font-size:12px}.source-formats>div{gap:7px}.source-formats a{min-height:39px;min-width:49px;font-size:11px}.home-catalog{grid-template-columns:1fr;gap:27px}.catalog-heading h2{font-size:15px}.catalog-links{gap:0 20px}.catalog-links a{font-size:11px;min-height:44px;gap:7px}.site-footer{display:block;margin:0 16px;padding:20px 0;font-size:11px}.site-footer nav{margin-top:14px;gap:25px;min-height:32px;align-items:center}.breadcrumb{font-size:11px;margin-bottom:17px}.tool-title{font-size:25px!important;letter-spacing:-.7px}.tool-subtitle{font-size:12px;margin-top:9px;line-height:1.65}.tool-header{margin-bottom:20px}.conversion-workspace{grid-template-columns:1fr;gap:16px}.source-pane,.control-pane{padding:17px;border-radius:12px}.source-pane .upload-zone{min-height:192px;padding:28px 15px}.source-pane .upload-text{font-size:13px;max-width:245px}.source-pane .upload-hint{font-size:10px}.source-pane .upload-icon svg{height:37px;width:37px}.source-pane .file-list{margin-top:12px}.control-intro h2{font-size:13px}.control-intro p{font-size:11px}.control-pane .tool-controls{gap:16px;margin-top:20px}.result-row{padding:15px;gap:11px;flex-wrap:wrap}.result-thumb{width:52px;height:44px}.result-meta{font-size:11px}.result-row .btn-secondary{width:100%;min-height:45px;margin-top:4px}.results-heading{font-size:15px;margin-top:22px}.tool-help{margin-top:22px}.tool-help>summary{font-size:12px}.dimension-inputs{flex-wrap:wrap}.dimension-inputs .num-input{min-width:0;max-width:110px}}
@media(max-width:365px){.header-inner{padding-left:12px;padding-right:12px;gap:6px}.logo{font-size:21px}.header-controls{gap:1px}.theme-control{padding-left:3px}.icon-button{width:32px}.system-button{width:24px}.language-menu>summary{gap:3px}.language-menu summary>svg:first-child{display:none}.main-content{padding:20px 13px}.page-intro h1{font-size:25px}.convert-feature{padding:19px;min-height:190px}.feature-copy h2{font-size:19px}.feature-copy p{max-width:177px}.conversion-example{right:10px;top:64px;width:58px;opacity:1}.sample-file{width:52px}.sample-file img{height:39px}.sample-arrow{display:none}.feature-sources a{padding:8px;gap:7px}.catalog-links{gap:0 13px}.catalog-links a{font-size:10.5px}.quick-edit p{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:1023px){.system-button{width:36px;height:40px}.theme-control{gap:2px}.icon-button{min-width:36px}.language-menu>summary{min-width:36px;justify-content:center}}
@media(max-width:365px){.system-button{width:32px;height:40px}.icon-button{min-width:32px}.header-controls{gap:0}.theme-control{gap:0}.language-menu>summary{min-width:29px}}

@media(max-width:650px){.quick-edit p,.catalog-links a{font-size:12px}.source-formats a{font-size:12px}}
@media(max-width:365px){.catalog-links{grid-template-columns:1fr}.quick-edit p{font-size:11.5px}}

/* PDF joins image conversion as a primary task; existing tools remain adjacent. */
.featured-tools{grid-template-columns:1.15fr 1fr;margin-bottom:18px}
.pdf-feature{position:relative;overflow:hidden;border:1px solid var(--accent-ring);border-radius:17px;padding:25px 28px;background:var(--bg-card);display:flex;flex-direction:column;justify-content:space-between;min-height:266px}
.pdf-feature-copy{position:relative;z-index:1;max-width:310px}.pdf-feature-label{display:flex;gap:7px;align-items:center;font-size:11px;letter-spacing:.06em;font-weight:700;color:var(--accent);margin-bottom:10px}.pdf-feature-label svg{width:17px;height:17px}.pdf-feature h2{font-size:25px;letter-spacing:-.6px;margin:0 0 10px;line-height:1.2}.pdf-feature p{font-size:13px;color:var(--text-secondary);line-height:1.6;max-width:240px;margin:0}
.pdf-feature-actions{position:relative;z-index:1;display:flex;gap:9px;margin-top:22px;flex-wrap:wrap}.pdf-feature-actions a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:11px 15px;border-radius:7px;background:#2468ee;color:white;font-size:12px;font-weight:650;border:1px solid #2468ee}.pdf-feature-actions a:last-child{background:var(--accent-subtle);border-color:var(--accent-ring);color:var(--accent)}.pdf-feature-actions a:hover{filter:brightness(.94)}
.pdf-feature-art{position:absolute;right:25px;top:30px;width:96px;height:132px;transform:rotate(7deg);pointer-events:none}.pdf-paper{width:84px;background:var(--bg-main);border:1px solid var(--border-strong);border-radius:6px;padding:9px;box-shadow:0 7px 15px #15315e10}.pdf-paper>span{font-size:9px;font-weight:750;color:var(--accent);display:block;margin-bottom:7px}.pdf-paper img{width:64px;height:42px;object-fit:cover;border-radius:3px}.pdf-paper i{display:block;width:100%;height:3px;background:var(--border-strong);margin-top:6px}.pdf-paper i:last-child{width:66%}.pdf-art-arrow{position:absolute;font-size:26px;bottom:0;right:0;color:var(--accent)}
.quick-edits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 18px;margin-bottom:25px}.quick-edit{min-height:96px;padding:16px 20px;border-bottom:0;border-right:1px solid var(--border);gap:14px}.quick-edit:first-child{padding-left:0}.quick-edit:last-child{padding-right:0;border-right:0}.quick-edit h2{font-size:15px}.quick-edit p{font-size:12px}.quick-edit>svg{width:16px;flex-shrink:0}.crop-visual,.compress-visual,.resize-visual{width:48px;height:48px}.crop-visual img{width:48px;height:48px}
@media(max-width:1250px){.pdf-feature{padding:23px}.pdf-feature h2{font-size:22px}.pdf-feature p{max-width:210px}.pdf-feature-art{right:17px;width:70px;opacity:.75}.pdf-paper{width:64px;padding:6px}.pdf-paper img{width:50px;height:34px}.pdf-feature-copy{max-width:250px}.quick-edit{padding:15px 12px;gap:10px}.quick-edit p{font-size:11px}.quick-edit>svg{display:none}}
@media(max-width:1023px){.pdf-feature-art{display:none}.pdf-feature-copy{max-width:none}.pdf-feature p{max-width:none}.pdf-feature-actions{gap:8px}.pdf-feature-actions a{padding:10px 12px}.quick-edit p{display:none}}
@media(max-width:650px){.featured-tools{grid-template-columns:1fr;gap:14px;margin-bottom:14px}.convert-feature{min-height:185px}.pdf-feature{min-height:178px;padding:19px 21px;border-radius:13px}.pdf-feature-label{display:none}.pdf-feature h2{font-size:21px;margin-bottom:7px}.pdf-feature p{font-size:12px;max-width:245px}.pdf-feature-actions{margin-top:16px;flex-wrap:nowrap;gap:8px}.pdf-feature-actions a{flex:1;padding:10px 8px;font-size:11.5px;min-height:42px;white-space:nowrap}.quick-edits{display:flex;flex-direction:column;padding:0 14px;margin-bottom:24px}.quick-edit,.quick-edit:first-child,.quick-edit:last-child{padding:10px 0;min-height:55px;border-right:0;border-bottom:1px solid var(--border);gap:12px}.quick-edit:last-child{border-bottom:0}.quick-edit h2{font-size:13px;margin:0}.quick-edit>svg{display:block}.quick-edits .crop-visual,.quick-edits .compress-visual,.quick-edits .resize-visual{width:34px;height:34px}.quick-edits .crop-visual img{width:34px;height:34px}.quick-edits .compress-visual{padding:7px 6px;gap:4px}.quick-edits .resize-visual span{inset:6px}.quick-edits .resize-visual span:last-child{width:15px;height:12px;right:6px;bottom:6px}}
@media(max-width:365px){.pdf-feature{padding:18px}.pdf-feature h2{font-size:20px}.pdf-feature-actions a{font-size:10.5px;padding:10px 5px}.pdf-feature p{font-size:11.5px}}

/* Keep the compact footer at the viewport bottom on short pages, in flow on long pages. */
.content-column{display:flex;flex-direction:column;min-height:calc(100svh - var(--header-height))}
.main-content{flex:1;width:100%}
.site-footer{flex-shrink:0}
/* Keep footer links beside the existing Cookies control, including during scrolling. */
@media(max-width:1023px){.site-footer nav{padding-left:88px;flex-wrap:wrap;gap:10px 16px}}
/* Long comparison tables scroll within the article on narrow screens. */
.guide-body table{display:block;max-width:100%;overflow-x:auto}
.guide-body pre{max-width:100%;overflow-x:auto}

/* File privacy refers to the local conversion, not all network activity. */
.file-benefits{display:flex;flex-wrap:wrap;gap:5px 0;margin:0 0 18px;font-size:13px;line-height:1.6;color:var(--text-secondary)}
.file-benefits>span+span:before{content:"·";padding:0 8px;color:var(--text-muted)}
.file-benefits>span:first-child{color:var(--accent);font-weight:650}.file-benefits>span:last-child{color:var(--text-primary);font-weight:600}
.redesign-home .page-intro{margin-bottom:12px}
.redesign-home .file-benefits{margin-bottom:23px}
.tool-header:has(+ .file-benefits){margin-bottom:12px}
.local-engine-note{margin:-12px 0 20px;font-size:10px;line-height:1.6;color:var(--text-secondary)}
@media(max-width:650px){.file-benefits{font-size:13px;gap:3px 0}.file-benefits>span:last-child{flex-basis:100%}.file-benefits>span:last-child:before{content:none}.redesign-home .file-benefits{margin-bottom:18px}}

/* One scalable illustration keeps the before/after bars clear at every size. */
.quick-edits .compress-visual{display:block;padding:0}
.compress-visual>img{display:block;width:100%;height:100%;object-fit:contain}

/* Legal and contact links stay explicit and wrap without enlarging short pages. */
.site-footer{align-items:flex-start;gap:24px}
.footer-brand{display:flex;flex-direction:column;gap:5px;flex-shrink:0;font-size:11px;color:var(--text-secondary)}
.footer-wordmark{font-size:16px;font-weight:750;color:var(--text-primary);line-height:1.2}
.footer-wordmark span{color:var(--accent)}
.site-footer .footer-links{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 20px;max-width:740px}
.footer-links a,.footer-links button{display:inline-flex;align-items:center;min-height:32px;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.footer-links a:hover,.footer-links button:hover{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.info-body .info-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px;list-style:none;padding:0}
.info-links a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:1023px){.site-footer{display:flex;flex-direction:column;gap:16px}.site-footer .footer-links{justify-content:flex-start;padding-left:0;margin:0;gap:6px 18px}}

/* Keep the native menu scrollbar visible, with the active theme's colours. */
.sidebar{scrollbar-width:thin;scrollbar-color:var(--text-muted) var(--header-bg);scrollbar-gutter:stable}
.sidebar::-webkit-scrollbar{width:10px}
.sidebar::-webkit-scrollbar-track{background:var(--header-bg)}
.sidebar::-webkit-scrollbar-thumb{background:var(--text-muted);border:3px solid var(--header-bg);border-radius:999px}
.sidebar::-webkit-scrollbar-thumb:hover{background:var(--accent)}
.sidebar::-webkit-scrollbar-corner{background:var(--header-bg)}
@media(forced-colors:active){.sidebar{scrollbar-color:auto;scrollbar-width:auto}}
