/* Shared navigation controls, including the confirmed reader's header. */
body.pilot-layout .site-header .header-actions .mobile-data,body.pilot-layout .site-header .header-actions .menu-toggle,body.pilot-layout .site-header .desktop-nav a,body.pilot-layout .site-header .desktop-nav .nav-personal-group a {font:400 14px/1.5 var(--ui)}
body.pilot-layout .site-header .qz-header-tools {display:flex;align-items:center;gap:16px;min-width:0}
body.pilot-layout .site-header .desktop-nav {justify-content:flex-start;min-width:0}
body.pilot-layout .site-header .nav-library-group {gap:12px;border:0;padding:0}
body.pilot-layout :is(.site-header,.mobile-menu) :is(.nav-library-group a,.qz-data-link) {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:0;border-radius:7px;color:#29483b;font:400 14px/1.5 var(--ui);text-decoration:none;white-space:nowrap}
body.pilot-layout .qz-nav-icon {display:block;width:19px;height:19px;flex:none}
body.pilot-layout .site-footer nav a {display:inline-flex;align-items:center;gap:8px}
body.pilot-layout :is(.site-header,.mobile-menu) :is(.nav-library-group a,.qz-data-link):hover {background:#264d3810}
body.pilot-layout :is(.site-header,.mobile-menu) a[aria-current=page] {background:#264d3810;box-shadow:inset 0 -2px #b99552;text-decoration:none}
body.pilot-layout :is(.site-header,.mobile-menu) a[aria-current=page]::after {display:none}
body.pilot-layout :is(.site-header,.mobile-menu) a:focus-visible {outline:2px solid #947a4b;outline-offset:2px}
body.pilot-layout .site-header .qz-data-link {flex:none;padding-inline:10px}
body.pilot-layout .mobile-menu .nav-library-group {grid-column:1/-1}
body.pilot-layout .site-header .qz-han-switch {display:flex;flex:none;border:1px solid #c5b99e;border-radius:5px;overflow:hidden;background:#faf6eb}
body.pilot-layout .site-header .qz-han-switch button {display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:0;padding:0;min-width:36px;min-height:34px;background:transparent;color:#253f35;font:400 14px/1.5 var(--ui)}
body.pilot-layout .site-header .qz-han-switch button+button {border-left:1px solid #c5b99e}
body.pilot-layout .site-header .qz-han-switch button[aria-pressed=true] {background:#23463a;color:#fffaf0}
body.pilot-layout .site-header .qz-han-switch button:focus-visible {outline:2px solid #ba9655;outline-offset:-3px}
body.pilot-layout .site-header .qz-header-search {display:flex;align-items:stretch;width:clamp(200px,19vw,280px);height:36px;min-width:0;margin:0;padding:0;border:1px solid #91a18e;border-radius:5px;background:#fffcf4;overflow:hidden;box-sizing:border-box}
body.pilot-layout .site-header .qz-header-search input {display:block;flex:1;width:0;min-width:0;height:100%;min-height:0;padding:0 12px;border:0;border-radius:0;background:transparent;color:#302c23;font:400 14px/1.5 var(--ui);box-shadow:none}
body.pilot-layout .site-header .qz-header-search input:focus {outline:0;box-shadow:none}
body.pilot-layout .site-header .qz-header-search:focus-within {border-color:#947a4b;box-shadow:0 0 0 2px #b59b6328}
body.pilot-layout .site-header .qz-header-search button {display:flex;align-items:center;justify-content:center;flex:none;min-width:36px;min-height:34px;padding:0;border:0;border-radius:0;background:#23463a;color:#fffaf0;font:400 14px/1.5 var(--ui)}
body.pilot-layout .site-header .qz-header-search button:focus-visible {outline:2px solid #d7b36c;outline-offset:-3px}
body.pilot-layout .site-header .qz-header-search svg {width:18px;height:18px}
@media(max-width:760px) {
 body.pilot-layout .site-header,body.pilot-layout.reader-page .site-header {display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;height:auto!important;min-height:0;padding:8px 12px 12px!important;align-items:center}
 body.pilot-layout .site-header::before,body.pilot-layout .site-header::after {display:none}
 body.pilot-layout .site-header .qz-brand {grid-column:1;grid-row:1;margin:0;min-width:0;width:100%;max-width:164px}
 body.pilot-layout .site-header .qz-brand img,body.pilot-layout.reader-page .site-header .qz-brand img {width:100%;max-width:100%;height:auto}
 body.pilot-layout .site-header .header-actions,body.pilot-layout .site-header .qz-header-tools {display:contents}
 body.pilot-layout .site-header .qz-han-switch {grid-column:2;grid-row:1}
 body.pilot-layout .site-header .qz-data-link {grid-column:3;grid-row:2;padding:0 4px;gap:5px}
 body.pilot-layout .site-header .menu-toggle {grid-column:3;grid-row:1}
 body.pilot-layout .site-header .qz-header-search {grid-column:1/3;grid-row:2;width:100%;height:46px}
 body.pilot-layout .site-header .qz-header-search input {font-size:16px;padding-inline:8px}
 body.pilot-layout .site-header .qz-han-switch button,body.pilot-layout .site-header .qz-header-search button {font-size:14px;min-width:44px;min-height:44px}
 body.pilot-layout .site-header .menu-toggle {min-width:44px;min-height:44px}
 body.pilot-layout .mobile-menu .nav-library-group {display:grid;grid-template-columns:1fr;gap:8px;padding:0;border:0;width:100%}
 body.pilot-layout .mobile-menu .nav-library-group a {justify-content:flex-start;padding:12px 16px}
}
@media print {body.pilot-layout .qz-header-tools {display:none}}
