/* Homepage: a compact navigation and an immediately usable workspace. */
:root{--home-width:1240px;--home-gap:32px;--home-panel:#122a43;--home-radius:12px}
#navbar{height:76px;background:#102238;backdrop-filter:none;border-color:#ffffff0d}
.nav-inner{max-width:1440px;gap:24px;padding:0 32px}
.nav-logo{flex:0 0 auto}.nav-logo-en{color:#afbed0;letter-spacing:.08em}.nav-logo-cn{font-size:17px}
.nav-links{gap:5px;margin-left:auto}.nav-link{min-height:42px;padding:10px 13px;color:#c4cfdd;font-size:14px}
.nav-link.active{background:#ffffff0c}.nav-actions{gap:12px}.nav-cta{min-height:42px;padding:10px 17px}.lang-switch{margin-left:0;border:1px solid #ffffff26;padding:5px}
.user-menu-btn{min-height:40px;max-width:140px}.user-menu-dropdown{max-height:calc(100dvh - 100px);overflow:auto;background:#122a43;backdrop-filter:none}
.pc{padding-top:76px}.mobile-menu{top:76px;max-height:calc(100dvh - 76px);overflow-y:auto;background:#102238;backdrop-filter:none;overscroll-behavior:contain}
.nav-dropdown{position:static}.nav-inner{position:relative}
.nav-dropdown-menu.mega-menu{top:calc(100% - 1px);left:auto;right:32px;width:min(820px,calc(100vw - 64px));min-width:0;padding:0;border:1px solid #ffffff14;border-radius:0 0 14px 14px;background:#102238;backdrop-filter:none;box-shadow:0 20px 38px #020b1b55;visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}
.nav-dropdown:hover .mega-menu,.nav-dropdown:focus-within .mega-menu{visibility:hidden;opacity:0;transform:translateY(-6px)}
.nav-dropdown.is-open .mega-menu{visibility:visible;opacity:1;transform:translateY(0)}
.mega-heading{padding:20px 24px 16px;display:flex;justify-content:space-between;align-items:center;color:#e1ebf5;font-size:14px;font-weight:600;border-bottom:1px solid #ffffff0d}.mega-heading-note{color:#9aadc2;font-size:11px;font-weight:400}
.mega-columns{display:grid;grid-template-columns:1.08fr 1.03fr 1fr;padding:20px 14px;gap:8px}.mega-group{padding:0 10px;min-width:0}.mega-group+.mega-group{border-left:1px solid #ffffff12}
.mega-group h2{color:#8fa5bd;font-size:10px;font-weight:700;letter-spacing:.1em;margin:0 12px 10px;text-transform:uppercase}
.mega-group .nav-dropdown-item{padding:10px 12px;min-height:38px;white-space:normal;border-radius:7px;font-size:12px;line-height:1.5;color:#d7e3f0}.mega-group .nav-dropdown-item strong{display:block;color:#eef3fa;font-weight:600;font-size:13px}.mega-group .nav-dropdown-item small{display:block;color:#a3b5c9;font-size:10px;line-height:1.6;margin-top:4px}
.mega-group .nav-dropdown-item:hover{background:#ffffff09}.mega-inline{display:flex;gap:14px;padding:0 12px 10px}.mega-inline a{color:#8ebfed;font-size:10px;min-height:28px;display:flex;align-items:center}
.mega-group .project-menu-link{display:block;position:relative;margin-top:12px;background:#1a3653;padding:16px}.project-monogram{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#2b5072;color:#d9edff;font-weight:600;font-size:16px;flex-shrink:0}.project-menu-link .project-monogram{margin-bottom:12px}.project-menu-arrow{position:absolute;right:16px;top:16px;color:#91b9df}.mega-project-note{font-size:10px;line-height:1.8;color:#9baec3;padding:12px}
.mega-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;background:#ffffff04;border-top:1px solid #ffffff0c;font-size:10px;color:#95a9c0}.mega-footer a{color:#b7daf7;font-size:11px}
.hero{min-height:0;background:#081b30;overflow:hidden}.hero-bg-grid{opacity:.24;background-size:100px 100px}.hero-glow1,.hero-glow2{display:none}
.hero-inner{width:100%;max-width:var(--home-width);padding:68px 32px 56px;grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr);gap:64px;align-items:center}
.hero-intro{min-width:0}.hero-pill{padding:5px 10px 5px 5px;gap:8px;margin-bottom:26px;border-color:#ffffff14;background:#ffffff06;max-width:100%;flex-wrap:wrap;font-size:10px}.hero-pill-badge{font-size:10px;border-radius:5px;padding:4px 7px;background:#1d5e9d;letter-spacing:0}
.hero h1{font-size:clamp(42px,4.5vw,64px);font-weight:750;letter-spacing:-.035em;line-height:1.12;color:#f0f5fb;max-width:600px;text-wrap:balance}.hero-en{font-size:20px;color:#9aadc2;margin:14px 0 28px;letter-spacing:.02em}
.hero-tagline{margin-bottom:28px;max-width:510px;font-size:15px;line-height:1.85}.hero-tagline span:first-child{display:inline-block;margin-bottom:10px;color:#7ab8ed;font-size:14px;letter-spacing:.09em}.hero-tagline span:last-child{color:#b7c6d8;font-weight:400;line-height:1.9}
.hero-actions{gap:12px;margin-bottom:36px}.hero-actions .btn{min-height:46px;padding:12px 20px;font-size:13px;border-radius:8px}.hero-actions .btn-ghost{background:transparent;border-color:#ffffff26;color:#d0ddea}
.hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:25px}.hero-stat-n{font-size:26px;font-weight:650;font-variant-numeric:tabular-nums}.hero-stat-n span{font-size:15px;margin-left:3px;color:#8ebfed}.hero-stat-l{font-size:10px;line-height:1.6;color:#9eb1c7;letter-spacing:0;margin-top:8px}
.hero-workspace{min-width:0;align-self:center}.home-auth-card{background:var(--home-panel);border:1px solid #ffffff16;padding:26px;border-radius:var(--home-radius);margin:0;box-shadow:0 18px 48px #030f2133;scroll-margin-top:100px}.home-auth-eyebrow{color:#8ebfed;font-size:10px;letter-spacing:.12em;margin-bottom:12px}.home-auth-title{font-size:24px;line-height:1.35;font-weight:650}.home-auth-text{font-size:12px;line-height:1.8;color:#acbed2;margin-top:12px;margin-bottom:20px}
.home-auth-form{grid-template-columns:minmax(0,1fr) auto;gap:8px}.home-auth-field-label{grid-column:1/-1;font-size:11px;color:#c5d3e4;padding-bottom:2px}.home-auth-input{background:#091f35;border-color:#ffffff26;font-size:12px;min-height:44px}.home-auth-input::placeholder{color:#8399b0}.home-auth-send{background:#4b9bdf;color:#fff;font-size:12px;font-weight:600;border-radius:8px;min-height:44px;padding:10px 14px}
.home-auth-identity{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;overflow-wrap:anywhere}.home-auth-role{margin:0}.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:270px;overflow:auto;gap:8px;padding-right:4px;scrollbar-width:thin;scrollbar-color:#47627e transparent}.workspace-link{padding:10px;background:#1b3651;border:0;border-radius:8px;min-width:0}.workspace-link strong{font-size:12px;overflow-wrap:anywhere}.workspace-link span{color:#b0c1d4;font-size:10px}.home-access-note{line-height:1.7}.home-auth-signout{margin-top:5px}
.home-project-access{display:flex;gap:14px;align-items:center;margin-top:14px;padding:17px 20px;background:#10263d;border:1px solid #ffffff14;border-radius:var(--home-radius);color:#e6eff9;transition:background .16s ease}.home-project-access:hover{background:#19334e}.home-project-access strong{font-size:13px;font-weight:600}.home-project-access small{display:block;color:#9eb2c9;font-size:10px;line-height:1.6;margin-top:4px}.home-project-arrow{margin-left:auto;color:#97b7d5}.workspace-utilities{display:flex;justify-content:center;gap:28px;margin-top:18px}.workspace-utilities a{font-size:11px;color:#a5b9cf;min-height:30px;display:flex;align-items:center}.workspace-utilities a:hover{color:#e0effc}
.home-brand-strip{background:#f4f7fb;border-bottom:1px solid #e1e7ef}.home-brand-inner{max-width:var(--home-width);margin:0 auto;padding:26px 32px}.home-brand-strip .brand-panel{background:none;border:0;border-radius:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.home-brand-strip .brand-panel-title{grid-column:1/-1;color:#61758b;margin:0;font-size:10px;letter-spacing:.08em}.home-brand-strip .brand-card{background:none;border:0;border-radius:0;padding:0;margin:0;box-shadow:none}.home-brand-strip .brand-card+.brand-card{border-left:1px solid #dbe3ed;padding-left:24px}.home-brand-strip .brand-card-name{font-size:13px;line-height:1.6;color:#283f57;margin-bottom:6px}.home-brand-strip .brand-card-name span{color:#1d5e9d}.home-brand-strip .brand-card-desc{font-size:11px;line-height:1.75;color:#61758b}
#page-home>.section{padding-top:72px;padding-bottom:72px}#page-home>.section .center{margin-bottom:36px!important}#page-home .svc-card{padding:24px}#page-home .g3{gap:18px}#page-home .svc-icon{width:42px;height:42px;font-size:22px;border-radius:9px}#page-home .svc-card h3{font-size:16px}#page-home .svc-card p{font-size:13px}
@media(min-width:1440px){.hero-inner{padding-top:76px;padding-bottom:64px}}
@media(max-width:1180px){.nav-inner{gap:14px;padding:0 24px}.nav-link{padding:10px;font-size:13px}.nav-actions{gap:8px}.nav-logo-en{font-size:9px}.hero-inner{gap:36px;padding-top:54px}.mega-menu{right:24px!important}.nav-cta{display:none}}
@media(max-width:1000px){.nav-links{display:none}.hamburger{display:flex;min-height:44px}.nav-actions{margin-left:auto}.hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:28px;padding:44px 24px}.hero h1{font-size:44px}.hero-pill>span:last-child{display:none}.home-auth-card{padding:22px}.home-auth-title{font-size:21px}.hero-stats{gap:8px}.hero-stat-n{font-size:23px}.hero-stat-l{font-size:9px}.hero-actions .btn{padding:11px 14px}.home-brand-inner{padding:24px}.home-brand-strip .brand-panel{gap:18px}.home-brand-strip .brand-card+.brand-card{padding-left:18px}}
@media(max-width:760px){.hero-inner{grid-template-columns:minmax(0,1fr);padding:38px 24px 32px;gap:32px}.hero h1{font-size:44px}.hero-en{font-size:17px;margin-bottom:22px}.hero-tagline{font-size:14px;max-width:none}.hero-actions{margin-bottom:26px}.hero-stats{gap:16px}.hero-stat-n{font-size:26px}.hero-stat-l{font-size:10px}.hero-workspace{width:100%;max-width:560px;justify-self:center}.hero-intro{max-width:560px;justify-self:center}.home-brand-strip .brand-panel{grid-template-columns:1fr}.home-brand-strip .brand-card+.brand-card{border-left:0;border-top:1px solid #dbe3ed;padding:16px 0 0}.home-brand-inner{padding:24px}.hero-pill>span:last-child{display:inline}.home-auth-form{grid-template-columns:minmax(0,1fr) auto}.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#navbar{height:68px}.pc{padding-top:68px}.nav-inner{gap:8px;padding:0 16px}.nav-logo{gap:8px}.nav-logo img{width:32px!important;height:32px!important}.nav-logo-cn{font-size:14px}.nav-logo-en{font-size:8px}.nav-actions{gap:6px}.nav-actions #auth-login-btn{padding:8px;font-size:12px}.lang-switch{padding:4px 3px}.lang-opt{font-size:11px;padding:3px 4px}.hamburger{padding:7px}.user-menu-btn{max-width:88px;font-size:11px;padding:8px}.hero-inner{padding:30px 20px;gap:26px}.hero-pill{margin-bottom:22px}.hero-pill>span:last-child{display:none}.hero h1{font-size:41px}.hero-actions{gap:10px}.hero-stats{gap:10px}.hero-stat-n{font-size:23px}.hero-stat-l{font-size:9px}.home-auth-card{padding:22px 18px}.home-auth-title{font-size:22px}.home-project-access{padding:16px}.home-auth-form{gap:7px}.home-auth-send{padding:10px 12px;font-size:11px}.home-auth-input{font-size:11px}.mobile-menu{top:68px;max-height:calc(100dvh - 68px);padding:16px}.mobile-link{font-size:14px;min-height:44px}.home-brand-inner{padding:24px 20px}.home-auth-card{scroll-margin-top:86px}#page-home>.section{padding:48px 0}}
html[lang=en] .hero-en{display:none}html[lang=en] .hero h1{margin-bottom:28px}html[lang=en] .hero-stat-l{letter-spacing:0}html[lang=en] .nav-link{font-size:13px}html[lang=en] .hero-pill>span:last-child{display:none}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #72b9f0;outline-offset:4px}.nav-links button:active,.home-project-access:active{transform:scale(.98)}
@media(prefers-reduced-motion:reduce){.mega-menu{transition:none!important}}

.mobile-dashboard summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer}.mobile-dashboard summary::-webkit-details-marker{display:none}.mobile-dashboard[open]>summary{background:#ffffff0a;color:#eef3fa}.mobile-dashboard-body{display:flex;flex-direction:column;padding:4px 10px 12px}.mobile-dashboard-body h2{font-size:10px;color:#8fa5bd;letter-spacing:.08em;text-transform:uppercase;margin:18px 16px 5px}.mobile-dashboard-body .mobile-link{font-size:13px;padding:10px 16px}.nav-dropdown-menu.mega-menu{max-height:calc(100dvh - 92px);overflow-y:auto}.home-auth-field-label{line-height:1.4}.home-brand-strip .brand-card:hover{background:none}

.home-auth-card:has(#home-auth-user[style*="block"]) .home-auth-text{display:none}.home-auth-card:has(#home-auth-user[style*="block"]) .home-auth-title{margin-bottom:20px}.workspace-grid{max-height:240px}.workspace-scroll-hint{color:#8fa9c2;font-size:10px;line-height:1.5;margin:0 0 12px}.home-access-note{font-size:10px;padding:8px;line-height:1.7}
