/* The site nav, shared by every Butler page (templates/base.html) and Trips
   (trips/static/index.html): one compact row of icon tabs, and smooth page changes. */

/* Page changes are instant: no cross-fade (View Transitions held each new page back until the animation ran). */

/* --nav-full is the bar's real height (set by base.html / Trips); --nav-h is the room it takes from the page, what
   sticky bars sit under. Signed-out and guest pages: a normal sticky bar. Owner pages (.nav-auto, navhide.js): it floats
   over the page, off screen until reached for (.nav-hidden), and takes no room, so showing it moves nothing; only the
   live computer-use row keeps a place (--nav-peek). */
:root { --nav-h: var(--nav-full, 56px); }
:root.nav-auto { --nav-h: var(--nav-peek, 0px); }
:root.nav-auto body { padding-top: var(--nav-h); }
:root.nav-auto nav.site { position: fixed; left: 0; right: 0; transition: transform .22s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 8px 28px rgba(20, 20, 19, .14); }
:root.nav-hidden nav.site, :root.drawer.nav-hidden nav.site { transform: translateY(calc(max(var(--nav-peek, 0px), var(--nav-sliver, 0px)) - 100%)); box-shadow: none; }
/* With a mouse a sliver of the hidden bar stays in view, so you can see where to reach for it. */
@media (hover: hover) { :root.nav-auto:not(.in-app) { --nav-sliver: 5px; } }
:root.nav-still nav.site { transition: none; }
@media (prefers-reduced-motion: reduce) { :root.nav-auto nav.site { transition: none; } }
nav.site {
  --nav-card: var(--panel, var(--surface));
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; gap: 6px; padding: 8px max(12px, env(safe-area-inset-left)) 8px 12px;
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.site svg.ni { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
                  stroke-linecap: round; stroke-linejoin: round; display: block; }

nav.site .logo { display: flex; align-items: center; gap: 9px; flex: none; padding: 2px 6px 2px 2px; margin-right: 4px; text-decoration: none;
                 color: var(--text); font: 650 17px/1 Inter, -apple-system, sans-serif; letter-spacing: -.02em; }
nav.site .logo { position: relative; padding: 2px 4px; }
nav.site .logo > span:not(.count):not(.bmark) { display: none; }  /* just the mark: no "Butler" / "Trips" beside it */
nav.site .logo .bmark { width: 34px; height: 34px; display: block; }
nav.site .logo .count { top: -3px; left: 21px; right: auto; }  /* Needs you: what the AIs wait on you for */
/* Butler's mark (ui.py mark(): a silk bow tie, scripts/butler_mark.py), on every page, in the text colour (black in
   light mode, white in dark) on a transparent background. While he thinks it tilts gently; while he talks or listens it
   pulses with a soft glow. Pages set <html data-butler="think" | "talk">; a single mark can opt in with .bmark.think /
   .bmark.talk. */
.bmark { display: inline-block; position: relative; flex: none; user-select: none; color: var(--text); transition: filter .4s; }
.bmark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bmark .s { fill: currentColor; }
:root[data-butler="think"] .bmark svg, .bmark.think svg { animation: bm-nod 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
:root[data-butler="talk"] .bmark, .bmark.talk { animation: bm-beat 1.1s ease-in-out infinite; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--text) 35%, transparent)); }
@keyframes bm-nod { 50% { transform: rotate(-6deg); } }
@keyframes bm-beat { 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .bmark, .bmark svg { animation: none !important; } }

nav.site .tabs { display: flex; gap: 2px; flex: 1; min-width: 0; }
nav.site .tabs[hidden] { display: none; }
nav.site .tab {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 44px; height: 38px; padding: 0 11px; border-radius: 99px; border: 0; background: none;
  color: var(--muted); font: 500 14px/1 Inter, -apple-system, sans-serif; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color .15s, background-color .15s, transform .12s;
}
nav.site .tab:hover { color: var(--text); background: color-mix(in srgb, var(--nav-card) 70%, transparent); }
nav.site .tab:active { transform: scale(.92); }
nav.site .tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
nav.site .tab.on { color: var(--text); background: var(--nav-card); box-shadow: 0 0 0 1px var(--line); }
nav.site .tab .label { display: none; }
nav.site .count { position: absolute; top: 3px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px;
                  background: var(--danger, var(--accent)); color: var(--on-danger, #fff); font: 600 10px/16px Inter, sans-serif; text-align: center; }
nav.site .count:empty { display: none; }
/* Security (System > Security): an open critical or high finding. */
nav.site .alert-dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%;
                      background: var(--danger); box-shadow: 0 0 0 2px var(--nav-bg, var(--bg)); }
@media (min-width: 900px) { nav.site .alert-dot.narrow-only { display: none; } }

/* Right side: page buttons (Trips' Edit) and More. */
nav.site .right { display: flex; align-items: center; gap: 4px; margin-left: auto; flex: none; }
nav.site details.more { position: relative; }
nav.site details.more summary { list-style: none; }
nav.site details.more summary::-webkit-details-marker { display: none; }
nav.site details.more[open] summary { color: var(--text); background: var(--nav-card); }
nav.site .menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; z-index: 1100; display: flex; flex-direction: column;
  background: var(--nav-card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  transform-origin: top right; animation: menu-in .14s ease-out;
}
@keyframes menu-in { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
nav.site .menu a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); padding: 9px 12px; border-radius: 9px; font-size: 14px; }
nav.site .menu a svg.ni { width: 18px; height: 18px; color: var(--muted); }
nav.site .menu a:hover, nav.site .menu a.on { background: var(--bg); }
nav.site .menu .foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px;
                       border-top: 1px solid var(--line); margin: 6px 0 0; padding: 8px 6px 2px 12px; }
