/* 4.0: the Studio (locked screens 7nTo23aF4cZ3wfgbqWkioP): a paper board in the slate frame, processes in lanes with real faces,
   warm stickies, one teal light for what's selected, new or moving */
#nx .nx-st2p { position: absolute; left: var(--nx-rail); right: var(--nx-mel); top: var(--nx-top); bottom: 0; pointer-events: auto; opacity: 0; visibility: hidden; overflow: hidden; overflow: clip; font: 400 13px/1.35 var(--nx-sans); color: var(--nx-on-cream); }
#nx .nx-stv { overflow: clip; }
#nx.nx-st2-on .nx-st2p { visibility: visible; }
#nx.nx-st2-on .nx-mark, #nx.nx-st2-on .nx-carry { display: none !important; }
#nx .nx-st2p button { font: inherit; color: inherit; cursor: pointer; }
#nx .nx-st2p button:disabled { cursor: default; opacity: .5; }
#nx .nx-st2p input[type=checkbox], #nx .nx-st2p input[type=radio] { accent-color: #137f7a; }
#nx .nx-st2p input, #nx .nx-st2p select, #nx .nx-st2p textarea { font: 400 13.5px var(--nx-sans); color: var(--nx-on-cream); }
#nx .nx-stv { position: absolute; inset: 0; background-color: var(--nx-paper, #F6EFE2); background-image: radial-gradient(rgba(66,75,84,.16) 1px, transparent 1px); background-size: 24px 24px; cursor: default; touch-action: none; }
#nx .nx-stv[data-mode="hand"] { cursor: grab; } #nx .nx-stv[data-mode="sticky"], #nx .nx-stv[data-mode="text"], #nx .nx-stv[data-mode="section"] { cursor: crosshair; } #nx .nx-stv[data-mode="arrow"] { cursor: cell; } #nx .nx-stv[data-mode="place"], #nx .nx-stv[data-mode="place"] * { cursor: crosshair !important; }
#nx .nx-stv.nx-pan { cursor: grab; } #nx .nx-stv.nx-panning, #nx .nx-stv.nx-panning * { cursor: grabbing !important; }
#nx .nx-stv.drop { box-shadow: inset 0 0 0 3px var(--nx-led); }
#nx .nx-stw { position: absolute; left: 0; top: 0; transform-origin: 0 0; width: 1px; height: 1px; }
#nx .nx-stw.old { pointer-events: none; }

/* arrows: related is dashed, then and waits on are solid, feeds into is the teal one */
#nx .nx-starr { position: absolute; left: 0; top: 0; width: 8000px; height: 8000px; overflow: visible; pointer-events: none; }
#nx .nx-starr g.lk { pointer-events: visiblePainted; cursor: pointer; }
#nx .nx-starr .hit { stroke: transparent; stroke-width: 14; fill: none; pointer-events: stroke; }
#nx .nx-starr .ln { stroke: #5E6A75; stroke-width: 2.6; fill: none; stroke-linejoin: round; }
#nx .nx-starr .k-related .ln { stroke-dasharray: 6 5; }
#nx .nx-starr .k-feeds .ln { stroke: #137f7a; stroke-width: 2.4; } #nx .nx-starr .k-feeds circle { fill: #137f7a; }
#nx .nx-starr .k-waits .ln { stroke: #424B54; }
#nx .nx-starr marker path { fill: #5E6A75; } #nx .nx-starr #nx-ah-feeds path { fill: #137f7a; } #nx .nx-starr #nx-ah-waits path { fill: #424B54; }
#nx .nx-starr text { font: 700 11px var(--nx-sans); fill: #66747F; paint-order: stroke; stroke: #F6EFE2; stroke-width: 4px; text-anchor: middle; }
#nx .nx-starr g.sel .ln { stroke: #137f7a; stroke-width: 3.4; } #nx .nx-starr g.pv .ln { stroke: #137f7a; stroke-dasharray: 7 5; }
#nx .nx-starr .eh { fill: #fff; stroke: #137f7a; stroke-width: 2.5; cursor: grab; pointer-events: all; }
#nx .nx-lkpv { position: absolute; height: 2px; background: var(--nx-led); transform-origin: 0 50%; pointer-events: none; }
#nx .nx-lkpv::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--nx-led); }

