/* MapToNap · the logo rail (2026-11-15)
   Used by the app (mtn-night.css) and the Workspace (mtn-night-pages.css). mtn-night.js builds .nt-rail from the
   page's own sidebar and sets html.nt-on; without that class nothing here shows. */
.nt-rail,.nt-acct{display:none}
/* ================= the rail: the logo, unfolded =================
   Wide screens only. A white capsule with the logo's black circles as the destinations and its red
   liquid as the highlight: the red sits behind the current tool and flows to whatever is hovered.
   Built by mtn-night.js from the existing sidebar; every click is forwarded to the original control. */
.nt-rail{display:none}
@media(min-width:1100px){
html.nt-on .nt-rail{display:block;position:fixed;z-index:2150;left:20px;top:92px;width:76px;border-radius:38px;background:#f4f4f2;color:#0a0a0b;box-shadow:0 30px 80px -30px #000,0 0 0 1px rgba(255,255,255,.5) inset;transition:width .42s cubic-bezier(.22,1,.36,1),border-radius .42s cubic-bezier(.22,1,.36,1);overflow:hidden;font-family:'MTN Inter',Inter,system-ui,'PingFang SC','Microsoft YaHei',sans-serif;user-select:none;-webkit-user-select:none}
html.nt-on .nt-rail.open{width:252px;border-radius:30px}
.nt-rail svg.nt-defs{position:absolute;width:0;height:0}
.nt-goo{position:absolute;inset:0;filter:url(#ntGoo);pointer-events:none}
.nt-goo i{position:absolute;left:0;top:0;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:#E8413A;will-change:transform}
.nt-list{position:relative;display:flex;flex-direction:column;padding:12px 0;width:252px}
.nt-it{position:relative;display:flex;align-items:center;height:var(--h,60px);padding:0;margin:0;border:0;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:0}
.nt-dot{flex:none;width:76px;display:flex;align-items:center;justify-content:center}
.nt-dot b{display:flex;align-items:center;justify-content:center;width:var(--d,48px);height:var(--d,48px);border-radius:50%;background:#0a0a0b;color:#fff;font-weight:800;font-size:calc(var(--d,48px)*.3);letter-spacing:-.04em;transition:transform .34s cubic-bezier(.34,1.56,.64,1),background .2s}
.nt-dot b svg{width:46%;height:46%;stroke:#fff;fill:none}
.nt-it:hover .nt-dot b,.nt-it:focus-visible .nt-dot b{transform:scale(1.09)}
.nt-it:active .nt-dot b{transform:scale(.94)}
.nt-tx{flex:1;min-width:0;padding-right:16px;opacity:0;transform:translateX(-10px);transition:opacity .18s,transform .3s cubic-bezier(.22,1,.36,1)}
.nt-rail.open .nt-tx{opacity:1;transform:none;transition:opacity .3s calc(.05s + var(--i,0)*.028s),transform .46s cubic-bezier(.22,1,.36,1) calc(.03s + var(--i,0)*.028s)}
.nt-tx strong{display:block;font-size:15px;font-weight:800;letter-spacing:-.02em;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-tx small{display:block;margin-top:2px;font-size:11.5px;font-weight:500;color:#6a6a6e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-it.on .nt-tx strong{color:#E8413A}
.nt-tag{position:absolute;right:16px;top:50%;margin-top:-9px;height:18px;padding:0 7px;border-radius:6px;background:#0a0a0b;color:#fff;font:700 9px/18px JBM,ui-monospace,Menlo,monospace;letter-spacing:.1em;opacity:0;transition:opacity .2s}
.nt-rail.open .nt-tag{opacity:1;transition-delay:.18s}
.nt-rail.open .nt-it:has(.nt-tag) .nt-tx{padding-right:58px}
.nt-sep{height:1px;margin:8px 22px;background:rgba(10,10,11,.12);width:32px;transition:width .42s cubic-bezier(.22,1,.36,1)}
.nt-rail.open .nt-sep{width:208px}
.nt-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .42s cubic-bezier(.22,1,.36,1)}
.nt-rail.open .nt-sub{grid-template-rows:1fr}
.nt-sub>div{overflow:hidden;min-height:0}
.nt-sub .nt-it{--h:36px}
.nt-sub .nt-dot b{--d:8px;background:#0a0a0b}
.nt-sub .nt-tx strong{font-size:13.5px;font-weight:650}
.nt-it.kid.on .nt-dot b{background:#E8413A}
/* account pill, bottom left */
html.nt-on .nt-acct{display:flex;position:fixed;z-index:2150;left:20px;bottom:20px;height:56px;width:76px;align-items:center;border-radius:28px;background:#f4f4f2;color:#0a0a0b;border:0;padding:0;cursor:pointer;overflow:hidden;font-family:'MTN Inter',Inter,system-ui,sans-serif;text-align:left;box-shadow:0 30px 80px -30px #000;transition:width .42s cubic-bezier(.22,1,.36,1)}
html.nt-on .nt-acct:hover,html.nt-on .nt-acct:focus-visible{width:252px}
.nt-acct .nt-dot b{--d:40px;font:700 9.5px/1 JBM,ui-monospace,Menlo,monospace;letter-spacing:.06em}
.nt-acct[data-tier="pro"] .nt-dot b,.nt-acct[data-tier="max"] .nt-dot b{background:#E8413A}
.nt-acct .nt-tx{opacity:0;transition:opacity .25s}.nt-acct:hover .nt-tx,.nt-acct:focus-visible .nt-tx{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){.nt-rail,.nt-rail *{transition-duration:.01s!important}}
@media(min-width:1100px){
/* Business seats: black rail, white circles */
html.mtn-biz.nt-on .nt-rail{background:#0a0a0b;color:#f2f2f0;box-shadow:0 30px 80px -30px #000,inset 0 0 0 1.5px rgba(255,255,255,.2)}
html.mtn-biz .nt-rail .nt-dot b{background:#f2f2f0;color:#0a0a0b}
html.mtn-biz .nt-rail .nt-dot b svg{stroke:#0a0a0b}
html.mtn-biz .nt-rail .nt-tx small{color:#8a8a8e}
html.mtn-biz .nt-rail .nt-sep{background:rgba(255,255,255,.16)}
html.mtn-biz .nt-rail .nt-tag{background:#f2f2f0;color:#0a0a0b}
html.mtn-biz .nt-rail .nt-sub .nt-dot b{background:#f2f2f0}
html.mtn-biz.nt-on .nt-acct{background:#0a0a0b;color:#f2f2f0;box-shadow:0 30px 80px -30px #000,inset 0 0 0 1.5px rgba(255,255,255,.2)}
html.mtn-biz .nt-acct .nt-dot b{background:#E8413A;color:#fff}
html.mtn-biz .nt-acct .nt-tx small{color:#8a8a8e}
}

@media(min-width:1100px){html.nt-on.nt-lab body{padding-left:116px!important}}

/* 163 */
.nt-dot b .mtn-mark{width:64%;height:64%;display:block}
.nt-dot b .mtn-mark .mk-red,.nt-dot b .mtn-mark .mk-red *{fill:#E8413A;stroke:#E8413A}
.nt-dot b .mtn-mark .mk-dots *{fill:#fff}
.nt-dot b .mtn-mark .mk-core{fill:#0a0a0b}
html.nt-on .nt-acct{transition:width .42s cubic-bezier(.22,1,.36,1),opacity .25s,transform .35s cubic-bezier(.2,.7,.2,1)}
html.nt-on.nt-acct-away .nt-acct{opacity:0;transform:translateY(16px);pointer-events:none}
html.nt-on .nt-rail.tight{max-height:calc(100vh - 104px);overflow-y:auto;scrollbar-width:none}
/* account menu: a white card, so its text is dark */
.mtn-acct-menu,.mtn-acct-menu button,.mtn-acct-menu a,.mtn-acct-menu span,.mtn-acct-menu b,.mtn-acct-menu strong{color:#1a1917!important}
.mtn-acct-menu small,.mtn-acct-menu .mtn-meta{color:#5c5a55!important}
.mtn-acct-menu svg{stroke:#1a1917!important;color:#1a1917!important}
.mtn-acct-menu button:hover,.mtn-acct-menu a:hover{background:#ecebe7!important}
