/* faraConnect 0.7.1.67: scoped RTL navigation and distinct frosted light/dark docs sidebar. */
body.ic-docs .icd-layout > .icd-sidebar {
  direction:rtl!important;text-align:right!important;
  -webkit-backdrop-filter:blur(22px) saturate(135%);
  backdrop-filter:blur(22px) saturate(135%);
  transition:background-color .24s ease,border-color .24s ease,box-shadow .24s ease;
}
body.ic-docs .icd-sidebar :is(.icd-search-label,.icd-nav-group p,.icd-sidebar-foot,.icd-sidebar-foot small,.icd-search-result){
  direction:rtl!important;text-align:right!important;
}
body.ic-docs .icd-sidebar #icd-nav,body.ic-docs .icd-sidebar .icd-nav-group{
  direction:rtl!important;text-align:right!important;
}
body.ic-docs .icd-sidebar :is(.icd-side-home,.icd-nav-item){
  direction:rtl!important;text-align:right!important;
  display:flex!important;align-items:center;justify-content:flex-start!important;
  gap:9px!important;min-height:39px;position:relative;
  border:1px solid transparent;border-radius:10px!important;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
  text-decoration:none!important;
}
body.ic-docs .icd-sidebar .icd-nav-item > span:first-child {min-width:0;flex:1;text-align:right!important}
body.ic-docs .icd-sidebar .icd-side-home > span {text-align:right!important}
body.ic-docs .icd-sidebar .icd-item-arrow {margin-inline-start:auto!important;margin-inline-end:0!important;opacity:0;transform:translateX(4px);transition:opacity .16s ease,transform .16s ease}
body.ic-docs .icd-sidebar :is(.icd-nav-item:hover,.icd-nav-item:focus-visible,.icd-nav-item.active) .icd-item-arrow{opacity:1;transform:translateX(0)}
body.ic-docs .icd-sidebar :is(.icd-nav-item,.icd-side-home):focus-visible{
  outline:2px solid #4c9dfa!important;outline-offset:2px!important;
}
body.ic-docs .icd-sidebar .icd-search-box{direction:rtl!important;flex-direction:row!important;text-align:right!important;gap:8px!important}
body.ic-docs .icd-sidebar #icd-search{direction:rtl!important;text-align:right!important;min-width:0!important}
body.ic-docs .icd-sidebar .icd-search-box kbd{margin-inline-start:auto!important}
/* Dark sidebar: frosted navy, light ink, blue hover; never rely solely on hover for selection. */
html[data-fc-theme="dark"] body.ic-docs .icd-layout > .icd-sidebar{
  background:linear-gradient(148deg,rgba(13,39,86,.94),rgba(8,25,65,.88))!important;
  border:1px solid rgba(173,215,255,.28)!important;
  box-shadow:0 16px 40px rgba(1,12,43,.25)!important;
}
html[data-fc-theme="dark"] body.ic-docs .icd-sidebar :is(.icd-side-home,.icd-nav-item){color:#b9d2f5!important}
html[data-fc-theme="dark"] body.ic-docs .icd-sidebar :is(.icd-side-home,.icd-nav-item):is(:hover,:focus-visible){
  color:#fff!important;background:rgba(87,150,224,.23)!important;
  border-color:rgba(155,209,255,.22)!important;transform:translateX(-2px);
}
html[data-fc-theme="dark"] body.ic-docs .icd-sidebar :is(.icd-side-home,.icd-nav-item).active{
  color:#fff!important;background:rgba(43,114,214,.38)!important;
  border-color:rgba(147,196,255,.48)!important;
}
html[data-fc-theme="dark"] body.ic-docs .icd-sidebar :is(.icd-search-label,.icd-nav-group p,.icd-sidebar-foot){color:#a6c3e8!important}
html[data-fc-theme="dark"] body.ic-docs .icd-sidebar .icd-search-box{
  background:rgba(4,19,49,.64)!important;border-color:rgba(146,195,247,.34)!important;
}
html[data-fc-theme="dark"] body.ic-docs .icd-sidebar #icd-search{color:#f5f9ff!important}
html[data-fc-theme="dark"] body.ic-docs .icd-sidebar #icd-search::placeholder{color:#aac0dc!important}
html[data-fc-theme="dark"] body.ic-docs .icd-sidebar .icd-search-box kbd{background:rgba(42,80,134,.68)!important;color:#eff7ff!important}
/* Light sidebar MUST differ from dark: pale glass, deep navy text and clear affordances. */
html[data-fc-theme="light"] body.ic-docs .icd-layout > .icd-sidebar{
  background:linear-gradient(145deg,rgba(249,252,255,.93),rgba(222,237,255,.86))!important;
  border:1px solid rgba(69,127,197,.32)!important;
  box-shadow:0 15px 42px rgba(12,67,139,.12),inset 0 1px rgba(255,255,255,.85)!important;
  color:#123566!important;
}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar :is(.icd-side-home,.icd-nav-item){color:#2b4b75!important}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar :is(.icd-side-home,.icd-nav-item):is(:hover,:focus-visible){
  color:#073c7a!important;background:rgba(172,214,255,.48)!important;
  border-color:rgba(49,119,206,.29)!important;box-shadow:0 4px 12px rgba(38,102,182,.08);
  transform:translateX(-2px);
}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar :is(.icd-side-home,.icd-nav-item).active{
  background:linear-gradient(100deg,rgba(191,225,255,.84),rgba(212,235,255,.90))!important;
  border-color:rgba(44,123,216,.43)!important;color:#124d91!important;font-weight:800!important;
}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar :is(.icd-search-label,.icd-nav-group p,.icd-sidebar-foot,.icd-sidebar-foot small,.icd-search-result){color:#49698f!important}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar .icd-nav-group p{color:#587295!important}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar .icd-search-box{
  background:rgba(255,255,255,.78)!important;border-color:rgba(90,146,211,.38)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.9)!important;
}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar #icd-search{color:#123868!important}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar #icd-search::placeholder{color:#6782a6!important}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar .icd-search-box kbd{
  color:#25578e!important;background:#e1efff!important;border-color:#adcdef!important;
}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar .icd-sidebar-foot{border-top-color:#bfd6f2!important}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar .icd-live-dot{background:#2f86d9!important}
@media(max-width:767.98px){
 body.ic-docs .icd-sidebar nav{direction:rtl!important;text-align:right!important}
 body.ic-docs .icd-sidebar .icd-nav-group{direction:rtl!important}
 body.ic-docs .icd-sidebar .icd-nav-item{white-space:nowrap;flex:0 0 auto}
}
@media(prefers-reduced-motion:reduce){
 body.ic-docs .icd-sidebar :is(.icd-side-home,.icd-nav-item,.icd-item-arrow){transition:none!important;transform:none!important}
}
