:root{--header-bg:#fff;--header-text:#142036;--header-muted:#64748b;--header-line:#dbe5ec;--header-soft:#f1f6f9;--header-dark:#0a1d37;--header-accent:#00a8ff}html.dark{--header-bg:#071421;--header-text:#eef6ff;--header-muted:#afbed0;--header-line:#263b4f;--header-soft:#122436;--header-dark:#020b14}.site-header{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--header-bg) 94%,transparent);color:var(--header-text);border-bottom:1px solid var(--header-line);backdrop-filter:blur(16px)}.site-header:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--accent,var(--header-accent)),#ffc900,var(--accent,var(--header-accent)))}.site-header .header-inner{width:min(1280px,calc(100% - 32px));min-height:76px;margin:auto;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px}.brand-cluster{display:flex;align-items:center;gap:10px;min-width:0}.site-header .brand{display:inline-flex;align-items:center;flex:0 0 auto;text-decoration:none;color:var(--header-text);font-weight:900;line-height:1}.site-header .brand img{display:block;width:48px;height:44px;object-fit:contain}.site-header .brand img.wordmark{width:152px;height:46px;object-fit:contain}.site-header .brand>span{margin-left:9px}.site-header .brand small{display:block;margin-top:5px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--header-muted)}body.tavu .site-header .brand>span,body.atous .site-header .brand>span{display:none}.site-header .ecosystem-mark{display:inline-flex;align-items:center;gap:6px;max-width:172px;padding:6px 9px;border:1px solid var(--header-line);border-radius:999px;color:var(--header-muted);background:var(--header-bg);font-size:11px;font-weight:800;line-height:1.1;text-decoration:none;white-space:nowrap}.site-header .ecosystem-mark img{display:block!important;width:20px!important;height:20px!important;max-width:20px!important;min-width:20px!important;object-fit:contain!important}.site-header .nav{min-width:0;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:10px}.nav-links{display:flex;align-items:center;justify-content:flex-end;gap:2px;min-width:0}.nav-links>a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 9px;border-radius:9px;color:var(--header-text);font-size:13px;font-weight:760;line-height:1.15;text-decoration:none;text-align:center}.nav-links>a:hover,.nav-links>a[aria-current=page]{background:var(--header-soft)}.nav-links .btn{min-height:40px;margin-left:5px;padding:8px 13px;border:0;border-radius:12px;background:var(--header-dark);color:#fff;box-shadow:none}.site-header .preferences{display:flex;align-items:center;gap:7px;flex:0 0 auto;margin:0}.theme-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--header-line);border-radius:999px;background:var(--header-soft)}.theme-choice{display:inline-grid;place-items:center;min-width:31px;height:28px;padding:0 7px;border:0;border-radius:999px;background:transparent;color:var(--header-muted);font:700 11px/1 system-ui,sans-serif;cursor:pointer}.theme-choice:hover{color:var(--header-text)}.theme-choice[aria-pressed=true]{background:var(--header-bg);color:var(--header-text);box-shadow:0 1px 5px rgba(15,35,55,.15)}.site-header .lang-switch{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid var(--header-line);border-radius:999px;background:var(--header-bg);color:var(--header-text);font-size:11px;font-weight:850;text-decoration:none}.site-header .nav-toggle{display:none;margin-left:auto;padding:9px 12px;border:1px solid var(--header-line);border-radius:11px;background:var(--header-bg);color:var(--header-text);font:800 12px system-ui,sans-serif}.scroll-progress{position:absolute;left:0;bottom:-1px;width:0;height:2px;background:var(--accent,var(--header-accent))}.theme-picker{display:none!important}@media(max-width:1160px){.site-header .header-inner{grid-template-columns:minmax(0,1fr) auto}.site-header .nav-toggle{display:inline-flex}.site-header .nav{display:none;position:absolute;left:16px;right:16px;top:68px;margin:0;padding:12px;border:1px solid var(--header-line);border-radius:16px;background:var(--header-bg);box-shadow:0 20px 55px rgba(8,29,55,.18);flex-direction:column;align-items:stretch}.site-header .nav.open{display:flex}.nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.nav-links>a{justify-content:flex-start;text-align:left}.nav-links .btn{grid-column:1/-1;margin:5px 0 0;justify-content:center}.site-header .preferences{justify-content:space-between;padding-top:10px;border-top:1px solid var(--header-line)}.site-header .ecosystem-mark span{display:none}.site-header .ecosystem-mark{width:34px;height:34px;padding:6px;justify-content:center}}@media(max-width:620px){.site-header .header-inner{width:min(100% - 20px,1280px);min-height:66px;gap:8px}.brand-cluster{gap:6px}.site-header .brand img{width:40px;height:38px}.site-header .brand img.wordmark{width:126px;height:40px}.site-header .brand>span{font-size:14px}.site-header .brand small{display:none}.site-header .ecosystem-mark{width:30px;height:30px}.site-header .ecosystem-mark img{width:17px!important;height:17px!important;max-width:17px!important;min-width:17px!important}.site-header .nav{top:61px;left:10px;right:10px}.nav-links{grid-template-columns:1fr}.nav-links .btn{grid-column:auto}.theme-choice{min-width:38px;height:30px}.site-header .lang-switch{min-height:36px}}

/* Runtime-enforced compact header for partially synchronized deployments. */
.site-header .theme-switch{flex:0 0 116px;width:116px;justify-content:center}.site-header .theme-choice{flex:0 0 auto}.site-header.compact-header .header-inner{grid-template-columns:minmax(0,1fr) auto}.site-header.compact-header .nav-toggle{display:inline-flex}.site-header.compact-header .nav{display:none;position:absolute;left:16px;right:16px;top:68px;margin:0;padding:12px;border:1px solid var(--header-line);border-radius:16px;background:var(--header-bg);box-shadow:0 20px 55px rgba(8,29,55,.18);flex-direction:column;align-items:stretch}.site-header.compact-header .nav.open{display:flex}.site-header.compact-header .nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.site-header.compact-header .nav-links>a{justify-content:flex-start;text-align:left}.site-header.compact-header .nav-links .btn{grid-column:1/-1;margin:5px 0 0;justify-content:center}.site-header.compact-header .preferences{justify-content:space-between;padding-top:10px;border-top:1px solid var(--header-line)}.site-header.compact-header .ecosystem-mark span{display:none}.site-header.compact-header .ecosystem-mark{width:34px;height:34px;padding:6px;justify-content:center}@media(max-width:620px){.site-header.compact-header .nav-links{grid-template-columns:1fr}.site-header.compact-header .nav-links .btn{grid-column:auto}}
