/* Sphere: Relationship categories nested under People in the left rail (sr- prefix) */
.side{position:sticky;top:0;align-self:start;max-height:100vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;box-sizing:border-box}
.nav .sr-tree{margin:-4px 0 8px 22px;padding:2px 0 2px 10px;border-left:1px solid #E2E8F0;font-size:11.5px;line-height:1.25;color:#4A5568}
.nav .sr-cat{margin:0 0 4px}
.nav .sr-tree a{display:inline;height:auto;padding:0;margin:0;border-radius:0;font-size:inherit;font-weight:inherit;color:inherit;background:none;text-underline-offset:2px;cursor:pointer}
.nav .sr-tree a.sr-h{display:block;font-size:10px;font-weight:700;letter-spacing:.05em;color:#64748B;padding:3px 0 1px}
.nav .sr-tree a:hover,.nav .sr-tree a:focus-visible{text-decoration:underline;color:#1E293B}
.nav .sr-tree a.on{color:#3B82F6;text-decoration:underline}
.nav .sr-o{display:flex;align-items:flex-start;gap:5px;padding:1px 0 1px 10px}
.nav .sr-o.sub{padding-left:24px}
.nav .sr-o input{appearance:auto;width:11px;height:11px;margin:1px 0 0;flex:none;accent-color:#3B82F6;cursor:pointer}
@media(max-width:1000px){.nav .sr-tree{display:none}.side{position:static;max-height:none;overflow:visible}}
/* the inserted tree shifts nav child indexes; keep the original mobile bottom-bar items (Feed..Forums) */
@media(max-width:760px){.nav>a:nth-child(7){display:flex}.side{position:fixed}}
.nav .sr-o.sr-nocb{padding-left:26px}
.nav .sr-o{align-items:center;min-height:16px}
.nav .sr-act{border:0;background:none;padding:0 2px;margin:0;color:#94A3B8;cursor:pointer;font:inherit;font-size:10px;line-height:1;display:none;align-items:center;flex:none}
.nav .sr-act .mi{font-size:11px}
.nav .sr-add{margin-left:auto;white-space:nowrap}
.nav .sr-o:hover .sr-act,.nav .sr-o:focus-within .sr-act{display:inline-flex}
.nav .sr-act:hover,.nav .sr-act:focus-visible{color:#1E293B;text-decoration:underline}
@media(hover:none){.nav .sr-act{display:inline-flex}}
.nav .sr-in{font:inherit;font-size:11px;width:92px;min-width:0;padding:0 3px;border:1px solid #93C5FD;border-radius:3px;outline:0;color:#1E293B}
.side{overflow-x:hidden}
/* Full terms: never truncate; wrap if a custom name is too long */
.nav .sr-tree a{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word;min-width:0}
/* Resizable left rail (desktop): width from --side-w (set early by an inline head script from sphere.sideWidth) */
@media(min-width:1001px){
  .shell{grid-template-columns:var(--side-w,var(--side-w-def)) minmax(0,1fr) 200px;position:relative}
  .shell.nr{grid-template-columns:var(--side-w,var(--side-w-def)) minmax(0,1fr)}
  .sr-rz{position:absolute;top:0;bottom:0;left:calc(var(--side-w,var(--side-w-def)) - 5px);width:10px;cursor:col-resize;z-index:4;touch-action:none;background:none;border:0;padding:0}
  .sr-rz::after{content:"";position:absolute;top:0;bottom:0;left:4px;width:2px;background:transparent;transition:background .15s}
  .sr-rz:hover::after,.sr-rz:focus-visible::after,.sr-rz.drag::after{background:#93C5FD}
  .sr-rz:focus-visible{outline:none}
  body.sr-resizing{cursor:col-resize;user-select:none}
}
@media(min-width:1400px){.shell{grid-template-columns:var(--side-w,var(--side-w-def)) minmax(0,1fr) 260px}}
@media(max-width:1000px){.sr-rz{display:none}}
:root{--side-w-def:276px}
/* Narrow rail: let the hover buttons drop to the next line instead of splitting words */
.nav .sr-o{flex-wrap:wrap}.nav .sr-o .sr-add{margin-left:auto}
.nav .sr-o>a{flex:1 1 0;min-width:min-content}
.nav .sr-o{align-items:flex-start}.nav .sr-o input{margin-top:2px}.nav .sr-act{align-self:center}
/* Row actions overlay the end of the row (never reflow / cut the label) */
.nav .sr-o,.nav .sr-hrow{position:relative}
.nav .sr-acts{position:absolute;right:0;top:50%;transform:translateY(-50%);display:none;align-items:center;gap:1px;padding:1px 0 1px 12px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 12px);z-index:1}
.nav .sr-o:hover>.sr-acts,.nav .sr-o:focus-within>.sr-acts,.nav .sr-hrow:hover>.sr-acts,.nav .sr-hrow:focus-within>.sr-acts{display:flex}
.nav .sr-acts .sr-act{display:inline-flex;align-items:center;align-self:center;margin:0}
.nav .sr-acts .sr-add,.nav .sr-acts .sr-addopt{margin-left:2px}
@media(hover:none){.nav .sr-acts{position:static;transform:none;display:flex;background:none;padding-left:4px}}
.nav .sr-addcat{margin:6px 0 2px}
.nav .sr-addcat-b{border:0;background:none;padding:2px 0;font:inherit;font-size:11px;color:#3B82F6;cursor:pointer}
.nav .sr-addcat-b:hover,.nav .sr-addcat-b:focus-visible{text-decoration:underline}
.nav .sr-hrow .sr-in{margin:3px 0 1px}
/* Hidden (deleted built-in) categories / options */
.nav .sr-hid{display:none!important}
/* Edit menu toggle at the top of the People tree */
.nav .sr-edbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:2px 0 4px}
.nav .sr-edtg,.nav .sr-reset{display:inline-flex;align-items:center;gap:2px;border:1px solid #CBD5E1;background:#fff;border-radius:999px;padding:1px 8px 1px 5px;font:inherit;font-size:10.5px;color:#475569;cursor:pointer}
.nav .sr-edtg .mi{font-size:13px}.nav .sr-edtg .sr-gear{font-size:11px;margin-left:-5px;margin-top:6px}
.nav .sr-edtg:hover,.nav .sr-reset:hover{background:#EFF6FF;border-color:#93C5FD}
.nav .sr-edtg[aria-pressed="true"]{background:#1E3A5F;border-color:#1E3A5F;color:#fff}
.nav .sr-reset{padding:1px 8px;display:none}.nav .sr-reset:disabled{opacity:.5;cursor:default}
.nav .sr-tree.sr-editing .sr-reset{display:inline-flex}
/* Edit-only controls */
.nav .sr-tree:not(.sr-editing) .sr-x,.nav .sr-tree:not(.sr-editing) .sr-hx,.nav .sr-tree:not(.sr-editing) .sr-hadd{display:none!important}
.nav .sr-tree:not(.sr-editing) .sr-hrow .sr-acts:not(:has(.sr-hed)){display:none!important}
/* In edit mode, controls are always visible and sit inline (rows may wrap) */
.nav .sr-tree.sr-editing .sr-acts{position:static;transform:none;display:flex;background:none;padding:0 0 0 4px;margin-left:auto;flex-wrap:wrap}
.nav .sr-tree.sr-editing .sr-hrow{display:flex;align-items:center;flex-wrap:wrap}
.nav .sr-tree.sr-editing .sr-x,.nav .sr-tree.sr-editing .sr-hx,.nav .sr-tree.sr-editing .sr-rm,.nav .sr-tree.sr-editing .sr-hrm,.nav .sr-tree.sr-editing .sr-del{color:#DC2626}
.nav .sr-tree.sr-editing{background:#F8FAFC;border-radius:6px;outline:1px dashed #CBD5E1;outline-offset:2px}
.nav .sr-tree.sr-editing .sr-hrow>a.sr-h{flex:1 1 auto}
/* Collapsible categories */
.nav .sr-cat.sr-closed>.sr-o{display:none}
.nav .sr-tree a.sr-h{cursor:pointer;user-select:none}
.nav .sr-h .sr-chev{font-size:14px;line-height:1;vertical-align:-3px;margin-left:1px;color:#94A3B8;font-weight:400;letter-spacing:0}
.nav .sr-h:hover .sr-chev{color:#475569}
.nav .sr-hrow{padding-right:0}
.nav .sr-open{position:absolute;right:0;top:50%;transform:translateY(-50%);display:none;align-items:center;justify-content:center;width:16px;height:16px;border-radius:4px;color:#3B82F6;text-decoration:none;background:#fff;z-index:2}
.nav .sr-open .mi{font-size:14px}
.nav .sr-hrow:hover>.sr-open,.nav .sr-hrow:focus-within>.sr-open{display:inline-flex}
.nav .sr-open:hover,.nav .sr-open:focus-visible{background:#EFF6FF;outline:none}
@media(hover:none){.nav .sr-open{display:inline-flex}}
.nav .sr-hrow>.sr-acts{right:18px}
.nav .sr-tree.sr-editing .sr-open{position:static;transform:none;display:inline-flex;order:9}
.nav .sr-h .sr-chev{display:inline-block;text-decoration:none}
.nav .sr-tree .sr-hrow>a.sr-open{position:absolute;right:0;top:50%;transform:translateY(-50%);display:none;width:16px;height:16px;padding:0;margin:0;align-items:center;justify-content:center}
.nav .sr-tree .sr-hrow:hover>a.sr-open,.nav .sr-tree .sr-hrow:focus-within>a.sr-open{display:inline-flex}
.nav .sr-tree .sr-hrow>a.sr-open:hover{text-decoration:none}
@media(hover:none){.nav .sr-tree .sr-hrow>a.sr-open{display:inline-flex}}
.nav .sr-tree.sr-editing .sr-hrow>a.sr-open{position:static;transform:none;display:inline-flex}
.nav .sr-tree .sr-hrow>a.sr-open,.nav .sr-tree .sr-hrow>a.sr-open:hover,.nav .sr-tree .sr-hrow>a.sr-open:focus{text-decoration:none!important;border:0}

