/* 3.0: the Engine's Processes and Team, as locked (round 3, step 7). Dark Engine, cream swimlanes, one teal light for what waits for you, clay for late. */
#nx .nx-ops { position: absolute; inset: 0; display: none; pointer-events: auto; background: radial-gradient(120% 90% at 38% 48%, #4E5862 0%, #424B54 50%, #394148 100%); color: var(--nx-cream); overflow-y: auto; overflow-x: hidden; }
#nx .nx-eng.nx-opson .nx-ops { display: block; }
#nx .nx-eng .nx-etabs { z-index: 3; }
#nx .nx-opsin { padding: 18px 26px 28px; min-height: 100%; box-sizing: border-box; }
#nx .nx-ottl { font-size: 26px; font-weight: 700; line-height: 1.15; margin: 6px 220px 4px 0; letter-spacing: -0.01em; } #nx .nx-ottl em { font-style: normal; font-weight: 500; color: var(--nx-on-slate-2); }
#nx .nx-osub { font-size: 14px; color: var(--nx-on-slate-2); margin: 0 0 14px; }
#nx .nx-oback { font: 600 13px var(--nx-sans); color: var(--nx-on-slate-2); display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; } #nx .nx-oback:hover { color: var(--nx-cream); } #nx .nx-oback svg { width: 16px; height: 16px; }

/* needs attention */
#nx .nx-attn { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 16px; }
#nx .nx-attn button { text-align: left; background: var(--nx-cream); color: var(--nx-on-cream-2); border-radius: 10px; padding: 9px 12px; font: 400 12.5px/1.35 var(--nx-sans); display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 2px 8px; align-items: center; }
#nx .nx-attn button:hover { box-shadow: 0 0 0 2px var(--nx-led); }
#nx .nx-attn b { color: var(--nx-on-cream); font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#nx .nx-attn i { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-led); box-shadow: 0 0 0 3px rgba(101,205,210,.3); grid-row: span 2; } #nx .nx-attn .lt i { background: #C9785A; box-shadow: 0 0 0 3px rgba(201,120,90,.25); }

/* the overview: three families of process cards */
#nx .nx-fams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#nx .nx-fh { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-slate-2); margin-bottom: 7px; }
#nx .nx-pc { width: 100%; text-align: left; background: rgba(255,247,233,.07); border: 1px solid rgba(255,247,233,.1); border-radius: 7px; padding: 4px 10px; margin-bottom: 4px; min-height: 30px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) 96px 62px; gap: 8px; align-items: center; font: 400 12.5px var(--nx-sans); color: var(--nx-cream); }
#nx .nx-pc:hover { background: rgba(255,247,233,.13); }
#nx .nx-pc b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #nx .nx-pc .c { font-size: 11px; color: var(--nx-on-slate-2); text-align: right; white-space: nowrap; }
#nx .nx-pc.w { border-color: rgba(101,205,210,.6); box-shadow: inset 3px 0 0 var(--nx-led); } #nx .nx-pc.l { box-shadow: inset 3px 0 0 #C9785A; }

