/* ============================================================================================================
   Sidebar (Option B): headed groups, count badges, health strip, icons-only mode. Colours only from fibervu-blue.css;
   status colours (red / amber / green) keep their meaning. Nothing here changes a page.
   ============================================================================================================ */

/* ---------- headed groups: small capital heading, a little air between groups, the open page has a thin orange mark ---------- */
.fi-sidebar-group-label { font-size: 10.5px !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700 !important; }
.fi-sidebar-nav-groups { gap: 6px !important; }
.fi-main-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn { position: relative; }
.fi-main-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn::before { content: ""; position: absolute; left: -2px; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: #F79009; }

/* count badges: see fibervu-sidepanel.css */

/* ---------- health strip ---------- */
.side-health { display: flex; flex-direction: column; gap: 1px; margin: .35rem .75rem 0; padding: 6px 4px; border-top: 1px solid var(--on-blue-line, rgba(255, 255, 255, .22)); }
.side-health .sh-row { display: flex; align-items: center; gap: 8px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; line-height: 1.35; text-decoration: none; color: var(--on-blue-soft, rgba(255, 255, 255, .85)); }
.side-health .sh-row:hover { background: var(--on-blue-hover, var(--dk-glass-p12, rgba(255, 255, 255, .12))); color: #fff; }
.side-health .sh-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: #98A2B3; box-shadow: 0 0 0 2px rgba(255, 255, 255, .18); }
.side-health .is-ok .sh-dot { background: #32D583; }
.side-health .is-warn .sh-dot { background: #FDB022; }
.side-health .is-bad .sh-dot { background: #F97066; animation: sh-pulse 1.6s ease-in-out infinite; }
.side-health .is-off .sh-dot { background: #98A2B3; }
.side-health .sh-label { font-weight: 700; flex: 0 0 auto; }
.side-health .sh-text { margin-left: auto; text-align: right; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-health .is-warn .sh-text { color: #FEDF89; opacity: 1; }
.side-health .is-bad .sh-text { color: #FECDCA; opacity: 1; font-weight: 600; }
@keyframes sh-pulse { 50% { box-shadow: 0 0 0 4px rgba(249, 112, 102, .28); } }
@media (prefers-reduced-motion: reduce) { .side-health .is-bad .sh-dot { animation: none; } }

/* the collapse button, the icon rail and the phone drawer: see fibervu-sidepanel.css */

/* ---------- Settings: the search box above the side menu ---------- */
.fv-set-find { margin: 0 0 8px; }
.fv-set-find input { width: 100%; height: 32px; border: 1px solid var(--fv-line, var(--dk-bd-e4e7ec, #E4E7EC)); border-radius: 8px; padding: 0 10px; font-size: 13px; background: var(--dk-bg-ffffff, #fff); }
.fv-set-find input:focus { outline: 2px solid var(--blue, var(--dk-bd-0047bb, #0047BB)); outline-offset: -1px; }
.fi-page-sub-navigation-sidebar-ctn .fi-sidebar-group.fv-hide, .fi-page-sub-navigation-sidebar-ctn .fi-sidebar-item.fv-hide { display: none !important; }
.fi-page-sub-navigation-sidebar-ctn .fi-sidebar-group-label { font-size: 10.5px !important; letter-spacing: .08em; text-transform: uppercase; }

#cw-body h4 { margin: .9rem 0 .35rem; font-size: 13px; }