/* blocks on the board */
#nx .nx-si { position: absolute; box-sizing: border-box; border-radius: 8px; padding: 9px 11px; user-select: none; transition: box-shadow 160ms cubic-bezier(0,0,0,1), opacity 300ms cubic-bezier(0,0,0,1); }
#nx .nx-si.sel { box-shadow: 0 0 0 2px var(--nx-led), 0 0 0 6px rgba(101,205,210,.22) !important; }
#nx .nx-si.hit { box-shadow: 0 0 0 3px #D9A23F, 0 0 0 8px rgba(217,162,63,.22) !important; }
#nx .nx-si.drop { box-shadow: 0 0 0 3px var(--nx-led), 0 0 22px rgba(101,205,210,.55) !important; }
#nx .nx-si.dim { opacity: .42; } #nx .nx-si.stale { opacity: .55; filter: saturate(.6); } #nx .nx-si.stale:hover { opacity: 1; filter: none; }
#nx .nx-si.locked { cursor: default; }
#nx .nx-si .nx-lk { position: absolute; right: -8px; top: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--nx-slate); display: grid; place-items: center; }
#nx .nx-si .nx-lk svg { width: 12px; height: 12px; fill: none; stroke: var(--nx-cream); stroke-width: 2; }
#nx .nx-si .by { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-on-cream-2); }
#nx .nx-si .by em { font-style: normal; } #nx .nx-si .by .mk { margin-left: auto; font-size: 10px; letter-spacing: .04em; color: #137f7a; }
#nx .nx-si .by .nx-f, #nx .nx-si .by .nx-ostar { width: 20px; height: 20px; margin: 0; flex: none; font-size: 10px; }
#nx .nx-si .tx { outline: none; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 1.4em; font-size: 14px; line-height: 1.4; color: #3C3A35; }
#nx .nx-si .tx[contenteditable=true] { user-select: text; cursor: text; }
#nx .nx-si .lk { position: absolute; right: 8px; bottom: 7px; font-size: 11px; font-weight: 700; color: #137f7a; }
#nx .nx-si b { display: block; font-size: 14px; font-weight: 600; color: #1E2B3C; margin-bottom: 4px; }
#nx .nx-si-sticky { background: #FBE7B8; box-shadow: 0 2px 0 rgba(66,75,84,.08), 0 6px 14px rgba(66,75,84,.08); }
#nx .nx-si-sticky .tx, #nx .nx-si-shape .tx { max-height: calc(100% - 32px); overflow: hidden; } #nx .nx-si-sticky .tx[contenteditable=true] { max-height: none; overflow: visible; }
#nx .nx-si-sticky .tm { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0; color: var(--nx-on-cream-2); }
#nx .nx-si-sticky.due { background: #BFE9E7; } #nx .nx-si-sticky .tm.due { color: #137f7a; }
#nx .nx-si.c-yellow { background: #FBE7B8; } #nx .nx-si.c-teal { background: #BFE9E7; } #nx .nx-si.c-rose { background: #F6D3CF; } #nx .nx-si.c-sage { background: #D6E6CF; } #nx .nx-si.c-sky { background: #CFE0F2; } #nx .nx-si.c-grey { background: #E3DFD8; }
#nx .nx-si-shape { background: #fff; box-shadow: 0 0 0 1.5px #66747F; display: grid; place-items: center; text-align: center; }
#nx .nx-si-shape .tx { font-weight: 600; }
#nx .nx-si.sh-circle { border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 18px; }
#nx .nx-si.sh-pill { border-radius: 999px; display: grid; place-items: center; text-align: center; padding: 10px 22px; }
#nx .nx-si.sh-diamond { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); display: grid; place-items: center; text-align: center; padding: 22% 20%; box-shadow: none; }
#nx .nx-si.sh-diamond.nx-si-shape { background: #66747F; } #nx .nx-si.sh-diamond.nx-si-shape::before { content: ""; position: absolute; inset: 2px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: #fff; z-index: 0; } #nx .nx-si.sh-diamond .tx { position: relative; z-index: 1; }
#nx .nx-si.sh-diamond.nx-si-sticky .by, #nx .nx-si.sh-circle.nx-si-sticky .by { justify-content: center; }
#nx .nx-si-text { padding: 2px 4px; } #nx .nx-si-text .tx { font-size: 20px; font-weight: 600; color: var(--nx-on-cream); }
#nx .nx-si-section { border: 1.5px solid rgba(66,75,84,.22); background: rgba(255,247,233,.55); padding: 0; }
#nx .nx-si-section .ttl { position: absolute; left: 14px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-cream-2); outline: none; cursor: move; }
#nx .nx-si-section .ttl[contenteditable=true] { user-select: text; cursor: text; color: var(--nx-on-cream); }
#nx .nx-si-section .rule { position: absolute; right: 12px; top: 6px; display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 99px; background: var(--nx-slate); color: var(--nx-cream); }
#nx .nx-si-section .rule .nx-f, #nx .nx-si-section .rule .nx-ostar { width: 20px; height: 20px; margin: 0; } #nx .nx-si-section .rule b { color: var(--nx-cream); font-size: 12px; margin: 0; }
#nx .nx-si-section .lay { position: absolute; left: 14px; bottom: 8px; font-size: 11px; font-weight: 600; color: var(--nx-on-cream-2); }
#nx .nx-si-image { padding: 0; overflow: hidden; background: #E2D8C6; box-shadow: 0 6px 14px rgba(66,75,84,.12); } #nx .nx-si-image img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
#nx .nx-si-link, #nx .nx-si-tool, #nx .nx-si-doc, #nx .nx-si-answer, #nx .nx-si-task, #nx .nx-si-msg, #nx .nx-si-file, #nx .nx-si-person, #nx .nx-si-frame { background: var(--nx-cream); box-shadow: 0 1px 0 rgba(30,43,60,.06), 0 0 0 1px rgba(30,43,60,.10); }
#nx .nx-si-link .st, #nx .nx-si-file .st { font-size: 11.5px; color: #137f7a; font-weight: 600; } #nx .nx-si-link p { margin: 4px 0 6px; color: var(--nx-on-cream-2); }
#nx .nx-si-link .lk2 { font-size: 12px; font-weight: 600; text-decoration: underline; cursor: pointer; color: var(--nx-on-cream); }
#nx .nx-si-tool { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; align-items: center; }
#nx .nx-si-tool .mk { grid-row: span 3; width: 34px; height: 34px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
#nx .nx-si-tool b { margin: 0; } #nx .nx-si-tool .num { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; } #nx .nx-si-tool .lb { grid-column: 2; font-size: 12px; color: var(--nx-on-cream-2); }
#nx .nx-si-tool .live { grid-column: 1 / -1; margin-top: 6px; font-size: 11px; color: #137f7a; font-weight: 600; display: flex; align-items: center; gap: 6px; } #nx .nx-si-tool .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nx-led); animation: nx-breathe 2s ease-in-out infinite; }
#nx .nx-si-doc .bd p, #nx .nx-si-answer .bd p { margin: 0 0 4px; color: #3C3A35; font-size: 13px; }
#nx .nx-si-doc .bd { max-height: 160px; overflow: hidden; }
#nx .nx-si-answer { background: #EAF6F4; }
#nx .nx-si-task ul { margin: 6px 0 4px; padding: 0; list-style: none; display: grid; gap: 4px; } #nx .nx-si-task li { display: flex; gap: 8px; font-size: 13px; color: #3C3A35; } #nx .nx-si-task li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid #8A857D; flex: none; margin-top: 2px; }
#nx .nx-si-task .stl { display: block; font-size: 12px; color: var(--nx-on-cream-2); } #nx .nx-si-task .lk { position: static; display: block; margin-top: 6px; }
#nx .nx-si-task.boardonly { box-shadow: 0 0 0 1px rgba(30,43,60,.2); background: #FBF6EC; } #nx .nx-si-task.boardonly .lk, #nx .nx-si-task.boardonly .by .mk { color: var(--nx-on-cream-2); }
#nx .nx-si-task.late { box-shadow: 0 0 0 1.5px #D9774F; } #nx .nx-si-task.late .by .mk { color: #D9774F; }
#nx .nx-si-msg .ms p { margin: 0 0 5px; font-size: 12.5px; color: #3C3A35; } #nx .nx-si-msg .ms p span { font-weight: 700; color: var(--nx-on-cream-2); } #nx .nx-si-msg .ms p.note { font-style: italic; color: var(--nx-on-cream-2); }
#nx .nx-si-msg .rp { display: flex; gap: 6px; margin-top: 8px; } #nx .nx-si-msg .rp input { flex: 1; min-width: 0; border: 0; border-radius: 6px; padding: 7px 9px; background: #fff; box-shadow: inset 0 0 0 1px rgba(30,43,60,.15); outline: none; }
#nx .nx-si-msg .rp button { background: var(--nx-slate); color: var(--nx-cream); border-radius: 6px; padding: 0 12px; font-weight: 600; }
#nx .nx-si-file { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 10px; align-items: center; } #nx .nx-si-file .fk { grid-row: span 2; width: 34px; height: 42px; border-radius: 3px 10px 3px 3px; background: #fff; box-shadow: 0 0 0 1.5px #8A857D; display: grid; place-items: end center; padding-bottom: 5px; box-sizing: border-box; font-size: 9px; font-weight: 700; color: var(--nx-on-cream-2); }
#nx .nx-si-file b { margin: 0; }
#nx .nx-si-person { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 10px; align-items: center; cursor: grab; } #nx .nx-si-person > .nx-f, #nx .nx-si-person > .nx-ostar { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
#nx .nx-si-person b { margin: 0; } #nx .nx-si-person .rl { grid-column: 2; font-size: 12px; color: var(--nx-on-cream-2); }
#nx .nx-si-frame { background: #FBF6EC; } #nx .nx-si-frame .fh { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } #nx .nx-si-frame .fh b { margin: 0; } #nx .nx-si-frame .fh .c { margin-left: auto; font-size: 12px; color: var(--nx-on-cream-2); }
#nx .nx-si-frame .fh .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-led); animation: nx-breathe 2s ease-in-out infinite; }
#nx .nx-si-frame .fl { display: grid; gap: 6px; } #nx .nx-si-frame .fr { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: center; background: #fff; border-radius: 6px; padding: 6px 8px; box-shadow: 0 0 0 1px rgba(30,43,60,.08); }
#nx .nx-si-frame .fr .nx-f, #nx .nx-si-frame .fr .nx-ostar { width: 24px; height: 24px; margin: 0; } #nx .nx-si-frame .fr b { font-size: 12.5px; margin: 0; } #nx .nx-si-frame .fr em { display: block; font-style: normal; font-size: 11.5px; color: var(--nx-on-cream-2); }
#nx .nx-si-frame .fr.late { box-shadow: 0 0 0 1.5px #D9774F; } #nx .nx-si-frame .more { margin: 2px 0 0; font-size: 12px; color: var(--nx-on-cream-2); }
#nx .nx-si.draft { opacity: .95; box-shadow: 0 0 0 2px var(--nx-led), 0 0 0 7px rgba(101,205,210,.22) !important; }
#nx .nx-si .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#nx .nx-si.draft > .acts { position: absolute; left: 0; top: calc(100% + 8px); margin: 0; background: var(--nx-cream); padding: 6px; border-radius: 8px; box-shadow: 0 10px 24px rgba(20,24,28,.18); white-space: nowrap; flex-wrap: nowrap; }
#nx .nx-si .acts button, #nx .nx-stpop .acts button, #nx .nx-insc .acts button { font: 600 12.5px var(--nx-sans); padding: 6px 11px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(30,43,60,.3); color: var(--nx-on-cream); transition: transform 160ms cubic-bezier(0,0,0,1), background-color 160ms; }
#nx .nx-si .acts button.pri, #nx .nx-stpop .acts button.pri, #nx .nx-insc .acts button.pri { background: var(--nx-slate); color: var(--nx-cream); box-shadow: none; }
#nx .nx-si .acts button:active, #nx .nx-stpop .acts button:active { transform: scale(.97); }
#nx .nx-chg { position: absolute; left: 0; top: calc(100% + 54px); display: flex; gap: 6px; width: max(100%, 320px); background: var(--nx-cream); padding: 6px; border-radius: 8px; box-shadow: 0 10px 24px rgba(20,24,28,.18); z-index: 3; }
#nx .nx-chg input, #nx .nx-ins input { flex: 1; min-width: 0; border: 0; border-radius: 6px; padding: 7px 9px; background: #fff; box-shadow: inset 0 0 0 1px rgba(30,43,60,.15); outline: none; }
#nx .nx-chg button, #nx .nx-ins button { background: var(--nx-slate); color: var(--nx-cream); border-radius: 6px; padding: 0 12px; font-weight: 600; }
/* connector dots: drag from an edge to connect */
#nx .nx-cdot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--nx-led); opacity: 0; transition: opacity 140ms, transform 140ms; cursor: crosshair; z-index: 2; }
#nx .nx-si:hover > .nx-cdot { opacity: 1; } #nx .nx-cdot:hover { transform: scale(1.3); background: var(--nx-led); }
#nx .nx-cdot.l { left: -6px; top: calc(50% - 6px); } #nx .nx-cdot.r { right: -6px; top: calc(50% - 6px); } #nx .nx-cdot.t { top: -6px; left: calc(50% - 6px); } #nx .nx-cdot.b { bottom: -6px; left: calc(50% - 6px); }
#nx .nx-si.sh-diamond > .nx-cdot { display: none; }
/* comments and instructions on a block */
#nx .nx-cmb { position: absolute; right: -10px; bottom: -10px; display: flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 99px; background: var(--nx-slate); color: var(--nx-cream) !important; font: 700 11px var(--nx-sans) !important; z-index: 2; }
#nx .nx-cmb svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
#nx .nx-ins { position: absolute; left: 0; top: calc(100% + 8px); width: max(100%, 340px); display: grid; grid-template-columns: 1fr auto; gap: 6px; background: var(--nx-cream); padding: 10px; border-radius: 10px; box-shadow: 0 16px 34px rgba(20,24,28,.22); z-index: 4; }
#nx .nx-ins b { grid-column: 1 / -1; margin: 0; }
#nx .nx-insc { position: absolute; left: 0; top: calc(100% + 8px); width: max(100%, 300px); background: var(--nx-cream); padding: 10px 12px; border-radius: 10px; box-shadow: 0 16px 34px rgba(20,24,28,.22); z-index: 3; display: grid; gap: 6px; }
#nx .nx-insc b { margin: 0; } #nx .nx-insc .who { display: flex; align-items: center; gap: 8px; font-weight: 600; } #nx .nx-insc .who em { font-style: normal; }
#nx .nx-insc .who .nx-f, #nx .nx-insc .who .nx-ostar { width: 24px; height: 24px; margin: 0; } #nx .nx-insc ol { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--nx-on-cream-2); } #nx .nx-insc .cost { font-size: 12px; font-weight: 600; color: #137f7a; }
#nx .nx-insc.s-working, #nx .nx-insc.s-done, #nx .nx-insc.s-waiting, #nx .nx-insc.s-stuck { left: auto; right: -12px; top: -14px; width: auto; padding: 4px 10px 4px 4px; border-radius: 99px; grid-auto-flow: column; align-items: center; gap: 8px; background: var(--nx-slate); color: var(--nx-cream); }
#nx .nx-insc.s-working .st, #nx .nx-insc.s-done .st, #nx .nx-insc.s-waiting .st, #nx .nx-insc.s-stuck .st { font-size: 11.5px; font-weight: 600; }
#nx .nx-insc.s-working .who .nx-f { box-shadow: 0 0 0 2px var(--nx-led); animation: nx-breathe 1.4s ease-in-out infinite; }
#nx .nx-si.working { box-shadow: 0 0 0 2px var(--nx-led), 0 0 26px rgba(101,205,210,.45) !important; }

