/* nav.css (Site v3, 2026-10-31): the navigation row on every page, replacing the b1 file with the same selectors
   (.site-nav, a[data-nav], a[aria-current="page"], the hidden Assistant link). The markup is website/nav_template.html.
   The row carries its own copies of the v3 tokens (01_style_guide.md section 3.2; theme v2 values and fonts since
   ruling 70, 2026-11-01), so it looks the same on pages that do not link /v3/site.css (the dashboard at /futures/, the guide, the members pages, the recap), and on a page in its
   light theme the row sits on a v3 --bg strip. Link muted, hover text, current text with a 2 px accent underline. Links are
   44 px tall; the sign-in link is pinned right.
   The menu (06_mobile.md section 2, 2026-11-01): below 900 px, once nav.js has shown the button (.has-menu), the links
   hide and the 44 px button stands at the right; #site-menu is the full-width list nav.js builds under the header. The
   900 px breakpoint is restated here, and only here outside /v3/site.css, because the dashboard, the guide, the members
   pages and the recap carry the row without linking site.css. Without JavaScript the row wraps as before. */
@font-face{font-family:'Orbitron';font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/Orbitron-latin-var.woff2) format('woff2')}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/Exo2-latin-var.woff2) format('woff2')}
/* Every colour below is a v3 token value from /v3/site.css; test_site_v3_pages pins that. */
.site-nav{--nav-line:#1a2f3a;--nav-text:#d6e2e8;--nav-muted:#66808c;--nav-accent:#5cd3e6;--nav-focus:#5cd3e6;
  display:flex;flex-wrap:wrap;align-items:center;gap:0 4px;margin:0 0 20px;padding:0;border-bottom:1px solid var(--nav-line);
  font:500 10px Orbitron,"Exo 2",system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;text-shadow:none}
.site-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--nav-muted);text-decoration:none;
  border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;text-shadow:none}
