:root{--base:#f3f5f4;--surface:#fff;--ink:#23372f;--muted:#5b6d63;--line:#d9e2dc;--green:#245a48;font-synthesis:none;color:var(--ink);background:var(--base);-webkit-font-smoothing:antialiased;font-family:Avenir Next,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px}*{box-sizing:border-box}body{padding-bottom:var(--consent-height,0px);margin:0}button,input,select{font:inherit}a{color:inherit;text-underline-offset:4px}button,summary{cursor:pointer}button,label,summary,nav,.brand,.action-bar,.workspace-bar,figcaption{-webkit-user-select:none;user-select:none}input[type=number],.file-info,.notice{-webkit-user-select:text;user-select:text}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:none;box-shadow:0 0 0 3px #48866c}[hidden]{display:none!important}h1,h2,h3{text-wrap:balance;line-height:1.25}h1{letter-spacing:-.04em;margin:0 0 12px;font-size:36px;font-weight:650}h2{font-size:24px;font-weight:600}p{text-wrap:pretty}.site-header,main,.site-footer{width:min(1120px,100%);margin:auto;padding-inline:32px}.site-header{justify-content:space-between;align-items:center;gap:16px;height:76px;display:flex}.brand{letter-spacing:-.7px;align-items:center;gap:8px;min-height:44px;font-size:23px;font-weight:650;text-decoration:none;display:flex}.brand-mark{border-radius:9px;flex:none;width:32px;height:32px;display:block}.brand-sub{color:var(--muted);letter-spacing:0;font-size:14px;font-weight:450}.site-header nav{align-items:center;gap:20px;display:flex}.site-header nav a{align-items:center;min-height:44px;font-size:14px;text-decoration:none;display:inline-flex}.language-switch{align-items:center;gap:4px;display:flex}.language-switch svg{stroke:currentColor;stroke-width:1.5px;width:18px;height:18px}.language-switch select{color:inherit;cursor:pointer;background:0 0;border:0;min-height:44px;padding:8px 2px;font-size:16px}.hero{padding:32px 0 28px}.hero-description{max-width:65ch;color:var(--muted);margin:0;line-height:1.7}.converter{background:var(--surface);border-radius:20px;grid-template:"workspace settings"1fr"workspace actions"/minmax(0,1fr) 288px;display:grid;box-shadow:0 0 0 1px #23372f12,0 6px 24px #23372f06}.workspace{grid-area:workspace;min-width:0;padding:24px}.workspace-bar{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:14px;display:flex}.dropzone{text-align:center;cursor:pointer;background:#f8faf8;border:1px dashed #a6bcaf;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:290px;padding:28px 16px;display:flex;position:relative}.dropzone:hover,.dropzone.dragging{border-color:var(--green);background:#eff5f1}.dropzone:focus-within{box-shadow:0 0 0 3px #48866c}.dropzone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.upload-icon{color:var(--green);place-items:center;margin-bottom:4px;display:grid}.upload-icon svg{width:44px;height:44px}.dropzone strong{font-size:19px;font-weight:600}.drop-hint{color:var(--muted);font-size:14px}.file-types{color:var(--muted);margin-top:12px;font-size:12px;line-height:1.6}.dropzone.compact{gap:0;min-height:64px;padding:16px}.dropzone.compact strong{font-size:15px}.dropzone.compact .upload-icon,.dropzone.compact .file-types,.dropzone.compact .drop-hint{display:none}.settings{border-left:1px solid var(--line);grid-area:settings;min-width:0;padding:24px 24px 12px}.settings h2{margin:0 0 14px;font-size:16px}.formats{background:var(--base);border:0;border-radius:12px;grid-template-columns:repeat(3,1fr);gap:4px;margin:0;padding:0;display:grid}.formats label{cursor:pointer;position:relative}.formats input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.formats span{min-height:46px;color:var(--muted);border-radius:9px;place-items:center;font-size:14px;font-weight:600;display:grid}.formats input:checked+span{background:var(--green);color:#fff}.formats input:focus-visible+span{box-shadow:0 0 0 3px #48866c}.formats input:disabled+span{opacity:.55}.setting-help{color:var(--muted);min-height:40px;margin:12px 0 16px;font-size:12px;line-height:1.65}.settings details{border-top:1px solid var(--line)}.settings summary{justify-content:space-between;align-items:center;min-height:48px;font-size:14px;font-weight:600;list-style:none;display:flex}.settings summary::-webkit-details-marker{display:none}.expand-icon{text-align:center;width:20px;font-size:20px;font-weight:400}.settings details[open] .expand-icon{transform:rotate(45deg)}.setting{margin:8px 0 20px}.setting>label{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-size:14px;display:flex}.setting output{font-variant-numeric:tabular-nums}.setting input[type=range]{width:100%;min-height:44px;accent-color:var(--green);margin:0}.range-labels{color:var(--muted);justify-content:space-between;font-size:11px;display:flex}.setting select,.setting input[type=number]{width:100%;min-height:46px;color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:10px;font-size:16px}.setting small{color:var(--muted);margin-top:8px;font-size:12px;line-height:1.65;display:block}.setting input[type=color]{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;width:48px;height:44px;padding:4px}.custom-size{flex-direction:column;margin-top:12px;display:flex;align-items:stretch!important}.action-bar{border-left:1px solid var(--line);flex-direction:column;grid-area:actions;gap:12px;padding:20px 24px 24px;display:flex}#summary{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:1.6}.action-buttons{flex-direction:column;gap:8px;display:flex}.primary,.secondary,.download-button,.text-button{white-space:nowrap;border:0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;min-height:44px;padding:10px 14px;font-size:14px;font-weight:550;text-decoration:none;display:inline-flex}.primary{background:var(--green);color:#fff;min-height:48px}.secondary{background:var(--base);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.text-button{color:var(--muted);background:0 0;padding-inline:10px;font-weight:450}.download-button{color:var(--green);background:#eaf3ed}.primary:hover:enabled{background:#1b493a}.secondary:hover:enabled,.text-button:hover:enabled,.download-button:hover:enabled{color:var(--ink);background:#e4eee7}.primary,.secondary,.download-button{transition:scale .15s ease-out,background-color .12s ease-out}.primary:active:enabled,.secondary:active:enabled,.download-button:active:enabled{scale:.96}.queue{overscroll-behavior:contain;scrollbar-width:thin;max-height:min(560px,55dvh);margin:8px 0 0;padding:0 4px;list-style:none;overflow-y:auto}.queue:empty{display:none}.queue-item{border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) auto 28px;align-items:center;gap:8px;min-height:76px;padding-block:8px;display:grid}.queue-item:last-child{border-bottom:0}.file-preview{place-items:center;width:48px;height:48px;display:grid;position:relative}.file-preview img{opacity:0;border-radius:8px;width:auto;max-width:48px;height:auto;max-height:48px;display:block}.file-preview img.loaded{opacity:1}.file-info{min-width:0}.file-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;line-height:1.5;display:block;overflow:hidden}.file-detail{-webkit-line-clamp:2;min-height:36px;color:var(--muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-top:3px;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.failed .file-detail,.rejected .file-detail{color:#9c382e;display:block;overflow:visible}.stale .file-detail{color:#80601c}.file-actions{justify-content:flex-end;align-items:center;gap:2px;display:flex}.file-actions button{border-radius:6px;min-width:32px;min-height:32px;padding:6px;font-size:12px}.file-actions svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:18px;height:18px;display:none}.file-actions:empty{display:none}.remove-button{grid-area:1/4;min-width:28px;min-height:32px;padding:4px;font-size:20px;font-weight:400}.notice{color:var(--muted);overflow-wrap:anywhere;margin:16px 0 0;font-size:14px;line-height:1.65}.notice:empty{display:none}.notice .download-button{margin-top:8px}.tool-help{color:var(--muted);margin:24px 0;font-size:14px}.tool-help summary{min-height:44px;padding-block:10px}.tool-help p{line-height:1.8}.site-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;padding-block:20px 28px;font-size:12px;display:flex}.site-footer p{margin:0}.site-footer a{align-items:center;min-height:44px;display:inline-flex}.article{max-width:760px;margin:auto;padding:32px 0 56px;line-height:1.85}.article h2{margin-top:32px}.article p,.article li{color:var(--muted)}.article .eyebrow{color:var(--muted);font-size:13px}.back-link{align-items:center;min-height:44px;margin-bottom:16px;font-size:14px;display:inline-flex}.not-found{min-height:65vh}.skip{z-index:30;background:#fff;padding:12px;position:absolute;top:-100px;left:16px}.skip:focus{top:12px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}dialog{background:var(--surface);width:min(1000px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--ink);border:0;border-radius:20px;padding:24px;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#0008}.dialog-top{justify-content:space-between;align-items:center;gap:16px;display:flex}.dialog-top h2{margin:0;font-size:22px}.comparison{grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;display:grid}.comparison figure{flex-direction:column;justify-content:center;align-items:center;min-width:0;margin:0;display:flex}.comparison img{object-fit:contain;border-radius:8px;width:auto;max-width:100%;height:auto;max-height:60dvh}.comparison figcaption{text-align:center;padding:12px;font-size:14px}dialog>p{color:var(--muted);font-size:12px;line-height:1.65}@media (width<=720px){.site-header,main,.site-footer{padding-inline:16px}.site-header{gap:8px;height:64px}.brand-sub{display:none}.site-header nav{gap:8px;min-width:0}.site-header nav a{max-width:60px}.site-header nav a span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.language-switch select{width:88px}.hero{padding:20px 0 22px}h1{letter-spacing:-.02em;margin-bottom:8px;font-size:28px}.hero-description{font-size:14px;line-height:1.7}.converter{border-radius:16px;grid-template-columns:1fr;grid-template-areas:"settings""workspace"}.settings{border:0;padding:20px 16px 0}.settings h2{margin-bottom:10px;font-size:14px}.setting-help{min-height:0;margin:10px 0}.settings summary{min-height:48px}.workspace{border-top:1px solid var(--line);padding:16px}.dropzone{border-radius:10px;gap:8px;min-height:182px;padding:20px 12px}.dropzone strong{font-size:17px}.upload-icon svg{width:36px;height:36px}.drop-hint{display:none}.file-types{margin-top:4px;font-size:12px}.dropzone.compact{min-height:56px}.action-bar{z-index:10;padding:10px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));background:var(--surface);box-shadow:0 -1px 0 var(--line), 0 -4px 20px #23372f05;border:0;gap:6px;position:fixed;inset:auto 0 0}.action-buttons{flex-flow:wrap}.action-buttons>button{white-space:normal;overflow-wrap:anywhere;flex:1;min-width:0;padding-inline:8px;font-size:13px}body:has(.converter){padding-bottom:calc(var(--mobile-actions-height,108px) + var(--consent-height,0px))}.queue-item{scroll-margin-bottom:120px}.file-detail{font-size:12px}.tool-help{margin:16px 0 0}.site-footer{flex-direction:column;align-items:flex-start;gap:2px;padding-block:16px}.article{padding-top:20px}.article h2{font-size:21px}dialog{border-radius:16px;padding:16px}.dialog-top{background:var(--surface);z-index:1;padding-block:8px;position:sticky;top:-16px}.comparison{grid-template-columns:1fr;gap:8px}.comparison img{max-height:30dvh}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.primary:active:enabled,.secondary:active:enabled,.download-button:active:enabled{scale:1}}.processing .file-preview:after,#convert[aria-busy=true]:before{content:"";border:2px solid;border-right-color:#0000;border-radius:50%;flex-shrink:0;width:18px;height:18px;animation:.8s linear infinite spin;display:inline-block}.processing .file-preview:after{z-index:1;color:var(--green);background:#fffd;position:absolute}#convert[aria-busy=true]{gap:8px}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.processing .file-preview:after,#convert[aria-busy=true]:before{animation:none}}@media (width<=980px){.file-actions svg{display:block}.file-actions button span{display:none}}.footer-links{flex-wrap:wrap;align-items:center;gap:4px 16px;display:flex}.footer-links .text-button{text-underline-offset:4px;padding-inline:0;font-size:12px;text-decoration:underline}.consent-bar{z-index:11;background:var(--surface);border-top:1px solid var(--line);padding:14px max(16px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));position:fixed;inset:auto 0 0;box-shadow:0 -4px 20px #23372f08}.consent-inner{align-items:center;gap:24px;width:min(1056px,100%);margin:auto;display:flex}.consent-copy{flex:1;min-width:0;font-size:13px;line-height:1.6}.consent-copy strong{font-weight:600}.consent-copy p{color:var(--muted);margin:3px 0 0}.consent-actions{gap:8px;display:flex}.consent-actions button{white-space:normal;min-height:44px}@media (width<=720px){body:has(.converter) .consent-bar{bottom:var(--mobile-actions-height,108px);padding-bottom:14px}.consent-inner{flex-direction:column;align-items:stretch;gap:10px}.consent-actions button{flex:1}}
