/* Shared site chrome. Load after each page's theme; no scroll interception. */
:root{--site-header-height:88px;--site-anchor-gap:20px;--site-chrome-width:1440px}
html{scroll-padding-top:var(--site-header-height);scrollbar-gutter:stable;scrollbar-color:#527087 #0a1420;scrollbar-width:auto}
html::-webkit-scrollbar{width:12px;height:12px}
html::-webkit-scrollbar-track{background:#0a1420}
html::-webkit-scrollbar-thumb{border:3px solid #0a1420;border-radius:8px;background:#527087;min-height:48px}
html::-webkit-scrollbar-thumb:hover{background:#8cadbd}
body.site-shell .site-header{background:#0a111df7;border-bottom:1px solid #2b3d4f;backdrop-filter:none}
body.site-shell .site-header .header-inner{width:min(var(--site-chrome-width),calc(100% - 96px));height:var(--site-header-height);min-height:var(--site-header-height);display:flex;align-items:center;justify-content:flex-start;gap:24px;margin-inline:auto}
body.site-shell .site-header .brand{display:flex;align-items:center;gap:12px;flex:0 0 auto}
body.site-shell .site-header .brand-icon{width:36px;height:36px;font-size:21px;font-weight:700;line-height:1;border-radius:6px;color:#a3ecf5;background:linear-gradient(140deg,#25414d,#102230);border:1px solid #6596a7;box-shadow:3px 3px 0 #172a3b;transform:rotate(-8deg)}
body.site-shell .site-header .brand-name{font-size:18px;font-weight:750;letter-spacing:1.7px;line-height:1.2;color:#edf4fb}
body.site-shell .site-header .brand-sub{font-size:10px;letter-spacing:1.3px;line-height:1.4;margin-top:5px;color:#99b0c4}
body.site-shell .site-header .nav{display:flex;align-items:center;gap:24px;position:static;padding:0;margin-left:auto;font-size:13px;background:transparent;border:0;box-shadow:none;flex-wrap:nowrap;white-space:nowrap}
body.site-shell .site-header .nav a{color:#b6c7d7;padding:9px 0;line-height:1.5}
body.site-shell .site-header .nav a:hover{color:#effaff}
body.site-shell .site-header .nav a[aria-current=page]{color:#effaff;text-decoration:underline;text-decoration-color:#93cbd4;text-underline-offset:8px;text-decoration-thickness:2px}
body.site-shell .site-header .nav .nav-lab{padding:9px 14px;background:#142131;border:1px solid #3e5265;border-radius:6px}
body.site-shell .site-header .menu-toggle{display:none}
body.site-shell .site-header .site-view-switch{display:flex;align-items:center;gap:3px;flex:0 0 auto;order:initial;margin-left:0;padding:4px;background:#111e2b;border:1px solid #344a5d;border-radius:7px;font:11px/1.5 Consolas,monospace}
body.site-shell .site-header .site-view-switch>span{padding:6px 9px;color:#ddebf5;border-radius:4px;background:#2a3b4a}
body.site-shell .site-header .site-view-switch :is(button,a){border:0;background:transparent;padding:6px 8px;color:#cbf7a0;border-radius:4px;font:inherit;white-space:nowrap}
body.site-shell .site-header .site-view-switch :is(button,a):hover{background:#28402d}
body.site-shell .site-header .site-view-switch :is(button,a) span{margin-left:4px}
body.site-shell :is(section[id],article[id],details[id],h2[id]){scroll-margin-top:var(--site-anchor-gap)}
body.site-shell :is(a,button):focus-visible{outline:2px solid #cbf7a0;outline-offset:4px}

/* Compact location rail; all of its UI is created only when JavaScript runs. */
.page-guide{position:fixed;z-index:18;right:20px;top:calc(50% + var(--site-header-height)/2);transform:translateY(-50%);width:52px;padding:6px;background:#101c2af5;border:1px solid #354c60;border-radius:14px;box-shadow:0 8px 28px #0003;color:#b8cbdc;font:12px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;isolation:isolate}
.page-guide[hidden]{display:none!important}
.page-guide button,.page-guide a{-webkit-tap-highlight-color:transparent}
.page-guide-toggle{border:0;width:38px;min-height:38px;padding:8px;border-radius:8px;background:transparent;color:#a9c0d1;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.page-guide-toggle:hover,.page-guide-toggle[aria-expanded=true]{background:#20374a;color:#e2f4fb}
.page-guide-symbol{width:16px;height:16px;display:grid;place-items:center;font-size:17px;line-height:1}
.page-guide-caption,.page-guide-current,.page-guide-chevron{display:none}
.page-guide-panel{position:relative}
.page-guide-list{list-style:none;margin:5px 0;padding:0;display:grid;gap:3px}
.page-guide-link{position:relative;display:flex;align-items:center;justify-content:center;min-height:34px;width:38px;border-radius:7px;color:#879eb1;font:11px/1.4 Consolas,monospace;text-decoration:none}
.page-guide-link:hover{color:#e9f7ff;background:#1c3043}
.page-guide-link[aria-current=location]{color:#d9f6bf;background:#29403d;box-shadow:inset 2px 0 #cbf7a0}
.page-guide-link[aria-current=location] .page-guide-index{font-weight:700}
.page-guide-label{position:absolute;right:calc(100% + 13px);padding:8px 13px;border:1px solid #3a566b;background:#101d2dfc;border-radius:7px;white-space:nowrap;pointer-events:none;opacity:0;transform:translateX(4px);font:12px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;transition:opacity .15s,transform .15s}
.page-guide-link:hover .page-guide-label,.page-guide-link:focus-visible .page-guide-label,.page-guide[data-expanded=true] .page-guide-label{opacity:1;transform:none}
.page-guide-progress{margin:7px 5px 2px;border-top:1px solid #31475a;padding-top:8px;text-align:center;font:9px/1.4 Consolas,monospace;color:#9cb4c6}
.page-guide-meter{display:block;height:3px;background:#263d4f;overflow:hidden;border-radius:2px;margin-bottom:6px}
.page-guide-meter>span{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left;background:#a9d8bc}
.page-guide-back{display:flex;align-items:center;justify-content:center;margin-top:5px;min-height:32px;font-size:16px;color:#a5c9d9;border-radius:6px}
.page-guide-back:hover{color:white;background:#21394b}
body.site-shell:has(dialog[open]) .page-guide,body.site-shell:has(.nav.open) .page-guide,body.site-shell:has(.experience-load-status:not([hidden])) .page-guide{visibility:hidden;pointer-events:none}
body.site-shell:has(:fullscreen) .page-guide{display:none}

@media(min-width:1100px) and (min-height:601px){
  .page-guide-toggle{flex-direction:column;gap:5px;padding:8px 0}
  .page-guide-current{display:block;font-size:9px;line-height:1.5;white-space:nowrap;color:#c3dfd3}
  body.site-shell.has-page-guide>main.wrap{width:min(var(--site-chrome-width),calc(100% - 176px))}
  body.site-shell.has-page-guide>.industry-original-page{width:calc(100% - 176px);margin-inline:auto;padding-inline:0}
}
@media(min-width:1100px) and (min-height:601px) and (max-height:800px){
  .page-guide-list{gap:2px}
  .page-guide-link{min-height:27px}
  .page-guide-toggle{padding-block:5px;gap:3px}
  .page-guide-back{min-height:27px}
}
@media(max-width:1150px) and (min-width:1001px){
  body.site-shell .site-header .header-inner{gap:18px;width:calc(100% - 64px)}
  body.site-shell .site-header .nav{gap:16px;font-size:12px}
}
@media(max-width:1099px),(max-height:600px){
  body.site-shell.has-page-guide{padding-bottom:74px}
  .page-guide{top:auto;right:20px;bottom:max(16px,env(safe-area-inset-bottom));transform:none;width:auto;min-width:172px;max-width:calc(100vw - 40px);padding:4px;border-radius:24px;background:#102131;box-shadow:0 6px 22px #0005}
  .page-guide-toggle{width:100%;min-height:38px;padding:7px 13px;justify-content:flex-start;border-radius:20px}
  .page-guide-caption{display:block;color:#8faabd;font-size:11px}
  .page-guide-current{display:block;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e0f0f7;font-size:12px}
  .page-guide-chevron{display:block;font-size:13px;margin-left:auto;color:#a9d8bc}
  .page-guide[data-expanded=true] .page-guide-chevron{transform:rotate(180deg)}
  .page-guide-panel{display:none;position:absolute;bottom:calc(100% + 10px);right:0;width:230px;max-width:calc(100vw - 40px);padding:10px;background:#102131;border:1px solid #3a586e;border-radius:14px;box-shadow:0 6px 24px #0006}
  .page-guide[data-expanded=true] .page-guide-panel{display:block}
  .page-guide-list{gap:3px;max-height:min(55dvh,420px,calc(100dvh - var(--site-header-height) - 184px));overflow-y:auto;scrollbar-width:thin}
  .page-guide-link{width:100%;justify-content:flex-start;min-height:40px;padding:8px 12px;gap:13px}
  .page-guide-label{position:static;padding:0;border:0;background:transparent;transform:none;opacity:1;white-space:normal;pointer-events:auto;font-size:12px}
  .page-guide-index{width:17px;flex:0 0 17px;color:#91b3c5}
  .page-guide-link[aria-current=location] .page-guide-index{color:#d9f6bf}
  .page-guide-progress{display:flex;gap:10px;align-items:center;min-height:40px;padding:8px 45px 0 7px;font-size:10px;margin:8px 3px 0}
  .page-guide-meter{flex:1;margin:0;height:3px}
  .page-guide-back{position:absolute;right:10px;bottom:9px;top:auto;width:34px;height:30px;min-height:0;border:1px solid #3a586e;border-radius:8px;background:#102131}
}
@media(max-width:1000px){
  :root{--site-header-height:72px;--site-anchor-gap:18px}
  body.site-shell .site-header .header-inner{width:calc(100% - 40px);height:72px;gap:12px}
  body.site-shell .site-header .brand{gap:10px}
  body.site-shell .site-header .brand-icon{width:32px;height:32px;font-size:19px}
  body.site-shell .site-header .brand-name{font-size:16px;letter-spacing:1.5px}
  body.site-shell .site-header .brand-sub{font-size:8px;letter-spacing:.9px;margin-top:4px}
  body.site-shell .site-header .site-view-switch{margin-left:auto;order:2}
  body.site-shell .site-header .menu-toggle{display:block;order:3;min-height:36px;padding:7px 10px;font-size:11px;color:#dcecf7;background:#142131;border:1px solid #3e5265;border-radius:6px;white-space:nowrap}
  body.site-shell .site-header .nav{display:none;position:absolute;top:71px;left:0;right:0;padding:19px 20px;background:#0d1b2b;border-bottom:1px solid #385468;flex-wrap:wrap;gap:10px 24px;margin:0;font-size:13px;box-shadow:0 12px 20px #0003}
  body.site-shell .site-header .nav.open{display:flex}
}
@media(max-width:480px){
  body.site-shell .site-header .header-inner{width:calc(100% - 32px);gap:9px}
  body.site-shell .site-header .brand{gap:9px}
  body.site-shell .site-header .brand-icon{width:30px;height:30px;font-size:18px}
  body.site-shell .site-header .brand-name{font-size:14px;letter-spacing:1.2px}
  body.site-shell .site-header .brand-sub{font-size:7px;letter-spacing:.5px}
  body.site-shell .site-header .site-view-switch{font-size:10px;padding:3px;gap:1px}
  body.site-shell .site-header .site-view-switch>span,body.site-shell .site-header .site-view-switch :is(a,button){padding:5px 6px}
  body.site-shell .site-header .site-view-switch :is(a,button) span{margin-left:2px}
  body.site-shell .site-header .menu-toggle{padding:7px 8px;font-size:10px}
  .page-guide{right:16px;max-width:calc(100vw - 32px)}
}
@media(max-width:350px){
  body.site-shell .site-header .header-inner{width:calc(100% - 24px);gap:7px}
  body.site-shell .site-header .brand-name{font-size:13px}
  body.site-shell .site-header .brand-sub{font-size:6px;letter-spacing:.3px}
  body.site-shell .site-header .brand-icon{width:27px;height:27px;font-size:17px}
  body.site-shell .site-header .site-view-switch>span,body.site-shell .site-header .site-view-switch :is(a,button){padding:5px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.page-guide-label{transition:none}}
@media print{.page-guide,.site-view-switch{display:none!important}body.site-shell.has-page-guide{padding-bottom:0}}
