/* 4.4.0: the Memory page, as locked (Xc8bk85kn2m2fDkMUZL9hv): the Engine's slate, cream panels beside Mel, one teal light for what waits for Friday */
#nx .nx-mem.mm-on { overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
#nx .nx-mem.mm-on > :not(.mm-page):not(.mm-chk) { display: none; }
#nx .mm-page { padding: 64px 28px 40px; display: flex; flex-direction: column; gap: 14px; max-width: 1180px; color: var(--nx-cream); font: 400 13.5px/1.45 var(--nx-sans); }
#nx .mm-h1 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; text-wrap: balance; } #nx .mm-h1 em { font-style: normal; color: var(--nx-led); }
#nx .mm-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
#nx .mm-tile { padding: 11px 15px; border-radius: 10px; background: rgba(255,247,233,.06); box-shadow: inset 0 0 0 1px rgba(255,247,233,.1); }
#nx .mm-tile b { display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; } #nx .mm-tile span { color: var(--nx-on-slate-2); font-size: 12.5px; } #nx .mm-tile em { font-style: normal; color: var(--nx-led); font-weight: 600; }
#nx .mm-search { position: relative; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 13px; border-radius: 8px; background: rgba(255,247,233,.08); box-shadow: inset 0 0 0 1px rgba(255,247,233,.14); color: var(--nx-on-slate-2); cursor: text; transition: box-shadow 160ms cubic-bezier(0,0,0,1); z-index: 3; }
#nx .mm-search:focus-within { box-shadow: inset 0 0 0 2px var(--nx-led); } #nx .mm-search svg { width: 16px; height: 16px; flex: none; }
#nx .mm-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--nx-cream); font: 400 14px var(--nx-sans); -webkit-appearance: none; appearance: none; } #nx .mm-search input::placeholder { color: var(--nx-on-slate-2); }
#nx .mm-res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--nx-cream); color: #1E2B3C; border-radius: 10px; padding: 5px; box-shadow: 0 18px 40px rgba(20,24,28,.35); display: flex; flex-direction: column; gap: 1px; max-height: 360px; overflow-y: auto; }
#nx .mm-res[hidden] { display: none; }
#nx .mm-hit { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; padding: 7px 9px; border-radius: 7px; } #nx .mm-hit:hover { background: rgba(30,43,60,.07); }
#nx .mm-hit b { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #nx .mm-hit .sub { font-size: 11.5px; color: #5E6878; }
#nx .mm-hit > .nx-f { width: 30px; height: 30px; }
#nx .mm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#nx .mm-chips button { font: 600 12px var(--nx-sans); padding: 5px 12px; border-radius: 99px; background: rgba(255,247,233,.08); color: var(--nx-on-slate-2); transition: background-color 160ms, color 160ms, transform 160ms; }
#nx .mm-chips button:hover { color: var(--nx-cream); } #nx .mm-chips button.on { background: var(--nx-cream); color: var(--nx-slate); } #nx .mm-chips button:active { transform: scale(.96); }
#nx .mm-cols { display: flex; gap: 18px; align-items: flex-start; }
#nx .mm-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#nx .mm-sec { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-on-slate-2); margin-top: 8px; min-height: 30px; }
#nx .mm-sec em { font-style: normal; } #nx .mm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-led); box-shadow: 0 0 8px var(--nx-led); animation: mm-breathe 1.6s ease-in-out 1; }
@keyframes mm-breathe { 50% { transform: scale(1.6); box-shadow: 0 0 14px var(--nx-led); } }
#nx .mm-sec .mm-btn { margin-left: auto; text-transform: none; letter-spacing: 0; }
#nx .mm-area { font-size: 12px; font-weight: 600; color: var(--nx-on-slate-2); margin: 6px 0 0 2px; }
#nx .mm-btn { display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px var(--nx-sans); padding: 7px 14px; border-radius: 5px; background: var(--nx-cream); color: var(--nx-slate) !important; transition: transform 160ms cubic-bezier(0,0,0,1), background-color 160ms; }
#nx .mm-btn i { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-led); } #nx .mm-btn:hover { background: #fff; } #nx .mm-btn:active { transform: scale(.96); }
#nx .mm-lr { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 11px; align-items: center; text-align: left; padding: 9px 12px; border-radius: 9px; background: rgba(255,247,233,.06); box-shadow: inset 0 0 0 1px rgba(255,247,233,.09); color: var(--nx-cream); transition: transform 160ms cubic-bezier(0,0,0,1), background-color 160ms; }
#nx button.mm-lr:hover { background: rgba(255,247,233,.1); transform: translateY(-1px); } #nx button.mm-lr:active { transform: scale(.99); }
#nx .mm-lr.new { box-shadow: inset 3px 0 0 var(--nx-led), inset 0 0 0 1px rgba(255,247,233,.09); } #nx .mm-lr.gone { opacity: .55; } #nx .mm-lr.gone b { text-decoration: line-through; }
#nx .mm-lr > .nx-f { width: 30px; height: 30px; }
#nx .mm-lt { min-width: 0; } #nx .mm-lt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #nx .mm-lt .sub { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--nx-on-slate-2); white-space: nowrap; overflow: hidden; }
#nx .mm-tg { display: flex; gap: 6px; }
#nx .mm-tag { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(255,247,233,.1); color: var(--nx-on-slate-2); white-space: nowrap; }
#nx .mm-tag.led, #nx .mm-tag.ok { background: rgba(101,205,210,.18); color: var(--nx-led); }
#nx .mm-ag { display: inline-block; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #CFF5F4, #65CDD2 45%, #1D8C88); vertical-align: middle; }
#nx .mm-ini { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
#nx .mm-note { font-size: 12px; color: var(--nx-on-slate-2); margin: 6px 2px 0; }
#nx .mm-side { width: 260px; flex: none; padding: 13px 15px; border-radius: 10px; background: rgba(255,247,233,.06); box-shadow: inset 0 0 0 1px rgba(255,247,233,.1); display: flex; flex-direction: column; gap: 8px; position: sticky; top: 10px; }
#nx .mm-side > b { font-size: 13.5px; }
#nx .mm-bars { display: flex; align-items: flex-end; gap: 6px; height: 88px; }
#nx .mm-bars button { flex: 1; position: relative; border-radius: 3px 3px 0 0; background: rgba(255,247,233,.16); transition: background-color 160ms, transform 160ms; transform-origin: bottom; } #nx .mm-bars button:hover { background: rgba(255,247,233,.26); }
#nx .mm-bars button em { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 3px 3px 0 0; background: var(--nx-led); opacity: .8; } #nx .mm-bars button.cur { box-shadow: 0 0 0 1.5px var(--nx-led); }
#nx .mm-wk { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--nx-on-slate-2); }
#nx .mm-key { display: flex; gap: 12px; font-size: 11.5px; color: var(--nx-on-slate-2); } #nx .mm-key span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; background: rgba(255,247,233,.25); } #nx .mm-key span.w::before { background: var(--nx-led); }
#nx .mm-rise { animation: mm-rise 320ms cubic-bezier(.2,.9,.25,1) both; }
@keyframes mm-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* the cream panel, beside Mel, over whatever page is open */
#nx .mm-panel { position: absolute; right: var(--nx-mel); top: var(--nx-top); bottom: 0; width: 440px; z-index: 40; pointer-events: auto; background: var(--nx-cream); color: #1E2B3C; box-shadow: -18px 0 40px rgba(20,24,28,.3); transform: translateX(104%); transition: transform 360ms cubic-bezier(.2,.9,.25,1); overflow: hidden; font: 400 13.5px/1.45 var(--nx-sans); }
#nx .mm-panel.on { transform: none; }
#nx .nx-mem .mm-page { transition: filter 300ms; } #nx .nx-mem.mm-dimb .mm-page { filter: brightness(.7); }
#nx .mm-pin { position: absolute; inset: 0; padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; scrollbar-width: thin; }
#nx .mm-pin.in { animation: mm-in 300ms cubic-bezier(.2,.9,.25,1) both; } #nx .mm-pin.out { animation: mm-out 220ms ease-in both; pointer-events: none; }
@keyframes mm-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } } @keyframes mm-out { to { opacity: 0; transform: translateX(-18px); } }
#nx .mm-x { position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; border-radius: 5px; font-size: 21px; line-height: 1; color: #5E6878; } #nx .mm-x:hover { background: rgba(30,43,60,.07); color: #1E2B3C; }
#nx .mm-back { display: inline-flex; align-items: center; gap: 4px; width: fit-content; font: 600 12.5px var(--nx-sans); color: #5E6878; margin: -4px 0 -4px -4px; padding: 4px; } #nx .mm-back svg { width: 16px; height: 16px; } #nx .mm-back:hover { color: #1E2B3C; }
#nx .mm-ptg { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 36px; } #nx .mm-ptg span { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #F3EADB; color: #5E6878; } #nx .mm-ptg span.ok { background: rgba(19,127,122,.12); color: #137f7a; }
#nx .mm-ptt { font-size: 21px; font-weight: 700; line-height: 1.22; letter-spacing: -.01em; outline: none; border-radius: 6px; }
#nx .mm-ptt.ed { background: #fff; box-shadow: 0 0 0 2px var(--nx-led); padding: 2px 6px; margin: -2px -6px; }
#nx .mm-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } #nx .mm-ba div { padding: 9px 11px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(30,43,60,.1); font-size: 13px; }
#nx .mm-ba span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5E6878; margin-bottom: 2px; } #nx .mm-ba s { color: #5E6878; } #nx .mm-ba p { margin: 0; }
#nx .mm-if { padding: 10px 12px; border-radius: 8px; background: #F3EADB; font-size: 13px; } #nx .mm-if b { color: #137f7a; }
#nx .mm-pr { display: flex; gap: 11px; align-items: center; font-size: 13px; } #nx .mm-pr .sub { color: #5E6878; font-size: 12px; } #nx .mm-pr > .nx-f { flex: none; }
#nx .mm-lk { font: 600 12px var(--nx-sans); color: #137f7a; text-align: left; padding: 0; } #nx .mm-lk.b { font-size: 13px; } #nx .mm-lk:hover { text-decoration: underline; }
#nx .mm-resb { padding: 11px 13px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(30,43,60,.1); display: flex; flex-direction: column; gap: 6px; }
#nx .mm-resb .hd { display: flex; align-items: center; } #nx .mm-resb .hd b { font-size: 13px; } #nx .mm-resb .v { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #F3EADB; color: #5E6878; } #nx .mm-resb .v.ok { background: rgba(19,127,122,.12); color: #137f7a; }
#nx .mm-resb svg { display: block; width: 100%; height: 72px; overflow: visible; } #nx .mm-resb circle.mk { cursor: pointer; } #nx .mm-resb .sub { color: #5E6878; font-size: 12px; }
#nx .mm-psec { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5E6878; margin-top: 4px; }
#nx .mm-hist { font-size: 12.5px; color: #5E6878; }
#nx .mm-prow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; padding: 8px 11px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(30,43,60,.08); font-size: 12.5px; color: #1E2B3C; }
#nx button.mm-prow:hover { box-shadow: 0 0 0 1px rgba(66,75,84,.4); } #nx .mm-prow > span:first-child { display: flex; gap: 8px; align-items: center; min-width: 0; } #nx .mm-prow b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
#nx .mm-prow .src { font: 600 12px var(--nx-sans); color: #137f7a; white-space: nowrap; } #nx .mm-prow .src:hover { text-decoration: underline; }
#nx .mm-prow .mm-tag { background: #F3EADB; color: #5E6878; } #nx .mm-prow .mm-tag.ok, #nx .mm-prow .mm-tag.led { background: rgba(19,127,122,.12); color: #137f7a; }
#nx .mm-pact { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; }
#nx .mm-pbtn { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--nx-sans); padding: 7px 13px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(30,43,60,.28); color: #1E2B3C; transition: transform 160ms cubic-bezier(0,0,0,1), box-shadow 160ms; }
#nx .mm-pbtn:hover { box-shadow: inset 0 0 0 1px #424B54; } #nx .mm-pbtn:active { transform: scale(.96); } #nx .mm-pbtn.pri { background: var(--nx-slate); color: var(--nx-cream) !important; box-shadow: none; }
#nx .mm-pbtn kbd { font: 700 10px var(--nx-sans); padding: 0 5px; border-radius: 3px; background: rgba(30,43,60,.08); } #nx .mm-pbtn.pri kbd { background: rgba(255,247,233,.2); }

