/* One public navigation geometry for home, content and login pages.
 * Scope typography to the header so page-specific form/reset styles cannot
 * change button sizes, line heights or alignment. */
#site-header-root{
 --nav-height:52px;
 --nav-bg:#fff;--nav-border:#e0eaf3;--nav-shadow:0 5px 20px rgba(27,72,116,.045);--nav-backdrop:none;
 --brand-color:#071522;--sub-brand-color:#071522;--nav-color:#071522;--nav-active:#071522;
 --divider:linear-gradient(180deg,transparent,#76aee1,transparent);
 --menu-divider:linear-gradient(to bottom,transparent,#bad3ec,transparent);
 --active-line:linear-gradient(90deg,#6db5ff,#1769df,#6db5ff);
 --login-border:#bfd7ef;--login-color:#1769df;--login-bg:#fff;
 --aw-border:#bfd7ed;--aw-color:#225b94;--aw-bg:#f7fbff;
 position:fixed;top:0;left:0;right:0;z-index:9999;
 font-family:"Microsoft YaHei","微软雅黑",Arial,sans-serif;
 font-size:14px;line-height:20px;letter-spacing:normal;
 color:var(--brand-color);color-scheme:light;
 -webkit-font-smoothing:auto;text-size-adjust:100%;
 view-transition-name:yantu-header;
}
/* Home/login glass follows the photograph instead of whitening it. Only
 * surface/contrast tokens change; typography and geometry remain identical. */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 #site-header-root.is-home,body.login-background #site-header-root{
  --nav-bg:rgba(6,16,28,.22);--nav-backdrop:blur(8px) saturate(110%);
  --nav-border:rgba(255,255,255,.08);--nav-shadow:none;
  --brand-color:#f8fafc;--sub-brand-color:#edf2f7;--nav-color:#f8fafc;--nav-active:#fff;
  --login-border:rgba(255,255,255,.32);--login-color:#fff;--login-bg:rgba(255,255,255,.06);
 }
}
#site-header-root *,#site-header-root *::before,#site-header-root *::after{box-sizing:border-box}
#site-header-root .yantu-global-header{
 position:relative;isolation:isolate;
 width:100%;height:var(--nav-height);background:transparent;
 border-bottom:1px solid var(--nav-border);box-shadow:var(--nav-shadow);
 transition:none;
}
/* Blur the surface, never the text's ancestor or a translucent text layer. */
#site-header-root .yantu-global-header::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:var(--nav-bg);backdrop-filter:var(--nav-backdrop);-webkit-backdrop-filter:var(--nav-backdrop);
}
#site-header-root .yantu-header-row{
 width:min(1200px,calc(100% - 48px));height:var(--nav-height);
 margin:0 auto;padding:0;display:flex;align-items:center;gap:18px;
}
#site-header-root .yantu-brand-group{display:flex;align-items:center;gap:12px;flex:none}
#site-header-root .yantu-brand{display:flex;align-items:center;gap:8px;flex:none;color:inherit;text-decoration:none}
#site-header-root .yantu-logo-box{width:34px;height:34px;display:grid;place-items:center;flex:none}
#site-header-root .yantu-brand-name{color:var(--brand-color);font-size:14px;font-weight:720;letter-spacing:.015em;white-space:nowrap}
#site-header-root .yantu-brand-divider{width:1px;height:22px;flex:none;border-radius:999px;background:var(--divider)}
#site-header-root .yantu-sub-brand{opacity:1}
#site-header-root .yantu-aw-mark{width:24px;height:24px;display:block;flex:none;border:0;border-radius:0}
#site-header-root .yantu-sub-brand-name{color:var(--sub-brand-color);font-size:12px;font-weight:620;letter-spacing:.01em;white-space:nowrap}
#site-header-root .yantu-global-nav{display:flex;align-items:center;margin-left:auto;flex:none}
#site-header-root .yantu-global-nav a{
 position:relative;min-height:32px;padding:4px 12px;display:inline-flex;align-items:center;justify-content:center;
 color:var(--nav-color);text-decoration:none;font-family:inherit;font-size:13px;line-height:20px;font-weight:600;
 letter-spacing:normal;white-space:nowrap;transition:color .18s ease;
}
#site-header-root .yantu-global-nav a+a::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:15px;background:var(--menu-divider)}
#site-header-root .yantu-global-nav a::after{content:"";position:absolute;left:13px;right:13px;bottom:0;height:2px;border-radius:999px;background:var(--active-line);opacity:0;transform:scaleX(.45);transition:opacity .18s ease,transform .18s ease}
/* Current-page emphasis changes color, not glyph width or link geometry. */
#site-header-root .yantu-global-nav a:hover,#site-header-root .yantu-global-nav a.is-active{color:var(--nav-active)}
#site-header-root .yantu-global-nav a.is-active::after{opacity:1;transform:scaleX(1)}
#site-header-root .yantu-mobile-auth{display:none!important}
#site-header-root .yantu-login{
 flex:none;margin-left:4px;width:84px;height:32px;min-height:32px;padding:5px 10px;
 display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--login-border);border-radius:8px;
 color:var(--login-color);background:var(--login-bg);font-family:inherit;font-size:12px;line-height:20px;font-weight:680;letter-spacing:normal;
 white-space:nowrap;cursor:pointer;transition:background-color .18s ease,border-color .18s ease;
}
#site-header-root .yantu-login:hover{background:color-mix(in srgb,var(--login-bg),var(--login-color) 8%)}
#site-header-root button:disabled{opacity:.6;cursor:wait}
#site-header-root :is(a,button):focus-visible{outline:3px solid #95b0ff;outline-offset:3px}
#site-header-root .yantu-nav-toggle{
 display:none;flex:none;margin-left:auto;width:34px;height:32px;padding:0;place-items:center;
 border:1px solid var(--login-border);border-radius:8px;color:var(--login-color);background:var(--login-bg);
 font-family:inherit;font-size:18px;line-height:20px;font-weight:400;cursor:pointer;
}
.yantu-nav-spacer{height:52px}
body.yantu-home-page .yantu-nav-spacer{display:none}
/* All public pages reserve the same root scrollbar width. Local panels keep
 * their own scroll styles; they must not change the centered header width. */