/* processes: lanes with faces, the twelve plain shapes, connectors that route themselves */
#nx .nx-si-proc { padding: 0; background: transparent; box-shadow: none; }
#nx .nx-si-proc .ph { position: absolute; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
#nx .nx-si-proc .ph .nm { margin: 0; font-size: 17px; font-weight: 700; color: #1E2B3C; outline: none; overflow: hidden; text-overflow: ellipsis; max-width: 40%; min-width: 90px; flex: 0 0 auto; cursor: move; }
#nx .nx-si-proc .ph .tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; background: var(--nx-slate); color: var(--nx-cream); font-size: 11.5px; font-weight: 700; }
#nx .nx-si-proc .ph .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nx-led); }
#nx .nx-si-proc .ph .tag.dr { background: var(--nx-cream); color: #1E2B3C; box-shadow: 0 0 0 1px rgba(30,43,60,.25); } #nx .nx-si-proc .ph .tag.dr::before { background: #C9A27E; }
#nx .nx-si-proc .ph .hh { font-size: 12.5px; font-weight: 600; color: var(--nx-on-cream-2); padding: 3px 6px; border-radius: 4px; } #nx .nx-si-proc .ph .hh:hover { background: rgba(66,75,84,.08); }
#nx .nx-si-proc .ph .hh.bad { color: #B0493A; } #nx .nx-si-proc .ph .hh.lv { color: #137f7a; cursor: default; }
#nx .nx-si-proc .ph .hh { margin-right: 6px; }
#nx .nx-si-proc .ph button[data-a] { padding: 5px 10px; border-radius: 5px; font-size: 12px; font-weight: 600; background: #E9E2D6; color: #1E2B3C; transition: transform 160ms cubic-bezier(0,0,0,1), background-color 160ms; }
#nx .nx-si-proc .ph button[data-a]:hover { background: #DED5C6; } #nx .nx-si-proc .ph button[data-a]:active { transform: scale(.96); }
#nx .nx-si-proc .ph button.pri { background: var(--nx-slate) !important; color: var(--nx-cream) !important; }
#nx .nx-si-proc .ph button.tg { display: inline-flex; padding: 3px !important; gap: 2px; } #nx .nx-si-proc .ph button.tg span { padding: 2px 8px; border-radius: 4px; } #nx .nx-si-proc .ph button.tg span.on { background: var(--nx-slate); color: var(--nx-cream); }
#nx .nx-si-proc .lanes { position: absolute; left: 0; right: 0; top: 46px; background: var(--nx-cream); border-radius: 8px; box-shadow: 0 0 0 1px rgba(30,43,60,.12), 0 10px 26px rgba(30,43,60,.06); }
#nx .nx-si-proc .ln { position: absolute; left: 0; right: 0; border-top: 1px solid rgba(30,43,60,.09); } #nx .nx-si-proc .ln:first-child { border-top: 0; }
#nx .nx-si-proc .ln.hot { background: rgba(101,205,210,.14); }
#nx .nx-si-proc .lh { position: absolute; left: 0; top: 0; bottom: 0; width: 118px; display: flex; align-items: center; gap: 8px; padding: 0 9px; box-sizing: border-box; background: #F3EADB; font-size: 12px; font-weight: 600; line-height: 1.2; color: #1E2B3C; }
#nx .nx-si-proc .ln:first-child .lh { border-top-left-radius: 8px; } #nx .nx-si-proc .ln:last-child .lh { border-bottom-left-radius: 8px; }
#nx .nx-si-proc .ln.hot .lh { background: #D7F1F1; box-shadow: inset 3px 0 0 var(--nx-led); }
#nx .nx-si-proc .lh .nx-f, #nx .nx-si-proc .lh .nx-ostar { width: 28px; height: 28px; margin: 0; flex: none; font-size: 12px; }
#nx .nx-si-proc svg.cx { position: absolute; left: 0; overflow: visible; pointer-events: none; }
#nx .nx-si-proc svg.cx path { fill: none; stroke: #5E6A75; stroke-width: 2.2; stroke-linejoin: round; } #nx .nx-si-proc svg.cx marker path { fill: #5E6A75; stroke: none; }
#nx .nx-si-proc svg.cx path.lit { stroke: var(--nx-led); stroke-width: 3; }
#nx .nx-si-proc svg.cx text { font: 700 10.5px var(--nx-sans); fill: #66747F; }
#nx .nx-si-proc .sh { position: absolute; box-sizing: border-box; display: grid; place-items: center; text-align: center; font-size: 11.5px; line-height: 1.2; font-weight: 600; color: #1E2B3C; cursor: grab; transition: box-shadow 160ms, background-color 200ms, opacity 200ms; z-index: 1; }
#nx .nx-si-proc .sh span { outline: none; padding: 2px 5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
#nx .nx-si-proc .sh span[contenteditable=true] { user-select: text; cursor: text; display: block; background: #fff; }
#nx .nx-si-proc .k-step, #nx .nx-si-proc .k-appr, #nx .nx-si-proc .k-link { background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(30,43,60,.22), 0 2px 6px rgba(30,43,60,.06); }
#nx .nx-si-proc .k-appr::after { content: "\2713"; position: absolute; right: 5px; top: 3px; font-size: 11px; color: #137f7a; }
#nx .nx-si-proc .k-link { box-shadow: 0 0 0 1px rgba(30,43,60,.22), 0 0 0 4px var(--nx-cream), 0 0 0 5px rgba(30,43,60,.3); }
#nx .nx-si-proc .k-start, #nx .nx-si-proc .k-done, #nx .nx-si-proc .k-wait { border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #66747F; font-size: 13px; color: #424B54; }
#nx .nx-si-proc .k-done { box-shadow: 0 0 0 4px #424B54; }
#nx .nx-si-proc .k-q::before { content: ""; position: absolute; inset: 0; background: #66747F; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: background-color 200ms, inset 200ms; }
#nx .nx-si-proc .k-q::after { content: ""; position: absolute; inset: 2px; background: #fff; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: background-color 200ms; }
#nx .nx-si-proc .k-q span { position: relative; z-index: 1; font-size: 10px; white-space: normal; width: 66px; -webkit-line-clamp: 3; }
#nx .nx-si-proc .k-par, #nx .nx-si-proc .k-join { background: #424B54; border-radius: 3px; color: var(--nx-cream); }
#nx .nx-si-proc .k-doc { background: #fff; box-shadow: 0 0 0 1.5px #8A857D; border-radius: 2px 10px 2px 2px; font-size: 8px; color: var(--nx-on-cream-2); }
#nx .nx-si-proc .lb { position: absolute; width: 120px; text-align: center; font-size: 10.5px; color: #66747F; line-height: 1.2; pointer-events: none; }
#nx .nx-si-proc .sh.on { box-shadow: 0 0 0 2px var(--nx-led), 0 0 0 6px rgba(101,205,210,.22); } #nx .nx-si-proc .k-q.on { box-shadow: none; } #nx .nx-si-proc .k-q.on::before { background: var(--nx-led); inset: -3px; }
#nx .nx-si-proc .sh.new { box-shadow: 0 0 0 2px var(--nx-led), 0 0 0 6px rgba(101,205,210,.22); animation: nx-breathe 1.4s ease-in-out 2; }
#nx .nx-si-proc .sh.guess { outline: 2px dashed #C9A27E; outline-offset: 3px; }
#nx .nx-si-proc .sh.lit { background: var(--nx-led); color: #12343A; box-shadow: 0 0 0 6px rgba(101,205,210,.3), 0 0 24px rgba(101,205,210,.6); }
#nx .nx-si-proc .k-q.lit { background: transparent; box-shadow: none; } #nx .nx-si-proc .k-q.lit::before, #nx .nx-si-proc .k-q.lit::after { background: var(--nx-led); }
#nx .nx-si-proc .sh.off { opacity: .4; } #nx .nx-si-proc .sh.past { opacity: .75; }
#nx .nx-si-proc .sh.over { background: #F6D9C7; box-shadow: 0 0 0 1.5px #D9774F; }
#nx .nx-si-proc .sh .fl { position: absolute; top: -9px; left: -9px; width: 18px; height: 18px; border-radius: 50%; background: #D9774F; color: #fff; font: 700 11px/18px var(--nx-sans); font-style: normal; box-shadow: 0 0 0 2px var(--nx-cream); z-index: 2; }
#nx .nx-si-proc .sh .fl.should { background: #C9A27E; }
#nx .nx-si-proc .sh .badge { position: absolute; top: -11px; right: -11px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--nx-slate); color: var(--nx-cream); font: 700 11px/22px var(--nx-sans); font-style: normal; padding: 0 5px; box-sizing: border-box; box-shadow: 0 0 0 2px var(--nx-cream); z-index: 2; }
#nx .nx-si-proc .sh .wf { position: absolute; bottom: -12px; left: 6px; display: flex; } #nx .nx-si-proc .sh .wf .nx-f, #nx .nx-si-proc .sh .wf .nx-ostar { width: 18px; height: 18px; margin: 0 -5px 0 0; box-shadow: 0 0 0 2px var(--nx-cream); font-size: 8px; }
#nx .nx-si-proc .io { position: absolute; width: 140px; text-align: center; font-size: 10px; font-weight: 600; background: #D7F1F1; color: #12343A; border-radius: 4px; padding: 2px 6px; box-sizing: border-box; z-index: 2; }
#nx .nx-si-proc .plus { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--nx-led); color: #12343A !important; font: 700 16px/22px var(--nx-sans) !important; text-align: center; padding: 0; box-shadow: 0 0 0 3px var(--nx-cream); z-index: 3; transition: transform 140ms; } #nx .nx-si-proc .plus:hover { transform: scale(1.15); }
#nx .nx-si-proc .wicard { position: absolute; left: 130px; z-index: 3; background: var(--nx-slate); color: var(--nx-cream); padding: 8px 12px; border-radius: 8px; box-shadow: 0 10px 24px rgba(20,24,28,.22); display: grid; } #nx .nx-si-proc .wicard b { color: var(--nx-cream); margin: 0; font-size: 13px; } #nx .nx-si-proc .wicard span { font-size: 12px; opacity: .85; }

