/* Final reference: shared page structure and theme-specific visual identity. */
:root{--gradient-end:#a96cf5;--flow-blue:#2185eb;--flow-green:#08a96d}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;background:#f9faff}
.preview-strip{min-height:21px;font-size:9px;letter-spacing:.035em}.preview-strip .wrap{min-height:21px}
.brand-stage{color:var(--hero-ink);background:radial-gradient(ellipse at 85% 35%,#ffffff28,transparent 45%),linear-gradient(120deg,var(--gradient-start),var(--gradient-mid) 64%,var(--gradient-end))}
body[data-product="pdf"] .brand-stage{background:radial-gradient(ellipse at 16% 45%,#fff1caf5 0%,#fff1cae0 30%,#fff1ca00 78%),linear-gradient(120deg,#805100,#e5a622 60%,#ffe08a)}
.header{color:var(--hero-ink);background:#ffffff03;border-bottom:1px solid var(--hero-line)}.header-inner{height:65px;gap:20px}.brand-subtitle{color:var(--hero-muted);font-size:13px}.brand-name{font-size:26px}.header nav{gap:25px}.header nav a{color:var(--hero-ink);font-weight:550}.header nav a:hover{text-decoration:underline;color:inherit;text-underline-offset:5px}.header-actions{display:flex;align-items:center;gap:27px}.product-logo{box-shadow:inset 0 0 0 1px #fff6,0 4px 16px #fff2;width:43px;height:43px}
.live,.status-row .live,body[data-product="pdf"] .status-row .live{display:inline-flex;align-items:center;gap:9px;color:#a6f5ca;background:#123e35b8;border:1px solid #a0f5c841;font-weight:650;font-size:12px;white-space:nowrap;padding:7px 12px;border-radius:9px}.live i,body[data-product="pdf"] .live i{width:9px;height:9px;background:#47e79c;box-shadow:none;border-radius:50%}.header-live{border-radius:30px;padding:7px 16px}.menu-toggle{color:var(--hero-ink);border-color:var(--hero-line)}
.hero,body[data-product="pdf"] .hero{background:transparent}.hero::after{opacity:.38}.hero-inner{min-height:398px;padding-top:22px;padding-bottom:25px;gap:22px;grid-template-columns:1fr 1.04fr}.hero h1{font-size:clamp(35px,3.85vw,54px);line-height:1.09;letter-spacing:-1.4px;margin:0 0 16px}.hero-description{font-size:17px;line-height:1.65;margin-bottom:17px;max-width:555px}.status-row{margin-bottom:17px}.status-row>span{font-size:11px;padding:7px 10px}.hero-actions .button{font-size:14px;padding:11px 19px;min-height:46px}.hero-footnote{font-size:11px;margin-top:16px;gap:13px;flex-wrap:wrap;align-items:center}.hero-footnote>span{font-size:11px;border-left:1px solid var(--hero-line);padding-left:13px;opacity:1}.scene{height:354px}.scene-caption{font-size:9px}.photo-panel{top:25px;left:23%;width:68%;height:274px;transform:rotate(3deg);border-color:#fff7;box-shadow:0 0 0 5px #ccb0ff44,0 16px 40px #2512535c}.image-backplane{top:19px;transform:rotate(-8deg)}.editing-toolbar{top:36px;left:0;transform:rotate(2deg);width:110px;padding:10px 11px}.editing-toolbar span{height:32px}.image-thumbnail{height:136px;width:170px;bottom:17px;right:-1%;transform:rotate(-11deg)}.dimensions-chip{bottom:5px;right:0}.conversion-chip{right:0;top:15px;padding:8px 11px;font-size:11px}.image-thumbnail img{height:100px}.image-scene .scene-caption{bottom:-10px}.before-label,.after-label{font-size:8px}
main{padding:24px 0 20px}.section{margin-bottom:20px}.section-heading{margin-bottom:12px;gap:16px}.section-heading h2{font-size:22px;letter-spacing:-.45px}.section-heading p{font-size:11px}.features-grid{gap:11px;grid-template-columns:repeat(7,minmax(0,1fr))}.count-8{grid-template-columns:repeat(8,minmax(0,1fr))}.feature-card{padding:14px 15px;min-height:146px;border-radius:14px;box-shadow:0 5px 20px #29294404;transition:transform .16s,box-shadow .16s}.feature-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #29294412}.feature-icon{width:36px;height:36px;margin-bottom:10px}.feature-card h3{font-size:13px;margin-bottom:5px}.feature-card p{font-size:11px;line-height:1.65}
.workflow-section{padding:20px 22px 16px;border:1px solid color-mix(in srgb,var(--accent) 19%,white);border-radius:20px;background:linear-gradient(110deg,color-mix(in srgb,var(--tint) 78%,white),color-mix(in srgb,var(--tint) 88%,white));box-shadow:0 8px 30px #43397b05}.workflow-heading{margin:0 7px 14px}.workflow-heading h2{font-size:23px;line-height:1.3;margin:0 0 6px;letter-spacing:-.4px}.workflow-heading p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.workflow-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}.workflow-card{position:relative;background:#ffffffd9;border:1px solid #e8e8f4;border-radius:14px;padding:17px 15px 14px;display:flex;flex-direction:column;min-width:0;box-shadow:0 5px 16px #32265d04}.workflow-card-heading{display:flex;align-items:center;gap:9px;min-height:48px}.step-number{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;font-size:14px;font-weight:750;flex-shrink:0;color:#fff;background:linear-gradient(135deg,var(--gradient-end),var(--gradient-mid));box-shadow:0 4px 9px #3822741d}.workflow-card-heading>div{flex:1;min-width:0}.workflow-card h3{font-size:14px;line-height:1.3;margin:0 0 4px;letter-spacing:-.2px}.workflow-card-heading small{font-size:10px;line-height:1.5;display:block;color:var(--accent);font-weight:650}.workflow-icon{width:39px;height:43px;border-radius:10px;display:grid;place-items:center;background:var(--tint);color:var(--accent);flex-shrink:0}.workflow-icon .icon{width:28px;height:28px}.workflow-card p{font-size:11px;line-height:1.75;color:var(--muted);margin:10px 0 12px;flex:1}.technical-tag{display:block;font-size:10px;line-height:1.5;padding:4px 7px;border-radius:6px;color:var(--accent);background:var(--tint);overflow-wrap:anywhere}.flow-arrow{position:absolute;right:-27px;top:48%;color:var(--muted);width:24px;text-align:center}.flow-arrow .icon{width:19px;height:19px}.step-2 .step-number{background:linear-gradient(135deg,#51bdff,#2168df)}.step-2 .workflow-icon,.step-2 .technical-tag{background:#e9f3ff;color:#2168df}.step-2 .workflow-card-heading small{color:#2168df}.step-4 .step-number{background:linear-gradient(135deg,#4ce0a6,#00a66c)}.step-4 .workflow-icon{color:#00a66c;background:#e6f8f0}.workflow-bottom{display:flex;align-items:start;gap:9px;margin:13px 7px 6px}.workflow-bottom strong{font-size:12px;line-height:1.8;font-weight:700}.workflow-bulb{background:#fff2b3;color:#ab7400;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex-shrink:0}.workflow-bulb .icon{width:17px;height:17px}.workflow-context{font-size:10px;line-height:1.7;color:var(--muted);margin:0 7px}
.more-tools{padding:0}.more-tools .section-heading{margin-bottom:10px}.tools-grid{gap:12px}.tool-card{padding:12px 15px;border-radius:12px;min-height:67px}.tool-copy strong{font-size:13px}.tool-copy small{font-size:10px}.tool-logo{width:36px;height:36px}.current-label{align-self:center;font-size:10px;white-space:nowrap;margin:0;padding:6px 8px}.tool-card.current{background:#fff;border-color:var(--accent)}
.footer{background:#121a35}.footer-main{min-height:86px;grid-template-columns:160px minmax(240px,1fr) auto auto;gap:20px;padding:16px 0}.pocket-brand{flex-direction:row;align-items:center;gap:3px;justify-content:flex-start;min-height:36px;flex-wrap:wrap}.pocket-brand img{width:120px;height:auto}.pocket-network-word{font-size:10px;letter-spacing:.02em;margin:0;color:#fff}.footer-copy{padding-left:18px;max-width:none}.footer-copy strong{font-size:11px}.footer-copy p{font-size:10px;margin-top:3px;line-height:1.7}.footer nav{display:flex;gap:15px;white-space:nowrap}.footer nav a{font-size:10px}.footer-official{display:flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap;text-decoration:none;color:#d1d2e5}.footer-official .icon{width:15px;height:15px}.footer-bottom{font-size:8px;padding:7px 0}.footer-doc-link{text-underline-offset:3px}
@media(min-width:1550px){.hero-inner{min-height:418px}.hero h1{font-size:58px}}
@media(max-width:1200px){.header-actions{gap:18px}.header nav{gap:18px}.brand-name{font-size:24px}.header-live{font-size:10px;padding:7px 11px}.hero-inner{gap:14px}.hero h1{font-size:44px}.hero-description{font-size:15px}.workflow-grid{gap:22px}.workflow-card{padding:15px 11px}.workflow-icon{width:31px}.workflow-icon .icon{width:24px}.workflow-card h3{font-size:12px}.workflow-card-heading{gap:7px}.flow-arrow{right:-21px;width:20px}.flow-arrow .icon{width:16px}.features-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.feature-card{min-height:138px}.footer-main{grid-template-columns:150px minmax(240px,1fr) auto}.footer-official{display:none}.footer nav{gap:12px;grid-column:auto}.footer-copy{padding-left:15px}.current-label{display:block}}
@media(max-width:920px){.brand-subtitle{display:none}.header-actions{gap:12px}.header nav{gap:16px}.header nav a{font-size:12px}.header-live{font-size:10px}.workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.flow-arrow{display:none}.workflow-card{padding:17px}.workflow-card h3{font-size:14px}.workflow-card p{font-size:12px}.workflow-icon{width:39px}.workflow-icon .icon{width:28px}.workflow-card-heading small,.technical-tag{font-size:11px}.workflow-context{font-size:11px}.footer-main{grid-template-columns:150px 1fr;gap:16px}.footer nav{grid-column:2;flex-wrap:wrap}.current-label{display:none}}
@media(max-width:820px){.hero-inner{grid-template-columns:1fr;gap:12px;padding-top:30px;padding-bottom:22px}.hero-copy{max-width:650px}.hero h1{font-size:46px}.hero-description{font-size:17px}.scene{height:350px;width:min(540px,100%);margin:0 auto;transform:none}.status-row>span{font-size:11px}.hero-footnote{gap:10px}.hero-footnote>span{padding-left:10px}.workflow-heading{margin-left:0;margin-right:0}.tool-copy strong{font-size:13px}.tool-card{padding:13px 15px}.current-label{display:block}.footer-main{grid-template-columns:1fr;gap:14px;padding:22px 0}.footer-copy{padding-left:0;border-left:0}.footer nav{grid-column:auto}.footer-copy strong{font-size:13px}.footer-copy p{font-size:12px}.footer nav a{font-size:12px}.footer-official{display:flex}.footer-bottom{font-size:9px}.section-heading p{text-align:left}}
@media(max-width:720px){.header-inner{height:63px}.brand-name{font-size:21px}.brand{gap:9px}.product-logo{width:36px;height:36px;border-radius:10px}.product-logo .icon{width:24px;height:24px}.header-actions{gap:9px}.header-live{font-size:9px;padding:6px 8px;gap:6px}.header-live i{width:7px;height:7px}.menu-toggle{display:block;padding:7px}.menu-toggle .icon{width:21px;height:21px}.header nav{display:none;position:absolute;top:84px;left:18px;right:18px;padding:18px;background:var(--gradient-start);border:1px solid #fff4;border-radius:12px;z-index:20;box-shadow:0 12px 30px #17102b55;flex-direction:column;align-items:start;gap:18px}.header nav.is-open{display:flex}.header nav a{color:#fff;font-size:14px}.hero h1{font-size:42px}.workflow-grid{grid-template-columns:1fr;gap:30px}.workflow-card{padding:18px;min-height:168px}.flow-arrow{display:block;right:auto;left:calc(50% - 11px);top:auto;bottom:-28px;transform:rotate(90deg);width:22px;height:23px}.flow-arrow .icon{width:21px;height:21px}.workflow-card h3{font-size:15px}.workflow-card p{font-size:12px;margin:10px 0}.workflow-heading h2{font-size:22px}.workflow-heading p{font-size:12px}.workflow-section{padding:18px 15px}.workflow-bottom{margin:15px 0 7px}.workflow-context{margin:0}.workflow-bottom strong{font-size:12px}.workflow-grid .step-number{width:32px;height:32px}.workflow-icon{width:42px;height:42px}.workflow-card-heading{min-height:44px}.workflow-card-heading small{font-size:11px}.technical-tag{font-size:11px}.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-card{min-height:150px}.feature-card h3{font-size:14px}.feature-card p{font-size:12px}.section-heading h2{font-size:22px}.hero-actions .button{font-size:13px;padding:10px 13px}.hero-footnote{font-size:10px}.hero-footnote>span{font-size:10px}.footer nav{gap:18px}.section-heading p{font-size:11px}.image-scene .scene-caption{bottom:-4px}.scene{height:338px}.photo-panel{height:238px}.image-comparison{height:193px}}
@media(max-width:400px){.header-live{display:none}.hero h1{font-size:36px}.hero-description{font-size:15px}.hero-actions{gap:7px}.hero-actions .button{font-size:12px;padding:9px 11px}.hero-actions .button .icon{width:16px;height:16px}.hero-actions .button-arrow{display:none}.hero-footnote{gap:8px}.hero-footnote>span{padding-left:8px}.status-row{gap:6px}.status-row>span{font-size:9px;padding:6px 7px}.hero .scene{height:300px}.editing-toolbar{width:91px;top:37px;padding:9px 8px}.editing-toolbar span{height:27px;font-size:8px;gap:6px}.editing-toolbar .icon{width:14px;height:14px}.photo-panel{left:28%;top:29px;height:205px;width:70%}.image-comparison{height:160px}.photo-panel .panel-topbar{height:24px}.image-thumbnail{width:128px;height:109px;right:0;bottom:22px}.image-thumbnail img{height:79px}.conversion-chip{top:6px;font-size:9px;padding:7px 9px}.dimensions-chip{bottom:8px;padding:7px 9px;font-size:10px}.scene-caption{font-size:8px}.workflow-card{padding:15px}.workflow-card h3{font-size:14px}.tool-card{padding:12px 10px;gap:8px}.tool-copy strong{font-size:12px}.current-label{font-size:8px;padding:5px}.tool-copy small{font-size:10px}.features-grid{gap:10px}.feature-card{padding:14px 12px}}

body[data-product="image"] .hero::before{opacity:.08}.workflow-card{min-height:180px}
body[data-product="pdf"] .step-1 .step-number,body[data-product="pdf"] .step-3 .step-number{color:#4a3105}
@media(max-width:720px){.feature-card{min-height:160px}}
@media(min-width:361px) and (max-width:400px){.header-live{display:inline-flex}.brand-name{font-size:19px}.header-inner{gap:10px}.header-actions{gap:7px}}

/* Bounded integration-entry revision; footer and shared layout stay unchanged. */
.feature-more{display:block;color:inherit;text-decoration:none;cursor:pointer}.feature-more:hover h3{text-decoration:underline;text-underline-offset:4px}.status-row .network-status{opacity:.86}

/* English preview: metadata is plain text, separate from action buttons. */
.status-row{gap:15px;margin-bottom:22px}
.status-row>span{border:0;border-radius:0;background:none;backdrop-filter:none;padding:0;box-shadow:none;color:var(--hero-muted);font-size:13px;cursor:default}
.status-row .network-status{opacity:1;gap:9px;font-weight:600}
.network-dot{width:8px;height:8px;flex-shrink:0;display:inline-block;border-radius:50%;background:#45e69a;box-shadow:0 0 0 3px #45e69a12}
.status-row .service-id{border-left:1px solid var(--hero-line);padding-left:15px;gap:7px}
.meta-label{opacity:.78}.service-id b{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:600}
.hero-actions .button{font-size:13px;padding:11px 15px}
.hero h1{font-size:clamp(35px,3.6vw,52px)}
.workflow-card h3{font-size:13px}.workflow-card-heading small{font-size:10px}
.current-label{font-size:9px}.tool-copy strong{font-size:12px}
@media(max-width:720px){.status-row{gap:11px}.status-row>span{font-size:12px}.status-row .service-id{padding-left:11px}.service-id b{font-size:11px}.hero-actions .button{font-size:12px;padding:10px 12px}.workflow-card h3{font-size:14px}.workflow-card-heading small{font-size:11px}.hero h1{font-size:42px}}
@media(max-width:400px){.hero h1{font-size:36px}.status-row>span{font-size:11px}.status-row .service-id{gap:5px}.service-id b{font-size:10px}.hero-actions .button{padding:9px 11px}}

/* Shared preview footer: compact attribution with adjacent official link. */
.footer-main{grid-template-columns:minmax(0,1fr) auto;gap:28px}
.footer-copy{border-left:0;padding-left:0}
.footer-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.footer-heading .footer-official{display:inline-flex;color:#aebad8}
.footer-official:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.footer-main nav{grid-column:auto}
@media(max-width:820px){.footer-main{grid-template-columns:1fr;gap:14px}.footer-heading{gap:14px}.footer-heading .footer-official{font-size:12px}}

/* Local preview About modal: scoped styles preserve every other page component. */
#about{width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border-radius:18px;overflow:hidden}
#about[open]{display:flex;flex-direction:column}
#about .about-header{display:flex;align-items:center;gap:14px;position:relative;padding:24px 60px 20px 26px;background:var(--tint);border-bottom:1px solid var(--line);flex-shrink:0}
#about .dialog-icon{width:48px;height:48px;border-radius:13px;background:#fff;display:grid;place-items:center;flex-shrink:0}
#about .dialog-icon .icon{width:27px;height:27px}
#about .about-eyebrow{color:var(--accent-dark);font-size:11px;font-weight:600;letter-spacing:.02em}
#about h2{font-size:25px;margin:4px 0 0;letter-spacing:-.6px}
#about .dialog-close{top:22px;right:22px;background:#fff;color:var(--accent-dark)}
#about .about-body{padding:22px 26px;overflow:auto;overscroll-behavior:contain;min-height:0}
#about #about-description{font-size:14px;line-height:1.75;margin:0 0 23px}
#about h3{font-size:18px;margin:0 0 8px;letter-spacing:-.3px}
#about .about-license-intro{font-size:12px;line-height:1.65;margin:0 0 16px}
#about .about-license{padding:15px 16px;border:1px solid var(--line);border-radius:11px;margin-bottom:11px;background:#fff}
#about .about-license:last-child{margin-bottom:0}
#about .about-license-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
#about h4{font-size:14px;margin:0;font-weight:650}
#about .about-license-heading>span{font-size:10px;line-height:1.6;font-weight:600;color:var(--accent-dark);background:var(--tint);padding:3px 7px;border-radius:5px}
#about .about-copyright{font-size:11px;line-height:1.6;margin:9px 0 10px}
#about summary{font-size:12px;font-weight:600;color:var(--accent);cursor:pointer;width:fit-content}
#about .about-source{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--accent);margin:13px 0 9px;text-decoration:underline;text-underline-offset:3px}
#about .about-source .icon{width:12px;height:12px}
#about pre{white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;padding:12px;background:#f7f8fc;border-radius:7px;max-height:240px;overflow:auto;color:var(--muted);margin:0}
#about .about-actions{display:flex;gap:10px;flex-wrap:wrap;padding:17px 26px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}
#about .button{font-size:12px;padding:10px 15px}
#about .primary{color:#fff}
#about .about-secondary{color:var(--accent-dark);background:var(--tint);border-color:var(--line)}
#about :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:640px){#about{max-height:calc(100dvh - 24px);width:calc(100% - 24px)}#about .about-header{padding:19px 48px 17px 18px;gap:10px}#about h2{font-size:21px}#about .dialog-icon{width:40px;height:40px}#about .dialog-close{top:17px;right:14px}#about .about-body{padding:18px}#about .about-actions{padding:15px 18px}#about .about-license{padding:13px}#about .about-license-heading{gap:7px}#about .about-eyebrow{font-size:10px}}

/* Mobile usability: retain page scrolling and isolate translation feedback UI. */
html,body{overflow-x:clip}
/* Google translation's injected feedback tooltip is not website content.
   Hide only this panel; translated text and translation controls stay enabled. */
html body #goog-gt-tt,html body .VIpgJd-yAWNEb-L7lbkb{display:none!important;visibility:hidden!important}
@media(max-width:720px){
 .header{position:relative;z-index:30}
 .header nav{display:flex;visibility:hidden;opacity:0;transform:translateY(-6px);pointer-events:none;transition:opacity .16s ease,transform .16s ease,visibility .16s;top:calc(100% + 8px)}
 .header nav.is-open{display:flex;visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}
 .hero-actions{gap:10px}
 .hero-actions .button{white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.header nav{transition:none}}


/* Longer intentional refresh gesture on touch devices; desktop is unchanged. */
@media(pointer:coarse){html,body{overscroll-behavior-y:none}}
.pull-refresh{position:fixed;z-index:100;top:calc(12px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);padding:9px 16px;border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--accent-dark);box-shadow:0 5px 18px #121a3526;font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none}
.pull-refresh[hidden]{display:none}
.pull-refresh.is-ready{color:#12633d;border-color:#a3dfbb;background:#ecfff3}
