/* 2.73.0: one header for every static page (tools, guides, how, contact, privacy, terms, book), matching the home page
   and the platform: a white bar with the brand, the four section links, then language and the member's controls.
   Loaded after each page's own styles, so it overrides the older navy header. */
.top{background:#fff;color:#0b1625;border-bottom:1px solid #e3e7ec}
.top .in{min-height:64px;padding-top:0;padding-bottom:0}
.top .brand{color:#0b1625}.top .brand b{color:#0b1625}.top .brand b i{color:#cf3438}
.top-nav{display:flex;align-self:stretch;gap:2px;flex:1;margin-inline-start:22px}
.top-nav a{display:flex;align-items:center;padding:0 12px;color:#33414f;font-size:15px;text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px}
.top-nav a:hover{color:#0b1625;text-decoration:none}
.top-nav a[aria-current]{color:#0b1625;font-weight:700;border-bottom-color:#cf3438}
.top-nav a:focus-visible{outline:2px solid #cf3438;outline-offset:-2px}
.top-nav .en{display:none}html[lang=en] .top-nav .en{display:inline}html[lang=en] .top-nav .ar{display:none}
.top .acts a{color:#0b1625;border-color:#a9b8c9}.top .acts a:hover{background:#f6f7f9}
.top .acts a.red,.top .acts a.red:hover{color:#fff;background:#cf3438;border-color:#cf3438}
.top .acts a[data-home] svg{stroke:#0b1625}
.top .mb-dark .mb-help,.top .mb-dark .mb-ic{color:#0b1625}
.top .mb-dark .mb-help:hover,.top .mb-dark .mb-ic:hover{background:#f6f7f9}
.top .sn-burger{color:#0b1625;border-color:#a9b8c9;background:#fff}
@media(max-width:900px){.top-nav{display:none}}
/* 2.99.3 (owner: the links wrapped to three lines and the member's controls fell to a second row, with the side menu open
   and the admin icon shown): a link never wraps, the bar never wraps, and when the bar itself is too narrow for the
   four links they give way (the side menu beside it carries the same links). Measured on the bar, not the window,
   since the side menu takes 84 to 284 px of it. */
/* 2.99.5 (ux review): on desktop only. Applied to every width they broke the phone (the book page ran 176 px wide off
   the screen; the bar wrapped there before, as it should). The links take their own width and the breadcrumb the rest
   (with the links growing it was left 29 to 65 px even at 1920). */
@media(min-width:901px){
  .top{container-type:inline-size;container-name:topbar}
  .top .in{flex-wrap:nowrap}
  .top-nav{flex:0 0 auto}
  .top-nav a{white-space:nowrap;flex:0 0 auto}
  .top .crumb{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .top .acts,.top .mb-row{flex:0 0 auto;white-space:nowrap}
  .top .acts{margin-inline-start:auto}
}
@container topbar (max-width:1060px){.top-nav{display:none}}
/* 2.100.0 (owner, with the ux review): beside the side menu the four links are its own first items, so the bar does not repeat them */
@media(min-width:901px){body.ws-side .top-nav{display:none}
  /* 2.100.3: from the page itself, before side-nav.js (deferred) has run: no flash of the links and a jump (owner's recording) */
  body:has(script[data-mode="site"][src*="side-nav.js"]) .top-nav{display:none}}
/* 2.100.3: the breadcrumb (the book page) was white on the white bar since the bar turned white (2.73.0): it was there, unseen */
.top .crumb{color:#33414f}.top .crumb a{color:#33414f}.top .crumb span{color:#0b1625;font-weight:600}
/* on a phone the member's controls give way first: the help word and the home icon (the side drawer carries both) */
@media(max-width:600px){.top .mb-help span{display:none}.top .acts a[data-home]{display:none}}
.top .mb-dark .mb-av{background:#0b1625;color:#fff}.top .mb-dark .mb-av:hover{background:#2a4260}
.top .mb-dark .mb-adm{color:#cf3438!important}.top .mb-dark .mb-adm:hover{background:#f6f7f9!important}
/* 2.111.0: on a phone and a tablet every header control is a 44 px target (they were 34 to 38). Written on the controls that
   show: a rule on `.top .red` also showed the visitor's hidden Platform link (#ws) and ran the page 374 px wide on 360. */
@media(max-width:900px){
  .top #lng{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
  .top .acts .mb-cta a{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
}
@media(max-width:600px){.top .acts .mb-cta a.mb-in{display:none}}
