/* Annex navigation: the one header (wordmark, question bar, sections, account and nothing else), the breadcrumb's
   Home and Back links, the footer's link row. The only home of these rules. annex.css imports this file; the app views
   (/screen, /monitor, /pipeline) link it directly. It reads the page's own tokens and falls back to the app's, so one
   file serves both. It names no color of its own: every color is a token of annex.css or of the app. */
.hd{--h-ink:var(--navy,var(--acc));--h-bg:var(--surface,var(--panel));--h-rule:var(--line);
--h-ctl:var(--ctl,var(--line));--h-mut:var(--mut2,var(--ink3));--h-text:var(--ink);
--h-tint:var(--tint,var(--acc2));--h-caps:var(--caps,Georgia,serif);
background:var(--h-bg);border-bottom:1px solid var(--h-rule)}
.hd>.wrap{height:64px;display:flex;align-items:center;gap:28px}
.hd .logo{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;flex:none}
.hd .logo svg{display:none}
.hd .logo span,.hd .logo{font-family:var(--h-caps);font-size:19px;line-height:1;letter-spacing:.18em;text-transform:uppercase;color:var(--h-ink);font-weight:400}
.hd form,.hd .qb{flex:1 1 280px;max-width:560px;display:flex;align-items:center;position:relative;margin:0;
border:1px solid var(--h-ctl);border-radius:8px;background:var(--h-bg)}
.hd form:focus-within,.hd .qb:focus-within{outline:2px solid var(--h-ink);outline-offset:2px}
.hd form input,.hd .qb input{flex:1;min-width:0;border:0;outline:none;font:inherit;font-size:13px;padding:10px 12px;background:transparent;color:var(--h-text)}
.hd form input::placeholder,.hd .qb input::placeholder{color:var(--h-mut);opacity:1}
.hd form kbd,.hd .qb kbd{display:none}
.hd .pn{margin-left:auto;display:flex;align-items:center;gap:2px;flex:none}
.hd .pn a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;font-size:13px;color:var(--h-text);
text-decoration:none;white-space:nowrap;box-shadow:inset 0 -2px 0 transparent}
.hd .pn a:hover{color:var(--h-ink);box-shadow:inset 0 -2px 0 var(--h-rule)}
.hd .pn a[aria-current]{color:var(--h-ink);font-weight:600;box-shadow:inset 0 -2px 0 var(--h-ink)}
.hd .pn a:focus-visible,.hd .logo:focus-visible{outline:2px solid var(--h-ink);outline-offset:2px}
.hd .logo:hover span{text-decoration:none}
/* the account menu: the last thing in the header. It holds the light or dark choice */
.hd .acct{position:relative;flex:none;margin-left:-14px;padding-left:12px;border-left:1px solid var(--h-rule)}
.hd .acct:empty{display:none}
.hd .ab{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;border:0;background:none;font:inherit;font-size:13px;color:var(--h-text);cursor:pointer;white-space:nowrap}
.hd .ab:hover,.hd .ab[aria-expanded=true]{color:var(--h-ink)}
.hd .ab:focus-visible,.hd .ami:focus-visible{outline:2px solid var(--h-ink);outline-offset:2px}
.hd .am{position:absolute;right:0;top:calc(100% + 6px);z-index:75;min-width:168px;padding:6px 0;background:var(--surface,var(--raise));
border:1px solid var(--h-ctl);border-radius:8px;box-shadow:var(--shadow);text-align:left}
.hd .am[hidden]{display:none}
.hd .amh{padding:8px 14px 4px;font-family:var(--h-caps);font-size:10px;letter-spacing:.14em;color:var(--h-mut)}
.hd .ami{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 14px;border:0;background:none;font:inherit;font-size:13px;color:var(--h-text);cursor:pointer;text-align:left}
.hd .ami::before{content:"";width:8px;height:8px;border-radius:50%;border:1px solid var(--h-ctl);flex:none}
.hd .ami[aria-checked=true]::before{background:var(--h-ink);border-color:var(--h-ink)}
.hd .ami:hover{background:var(--h-tint)}
/* the question bar's live suggestions (suggest.js): names from the index as the reader types, their own recent items when empty */
.qs{position:absolute;left:-1px;right:-1px;top:calc(100% + 4px);z-index:70;background:var(--surface,var(--raise));color:var(--ink);border:1px solid var(--ctl,var(--line));
border-radius:8px;box-shadow:var(--shadow);max-height:min(560px,72vh);overflow:auto;padding:4px 0;text-align:left}
.qs .qg{display:flex;justify-content:space-between;gap:12px;padding:9px 14px 3px;font-family:var(--caps,inherit);font-size:10px;letter-spacing:.14em;color:var(--mut2,var(--ink3))}
.qs .qi{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:7px 14px;text-decoration:none;color:var(--ink);font-size:13px;line-height:18px}
.qs .qi .qn{font-weight:500;min-width:0}
.qs .qi .qsb{font-size:11.5px;color:var(--mut2,var(--ink3));text-align:right;min-width:0;max-width:58%}
.qs .qi.on,.qs .qi:hover{background:var(--tint,var(--acc2))}
/* breadcrumb: Home first, and the way back to the list the reader came from */
.crumb .path .back{color:var(--navy,var(--acc));font-weight:500;margin-right:8px;padding-right:14px;border-right:1px solid var(--line)}
/* a detail page's next step, put beside its own buttons */
.acts .act.next{text-decoration:none;display:inline-flex;align-items:center}
@media (max-width:1100px){
.hd>.wrap{gap:16px}.hd .pn a{padding:0 7px}
}
@media (max-width:900px){
.hd>.wrap{flex-wrap:wrap;height:auto;padding-top:8px;padding-bottom:0;gap:0 14px}
.hd form,.hd .qb{flex:1 1 0;max-width:none;min-width:0}
.hd form input,.hd .qb input{font-size:16px;padding:9px 10px}
.hd>.wrap{position:relative}.hd form,.hd .qb{position:static}
.hd .qs{left:8px;right:8px;top:100%}
.qs .qi{min-height:44px;align-items:center}
.hd .pn{order:3;flex:1 1 100%;margin:4px -6px 0;overflow-x:auto;scrollbar-width:none;gap:0}
.hd .pn::-webkit-scrollbar{display:none}
.hd .pn a{padding:0 9px}
.hd .acct{order:2;margin:0 0 0 auto;padding-left:0;border-left:0;position:static}
.hd .am{right:8px;top:48px}
.hd .ami{min-height:44px}
.crumb .path .back{border-right:0;padding-right:0;flex-basis:100%}
}
/* a breadcrumb link keeps the spaces inside a name on a phone (an inline-flex link drops them around its hyphen spans) */
@media (pointer:coarse),(max-width:760px){.crumb .path a{display:inline-block;min-height:0;padding:12px 0}}
@media print{.hd form,.hd .qb,.hd .pn,.hd .acct,.crumb .path .back,.acts .act.next{display:none!important}}
