/* 3.5: the top bar (locked screens PiSYKx5Q3yqZ6b1iBaGTXE): where you are, just done, needs you, this week, the clock, and the month as a teal line */
#nx .nx-top { justify-content: flex-start; gap: 18px; padding: 0 20px; }
#nx .nx-top > * { flex: none; }
#nx .nx-crumb { flex: 0 1 auto; min-width: 90px; }
#nx .nx-cdots { color: var(--nx-on-slate-2); cursor: default; }

/* just done: one line that changes in place */
#nx .nx-jd { flex: 1 1 0; min-width: 0; height: 44px; display: flex; align-items: center; text-align: left; border-radius: 4px; padding: 0 6px; margin: 0 -6px; color: var(--nx-cream); font: 400 13px var(--nx-sans); transition: background-color 160ms cubic-bezier(0,0,0,1); }
#nx .nx-jd:hover, #nx .nx-jd:focus-visible { background: var(--nx-slate-2); }
#nx .nx-jd .w { position: relative; display: block; width: 100%; height: 20px; overflow: hidden; }
#nx .nx-jd .ln { position: absolute; left: 0; right: 0; top: 0; height: 20px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
#nx .nx-jd .ln .nx-f { width: 18px; height: 18px; flex: none; margin: 0; }
#nx .nx-jd .ln em { font-style: normal; color: #A9B1B8; font-variant-numeric: tabular-nums; flex: none; }
#nx .nx-jd .ln .tx { overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* needs you: a count with one still light, gone at zero */
#nx .nx-ny { height: 44px; display: inline-flex; align-items: center; gap: 0; padding: 0 8px; margin: 0 -8px; border-radius: 4px; color: var(--nx-cream); font: 600 13px var(--nx-sans); white-space: nowrap; transition: background-color 160ms cubic-bezier(0,0,0,1); }
#nx .nx-ny:hover, #nx .nx-ny:focus-visible { background: var(--nx-slate-2); }
#nx .nx-ny i { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-led); box-shadow: 0 0 0 3px rgba(101,205,210,.25); margin-right: 8px; }
#nx .nx-ny .n { position: relative; display: inline-block; height: 18px; line-height: 18px; overflow: hidden; font-variant-numeric: tabular-nums; vertical-align: middle; min-width: .6em; }
#nx .nx-ny .n > span { display: block; }

/* this week: as before, and "This week · " steps aside when short of room */
#nx .nx-goal { flex: 0 1 auto; min-width: 0; }
#nx .nx-top.nx-tbm .nx-goal .lng { display: none; }

/* the clock */
#nx .nx-ck { height: 44px; display: flex; align-items: center; font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-cream); white-space: nowrap; font-variant-numeric: tabular-nums; border-radius: 4px; padding: 0 6px; margin: 0 -6px; outline: none; transition: background-color 160ms cubic-bezier(0,0,0,1); }
#nx .nx-ck:hover, #nx .nx-ck:focus-visible { background: var(--nx-slate-2); }
#nx .nx-ck .lng { color: var(--nx-on-slate-2); }
#nx .nx-top.nx-tbs .nx-ck .lng, #nx .nx-top.nx-tbs .nx-jd .ln em { display: none; }

/* the month: a teal line along the bottom of the bar; hovering lifts it */
#nx .nx-gl { position: absolute; left: 0; right: 0; bottom: -1px; height: 9px; padding: 0; display: block; background: none; cursor: pointer; }
#nx .nx-gl i { position: absolute; left: 0; bottom: 0; height: 2px; width: 91%; background: var(--nx-led); border-radius: 0 2px 2px 0; transition: height 180ms cubic-bezier(0,0,0,1), box-shadow 180ms cubic-bezier(0,0,0,1); }
#nx .nx-gl.up i, #nx .nx-gl:focus-visible i { height: 4px; box-shadow: 0 0 10px rgba(101,205,210,.5); }

/* the hover panel */
#nx .nx-tbpop { position: absolute; z-index: 40; top: 58px; left: 0; visibility: hidden; opacity: 0; pointer-events: none; background: var(--nx-cream); color: var(--nx-on-cream); border-radius: 12px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(20,24,28,.30); display: grid; gap: 6px; min-width: 220px; max-width: 380px; font: 400 13.5px/1.35 var(--nx-sans); }
#nx .nx-tbpop b { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-on-cream-2); }
#nx .nx-tbpop .r { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; } #nx .nx-tbpop .r .nx-f { width: 20px; height: 20px; flex: none; margin: 0; }
#nx .nx-tbpop .f { font-size: 12px; color: var(--nx-on-cream-2); margin-top: 2px; }

/* pressing "just done" lights Done today on the board for a moment */
#nx .nx-cols4 > div { border-radius: 10px; transition: box-shadow 400ms cubic-bezier(0,0,0,1); }
#nx .nx-cols4 > div.nx-lit { box-shadow: 0 0 0 3px var(--nx-led), 0 0 26px rgba(101,205,210,.45); }

@media (prefers-reduced-motion: reduce) { #nx .nx-gl i, #nx .nx-jd, #nx .nx-ny, #nx .nx-ck { transition: none; } }
#nx .nx-ny > span:last-child { margin-left: .3em; }
