:root{--bg-deep:#f5f7fa;--bg-primary:#f5f7fa;--bg-main:#f5f7fa;--bg-card:#fff;--text-primary:#20354b;--text-secondary:#697887;--brand-start:#237c91;--brand-end:#237c91}html body{background:#f5f7fa!important;color:#20354b!important}.sidebar{position:relative!important;width:100%!important;min-width:0!important;height:auto!important;flex-direction:row!important;border:0!important;background:#fff!important}.app-layout,.app-container{flex-direction:column!important}.sidebar-brand{min-width:170px}.sidebar-nav{display:flex!important;flex-direction:row;overflow-x:auto!important;padding:8px!important;align-items:center}.sidebar .nav-item,.sidebar .nav-group{min-width:max-content;flex-direction:row;padding:10px!important;gap:6px}.sidebar .nav-label,.sidebar .sidebar-brand-text{display:block!important;opacity:1!important;transform:none!important}.sidebar-footer{display:none!important}.sidebar .nav-sub-items{position:absolute;top:64px;bottom:auto;left:auto;background:#fff;z-index:300}.topbar{background:#edf2f6!important}.main-wrapper{width:100%;margin:0!important}.main-workspace{padding:24px!important}.wx-intro{padding:24px 0 32px}.wx-intro h1{font-size:40px;font-weight:600;letter-spacing:-1px}.wx-intro p{color:#697887;font-size:16px;margin-top:10px}.wx-launches{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-bottom:36px;background:#fff;border-radius:16px;overflow:hidden}.wx-launches button{text-align:left;padding:28px;border:0;border-bottom:1px solid #e5eff5;background:#fff;color:#20354b;cursor:pointer}.wx-launches button:hover{background:#e5eff5}.wx-launches strong{display:block;font-size:21px;margin-bottom:8px}.wx-launches span{color:#697887}.wx-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:20px}.wx-gallery button{border:0;background:none;cursor:zoom-in}.wx-gallery img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px}#pageRawImg .ap-font{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:24px;max-width:1400px!important}#pageRawImg .ap-font>div:first-of-type{grid-column:1/-1}#pageRawImg .ap-font>.ap-card{grid-column:1;grid-row:3}#pageRawImg .ap-font>div:has(#rawCaseRow){grid-column:2;grid-row:3}#pageRawImg #rawCaseRow{grid-template-columns:repeat(2,1fr)!important}#pageRawImg .ap-font>#rawImgResult{grid-column:1/-1;grid-row:auto}.ap-card,.tool-card{box-shadow:none!important;background:#fff!important;border-color:#dce5ec!important}.ap-btn-blue,.btn-primary{background:#237c91!important;border-color:#237c91!important}.ap-title{color:#20354b!important;-webkit-text-fill-color:#20354b!important}.ap-hero-wrap{border:0!important}@media(max-width:768px){.main-workspace{padding:12px!important}.sidebar-brand{min-width:100px}.sidebar .nav-label{font-size:12px}.sidebar .nav-icon{display:none}.sidebar{overflow:visible!important}.sidebar-nav{max-width:calc(100vw - 100px)}.wx-launches{grid-template-columns:repeat(2,1fr)}.wx-launches button{padding:18px}.wx-launches strong{font-size:17px}.wx-gallery{grid-template-columns:repeat(2,1fr)}#pageRawImg .ap-font{display:flex;flex-direction:column;padding:16px!important}.wx-intro h1{font-size:30px}}
html body #app{display:flex;flex-direction:column;height:100dvh}html body #app>.sidebar{flex-shrink:0}html body .main-wrapper{flex:1;min-height:0}html body .main-workspace{overflow-y:auto}
/* Y2K creative desktop: silver chrome and clear blue controls. */
:root{--bg-deep:#f3f6fc;--bg-main:#f3f6fc;--bg-primary:#f3f6fc;--bg-card:#fff;--text-primary:#182c52;--brand-start:#365ef5;--brand-end:#365ef5}
html body{background:#f3f6fc!important;color:#182c52!important}html body .sidebar{background:linear-gradient(180deg,#fff 0%,#e4eaf5 50%,#f8faff 100%)!important;border-bottom:1px solid #b7c5de!important}html body .topbar{background:#edf2fb!important}html body .nav-item.active{background:#dce5ff!important;color:#2849c2!important;border:1px solid #bacbff;border-radius:8px}.main-workspace{background:#f3f6fc!important}#wanxuHome{max-width:1360px;margin:auto;padding:8px 8px 48px}.wx-hero{display:grid;grid-template-columns:1fr 1fr;min-height:440px;background:linear-gradient(115deg,#ecf1ff,#fff 60%,#e6edfb);border:1px solid #c3cfe6;border-radius:24px;overflow:hidden}.wx-hero-copy{padding:44px 40px}.wx-wordmark{font-size:14px;font-weight:600;color:#546b97;margin-bottom:24px}.wx-hero h1{font-size:clamp(30px,3.4vw,50px);font-weight:650;line-height:1.3;letter-spacing:-2px}.wx-hero-copy p{font-size:15px;line-height:1.9;color:#667695;margin:20px 0 24px}.wx-start{background:#365ef5;color:white;border:1px solid #234ad5;border-radius:10px;padding:13px 28px;font-size:15px;font-weight:600;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff60}.wx-capabilities{color:#6c7e9f;font-size:12px;margin-top:26px}.wx-showroom{position:relative;min-height:420px;display:flex;align-items:center;justify-content:center;padding:34px}.wx-feature{width:62%;margin:0;transform:rotate(-7deg);background:#fff;padding:10px;border:1px solid #bdcbe4;box-shadow:8px 12px 0 #d5def1;border-radius:12px}.wx-feature img{width:100%;height:260px;object-fit:cover;border-radius:5px}.wx-feature figcaption,.wx-mini figcaption{font-size:12px;padding:10px 4px;color:#425b87}.wx-mini{position:absolute;right:24px;bottom:30px;width:36%;background:#fff;padding:8px;border-radius:10px;border:1px solid #bcc9e3;transform:rotate(8deg);box-shadow:0 8px 20px #33477320}.wx-mini img{width:100%;height:150px;object-fit:cover}.wx-orbit{position:absolute;right:36px;top:30px;font-size:80px;color:#d73f92;line-height:1}.wx-section-heading{display:flex;align-items:baseline;justify-content:space-between;margin:34px 0 18px;gap:16px}.wx-section-heading h2{font-size:22px;font-weight:600}.wx-section-heading p{font-size:13px;color:#72809a}.wx-launches{grid-template-columns:repeat(3,1fr);border:1px solid #d3dced;border-radius:12px}.wx-launches button{background:#fff;color:#20355d;border-color:#e4eaf5;padding:22px 26px;min-height:100px}.wx-launches button:hover{background:#edf2ff}.wx-launches strong{font-size:18px}.wx-launches span{font-size:13px;color:#71809a}.wx-gallery{gap:20px}.wx-gallery button{text-align:left;background:#fff;border:1px solid #d2ddef;border-radius:12px;padding:8px;color:#344d79;overflow:hidden}.wx-gallery img{border-radius:6px;aspect-ratio:4/3}.wx-gallery span{display:block;padding:12px 8px;font-size:14px}html body .ap-card,html body .tool-card,html body .ap-modal{background:#fff!important;border-color:#cbd7ec!important;border-radius:12px!important;box-shadow:none!important}html body .ap-btn-blue,html body .btn-primary,html body #rawCaseRow button{background:#365ef5!important;border-color:#365ef5!important;color:#fff!important;border-radius:8px!important}html body .ap-select{background:#f4f7ff!important;border-color:#bdcce8!important;color:#233b64!important;border-radius:8px!important}html body .tool-card-icon{background:#e4edff!important;color:#365ef5!important}html body .ap-title{color:#20355d!important;-webkit-text-fill-color:#20355d!important}:focus-visible{outline:3px solid #d73f92!important;outline-offset:3px}
@media(max-width:768px){#wanxuHome{padding:0 0 28px}.wx-hero{grid-template-columns:1fr;border-radius:16px}.wx-hero-copy{padding:28px 24px}.wx-hero h1{font-size:34px;letter-spacing:-1px}.wx-showroom{min-height:320px;padding:20px}.wx-feature img{height:210px}.wx-mini img{height:120px}.wx-mini{bottom:20px}.wx-orbit{font-size:60px}.wx-capabilities{line-height:1.8}.wx-section-heading{display:block}.wx-section-heading p{margin-top:8px}.wx-launches{grid-template-columns:repeat(2,1fr)}.wx-launches button{padding:18px 14px}.wx-launches strong{font-size:16px}.wx-gallery{gap:12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Mobile workspace: one scroll container, inline tool choices, safe areas. */
@media(max-width:768px){
html,body{width:100%;height:100%;overflow:hidden!important}html body #app{width:100%;height:100dvh;min-height:0;padding-top:env(safe-area-inset-top)}html body #app>.sidebar{position:relative!important;inset:auto!important;width:100%!important;height:54px!important;min-height:54px!important;max-height:none!important;padding:0!important;overflow:hidden!important;flex-shrink:0}html body .sidebar-brand{display:none!important}html body .sidebar-nav{width:100%!important;max-width:100%!important;min-width:0;overflow-x:auto!important;overflow-y:hidden!important;justify-content:flex-start!important;align-items:center!important;gap:4px;padding:6px 10px!important;scrollbar-width:none}html body .sidebar-nav::-webkit-scrollbar{display:none}html body .sidebar .nav-item,html body .sidebar .nav-group{min-width:max-content!important;min-height:40px!important;padding:9px 12px!important;flex:0 0 auto!important;white-space:nowrap}html body .sidebar .nav-label{font-size:13px!important}html body .sidebar .nav-sub-items{display:none!important}html body .main-wrapper{min-height:0;overflow:hidden;margin:0!important}html body .topbar{min-height:48px!important;height:48px!important;flex-wrap:nowrap!important;padding:0 12px!important;gap:8px!important;flex-shrink:0}html body .topbar-center{display:none!important}html body .topbar-left{flex:1;min-width:0}html body .topbar-right{gap:8px}.topbar-logo{white-space:nowrap}html body .main-workspace{min-height:0;flex:1;overflow-y:auto!important;overflow-x:hidden!important;padding:12px 12px calc(24px + env(safe-area-inset-bottom))!important;overscroll-behavior:contain}html body footer{position:static!important;flex-shrink:0;padding:5px 12px calc(5px + env(safe-area-inset-bottom))!important;font-size:9px!important;line-height:1.4!important}
.wx-hero{min-height:0;display:flex;flex-direction:column}.wx-hero-copy{padding:24px 22px 12px}.wx-hero h1{font-size:clamp(27px,7.5vw,36px);line-height:1.35}.wx-wordmark{margin-bottom:16px}.wx-hero-copy p{font-size:14px;margin:16px 0}.wx-capabilities{margin-top:16px;font-size:11px}.wx-showroom{min-height:260px;padding:10px 22px 22px}.wx-feature{width:56%}.wx-feature img{height:180px}.wx-mini{width:35%;right:24px;bottom:24px}.wx-mini img{height:100px}.wx-orbit{font-size:48px;top:20px}.wx-launches button{min-height:100px;line-height:1.6}.wx-launches span{font-size:12px}.wx-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wx-gallery img{width:100%;height:auto}.wx-gallery span{font-size:12px;padding:8px 4px}
html body .page,html body .ap-font{max-width:100%;min-width:0}html body #pageRawImg .ap-font{padding:8px 0 20px!important;display:flex!important;flex-direction:column;gap:18px}html body .ap-card{padding:16px!important;min-width:0}html body #rawCaseRow{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .ap-card>div:has(>div>.ap-select){display:grid!important;grid-template-columns:1fr!important;gap:14px!important}html body .ap-card>div>div:has(>.ap-select){display:flex!important;flex-direction:column;align-items:stretch!important;gap:6px!important}html body .ap-select{width:100%;font-size:16px!important}html body #rawImgBtn,html body #rawImgOptimizeBtn{width:100%}html body input,html body textarea,html body select{font-size:16px!important}html body button,html body .btn{min-height:44px}html body .tools-grid,html body .topic-cards,html body .pricing-grid{grid-template-columns:1fr!important}.tool-panel-layout,.step2-container,.step4-container{flex-direction:column!important;height:auto!important}.tool-panel-left,.tool-panel-right,.step2-left,.step2-right{width:100%!important;min-width:0!important;max-width:100%!important}.settings-drawer{width:100%!important;max-width:100vw}.modal-content,.modal-box,.ap-modal{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 40px)!important;overflow-y:auto}.ap-lightbox{padding:16px!important}.ap-lightbox img{max-width:94vw!important;max-height:78dvh!important}.ap-lightbox-close{top:12px!important;right:12px!important}table{display:block;max-width:100%;overflow-x:auto}img,video{max-width:100%}.wx-mobile-tools{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}.wx-mobile-tools button{flex-shrink:0;border:1px solid #bdcce8;background:#fff;color:#284b84;border-radius:8px;padding:8px 14px;font-size:13px}
}
@media(min-width:769px){.wx-mobile-tools{display:none}}

.wx-mobile-header{display:none}
@media(max-width:768px){
html body #app>.sidebar{height:auto!important;min-height:56px!important;overflow:visible!important;display:block!important;max-height:65dvh!important;background:#f5f8ff!important}
.wx-mobile-header{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;min-height:56px;border-bottom:1px solid #d7e0f0}.wx-mobile-header button{border:1px solid #c0cee8;background:#fff;color:#304c7a;border-radius:8px;padding:10px 14px;font-size:13px;min-height:40px}.wx-mobile-header .wx-mobile-brand{font-size:20px;font-weight:700;border:0;background:none;padding:4px 0}
html body .sidebar .sidebar-nav{display:none!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important;overflow-y:auto!important;max-height:calc(65dvh - 56px);padding:12px 16px!important;scrollbar-width:thin}
html body .sidebar.wx-menu-open .sidebar-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
html body .sidebar .nav-item,html body .sidebar .nav-group{min-width:0!important;width:100%;min-height:46px!important;white-space:normal;border:1px solid #d6dfef;border-radius:8px;padding:12px!important;background:#fff;justify-content:flex-start}
html body .sidebar .nav-group{display:none!important}html body .sidebar .nav-sub-items{display:contents!important;visibility:visible!important;pointer-events:auto!important}html body .sidebar .nav-sub-item{min-width:0;min-height:46px!important;border:1px solid #d6dfef;border-radius:8px;margin:0!important;padding:12px!important;background:#fff;color:#304c7a;display:flex!important;font-size:13px}.sidebar .nav-sub-icon{display:none!important}
html body .wx-mobile-tools{display:none!important}html body .topbar{height:44px!important;min-height:44px!important;padding:0 16px!important}html body .topbar-left{display:none!important}html body .topbar-right{width:100%;justify-content:flex-end}html body .main-workspace{padding:12px!important}.wx-hero-copy{padding:24px 20px 12px}.wx-wordmark{font-size:12px;margin-bottom:18px}.wx-hero h1{font-size:30px;line-height:1.4;letter-spacing:-1px}.wx-hero-copy p{font-size:14px}.wx-showroom{min-height:250px}.wx-capabilities{font-size:10px}
}

@media(min-width:769px){html body .wx-desktop-dropdown{display:none!important;position:fixed!important;bottom:auto!important;right:auto!important;width:224px;max-height:calc(100dvh - 100px)!important;overflow-y:auto!important;z-index:1000!important;background:#fff!important;border:1px solid #c6d3ec;border-radius:10px;padding:6px;box-shadow:0 12px 32px #243c6b24;transition:none!important}html body .wx-desktop-dropdown.expanded{display:block!important}html body .wx-desktop-dropdown .nav-sub-item{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:10px 12px;border-radius:6px;color:#2c4675;cursor:pointer}html body .wx-desktop-dropdown .nav-sub-item:hover{background:#edf2ff}html body .wx-desktop-dropdown .nav-sub-icon{display:flex}}
