/* Shared navigation and interaction contract for the complete automotive site. */
:root{--nev-header-height:64px;--nev-context-height:36px;--nev-top:calc(var(--nev-header-height) + var(--nev-context-height));--nev-canvas:#dce3ea;--nev-surface:#edf1f5;--nev-ink:#192b3e;--nev-muted:#5d7183;--nev-blue:#1479df;--nev-line:#8199ad30;--nev-radius:18px;--nev-shadow:0 10px 28px #263e5710}
body.nev-site-unified{margin:0;padding-top:var(--nev-top);background-color:var(--nev-canvas);color:var(--nev-ink);font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Helvetica Neue',sans-serif;-webkit-font-smoothing:antialiased}
body.nev-site-unified[data-surface=home]{padding-top:0}
.nev-original-header{display:none!important}
body.nev-site-unified #yuansi-university-navigation{display:none!important}
#nev-site-header,#nev-site-context,#nev-site-header *,#nev-site-context *{box-sizing:border-box}
#nev-site-header{position:fixed;inset:0 0 auto;height:var(--nev-header-height);z-index:180;display:flex;align-items:center;gap:24px;padding:0 28px;background:#eaf0f5ed;border-bottom:1px solid #fff8;backdrop-filter:blur(22px);box-shadow:0 1px 0 #7794ad22;color:var(--nev-ink)}
#nev-site-header .nev-brand{display:flex;align-items:center;gap:10px;min-width:206px;color:var(--nev-ink);text-decoration:none;flex-shrink:0}
#nev-site-header .nev-brand svg{width:40px;height:40px;flex:none}
#nev-site-header .nev-brand small{display:block;font-size:10px;line-height:1.5;color:#5c7082;letter-spacing:.04em}
#nev-site-header .nev-brand strong{display:block;font-size:19px;line-height:1.45;letter-spacing:.025em;font-weight:650}
#nev-site-header .nev-primary-nav{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0}
#nev-site-header .nev-primary-nav a{display:flex;align-items:center;justify-content:center;min-height:36px;padding:8px 16px;white-space:nowrap;border-radius:12px;color:#52687b;text-decoration:none;font-size:13px;line-height:1.4;font-weight:550;border:1px solid transparent;transition:background .18s,color .18s,box-shadow .18s}
#nev-site-header .nev-primary-nav a:hover{background:#fff7;color:#106bc6}
#nev-site-header .nev-primary-nav a[aria-current]{color:#106ac2;background:#fff;border:1px solid #c8d8e7;box-shadow:0 3px 9px #466a9020}
#nev-site-header .nev-header-utilities{display:flex;align-items:center;gap:6px}
#nev-site-header .nev-menu{position:relative;background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important}
#nev-site-header .nev-menu summary{cursor:pointer;list-style:none;padding:9px 12px!important;border:0!important;box-shadow:none!important;border-radius:11px;color:#53697b!important;background:transparent!important;font-size:12px;white-space:nowrap;min-height:0!important}
#nev-site-header .nev-menu summary::before{display:none!important;content:none!important}
#nev-site-header .nev-menu summary::-webkit-details-marker{display:none}
#nev-site-header .nev-menu summary::after{content:'⌄';margin-left:8px;font-size:11px}
#nev-site-header .nev-menu[open]>summary,#nev-site-header .nev-menu summary:hover{background:#fff9}
#nev-site-header .nev-menu-panel{position:absolute;right:0;top:calc(100% + 12px);width:248px;border:1px solid #c7d5e2;border-radius:16px;padding:10px;background:#f1f5f9;box-shadow:0 20px 60px #182f4940;font-size:13px}
#nev-site-header .nev-menu-panel>a,#nev-site-header .platform-access>a,#nev-site-header .platform-access>button{display:block;width:100%;min-height:38px;margin:0;padding:10px 12px;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;color:#2a4a67!important;text-align:left;font-size:13px;text-decoration:none}
#nev-site-header .nev-menu-panel a:hover,#nev-site-header .platform-access button:hover{background:#e0eafa!important;color:#0869c9!important}
#nev-site-header .platform-access{display:block;padding:0;margin:0;white-space:normal;border:0;background:transparent}
#nev-site-header .platform-account-state{display:block;padding:9px 12px 14px;margin-bottom:5px;border-bottom:1px solid #b8cbdc66;color:#62778b;font-size:11px;line-height:1.6;white-space:normal}
#nev-site-context{position:fixed;top:var(--nev-header-height);left:0;right:0;height:var(--nev-context-height);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 28px;background:#dbe5edeb;border-bottom:1px solid #91a7b933;backdrop-filter:blur(16px);color:#64798b;z-index:170}
#nev-site-context .nev-breadcrumbs{display:flex;align-items:center;justify-content:flex-start;margin:0;padding:0;border:0;background:transparent;gap:10px;min-width:0;font-size:11px;line-height:1.4;white-space:nowrap;letter-spacing:normal}
#nev-site-context .nev-breadcrumbs a{display:inline-flex;color:#536b80;text-decoration:none;flex:none}
#nev-site-context .nev-breadcrumbs a:hover{color:#0875dc}
#nev-site-context .nev-divider{color:#91a4b6}
#nev-site-context .nev-current-page{color:#344e65;overflow:hidden;text-overflow:ellipsis}
#nev-site-context .nev-page-tools{display:flex;gap:6px;align-items:center;white-space:nowrap}
#nev-site-context .nev-page-tools button{min-height:26px;margin:0;padding:4px 9px;background:#edf3f8!important;color:#3e5c76!important;border:1px solid #aec4d5!important;border-radius:7px;font-size:11px}
#nev-site-header .nev-nav-toggle{display:none}
.nev-skip{position:fixed;top:-100px;left:24px;z-index:250;padding:12px 18px;color:white;background:#116ecd;border-radius:10px}
.nev-skip:focus{top:10px}
body.nev-site-unified :focus-visible{outline:3px solid #2b87e2!important;outline-offset:3px}
body.nev-site-unified button:disabled{cursor:not-allowed!important;opacity:.45}
body.nev-site-unified button,body.nev-site-unified input,body.nev-site-unified select{font-family:inherit}
html.arrival-preparing #nev-site-header,html.arrival-preparing #nev-site-context,body.arrival-playing #nev-site-header,body.arrival-playing #nev-site-context{visibility:hidden;opacity:0;pointer-events:none}
/* Legacy independent models are part of the same workbench shell. */
body.nev-legacy-workbench{height:100svh;overflow:hidden;background:#dce4eb}
body.nev-legacy-workbench>.layout{height:calc(100svh - var(--nev-top))!important;max-height:none;grid-template-columns:242px minmax(0,1fr) 274px;gap:12px;padding:12px;background:transparent}
body.nev-legacy-workbench .sidebar,body.nev-legacy-workbench .inspector{background:#edf2f6!important;color:#2b4257;border:1px solid #bfcfdd!important;border-radius:16px;box-shadow:var(--nev-shadow)}
body.nev-legacy-workbench .sidebar{min-height:0;overflow:auto}
body.nev-legacy-workbench .panel-head{padding:18px 16px!important}
body.nev-legacy-workbench .panel-head h1{font-size:18px!important;line-height:1.5!important;color:#233d56!important}
body.nev-legacy-workbench .nev-legacy-model-picker{display:block;color:#647c91;font-size:11px;margin-bottom:12px}
body.nev-legacy-workbench #model-select{width:100%;max-width:100%;margin-top:6px;color:#34536e;background:#e5edf4;border:1px solid #bccedc;border-radius:8px;padding:7px;font-size:12px}
body.nev-legacy-workbench :is(.inspector,.sidebar) :is(p,small,label,.muted){color:#60778b!important}
body.nev-legacy-workbench :is(button,input,select){color:#34536e!important;background:#e9f0f6!important;border-color:#b4c9d9!important;border-radius:9px}
body.nev-legacy-workbench button[aria-pressed=true],body.nev-legacy-workbench .part.is-selected{color:#0768c8!important;background:#d3e7fc!important}
body.nev-legacy-workbench .stage{border-radius:18px;overflow:hidden;border:1px solid #97b0c5}
body.nev-legacy-workbench .counts,body.nev-legacy-workbench .eyebrow{color:#657e94!important}
@media(min-width:2200px){:root{--nev-header-height:84px;--nev-context-height:42px}#nev-site-header{padding:0 48px;gap:40px}#nev-site-header .nev-brand{min-width:280px}#nev-site-header .nev-brand strong{font-size:26px}#nev-site-header .nev-brand small{font-size:13px}#nev-site-header .nev-brand svg{width:54px;height:54px}#nev-site-header .nev-primary-nav a{font-size:18px;padding:12px 26px}#nev-site-context .nev-breadcrumbs{font-size:14px}#nev-site-header .nev-menu summary{font-size:16px}}
@media(max-width:1080px){#nev-site-header{gap:10px;padding:0 16px}#nev-site-header .nev-primary-nav a{padding:8px 10px;font-size:12px}#nev-site-header .nev-brand{min-width:182px}#nev-site-header .nev-brand strong{font-size:17px}#nev-site-context{padding:0 16px}body.nev-legacy-workbench>.layout{grid-template-columns:200px minmax(0,1fr)}body.nev-legacy-workbench .inspector{position:absolute;right:18px;top:calc(var(--nev-top) + 18px);width:250px;max-height:65vh;overflow:auto}}
@media(max-width:800px){#nev-site-header .nev-nav-toggle{display:block;order:3;font-size:12px;padding:8px 10px;background:#eff4f8;color:#3b5973;border:1px solid #bdd0df;border-radius:9px}#nev-site-header .nev-header-utilities{margin-left:auto}#nev-site-header .nev-primary-nav{display:none;position:absolute;top:64px;left:12px;right:12px;flex-direction:column;align-items:stretch;padding:10px;border:1px solid #b8ccdf;border-radius:15px;background:#edf3f8;box-shadow:0 14px 40px #274b6d30}#nev-site-header.nav-open .nev-primary-nav{display:flex}#nev-site-header .nev-primary-nav a{justify-content:flex-start;padding-left:16px}#nev-site-context .nev-breadcrumbs{font-size:10px;gap:7px}#nev-site-context .nev-breadcrumbs>a:first-child,#nev-site-context .nev-breadcrumbs>.nev-divider:first-of-type{display:none}#nev-site-context .nev-page-tools{overflow:auto;max-width:55%}body.nev-legacy-workbench>.layout{grid-template-columns:minmax(0,1fr)}body.nev-legacy-workbench .sidebar{display:none}body.nev-legacy-workbench.parts-open .sidebar{display:block;position:absolute;top:var(--nev-top);left:0;bottom:0;width:240px;z-index:80}}
@media(prefers-reduced-motion:reduce){body.nev-site-unified *,body.nev-site-unified *::before,body.nev-site-unified *::after{scroll-behavior:auto!important}#nev-site-header a{transition:none}}
@media(max-width:650px){#nev-site-header .nev-brand{min-width:0}#nev-site-header .nev-nav-toggle{margin-left:auto;flex:none;white-space:nowrap}#nev-site-header .nev-header-utilities{display:none}#nev-site-header.nav-open .nev-header-utilities{display:flex;position:absolute;top:296px;left:12px;right:12px;padding:8px;margin:0;justify-content:flex-end;background:#edf3f8;border:1px solid #b8ccdf;border-radius:12px;box-shadow:0 14px 40px #274b6d30}#nev-site-context .nev-current-page{min-width:0}}
