/* MapToNap · night theme for the Workspace and Deep Analysis pages (2026-11-15).
   Colours only, wide screens only (1100px and up). Layout and behaviour are untouched. */
@media all{
:root,body{--bg:#0a0a0b;--panel:#141416;--panel2:#1b1b1e;--surface:#141416;--line:#2c2c30;--line2:#3c3c40;--ink:#f2f2f0;--muted:#a9a9ad;--mut:#a9a9ad;--sf:#141416;--s2:#1b1b1e;--s3:#26262a;--bd:#2c2c30;--bd2:#3c3c40;--tx:#f2f2f0;--t2:#a9a9ad;--t3:#8e8e94;--shadow:0 30px 80px -40px #000}
html,body{background:#0a0a0b!important;color:#f2f2f0}
/* Deep Analysis */
.lb-top{background:rgba(10,10,11,.88)!important;border-color:#2c2c30!important}
.lb-top .lb-brand{color:#f2f2f0!important}.lb-top .lb-sub{color:#8a8a8e!important}
.lb-tabs button{color:#a9a9ad!important}.lb-tabs button:hover,.lb-tabs button.on{color:#f2f2f0!important}
.lb-tabs button.on span{color:#f2f2f0!important}
.lb-tabs button i{color:#8e8e94!important}.lb-tabs button.on i{color:#E8413A!important}
.lb-pill{background:#1b1b1e!important;color:#f2f2f0!important;border-color:#4e4e55!important;border-radius:999px!important;transition:border-color .18s}
.lb-pill span{color:#f2f2f0!important}
.lb-pill:hover{border-color:#f2f2f0!important}
.lb-pill.dark{background:#f2f2f0!important;color:#0a0a0b!important;border-color:#f2f2f0!important}
.lb-search input,.lb-sitebar select,.lb-r select{background:#141416!important;color:#f2f2f0!important;border-color:#4e4e55!important}
.lb-sitebar select option{background:#fff;color:#111}
.lb-search input::placeholder{color:#8a8a8e}
.lb-seg{background:#1b1b1e!important;border-color:#4e4e55!important}
.lb-seg button{color:#a9a9ad!important}.lb-seg button.on,.lb-seg button[aria-pressed="true"]{background:#f2f2f0!important;color:#0a0a0b!important}
.i-walk-l,.i-view-l,.i-sun-l,.i-gfa{color:#a9a9ad!important}
.lb-gatebox p,.lb-impsteps li,.lb-gatebox label,.lb-gatebox small{color:#c4c4c8!important}
.lb-impsteps li b,.lb-impsteps li code,.lb-impsteps li strong{color:#f2f2f0!important}
}
/* ================= Workspace (2026-11-15) =================
   Wide screens only (1216px and up, so a tool opened inside it is at least 1100px wide and uses its own
   night stage). html.nt-ws is set by mtn-night.js. Colours and proportions only: every control is the
   existing one. */
@media all{
html.nt-ws,html.nt-ws body{--bg:#0a0a0b;--panel:#141416;--panel2:#1b1b1e;--surface:#0a0a0b;--line:#2c2c30;--line2:#3c3c40;--ink:#f2f2f0;--muted:#a9a9ad;--accent:#E8413A;--shadow:0 30px 80px -40px #000;background:#0a0a0b!important;color:#f2f2f0}
html.nt-ws.nt-on{--rail:0px}
html.nt-ws.nt-on aside.rail,html.nt-ws.nt-on aside.moduleRail{visibility:hidden!important;pointer-events:none!important;padding:0!important;border:0!important;overflow:visible!important;min-width:0!important}
html.nt-ws.nt-on aside .mtn-acct-menu:not([hidden]){visibility:visible!important;pointer-events:auto!important;position:fixed!important;left:112px!important;bottom:20px!important;top:auto!important;right:auto!important;z-index:2300;min-width:230px}
html.nt-ws.nt-on .appShell,html.nt-ws.nt-on .moduleBody{padding-left:116px}
html.nt-ws .topbar{background:#0a0a0b!important;border-color:transparent!important;backdrop-filter:none!important}
html.nt-ws .topbar .brandName,html.nt-ws .topbar .brand{color:#f2f2f0!important}
html.nt-ws .workspaceTab,html.nt-ws .topBtn,html.nt-ws .iconBtn{height:40px!important;border-radius:999px!important;background:rgba(22,22,24,.9)!important;color:#f2f2f0!important;border:0!important;box-shadow:inset 0 0 0 1.2px #4e4e55;padding:0 16px!important;transition:box-shadow .18s,transform .18s cubic-bezier(.2,.8,.2,1)}
html.nt-ws .workspaceTab:hover,html.nt-ws .topBtn:hover,html.nt-ws .iconBtn:hover{box-shadow:inset 0 0 0 1.5px #f2f2f0;transform:translateY(-1px);filter:none!important}
html.nt-ws .topBtn.primary{background:#E8413A!important;color:#fff!important;box-shadow:0 14px 30px -14px rgba(232,65,58,.8)}
html.nt-ws .projectCrumb,html.nt-ws .projectCrumb *{color:#a9a9ad!important}html.nt-ws .projectCrumb b{color:#f2f2f0!important}
html.nt-ws .saveChip{background:#1b1b1e!important;border-color:transparent!important;color:#a9a9ad!important}
html.nt-ws .home{background:#0a0a0b!important;padding-top:26px!important}
html.nt-ws .homeTitleRow h1{font-size:60px!important;line-height:1!important;font-weight:800!important;letter-spacing:-.055em!important;color:#f2f2f0!important}
html.nt-ws .kicker,html.nt-ws .sectionLabel,html.nt-ws .mtn-eyebrow{font-family:JBM,ui-monospace,Menlo,monospace!important;letter-spacing:.14em!important;color:#8a8a8e!important}
html.nt-ws .sectionLabel span,html.nt-ws .sectionLabel b{color:#f2f2f0!important}
html.nt-ws .home .mtn-btn.primary{background:#E8413A!important;color:#fff!important;border:0!important;border-radius:999px!important;height:44px!important;padding:0 20px!important;font-weight:800;box-shadow:0 14px 30px -14px rgba(232,65,58,.8)}
html.nt-ws .mtn-start-card,html.nt-ws .mtn-open-card,html.nt-ws .mtn-lab,html.nt-ws .mtn-tool-card,html.nt-ws .mtn-projects,html.nt-ws .mtn-guide>*:not(h3){background:#141416!important;color:#f2f2f0!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important;border-radius:24px!important}
html.nt-ws .mtn-start-card{background:#141416!important;box-shadow:inset 0 0 0 1.5px rgba(232,65,58,.55),0 40px 90px -50px rgba(232,65,58,.5)!important}
html.nt-ws .mtn-start-card h2,html.nt-ws .mtn-open-card h2,html.nt-ws .mtn-lab h2{font-size:28px!important;font-weight:800!important;letter-spacing:-.04em!important;color:#f2f2f0!important}
html.nt-ws .mtn-start-card p,html.nt-ws .mtn-open-card p,html.nt-ws .mtn-lab p,html.nt-ws .mtn-meta{color:#a9a9ad!important}
html.nt-ws #dashboardLocation{height:56px!important;border-radius:999px!important;background:#0a0a0b!important;color:#f2f2f0!important;border:0!important;box-shadow:inset 0 0 0 1.5px #3c3c40;font-size:16px!important;font-weight:600;padding-left:22px!important}
html.nt-ws #dashboardLocation:focus{box-shadow:inset 0 0 0 1.5px #f2f2f0;outline:0}
html.nt-ws #dashboardLocation::placeholder{color:#8a8a8e}
html.nt-ws .mtn-open-card,html.nt-ws .mtn-tool-card{transition:transform .32s cubic-bezier(.22,1,.36,1),box-shadow .32s}
html.nt-ws .mtn-open-card:hover,html.nt-ws .mtn-tool-card:hover{transform:translateY(-4px);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35),0 30px 60px -30px #000!important}
html.nt-ws .mtn-open-icon{color:#f2f2f0!important}
html.nt-ws .mtn-recent-previews img,html.nt-ws .mtn-tool-art{background:#fff!important;border-radius:12px!important;overflow:hidden}
html.nt-ws .mtn-tool-card b{color:#f2f2f0!important;font-size:16px!important;font-weight:800!important;letter-spacing:-.02em}
html.nt-ws .mtn-tool-card small{color:#8a8a8e!important}
html.nt-ws .mtn-lab{overflow:hidden}
html.nt-ws .mtn-lab ol li,html.nt-ws .mtn-lab li *{color:#e6e6e4!important}
html.nt-ws .mtn-lab ol li i,html.nt-ws .mtn-lab ol li em,html.nt-ws .mtn-lab ol li b:first-child{color:#E8413A!important}
html.nt-ws .mtn-lab-cta .go{border-radius:999px!important;font-weight:800}
html.nt-ws .mtn-lab-cta .alt{color:#f2f2f0!important;border:0!important;box-shadow:inset 0 0 0 1.2px #4e4e55;border-radius:999px!important;background:transparent!important}
html.nt-ws .mtn-prow{border-color:rgba(255,255,255,.08)!important}
html.nt-ws .mtn-prow b{color:#f2f2f0!important}html.nt-ws .mtn-prow small{color:#8a8a8e!important}
html.nt-ws .mtn-prow.on,html.nt-ws .mtn-prow:hover{background:rgba(255,255,255,.04)!important}
html.nt-ws .mtn-prow button{color:#c4c4c8!important}
html.nt-ws .mtn-projects-import{color:#a9a9ad!important}
html.nt-ws .mtn-guide h3,html.nt-ws .mtn-guide h3 *{color:#f2f2f0!important}
html.nt-ws .mtn-guide,html.nt-ws .mtn-guide p,html.nt-ws .mtn-guide li,html.nt-ws .mtn-guide small,html.nt-ws .mtn-guide span{color:#a9a9ad}
html.nt-ws .mtn-guide b,html.nt-ws .mtn-guide strong,html.nt-ws .mtn-guide h4{color:#f2f2f0!important}
html.nt-ws .moduleStageWrap,html.nt-ws #moduleShell,html.nt-ws .moduleFrame{background:#0a0a0b!important}
html.nt-ws .statusBar,html.nt-ws .moduleStatus,html.nt-ws footer.status{background:#0a0a0b!important;color:#8e8e94!important;border-color:transparent!important}
html.nt-ws .statusbar{background:#0a0a0b!important;color:#8e8e94!important;border-color:transparent!important}
html.nt-ws .statusbar *{color:#8e8e94!important}
html.nt-ws .topbar .iconBtn,html.nt-ws .topbar .topBtn,html.nt-ws .topbar .workspaceTab{white-space:nowrap;width:auto!important;min-width:44px}
html.nt-ws .maxPill{background:#1b1b1e!important;color:#f2f2f0!important;border-color:transparent!important}
html.nt-ws .themeWrap{display:none!important}
}

/* readability floor (157) */
@media all{.lb-note,.lb-more p{color:#a9a9ad!important}}
@media all{html.nt-ws .mtn-lab-eb{color:#f2f2f0!important}html.nt-ws .mtn-prow-main em{color:#f2f2f0!important;font-weight:700}}

@media(max-width:1215.98px){html.nt-ws .homeTitleRow h1{font-size:clamp(34px,9vw,52px)!important}}
@media(max-width:1099.98px){
#lbTabs.lb-tabs{background:rgba(10,10,11,.97)!important;border-color:#2c2c30!important;box-shadow:none!important}
html.nt-ws aside.rail{background:#f4f4f2!important;color:#1a1917!important}
html.nt-ws aside.rail .mtn-acct-restore,html.nt-ws aside.rail .mtn-acct-restore *{color:#3b3934!important}
html.nt-ws aside.rail .dk-k,html.nt-ws aside.rail .dk-sub,html.nt-ws aside.rail .dk-n,html.nt-ws aside.rail .dk-tag,html.nt-ws aside.rail .mtn-acct-txt small{color:#66635c!important}
}
@media(max-width:1000px){html.nt-ws .topbar .projectCrumb{display:none!important}}

/* ===== 164 ===== */
/* Deep Analysis · What if: the tool note is a dark card, its options are readable */
.w-toolhint{background:#1b1b1e!important;color:#e6e6e4!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(232,65,58,.55)!important;border-radius:16px!important}
.w-toolhint b,.w-toolhint strong{color:#fff!important}
.w-toolhint .lb-chips{margin-top:10px;gap:8px}
.w-toolhint .lb-chips>span{color:#a9a9ad!important;font-size:12.5px!important}
.w-toolhint .lb-chips button{background:#2c2c30!important;color:#f2f2f0!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important}
.w-toolhint .lb-chips button:hover{box-shadow:inset 0 0 0 1px #f2f2f0!important}
.w-toolhint .lb-chips button.on{background:#E8413A!important;color:#fff!important;box-shadow:none!important}
/* Workspace: tool tiles and the project card use the rail's round glyphs, not the old illustrations */
html.nt-ws .mtn-tool-art{background:#1b1b1e!important;display:grid!important;place-items:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html.nt-ws .mtn-tool-art img,html.nt-ws .mtn-recent-previews img{display:none!important}
html.nt-ws .nt-art{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#f4f4f2;color:#0a0a0b;font:800 17px/1 'MTN Inter',Inter,system-ui,sans-serif;letter-spacing:-.03em;transition:transform .35s cubic-bezier(.2,.7,.2,1),background .25s,color .25s}
html.nt-ws .nt-art svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html.nt-ws .nt-art .mtn-mark{width:34px;height:34px}
html.nt-ws .mtn-tool-card:hover .nt-art,html.nt-ws .mtn-recent-previews .nt-prj:hover .nt-art{transform:scale(1.08);background:#E8413A;color:#fff}
html.nt-ws .mtn-recent-previews{display:flex!important;gap:10px;flex-wrap:wrap}
html.nt-ws .mtn-recent-previews .nt-prj{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 180px;padding:10px 16px 10px 10px;border-radius:999px;background:#1b1b1e;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);color:#f2f2f0;font:700 14px/1.2 'MTN Inter',Inter,system-ui,sans-serif;text-align:left}
html.nt-ws .mtn-recent-previews .nt-prj .nt-art{width:40px;height:40px;flex:none}
html.nt-ws .mtn-recent-previews .nt-prj .nt-art svg{width:19px;height:19px}
html.nt-ws .mtn-recent-previews .nt-prj span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* "What each tool does": one calm line per tool; the long paragraph moved to the guide */
html.nt-ws #mtnToolGuide .gr{grid-template-columns:56px minmax(0,1.3fr) minmax(0,1fr) 150px!important;align-items:center;padding-top:22px!important;padding-bottom:22px!important}
html.nt-ws #mtnToolGuide .gr>.gd,html.nt-ws #mtnToolGuide .gr.hd>span:nth-child(3){display:none!important}
html.nt-ws #mtnToolGuide .gb{font-size:19px!important;color:#fff!important}
html.nt-ws #mtnToolGuide .gb small{display:block;margin-top:5px;font-size:14px!important;font-weight:500!important;color:#a9a9ad!important}
html.nt-ws #mtnToolGuide .go{color:#c4c4c8!important}
html.nt-ws #mtnToolGuide .gr:not(.hd){transition:background .2s}
html.nt-ws #mtnToolGuide .gr:not(.hd):hover{background:rgba(255,255,255,.04)!important}
html.nt-ws #mtnToolGuide>p{border:0!important;box-shadow:none!important;background:transparent!important;color:#a9a9ad!important;margin-bottom:18px}
html.nt-ws .nt-howlink{margin-left:10px;height:34px;padding:0 14px;border-radius:999px;border:0;background:transparent;box-shadow:inset 0 0 0 1px #4e4e55;color:#f2f2f0;font:700 13px/1 'MTN Inter',Inter,system-ui,sans-serif;cursor:pointer;vertical-align:middle;transition:box-shadow .2s}
html.nt-ws .nt-howlink:hover{box-shadow:inset 0 0 0 1px #f2f2f0}
@media(max-width:800px){html.nt-ws #mtnToolGuide .gr{grid-template-columns:40px 1fr 90px!important}html.nt-ws #mtnToolGuide .gr>.go,html.nt-ws #mtnToolGuide .gr.hd>span:nth-child(4){display:none!important}}
/* 167: upgrade dialog — "Get Max" was white text on a white button */
.lb-gatebox .lb-btn.primary,.lb-gate .lb-btn.primary,.lb-pickfoot .lb-btn.primary,.lb-impbox .lb-btn.primary{background:#E8413A!important;border-color:#E8413A!important;color:#fff!important}
