/* nav.css — 2026-10-18 STAGED (T's ask, from Gina's Google/Gmail screenshots). The gear left the big tab row.
   ?nav=a (default): three big tabs + a ⋮ MENU button top right that drops a small menu.
   ?nav=b: A + a ☰ PAGES drawer top left that slides out like Gmail's and lists every place in the app.
   Navigation UI only. Same fonts and colors as the pages (--flame orange, --bone, --panel); every control 56px+ with a visible word.
   nav.js sets html.mcnav-on (+ mcnav-a or mcnav-b) before the page draws, so the old logo never flashes. */

/* the bar: [☰ PAGES (B)] MAX CLIPZ ............ [⋮ MENU] — the old logo spot moves up into it */
.mcnav-on .top .logo{display:none}
.mcnav-on .top>div:has(>.logo:only-child){display:none}
.mcnav-bar{position:relative;display:flex;align-items:center;gap:10px;min-height:56px;margin:0 0 12px}
.mcnav-bar .mcnav-logo{display:block;flex:0 1 auto;min-width:0;white-space:nowrap}
.mcnav-bar .mcnav-sp{flex:1 1 auto}
.mcnav-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;min-width:56px;padding:0 14px;
  border:2px solid #2f7d4f;border-radius:12px;background:var(--panel,#141418);color:var(--bone,#f4efe6);font:inherit;
  font-size:17px;font-weight:800;letter-spacing:.4px;cursor:pointer;box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation}
.mcnav-btn .mcnav-ico{font-size:24px;line-height:1;font-weight:800}
.mcnav-btn[aria-expanded="true"]{background:var(--flame,#ff7a1a);border-color:var(--flame,#ff7a1a);color:#0b0b0d}
.mcnav-btn:active{filter:brightness(1.15)}

/* keyboard focus is always visible on every new control (3px orange ring) */
.mcnav-btn:focus-visible,.mcnav-item:focus-visible,.mcnav-x:focus-visible{outline:3px solid var(--flame,#ff7a1a);outline-offset:3px}

/* the ⋮ MENU drop-down: small, right under the button, closes on an outside tap or Esc */
.mcnav-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:60;width:min(300px,calc(100vw - 32px));padding:8px;
  border:2px solid var(--line,#26262b);border-radius:14px;background:var(--panel2,#17171b);box-shadow:0 14px 40px rgba(0,0,0,.6);box-sizing:border-box}
.mcnav-menu[hidden]{display:none}
.mcnav-who{padding:8px 12px 10px;font-size:14px;line-height:1.35;color:var(--dim,#9a948b);border-bottom:1px solid var(--line,#26262b);margin-bottom:6px;overflow-wrap:anywhere}
.mcnav-who b{color:var(--bone,#f4efe6)}
.mcnav-item{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;padding:0 14px;border:0;border-radius:10px;
  background:transparent;color:var(--bone,#f4efe6);font:inherit;font-size:18px;font-weight:800;text-align:left;text-decoration:none;
  cursor:pointer;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.mcnav-item:hover,.mcnav-item:active{background:rgba(255,122,26,.12)}
.mcnav-item .mcnav-i{flex:0 0 26px;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;color:var(--flame,#ff7a1a)}
.mcnav-item .mcnav-i svg{width:26px;height:26px}
.mcnav-item[aria-current="page"]{background:var(--flame,#ff7a1a);color:#0b0b0d}
.mcnav-item[aria-current="page"] .mcnav-i{color:#0b0b0d}
.mcnav-sep{height:1px;margin:6px 4px;background:var(--line,#26262b)}

/* the ☰ PAGES drawer (B): slides in from the left over a dim scrim, like Gmail's; Esc, the scrim or ✕ Close shut it */
.mcnav-scrim{position:fixed;inset:0;z-index:69;background:rgba(0,0,0,.55);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.mcnav-scrim.open{opacity:1;visibility:visible}
.mcnav-drawer{position:fixed;top:0;bottom:0;left:0;z-index:70;width:min(340px,86vw);overflow-y:auto;overscroll-behavior:contain;
  padding:10px 10px 24px;background:var(--panel,#141418);border-right:2px solid var(--line,#26262b);box-sizing:border-box;
  transform:translateX(-105%);visibility:hidden;transition:transform .22s ease,visibility .22s}
.mcnav-drawer.open{transform:none;visibility:visible}
.mcnav-dhead{display:flex;align-items:center;gap:10px;min-height:64px;padding:0 4px 8px 10px;border-bottom:1px solid var(--line,#26262b);margin-bottom:8px}
.mcnav-dhead .mcnav-logo{font-size:26px;font-weight:800;letter-spacing:-1px;color:var(--bone,#f4efe6)}
.mcnav-x{margin-left:auto;display:inline-flex;align-items:center;gap:6px;min-height:56px;min-width:56px;padding:0 14px;border:2px solid var(--line,#26262b);
  border-radius:12px;background:#0b0b0d;color:var(--bone,#f4efe6);font:inherit;font-size:16px;font-weight:800;cursor:pointer}
.mcnav-dlabel{margin:14px 14px 6px;font-size:13px;font-weight:800;letter-spacing:1px;color:var(--dim,#9a948b)}
.mcnav-drawer .mcnav-item{min-height:60px;font-size:19px;border-radius:30px}
@media (prefers-reduced-motion:reduce){.mcnav-scrim,.mcnav-drawer{transition:none}}

/* B shows the declutter: MONTAGES' four secondary buttons live in the drawer, so their row leaves the page (they still run the page's
   own code — the drawer taps them). Delete this one rule to bring the row back. */
.mcnav-b .sub:has(>.st[data-view]){display:none}

@media (max-width:768px){
  .mcnav-bar{gap:8px;margin-bottom:10px}
  .mcnav-btn{padding:0 12px;font-size:16px}
}

/* 2026-10-23 STAGED (board #1457): the plan / trial status, TOP RIGHT, above the bar. Read-only words, not a button. */
.mcnav-plan{display:flex;justify-content:flex-end;align-items:baseline;gap:8px;margin:0 0 6px;font-size:13px;line-height:1.2;text-align:right}
.mcnav-plan[hidden]{display:none}
.mcnav-plan .mcnav-plan-w{font-weight:800;letter-spacing:1px;padding:3px 9px;border-radius:999px;border:2px solid #2f7d4f;color:var(--bone,#f4efe6)}
.mcnav-plan.warn .mcnav-plan-w{border-color:var(--flame,#ff7a1a);color:var(--flame,#ff7a1a)}
.mcnav-plan .mcnav-plan-s{color:var(--dim,#9a948b)}

/* 2026-10-23 D STAGED (the Gemini thread's review of C, board #1517 point 3): PAGES / MENU words → a hamburger icon + a round profile
   icon. Still 56 x 56 targets with the same green border; the names stay for voice (aria-label Pages / Menu). Two classes, so these
   beat the phone rule above (.mcnav-btn padding) whatever the order. */
.mcnav-btn.mcnav-icon{width:56px;padding:0;gap:0}
.mcnav-btn.mcnav-icon .mcnav-ico{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0}
.mcnav-btn.mcnav-icon svg{width:30px;height:30px;display:block}
.mcnav-btn.mcnav-profile{border-radius:50%}