/* the Friday check */
#nx .mm-chk { min-height: 100%; padding: 64px 28px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--nx-cream); font: 400 13.5px/1.45 var(--nx-sans); }
#nx .mm-dots { display: flex; gap: 6px; align-items: center; color: var(--nx-on-slate-2); font-size: 12px; } #nx .mm-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,247,233,.25); transition: background-color 200ms; } #nx .mm-dots i.on { background: var(--nx-led); box-shadow: 0 0 8px var(--nx-led); } #nx .mm-dots i.done { background: rgba(101,205,210,.55); } #nx .mm-dots span { margin-left: 6px; }
#nx .mm-card { width: min(640px, 100%); background: var(--nx-cream); color: #1E2B3C; border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 50px rgba(20,24,28,.32); }
#nx .mm-card.in { animation: mm-in 300ms cubic-bezier(.2,.9,.25,1) both; }
#nx .mm-acts { display: flex; flex-wrap: wrap; gap: 8px; }
#nx .mm-rep { width: min(640px, 100%); padding: 10px 14px; border-radius: 10px; background: rgba(255,247,233,.08); box-shadow: inset 0 0 0 1px rgba(101,205,210,.45); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
#nx .mm-rep b { color: var(--nx-led); } #nx .mm-rep button { font: 600 12.5px var(--nx-sans); color: var(--nx-cream); text-decoration: underline; text-underline-offset: 3px; } #nx .mm-rep button:hover { color: var(--nx-led); }
#nx .mm-later { font: 600 12px var(--nx-sans); color: var(--nx-on-slate-2); } #nx .mm-later:hover { color: var(--nx-cream); }
#nx .mm-done { width: min(580px, 100%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
#nx .mm-done .tick { width: 56px; height: 56px; border-radius: 50%; background: rgba(101,205,210,.18); color: var(--nx-led); display: grid; place-items: center; font-size: 27px; font-weight: 700; animation: mm-pop 420ms cubic-bezier(.2,1.4,.4,1) both; }
@keyframes mm-pop { from { transform: scale(.4); opacity: 0; } }
#nx .mm-done .sub { color: var(--nx-on-slate-2); } #nx .mm-done .mm-lr { width: 100%; text-align: left; }

