/* Shared header, footer and jump menu. Built by site-shell.js on every page. */
.global-shell__header,.global-shell__footer,.global-shell__jump{--sh-paper:#0b101b;--sh-panel:#111827;--sh-raised:#192236;--sh-ink:#f5f1e9;--sh-muted:#b7bdc9;--sh-faint:#8590a6;--sh-line:#34405a;--sh-cyan:#8dd5da;--sh-violet:#b8a7e9;--sh-coral:#e8a397;--sh-amber:#edc58b;--sh-green:#94d0af;--sh-sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--sh-serif:Georgia,"Times New Roman",serif;color:var(--sh-ink);font:500 14px/1.45 var(--sh-sans)}
.global-shell__header a,.global-shell__footer a,.global-shell__jump a{color:inherit;text-decoration:none}
.global-shell__header button,.global-shell__footer button,.global-shell__jump button{font:inherit;color:inherit;cursor:pointer}
.global-shell__header svg,.global-shell__footer svg,.global-shell__jump svg{display:block;width:18px;height:18px;fill:currentColor;flex:none}
.global-shell__header kbd,.global-shell__footer kbd,.global-shell__jump kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:1px solid var(--sh-line);border-bottom-width:2px;border-radius:3px;background:var(--sh-panel);color:var(--sh-muted);font:600 11px/1 var(--sh-sans)}
.global-shell__header :focus-visible,.global-shell__footer :focus-visible,.global-shell__jump :focus-visible{outline:2px solid var(--sh-cyan);outline-offset:2px}
[class*="global-shell__"][class*="--cyan"]{--sh-accent:var(--sh-cyan)}[class*="global-shell__"][class*="--violet"]{--sh-accent:var(--sh-violet)}[class*="global-shell__"][class*="--amber"]{--sh-accent:var(--sh-amber)}[class*="global-shell__"][class*="--green"]{--sh-accent:var(--sh-green)}[class*="global-shell__"][class*="--coral"]{--sh-accent:var(--sh-coral)}[class*="global-shell__"][class*="--muted"]{--sh-accent:var(--sh-faint)}

