/* The pages of a menu entry as tabs above its list pages (docs/navigation.md). */
.section-tabs{display:flex;flex-wrap:wrap;gap:.2rem;margin:0 0 1rem;padding:0 0 .1rem;border-bottom:1px solid #dfe6ea}
.section-tabs a{position:relative;display:inline-flex;align-items:center;gap:.4rem;padding:.55rem .85rem .6rem;color:#526873;text-decoration:none;font-weight:600;border-radius:.5rem .5rem 0 0}
.section-tabs a:hover{color:#183b4c;background:#f2f6f8}
.section-tabs a.is-active{color:#183b4c}
.section-tabs a.is-active::after{content:"";position:absolute;left:.6rem;right:.6rem;bottom:-1px;height:2px;border-radius:2px;background:#e8902a}
.section-tabs-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .35rem;border-radius:999px;background:#eef2f4;color:#3d5260;font-size:.72rem;font-weight:700}
html[data-theme="dark"] .section-tabs{border-color:#30424d}
html[data-theme="dark"] .section-tabs a{color:#9fb2bc}
html[data-theme="dark"] .section-tabs a:hover,html[data-theme="dark"] .section-tabs a.is-active{color:#e5eef2;background:transparent}
html[data-theme="dark"] .section-tabs-count{background:#24343f;color:#c5d3da}

/* The bottom of the menu — reminders, profile, sign out — in one row, so the menu keeps its height
   (docs/navigation.md). The folded menu keeps its column of icons. */
html:not([data-sidebar="collapsed"]) .sidebar-footer{display:flex;align-items:center;gap:4px;padding-top:8px;padding-bottom:10px}
html:not([data-sidebar="collapsed"]) .sidebar-footer>a,html:not([data-sidebar="collapsed"]) .sidebar-footer>form{flex:0 0 auto;margin:0;min-width:0}
html:not([data-sidebar="collapsed"]) .sidebar-footer .sidebar-nav-link{width:auto;margin:0}
html:not([data-sidebar="collapsed"]) .sidebar-footer .sidebar-profile{flex:1 1 auto}
html:not([data-sidebar="collapsed"]) .sidebar-footer .sidebar-profile .sidebar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:not([data-sidebar="collapsed"]) .sidebar-footer [data-notifications],html:not([data-sidebar="collapsed"]) .sidebar-footer .sidebar-logout{padding-left:10px;padding-right:10px}
html:not([data-sidebar="collapsed"]) .sidebar-footer [data-notifications] .sidebar-label,html:not([data-sidebar="collapsed"]) .sidebar-footer .sidebar-logout .sidebar-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html:not([data-sidebar="collapsed"]) .sidebar-footer .sidebar-count{margin-left:2px}
