/* faraConnect v0.7.1.66 — public docs shell parity & accessible light/dark glass.
   All selectors are scoped to docs. The dashboard receives only avatar alignment CSS. */
body.ic-docs {
  --fc66-surface:rgba(8,31,80,.78);
  --fc66-border:rgba(188,220,255,.23);
  --fc66-text:#f7fbff;
  --fc66-muted:#c8dbf5;
  --fc66-hint:#afc7e9;
  --fc66-link:#c0e0ff;
  --fc66-elevation:0 14px 38px rgba(0,12,53,.18);
  display:flex;flex-direction:column;min-height:100vh;
  overflow-x:clip;
}
/* Same Bootstrap 5.3 container breakpoints as .fc-container in authenticated dashboards. */
body.ic-docs .icd-layout,
body.ic-docs .icd-footer-inner {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  padding-inline:12px!important;
  margin-inline:auto!important;
}
@media(min-width:576px){body.ic-docs :is(.icd-layout,.icd-footer-inner){max-width:540px!important}}
@media(min-width:768px){body.ic-docs :is(.icd-layout,.icd-footer-inner){max-width:720px!important}}
@media(min-width:992px){body.ic-docs :is(.icd-layout,.icd-footer-inner){max-width:960px!important}}
@media(min-width:1200px){body.ic-docs :is(.icd-layout,.icd-footer-inner){max-width:1140px!important}}
@media(min-width:1400px){body.ic-docs :is(.icd-layout,.icd-footer-inner){max-width:1320px!important}}
/* Public header and footer are FULL viewport width, not limited by the body container. */
body.ic-docs .icd-topbar {
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  min-height:48px!important;height:48px!important;margin:0!important;
  background:rgba(15,35,82,.82)!important;border:0!important;
  box-shadow:0 1px 0 rgba(245,250,255,.15)!important;
  -webkit-backdrop-filter:blur(26px) saturate(140%);backdrop-filter:blur(26px) saturate(140%);
}
body.ic-docs .icd-top-container {
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  direction:ltr!important;position:relative!important;
  width:100%!important;max-width:none!important;height:48px!important;
  margin:0!important;padding-inline:clamp(16px,1.7vw,30px)!important;
  gap:12px!important;
}
body.ic-docs .icd-brand {flex:0 0 auto;margin:0!important;font-size:18px!important;line-height:1!important;gap:7px!important}
body.ic-docs .icd-brand .fc-f-logo--nav{height:24px!important;width:24px!important}
body.ic-docs .icd-brand-doc{
  position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;
  transform:translate(-50%,-50%)!important;z-index:1!important;
  display:block!important;max-width:calc(100vw - 390px)!important;margin:0!important;
  text-align:center!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  direction:rtl!important;font-size:clamp(13px,1.4vw,18px)!important;font-weight:750!important;
  line-height:1.3!important;color:#fff!important;pointer-events:none;
}
body.ic-docs .icd-top-links {
  box-sizing:border-box!important;margin:0 0 0 auto!important;
  display:flex!important;justify-content:flex-end!important;align-items:center!important;
  gap:clamp(8px,1.15vw,16px)!important;
  direction:rtl!important;position:relative!important;z-index:3!important;
  font-size:12px!important;
}
body.ic-docs .icd-top-links :is(a,button){flex:0 0 auto;line-height:1.4;align-self:center}
body.ic-docs .icd-top-links .fc-theme-toggle {margin:0!important;display:grid!important;place-items:center!important;flex:0 0 31px!important;width:31px!important;height:31px!important}
body.ic-docs .icd-top-login{min-height:30px!important;display:inline-flex!important;align-items:center!important;padding:5px 11px!important}
/* Explicit RTL sidebar (right), content (left), zero implicit columns. */
body.ic-docs .icd-layout {
  flex:1 0 auto!important;display:grid!important;direction:rtl!important;
  grid-template-columns:clamp(220px,21%,270px) minmax(0,1fr)!important;
  gap:clamp(12px,1.4vw,22px)!important;
  align-items:start!important;padding-top:16px!important;padding-bottom:28px!important;
}
body.ic-docs .icd-layout > .icd-sidebar{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;top:64px!important}
body.ic-docs .icd-layout > .icd-main {box-sizing:border-box!important;min-width:0!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.ic-docs .icd-article{max-width:none!important}
body.ic-docs .icd-breadcrumb{margin:0 3px 12px!important}
/* Full-width separate footer, with centered responsive content container. */
body.ic-docs > .icd-footer {
  box-sizing:border-box!important;display:block!important;width:100%!important;max-width:none!important;
  flex:0 0 auto;margin:0!important;padding:0!important;
  background:#202329!important;border:0!important;border-top:1px solid rgba(221,237,255,.17)!important;
  color:#ccd6e7!important;
}
body.ic-docs .icd-footer-inner{
  display:flex!important;align-items:center;justify-content:space-between;gap:15px;
  padding-block:21px!important;min-height:66px;
}
body.ic-docs .icd-footer :is(a,button){color:#d5e4fa!important;font-size:12px;cursor:pointer}
/* Consistent palette and high-contrast headings in dark. */
html[data-fc-theme="dark"] body.ic-docs :is(.icd-hero,.icd-feature-cards > a,.icd-guide-list,.icd-article){
  background:var(--fc66-surface)!important;border:1px solid var(--fc66-border)!important;
  color:var(--fc66-text)!important;box-shadow:var(--fc66-elevation)!important;
}
html[data-fc-theme="dark"] body.ic-docs .icd-hero{background:linear-gradient(125deg,rgba(14,45,98,.86),rgba(8,28,71,.82))!important}
/* Light mode must be visibly DIFFERENT and readable, not a white block with white letters. */
html[data-fc-theme="light"]{background-color:#e2efff!important}
html[data-fc-theme="light"] body.ic-docs {
  --fc66-surface:rgba(245,250,255,.84);
  --fc66-border:rgba(84,139,200,.25);
  --fc66-text:#102a57;
  --fc66-muted:#3e587e;
  --fc66-hint:#4c6892;
  --fc66-link:#175ba9;
  --fc66-elevation:0 14px 34px rgba(10,62,129,.10);
  color:#173568!important;color-scheme:light;
  background:radial-gradient(ellipse 60% 55% at 6% 30%,rgba(100,190,248,.38),transparent 75%),
             radial-gradient(ellipse 77% 70% at 96% -8%,rgba(97,145,238,.23),transparent 80%),
             linear-gradient(120deg,#ddecff,#c7e4ff 50%,#dae9ff)!important;
}
html[data-fc-theme="light"] body.ic-docs .icd-sidebar{
  background:rgba(10,37,84,.89)!important;border-color:rgba(155,208,250,.34)!important;
}
html[data-fc-theme="light"] body.ic-docs :is(.icd-hero,.icd-feature-cards > a,.icd-guide-list,.icd-article){
  background:var(--fc66-surface)!important;color:var(--fc66-text)!important;
  border:1px solid var(--fc66-border)!important;
  box-shadow:var(--fc66-elevation)!important;
  -webkit-backdrop-filter:blur(20px) saturate(125%);backdrop-filter:blur(20px) saturate(125%);
}
/* Jumbotron / hero: soft blue frosted glass with legible dark copy and blue accents. */
html[data-fc-theme="light"] body.ic-docs .icd-hero{
  background:radial-gradient(ellipse at 14% 50%,rgba(112,181,245,.28),transparent 48%),
             linear-gradient(120deg,rgba(249,252,255,.97),rgba(200,226,252,.88))!important;
  border-color:rgba(81,146,222,.34)!important;
  box-shadow:0 18px 44px rgba(17,68,134,.15),inset 0 1px rgba(255,255,255,.82)!important;
}
html[data-fc-theme="light"] body.ic-docs .icd-hero h1,
html[data-fc-theme="light"] body.ic-docs .icd-section-row h2,
html[data-fc-theme="light"] body.ic-docs .icd-feature-cards strong,
html[data-fc-theme="light"] body.ic-docs .icd-feature-cards b,
html[data-fc-theme="light"] body.ic-docs .icd-guide-list a > span:first-child,
html[data-fc-theme="light"] body.ic-docs .icd-article :is(h1,h2){color:#103063!important}
html[data-fc-theme="light"] body.ic-docs .icd-hero h1 em{color:#1765b8!important}
html[data-fc-theme="light"] body.ic-docs :is(.icd-hero p,.icd-feature-cards small,.icd-feature-cards p,.icd-guide-list a small,.icd-article p,.icd-article li){color:#375579!important}
html[data-fc-theme="light"] body.ic-docs :is(.icd-section-row>span,.icd-all-guides h3,.icd-breadcrumb,.icd-breadcrumb a,.icd-breadcrumb strong,.icd-meta,.icd-article-bottom){color:#375b84!important}
html[data-fc-theme="light"] body.ic-docs .icd-eyebrow{color:#1a65af!important}
html[data-fc-theme="light"] body.ic-docs .icd-feature-cards > a:hover,
html[data-fc-theme="light"] body.ic-docs .icd-guide-list > a:hover{background:rgba(209,231,255,.9)!important;border-color:rgba(41,119,208,.40)!important}
html[data-fc-theme="light"] body.ic-docs .icd-guide-list>a{
  background:transparent!important;color:#103063!important;border-color:rgba(51,111,177,.19)!important;
}
html[data-fc-theme="light"] body.ic-docs .icd-status{color:#17559b!important;background:rgba(58,132,209,.12)!important;border-color:rgba(35,100,172,.29)!important}
html[data-fc-theme="light"] body.ic-docs .icd-card-icon{background:linear-gradient(130deg,#d9efff,#afd5fa)!important;color:#175ba9!important}
html[data-fc-theme="light"] body.ic-docs .icd-hero-art{opacity:.30!important}
html[data-fc-theme="light"] body.ic-docs .icd-art-center{background:#b9daf9!important}
html[data-fc-theme="light"] body.ic-docs .icd-article-head,
html[data-fc-theme="light"] body.ic-docs .icd-article-section,
html[data-fc-theme="light"] body.ic-docs .icd-article-bottom{border-color:rgba(54,119,189,.23)!important}
html[data-fc-theme="light"] body.ic-docs .icd-note{background:#d9eaf9!important;border-color:#5693d0!important}
html[data-fc-theme="light"] body.ic-docs .icd-note b{color:#14518e!important}
html[data-fc-theme="light"] body.ic-docs .icd-article-state{background:#d3e9fe!important;border-color:#7daedb!important;color:#1b5b93!important}
html[data-fc-theme="light"] body.ic-docs .icd-feature-cards a:focus-visible{outline-color:#1866bb!important}
/* Responsive layout respects exactly the same container breakpoints on mobile. */
@media(max-width:767.98px){
 body.ic-docs .icd-layout{display:block!important;padding-top:12px!important}
 body.ic-docs .icd-layout > .icd-sidebar{position:relative!important;top:auto!important;max-height:none!important;margin-bottom:15px!important}
 body.ic-docs .icd-layout > .icd-main{padding:0!important}
 body.ic-docs .icd-footer-inner{min-height:68px;flex-wrap:wrap;justify-content:center;text-align:center}
 body.ic-docs .icd-brand-doc{font-size:13px!important;max-width:calc(100vw - 245px)!important}
 body.ic-docs .icd-top-links{gap:8px!important}
 body.ic-docs .icd-top-links a:not(.icd-top-login){display:none!important}
 body.ic-docs .icd-top-links .icd-top-login{font-size:11px!important}
}
@media(max-width:440px){
 body.ic-docs .icd-brand{font-size:15px!important}
 body.ic-docs .icd-brand .fc-f-logo--nav{width:18px!important;height:18px!important}
 body.ic-docs .icd-top-container{gap:5px!important;padding-inline:10px!important}
 body.ic-docs .icd-brand-doc{font-size:11px!important;max-width:calc(100vw - 224px)!important}
 body.ic-docs .icd-top-links{gap:5px!important}
 body.ic-docs .icd-top-links .icd-top-login{padding:5px 7px!important}
 body.ic-docs .icd-hero{padding:20px!important}
}
@media(prefers-reduced-motion:reduce){body.ic-docs :is(.icd-feature-cards>a,.icd-guide-list>a){transition:none!important}}
