/* Reuse the approved Landing navy overlay, white links and gold CTA. */
:root{--mobile-nav-background:rgba(15,37,86,.97);--mobile-nav-foreground:#fff;--mobile-nav-gold:#D4A843;--mobile-nav-blur:20px}
.nav-mobile{background:var(--mobile-nav-background);backdrop-filter:blur(var(--mobile-nav-blur))}
.theme-picker{position:relative;flex-shrink:0}
.theme-trigger{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;font-size:13px;font-weight:500;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:10px;cursor:pointer}
.theme-trigger .public-icon{width:18px;height:18px;color:var(--accent)}
.theme-options{display:none;position:absolute;inset-inline-end:0;top:calc(100% + 8px);width:220px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.16);z-index:1100;color:var(--ink)}
.theme-picker.is-open .theme-options{display:block}
.theme-label{display:block;font-size:12px;font-weight:500;margin:0 0 8px;color:var(--muted)}
.theme-segments{display:flex;flex-direction:column;gap:4px}
.theme-segments button{display:flex;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer;font-size:13px;font-weight:500}
.theme-segments button:hover{background:var(--surface-soft)}
.theme-segments button[aria-checked=true]{background:var(--accent-soft);color:var(--accent);font-weight:700}
.theme-check{visibility:hidden;font-weight:700}
[aria-checked=true]>.theme-check{visibility:visible}
.document-header .theme-trigger{border:0;background:transparent}
body.mobile-navigation-open{overflow:hidden}
.mobile-navigation-open .header-preferences{flex-direction:column;gap:10px;align-items:center}
.mobile-navigation-open .header-preferences .language-selector{background:transparent;border:0;margin:0;padding:0}
.mobile-navigation-open .header-preferences .language-selector button{color:#fff;min-height:44px;min-width:44px}
.mobile-navigation-open .header-preferences .language-selector button[aria-pressed=true]{background:rgba(255,255,255,.14);color:#fff;text-decoration:underline;text-underline-offset:5px}
.mobile-navigation-open .theme-picker{width:100%}
.mobile-navigation-open .theme-trigger{display:none}
.mobile-navigation-open .theme-options{display:block;position:static;width:100%;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#fff}
.mobile-navigation-open .theme-label{color:#d5deef;text-align:center}
.mobile-navigation-open .theme-segments{flex-direction:row;gap:3px}
.mobile-navigation-open .theme-segments button{justify-content:center;flex:1;gap:3px;padding:8px 4px;font-size:12px;color:#fff}
.mobile-navigation-open .theme-segments button:hover{background:rgba(255,255,255,.08)}
.mobile-navigation-open .theme-segments button[aria-checked=true]{background:rgba(255,255,255,.14);color:#fff}
.mobile-navigation-open .theme-check{font-size:11px}
.mobile-navigation-open :focus-visible{outline-color:#ffd381!important}
.nav-mobile>.header-preferences{position:absolute;top:64px;left:50%;transform:translateX(-50%);width:min(260px,calc(100vw - 128px))}
@media(max-width:1119px){
 .public-docs .document-header.is-open{position:fixed;inset:0;z-index:1000;background:var(--mobile-nav-background);backdrop-filter:blur(var(--mobile-nav-blur));border:0}
 .document-header.is-open .document-bar{max-width:none}
 .public-docs .document-header.is-open .document-brand,.document-header.is-open .document-menu-toggle{color:var(--mobile-nav-foreground)}
 .document-header[data-menu-ready].is-open .document-menu{display:flex;position:absolute;inset:64px 0 0;width:100%;max-height:none;flex-direction:column;align-items:center;gap:18px;padding:16px 24px 40px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-y:auto}
 .document-header.is-open .document-actions{display:contents}
 .document-header.is-open .document-preferences{order:0;margin:0;padding:0;border:0;width:min(260px,100%);flex-shrink:0}
 .document-header.is-open .document-preferences-title{display:none}
 .public-docs .document-header.is-open .document-links{order:1;flex:none;align-items:center;gap:18px;margin-top:auto}
 .public-docs .document-header.is-open .document-links a{font-size:1.3rem;font-weight:600;color:var(--mobile-nav-foreground);background:transparent;text-align:center}
 .public-docs .document-header.is-open .document-links a[aria-current]{color:var(--mobile-nav-gold);text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:2px}
 .public-docs .document-header.is-open .document-links a:hover{color:var(--mobile-nav-gold)}
 .public-docs .document-header.is-open .document-download{order:2;flex-shrink:0;margin:0 0 auto;background:var(--mobile-nav-gold);color:var(--mobile-nav-foreground);border-radius:50px;padding:10px 24px;font-size:1.3rem;font-weight:700;min-height:52px}
}
@media(max-height:600px){.nav-mobile>.header-preferences{position:static;transform:none;margin:0 auto 20px}.nav-mobile.open{justify-content:flex-start}.document-header[data-menu-ready].is-open .document-menu{justify-content:flex-start}.document-header.is-open .document-links{margin-top:0!important}}