.site-nav a:hover{color:var(--nav-text);text-decoration:none}
.site-nav a:focus-visible{outline:2px solid var(--nav-focus);outline-offset:-4px;border-radius:4px}
.site-nav a[aria-current="page"]{color:var(--nav-text);border-bottom-color:var(--nav-accent)}
[data-theme="light"] .site-nav{background:#070a12;padding:0 8px;border-radius:6px}
.site-nav a[hidden]{display:none}
.site-nav .nav-signin{margin-left:auto}
.site-nav .nav-tag{margin-left:6px;font-size:9.5px;color:var(--nav-accent);letter-spacing:.06em}
.site-nav .nav-menu-btn{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin:0 0 0 auto;padding:0;
  border:1px solid var(--nav-line);border-radius:6px;background:transparent;color:var(--nav-text);cursor:pointer;-webkit-tap-highlight-color:transparent}
.site-nav .nav-menu-btn:focus-visible{outline:2px solid var(--nav-focus);outline-offset:2px}
.site-nav .nav-menu-btn[aria-expanded="true"]{border-color:var(--nav-accent);position:relative;z-index:1002}
.nav-menu-ico{display:block;width:20px;height:2px;border-radius:1px;background:currentColor;box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor}
.site-menu{position:fixed;left:0;right:0;top:0;z-index:1001;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:0;
  background:#080d16;border-top:1px solid #1a2f3a;border-bottom:1px solid #1a2f3a;opacity:0;transition:opacity .12s linear;
  font:400 16px/1.2 "Exo 2",system-ui,sans-serif;letter-spacing:0;text-transform:none;text-shadow:none}
.site-menu.is-on{opacity:1}
.site-menu ul{list-style:none;margin:0;padding:0}
.site-menu a{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 16px 0 13px;border-left:3px solid transparent;
  color:#d6e2e8;text-decoration:none;font-size:16px}
.site-menu a:hover{background:rgba(255,255,255,.025);text-decoration:none}
.site-menu a:focus-visible{outline:2px solid #5cd3e6;outline-offset:-2px}
.site-menu a[aria-current="page"]{border-left-color:#5cd3e6}
.site-menu .menu-tag{margin-left:auto;padding:3px 6px;border:1px solid #5cd3e6;border-radius:4px;color:#5cd3e6;
  font-size:11px;font-weight:600;line-height:1;letter-spacing:.04em;text-transform:uppercase}
.site-menu .menu-sign{border-top:1px solid #1a2f3a}
html.menu-open,html.menu-open body{overflow:hidden}
html.menu-open body::after{content:"";position:fixed;inset:0;z-index:1000;background:color-mix(in srgb,#070a12 60%,transparent);pointer-events:auto}
@media (max-width:899px){
  .site-nav.has-menu{justify-content:flex-end;border-bottom:0;margin-bottom:12px}
  .site-nav.has-menu > a{display:none}
  .site-nav.has-menu .nav-menu-btn{display:inline-flex}
}
@media (min-width:900px){
  .site-menu{display:none}
  html.menu-open,html.menu-open body{overflow:visible}
  html.menu-open body::after{content:none}
}
@media (max-width:639px){
  .site-nav a{padding:0 9px}
}
/* Site v4 item 1 (10_site_v4_redesign.md section 1): the universal masthead mast.js draws above the row when
   SITE_V4_HEADER_V1 is on. The dashboard's .phdr recipe; here, not in /v3/site.css, because the dashboard, the guide,
   the calculator, the members pages and the recap carry the row without linking site.css. Colours are token values. */
/* review item 2 (2026-11-03): one base font size on every page under the masthead (the theme's body size, 14 px, as
   theme_v2.css and site.css set it; the members shell set 15 px), so no page renders at its own scale */
html.has-mast{--se-base-font:14px;--se-base-lh:1.5}
html.has-mast body{font-size:var(--se-base-font);line-height:var(--se-base-lh)}
html.has-mast .site-h,html.has-mast .mb-head{display:none}
.mast{--m-line:#1a2f3a;--m-cyan:#5cd3e6;--m-ink2:#9fb3bd;--m-mute:#66808c;--m-sup:#57e3a0;--m-flip:#e6bb58;--m-line2:#24404d;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;margin:16px 0 0;padding-bottom:14px;
  border-bottom:1px solid var(--m-line);position:relative;font-family:"Exo 2",system-ui,sans-serif;text-transform:none;letter-spacing:0}
.mast::after{content:"";position:absolute;left:0;bottom:-1px;width:220px;height:2px;background:linear-gradient(90deg,var(--m-cyan),transparent);box-shadow:0 0 14px rgba(92,211,230,.35)}
/* review item 1 (2026-11-03): the dashboard's mark and size (.phdr-logo in futures/index.html): the PNG is padded, the mark
   47 percent of the square, so it is scaled 2.1x inside the 58 px layout box with the dashboard's margins; the file is the
   one served /icons/logo.png */
.mast-logo{height:58px;width:58px;flex-shrink:0;object-fit:contain;filter:drop-shadow(0 0 8px rgba(92,211,230,.35));transform:scale(2.1);transform-origin:50% 50%;margin:0 30px 0 28px}
.mast .wm{font:500 10px Orbitron,"Exo 2",system-ui,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:var(--m-cyan);margin-bottom:5px;display:inline-flex;align-items:center;gap:7px}
.mast .wm::after{content:'';width:4px;height:4px;background:var(--m-cyan);border-radius:50%;box-shadow:0 0 6px var(--m-cyan)}
.mast .ptitle{font:700 20px/1.25 Orbitron,"Exo 2",system-ui,sans-serif;color:#fff;letter-spacing:.02em;text-shadow:0 0 18px rgba(255,255,255,.10);margin:0}
.mast .psub{font-size:12.5px;line-height:1.4;color:var(--m-ink2);margin-top:5px}
.mast .psub .num{font-family:Orbitron,"Exo 2",system-ui,sans-serif;font-weight:700;color:var(--m-cyan);text-shadow:0 0 12px rgba(92,211,230,.35)}
.mast-r{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.mast-date{font:500 10px Orbitron,"Exo 2",system-ui,sans-serif;letter-spacing:.14em;color:var(--m-mute,#66808c);text-transform:uppercase}
.mast-pill{--m-sup:#57e3a0;--m-flip:#e6bb58;--m-mute:#66808c;--m-line2:#24404d;display:inline-flex;align-items:center;gap:7px;
  font:500 9.5px Orbitron,"Exo 2",system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;padding:5px 11px;border-radius:4px;border:1px solid;white-space:nowrap;cursor:help}
.mast-pill::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.mast-pill.open{color:var(--m-sup);background:rgba(87,227,160,.12);border-color:rgba(87,227,160,.35)}
.mast-pill.pre,.mast-pill.paused{color:var(--m-flip);background:rgba(230,187,88,.12);border-color:rgba(230,187,88,.38)}
.mast-pill.closed{color:var(--m-mute);background:rgba(255,255,255,.025);border-color:var(--m-line2)}
.mast-r .nav-menu-btn{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #1a2f3a;border-radius:6px;background:transparent;color:#d6e2e8;cursor:pointer}
.mast-r .nav-menu-btn[aria-expanded="true"]{border-color:#5cd3e6;position:relative;z-index:1002}
.mast-r-dash{margin-bottom:6px}
@media (max-width:899px){
  .mast{grid-template-columns:minmax(0,1fr) auto;gap:10px}
  /* the dashboard's mobile mark (a 56 px box at 2x: the mark about 53 px tall) at the same rendered size in a 44 px layout
     box, centred (ruling 97), so the menu button stays inside the first 120 px (10 section 1.1) */
  .mast-logo{grid-column:1/-1;justify-self:center;height:44px;width:44px;margin:6px auto 6px;transform:scale(2.55)}
  .mast .ptitle{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mast .psub{min-height:calc(2 * 1.4 * 12.5px)}   /* two lines on every page, so the masthead is one height whether or not a feed loaded */
  .mast-date{display:none}
  .mast-r .nav-menu-btn{display:inline-flex}
  html.has-mast .site-nav.has-menu{display:none}
}