/* one process, in swimlanes */
#nx .nx-ometa { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; color: var(--nx-on-slate-2); margin-bottom: 12px; } #nx .nx-ometa b { color: var(--nx-cream); font-weight: 600; }
#nx .nx-lanes { position: relative; background: var(--nx-cream); border-radius: 12px; overflow: hidden; color: var(--nx-on-cream); }
#nx .nx-lane { position: absolute; left: 0; right: 0; border-top: 1px solid rgba(30,43,60,.1); } #nx .nx-lane.first { border-top: 0; }
#nx .nx-lh { position: absolute; left: 0; display: flex; align-items: center; gap: 9px; padding: 0 8px 0 12px; box-sizing: border-box; font-size: 13px; font-weight: 600; line-height: 1.25; background: var(--nx-cream-2); border-right: 1px solid rgba(30,43,60,.1); text-align: left; }
#nx .nx-lh:hover { background: var(--nx-cream-3); }
#nx .nx-lh .nx-f { width: 28px; height: 28px; } #nx .nx-lh .nx-f.nx-agb { width: 20px; height: 20px; margin: 4px; }
#nx .nx-ostar { width: 28px; height: 28px; border-radius: 50%; background: var(--nx-slate); color: var(--nx-cream); display: grid; place-items: center; font-size: 13px; flex: none; }
#nx .nx-bx { position: absolute; text-align: left; background: #fff; border-radius: 8px; padding: 7px 9px; box-sizing: border-box; font: 400 12.5px/1.32 var(--nx-sans); color: var(--nx-on-cream); overflow: hidden; box-shadow: 0 1px 0 rgba(30,43,60,.08), 0 0 0 1px rgba(30,43,60,.1); }
#nx .nx-bx:hover { box-shadow: 0 0 0 2px var(--nx-slate); }
#nx .nx-bx .t { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--nx-on-cream-2); margin-bottom: 3px; white-space: nowrap; overflow: hidden; padding-right: 16px; } #nx .nx-bx .t em { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
#nx .nx-mk { width: 16px; height: 16px; border-radius: 4px; font-size: 8px; display: inline-grid; place-items: center; color: #fff; font-weight: 700; flex: none; letter-spacing: -.02em; }
#nx .nx-bx.done { background: var(--nx-cream-2); color: var(--nx-on-cream-2); } #nx .nx-bx.done::after { content: "\2713"; position: absolute; right: 6px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #137f7a; color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
#nx .nx-bx.wait { box-shadow: 0 0 0 2px var(--nx-led), 0 0 0 7px rgba(101,205,210,.28); } #nx .nx-bx.wait .t { padding-right: 64px; }
#nx .nx-bx.wait::after { content: "Needs you"; position: absolute; right: 6px; top: 6px; font-size: 10px; font-weight: 700; color: var(--nx-slate); background: var(--nx-led); border-radius: 3px; padding: 1px 5px; }
#nx .nx-bx.now { box-shadow: 0 0 0 2px #137f7a; } #nx .nx-bx.lt { box-shadow: 0 0 0 2px #C9785A; }
#nx .nx-bx .n { position: absolute; right: 7px; bottom: 6px; font-size: 10.5px; font-weight: 700; background: var(--nx-slate); color: var(--nx-cream); border-radius: 9px; padding: 1px 7px; }
#nx .nx-lanes svg { position: absolute; inset: 0; pointer-events: none; } #nx .nx-lanes svg path { fill: none; stroke: #A8A39B; stroke-width: 1.5; }
#nx .nx-hands { font-size: 13px; color: var(--nx-on-slate-2); margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; } #nx .nx-hands b { color: var(--nx-cream); }
#nx .nx-hands button { font: 600 13px var(--nx-sans); color: var(--nx-led); } #nx .nx-hands button:hover { text-decoration: underline; }
#nx .nx-oacts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
#nx .nx-oacts .nx-btn { flex: none; }
#nx .nx-ob1 { background: var(--nx-cream); color: var(--nx-slate); font: 600 14px var(--nx-sans); border-radius: 4px; padding: 10px 16px; display: inline-flex; gap: 8px; align-items: center; } #nx .nx-ob1 i { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-led); }
#nx .nx-ob2 { color: var(--nx-cream); font: 600 14px var(--nx-sans); border-radius: 4px; padding: 10px 16px; box-shadow: inset 0 0 0 1px rgba(255,247,233,.4); }