/* the frame over the board */
#nx .nx-st2p .nx-stb { position: absolute; left: 18px; top: 16px; z-index: 5; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 6px; background: var(--nx-slate); color: var(--nx-cream); font: 600 14px var(--nx-sans); box-shadow: 0 10px 24px rgba(20,24,28,.18); transition: transform 160ms cubic-bezier(0,0,0,1); }
#nx .nx-stb::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-led); } #nx .nx-stb:active { transform: scale(.98); } #nx .nx-stb .ch { font-size: 11px; opacity: .8; }
#nx .nx-stdd { position: absolute; left: 18px; top: 62px; z-index: 7; width: 330px; background: var(--nx-cream); border-radius: 10px; padding: 6px; box-shadow: 0 18px 40px rgba(20,24,28,.25); display: grid; gap: 2px; }
#nx .nx-stdd .r { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 10px; align-items: center; text-align: left; padding: 8px 10px; border-radius: 6px; }
#nx .nx-stdd .r:hover, #nx .nx-stdd .r.on { background: var(--nx-cream-2); } #nx .nx-stdd .r .nx-f, #nx .nx-stdd .r .nx-ostar { grid-row: span 2; width: 26px; height: 26px; margin: 0; font-size: 11px; }
#nx .nx-stdd .r b { font-weight: 600; color: #1E2B3C; grid-column: 2; } #nx .nx-stdd .r .mt { grid-column: 2; font-size: 12px; color: var(--nx-on-cream-2); }
#nx .nx-stdd .r.act { display: block; font-weight: 600; } #nx .nx-stdd hr { border: 0; border-top: 1px solid rgba(30,43,60,.1); margin: 4px 6px; width: auto; }
#nx .nx-stdd .nb { display: grid; gap: 8px; padding: 8px; } #nx .nx-stdd .nb b { color: #1E2B3C; } #nx .nx-stdd .nb label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--nx-on-cream-2); }
#nx .nx-stdd .nb input, #nx .nx-stdd .nb select { width: 100%; box-sizing: border-box; border: 0; border-radius: 6px; padding: 9px 11px; background: #fff; box-shadow: inset 0 0 0 1px rgba(30,43,60,.18); outline: none; }
#nx .nx-stdd .nb input:focus, #nx .nx-stdd .nb select:focus { box-shadow: 0 0 0 2px var(--nx-led); }
#nx .nx-stdd .nb .pri, #nx .nx-stimp .pri, #nx .nx-stexp .pri, #nx .nx-stpop.rulebox .pri { background: var(--nx-slate); color: var(--nx-cream); border-radius: 6px; padding: 9px 14px; font-weight: 600; }
#nx .nx-stbar { position: absolute; z-index: 5; display: flex; align-items: center; gap: 2px; padding: 5px 6px 5px 12px; border-radius: 8px; background: var(--nx-slate); color: var(--nx-cream); box-shadow: 0 10px 24px rgba(20,24,28,.22); white-space: nowrap; font: 600 13px var(--nx-sans); }
#nx .nx-stbar .n { display: flex; align-items: center; gap: 8px; margin-right: 6px; } #nx .nx-stbar .n::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-led); }
#nx .nx-stbar button { padding: 6px 9px; border-radius: 5px; transition: background-color 160ms cubic-bezier(0,0,0,1), transform 160ms; } #nx .nx-stbar button:hover { background: var(--nx-slate-2); } #nx .nx-stbar button:active { transform: scale(.96); }
#nx .nx-sttime { border: 0; border-radius: 4px; padding: 4px 6px; font: 600 13px var(--nx-sans); }
#nx .nx-sttool { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 5; display: flex; align-items: stretch; gap: 1px; padding: 5px; border-radius: 10px; background: var(--nx-slate); box-shadow: 0 10px 24px rgba(20,24,28,.22); max-width: calc(100% - 240px); overflow-x: auto; scrollbar-width: none; }
#nx .nx-sttool .sep { width: 1px; background: var(--nx-slate-2); margin: 4px 3px; flex: none; }
#nx .nx-sttool button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 6px; min-width: 44px; border-radius: 6px; color: var(--nx-on-slate-2); font: 500 10px var(--nx-sans); white-space: nowrap; flex: none; transition: background-color 160ms cubic-bezier(0,0,0,1), color 160ms, transform 160ms; }
#nx .nx-sttool button svg { width: 18px; height: 18px; } #nx .nx-sttool button:hover { color: var(--nx-cream); background: var(--nx-slate-2); } #nx .nx-sttool button.on { color: var(--nx-cream); background: var(--nx-slate-2); box-shadow: inset 0 -2px 0 var(--nx-led); } #nx .nx-sttool button:active { transform: scale(.95); }
#nx .nx-st2p.nx-narrow .nx-sttool button span { display: none; } #nx .nx-st2p.nx-narrow .nx-sttool button { min-width: 34px; padding: 7px; }
#nx .nx-stmini { position: absolute; right: 14px; bottom: 16px; z-index: 5; display: grid; gap: 4px; background: var(--nx-cream); border-radius: 10px; padding: 6px; box-shadow: 0 10px 24px rgba(20,24,28,.18); }
#nx .nx-stmini canvas { display: block; width: 180px; height: 112px; border-radius: 6px; background: #F6EFE2; cursor: pointer; }
#nx .nx-stmini .b { display: flex; gap: 4px; } #nx .nx-stmini .b button { flex: 1; padding: 5px; border-radius: 5px; font-size: 11.5px; font-weight: 600; background: #E9E2D6; } #nx .nx-stmini .b button:hover { background: #DED5C6; }
#nx .nx-st2p.nx-tiny .nx-stmini canvas { display: none; }
#nx .nx-sttoast { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 9; display: flex; align-items: center; gap: 12px; padding: 9px 10px 9px 16px; border-radius: 8px; background: var(--nx-slate); color: var(--nx-cream); font: 600 13px var(--nx-sans); box-shadow: 0 12px 28px rgba(20,24,28,.28); white-space: nowrap; }
#nx .nx-sttoast button { padding: 5px 10px; border-radius: 5px; background: var(--nx-slate-2); color: var(--nx-led) !important; }
#nx .nx-stfind { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: var(--nx-cream); box-shadow: 0 12px 28px rgba(20,24,28,.22); }
#nx .nx-stfind input { width: 240px; border: 0; outline: none; background: transparent; padding: 4px; } #nx .nx-stfind .n { font-size: 12px; color: var(--nx-on-cream-2); white-space: nowrap; }
#nx .nx-stban { position: absolute; left: 0; right: 0; top: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 14px; background: var(--nx-slate); color: var(--nx-cream); font: 600 13px var(--nx-sans); }
#nx .nx-stban .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-led); animation: nx-breathe 1.6s ease-in-out infinite; }
#nx .nx-stban button { padding: 4px 10px; border-radius: 5px; background: var(--nx-slate-2); font-size: 12px; } #nx .nx-stban .x { color: var(--nx-led) !important; }
/* menus */
#nx .nx-stmenu { scrollbar-width: thin; position: absolute; z-index: 20; min-width: 210px; max-width: 320px; max-height: 70vh; overflow-y: auto; background: var(--nx-cream); border-radius: 10px; padding: 5px; box-shadow: 0 18px 40px rgba(20,24,28,.28); display: grid; gap: 1px; }
#nx .nx-stmenu .nx-stmenu { position: absolute; }
#nx .nx-stmenu button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 7px 10px; border-radius: 6px; font: 500 13px var(--nx-sans); color: #1E2B3C !important; }
#nx .nx-stmenu button:hover, #nx .nx-stmenu button:focus-visible { background: var(--nx-cream-2); outline: none; }
#nx .nx-stmenu button.has::after { content: "\203A"; margin-left: auto; color: var(--nx-on-cream-2); } #nx .nx-stmenu button.on::before { content: "\2713"; color: #137f7a; font-weight: 700; margin-left: -2px; }
#nx .nx-stmenu kbd { margin-left: auto; font: 500 11px var(--nx-sans); color: var(--nx-on-cream-2); }
#nx .nx-stmenu .hd { padding: 6px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-on-cream-2); white-space: normal; }
#nx .nx-stmenu hr { border: 0; border-top: 1px solid rgba(30,43,60,.1); margin: 3px 6px; }
/* pop-ups: rules, comments, publish, questions */
#nx .nx-stpop { position: absolute; z-index: 8; background: var(--nx-cream); border-radius: 10px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(20,24,28,.25); display: grid; gap: 8px; min-width: 240px; max-width: 360px; }
#nx .nx-stpop b { color: #1E2B3C; } #nx .nx-stpop .s, #nx .nx-stpop .pv { font-size: 12.5px; color: var(--nx-on-cream-2); margin: 0; }
#nx .nx-stpop label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--nx-on-cream-2); }
#nx .nx-stpop select, #nx .nx-stpop input { border: 0; border-radius: 6px; padding: 8px 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(30,43,60,.18); outline: none; }
#nx .nx-stpop .acts { display: flex; flex-wrap: wrap; gap: 6px; }
#nx .nx-stpop.lbl { display: flex; } #nx .nx-stpop.lbl button, #nx .nx-stpop.cmts form button { background: var(--nx-slate); color: var(--nx-cream); border-radius: 6px; padding: 0 12px; font-weight: 600; }
#nx .nx-stpop.cmts .th { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; } #nx .nx-stpop.cmts .th p { margin: 0; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; } #nx .nx-stpop.cmts .th p.none { display: block; color: var(--nx-on-cream-2); }
#nx .nx-stpop.cmts .th .nx-f, #nx .nx-stpop.cmts .th .nx-ostar { width: 24px; height: 24px; margin: 0; } #nx .nx-stpop.cmts .th b { display: block; font-size: 11.5px; color: var(--nx-on-cream-2); } #nx .nx-stpop.cmts .th em { font-style: normal; font-size: 13px; }
#nx .nx-stpop.cmts form { display: flex; gap: 6px; } #nx .nx-stpop.cmts form input { flex: 1; min-width: 0; }
#nx .nx-stpop.pub .ch { display: grid; gap: 4px; } #nx .nx-stpop.pub .ch label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #1E2B3C; font-weight: 500; }
#nx .nx-stpop.ask .acts button { min-width: 60px; }
/* import */
#nx .nx-stimp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9; width: min(620px, calc(100% - 40px)); max-height: calc(100% - 60px); display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto; gap: 10px; background: var(--nx-cream); border-radius: 12px; padding: 14px 16px; box-shadow: 0 30px 60px rgba(20,24,28,.3); }
#nx .nx-stimp .hd, #nx .nx-stexp .hd, #nx .nx-stpanel .hd, #nx .nx-stmap .hd { display: flex; align-items: center; gap: 10px; } #nx .nx-stimp .hd b, #nx .nx-stexp .hd b, #nx .nx-stpanel .hd b, #nx .nx-stmap .hd b { font-size: 16px; color: #1E2B3C; }
#nx .nx-stimp .x, #nx .nx-stexp .x, #nx .nx-stpanel .x, #nx .nx-stmap .x { margin-left: auto; width: 32px; height: 32px; font-size: 22px; border-radius: 4px; } #nx .nx-stimp .x:hover, #nx .nx-stexp .x:hover, #nx .nx-stpanel .x:hover, #nx .nx-stmap .x:hover { background: var(--nx-cream-2); }
#nx .nx-stimp .tabs { display: flex; gap: 4px; flex-wrap: wrap; } #nx .nx-stimp .tabs button { padding: 6px 12px; border-radius: 99px; font-weight: 600; font-size: 12.5px; background: #E9E2D6; } #nx .nx-stimp .tabs button.on { background: var(--nx-slate); color: var(--nx-cream); }
#nx .nx-stimp .q { border: 0; border-radius: 6px; padding: 9px 11px; background: #fff; box-shadow: inset 0 0 0 1px rgba(30,43,60,.18); outline: none; }
#nx .nx-stimp .ls { overflow-y: auto; display: grid; gap: 4px; align-content: start; min-height: 120px; }
#nx .nx-stimp .rw { display: grid; grid-template-columns: 20px 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(30,43,60,.08); cursor: pointer; }
#nx .nx-stimp .rw:not(:has(.nx-f)):not(:has(.nx-ostar)) { grid-template-columns: 20px minmax(0, 1fr) auto; }
#nx .nx-stimp .rw .nx-f, #nx .nx-stimp .rw .nx-ostar { width: 28px; height: 28px; margin: 0; } #nx .nx-stimp .rw b { font-size: 13px; margin: 0; } #nx .nx-stimp .rw em { display: block; font-style: normal; font-size: 12px; color: var(--nx-on-cream-2); }
#nx .nx-stimp .rw.on { opacity: .6; cursor: default; } #nx .nx-stimp .rw i { font-style: normal; font-size: 11px; font-weight: 700; color: #137f7a; }
#nx .nx-stimp .ft { display: flex; align-items: center; justify-content: space-between; } #nx .nx-stimp .ft .n { font-size: 12.5px; color: var(--nx-on-cream-2); }
/* export */
#nx .nx-stexp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9; width: min(560px, calc(100% - 40px)); display: grid; gap: 10px; background: var(--nx-cream); border-radius: 12px; padding: 14px 16px; box-shadow: 0 30px 60px rgba(20,24,28,.3); }
#nx .nx-stexp .sc { font-size: 12.5px; color: var(--nx-on-cream-2); }
#nx .nx-stexp .pv { display: grid; place-items: center; min-height: 120px; padding: 8px; border-radius: 8px; background: repeating-conic-gradient(#ECE6DC 0% 25%, #F6F1E8 0% 50%) 50% / 16px 16px; }
#nx .nx-stexp .pv canvas { box-shadow: 0 4px 14px rgba(20,24,28,.16); border-radius: 4px; }
#nx .nx-stexp .fm, #nx .nx-stexp .op { display: flex; flex-wrap: wrap; gap: 6px; } #nx .nx-stexp .fm button { padding: 7px 16px; border-radius: 6px; font-weight: 700; background: #E9E2D6; } #nx .nx-stexp .fm button.on { background: var(--nx-slate); color: var(--nx-cream); }
#nx .nx-stexp .tg { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; background: #E9E2D6; font-size: 12.5px; font-weight: 600; } #nx .nx-stexp .tg i { font-style: normal; color: var(--nx-on-cream-2); } #nx .nx-stexp .tg.on i { color: #137f7a; }
#nx .nx-stexp .seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 6px; background: #E9E2D6; } #nx .nx-stexp .seg button { padding: 4px 10px; border-radius: 4px; font-size: 12.5px; font-weight: 600; } #nx .nx-stexp .seg button.on { background: var(--nx-slate); color: var(--nx-cream); }
#nx .nx-stexp .ck { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(30,43,60,.1); font-size: 12.5px; } #nx .nx-stexp .ck.mel { flex-basis: 100%; }
#nx .nx-stexp .nt { margin: 0; font-size: 12.5px; color: var(--nx-on-cream-2); } #nx .nx-stexp .ft { display: flex; justify-content: flex-end; }
/* side panels: step details and the steps list */
#nx .nx-stpanel { position: absolute; right: 12px; top: 64px; bottom: 84px; z-index: 7; width: 300px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 10px; background: var(--nx-cream); border-radius: 12px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(20,24,28,.25); }
#nx .nx-stpanel.wide { width: 360px; } #nx .nx-stpanel .bd { overflow-y: auto; display: grid; gap: 10px; align-content: start; }
#nx .nx-stpanel .rw { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--nx-on-cream-2); }
#nx .nx-stpanel input, #nx .nx-stpanel select, #nx .nx-stpanel textarea { border: 0; border-radius: 6px; padding: 8px 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(30,43,60,.18); outline: none; } #nx .nx-stpanel textarea { min-height: 70px; resize: vertical; }
#nx .nx-stpanel input:focus, #nx .nx-stpanel select:focus, #nx .nx-stpanel textarea:focus { box-shadow: 0 0 0 2px var(--nx-led); }
#nx .nx-stpanel .docs { margin: -4px 0 0; font-size: 12px; color: var(--nx-on-cream-2); } #nx .nx-stpanel .lnk { justify-self: start; padding: 6px 12px; border-radius: 6px; background: #E9E2D6; font-weight: 600; }
#nx .nx-stpanel .sl { margin: 0; padding: 0 0 0 22px; overflow-y: auto; display: grid; gap: 4px; align-content: start; }
#nx .nx-stpanel .sl li { padding: 6px 8px; border-radius: 6px; cursor: pointer; } #nx .nx-stpanel .sl li:hover, #nx .nx-stpanel .sl li.on { background: var(--nx-cream-2); } #nx .nx-stpanel .sl li b { display: block; font-size: 13px; color: #1E2B3C; } #nx .nx-stpanel .sl li span { font-size: 12px; color: var(--nx-on-cream-2); }
#nx .nx-stpanel .add { display: flex; gap: 6px; } #nx .nx-stpanel .add input { flex: 1; min-width: 0; } #nx .nx-stpanel .add button { background: var(--nx-slate); color: var(--nx-cream); border-radius: 6px; padding: 0 12px; font-weight: 600; }
#nx .nx-stpanel .tip { margin: -4px 0 0; font-size: 11.5px; color: var(--nx-on-cream-2); }
/* the map of all 40 */
#nx .nx-stmap { position: absolute; inset: 12px; z-index: 8; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; background: var(--nx-cream); border-radius: 12px; padding: 14px 16px; box-shadow: 0 30px 60px rgba(20,24,28,.3); }
#nx .nx-stmap .hd input { width: 280px; border: 0; border-radius: 6px; padding: 8px 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(30,43,60,.18); outline: none; } #nx .nx-stmap .hd .n { font-size: 12.5px; color: #137f7a; font-weight: 600; }
#nx .nx-stmap .hd .pb { margin-left: auto; padding: 7px 12px; border-radius: 6px; background: #E9E2D6; font-weight: 600; } #nx .nx-stmap .hd .x { margin-left: 0; }
#nx .nx-stmap .cv { position: relative; overflow: auto; }
#nx .nx-stmap svg.ln2 { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; } #nx .nx-stmap svg.ln2 path { fill: none; stroke: rgba(66,75,84,.28); stroke-width: 1.4; }
#nx .nx-stmap .fams { position: relative; display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 18px; }
#nx .nx-stmap .fam { border: 1.5px solid rgba(66,75,84,.18); border-radius: 10px; padding: 10px; background: rgba(255,255,255,.4); align-self: start; }
#nx .nx-stmap .fam h3 { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-cream-2); }
#nx .nx-stmap .bx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
#nx .nx-stmap .pbx { text-align: left; padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(30,43,60,.1); transition: box-shadow 160ms, opacity 200ms, transform 160ms; } #nx .nx-stmap .pbx:hover { box-shadow: 0 0 0 2px var(--nx-slate); } #nx .nx-stmap .pbx:active { transform: scale(.98); }
#nx .nx-stmap .pbx b { display: block; font-size: 12.5px; color: #1E2B3C; } #nx .nx-stmap .pbx span { font-size: 11.5px; color: var(--nx-on-cream-2); }
#nx .nx-stmap .pbx.hit { box-shadow: 0 0 0 2px var(--nx-led), 0 0 0 6px rgba(101,205,210,.22); } #nx .nx-stmap .pbx.dim { opacity: .35; }

