/* The sidebar's own work (owner 2026-12-04): Pinned and Recents under the pages, and the tabs that join the pages
   sharing one sidebar row (views.js yourWorkHTML, withSubTabs). Quiet like Claude's: plain titles, hairline gaps,
   actions only on hover. */

.nv-sec{margin-top:12px}
.nv-h{display:flex;align-items:center;gap:4px;width:100%;padding:4px 8px;border-radius:var(--r-xs);font:500 12px var(--ui);color:var(--stone);text-align:start}
.nv-h:hover{color:var(--graphite)}
.nv-h .nv-chev{width:13px;height:13px;opacity:0;transition:opacity var(--t-quick),transform var(--t-quick)}
.nv-h:hover .nv-chev,.nv-h:focus-visible .nv-chev,.nv-sec.folded .nv-chev{opacity:1}
.nv-sec.folded .nv-chev{transform:rotate(-90deg)}
.nv-list{display:flex;flex-direction:column;gap:1px;margin-top:2px}

.nv-row{position:relative;display:flex;align-items:center;border-radius:var(--r-sm);transition:background var(--t-quick)}
.nv-row:hover,.nv-row.peeked{background:rgba(250,251,248,.6)}
.nv-row.on{background:var(--paper);box-shadow:var(--s1)}
.nv-row.dragging{opacity:.45}
.nv-row[draggable="true"]{cursor:grab}
.nv-link{flex:1;min-width:0;display:flex;align-items:center;gap:10px;min-height:32px;padding:5px 8px;font-size:14px;color:inherit;text-decoration:none;border-radius:inherit}
.nv-link svg.i{width:18px;height:18px;flex:none;color:var(--stone)}
.nv-link .nm{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nv-in{flex:0 1 auto;max-width:42%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:var(--stone);opacity:.8}
.nv-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--stone)}
.nv-dot.live{background:var(--mint);animation:nv-pulse 1.6s ease-in-out infinite}
.nv-dot.need{background:var(--pink)}
.nv-dot.unread{background:var(--graphite)}
@keyframes nv-pulse{50%{opacity:.35}}

/* Pin and ⋯ appear on hover or keyboard focus, laid over the end of the row so the title never jumps. */
.nv-acts{position:absolute;inset-block:0;inset-inline-end:4px;display:none;align-items:center;gap:0}
.nv-act{flex:none;width:26px;height:26px;border-radius:var(--r-xs);display:grid;place-items:center;color:var(--stone)}
.nv-act svg.i{width:15px;height:15px}
.nv-act:hover{background:var(--chalk);color:var(--graphite)}
.nv-row:hover .nv-acts,.nv-row:focus-within .nv-acts,.nv-row.peeked .nv-acts{display:flex}
.nv-row:hover .nv-link,.nv-row:focus-within .nv-link,.nv-row.peeked .nv-link{padding-inline-end:62px}
.nv-row:hover .nv-in,.nv-row:focus-within .nv-in,.nv-row.peeked .nv-in,.nv-row:hover .nv-dot,.nv-row:focus-within .nv-dot,.nv-row.peeked .nv-dot{display:none}
@media (hover:none){.nv-acts{display:none!important}.nv-row .nv-link{padding-inline-end:8px!important}.nv-row .nv-in,.nv-row .nv-dot{display:revert!important}}

/* The chat header shows its label beside the agent name. */
.w-rhead .who small .sw-label{margin-inline-end:6px}

/* The icon rail has no room for the "Get it" pill: the app card waits for the full sidebar. */
html[data-sidebar="mini"] .w-slot.s-none{display:none}

.nv-all{display:flex;align-items:center;gap:8px;min-height:30px;margin-top:2px;padding:4px 8px;border-radius:var(--r-sm);font-size:13px;font-weight:500;color:var(--stone);text-decoration:none}
.nv-all:hover{background:rgba(250,251,248,.6);color:var(--graphite)}
.nv-all .nm{flex:1}
.nv-all .nv-n{font-size:12px;font-variant-numeric:tabular-nums;opacity:.8}
.nv-all .nv-go{width:14px;height:14px}
[dir="rtl"] .nv-all .nv-go{transform:scaleX(-1)}

/* The folded sidebar is icons only: the person's own lists need words, so they wait for the full sidebar. */
html[data-sidebar="mini"] .nv-sec{display:none}

html[data-theme="dark"] .nv-row:hover,html[data-theme="dark"] .nv-row.peeked,html[data-theme="dark"] .nv-all:hover{background:rgba(255,255,255,.05)}
html[data-theme="dark"] .nv-row.on{background:#34393E;box-shadow:none}
html[data-theme="dark"] .nv-act:hover{background:rgba(255,255,255,.08)}
html[data-theme="dark"] .nv-dot.unread{background:var(--paper)}

/* The tabs on top of pages that share a sidebar row. */
.nv-tabs{display:inline-flex;gap:2px;padding:3px;margin:0 0 14px;border-radius:var(--r-pill);background:var(--chalk)}
.nv-tab{height:30px;padding:0 14px;display:inline-flex;align-items:center;border-radius:var(--r-pill);font-size:13.5px;font-weight:600;color:var(--stone);text-decoration:none;transition:background var(--t-quick),color var(--t-quick)}
.nv-tab:hover{color:var(--graphite)}
.nv-tab.on{background:var(--paper);color:var(--graphite);box-shadow:var(--s1)}
html[data-theme="dark"] .nv-tab.on{background:#34393E;color:var(--paper);box-shadow:none}