/* the work on a step, and one piece of work's journey */
#nx .nx-strip { margin-top: 12px; background: var(--nx-cream); color: var(--nx-on-cream); border-radius: 12px; padding: 12px 16px; }
#nx .nx-strip .lb { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6E6A63; }
#nx .nx-runs { display: flex; flex-direction: column; margin-top: 6px; } #nx .nx-runs button { text-align: left; display: flex; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(30,43,60,.1); font: 400 13px var(--nx-sans); color: var(--nx-on-cream); }
#nx .nx-runs button:first-child { border-top: 0; } #nx .nx-runs button:hover b { text-decoration: underline; } #nx .nx-runs .id { font-size: 11px; font-weight: 700; color: #6E6A63; min-width: 62px; font-variant-numeric: tabular-nums; } #nx .nx-runs .r { margin-left: auto; color: var(--nx-on-cream-2); font-size: 12px; }
#nx .nx-jr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; } #nx .nx-jr h4 { margin: 0 0 4px; font-size: 13px; }
#nx .nx-jr p { margin: 0; padding: 3px 0; display: flex; gap: 8px; font-size: 12.5px; color: var(--nx-on-cream-2); } #nx .nx-jr p span { min-width: 64px; font-variant-numeric: tabular-nums; color: #6E6A63; }
#nx .nx-jr p i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--nx-slate); margin-top: 3px; flex: none; box-sizing: border-box; } #nx .nx-jr p.d i { background: var(--nx-slate); }
#nx .nx-jr p.now { color: var(--nx-on-cream); font-weight: 600; } #nx .nx-jr p.now i { background: var(--nx-led); border-color: #137f7a; box-shadow: 0 0 0 3px rgba(101,205,210,.3); }

/* the team */
#nx .nx-trow { display: grid; grid-template-columns: 140px minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, 1.3fr); gap: 12px; align-items: center; padding: 7px 12px; background: rgba(255,247,233,.07); border: 1px solid rgba(255,247,233,.1); border-radius: 9px; margin-bottom: 5px; font-size: 13px; color: var(--nx-cream); }
#nx .nx-trow .ar { font-weight: 700; } #nx .nx-tp, #nx .nx-ta, #nx .nx-tt { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#nx .nx-tp button { display: flex; align-items: center; gap: 6px; font: 400 13px var(--nx-sans); color: var(--nx-cream); } #nx .nx-tp button:hover span { text-decoration: underline; } #nx .nx-tp .nx-f { width: 26px; height: 26px; }
#nx .nx-ta button { border: 1px solid rgba(101,205,210,.55); color: var(--nx-cream); border-radius: 5px; padding: 2px 8px; font: 600 12px var(--nx-sans); display: flex; gap: 6px; align-items: center; } #nx .nx-ta button:hover { background: rgba(101,205,210,.15); }
#nx .nx-ta button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-led); } #nx .nx-ta button.nw::after { content: "New"; font-size: 10px; font-weight: 700; color: var(--nx-slate); background: var(--nx-led); border-radius: 3px; padding: 0 4px; }
#nx .nx-tt .nx-mk { width: 20px; height: 20px; border-radius: 5px; } #nx .nx-tt em { font-style: normal; font-size: 11.5px; color: var(--nx-on-slate-2); }
#nx .nx-tgrp { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-slate-2); margin: 12px 0 6px; }

