
.crm-sidebar-mount{
  min-width:0;
  height:100vh;
  position:sticky;
  top:0;
  z-index:30;
}
.shared-sidebar{
  height:100vh;
  background:var(--panel,#fff);
  border-right:1px solid var(--line,#DDE7F3);
  padding:20px 18px;
  display:flex;
  flex-direction:column;
  gap:20px;
  overflow:hidden;
}
.shared-sidebar .sidebar-brand{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:8px;
}
.shared-sidebar .sidebar-brand img{
  width:190px;
  max-width:calc(100% - 42px);
  max-height:74px;
  object-fit:contain;
  object-position:left center;
}
.shared-sidebar .sidebar-toggle{
  margin-left:auto;
  flex:0 0 auto;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid var(--line,#DDE7F3);
  border-radius:12px;
  background:var(--panel,#fff);
  color:var(--navy,#0D2F7A);
  cursor:pointer;
  font-size:20px;
  font-weight:700;
}
.shared-sidebar .nav{
  display:grid;
  gap:8px;
}
.shared-sidebar .nav-item{
  width:100%;
  border:0;
  background:transparent;
  color:var(--text,#0B1B3F);
  text-align:left;
  padding:14px 18px;
  border-radius:14px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:14px;
  cursor:pointer;
  white-space:nowrap;
}
.shared-sidebar .nav-icon{
  width:24px;
  min-width:24px;
  text-align:center;
  color:var(--navy,#0D2F7A);
  font-size:19px;
}
.shared-sidebar .nav-item:hover,
.shared-sidebar .nav-item.active{
  background:linear-gradient(90deg,#EAFBFD,#EFF5FF);
  color:var(--navy,#0D2F7A);
}
.shared-sidebar .screen-help-card{
  margin-top:auto;
  width:100%;
  border:1px solid var(--line,#DDE7F3);
  border-radius:18px;
  padding:13px;
  background:linear-gradient(135deg,#F0FDFA,#EFF6FF);
  display:flex;
  align-items:center;
  gap:11px;
  text-align:left;
  cursor:pointer;
  color:var(--navy,#0D2F7A);
}
.shared-sidebar .screen-help-card:hover{
  border-color:#9ADFE4;
  box-shadow:0 8px 24px rgba(15,118,110,.10);
}
.shared-sidebar .screen-help-icon{
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:#24C6D2;
  color:#063B42;
  font-size:21px;
  font-weight:700;
}
.shared-sidebar .screen-help-copy{
  min-width:0;
  flex:1;
}
.shared-sidebar .screen-help-copy strong{
  display:block;
  font-size:14px;
}
.shared-sidebar .screen-help-copy small{
  display:block;
  color:var(--muted,#61708A);
  font-size:11px;
  line-height:1.35;
  margin-top:2px;
}
.shared-sidebar .screen-help-arrow{
  color:#0F766E;
  font-size:22px;
}
.shared-sidebar .sidebar-usage-card{
  --usage-progress:0%;
  width:100%;
  border:1px solid var(--line,#DDE7F3);
  border-radius:15px;
  padding:11px 12px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  color:var(--navy,#0D2F7A);
  cursor:pointer;
}
.shared-sidebar .sidebar-usage-card:hover{border-color:#9fb7dd;background:#f8fbff}
.shared-sidebar .sidebar-usage-icon{font-size:21px}
.shared-sidebar .sidebar-usage-copy{display:block;min-width:0;flex:1}
.shared-sidebar .sidebar-usage-copy strong,
.shared-sidebar .sidebar-usage-copy small{display:block}
.shared-sidebar .sidebar-usage-copy strong{font-size:12px}
.shared-sidebar .sidebar-usage-copy small{font-size:10px;line-height:1.35;color:var(--muted,#61708A);margin-top:4px}
.shared-sidebar .sidebar-usage-track{height:5px;border-radius:5px;background:#dce7f5;overflow:hidden;margin-top:6px}
.shared-sidebar .sidebar-usage-track i{display:block;width:var(--usage-progress);height:100%;background:var(--teal,#14B8A6);transition:width .25s ease}
.shared-sidebar .sidebar-usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;margin-top:7px}.shared-sidebar .sidebar-usage-grid small{margin:0;font-size:9px;white-space:nowrap}.shared-sidebar .sidebar-usage-grid b{color:#334155;font-weight:650}.shared-sidebar .sidebar-usage-verifications{grid-column:1/-1}.shared-sidebar .sidebar-usage-reset{margin-top:6px!important;border-top:1px solid #e4e9f0;padding-top:5px}
.shared-sidebar .sidebar-usage-card.usage-exceeded{border-color:#f2b36d;background:#fff8ed}
.shared-sidebar .sidebar-usage-card.usage-exceeded .sidebar-usage-track i{background:#c96a12}
.shared-sidebar .sidebar-usage-card.usage-error{border-color:#e9a4a4}
.shared-sidebar .profile-card{
  border-top:1px solid var(--line,#DDE7F3);
  padding-top:18px;
  display:flex;
  align-items:center;
  gap:12px;
}
.shared-sidebar .profile-link{
  min-width:0;
  flex:1;
  display:flex;
  align-items:center;
  gap:12px;
  padding:5px;
  margin:-5px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.shared-sidebar .profile-link:hover{background:#eef2f6}
.shared-sidebar .profile-link.active{background:#e9eef6;color:#1f1f1f}
.shared-sidebar .profile-link:focus-visible,
.shared-sidebar .sidebar-logout:focus-visible{
  outline:3px solid rgba(20,184,166,.34);
  outline-offset:2px;
}
.shared-sidebar .profile-card span{
  display:block;
  color:var(--muted,#61708A);
  font-size:13px;
}
.shared-sidebar .profile-copy{min-width:0}
.shared-sidebar .profile-copy strong,
.shared-sidebar .profile-copy span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.shared-sidebar .profile-avatar{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:50%;
  background:#FDE2D2;
  display:grid;
  place-items:center;
  font-weight:700;
  color:#7C2D12;
  overflow:hidden;
}
.shared-sidebar .profile-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.shared-sidebar .profile-avatar-initials{
  width:100%;
  height:100%;
}
.shared-sidebar .profile-avatar-initials:not(.hidden){
  display:grid;
  place-items:center;
}
.shared-sidebar .sidebar-logout{
  margin-left:auto;
  border:0;
  background:transparent;
  color:var(--navy,#0D2F7A);
  font-size:18px;
  cursor:pointer;
}
body.crm-sidebar-collapsed .app-shell,
body.crm-sidebar-collapsed .builder-shell,
body.crm-sidebar-collapsed .shell{
  grid-template-columns:82px minmax(0,1fr);
}
body.crm-sidebar-collapsed .shared-sidebar{
  padding-left:12px;
  padding-right:12px;
}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-brand{
  justify-content:center;
}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-brand img,
body.crm-sidebar-collapsed .shared-sidebar .nav-label,
body.crm-sidebar-collapsed .shared-sidebar .screen-help-copy,
body.crm-sidebar-collapsed .shared-sidebar .screen-help-arrow,
body.crm-sidebar-collapsed .shared-sidebar .sidebar-usage-copy,
body.crm-sidebar-collapsed .shared-sidebar .profile-copy{
  display:none;
}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-toggle{
  margin-left:0;
}
body.crm-sidebar-collapsed .shared-sidebar .nav-item{
  justify-content:center;
  padding:14px 8px;
}
body.crm-sidebar-collapsed .shared-sidebar .profile-card{
  justify-content:center;
}
body.crm-sidebar-collapsed .shared-sidebar .profile-link{
  flex:0 0 auto;
  padding:5px;
}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-logout{
  display:none;
}
@media(max-width:1100px){
  .app-shell,.builder-shell,.shell{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  .shared-sidebar{
    padding-left:12px;
    padding-right:12px;
  }
  .shared-sidebar .sidebar-brand{
    justify-content:center;
  }
  .shared-sidebar .sidebar-brand img,
  .shared-sidebar .nav-label,
  .shared-sidebar .profile-copy{
    display:none;
  }
  .shared-sidebar .sidebar-toggle{margin-left:0}
  .shared-sidebar .nav-item{justify-content:center;padding:14px 8px}
  .shared-sidebar .profile-card{justify-content:center}
  .shared-sidebar .profile-link{flex:0 0 auto;padding:5px}
  .shared-sidebar .sidebar-logout{display:none}
}

body.crm-sidebar-collapsed .shared-sidebar.is-platform-only .profile-card{
  flex-direction:column;
  gap:8px;
}
body.crm-sidebar-collapsed .shared-sidebar.is-platform-only .sidebar-logout{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 44px;
  width:44px;
  height:44px;
  margin-left:0;
  padding:0;
}
@media(max-width:1100px){
  .shared-sidebar.is-platform-only .profile-card{
    flex-direction:column;
    gap:8px;
  }
  .shared-sidebar.is-platform-only .sidebar-logout{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    margin-left:0;
    padding:0;
  }
}

body.crm-sidebar-collapsed .shared-sidebar .screen-help-card{
  padding:8px;
  justify-content:center;
  border-radius:14px;
}
body.crm-sidebar-collapsed .shared-sidebar .screen-help-icon{
  width:38px;
  height:38px;
}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-usage-card{
  padding:9px;
  justify-content:center;
}
@media(max-width:1100px){
  .shared-sidebar .screen-help-copy,
  .shared-sidebar .screen-help-arrow,
  .shared-sidebar .sidebar-usage-copy{display:none}
  .shared-sidebar .screen-help-card{padding:8px;justify-content:center}
  .shared-sidebar .sidebar-usage-card{padding:9px;justify-content:center}
}

/* Step 7.11: give the Jill logo the full sidebar width. */
.shared-sidebar{
  padding:12px 10px 16px;
}
.shared-sidebar .sidebar-brand{
  position:relative;
  display:block;
  width:100%;
  min-height:102px;
}
.shared-sidebar .sidebar-brand img{
  display:block;
  width:100%;
  max-width:100%;
  max-height:100px;
  object-fit:contain;
  object-position:left center;
  padding-right:24px;
}
.shared-sidebar .sidebar-toggle{
  position:absolute;
  top:2px;
  right:0;
  z-index:2;
  width:32px;
  height:32px;
  margin:0;
  background:rgba(255,255,255,.92);
  box-shadow:0 3px 10px rgba(15,23,42,.08);
}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-brand{
  min-height:44px;
}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-toggle{
  left:50%;
  right:auto;
  transform:translateX(-50%);
}
@media(max-width:1100px){
  .shared-sidebar .sidebar-brand{min-height:44px}
  .shared-sidebar .sidebar-toggle{
    left:50%;
    right:auto;
    transform:translateX(-50%);
  }
}

.shared-sidebar .sidebar-toggle .material-symbols-rounded{font-size:22px}
.shared-sidebar .nav-icon{font-size:21px;font-weight:normal}
.shared-sidebar .screen-help-icon{
  font-size:23px;
  font-weight:normal;
  font-variation-settings:'FILL' 0,'wght' 500,'GRAD' 0,'opsz' 24;
}
.shared-sidebar .screen-help-arrow{font-size:22px}
.shared-sidebar .sidebar-logout .material-symbols-rounded{font-size:21px}

/* Step 8.2: contemporary type weights and clear Jill branding at every menu size. */
.shared-sidebar .nav-item{font-weight:600}
.shared-sidebar .screen-help-copy strong{font-weight:600}
.shared-sidebar .profile-copy strong{font-weight:600}
.shared-sidebar .profile-avatar{font-weight:700}

.shared-sidebar .nav-item.is-locked{opacity:.58;cursor:not-allowed}
.shared-sidebar .nav-item.is-locked:hover{transform:none;background:transparent}
.shared-sidebar .nav-item.is-locked.active{background:transparent;color:inherit}
.shared-sidebar .nav-lock{margin-left:auto;font-size:16px}
.shared-sidebar .sidebar-toggle{font-weight:400}
.shared-sidebar .sidebar-brand .sidebar-icon{display:none}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-wordmark{display:none}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-brand{min-height:88px}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-brand .sidebar-icon{
  display:block;
  width:58px;
  height:auto;
  max-width:58px;
  max-height:58px;
  padding:0;
  border-radius:8px;
  object-fit:contain;
  margin:0 auto;
}
body.crm-sidebar-collapsed .shared-sidebar .sidebar-toggle{top:54px}
@media(max-width:1100px){
  .shared-sidebar .sidebar-brand{min-height:88px}
  .shared-sidebar .sidebar-wordmark{display:none!important}
  .shared-sidebar .sidebar-brand .sidebar-icon{
    display:block!important;
    width:58px!important;
    height:auto!important;
    max-width:58px!important;
    max-height:58px!important;
    padding:0!important;
    border-radius:8px;
    object-fit:contain;
    margin:0 auto;
  }
  .shared-sidebar .sidebar-toggle{top:54px}
}

/* Step 8.3.7: preserve the approved logo proportions and soften menu weights. */
.shared-sidebar .sidebar-brand{min-height:120px}
.shared-sidebar .sidebar-brand .sidebar-wordmark{
  display:block;
  width:min(210px,calc(100% - 36px));
  height:auto;
  max-width:none;
  max-height:none;
  padding:0;
  object-fit:contain;
  object-position:left top;
}
.shared-sidebar .nav-item{font-weight:500}
.shared-sidebar .screen-help-copy strong,
.shared-sidebar .profile-copy strong{font-weight:500}
.shared-sidebar .profile-avatar{font-weight:600}
@media(max-width:1100px){.shared-sidebar .sidebar-brand{min-height:88px}}

/* Step 8.3.8: quiet, Gmail-inspired navigation with regular-weight labels. */
.shared-sidebar{
  background:#f8fafd;
  border-right-color:#e3e7ee;
  gap:16px;
}
.shared-sidebar .nav{gap:4px}
.shared-sidebar .nav-item{
  min-height:44px;
  padding:10px 14px;
  border-radius:10px;
  color:#3c4043;
  font-size:14px;
  font-weight:400;
  line-height:1.35;
  transition:background-color .16s ease,color .16s ease;
}
.shared-sidebar .nav-icon{
  color:#5f6368;
  font-size:20px;
  opacity:.92;
}
.shared-sidebar .nav-item:hover{background:#eef2f6;color:#202124}
.shared-sidebar .nav-item.active{
  background:#e9eef6;
  color:#1f1f1f;
  font-weight:500;
}
.shared-sidebar .nav-item.active .nav-icon{color:#315c9f}
.shared-sidebar .sidebar-toggle{
  border-color:#e3e7ee;
  background:rgba(248,250,253,.96);
  color:#5f6368;
  box-shadow:none;
}
.shared-sidebar .sidebar-toggle:hover{background:#edf1f5;color:#202124}
.shared-sidebar .screen-help-card{
  border-color:#e3e7ee;
  border-radius:14px;
  background:#fff;
  color:#3c4043;
  box-shadow:none;
}
.shared-sidebar .screen-help-card:hover{
  border-color:#d4dae3;
  background:#f4f7fa;
  box-shadow:none;
}
.shared-sidebar .screen-help-icon{
  background:#e9eef6;
  color:#466184;
}
.shared-sidebar .screen-help-arrow{color:#6b7788}
.shared-sidebar .screen-help-copy strong,
.shared-sidebar .profile-copy strong{font-weight:500;color:#3c4043}
.shared-sidebar .screen-help-copy small,
.shared-sidebar .profile-card span{color:#6b7280}
.shared-sidebar .profile-card{border-top-color:#e3e7ee}
.shared-sidebar .profile-avatar{
  background:#e8eef7;
  color:#466184;
  font-weight:500;
}
.shared-sidebar .sidebar-logout{color:#6b7280}
.shared-sidebar .sidebar-logout:hover{color:#202124}
body.theme-dark .shared-sidebar{background:var(--panel,#0d1a2e);border-right-color:var(--line,#1f3556)}
body.theme-dark .shared-sidebar .nav-item{color:var(--muted,#9daec8)}
body.theme-dark .shared-sidebar .nav-icon{color:var(--muted,#9daec8)}
body.theme-dark .shared-sidebar .nav-item:hover{background:#13243c;color:var(--text,#f4f7fb)}
body.theme-dark .shared-sidebar .nav-item.active{background:#18304f;color:var(--text,#f4f7fb)}
body.theme-dark .shared-sidebar .profile-link.active{background:#18304f;color:var(--text,#f4f7fb)}
body.theme-dark .shared-sidebar .screen-help-card,
body.theme-dark .shared-sidebar .sidebar-toggle{background:#102039;border-color:var(--line,#1f3556);color:var(--text,#f4f7fb)}
body.theme-dark .shared-sidebar .profile-link:hover{background:#13243c}
body.theme-dark .shared-sidebar .screen-help-copy strong,
body.theme-dark .shared-sidebar .profile-copy strong{color:var(--text,#f4f7fb)}

/* Shared photo-first avatar. A failed or missing photo reveals readable initials. */
.jill-user-avatar{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#DDF7F3;color:#075B59}
.jill-user-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.jill-user-avatar .jill-user-avatar-initials:not(.hidden){width:100%;height:100%;display:grid;place-items:center}
.shared-sidebar .profile-avatar{background:#DDF7F3;color:#075B59}
.shared-sidebar .profile-card .profile-avatar-initials{color:#075B59}

/* Step 8.4.5: green navigation cues and a neutral profile avatar. */
.shared-sidebar .nav-icon,
.shared-sidebar .nav-item:hover .nav-icon,
.shared-sidebar .nav-item.active .nav-icon{
  color:var(--green,#16A34A);
}
.shared-sidebar .profile-avatar{
  background:#E8F3EC;
  color:#2F7D4B;
  font-weight:400;
}
.shared-sidebar .profile-avatar .material-symbols-rounded{
  color:inherit;
  font-size:23px;
  font-variation-settings:'FILL' 0,'wght' 350,'GRAD' 0,'opsz' 24;
}
body.theme-dark .shared-sidebar .nav-icon,
body.theme-dark .shared-sidebar .nav-item:hover .nav-icon,
body.theme-dark .shared-sidebar .nav-item.active .nav-icon{color:var(--green,#58C27D)}
body.theme-dark .shared-sidebar .profile-avatar{background:#193A2A;color:#78D39A}

/* Global CRM refinement: premium Jill-blue navigation with reusable density tokens. */
body .shared-sidebar,
body.theme-dark .shared-sidebar{
  background:#032066;
  border-right-color:#173D82;
  color:#fff;
  gap:14px;
  padding:12px 10px 14px;
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-color:rgba(255,255,255,.28) transparent;
  scrollbar-width:thin;
}
.shared-sidebar .sidebar-brand{min-height:104px}
.shared-sidebar .sidebar-brand .sidebar-wordmark{
  width:min(190px,calc(100% - 36px));
  object-position:left center;
}
.shared-sidebar .sidebar-wordmark.is-jill-logo,
.shared-sidebar .sidebar-icon.is-jill-logo{background:transparent}
.shared-sidebar .sidebar-wordmark.is-custom-logo,
.shared-sidebar .sidebar-icon.is-custom-logo{
  padding:7px;
  border-radius:11px;
  background:rgba(255,255,255,.96);
  box-shadow:0 1px 5px rgba(1,13,44,.22);
}
.shared-sidebar .nav{gap:3px}
.shared-sidebar .nav-item,
body.theme-dark .shared-sidebar .nav-item{
  min-height:40px;
  padding:8px 12px;
  border-radius:10px;
  color:rgba(255,255,255,.84);
  font-size:13px;
  font-weight:500;
  transition:background-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.shared-sidebar .nav-icon,
.shared-sidebar .nav-item:hover .nav-icon,
body.theme-dark .shared-sidebar .nav-icon,
body.theme-dark .shared-sidebar .nav-item:hover .nav-icon{
  color:#79E4DB;
  opacity:1;
}
.shared-sidebar .nav-label,
.shared-sidebar .nav-lock{width:auto;color:inherit;text-align:left}
.shared-sidebar .nav-item:hover,
body.theme-dark .shared-sidebar .nav-item:hover{
  background:rgba(255,255,255,.11);
  color:#fff;
}
.shared-sidebar .nav-item.active,
body.theme-dark .shared-sidebar .nav-item.active{
  background:#fff;
  color:#032066;
  font-weight:650;
  box-shadow:0 5px 16px rgba(1,13,44,.2);
}
.shared-sidebar .nav-item.active .nav-icon,
body.theme-dark .shared-sidebar .nav-item.active .nav-icon{color:#0E8E86}
.shared-sidebar .nav-item.is-locked,
body.theme-dark .shared-sidebar .nav-item.is-locked{color:rgba(255,255,255,.62);opacity:1}
.shared-sidebar .nav-item.is-locked .nav-icon,
body.theme-dark .shared-sidebar .nav-item.is-locked .nav-icon{color:rgba(121,228,219,.62)}
.shared-sidebar .nav-item.is-locked:hover,
body.theme-dark .shared-sidebar .nav-item.is-locked:hover{background:transparent;color:rgba(255,255,255,.62)}
.shared-sidebar .sidebar-toggle,
body.theme-dark .shared-sidebar .sidebar-toggle{
  border-color:rgba(255,255,255,.24);
  background:rgba(3,32,102,.9);
  color:#fff;
  box-shadow:0 2px 8px rgba(1,13,44,.24);
}
.shared-sidebar .sidebar-toggle:hover,
body.theme-dark .shared-sidebar .sidebar-toggle:hover{background:#164183;color:#fff}
.shared-sidebar .screen-help-card,
.shared-sidebar .sidebar-usage-card,
body.theme-dark .shared-sidebar .screen-help-card,
body.theme-dark .shared-sidebar .sidebar-usage-card{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  box-shadow:none;
}
.shared-sidebar .screen-help-card{padding:11px;border-radius:13px}
.shared-sidebar .screen-help-card:hover,
.shared-sidebar .sidebar-usage-card:hover,
body.theme-dark .shared-sidebar .screen-help-card:hover,
body.theme-dark .shared-sidebar .sidebar-usage-card:hover{
  border-color:rgba(121,228,219,.62);
  background:rgba(255,255,255,.13);
  color:#fff;
}
.shared-sidebar .screen-help-icon,
body.theme-dark .shared-sidebar .screen-help-icon{background:#79E4DB;color:#032066}
.shared-sidebar .screen-help-arrow,
body.theme-dark .shared-sidebar .screen-help-arrow{color:#79E4DB}
.shared-sidebar .screen-help-copy strong,
.shared-sidebar .profile-copy strong,
body.theme-dark .shared-sidebar .screen-help-copy strong,
body.theme-dark .shared-sidebar .profile-copy strong{color:#fff}
.shared-sidebar .screen-help-copy small,
.shared-sidebar .sidebar-usage-copy small,
.shared-sidebar .profile-card span,
body.theme-dark .shared-sidebar .screen-help-copy small,
body.theme-dark .shared-sidebar .sidebar-usage-copy small,
body.theme-dark .shared-sidebar .profile-card span{color:rgba(255,255,255,.68)}
.shared-sidebar .sidebar-usage-card{padding:10px 11px}
.shared-sidebar .sidebar-usage-grid b,
body.theme-dark .shared-sidebar .sidebar-usage-grid b{color:#fff}
.shared-sidebar .sidebar-usage-track,
body.theme-dark .shared-sidebar .sidebar-usage-track{background:rgba(255,255,255,.18)}
.shared-sidebar .sidebar-usage-reset,
body.theme-dark .shared-sidebar .sidebar-usage-reset{border-top-color:rgba(255,255,255,.15)}
.shared-sidebar .sidebar-usage-card.usage-exceeded,
body.theme-dark .shared-sidebar .sidebar-usage-card.usage-exceeded{border-color:#F4BE74;background:rgba(186,102,17,.24)}
.shared-sidebar .sidebar-usage-card.usage-error,
body.theme-dark .shared-sidebar .sidebar-usage-card.usage-error{border-color:#F1A7A7}
.shared-sidebar .profile-card,
body.theme-dark .shared-sidebar .profile-card{border-top-color:rgba(255,255,255,.18);padding-top:14px}
.shared-sidebar .profile-link:hover,
body.theme-dark .shared-sidebar .profile-link:hover{background:rgba(255,255,255,.1)}
.shared-sidebar .profile-link.active,
body.theme-dark .shared-sidebar .profile-link.active{background:rgba(255,255,255,.16);color:#fff}
.shared-sidebar .profile-avatar,
body.theme-dark .shared-sidebar .profile-avatar{background:#DDF7F3;color:#075B59}
.shared-sidebar .sidebar-logout,
body.theme-dark .shared-sidebar .sidebar-logout{color:rgba(255,255,255,.78)}
.shared-sidebar .sidebar-logout:hover,
body.theme-dark .shared-sidebar .sidebar-logout:hover{color:#fff}
.shared-sidebar .nav-item:focus-visible,
.shared-sidebar .sidebar-toggle:focus-visible,
.shared-sidebar .screen-help-card:focus-visible,
.shared-sidebar .sidebar-usage-card:focus-visible,
.shared-sidebar .profile-link:focus-visible,
.shared-sidebar .sidebar-logout:focus-visible{
  outline:3px solid #79E4DB;
  outline-offset:2px;
}
body.crm-sidebar-collapsed .shared-sidebar .profile-card .profile-copy{display:none}

@media(min-width:1101px){
  .shared-sidebar .nav-icon{font-size:19px}
  .shared-sidebar .screen-help-icon{width:34px;height:34px;min-width:34px;font-size:21px}
  .shared-sidebar .profile-avatar{width:38px;height:38px;min-width:38px}
  .shared-sidebar .sidebar-usage-icon{font-size:19px}
  body.crm-sidebar-collapsed .shared-sidebar{padding-inline:8px}
  body.crm-sidebar-collapsed .app-shell,
  body.crm-sidebar-collapsed .builder-shell,
  body.crm-sidebar-collapsed .shell{grid-template-columns:74px minmax(0,1fr)}
  body.crm-sidebar-collapsed .shared-sidebar .nav-item{min-height:44px}
}
@media(max-width:1100px){
  .shared-sidebar{gap:14px;padding-left:12px;padding-right:12px}
  .shared-sidebar .nav-item{min-height:44px}
  .shared-sidebar .profile-card .profile-copy{display:none}
  .shared-sidebar .screen-help-card,
  .shared-sidebar .sidebar-usage-card{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  .shared-sidebar .nav-item,
  .shared-sidebar .sidebar-usage-track i{transition:none}
}

/* Keep fallback initials readable on Jill navy after all sidebar theme refinements. */
body .shared-sidebar .profile-avatar,
body.theme-dark .shared-sidebar .profile-avatar{background:#DDF7F3;color:#075B59;font-weight:700;letter-spacing:.02em}
body .shared-sidebar .profile-card .profile-avatar-initials,
body.theme-dark .shared-sidebar .profile-card .profile-avatar-initials{color:#075B59}
