/* The one nxglobe.com header and footer: product pages (/de/, /en/), the examples overview and the
   API documentation. Scoped to .site-header/.site-footer so every page keeps its own styles.
   header.js carries a copy inline for the pages of the osglobe build. */
html { scrollbar-gutter:stable; }
/* Header: the same measures as www.nxte.ch and www.treenote.net (their site.css), scoped here so the
   examples overview and the API documentation keep their own styles. */
.site-header { position:sticky; top:0; z-index:100; box-sizing:border-box; display:block; margin:0; padding:0; width:100%; max-width:none; background:#081018f5; border:0; border-bottom:1px solid #263646; color:#e9eff5; font:400 16px/1.65 system-ui,"Segoe UI",sans-serif; letter-spacing:normal; text-align:left; }
.site-header *, .site-footer * { box-sizing:border-box; }
.site-header > .header-inner { display:flex; align-items:center; flex-wrap:nowrap; gap:30px; max-width:1240px; width:auto; min-height:0; padding:16px 36px; margin:0 auto; }
.site-header .brand { display:inline-flex; align-items:center; gap:10px; margin:0; padding:0; white-space:nowrap; }
.site-header .brand a { display:inline-flex; align-items:center; margin:0; padding:0; border:0; background:none; color:inherit; text-decoration:none; }
.site-header .brand-wordmark { display:block; width:150px; max-width:none; height:auto; margin:0; padding:0; border:0; }
.site-header .brand-company:hover .brand-wordmark { opacity:.85; }
.site-header .brand-product { padding-left:14px; border-left:1px solid #263646; color:#e9eff5; font:700 20px/1.65 system-ui,"Segoe UI",sans-serif; letter-spacing:-.3px; white-space:nowrap; }
.site-header .brand-product span { font-weight:400; }
.site-header .brand a:hover .brand-product { color:#0e9bfc; }
.site-header nav { display:flex; align-items:center; gap:30px; width:auto; margin:0 0 0 auto; padding:0; background:none; border:0; }
.site-header nav a { display:inline; margin:0; padding:0; border:0; border-radius:0; background:none; color:#9cabb9; font:400 15px/1.65 system-ui,"Segoe UI",sans-serif; text-decoration:none; white-space:nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current] { color:#0e9bfc; text-decoration:underline; text-underline-offset:5px; }
.site-header .language-control { display:flex; align-items:center; margin:0; padding:0 0 0 24px; border:0; border-left:1px solid #263646; }
.site-header select.language { appearance:auto; width:auto; max-width:110px; height:auto; margin:0; padding:8px 10px; border:1px solid #263646; border-radius:5px; background:#0d1924; color:#e9eff5; font:400 13px/1.65 system-ui,"Segoe UI",sans-serif; box-shadow:none; cursor:pointer; }
.site-header a:focus-visible, .site-header button:focus-visible, .site-header select:focus-visible { outline:2px solid #0e9bfc; outline-offset:4px; }
.site-header .menu-toggle { display:none; width:auto; margin:0 0 0 auto; padding:5px 9px; border:1px solid #66889f; border-radius:4px; background:transparent; color:#0e9bfc; font:400 13px/1.65 system-ui,"Segoe UI",sans-serif; cursor:pointer; }
.site-footer { display:flex; align-items:center; flex-wrap:wrap; gap:20px 32px; box-sizing:border-box; width:calc(100% - 72px); max-width:1168px; margin:30px auto 0; padding:30px 0 34px; border:0; border-top:1px solid #263646; background:transparent; color:#9cabb9; font:400 12px/1.65 system-ui,"Segoe UI",sans-serif; letter-spacing:normal; }
.site-footer-links { display:flex; flex-wrap:wrap; gap:14px 22px; margin-left:auto; }
.site-footer a { color:#9cabb9; text-decoration:none; font-size:12px; }
.site-footer a:hover { color:#0e9bfc; text-decoration:underline; }
.skip { position:absolute; top:-100px; left:12px; padding:10px; background:#081018; z-index:200; }
.skip:focus { top:10px; }
body:has(> .site-header) > header.masthead,
body:has(> .site-header) > header.topbar > .brand { display:none; }
/* Documentation tools are separate from the site header. */
html.has-site-docs .site-header { position:fixed; }
.docs-toolbar.topbar { inset:var(--site-header-height,113px) 0 auto; height:56px; padding:0 max(36px,calc((100% - 1168px)/2)); gap:16px; z-index:50; }
.docs-toolbar > .brand { display:none; }
.docs-toolbar .search-trigger { margin-left:auto; }
html.has-site-docs #main-content h2, html.has-site-docs #main-content h3 { scroll-margin-top:calc(var(--header) + 24px); }
@media(max-width:1100px) {
 .site-header > .header-inner { flex-wrap:wrap; gap:12px; padding:14px 20px; }
 .site-header .brand-wordmark { width:126px; }
 .site-header .menu-toggle { display:block; }
 .site-header nav { order:4; flex-direction:column; align-items:stretch; gap:0; width:100%; margin:0; padding:8px 0 4px; }
 .site-header nav > a { display:block; width:100%; padding:12px 4px; border-bottom:1px solid #263646; }
 .site-header .language-control { display:block; padding:16px 0 0; border:0; }
 .site-header .language-control select.language { display:block; width:100%; max-width:none; min-height:46px; padding:12px; font-size:15px; }
 html.js .site-header nav:not(.open) { display:none; }
 .site-footer { width:calc(100% - 40px); }
 .docs-toolbar.topbar { padding:0 20px; }
}
@media(max-width:767px) {
 .docs-toolbar .top-reference { display:none; }
}
@media(max-width:640px) {
 .site-header .brand { gap:10px; }
 .site-header .brand-product { padding-left:10px; font-size:17px; }
}
@media(max-width:360px) {
 .site-header .brand-wordmark { width:100px; }
 .site-header > .header-inner { gap:8px; }
}
@media print { .site-header,.docs-toolbar,.site-footer { display:none!important; } }