/* the line under each desk item, and on its card */
#nx .nx-pline { display: block; font-size: 12.5px; color: var(--nx-on-cream-2); margin-top: 2px; } #nx .nx-pline em { font-style: normal; color: #137f7a; font-weight: 600; }
@media (max-width: 1180px) { #nx .nx-fams { grid-template-columns: repeat(2, minmax(0, 1fr)); } #nx .nx-trow { grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr); } #nx .nx-tt { display: none; } }

/* 3.1.1: the same feedback as the rest of the product: hovers ease, presses give a little, a highlight moves instead of jumping */
#nx .nx-pc, #nx .nx-attn button, #nx .nx-ta button, #nx .nx-tp button, #nx .nx-lh, #nx .nx-runs button, #nx .nx-hands button, #nx .nx-oback, #nx .nx-ob1, #nx .nx-ob2 { transition: background-color 160ms cubic-bezier(0,0,0,1), box-shadow 160ms cubic-bezier(0,0,0,1), color 160ms, transform 160ms cubic-bezier(0,0,0,1); }
#nx .nx-pc:active, #nx .nx-attn button:active, #nx .nx-ob1:active, #nx .nx-ob2:active { transform: scale(.98); }
#nx .nx-ta button:active, #nx .nx-tp button:active, #nx .nx-oback:active { transform: scale(.97); }
#nx .nx-bx { transition: box-shadow 280ms cubic-bezier(0,0,0,1), background-color 280ms cubic-bezier(0,0,0,1), color 280ms; }
#nx .nx-bx:active { box-shadow: 0 0 0 2px var(--nx-slate); background: var(--nx-cream-2); }
#nx .nx-runs button:hover { background: var(--nx-cream-2); } #nx .nx-runs button:active { background: var(--nx-cream-3); }
#nx .nx-lh:active { background: var(--nx-cream-3); }
#nx .nx-etabs button { transition: background-color 160ms cubic-bezier(0,0,0,1), color 160ms; }
#nx .nx-etabs button:not(.on):hover { color: var(--nx-cream); background: rgba(255,247,233,.08); } #nx .nx-etabs button:active { transform: scale(.97); }
#nx .nx-ops { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { #nx .nx-pc, #nx .nx-bx, #nx .nx-attn button { transition: none; } }

/* 3.4: a light on every step (signed off, artifact 8EeALmo29b6YxQwiWK5ZWM) */
#nx .nx-lane2 { display: block; overflow: visible; }
#nx .nx-lc.busy { fill: var(--nx-led); animation: nx-lpulse 1.6s ease-in-out infinite; }
#nx .nx-lc.you { fill: var(--nx-cream); animation: nx-lflash .9s steps(1, end) infinite; }
#nx .nx-lc.late { fill: #D9774F; animation: nx-lflash .9s steps(1, end) infinite; }
#nx .nx-lc.stby { fill: #424B54; stroke: var(--nx-led); stroke-width: 1.4; }
#nx .nx-lc.off { fill: rgba(255,247,233,.18); }
#nx .nx-lhalo { transform-box: fill-box; transform-origin: center; opacity: 0; }
#nx .nx-lhalo.busy { fill: var(--nx-led); animation: nx-lhal 1.6s ease-out infinite; }
#nx .nx-lhalo.you { fill: var(--nx-cream); animation: nx-lhal .9s ease-out infinite; }
#nx .nx-lhalo.late { fill: #D9774F; animation: nx-lhal .9s ease-out infinite; }
@keyframes nx-lpulse { 0%, 100% { opacity: 1 } 50% { opacity: .45 } }
@keyframes nx-lflash { 0% { opacity: 1 } 50% { opacity: .2 } }
@keyframes nx-lhal { 0% { opacity: .55; transform: scale(1) } 100% { opacity: 0; transform: scale(2.4) } }
#nx .nx-blt { width: 16px; height: 16px; border-radius: 50%; background: var(--nx-slate); flex-shrink: 0; display: grid; place-items: center; }
#nx .nx-blt svg { display: block; overflow: visible; }
@media (prefers-reduced-motion: reduce) { #nx .nx-lc, #nx .nx-lhalo { animation: none; } #nx .nx-lhalo.busy, #nx .nx-lhalo.you, #nx .nx-lhalo.late { opacity: .3; transform: scale(1.8); } }
#nx .nx-bx .nx-blt { position: absolute; right: 5px; top: 5px; }
#nx .nx-lanes .nx-blt svg { position: static; inset: auto; }
#nx .nx-bx.done .nx-blt, #nx .nx-bx.wait .nx-blt { display: none; }
/* 4.1.5: the Processes / Team / Memory tabs get their own row above the three columns, so they never sit on a column heading */
#nx .nx-opsin > .nx-fams:first-child { margin-top: 46px; }
