/* Navigation (public/nav.js): the header lamp (day / night), the Apps launcher, the token chip's menu and the account's
   sign-in chips. Colours come from the page's tokens (--teal, --fg, --muted, --border, --navy-*), so the light theme
   (public/theme.css) re-points them; the literal surfaces get a generated light block below. */
.nav-lamp{position:relative}
.nav-lamp .nav-glow{opacity:0;transition:opacity .2s}
html[data-theme="light"] .nav-lamp{color:var(--gold,#A67C1A)}
html[data-theme="light"] .nav-lamp .nav-glow{opacity:1}
html[data-theme="light"] .nav-lamp .nav-bulb{fill:rgba(212,167,44,.28)}
.nav-apps{position:relative;display:flex;align-items:center}
.nav-panel{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:40;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - var(--hdr-h,64px) - 16px);overflow-y:auto;overscroll-behavior:contain;padding:14px;border:1px solid var(--border);border-radius:var(--r-lg,12px);background:rgba(13,19,33,.98);box-shadow:0 18px 48px rgba(0,0,0,.45);backdrop-filter:blur(14px)}
.nav-panel-head{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:10px}
.nav-panel-head h2{margin:0;font:700 14px var(--font-h);letter-spacing:.02em}
.nav-panel-head input{flex:0 1 220px;min-width:0;height:32px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--fg);font:13px var(--font-b)}
.nav-panel-head input:focus{outline:none;border-color:var(--teal)}
.nav-group{margin-top:8px}
.nav-group h3{margin:0 0 6px;font:600 10.5px var(--font-h);letter-spacing:.12em;text-transform:uppercase;color:var(--label,var(--muted))}
.nav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.nav-grid>:is(button,a){position:relative;display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 10px;border-radius:8px;border:1px solid transparent;background:rgba(255,255,255,.03);color:var(--fg);font:500 12.5px/1.25 var(--font-b);text-align:start;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
.nav-grid>:is(button,a)::before{content:"";flex:0 0 16px;width:16px;height:16px;background-color:currentColor;-webkit-mask:no-repeat center/16px;mask:no-repeat center/16px;color:var(--teal);opacity:.9}
.nav-grid>:is(button,a):hover{border-color:rgba(45,212,191,.45);background:rgba(45,212,191,.09);color:var(--teal)}
.nav-grid>:is(button,a):focus-visible,.nav-tok-menu>:is(button,a):focus-visible,.nav-secure-row>button:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.nav-grid>:is(button,a) .k{margin-inline-start:auto;font-size:10px;color:var(--muted)}
.nav-grid>.nav-off{display:none}
.nav-empty{margin:12px 2px 2px;color:var(--muted);font-size:12.5px}
/* the floating mascots (the helper, OpenClaw and Saqr, z-index 60-62 on <body>) would cover the header's menus: they
   step out while one is open. Raising the header or .app instead put the stage above the open page and the dialogs. */
body:has(header :is(.umenu.open,#apps-panel:not([hidden]),#tok-menu:not([hidden]))) :is(.jb-help,.jb-help-bubble,.claw-av,.claw-av-bubble,.sq-av,.sq-av-bubble){visibility:hidden}
/* [hidden] must win over the display rules below (a hidden entry's copy, the empty launcher, the chevron with nothing to open) */
.nav-apps[hidden],.nav-tok-more[hidden],.nav-grid>[hidden],.nav-tok-menu>[hidden],.nav-item[hidden],.nav-secure[hidden],.nav-group[hidden],.nav-empty[hidden]{display:none!important}
/* each module's own entry stays in #umenu, hidden; its linked copy is what the person sees */
#umenu .nav-moved{display:none!important}
/* the token chip: a small chevron opens Usage & credits, Payments and Pricing */
.tokens{position:relative}
.nav-tok-more{display:inline-grid;place-items:center;width:20px;height:20px;margin-inline-start:2px;border-radius:6px;color:inherit;opacity:.75}
.nav-tok-more:hover,.nav-tok-more:focus-visible,.nav-tok-more[aria-expanded="true"]{opacity:1;background:rgba(212,167,44,.18);outline:none}
.nav-tok-menu{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:40;min-width:200px;display:flex;flex-direction:column;gap:2px;padding:6px;border:1px solid var(--border);border-radius:10px;background:rgba(13,19,33,.98);box-shadow:0 14px 36px rgba(0,0,0,.45)}
.nav-tok-menu[hidden]{display:none}
.nav-tok-menu>:is(button,a){display:flex;align-items:center;min-height:40px;padding:8px 10px;border-radius:6px;color:var(--fg);font:500 12.5px var(--font-b);text-decoration:none;text-align:start}
.nav-tok-menu>:is(button,a):hover,.nav-tok-menu>:is(button,a):focus-visible{background:rgba(45,212,191,.1);color:var(--teal)}
/* the account menu: securing the account as one row of chips under the name */
.nav-secure{padding:6px 10px 8px;border-bottom:1px solid var(--border);margin-bottom:4px}
.nav-secure-lbl{display:block;font:600 10.5px var(--font-h);letter-spacing:.08em;text-transform:uppercase;color:var(--amber,#F59E0B)}
.nav-secure-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.umenu .nav-secure-row>button{padding:5px 9px;border:1px solid rgba(245,158,11,.45);border-radius:999px;font-size:11.5px;color:var(--fg)}
.umenu .nav-secure-row>button:hover{border-color:var(--teal)}
/* the compact header (index.html, <=960px) fixes its rows: the lamp and the launcher join the tool buttons of row 2, and
   the launcher opens as a sheet under the header (anchored to its button it would run off a tablet's screen) */
@media (max-width:960px){
  header>.nav-lamp,header>.nav-apps{order:9}
  .nav-panel{position:fixed;inset-inline:8px;top:calc(var(--hdr-h,64px) + 6px);width:auto;max-height:calc(100dvh - var(--hdr-h,64px) - 14px)}
}
/* phones: with 44 px targets row 2 has room for the status and six buttons; "Throw a new RFP" (#reset) leaves it, it is
   the first tile of the launcher (#um-new runs the same newSession) */
@media (max-width:640px){ header>#reset{display:none} }
@media (max-width:400px){ header{column-gap:6px} }
@media (max-width:620px){
  .nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nav-panel-head{flex-wrap:wrap}.nav-panel-head input{flex:1 1 100%;min-height:44px}
  .nav-tok-more{min-width:44px;min-height:44px}
  .nav-tok-menu>:is(button,a),.umenu .nav-secure-row>button{min-height:44px}
}
@media (prefers-reduced-motion:reduce){.nav-lamp .nav-glow{transition:none}}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="plus"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="folder"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="chart"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="calendar"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="radar"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 12l6-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 12l6-6'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="chat"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="doc"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h6'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="check"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="grid"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M3 15h18M9 3v18'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M3 15h18M9 3v18'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="bookmark"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="scan"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7V5a2 2 0 0 1 2-2h2M17 3h2a2 2 0 0 1 2 2v2M21 17v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2M7 12h10'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7V5a2 2 0 0 1 2-2h2M17 3h2a2 2 0 0 1 2 2v2M21 17v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2M7 12h10'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="building"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M16 6h.01M12 6h.01M8 10h.01M16 10h.01M12 10h.01M8 14h.01M16 14h.01M12 14h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M16 6h.01M12 6h.01M8 10h.01M16 10h.01M12 10h.01M8 14h.01M16 14h.01M12 14h.01'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="brain"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 2A3.5 3.5 0 0 0 6 5.5v.6A3.5 3.5 0 0 0 4 9.3a3.5 3.5 0 0 0 .7 5.7A3.5 3.5 0 0 0 9.5 22V2zM14.5 2A3.5 3.5 0 0 1 18 5.5v.6a3.5 3.5 0 0 1 2 3.2 3.5 3.5 0 0 1-.7 5.7 3.5 3.5 0 0 1-4.8 7V2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 2A3.5 3.5 0 0 0 6 5.5v.6A3.5 3.5 0 0 0 4 9.3a3.5 3.5 0 0 0 .7 5.7A3.5 3.5 0 0 0 9.5 22V2zM14.5 2A3.5 3.5 0 0 1 18 5.5v.6a3.5 3.5 0 0 1 2 3.2 3.5 3.5 0 0 1-.7 5.7 3.5 3.5 0 0 1-4.8 7V2z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="growth"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="mail"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="users"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="userplus"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpath d='M20 8v6M23 11h-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpath d='M20 8v6M23 11h-6'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="inbox"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.5 5.1 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.5-6.9A2 2 0 0 0 16.8 4H7.2a2 2 0 0 0-1.7 1.1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.5 5.1 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.5-6.9A2 2 0 0 0 16.8 4H7.2a2 2 0 0 0-1.7 1.1z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="tasks"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="pipeline"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='5' height='16' rx='1'/%3E%3Crect x='9.5' y='4' width='5' height='11' rx='1'/%3E%3Crect x='17' y='4' width='5' height='7' rx='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='5' height='16' rx='1'/%3E%3Crect x='9.5' y='4' width='5' height='11' rx='1'/%3E%3Crect x='17' y='4' width='5' height='7' rx='1'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="plug"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-5M9 8V2M15 8V2M18 8v4a6 6 0 0 1-12 0V8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-5M9 8V2M15 8V2M18 8v4a6 6 0 0 1-12 0V8z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="robot"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='12' rx='2'/%3E%3Cpath d='M12 8V4M8 4h8M9 14h.01M15 14h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='12' rx='2'/%3E%3Cpath d='M12 8V4M8 4h8M9 14h.01M15 14h.01'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="shield"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="puzzle"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.4 13.6a2.4 2.4 0 1 0 0-3.2V5H14a2.4 2.4 0 1 0-4 0H5v5.4a2.4 2.4 0 1 1 0 3.2V19h5a2.4 2.4 0 1 1 4 0h5.4z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.4 13.6a2.4 2.4 0 1 0 0-3.2V5H14a2.4 2.4 0 1 0-4 0H5v5.4a2.4 2.4 0 1 1 0 3.2V19h5a2.4 2.4 0 1 1 4 0h5.4z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="orchestra"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="box"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4a2 2 0 0 0 1-1.7z'/%3E%3Cpath d='M3.3 7 12 12l8.7-5M12 22V12'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4a2 2 0 0 0 1-1.7z'/%3E%3Cpath d='M3.3 7 12 12l8.7-5M12 22V12'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="claw"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-2 1-4 3-5L6 4l4 3c.7-.2 1.3-.3 2-.3s1.3.1 2 .3l4-3-2 5c2 1 3 3 3 5 0 4-3 7-7 7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-2 1-4 3-5L6 4l4 3c.7-.2 1.3-.3 2-.3s1.3.1 2 .3l4-3-2 5c2 1 3 3 3 5 0 4-3 7-7 7z'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="book"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="help"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E")}
:is(.nav-grid>*,.nav-pin)[data-nav-icon="pulse"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E")}
/* light-theme:begin — generated by tools/light-theme.mjs from the rules above; do not edit by hand (hand-tuned light rules go after the end marker) */
html[data-theme="light"] .nav-panel{background:rgba(241,243,248,.98);box-shadow:0 18px 48px rgba(15,23,42,.158)}
html[data-theme="light"] .nav-panel-head input{background:rgba(15,23,42,.034)}
html[data-theme="light"] .nav-grid>:is(button,a){background:rgba(15,23,42,.026)}
html[data-theme="light"] .nav-grid>:is(button,a):hover{border-color:rgba(45,212,191,.45);background:rgba(45,212,191,.09)}
html[data-theme="light"] .nav-tok-more:hover,html[data-theme="light"] .nav-tok-more:focus-visible,html[data-theme="light"] .nav-tok-more[aria-expanded="true"]{background:rgba(212,167,44,.18)}
html[data-theme="light"] .nav-tok-menu{background:rgba(241,243,248,.98);box-shadow:0 14px 36px rgba(15,23,42,.158)}
html[data-theme="light"] .nav-tok-menu>:is(button,a):hover,html[data-theme="light"] .nav-tok-menu>:is(button,a):focus-visible{background:rgba(45,212,191,.1)}
html[data-theme="light"] .nav-secure-lbl{color:var(--amber,#975f02)}
html[data-theme="light"] .umenu .nav-secure-row>button{border:1px solid rgba(245,158,11,.45)}
/* light-theme:end */
/* hand-tuned: the focused or hovered item keeps the page's text colour in the light theme (teal on the tint is 3.5:1) */
html[data-theme="light"] :is(.nav-grid,.nav-tok-menu)>:is(button,a):is(:hover,:focus-visible){color:var(--fg)}
/* the Interface Composer's tile (public/composer.js) and the pinned shortcuts in the header (public/nav.js pins) */
:is(.nav-grid>*,.nav-pin)[data-nav-icon="sliders"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E")}
.nav-pins{display:flex;align-items:center;gap:2px}
.nav-pins[hidden]{display:none!important}
.nav-pin::before{content:"";display:block;width:16px;height:16px;background-color:currentColor;-webkit-mask:no-repeat center/16px;mask:no-repeat center/16px}
.nav-pin.jb-glow,.nav-grid>.jb-glow{box-shadow:0 0 0 2px var(--teal),0 0 14px rgba(45,212,191,.55)}
@media (max-width:960px){ header>.nav-pins{order:9} }