nav.site .menu .foot .email { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
nav.site .menu .foot button { flex: none; white-space: nowrap; background: transparent; color: var(--muted); border: 1px solid var(--line);
                              border-radius: 99px; padding: 4px 12px; font: 500 13px Inter, sans-serif; cursor: pointer; }

/* A computer has room for every page as a tab (More keeps only the theme and sign-out); a phone shows the first
   three and the rest in More. Words join the icons once there's room for all of them. */
nav.site .tab.wide { display: none; }
@media (min-width: 900px) {
  nav.site { padding: 10px 20px; gap: 10px; }
  nav.site .tab.wide { display: inline-flex; }
  nav.site .menu a.narrow { display: none; }
  nav.site details.more summary.on { color: var(--muted); background: none; box-shadow: none; }
  nav.site .count { position: static; }
}
/* System's pages are tabs of their own on a computer, so its second row (.subnav) is only for phones. */
@media (min-width: 900px) { .subnav.wide-hide { display: none; } }
@media (min-width: 1440px) {
  nav.site .tab .label { display: inline; }
  nav.site .tab { padding: 0 13px; }
}
@media (max-width: 899px) {
  nav.site .tabs { justify-content: space-evenly; }  /* spread out: easier to hit with a thumb */
}

/* Inside a native Butler app (it adds .in-app to <html>): the app has its own tab bar and
   chat, so the site nav steps aside. */
html.in-app nav.site { display: none !important; }

/* Theme picker in the More menu: Light · Dynamic (sunset to sunrise where you are) · Dark. */
nav.site .menu .themes { display: flex; gap: 2px; margin: 6px 4px; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
nav.site .menu .themes button { flex: 1; border: 0; background: none; color: var(--muted); padding: 6px 4px; border-radius: 8px; font: 500 12.5px Inter, sans-serif; cursor: pointer; }
nav.site .menu .themes button[aria-checked="true"] { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* Sections that share one page (Files · Resume, Tasks · Activity, Server · Analytics · Database · Keys):
   one row of tabs right under the nav. */
.subnav { position: sticky; top: var(--nav-h, 56px); z-index: 999; display: flex; gap: 4px; justify-content: center; overflow-x: auto;
          scrollbar-width: none; padding: 6px 12px; background: color-mix(in srgb, var(--bg) 88%, transparent);
          backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 6px 14px; border-radius: 99px; color: var(--muted); text-decoration: none; font: 500 13.5px Inter, sans-serif; white-space: nowrap; }
.subnav a:hover { color: var(--text); }
.subnav a.on { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 600px) { .subnav { justify-content: flex-start; } }
/* Files' one row (All · Photos · Documents · Albums · Resume · Public | Screenshots · Trash), on every Files page. */
.kinds { display: flex; gap: 2px; width: fit-content; max-width: calc(100% - 24px); margin: 14px auto 0; padding: 3px; border-radius: 99px;
         background: var(--panel2); overflow-x: auto; scrollbar-width: none; }
.kinds::-webkit-scrollbar { display: none; }
.kinds a { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: 99px; color: var(--muted);
           text-decoration: none; font: 500 13.5px Inter, sans-serif; white-space: nowrap; }
.kinds a:hover { color: var(--text); }
.kinds a.on { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.kinds a .ic { width: 13px; height: 13px; }
.kinds .narrow { display: none; }
@media (max-width: 600px) { .kinds .wide { display: none; } .kinds .narrow { display: inline; } }
.kinds .sep { flex: none; width: 1px; margin: 5px 4px; background: var(--line); }
.kinds a.quiet { font-weight: 400; }
@media (max-width: 600px) { .kinds { margin-top: 10px; } .kinds a { padding: 5px 6px; font-size: 13px; gap: 3px; } }
.kinds a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
/* Who can open a thing, said the same way everywhere in Files: Public (anyone with the link), Shared (named people,
   signed in), Private (only him). */
.vis { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font: 600 11.5px Inter, sans-serif;
       white-space: nowrap; border: 1px solid var(--line); color: var(--muted); background: var(--panel); }
.vis .ic { width: 11px; height: 11px; }
.vis.pub { color: #fff; background: var(--brand); border-color: var(--brand); }
.vis.shr { color: var(--text); }

/* Computer use and phone calls (static/needs.js paintUse, callRow): while an AI is using Ark or a call is on, a slim row at the bottom of the nav (so it stays
   in view, and --nav-h counts it): a clay dot, who and what, a live timer; a tap opens that job or chat, Ark the
   Computer page. Mirrored by the iPhone app's ComputerUseBar. */
nav.site.has-cu { flex-wrap: wrap; row-gap: 6px; }
nav.site .cu { flex: 1 0 100%; order: 99; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
nav.site .cu[hidden] { display: none; }
nav.site .cu-row { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 1000px; width: 100%; margin: 0 auto; }
nav.site .cu-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px;
  background: var(--nav-card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none;
  font: 13.5px/1.2 Inter, -apple-system, sans-serif; white-space: nowrap; }
nav.site .cu-main:hover { background: var(--panel2, var(--nav-card)); }
nav.site .cu-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); animation: cu-beat 1.6s ease-in-out infinite; }
nav.site .cu-row.call.ended .cu-dot { background: var(--muted); box-shadow: 0 0 0 3px color-mix(in srgb, var(--muted) 22%, transparent); animation: none; }
nav.site .cu-row.call.error .cu-dot { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent); animation: none; }
nav.site .cu-row.call.error .cu-w { color: var(--danger); }
nav.site .cu-row.held .cu-dot { background: var(--muted); box-shadow: 0 0 0 3px color-mix(in srgb, var(--muted) 22%, transparent); animation: none; }
@keyframes cu-beat { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 10%, transparent); } }
@media (prefers-reduced-motion: reduce) { nav.site .cu-dot { animation: none; } }
nav.site .cu-k { font-weight: 600; flex: none; }
nav.site .cu-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
nav.site .cu-w { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
nav.site .cu-w:empty { display: none; }
nav.site .cu-time { margin-left: auto; flex: none; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }
nav.site .cu-ark { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px;
  color: var(--muted); text-decoration: none; font: 500 13px Inter, -apple-system, sans-serif; box-shadow: inset 0 0 0 1px var(--line); }
nav.site .cu-ark:hover { color: var(--text); background: var(--nav-card); }
nav.site .cu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
nav.site .cu-more { align-self: center; color: var(--muted); font-size: 12.5px; text-decoration: none; }
@media (max-width: 600px) {
  nav.site .cu-w, nav.site .cu-ark span { display: none; }  /* what it's doing and for how long matter most */
  nav.site .cu-t { flex: 1; }
  nav.site .cu-ark { width: 32px; padding: 0; justify-content: center; }
  /* a call: where it stands matters more than the word "Phone call" (the button's phone icon says that) */
  nav.site .cu-row.call .cu-k { display: none; }
  nav.site .cu-row.call .cu-w { display: block; flex: 0 1 auto; max-width: 45%; }
}

/* Needs you, on every page (static/needs.js): a floating card under the nav, top right, with what waits on Aarsh's
   answer, answered in place; a pill when minimized. Mirrored by the iPhone app's NeedsDock. */
.needs-dock { position: fixed; z-index: 1200; top: calc(var(--nav-h, 56px) + 12px); right: 16px; width: min(380px, calc(100vw - 32px));
  font: 14px/1.45 Inter, system-ui, sans-serif; color: var(--text); }
.needs-dock[hidden] { display: none; }
.needs-dock:not(.nd-min) { background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 32px rgba(20, 20, 19, .14), 0 2px 6px rgba(20, 20, 19, .06); overflow: hidden; }
.needs-dock.nd-min { width: auto; }
.needs-dock.nd-pop { animation: nd-pop .32s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes nd-pop { from { transform: translateY(-8px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .needs-dock.nd-pop { animation: none; } }
.needs-dock .nd-h { display: flex; align-items: center; gap: 8px; padding: 10px 10px 8px 14px; border-bottom: 1px solid var(--line); }
.needs-dock .nd-h i, .needs-dock .nd-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.needs-dock .nd-t { font: 600 15px Fraunces, Georgia, serif; flex: 1; }
.needs-dock .nd-pg { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.needs-dock button { font: inherit; color: inherit; cursor: pointer; }
.needs-dock .nd-pg button, .needs-dock .nd-x { border: 0; background: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.needs-dock .nd-pg button:hover, .needs-dock .nd-x:hover { background: var(--panel2); color: var(--text); }
.needs-dock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.needs-dock .nd-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; max-height: min(70vh, 560px); overflow-y: auto; }
.needs-dock .nd-who { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; }
.needs-dock .nd-who b { color: var(--text); font-weight: 600; }
.needs-dock .nd-left { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.needs-dock .nd-open { margin-left: auto; color: var(--muted); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.needs-dock .nd-open:hover { background: var(--panel2); color: var(--text); }
.needs-dock .nd-title { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.needs-dock .nd-body { color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.needs-dock .nd-in, .needs-dock .nd-note, .needs-dock .askv { width: 100%; box-sizing: border-box; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: 15px Inter, system-ui, sans-serif; }
.needs-dock textarea { resize: vertical; }
.needs-dock .nd-in:focus, .needs-dock .nd-note:focus, .needs-dock .askv:focus { outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 0; border-color: transparent; }
.needs-dock .nd-opts { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 12.5px; }
.needs-dock .nd-opts label { display: inline-flex; gap: 5px; align-items: center; }
.needs-dock .nd-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.needs-dock .nd-row button, .needs-dock .nd-take { padding: 7px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel);
  font-weight: 600; font-size: 13.5px; text-decoration: none; color: var(--text); }
.needs-dock .nd-row button:hover, .needs-dock .nd-take:hover { background: var(--panel2); }
.needs-dock .nd-row .yes { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.needs-dock .nd-row .yes:hover { background: var(--accent); opacity: .88; }
.needs-dock .nd-row .bad { color: var(--danger); }
.needs-dock .nd-take { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.needs-dock .nd-row button:disabled { opacity: .5; cursor: default; }
.needs-dock .nd-chat { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  display: inline-grid; place-items: center; }
.needs-dock .nd-chat:hover { background: var(--panel2); }
.needs-dock .nd-chat svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.needs-dock .nd-fine { margin: 0; color: var(--muted); font-size: 12px; }
.needs-dock .nd-err { color: var(--danger); font-size: 12.5px; }
.needs-dock .nd-err:empty { display: none; }
.needs-dock .nd-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--panel); box-shadow: 0 6px 18px rgba(20, 20, 19, .14); font-weight: 600; font-size: 13.5px; float: right; }
.needs-dock .nd-pill b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font-size: 12px; }
@media (max-width: 600px) {
  .needs-dock { right: 8px; left: 8px; width: auto; top: calc(var(--nav-h, 56px) + 8px); }
  .needs-dock .nd-b { max-height: 60vh; }
}
.needs-dock.nd-min { pointer-events: none; } .needs-dock.nd-min .nd-pill { pointer-events: auto; }
/* An input card's choice (static/askfield.js), anywhere it shows: tap one */
.askchips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; }
.askchip { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font: 500 14px Inter, system-ui, sans-serif; cursor: pointer; }
.askchip:hover { background: var(--panel2); }
.askchip[aria-checked="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); font-weight: 600; }

/* How to reach the hidden bar: the top edge for a mouse (the sliver and a small pill mark it), a handle for a finger,
   above the dock so a card can't cover it. The dock steps down when the bar is out, and on a phone stays clear of the handle. */
.nav-reveal { display: none; position: fixed; z-index: 1001; top: 0; left: 0; width: 100%; height: 12px;
  border: 0; padding: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root.nav-hidden .nav-reveal { display: block; }
:root.drawer .nav-reveal, html.in-app .nav-reveal { display: none; }
.nav-reveal span { display: block; width: 36px; height: 3px; margin: 1px auto 0; border-radius: 3px; background: var(--muted);
  opacity: .6; transition: opacity .15s, width .15s; }
.nav-reveal:hover span { opacity: 1; width: 48px; }
.needs-dock { transition: translate .22s cubic-bezier(.2, .8, .2, 1); }
:root.nav-auto:not(.nav-hidden) .needs-dock { translate: 0 calc(var(--nav-full, 56px) - var(--nav-h)); }
:root.nav-still .needs-dock { transition: none; }
@media (hover: none) {
  .nav-reveal { z-index: 1201; top: var(--nav-h, 0px); left: calc(50% - 32px); width: 64px; height: 24px; }
  .nav-reveal span { display: block; width: 32px; height: 4px; margin: 7px auto 0; border-radius: 4px; background: var(--muted); opacity: .7; }
  :root.nav-auto .needs-dock:not(.nd-docked) { top: calc(var(--nav-h, 0px) + 24px); }
}