/* because of, on the work */
#nx .mm-bec { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 6px 0 4px; padding: 6px 12px 6px 9px; border-radius: 99px; background: rgba(19,127,122,.1); color: #1E2B3C; font: 500 12.5px var(--nx-sans); text-align: left; transition: transform 160ms cubic-bezier(0,0,0,1), background-color 160ms; }
#nx .mm-bec b { color: #137f7a; font-weight: 600; } #nx .mm-bec span { min-width: 0; } #nx .mm-bec svg { width: 14px; height: 14px; flex: none; color: #137f7a; } #nx .mm-bec:hover { background: rgba(19,127,122,.16); } #nx .mm-bec:active { transform: scale(.97); }
#nx .mm-bec .mm-ag { width: 14px; height: 14px; }

#nx .mm-toast { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 16px; border-radius: 9px; background: #1E2B3C; color: var(--nx-cream); font: 500 13px var(--nx-sans); box-shadow: 0 14px 34px rgba(20,24,28,.35); animation: mm-rise 260ms cubic-bezier(.2,.9,.25,1) both; }
#nx .mm-toast button { font: 600 13px var(--nx-sans); color: var(--nx-led); padding: 3px 8px; border-radius: 5px; } #nx .mm-toast button:hover { background: rgba(255,247,233,.1); }
@media (prefers-reduced-motion: reduce) { #nx .mm-rise, #nx .mm-pin.in, #nx .mm-card.in, #nx .mm-dot, #nx .mm-done .tick { animation: none; } #nx .mm-panel { transition: none; } }
#nx .mm-fw { display: inline-block; flex: none; } #nx .mm-fw > .nx-f, #nx .mm-fw > .nx-ostar, #nx .mm-fw > span { display: block; width: 100% !important; height: 100% !important; margin: 0; }

/* 4.4.1: the Engine tabs sit above any panel; in the Engine the panel starts below them */
#nx .nx-eng .nx-etabs { z-index: 45 !important; }
#nx .mm-panel.mm-undertabs { top: calc(var(--nx-top) + 50px); border-top-left-radius: 10px; }
