/* Shared portal navigation: readable hierarchy, touch targets and in-flow counters. */
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar{
 padding:20px 14px!important;overflow-y:auto!important;overflow-x:hidden!important;
 scrollbar-width:thin;scrollbar-color:#72818b transparent;
}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar :is(.portal-nav>a,.portal-nav-group>a,.portal-nav-group>.portal-nav>a,.portal-nav-group>summary){
 display:flex!important;align-items:center!important;gap:10px!important;position:relative!important;
 height:auto!important;min-height:46px!important;max-height:none!important;flex-shrink:0!important;
 padding:11px 12px!important;margin:4px 0!important;border-radius:12px!important;
 font-family:var(--theme-font,system-ui)!important;font-size:14px!important;font-weight:500!important;
 line-height:1.5!important;letter-spacing:normal!important;text-transform:none!important;
 white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
 text-decoration:none!important;cursor:pointer;transition:background .15s,color .15s;
}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar :is(.portal-nav>a,.portal-nav-group>a,.portal-nav-group>summary)>span{
 flex:1 1 0!important;min-width:0!important;width:auto!important;line-height:1.5!important;
 white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar :is(.portal-nav>a,.portal-nav-group>summary)>i{
 display:grid!important;place-items:center!important;flex:0 0 28px!important;width:28px!important;height:28px!important;
 font-style:normal!important;font-size:17px!important;line-height:1!important;background:#ffffff12;border-radius:8px;
}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar .portal-nav-group{
 border:1px solid #ffffff18!important;border-radius:14px!important;margin:8px 0!important;padding:3px!important;
 background:#ffffff04!important;box-shadow:none!important;height:auto!important;overflow:visible!important;
}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar .portal-nav-group>summary{list-style:none!important;font-weight:600!important}
.portal-nav-group>summary::-webkit-details-marker{display:none}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar .portal-nav-group>summary>b{margin-left:auto;flex:0 0 14px;transition:transform .15s}
.portal-nav-group[open]>summary>b{transform:rotate(180deg)}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar .portal-nav-group>a,
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar .portal-nav-group>.portal-nav>a{
 padding-left:18px!important;border-left:2px solid #ffffff26!important;border-radius:0 10px 10px 0!important;margin-left:12px!important;font-size:13px!important;
}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar :is(a,summary):hover{background:#ffffff14!important}
html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar a.active{
 background:var(--brand-accent,#d9b85e)!important;color:var(--theme-on-accent,#161616)!important;
 -webkit-text-fill-color:currentColor!important;font-weight:650!important;box-shadow:0 3px 12px #0002!important;
}
html body .portal-sidebar .nav-live-badge,html body .workspace-sections .nav-live-badge{
 position:static!important;inset:auto!important;transform:none!important;display:inline-flex!important;align-items:center;justify-content:center;
 flex:0 0 auto!important;min-width:23px!important;width:auto!important;height:23px!important;padding:0 6px!important;margin:0 0 0 auto!important;
 background:#ffe4df!important;color:#8a2518!important;-webkit-text-fill-color:#8a2518!important;border:1px solid #ffd2ca!important;
 border-radius:8px!important;font:700 11px/1 system-ui!important;letter-spacing:0!important;box-shadow:none!important;
}
html body [data-live-badge][hidden]{display:none!important}
.workspace-sections a{display:flex;align-items:center;gap:10px}.workspace-sections a>span{min-width:0;flex:1}
.portal-sidebar :is(a,summary,button):focus-visible,.workspace-sections a:focus-visible{outline:3px solid #f0d58b!important;outline-offset:3px}
@media(max-width:760px){html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>.portal-sidebar{width:min(88vw,310px)!important;max-width:88vw!important}.workspace-sections a{min-height:48px}}
@media(prefers-reduced-motion:reduce){.portal-sidebar *{transition:none!important}}