html:root{scrollbar-gutter:stable;overflow-y:scroll;scrollbar-width:thin}
body.yantu-home-page{overflow:hidden}
@media(max-width:1080px){
 #site-header-root .yantu-login{display:none}
 #site-header-root .yantu-global-nav .yantu-mobile-auth{display:inline-flex!important}
 #site-header-root .yantu-nav-toggle{display:grid}
 #site-header-root .yantu-global-nav{
  --nav-color:#071522;--nav-active:#071522;
  position:absolute;top:60px;right:24px;width:210px;margin:0;padding:7px;flex-direction:column;align-items:stretch;
  border:1px solid #e0eaf3;border-radius:11px;background:#fff;box-shadow:0 16px 36px rgba(22,61,98,.16);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,visibility .18s ease,transform .18s ease;
 }
 #site-header-root .yantu-global-nav.is-open{opacity:1;visibility:visible;transform:none}
 #site-header-root .yantu-global-nav a{width:100%;min-height:38px;justify-content:flex-start;padding:7px 10px;border-radius:7px}
 #site-header-root .yantu-global-nav a+a::before,#site-header-root .yantu-global-nav a::after{display:none}
 #site-header-root .yantu-global-nav a.is-active{background:rgba(23,105,223,.07)}
}
@media(max-width:900px){#site-header-root .yantu-sub-brand-name{display:none}}
@media(max-width:480px){#site-header-root .yantu-brand-group{gap:8px}#site-header-root .yantu-brand-name{display:none}}
@media(prefers-reduced-motion:reduce){#site-header-root *,#site-header-root *::after{transition:none}}
