/* Shared public-site navigation. Scoped to avoid each page's legacy styles. */
.lm-shell{font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;text-align:left;--shell-paper:#ffffff;--shell-ink:#1c2d40;--shell-muted:#62768a;--shell-line:#dce6ef;--shell-hover:#edf5ff;--shell-blue:#086dcc;color:var(--shell-ink)}
header.site-header.lm-shell{position:sticky;top:0;z-index:1000;width:100%;max-width:none;margin:0;padding:0;background:var(--shell-paper);border:0;border-bottom:1px solid var(--shell-line);box-shadow:none}
.lm-shell .site-header-inner{box-sizing:border-box;max-width:1200px;min-height:64px;margin:0 auto;padding:8px 24px;display:flex;align-items:center;gap:28px}
.lm-shell a{text-decoration:none;color:var(--shell-ink);font-weight:500;font-size:14px;letter-spacing:normal}
.lm-shell a:hover{color:var(--shell-blue)}
.lm-shell a:focus-visible,.lm-shell button:focus-visible,.lm-shell summary:focus-visible{outline:3px solid #5aa8f1;outline-offset:3px}
.lm-shell .site-brand{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;font-size:19px;font-weight:750;white-space:nowrap;color:var(--shell-ink)}
.lm-shell .site-brand img{border-radius:7px;filter:none;width:28px;height:28px;object-fit:contain}
.lm-shell .site-primary-nav{display:flex;align-items:center;gap:24px;margin:0;padding:0}
.lm-shell .site-primary-nav a{display:block;padding:12px 0;white-space:nowrap;color:var(--shell-muted)}
.lm-shell .site-primary-nav a[aria-current=page]{color:var(--shell-blue)}
.lm-shell .site-header-controls{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}
.lm-shell details{position:relative;margin:0;padding:0;border:0}
.lm-shell .header-control,.lm-shell .lms-nav-toggle{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 12px;margin:0;background:var(--shell-paper);border:1px solid var(--shell-line);border-radius:12px;color:var(--shell-ink);font:inherit;font-weight:550;cursor:pointer;list-style:none;box-shadow:none;transform:none}
.lm-shell .header-control::-webkit-details-marker{display:none}
.lm-shell .appearance-control{width:44px;padding:10px}
.lm-shell .header-control img,.lm-shell .lms-nav-toggle img{display:block;filter:none;flex-shrink:0}
.lm-shell .header-menu{box-sizing:border-box;position:absolute;right:0;top:calc(100% + 8px);z-index:1010;display:flex;flex-direction:column;gap:2px;width:220px;max-height:min(65vh,480px);overflow:auto;padding:7px;background:var(--shell-paper);color:var(--shell-ink);border:1px solid var(--shell-line);border-radius:14px;box-shadow:0 16px 40px #19395820}
.lm-shell details:not([open])>.header-menu{display:none}
.lm-shell .header-menu>a,.lm-shell .header-menu>button{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:40px;flex-shrink:0;width:100%;padding:9px 30px 9px 12px;border:0;border-radius:8px;background:transparent;color:var(--shell-ink);font:inherit;text-align:left;text-decoration:none;box-shadow:none;cursor:pointer;transform:none}
.lm-shell .header-menu [aria-checked=true],.lm-shell .header-menu>a:hover,.lm-shell .header-menu>button:hover{background:var(--shell-hover);color:var(--shell-blue)}
.lm-shell .header-menu [aria-checked=true]::after{content:"";position:absolute;right:10px;top:16px;width:10px;height:6px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);background:none;filter:none}
.lm-shell .appearance-options{width:190px}
.lm-shell .lms-nav-toggle{display:none;width:44px;padding:10px}
.lm-shell [hidden]{display:none!important}
footer.lm-footer{max-width:none;margin:0;padding:42px 24px 28px;background:var(--shell-paper);border-top:1px solid var(--shell-line);color:var(--shell-muted);text-align:left}
.lm-footer-inner{max-width:1152px;margin:0 auto}
.lm-shell .lm-footer-brand{font-size:18px;font-weight:750}
.lm-footer-links{display:flex;flex-wrap:wrap;gap:14px 24px;margin-top:20px}
.lm-shell .lm-footer-links a{color:var(--shell-muted)}
.lm-footer-meta{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between;border-top:1px solid var(--shell-line);margin-top:28px;padding-top:20px;font-size:12px}
.lm-shell .lm-footer-meta a{font-size:12px;color:var(--shell-muted)}
html[data-theme=dark] .lm-shell{--shell-paper:#101923;--shell-ink:#edf3f8;--shell-muted:#b1c2d3;--shell-line:#2c3e50;--shell-hover:#1c3247;--shell-blue:#9accff}
html[data-theme=dark] .lm-shell .header-control img,html[data-theme=dark] .lm-shell .header-menu button img,html[data-theme=dark] .lm-shell .lms-nav-toggle img{filter:invert(1)}
html[data-theme=dark] .lm-shell .site-brand img{filter:none}
html[data-theme=dark][data-lms-page=lab]{--bg:#101923;--paper:#142230;--ink:#e6eff7;--muted:#acbfd1;--line:#2c4053}
html[data-theme=dark][data-lms-page=lab] .article-body th{background:#1b3045}
@media(max-width:960px){.lm-shell .site-header-inner{gap:20px}.lm-shell .site-primary-nav{gap:16px}.lm-shell .site-brand{font-size:17px}}
@media(max-width:760px){.lm-shell .site-header-inner{padding:6px 16px;min-height:58px;gap:10px}.lm-shell .site-brand{display:inline-flex}.lm-shell .site-brand span{display:none}.lm-shell .site-primary-nav{display:none;position:absolute;left:12px;right:12px;top:calc(100% + 6px);padding:8px;background:var(--shell-paper);border:1px solid var(--shell-line);border-radius:14px;box-shadow:0 16px 40px #19395820}.lm-shell[data-menu-open] .site-primary-nav{display:flex;flex-direction:column;align-items:stretch;gap:0}.lm-shell .site-primary-nav a{padding:12px 14px;border-radius:8px}.lm-shell .site-primary-nav a:hover{background:var(--shell-hover)}.lm-shell .lms-nav-toggle{display:flex}.lm-shell .site-header-controls{gap:8px}.lm-shell #language-label,.lm-shell .control-chevron{display:none!important}.lm-shell .header-control{width:44px;padding:10px}.lm-shell .header-menu{width:210px}.lm-shell .appearance-options{width:190px}footer.lm-footer{padding:32px 20px 24px}.lm-footer-links{gap:14px 20px}.lm-footer-meta{flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){.lm-shell *{scroll-behavior:auto!important;transition:none!important}}