#nx .nx-stsrch { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); z-index: 6; width: min(520px, calc(100% - 380px)); min-width: 320px; }
#nx .nx-stsrch form { display: flex; gap: 6px; background: var(--nx-cream); border-radius: 10px; padding: 6px; box-shadow: 0 18px 40px rgba(20,24,28,.22); }
#nx .nx-stsrch input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 6px 8px; }
#nx .nx-stsrch form button { background: var(--nx-slate); color: var(--nx-cream); border-radius: 6px; padding: 6px 12px; font-weight: 600; } #nx .nx-stsrch form button.x { background: transparent; color: var(--nx-on-cream); font-size: 20px; padding: 0 8px; }
#nx .nx-stsrch .res { display: grid; gap: 6px; margin-top: 8px; max-height: 60vh; overflow-y: auto; }
#nx .nx-stsrch .res .card { background: var(--nx-cream); border-radius: 10px; padding: 10px 12px; box-shadow: 0 6px 18px rgba(20,24,28,.14); }
#nx .nx-stsrch .res .card b { display: block; color: #1E2B3C; font-size: 14px; } #nx .nx-stsrch .res .card .st { font-size: 11.5px; color: #137f7a; font-weight: 600; } #nx .nx-stsrch .res .card p { margin: 4px 0 8px; color: var(--nx-on-cream-2); }
#nx .nx-stsrch .res .card button { font: 600 12px var(--nx-sans); padding: 5px 10px; border-radius: 4px; background: var(--nx-slate); color: var(--nx-cream); } #nx .nx-stsrch .res .card.done button { background: var(--nx-cream-2); color: var(--nx-on-cream); }
#nx .nx-stsrch .wait { background: var(--nx-cream); border-radius: 10px; padding: 10px 12px; margin: 0; color: var(--nx-on-cream-2); }
#nx .nx-stdoc { position: absolute; inset: 0; z-index: 10; background: rgba(66,75,84,.35); display: grid; place-items: center; }
#nx .nx-stdoc .pg { width: min(760px, calc(100% - 60px)); height: calc(100% - 60px); box-sizing: border-box; overflow-y: auto; background: var(--nx-cream); border-radius: 12px; padding: 22px 34px; box-shadow: 0 30px 60px rgba(20,24,28,.3); }
#nx .nx-stdoc .hd { display: flex; justify-content: space-between; align-items: center; } #nx .nx-stdoc .dnb { padding: 7px 14px; border-radius: 6px; background: var(--nx-slate); color: var(--nx-cream) !important; font-weight: 600; }
#nx .nx-stdoc h2 { font-size: 28px; margin: 10px 0 14px; outline: none; color: #1E2B3C; } #nx .nx-stdoc .body { outline: none; font-size: 16px; line-height: 1.6; color: #3C3A35; min-height: 200px; } #nx .nx-stdoc .body p { margin: 0 0 10px; }
#nx .nx-stdoc .srcs { font-size: 13px; color: var(--nx-on-cream-2); border-top: 1px solid rgba(30,43,60,.1); padding-top: 10px; }
#nx .nx-sthint { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; display: grid; gap: 6px; max-width: 440px; color: var(--nx-on-cream-2); pointer-events: none; }
#nx .nx-sthint b { font-size: 18px; color: var(--nx-on-cream); }
#nx .nx-stdot { position: absolute; z-index: 4; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--nx-led); box-shadow: 0 0 0 4px rgba(101,205,210,.3); pointer-events: none; animation: nx-breathe 1.6s ease-in-out infinite; }
#nx .nx-mq { position: absolute; border: 1.5px solid var(--nx-led); background: rgba(101,205,210,.08); border-radius: 4px; pointer-events: none; }
/* Mel's chip: what she's looking at */
#nx .nx-stchip { margin: 0 20px 6px; padding: 7px 10px; border-radius: 6px; background: var(--nx-slate-2); border: 1px solid var(--nx-line); color: var(--nx-cream); font: 600 12.5px var(--nx-sans); display: flex; align-items: center; gap: 8px; }
#nx .nx-stchip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-led); flex: none; }
html.nx-melfold #nx .nx-stchip { display: none; }
@media (prefers-reduced-motion: reduce) { #nx .nx-stdot, #nx .nx-si-proc .sh.new, #nx .nx-si-frame .fh .dot, #nx .nx-stban .dot, #nx .nx-si-tool .live::before { animation: none; } #nx .nx-si, #nx .nx-si-proc .sh { transition: none; } }
#nx .nx-f.nx-ext { background: #E9E2D6; color: #424B54; display: inline-grid; place-items: center; font: 700 11px var(--nx-sans); box-shadow: inset 0 0 0 1px rgba(30,43,60,.18); }
#nx .nx-st2p [hidden], #nx .nx-stchip[hidden] { display: none !important; }

/* 4.1.4: the quick bar above the selected shape: add what comes next, who does it, rename, delete */
#nx .nx-si-proc .qbar { position: absolute; transform: translate(-50%, -100%); z-index: 6; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 9px; background: var(--nx-slate); box-shadow: 0 10px 24px rgba(20,24,28,.25); white-space: nowrap; animation: nx-qbar 180ms cubic-bezier(.2,.9,.25,1) both; }
@keyframes nx-qbar { from { opacity: 0; transform: translate(-50%, calc(-100% + 6px)); } to { opacity: 1; transform: translate(-50%, -100%); } }
#nx .nx-si-proc .qbar .ql { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-on-slate-2); padding: 0 6px 0 4px; }
#nx .nx-si-proc .qbar button { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 6px; border-radius: 6px; font: 600 9.5px var(--nx-sans) !important; color: var(--nx-cream) !important; transition: background-color 140ms, transform 140ms; }
#nx .nx-si-proc .qbar button:hover { background: var(--nx-slate-2); } #nx .nx-si-proc .qbar button:active { transform: scale(.95); }
#nx .nx-si-proc .qbar button svg { width: 15px; height: 15px; fill: none; stroke: var(--nx-led); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
#nx .nx-si-proc .qbar button[data-q="who"], #nx .nx-si-proc .qbar button[data-q="ren"], #nx .nx-si-proc .qbar button[data-q="del"] { flex-direction: row; font-size: 11px !important; padding: 6px 7px; }
#nx .nx-si-proc .qbar .sep { width: 1px; align-self: stretch; margin: 3px 4px; background: var(--nx-slate-2); }
#nx .nx-si-proc .qbar button.del { color: #F2B8A8 !important; }
#nx .nx-si-proc .lb { max-height: 2.5em; overflow: hidden; }
#nx .nx-si-proc .k-q.new, #nx .nx-si-proc .k-q.on, #nx .nx-si-proc .k-q.over { box-shadow: none; background: transparent; }
#nx .nx-si-proc svg.cx text { font: 700 10.5px var(--nx-sans); fill: #66747F; }
#nx .nx-si-proc .k-q, #nx .nx-si-proc .k-q:focus, #nx .nx-si-proc .k-q:focus-visible { outline: none; box-shadow: none !important; background: transparent !important; animation: none; }

/* 4.1.5: resize handle, and diamonds whose dots and handle are not clipped away */
#nx .nx-rz { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px var(--nx-led), 0 2px 6px rgba(20,24,28,.2); cursor: nwse-resize; z-index: 4; }
#nx .nx-rz:hover { background: var(--nx-led); }
#nx .nx-si.nx-si-shape.sh-diamond { clip-path: none; background: transparent !important; box-shadow: none !important; }
#nx .nx-si.nx-si-shape.sh-diamond::before { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: #66747F; z-index: 0; }
#nx .nx-si.nx-si-shape.sh-diamond::after { content: ""; position: absolute; inset: 2px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: #fff; z-index: 0; }
#nx .nx-si.nx-si-shape.sh-diamond.sel::before { background: var(--nx-led); inset: -3px; }
#nx .nx-si.nx-si-shape.sh-diamond .tx { position: relative; z-index: 1; }
#nx .nx-si.nx-si-shape.sh-diamond > .nx-cdot { display: block; }

/* 4.2.0: flowchart shapes on the board: database, document, data, start or end */
#nx .nx-si.nx-si-shape.sh-cylinder { border-radius: 50% / 18%; display: grid; place-items: center; text-align: center; padding: 18px 12px 10px; background: #fff; box-shadow: inset 0 0 0 1.5px #66747F; }
#nx .nx-si.nx-si-shape.sh-cylinder::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36%; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #66747F; pointer-events: none; }
#nx .nx-si.nx-si-shape.sh-para { background: transparent !important; box-shadow: none !important; display: grid; place-items: center; text-align: center; padding: 10px 24px; }
#nx .nx-si.nx-si-shape.sh-para::before { content: ""; position: absolute; inset: 0; background: #fff; box-shadow: inset 0 0 0 1.5px #66747F; transform: skewX(-16deg); border-radius: 3px; z-index: 0; }
#nx .nx-si.nx-si-shape.sh-para .tx { position: relative; z-index: 1; }
#nx .nx-si.nx-si-shape.sh-docshape { background: #fff; box-shadow: inset 0 0 0 1.5px #66747F; border-radius: 3px 3px 0 0; display: grid; place-items: center; text-align: center; padding: 8px 12px 18px; }
#nx .nx-si.nx-si-shape.sh-docshape::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -8px; height: 16px; background: radial-gradient(ellipse at 25% 0, transparent 55%, var(--nx-paper, #F6EFE2) 57%); pointer-events: none; }
#nx .nx-si.nx-si-shape.sh-pill { background: #fff; box-shadow: inset 0 0 0 1.5px #66747F; }
#nx .nx-si.nx-si-shape.sel.sh-cylinder, #nx .nx-si.nx-si-shape.sel.sh-docshape, #nx .nx-si.nx-si-shape.sel.sh-pill { box-shadow: inset 0 0 0 2px var(--nx-led), 0 0 0 4px rgba(101,205,210,.25); }
#nx .nx-si.nx-si-shape.sel.sh-para::before { box-shadow: inset 0 0 0 2px var(--nx-led), 0 0 0 4px rgba(101,205,210,.25); }

/* 4.2.0: swimlanes for your own shapes: a section with lanes; click a lane name to change, move or remove it */
#nx .nx-si-section.nx-swc { background: rgba(255,250,240,.55); }
#nx .nx-swr { position: absolute; left: 0; right: 0; border-top: 1px solid rgba(30,43,60,.14); pointer-events: none; }
#nx .nx-swl { position: absolute; left: 0; top: 0; bottom: 0; width: 120px; display: flex; align-items: center; gap: 8px; padding: 0 10px; box-sizing: border-box; background: rgba(243,234,219,.92); border-right: 1px solid rgba(30,43,60,.12); font: 600 12px/1.2 var(--nx-sans); color: #1E2B3C; text-align: left; pointer-events: auto; cursor: pointer; }
#nx .nx-swl:hover { background: #EDE2CF; } #nx .nx-swl .nx-f, #nx .nx-swl .nx-ostar { width: 26px; height: 26px; margin: 0; flex: none; font-size: 11px; }
#nx .nx-swl .wn { overflow: hidden; text-overflow: ellipsis; }
#nx .nx-swadd, #nx .nx-si-proc .lnadd { position: absolute; left: 0; bottom: -30px; font: 600 12px var(--nx-sans); padding: 5px 10px; border-radius: 5px; background: #E9E2D6; color: #1E2B3C; pointer-events: auto; transition: background-color 140ms, transform 140ms; }
#nx .nx-swadd:hover, #nx .nx-si-proc .lnadd:hover { background: #DED5C6; } #nx .nx-swadd:active, #nx .nx-si-proc .lnadd:active { transform: scale(.96); }
#nx .nx-si-proc .lnadd { bottom: auto; }
#nx .nx-si-proc .lh { cursor: pointer; } #nx .nx-si-proc .lh:hover { background: #EDE2CF; }

/* 4.2.0: the new process shapes, and the tool shown on a step */
#nx .nx-si-proc .k-db { background: #fff; border-radius: 50% / 16%; box-shadow: inset 0 0 0 1.5px #66747F; padding-top: 10px; }
#nx .nx-si-proc .k-db::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #66747F; pointer-events: none; }
#nx .nx-si-proc .k-io { background: transparent; box-shadow: none; } #nx .nx-si-proc .k-io::before { content: ""; position: absolute; inset: 0; background: #fff; box-shadow: inset 0 0 0 1.5px #66747F; transform: skewX(-16deg); border-radius: 3px; }
#nx .nx-si-proc .k-io span { position: relative; z-index: 1; }
#nx .nx-si-proc .k-docn { background: #fff; box-shadow: inset 0 0 0 1.5px #66747F; border-radius: 3px 3px 0 0; padding-bottom: 8px; }
#nx .nx-si-proc .k-docn::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -6px; height: 12px; background: radial-gradient(ellipse at 25% 0, transparent 55%, var(--nx-cream) 57%) , transparent; pointer-events: none; }
#nx .nx-si-proc .sh .tl { display: block; position: absolute; left: 4px; right: 4px; bottom: 3px; font: 600 8.5px/1 var(--nx-sans); font-style: normal; color: #137f7a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#nx .nx-si-proc .sh:has(.tl) span { margin-bottom: 8px; }
#nx .nx-si-proc .lkpv { position: absolute; height: 0; border-top: 2px dashed var(--nx-led); transform-origin: 0 0; pointer-events: none; z-index: 5; }

/* 4.2.0: on a narrower board the toolbar shows icons only and the map moves to the top right, so they never overlap */
#nx .nx-st2p.nx-narrow .nx-sttool { max-width: calc(100% - 32px); }
#nx .nx-st2p.nx-narrow .nx-sttool button { min-width: 30px; padding: 6px; }
#nx .nx-st2p.nx-mapup .nx-stmini { top: 14px; bottom: auto; }
#nx .nx-st2p.nx-mapup .nx-sttool { max-width: calc(100% - 32px); }

/* 4.6.0: one bar. The board picker is the bar's first button; its list opens upwards from it */
#nx .nx-st2p .nx-sttool .nx-stb { position: static; flex: none; display: inline-flex; flex-direction: row; align-items: center; gap: 7px; height: auto; min-width: 0; padding: 5px 10px 5px 9px; border-radius: 6px; background: transparent; box-shadow: none; color: var(--nx-cream); font: 600 13px var(--nx-sans); max-width: 210px; }
#nx .nx-st2p .nx-sttool .nx-stb::before { display: none; }
#nx .nx-st2p .nx-sttool .nx-stb .bi { width: 18px; height: 18px; flex: none; color: var(--nx-led); }
#nx .nx-st2p .nx-sttool .nx-stb .nm { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-size: 13px; }
#nx .nx-st2p .nx-sttool .nx-stb .ch { font-size: 10px; opacity: .7; }
#nx .nx-st2p .nx-sttool .nx-stb:hover { background: var(--nx-slate-2); }
#nx .nx-st2p.nx-narrow .nx-sttool .nx-stb { max-width: 120px; } #nx .nx-st2p.nx-tiny .nx-sttool .nx-stb .nm { display: none; }
#nx .nx-st2p .nx-stdd { top: auto; max-height: calc(100% - 110px); overflow-y: auto; }

/* 4.6.0: the pen, its tray, and drawings on the board */
#nx .nx-stv[data-mode="pen"], #nx .nx-stv[data-mode="pen"] * { cursor: crosshair; }
#nx .nx-stv[data-mode="erase"], #nx .nx-stv[data-mode="erase"] * { cursor: cell; }
#nx .nx-stpen { position: absolute; z-index: 6; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 10px; background: var(--nx-slate); box-shadow: 0 10px 24px rgba(20,24,28,.22); }
#nx .nx-stpen .sep { width: 1px; align-self: stretch; background: var(--nx-slate-2); margin: 4px 4px; }
#nx .nx-stpen .pk { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 6px; min-width: 52px; border-radius: 6px; color: var(--nx-on-slate-2); font: 500 10px var(--nx-sans); transition: background-color 160ms cubic-bezier(0,0,0,1), color 160ms, transform 160ms; }
#nx .nx-stpen .pk svg { width: 18px; height: 18px; } #nx .nx-stpen .pk:hover { color: var(--nx-cream); background: var(--nx-slate-2); } #nx .nx-stpen .pk.on { color: var(--nx-cream); background: var(--nx-slate-2); box-shadow: inset 0 -2px 0 var(--nx-led); } #nx .nx-stpen button:active { transform: scale(.94); }
#nx .nx-stpen .sw { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; transition: transform 160ms cubic-bezier(0,0,0,1); }
#nx .nx-stpen .sw::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255,247,233,.35); }
#nx .nx-stpen .sw.on::before { box-shadow: 0 0 0 2px var(--nx-slate), 0 0 0 4px var(--nx-led); } #nx .nx-stpen .sw:hover { transform: scale(1.1); }
#nx .nx-stpen .th { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; } #nx .nx-stpen .th:hover, #nx .nx-stpen .th.on { background: var(--nx-slate-2); } #nx .nx-stpen .th.on { box-shadow: inset 0 -2px 0 var(--nx-led); }
#nx .nx-stpen .th i { width: 16px; height: 2px; border-radius: 2px; background: var(--nx-cream); } #nx .nx-stpen .th.k i { height: 5px; }
#nx .nx-si.nx-si-ink { padding: 0; border-radius: 0; pointer-events: none; background: none; box-shadow: none; }
#nx .nx-si-ink svg, #nx .nx-inkpv { display: block; width: 100%; height: 100%; overflow: visible; }
#nx .nx-inkpv { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; z-index: 4; }
#nx .nx-si-ink path, #nx .nx-inkpv path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
#nx .nx-si-ink path.hit { stroke: transparent; stroke-width: 16px; pointer-events: stroke; }
#nx .nx-si-ink.hl path.ln, #nx .nx-inkpv.hl path { opacity: .38; }
#nx .nx-si-ink.sel { box-shadow: none !important; outline: 1.5px dashed var(--nx-led); outline-offset: 3px; }
#nx .nx-si-ink .nx-rz { pointer-events: auto; }
#nx .nx-stv[data-mode="erase"] .nx-si-ink path.hit:hover + path.ln { opacity: .35; }

/* 5.4.0: a step's owner and tool, under its name */
#nx .nx-si-shape .own { position: absolute; left: 8px; right: 8px; bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11px; line-height: 16px; color: #66747F; white-space: nowrap; overflow: hidden; z-index: 1; pointer-events: none; }
#nx .nx-si-shape .own .nx-f, #nx .nx-si-shape .own .nx-ostar { width: 16px; height: 16px; flex: none; font-size: 9px; }
#nx .nx-si-shape .own em { font-style: normal; font-weight: 600; color: #424B54; } #nx .nx-si-shape .own i { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
#nx .nx-si-shape:has(.own) .tx { margin-bottom: 14px; }
