/* Sidebar typography and contrast stay independent of form button text colors. */
html .portal-shell #workspace-sidebar .portal-navigation :is(button,a),
html .employee-dashboard-shell .employee-sidebar nav :is(button,a){
 color:#fff!important;font-size:14px;font-weight:500;line-height:1.45;letter-spacing:0;
 transition:background-color 170ms ease,box-shadow 170ms ease,transform 170ms ease!important;
}
html .portal-shell #workspace-sidebar .portal-navigation :is(button,a) :is(span,svg),
html .employee-dashboard-shell .employee-sidebar nav :is(button,a) :is(span,svg){color:inherit!important}
html .portal-shell #workspace-sidebar .portal-navigation :is(button,a):is(.is-active,[aria-current="page"]),
html .employee-dashboard-shell .employee-sidebar nav :is(button,a):is(.is-active,[aria-current="page"]){
 color:#fff!important;font-weight:600;
 background:linear-gradient(115deg,color-mix(in srgb,var(--brand-primary,#17834e) 75%,#000),color-mix(in srgb,var(--brand-primary,#17834e) 88%,#000))!important;
 box-shadow:inset 0 0 0 1px #ffffff18;
}
html .portal-shell #workspace-sidebar .portal-navigation :is(button,a):hover,
html .employee-dashboard-shell .employee-sidebar nav :is(button,a):hover{color:#fff!important;background-color:#ffffff14!important;transform:translateX(2px)}
html [dir="rtl"] #workspace-sidebar .portal-navigation :is(button,a):hover,
html [dir="rtl"] .employee-sidebar nav :is(button,a):hover{transform:translateX(-2px)}
html .portal-shell #workspace-sidebar .portal-navigation :is(button,a):focus-visible,
html .employee-dashboard-shell .employee-sidebar nav :is(button,a):focus-visible{outline:2px solid #fff!important;outline-offset:-2px}
/* Hide the decorative hierarchy rules, preserving indentation and focus outlines. */
html #workspace-sidebar nav :is([id$="-submenu"],.border-s,.border-l,.ga-settings-tools),
html .employee-sidebar nav :is([id$="-submenu"],.border-s,.border-l){border-inline-start:0!important;border-inline-end:0!important}
html #workspace-sidebar nav [id$="-submenu"]::before,
html #workspace-sidebar nav [id$="-submenu"]::after,
html .employee-sidebar nav [id$="-submenu"]::before,
html .employee-sidebar nav [id$="-submenu"]::after{display:none!important}
.sidebar-disclosure{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows 240ms cubic-bezier(.2,.75,.25,1),opacity 180ms ease,visibility 0s linear 240ms}
.sidebar-disclosure[data-open="true"]{grid-template-rows:1fr;opacity:1;visibility:visible;transition:grid-template-rows 240ms cubic-bezier(.2,.75,.25,1),opacity 180ms ease,visibility 0s}
.sidebar-disclosure-clip{min-height:0;overflow:hidden}
#workspace-sidebar .portal-navigation button[aria-expanded]>svg:last-child{transition:transform 220ms cubic-bezier(.2,.75,.25,1)!important}
@media(prefers-reduced-motion:reduce){
 .sidebar-disclosure{transition:none!important}
 html .portal-shell #workspace-sidebar,.portal-shell>[class*="lg:ms-64"],.portal-collapse-toggle,
 html .portal-shell #workspace-sidebar .portal-navigation :is(button,a),
 html .employee-sidebar nav :is(button,a),#workspace-sidebar .portal-navigation button[aria-expanded]>svg:last-child{transition:none!important;animation:none!important}
 html .portal-shell #workspace-sidebar .portal-navigation :is(button,a):hover,html .employee-sidebar nav :is(button,a):hover{transform:none!important}
}
