:root{--surface-muted:#f5f6f9;--brand-hover:#243cbd;--brand:#304cde;--paper:#ffffff;--line:#e3e6ee;--ink:#141827}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
body>.header{max-width:none;display:grid;grid-template-columns:minmax(190px,1fr) 1fr minmax(100px,1fr);position:relative;min-height:82px;padding:0 3.25%;border-bottom:1px solid var(--line);border-radius:0;background:var(--paper);box-shadow:none}
.header .brand{grid-column:1;display:flex;align-items:center;gap:12px;font-size:clamp(24px,2.1vw,33px);font-weight:730;letter-spacing:-.05em;color:var(--ink);white-space:nowrap}
.header .brand svg{width:35px;height:35px;color:var(--brand)}
.brand-dot,.header .all-tools::after{display:none}
.header .header-links{display:contents}
.header .all-tools{position:absolute;top:50%;translate:0 -50%;font-size:clamp(15px,1.2vw,18px);font-weight:650;color:var(--ink);background:none;padding:0}
.header .all-tools:first-child{right:calc(50% + 42px)}
.header .all-tools:nth-child(2){left:calc(50% + 25px)}
.header .tier-link{grid-column:3;justify-self:end;color:white;background:var(--ink);border:1px solid var(--ink);border-radius:10px;padding:8px 18px;font-size:clamp(14px,1.2vw,18px);text-decoration:none;white-space:nowrap}
body[data-tool] .tier-link{color:var(--ink);background:none;border-color:var(--line)}
.header .lang-picker,.header .language-picker,.header .language-switch{position:absolute;right:calc(3.25% + 125px)}
main#app{width:100%;max-width:none;padding:0;margin:0}
.home{padding:clamp(20px,2.35vw,36px) 2.6% 36px;max-width:1760px;margin:0 auto}
.home .home-hero{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);align-items:center;gap:24px;text-align:left;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.hero-copy{padding-left:10px}
.home .home-hero h1{font-size:clamp(34px,4.5vw,72px);letter-spacing:-.045em;line-height:1.075;font-weight:760;margin:0 0 .32em;color:var(--ink)}
.home .hero-description{font-size:clamp(16px,1.64vw,25px);line-height:1.4;color:#50596c;margin:0 0 clamp(20px,2.6vw,42px)}
.home .hero-cta,.workspace button.primary,.downloads a.download{background:var(--brand);color:white;border:1px solid var(--brand);box-shadow:none;border-radius:15px;font-weight:650}
.home .hero-cta{width:max-content;padding:.7em 1.45em;font-size:clamp(16px,1.45vw,21px)}
.hero-photo{width:100%;height:auto;display:block;border-radius:20px;filter:saturate(.78);outline:1px solid #1a254610;outline-offset:-1px}
.home .tools-heading{display:block;margin:clamp(26px,3vw,46px) 10px 20px}
.home .tools-heading h2{font-size:clamp(28px,2.7vw,42px);line-height:1.14;margin:0;letter-spacing:-.04em}
.home .tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.2vw,19px)}
.home .tool-card{min-height:clamp(78px,6.9vw,110px);display:flex;align-items:center;gap:clamp(12px,1.4vw,22px);padding:12px clamp(14px,1.65vw,25px);border-radius:15px;border:1px solid var(--line);background:white;box-shadow:0 1px 3px #14214708;color:var(--ink);text-decoration:none}
.home .tool-card:hover{background:#f7f8ff;border-color:#bcc7ff;box-shadow:0 4px 14px #253eaa0c;transform:translateY(-1px)}
.tool-card .task-icon{display:grid;place-items:center;background:var(--surface-muted);color:#354364;width:clamp(36px,3.3vw,52px);height:clamp(36px,3.3vw,52px);border-radius:11px;flex:none}
.tool-card .task-icon svg{width:55%;height:55%}
.tool-card h3{margin:0;font-size:clamp(15px,1.5vw,23px);line-height:1.16;letter-spacing:-.035em}
.tool-card .card-arrow,.tool-card .card-copy p{display:none}
#app .task-nav{justify-content:center;display:flex;flex-wrap:wrap;max-width:none;gap:10px;margin:0;padding:16px 2%;border-bottom:1px solid var(--line)}
#app .task-nav a{font-size:clamp(14px,1.2vw,18px);color:var(--ink);padding:.42em .75em;border:0;background:none;border-radius:14px;font-weight:500;white-space:nowrap}
#app .task-nav a[aria-current]{background:#edf0ff;color:#263dbe;font-weight:650}
#app .tool-heading{max-width:none;margin:clamp(22px,2.7vw,44px) 2.4% clamp(16px,2.15vw,33px);padding:0}
.tool-heading h1{font-size:clamp(30px,3vw,46px);line-height:1.12;margin:0;letter-spacing:-.035em}
#app .workspace{display:grid;grid-template-columns:minmax(225px,26fr) minmax(0,74fr);gap:clamp(14px,1.35vw,22px);align-items:start;max-width:none;margin:0 2.15% 26px}
.workspace .editor-panel,.workspace .preview-panel{min-width:0;box-shadow:0 1px 4px #14214707;background:white;border:1px solid var(--line);border-radius:20px;padding:clamp(14px,1.4vw,23px);position:static}
.workspace .preview-panel{padding:0;border:0;background:none;box-shadow:none}
.workspace .panel-label,.workspace .preview-heading,.workspace .preview-img,.workspace .picked #filename,.workspace .picked #dimensions,.workspace .result-head,.workspace .empty-icon{display:none}
.workspace .picked:not(.hidden){margin:0 0 12px;padding:0;background:none}
.workspace .picked #replace,.workspace .import-actions .import-button,.workspace .import-actions summary{color:var(--ink);background:none;border:1px solid var(--line);padding:13px;width:100%;border-radius:12px;font:inherit;font-weight:600;text-align:center;cursor:pointer}
.workspace .import-actions{display:grid;grid-template-columns:1fr;gap:12px}
.workspace .options{padding:16px 0 3px;border-top:1px solid var(--line);margin-top:20px}
.workspace .options select{width:100%;background:var(--paper);border-color:var(--line);color:var(--ink);font:inherit}
.workspace .run-row .primary{width:100%;padding:12px 10px;font-size:clamp(16px,1.42vw,21px)}
.workspace .run-row .primary:disabled{opacity:1;background:#e8ebf2;border-color:#e8ebf2;color:#5d687b}
.workspace .empty-result,.workspace .result-grid .image-box{background:#f2f4f8;border-radius:18px;box-shadow:none;border:1px solid var(--line)}
.workspace .empty-result{min-height:clamp(280px,40vw,610px)}
.workspace .result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.workspace .result-grid figure{position:relative;min-width:0}
.workspace .result-grid figcaption{position:absolute;z-index:1;top:14px;left:14px;background:#ffffff;color:var(--ink);border-radius:99px;padding:5px 12px;font-weight:650}
.workspace .result-grid .image-box{height:clamp(260px,39vw,610px);border:0;overflow:hidden}
.workspace .result-grid img{width:100%;height:100%;object-fit:contain}
.workspace .downloads{justify-content:flex-end}
.workspace .downloads a.download.secondary{background:none;color:var(--brand)}
.workspace .result-note{text-align:right}
footer{max-width:none;padding:12px 3%;border:0}
#tools,#account{scroll-margin-top:16px}
@media(max-width:780px){body>.header{min-height:64px;padding:0 4%;grid-template-columns:1fr 1fr}.header .tier-link{grid-column:2;padding:7px 12px}.header .brand svg{width:32px;height:32px}.header .all-tools{display:none}.home{padding:20px 4% 28px}.home .home-hero{grid-template-columns:1fr;gap:20px}.hero-copy{padding:0}.home .home-hero h1{font-size:clamp(32px,7vw,52px)}.home .tools-heading{margin-left:0}.home .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home .tool-card{padding:10px;gap:8px;border-radius:14px}.hero-photo{border-radius:16px}#app .workspace{grid-template-columns:1fr;margin-inline:4%}#app .tool-heading{margin-inline:4%}#app .task-nav{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:4px}.workspace .result-grid .image-box{height:clamp(150px,44vw,340px)}}
.workspace .upload-area:has(#upload-empty.hidden){display:none}
.workspace .empty-result:has(.tool-example):not(:has(#stage-placeholder.hidden)){display:block;min-height:0;border:0;background:none}
.workspace #stage-placeholder:has(.tool-example)>strong,.workspace #stage-placeholder:has(.tool-example)>p{display:none}
.workspace .tool-example figcaption{margin-top:6px;text-align:right;color:#50596c}
.workspace .mode-choices{display:grid;gap:4px;margin-top:8px}
.workspace .options .mode-choices label{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:10px;font-size:clamp(14px,1.35vw,20px);color:var(--ink);cursor:pointer}
.workspace .mode-choices label:has(input:checked){background:#edf0ff}
.workspace .mode-choices input{accent-color:var(--brand)}
@media(max-width:960px){.header .language-picker{display:none}}
body>.header{height:82px}
.home .home-hero::before,.home .home-hero::after{display:none}
.home .hero-description{max-width:none;font-size:clamp(16px,1.42vw,21px)}
.home .tool-card{flex-direction:row;justify-content:flex-start;text-align:left}
#app .workspace{padding:0;border:0;background:none;box-shadow:none}
#app .task-nav{padding-block:10px}
.workspace .empty-result:has(.tool-example):not(:has(#stage-placeholder.hidden)){padding:0}
.workspace .options{display:block}
.workspace .options>label{display:block;margin:0;font-size:16px;font-weight:650}
.workspace .options .mode-choices label{justify-content:flex-start;text-align:left;min-height:44px}
.workspace .options .mode-choices input{width:18px;height:18px;margin:0;flex:none}
.workspace .upload-area{min-height:0;background:none;padding:0;border:0}
.workspace #upload-empty{width:100%}
.workspace #upload-empty .upload-icon{display:none}
.workspace #choose{width:100%;margin:0;background:var(--surface-muted);border:1px solid var(--line);font-weight:650;color:var(--ink);font-size:clamp(16px,1.45vw,22px);padding:12px;border-radius:12px}
.workspace #upload-empty p,.workspace #upload-empty small{font-size:12px;line-height:1.3;margin:4px 0;color:#50596c}
.workspace .import-actions .import-button,.workspace .import-actions summary,.workspace .picked #replace{display:block;text-align:center;font-size:clamp(15px,1.4vw,21px)}
.workspace .import-actions summary::after{display:none}
.workspace .import-actions .url-details{width:100%}
.workspace .run-row{margin-top:16px}
@media(max-width:780px){body>.header{height:64px}}
.home .tool-card{flex-wrap:nowrap;align-content:normal}
.home .tool-card .card-copy{flex:1 1 auto;width:auto;min-width:0}
.workspace .run-row .primary{justify-content:center;text-align:center}
body[data-tool="deblur"] .workspace .import-actions{grid-template-columns:1fr 1fr;gap:8px}
body[data-tool="deblur"] .workspace .import-actions:has(details[open]){grid-template-columns:1fr}
body[data-tool="deblur"] .workspace .import-actions .import-button,body[data-tool="deblur"] .workspace .import-actions summary{font-size:clamp(14px,1.2vw,20px);border:0;padding-inline:4px}
.workspace .result-grid.is-comparison{--split:50%;grid-template-columns:1fr;gap:0;position:relative;overflow:hidden;border-radius:18px}
.result-grid.is-comparison figure{grid-area:1/1}
.result-grid.is-comparison figure:first-child{z-index:1;clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.result-grid.is-comparison figure:nth-child(2) figcaption{left:auto;right:14px}
.result-grid.is-comparison .comparison-slider{position:absolute;z-index:3;inset:50% 0 auto;width:100%;margin:0;height:48px;translate:0 -50%;appearance:none;background:transparent;opacity:0;cursor:ew-resize}
.result-grid.is-comparison .comparison-slider::-webkit-slider-thumb{appearance:none;width:2px;height:48px}
.comparison-divider{pointer-events:none;position:absolute;z-index:2;inset:0 auto 0 var(--split);width:2px;background:white;font-size:0}
.comparison-divider::after{content:'‹ ›';font-size:24px;font-weight:750;display:grid;place-content:center;position:absolute;top:50%;left:50%;translate:-50% -50%;width:44px;height:44px;border-radius:50%;background:white;color:var(--brand);white-space:nowrap}
.comparison-slider:focus-visible+.comparison-divider::after{outline:3px solid var(--brand);outline-offset:3px}
.seo-content{width:min(860px,92%);margin:36px auto 48px;color:var(--ink)}
.seo-content h2{font-size:clamp(26px,3vw,38px);letter-spacing:-.035em;margin:0 0 14px}
.seo-content details{border-top:1px solid var(--line);padding:14px 0}
.seo-content summary{font-size:17px;font-weight:650;cursor:pointer}
.seo-content details p{margin:8px 0 0;font-size:15px;color:#50596c}
.seo-content nav{border-top:1px solid var(--line);padding-top:18px;display:flex;flex-wrap:wrap;gap:8px 20px}
.seo-content nav a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.initial-copy{padding:24px 3%}
@media(max-width:780px){.header .language-picker{display:block;right:calc(4% + 94px)}.header .language-picker select{max-width:64px;padding-inline:2px}.header .brand{gap:6px}.header .tier-link{font-size:14px}}
.seo-intro{margin:0 0 26px;font-size:16px;color:#50596c}

.home .hero-cta:hover,.workspace .run-row .primary:not(:disabled):hover,.workspace .downloads a.download:not(.secondary):hover{background:var(--brand-hover);color:#fff;border-color:var(--brand-hover)}
.workspace #choose:hover,.workspace .import-actions .import-button:hover,.workspace .import-actions summary:hover{background:#f0f2f8}
.workspace .trial-note,.workspace .run-row p,.workspace .hint,.workspace .result-note{color:#596277}
.workspace .empty-result .status.error,.workspace .status.error{color:#a22c38}
.plan-card,.account-section{border-color:var(--line)}
.pricing-page .pro-card{background:#f7f8ff;border-color:#d8dfff}
.pricing-page #subscribe:not(:disabled){background:var(--brand);color:white;border-color:var(--brand)}
:where(a,button,select,input,summary):focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(max-width:780px){
 .home .tool-card{gap:8px}
 .home .hero-cta{font-size:16px}
 .header .tier-link{padding:7px 12px}
}
.product-guide{margin:0 0 38px;scroll-margin-top:24px}
.product-guide h2{margin-bottom:22px}
.product-guide h3{color:var(--ink);font-size:clamp(18px,2.5vw,22px);margin:22px 0 6px;line-height:1.3;letter-spacing:-.015em}
.product-guide p{font-size:clamp(15px,2vw,16px);line-height:1.75;color:#50596c}
.product-guide section+section{border-top:1px solid var(--line);margin-top:22px}
.guide-tools{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;margin:0}
.guide-tools li{border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.guide-tools h3{margin:0 0 6px}
.guide-tools a{color:var(--brand)}
.guide-tools a:hover{text-decoration:underline;text-underline-offset:3px}
.guide-method{margin-top:23px;background:var(--surface-muted);border:1px solid var(--line);border-radius:12px;padding:13px 16px}
.guide-method strong{font-size:14px;font-weight:650}
.guide-method p{margin:3px 0 0;font-size:14px}
.product-guide .guide-scenarios{margin-top:clamp(30px,4vw,54px);border:0}
.product-guide .guide-scenarios h2{margin-bottom:12px;font-size:clamp(23px,2.5vw,34px)}
.guide-scenario-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product-guide .guide-scenario-grid .guide-community{display:flex;flex-direction:column;margin:0;padding:clamp(12px,1.3vw,18px);border:1px solid #e7eaf2;border-radius:15px;background:#f8f9fc}
.guide-community h3{margin:0 0 6px;font-size:clamp(16px,1.45vw,20px);line-height:1.25}
.scenario-figure{margin:0 0 6px}
.scenario-figure img{display:block;width:100%;height:auto;aspect-ratio:648 / 150;border-radius:9px}
.scenario-labels{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px;font-weight:650;color:#414e68;padding:0 0 4px}
.scenario-figure .scenario-evidence{margin-top:4px;font-size:12px;color:#5b6680}
.scenario-figure dl{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;margin:5px 0 0;font-size:13px;line-height:1.4}
.scenario-figure dt{font-weight:700}
.scenario-figure dd{margin:0;color:#50596c}
body[data-tool] .seo-content .scenario-details{margin-top:auto;border-color:#e5e9f2}
body[data-tool] .seo-content .scenario-details summary{font-size:13px;padding-block:6px}
body[data-tool] .seo-content .scenario-details p{margin:0 0 8px}
@media(max-width:700px){.guide-scenario-grid{grid-template-columns:1fr}}
@supports (grid-template-rows:subgrid){
 @media(min-width:701px){
  .product-guide .guide-scenario-grid .guide-community{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:4px}
 }
}
@media(max-width:640px){.guide-tools{grid-template-columns:1fr}}

/* Shared public navigation and the six tool landing screens. */
html:has(body>.header .header-links){scroll-padding-top:72px}
body>.header:has(.header-links){position:sticky;top:0;height:auto;min-height:60px;display:flex;flex:none;gap:16px;padding:6px max(20px,calc((100% - 1158px)/2));z-index:12;background:#fdfdff;border-color:#dce2ef;box-shadow:0 5px 20px #19244908}
@supports (backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px)){
 body>.header:has(.header-links){background:#fafbffb8;-webkit-backdrop-filter:blur(18px) saturate(145%);backdrop-filter:blur(18px) saturate(145%)}
}
.header .brand{gap:9px;font-size:clamp(25px,2.2vw,33px);font-weight:780;line-height:1}
.brand-mark{width:clamp(28px,2.45vw,36px);height:auto;flex:none}
.brand-wordmark{letter-spacing:-.065em}
.brand-wordmark>span{color:#344bc4;font-weight:700}
.header .header-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:clamp(9px,1.5vw,24px);min-width:0}
.header .tools-menu,.header .header-pricing,.header .tier-link{font-size:14px;font-weight:650;white-space:nowrap}
.header .tools-menu{position:static}
.tools-menu>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:5px 10px;border-radius:10px;cursor:pointer}
.tools-menu>summary::-webkit-details-marker{display:none}
.tools-menu>summary svg{width:14px;height:14px;transition:rotate .18s ease}
.tools-menu[open]>summary svg{rotate:180deg}
.tools-menu[open]>summary,.tools-menu>summary:hover{background:#f0f2fa}
.header .header-pricing{display:inline-flex;align-items:center;min-height:40px;color:#485269}
.header .header-pricing:hover{color:var(--brand)}
.header .tier-link,body[data-tool] .header .tier-link{display:inline-flex;align-items:center;min-height:36px;background:#171d31;border:1px solid #171d31;color:#fff;padding:6px 13px;border-radius:9px}
.header .tier-link:hover,body[data-tool] .header .tier-link:hover{background:#303b57;border-color:#303b57}
.header .language-picker{position:static}
.header .language-picker select{border:1px solid #e4e7ef;background:#fff;font-size:13px;font-weight:600;padding:4px 6px;max-width:115px}
.tools-menu:not([open]) .tools-menu-panel{display:none}
.tools-menu-panel{position:absolute;z-index:4;top:100%;right:max(16px,calc((100% - 1158px)/2));width:min(490px,calc(100vw - 32px));padding:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;border:1px solid #e0e4ef;border-radius:15px;background:#fff;box-shadow:0 16px 40px #202a431c}
.tools-menu-panel a{display:flex;align-items:center;gap:8px;min-height:46px;padding:8px 10px;line-height:1.3;border-radius:9px;font-size:14px;font-weight:600;white-space:normal;overflow-wrap:anywhere}
.tools-menu-panel svg{width:20px;height:20px;flex:none}
.tools-menu-panel a:hover,.tools-menu-panel a[aria-current=page]{background:#f0f2ff;color:var(--brand)}
.home button.hero-cta{border:1px solid var(--brand)}
#app .tool-landing{--page-gutter:clamp(28px,3.55vw,64px);--landing-gap:clamp(32px,3.4vw,64px);grid-template-columns:minmax(0,36fr) minmax(0,64fr);max-width:1260px;padding:0 var(--page-gutter);margin:clamp(36px,3.25vw,55px) auto 0;gap:var(--landing-gap);align-items:start}
.tool-landing .landing-main{min-width:0;padding-top:clamp(5px,1.5vw,24px);container-type:inline-size}
.landing-heading h1{--title-size:clamp(38px,4.75vw,77px);--title-fit:9.5cqi;font-size:clamp(28px,var(--title-fit),var(--title-size));font-weight:790;line-height:1.08;letter-spacing:-.055em;margin:0;color:#12131c;text-wrap:balance}
.landing-heading h1:lang(zh){--title-fit:19cqi}
.landing-heading h1:lang(ja){--title-fit:14cqi}
.landing-heading h1:lang(ko){--title-fit:12cqi}
.landing-heading p{font-size:clamp(17px,1.55vw,26px);line-height:1.36;margin:17px 0 0;color:#414758}
.tool-landing .editor-panel{margin-top:clamp(23px,2.45vw,39px);padding:clamp(20px,2vw,33px);border-radius:23px;background:#f3f4f7;border-color:#d9dce5;box-shadow:none}
.tool-landing .upload-area{background:transparent}
.tool-landing .upload-area.over{background:#e9ecff;outline:2px solid var(--brand);outline-offset:5px}
.tool-landing #upload-empty .upload-icon{display:grid;place-items:center;color:#171821;margin:1px 0 clamp(16px,1.7vw,26px)}
.tool-landing #upload-empty .upload-icon svg{width:clamp(37px,3.85vw,61px);height:clamp(37px,3.85vw,61px)}
.tool-landing #choose{background:var(--brand);border:1px solid var(--brand);color:white;min-height:54px;font-size:clamp(16px,1.55vw,24px);font-weight:700;border-radius:13px}
.tool-landing #choose:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
.tool-landing #upload-empty small{display:block;font-size:clamp(12px,1.08vw,16px);margin:10px 0 0;color:#414758}
body[data-tool] .tool-landing .import-actions{display:grid;grid-template-columns:1fr 1fr;gap:0;border:0;padding:0;margin:19px 0 0}
body[data-tool] .tool-landing .import-actions:has(details[open]){grid-template-columns:1fr;gap:8px}
body[data-tool] .tool-landing .import-actions>.import-button,body[data-tool] .tool-landing .url-details summary{font-size:clamp(12px,1.12vw,17px);font-weight:550;border:0;background:transparent;padding:6px 2px;text-decoration:underline;text-underline-offset:3px}
body[data-tool] .tool-landing .import-actions:not(:has(details[open]))>.import-button{border-right:1px solid #c9cdd8;border-radius:0}
.tool-landing .editor-panel:has(#picked.hidden) :is(.options,.trial-note,.run-row,.hint){display:none}
body:not([data-plan=pro]) .tool-landing .editor-panel:has(#picked.hidden) .batch-switch{display:none}
.tool-landing .preview-panel{min-height:0}
.tool-landing #stage-placeholder{position:relative}
body[data-tool] .seo-content{width:calc(min(100%, 1260px) - 2 * clamp(28px,3.55vw,64px));margin-top:clamp(36px,3.55vw,58px)}
body[data-tool] .seo-content h2{font-size:clamp(29px,2.95vw,47px);line-height:1.1;color:#12131c}
body[data-tool] .product-guide{border-bottom:1px solid var(--line);padding-bottom:30px;margin-bottom:27px}
.landing-guide-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:24px}
.product-guide .landing-guide-columns section{display:flex;gap:15px;align-items:flex-start;margin:0;border-top:0}
.product-guide .landing-guide-columns section+section{border-left:1px solid var(--line);padding-left:22px}
.landing-guide-columns h3{margin:0 0 7px}
.landing-guide-icon{flex:none;color:#171821}
.landing-guide-icon svg{width:clamp(25px,2.55vw,40px);height:clamp(25px,2.55vw,40px)}
body[data-tool=white-background] .landing-guide-columns{background:#f3f4f7;border-radius:16px;padding:20px}
@media(max-width:850px){
 body>.header:has(.header-links){min-height:56px;padding-inline:16px}
 .header .tools-menu{position:static}
 .tools-menu-panel{top:100%;left:auto;right:16px}
 #app .tool-landing{--page-gutter:20px;--landing-gap:22px;grid-template-columns:1fr;margin-top:27px}
 .tool-landing .landing-main{padding-top:0}
 .tool-landing .editor-panel{margin-top:20px}
 .landing-guide-columns{grid-template-columns:1fr;gap:14px}
 .product-guide .landing-guide-columns section+section{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}
 body[data-tool] .seo-content{width:calc(100% - 40px)}
}
@media(max-width:510px){
 html:has(body>.header .header-links){scroll-padding-top:92px}
 body>.header:has(.header-links){flex-wrap:wrap;row-gap:0;padding-block:5px 4px}
 .header .header-links{flex:1 0 100%;justify-content:flex-start;flex-wrap:wrap}
 .header .brand{font-size:22px;gap:7px}
 .brand-mark{width:24px}
 .tools-menu>summary{padding-inline:5px}
 .tools-menu>summary,.header .header-pricing{min-height:34px}
 .header .language-picker{margin-inline-start:auto!important}
 .header .language-picker select{max-width:93px;font-size:12px}
 .header .tier-link,body[data-tool] .header .tier-link{min-height:34px;padding-inline:8px;font-size:13px}
 .tools-menu-panel a{padding-inline:6px}
}
#app .tool-landing{min-height:0}
@media(min-width:851px){
 body[data-tool=white-background] .landing-heading h1{--title-size:clamp(39px,3.9vw,63px)}
 body[data-tool=white-background] .tool-landing .editor-panel{max-width:426px;background:#fff}
}
.sample-comparison{--split:50%;position:relative;isolation:isolate;aspect-ratio:16 / 9;overflow:hidden;background:#edf0f5;border-radius:25px;outline:1px solid #17182118;outline-offset:-1px}
.sample-comparison.transparent-comparison{background-color:#fff;background-image:conic-gradient(#e0e3ea 25%,#fff 0 50%,#e0e3ea 0 75%,#fff 0);background-size:24px 24px}
.sample-comparison img,.sample-before{position:absolute;inset:0;width:100%;height:100%}
.sample-comparison img{display:block;object-fit:cover;object-position:center;max-width:none;max-height:none}
body[data-tool=restore] .sample-comparison img{object-position:center 36%}
.sample-before{background:#edf0f5;clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.sample-label{position:absolute;z-index:1;top:16px;padding:4px 13px;background:#fff;color:#171821;font-size:clamp(12px,1.2vw,17px);font-weight:650;border-radius:99px;pointer-events:none}
.before-label{left:16px}
.after-label{right:16px}
.sample-comparison .comparison-slider{position:absolute;z-index:3;inset:calc(50% - 26px) 0 auto;width:100%;height:52px;margin:0;appearance:none;background:transparent;opacity:0;cursor:ew-resize;touch-action:pan-y}
.sample-comparison .comparison-slider::-webkit-slider-thumb{appearance:none;width:1px;height:48px}
.sample-comparison .comparison-slider::-moz-range-thumb{width:1px;height:48px;border:0}
.sample-comparison .comparison-divider{z-index:2;left:clamp(1px,var(--split),calc(100% - 1px))}
.sample-comparison .comparison-divider::after{box-shadow:0 1px 8px #17182135}
.tool-example .example-caption{margin:8px 0 0;color:#50596c;font-size:13px;line-height:1.55;text-wrap:pretty}
.example-caption a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:850px){
 .sample-comparison{border-radius:16px;aspect-ratio:3 / 2}
 .sample-comparison .comparison-divider::after{width:36px;height:36px}
 .sample-label{top:9px;padding:2px 9px}
 .before-label{left:9px}
 .after-label{right:9px}
}




@media(min-width:851px){
 #app .tool-landing:has(#stage-placeholder:not(.hidden)){align-items:end;overflow:visible}
 .tool-landing .empty-result:has(#stage-placeholder:not(.hidden)){overflow:visible}
 .tool-landing:has(#stage-placeholder:not(.hidden)) .landing-main{padding-top:0}
 .tool-landing:has(#stage-placeholder:not(.hidden)) .editor-panel{margin-top:clamp(22px,2vw,32px)}
 .tool-landing .tool-example .example-caption{position:absolute;top:100%;inset-inline:0}
}

body[data-tool] {
 --tool-glow: #ecefff;
 background: radial-gradient(ellipse 740px 450px at 52% 72px,var(--tool-glow),transparent 95%), var(--paper);
}
body:is([data-tool=restore],[data-tool=watermark]) {--tool-glow:#f5edf2}
body:is([data-tool=remove-background],[data-tool=white-background]) {--tool-glow:#eaf0f6}
#app .tool-landing {margin-top:clamp(36px,4.5vw,68px)}
#app .tool-landing .editor-panel {
 background:linear-gradient(165deg,#fff 8%,#f7f8fc);
 border-color:#dfe3ef;
 box-shadow:0 7px 22px #252f5310;
}
.tool-landing #upload-empty .upload-icon {
 width:58px;
 height:58px;
 margin-inline:auto;
 border:1px solid #e5e8f5;
 border-radius:15px;
 background:#eff2fd;
 color:#34467b;
}
.tool-landing #upload-empty .upload-icon svg {width:31px;height:31px}
.tool-landing #choose {box-shadow:0 5px 12px #263cb727}
.tool-landing .sample-comparison {box-shadow:0 9px 25px #151e3320}
.tool-landing .sample-comparison:has(.comparison-slider:focus-visible) {outline:3px solid var(--brand);outline-offset:4px}
.tool-landing .sample-label {border:1px solid #252e4216}

body[data-tool] .seo-content {margin-top:clamp(58px,5.5vw,86px)}
body[data-tool] .seo-content h2 {font-size:clamp(26px,3vw,40px);text-wrap:balance}
.landing-guide-columns,body[data-tool=white-background] .landing-guide-columns {gap:12px;padding:0;background:none}
.product-guide .landing-guide-columns section,
.product-guide .landing-guide-columns section+section {
 margin:0;
 padding:clamp(14px,1.7vw,24px);
 gap:12px;
 border:1px solid #e7eaf2;
 border-radius:15px;
 background:#f8f9fc;
}
.landing-guide-icon {color:#415382}
.product-guide .landing-guide-columns h3 {margin:0 0 6px}
body[data-tool] .seo-content details {padding:0}
body[data-tool] .seo-content details summary {
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:16px;
 list-style:none;
 padding:14px 2px;
}
body[data-tool] .seo-content details summary::-webkit-details-marker {display:none}
body[data-tool] .seo-content details summary::after {
 content:"";
 width:7px;
 height:7px;
 flex:none;
 margin-inline-end:4px;
 border:solid #4b5c86;
 border-width:0 1.5px 1.5px 0;
 rotate:45deg;
}
body[data-tool] .seo-content details[open] summary::after {rotate:225deg}
body[data-tool] .seo-content details p {margin:0 0 15px;max-width:75ch}

.site-footer {
 display:block;
 width:100%;
 padding:0;
 border-top:1px solid #e7eaf2;
 background:#f4f6fb;
 color:#49536a;
 font-size:14px;
 letter-spacing:normal;
}
.site-footer-inner {
 display:grid;
 grid-template-columns:minmax(150px,1fr) 2fr minmax(125px,.85fr);
 gap:28px;
 max-width:1222px;
 margin:auto;
 padding:36px 32px 40px;
}
.footer-brand {
 align-self:start;
 justify-self:start;
 color:var(--ink);
 font-size:24px;
 font-weight:780;
 line-height:1.2;
 letter-spacing:-.045em;
}
.footer-tools h2 {margin:0 0 8px;color:var(--ink);font-size:14px}
.footer-tools ul {list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;padding:0;margin:0}
.footer-utility {display:grid;justify-items:start;align-content:start;gap:4px}
.site-footer a:not(.footer-brand),.site-footer .cookie-reopen {display:inline-block;padding-block:3px}
.site-footer .cookie-reopen {
 position:static;
 padding-inline:0;
 border:0;
 border-radius:0;
 background:transparent;
 color:inherit;
 font:inherit;
 text-align:start;
}
.site-footer a:hover,.site-footer .cookie-reopen:hover {color:var(--brand);text-decoration:underline;text-underline-offset:3px}
@media(max-width:850px) {
 #app .tool-landing {margin-top:29px}
 body[data-tool] .seo-content {margin-top:36px}
}
@media(max-width:580px) {
 .site-footer-inner {grid-template-columns:1fr;gap:20px;padding:26px 20px 30px}
 .footer-utility {display:flex;flex-wrap:wrap;gap:6px 18px;border-top:1px solid #dfe4ef;padding-top:12px}
}
@media(prefers-reduced-motion:reduce) {
 .tools-menu>summary svg {transition:none}
}

/* Public pages share the tool workspace's reading width and horizontal grid. */
#app .home {
 width:min(100%,1260px);
 max-width:none;
 margin:0 auto;
 padding:clamp(28px,4vw,64px) clamp(20px,3.55vw,64px) 0;
}
.home .home-hero{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:clamp(22px,5vw,78px)}
.home .hero-copy{padding:0;min-width:0}
.home .home-hero h1{font-size:clamp(34px,4vw,60px);line-height:1.09;text-wrap:balance}
.home .home-hero h1:lang(zh){font-size:clamp(32px,3.35vw,52px)}
.home .hero-description{font-size:clamp(16px,1.5vw,21px);margin-bottom:24px}
.home a.hero-cta{display:inline-flex;align-items:center;min-height:44px;padding:9px 17px;font-size:15px;border-radius:10px}
.home .hero-photo{aspect-ratio:16/9;object-fit:cover;filter:none;border-radius:18px;box-shadow:0 6px 20px #18243a13}
body:has(.home) .seo-content{width:calc(min(100%,1260px) - 2 * clamp(20px,3.55vw,64px));margin-top:clamp(34px,5vw,68px)}
body:has(.home) .guide-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
.guide-tools li{background:#fff;transition:border-color .16s ease}
.guide-tools li:focus-within,.guide-tools li:hover{border-color:#a6b2dc}

/* The single-line caption stays attached to the image across locales. */
.workspace .tool-example .example-caption {
 color:#55627a;
 font-size:12px;
 text-align:start;
 line-height:1.5;
}
.workspace .tool-example .example-caption strong{display:inline;color:#29334a;font:inherit;font-weight:650}
.tool-landing .sample-label{font-size:clamp(12px,1vw,15px);font-weight:650}
.tool-landing .sample-comparison{border-radius:18px;box-shadow:0 5px 18px #16203817}
body[data-tool] .tool-landing .import-actions>.import-button,body[data-tool] .tool-landing .url-details summary {
 color:#34425d;
 min-height:36px;
 text-decoration:none;
 text-wrap:balance;
}
body[data-tool] .tool-landing .import-actions>.import-button:hover,body[data-tool] .tool-landing .url-details summary:hover {
 color:#243cbd;
 text-decoration:underline;
}
body[data-tool] .workspace .picked:not(.hidden){
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 column-gap:12px;
 align-items:center;
}
.workspace .picked #filename{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650}
.workspace .picked #dimensions{display:block;grid-column:1;font-size:12px;color:#57637a}
.workspace .picked #replace{grid-column:2;grid-row:1/span 2;width:auto;padding:6px 8px;border-radius:8px;font-size:13px}

#app .pricing-page{width:min(calc(100% - 40px),980px);margin:clamp(28px,4vw,60px) auto}
.pricing-page .page-heading{margin:0 0 20px}
.pricing-page .page-heading h1{font-size:clamp(30px,4vw,52px);line-height:1.12}
.pricing-page .plan-card{padding:clamp(18px,2.4vw,32px);border-radius:15px}
.pricing-page .pro-card{background:#f4f6ff;border-color:#dce3f7}
.pricing-page .plan-card h2{margin:7px 0 0;line-height:1.15;font-variant-numeric:tabular-nums}
.pricing-page .plan-card ul{display:grid;align-content:start;gap:9px;margin:21px 0 23px;line-height:1.45}
.pricing-page .plan-card li{display:grid;grid-template-columns:14px 1fr;gap:8px}
.pricing-page .plan-card li::before{margin:0;color:#4e6196}
.pricing-page .plan-free-button{border-radius:9px}
.pricing-page .plan-free-button:hover{background:#f4f6ff;color:var(--brand)}
.pricing-page .account-section{padding:clamp(16px,2vw,27px);background:#fbfcfe}
.pricing-page .account-section input{background:#fff}
.provider-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}
.provider-actions .import-button{display:block;padding:10px 14px;border:1px solid #dce3f1;border-radius:9px;background:#fff;color:#213455;font-size:14px;font-weight:650}
.account-section .account-actions{gap:8px;flex-wrap:wrap}
.account-section :is(.account-actions,.email-form,.password-form) button.import-button{
 min-height:42px;padding:8px 14px;border:1px solid #dce3ef;border-radius:9px;background:#fff;color:#273654;font-weight:650
}
.account-section #login,.account-section #email-login{background:var(--brand);border-color:var(--brand);color:white}
.account-section :is(#login,#email-login):hover{background:var(--brand-hover);color:white}
.account-section .account-heading{align-items:flex-start}
.account-section .account-heading strong{font-size:17px;line-height:1.2}
.email-form,.password-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-block:10px}
.email-form label,.password-form label{display:grid;gap:4px;flex:1;min-width:min(150px,100%)}
.email-form button,.password-form button{min-height:38px}
.password-settings{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.password-settings summary{cursor:pointer;font-weight:650;color:#243753}

.cookie-page .header-links>a{font-size:14px;font-weight:650;color:#35435f}
.cookie-page .cookie-policy{width:min(calc(100% - 40px),860px);padding:0;margin:clamp(28px,4vw,58px) auto 48px}
.cookie-policy h1{font-size:clamp(32px,4vw,46px);line-height:1.15}
.cookie-policy .policy-date{font-size:13px;color:#52617a;margin:6px 0 14px;font-variant-numeric:tabular-nums}
.cookie-policy .table-wrap{border:1px solid #e0e5ef;border-radius:10px}
.cookie-policy th{background:#f1f4fa;text-align:start}
.cookie-policy td{background:#fff}
.cookie-policy tr:last-child td{border-bottom:0}
.cookie-policy code{word-break:break-word}
.policy-footer{grid-template-columns:1fr auto}
@media(max-width:850px){
 .tool-landing .sample-comparison{aspect-ratio:16/9;border-radius:14px}
}
@media(max-width:700px){
 .home .home-hero{grid-template-columns:1fr;gap:20px}
 body:has(.home) .guide-tools{grid-template-columns:1fr}
 .account-section .provider-actions .import-button{flex:1 0 100%;text-align:center}
 .account-section .password-form label{flex:1 0 100%}
}


/* Task recovery and accessible selection */
#status + button:not([hidden]) { margin-top:8px; }
#painting fieldset { min-width:0; margin:12px 0 0; padding:8px; border:1px solid currentColor; border-radius:8px; }
#painting fieldset label { display:inline-flex; align-items:center; gap:4px; }
#painting input[type=number] { width:4rem; }
.batch-results { overflow-wrap:anywhere; margin:12px 0; }
.batch-results li { margin:6px 0; }

.pricing-page .pricing-offers{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.pricing-page .pricing-offers .plan-name{font-size:15px;line-height:1.4;margin:0}
.pricing-page .plan-price{font-size:clamp(27px,3.5vw,38px);font-weight:650;line-height:1.15;margin:7px 0 4px;font-variant-numeric:tabular-nums}
.pricing-page .plan-price span{font-size:13px;font-weight:500;margin-inline-start:6px}
.pricing-page .credit-card{background:#f0f3ff;border-color:#aebce8;scroll-margin-top:95px}
.pricing-page .credit-card .plan-name{color:var(--brand)}
.pricing-page .credit-card ul{flex:0}
.pricing-page .credit-card [data-credit-pack="10"]{margin-top:auto}
.pricing-page .credit-single{background:transparent;margin-top:9px;min-height:44px}
.pricing-page .credit-single:disabled{opacity:.55;cursor:default}
.pricing-page .account-status:empty{margin:0}
.quota-purchase{display:inline-block;margin-top:7px;color:var(--brand);font-weight:650;text-decoration:underline;text-underline-offset:3px}
@media(max-width:820px){.pricing-page .pricing-offers{grid-template-columns:1fr;max-width:560px;margin-inline:auto}}