/* ---------- Header ---------- */
.global-shell__header{position:relative;z-index:150;display:flex;align-items:center;gap:clamp(14px,2.2vw,32px);min-height:68px;padding:10px clamp(16px,3vw,44px);border-bottom:1px solid var(--sh-line);background:var(--sh-paper)}
.global-shell__header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,var(--sh-cyan),var(--sh-violet) 40%,var(--sh-coral) 70%,transparent);opacity:.55;pointer-events:none}
.global-shell__brand{display:inline-flex;align-items:center;gap:10px;flex:none;font:800 12px/1 var(--sh-sans);letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
.global-shell__brand img{width:34px;height:34px;object-fit:contain}
.global-shell__nav{display:flex;align-items:stretch;gap:2px}
.global-shell__item{position:relative;display:flex}
.global-shell__trigger{position:relative;display:flex;align-items:center;min-height:44px;padding:0 12px;border:0;border-radius:3px;background:transparent;color:var(--sh-muted);font-weight:600;letter-spacing:.01em;transition:color .15s ease,background .15s ease}
.global-shell__trigger::after{content:"";position:absolute;left:12px;right:12px;bottom:6px;height:2px;border-radius:2px;background:var(--sh-accent);transform:scaleX(0);transform-origin:left;transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.global-shell__item:hover>.global-shell__trigger,.global-shell__item.is-open>.global-shell__trigger{color:var(--sh-ink);background:#ffffff08}
.global-shell__item:hover>.global-shell__trigger::after,.global-shell__item.is-open>.global-shell__trigger::after,.global-shell__item.is-current>.global-shell__trigger::after{transform:scaleX(1)}
.global-shell__item.is-current>.global-shell__trigger{color:var(--sh-ink)}
.global-shell__panel{position:absolute;top:calc(100% + 10px);left:0;z-index:2;display:grid;width:330px;padding:8px;border:1px solid var(--sh-line);border-top:2px solid var(--sh-accent);border-radius:3px;background:var(--sh-panel);box-shadow:0 22px 50px #000a;animation:global-shell-rise .16s ease-out}
.global-shell__panel::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.global-shell__panel[hidden]{display:none}
.global-shell__tools .global-shell__panel{left:auto;right:0}
.global-shell__panel-link{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;width:100%;padding:10px;border:0;border-radius:3px;background:transparent;text-align:left}
.global-shell__panel-number{padding-top:2px;color:var(--sh-accent);font:700 11px/1.4 var(--sh-sans);letter-spacing:.08em}
.global-shell__panel-text{display:grid;gap:2px}
.global-shell__panel-text strong{color:var(--sh-ink);font-weight:650}
.global-shell__panel-text small{color:var(--sh-muted);font-size:12.5px;font-weight:400}
.global-shell__panel-link:hover,.global-shell__panel-link:focus-visible{background:var(--sh-raised);outline:0}
.global-shell__panel-link:hover strong,.global-shell__panel-link:focus-visible strong,.global-shell__panel-link[aria-current=page] strong{color:var(--sh-accent)}
.global-shell__tools{display:flex;align-items:center;gap:10px;margin-left:auto}
.global-shell__jump-button{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 8px 0 11px;border:1px solid var(--sh-line);border-radius:3px;background:var(--sh-panel);color:var(--sh-muted);transition:border-color .15s ease,color .15s ease}
.global-shell__jump-button:hover{border-color:var(--sh-cyan);color:var(--sh-ink)}
.global-shell__jump-label{font-size:13px}
.global-shell__socials{display:flex;align-items:center;gap:2px}
.global-shell__social{display:grid;place-items:center;width:38px;height:38px;border-radius:3px;color:var(--sh-muted);transition:color .15s ease,background .15s ease}
.global-shell__social:hover{background:#b8a7e914;color:var(--sh-violet)}
.global-shell__sign-in{padding:9px 6px;color:var(--sh-muted);font-weight:600;white-space:nowrap}
.global-shell__sign-in:hover{color:var(--sh-ink)}
.global-shell__join{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border-radius:3px;background:var(--sh-violet);color:#141024!important;font-weight:750;white-space:nowrap;transition:background .15s ease,transform .15s ease}
.global-shell__join:hover{background:#cbbdf2;transform:translateY(-1px)}
.global-shell__tools>.global-shell__item>.global-shell__trigger{border:1px solid var(--sh-line);min-height:38px}
.global-shell__menu{display:none;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--sh-line);border-radius:3px;background:var(--sh-panel)}
.global-shell__sheet{position:fixed;inset:68px 0 0;z-index:99;display:flex;flex-direction:column;gap:24px;overflow:auto;padding:22px clamp(16px,4vw,40px) 40px;background:var(--sh-paper);border-top:1px solid var(--sh-line);animation:global-shell-rise .18s ease-out}
.global-shell__sheet[hidden]{display:none}
.global-shell__sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}
.global-shell__sheet-group{display:grid;align-content:start;gap:2px}
.global-shell__sheet-group h2{margin:0 0 6px;padding-bottom:8px;border-bottom:2px solid var(--sh-accent);color:var(--sh-ink);font:800 11px/1.3 var(--sh-sans);letter-spacing:.12em;text-transform:uppercase}
.global-shell__sheet-link{display:flex;align-items:center;min-height:46px;padding:0 4px;border:0;background:transparent;color:var(--sh-muted);font-size:16px;text-align:left}
.global-shell__sheet-link:hover,.global-shell__sheet-link[aria-current=page]{color:var(--sh-accent)}
.global-shell__sheet-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-top:20px;border-top:1px solid var(--sh-line)}
.global-shell__socials--sheet{margin-left:auto}
html.global-shell--locked{overflow:hidden}

/* ---------- Footer ---------- */
.global-shell__footer{clear:both;padding:0 clamp(16px,3vw,44px);border-top:1px solid var(--sh-line);background:var(--sh-paper)}
.global-shell__footer-inner{width:min(100%,1280px);margin:0 auto}
.global-shell__footer-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;padding:40px 0 32px}
.global-shell__footer-brand{display:grid;gap:12px}
.global-shell__footer-brand .global-shell__brand{font-size:13px}
.global-shell__footer-brand .global-shell__brand img{width:40px;height:40px}
.global-shell__footer-brand p{max-width:34ch;margin:0;color:var(--sh-muted);font:italic 400 18px/1.4 var(--sh-serif)}
.global-shell__footer-cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.global-shell__footer-cta p{margin:0;color:var(--sh-ink);font:400 22px/1.2 var(--sh-serif);letter-spacing:-.02em}
.global-shell__footer-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding:32px 0;border-top:1px solid var(--sh-line);border-bottom:1px solid var(--sh-line)}
.global-shell__footer-group h2{margin:0 0 14px;padding-left:10px;border-left:2px solid var(--sh-accent);color:var(--sh-ink);font:800 11px/1.3 var(--sh-sans);letter-spacing:.12em;text-transform:uppercase}
.global-shell__footer-group ul{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.global-shell__footer-group a{display:inline-flex;align-items:center;min-height:32px;padding-left:12px;color:var(--sh-muted);font-size:14px;transition:color .15s ease}
.global-shell__footer-group a:hover,.global-shell__footer-group a[aria-current=page]{color:var(--sh-accent)}
.global-shell__footer-base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:20px 0 28px;color:var(--sh-faint);font-size:13px}
.global-shell__footer-base p{margin:0}
.global-shell__to-top{padding:6px 0;border:0;background:transparent;color:var(--sh-muted)}
.global-shell__to-top:hover{color:var(--sh-ink)}

/* ---------- Jump menu ---------- */
.global-shell__jump{position:fixed;z-index:1000;display:flex;flex-direction:column;width:min(360px,calc(100vw - 24px));max-height:min(460px,calc(100vh - 24px));border:1px solid var(--sh-line);border-top:2px solid var(--sh-cyan);border-radius:4px;background:var(--sh-panel);box-shadow:0 26px 60px #000c,0 0 0 1px #0006;animation:global-shell-pop .12s ease-out}
.global-shell__jump[hidden]{display:none}
.global-shell__jump--sheet{left:50%!important;top:max(12px,env(safe-area-inset-top,0px))!important;width:min(560px,calc(100vw - 24px));max-height:min(70vh,560px);transform:translateX(-50%);animation:none}
.global-shell__jump-field{display:flex;align-items:center;gap:10px;padding:0 12px;border-bottom:1px solid var(--sh-line);color:var(--sh-muted)}
.global-shell__jump-field input{flex:1;min-width:0;height:46px;border:0;background:transparent;color:var(--sh-ink);font:500 15px var(--sh-sans);outline:0}
.global-shell__jump-field input:focus,.global-shell__jump-field input:focus-visible{outline:0}
.global-shell__jump-field:focus-within{color:var(--sh-cyan)}
.global-shell__jump-field input::placeholder{color:var(--sh-faint)}
.global-shell__jump-field input::-webkit-search-cancel-button{display:none}
.global-shell__jump-list{flex:1;overflow:auto;padding:6px;overscroll-behavior:contain}
.global-shell__jump-group{margin:8px 8px 4px;color:var(--sh-faint);font:800 10.5px/1.3 var(--sh-sans);letter-spacing:.12em;text-transform:uppercase}
.global-shell__jump-option{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-left:2px solid transparent;border-radius:3px;background:transparent;text-align:left}
.global-shell__jump-option[aria-selected=true]{border-left-color:var(--sh-accent);background:var(--sh-raised)}
.global-shell__jump-text{display:grid;gap:1px;min-width:0}
.global-shell__jump-text strong{overflow:hidden;color:var(--sh-ink);font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.global-shell__jump-text small{overflow:hidden;color:var(--sh-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.global-shell__jump-option[aria-selected=true] strong{color:var(--sh-accent)}
.global-shell__jump-option[aria-current=page] strong::after{content:" · you are here";color:var(--sh-faint);font-weight:400}
.global-shell__jump-hint{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0;padding:9px 12px;border-top:1px solid var(--sh-line);color:var(--sh-faint);font-size:11.5px}
.global-shell__jump-hint span{flex-basis:100%}
.global-shell__jump--sheet .global-shell__jump-hint span{display:none}

@keyframes global-shell-rise{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@keyframes global-shell-pop{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}

/* ---------- Responsive ---------- */
@media(max-width:1100px){
  .global-shell__nav{display:none}
  .global-shell__menu{display:grid}
  .global-shell__tools>.global-shell__item{display:none}
}
@media(max-width:760px){
  .global-shell__header{min-height:60px}
  .global-shell__sheet{inset:60px 0 0}
  .global-shell__header .global-shell__tools>.global-shell__socials,.global-shell__tools>.global-shell__sign-in,.global-shell__jump-label,.global-shell__jump-button kbd{display:none}
  .global-shell__jump-button{width:42px;height:42px;justify-content:center;padding:0}
  .global-shell__footer-map{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .global-shell__brand span{display:none}
  .global-shell__footer-brand .global-shell__brand span{display:inline}
  .global-shell__sheet-grid{grid-template-columns:1fr}
  .global-shell__socials--sheet{margin-left:0}
  .global-shell__footer-tip{display:none}
}
@media(hover:none){.global-shell__footer-tip{display:none}}
@media(prefers-reduced-motion:reduce){.global-shell__header *,.global-shell__footer *,.global-shell__jump,.global-shell__jump *{animation:none!important;transition:none!important}}
@media print{.global-shell__header,.global-shell__footer,.global-shell__jump{display:none!important}}

/* Signed-in account button: only the member's avatar, in a circle. */
.global-shell__tools>.global-shell__item>.global-shell__trigger.global-shell__avatar-button { position: relative; display: grid; place-items: center; width: 2.15rem; height: 2.15rem; min-height: 0; padding: 0; overflow: hidden; border: 0; border-radius: 50%; background: #ffffff14; color: var(--ink, #fff); box-shadow: none; }
.global-shell__tools>.global-shell__item>.global-shell__trigger.global-shell__avatar-button::before, .global-shell__tools>.global-shell__item>.global-shell__trigger.global-shell__avatar-button::after { content: none; display: none; }
.global-shell__tools>.global-shell__item>.global-shell__trigger.global-shell__avatar-button:focus-visible { outline: 2px solid var(--coral, #e8a397); outline-offset: 2px; }
.global-shell__avatar { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.global-shell__avatar-initial { font-weight: 800; font-size: .95rem; }
