/* V110 — compact Feishu-style sidebar account dock. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body[data-active-panel]
    .shell > .sidebar.sidebar {
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 12px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell > .sidebar.sidebar > .menu.workspace-nav {
    flex: 0 1 auto !important;
    margin-bottom: auto !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell > .sidebar.sidebar > .sidebar-bottom-zone,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell:hover > .sidebar.sidebar > .sidebar-bottom-zone,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell:has(> .sidebar:hover) > .sidebar.sidebar > .sidebar-bottom-zone {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: auto 0 0 !important;
    padding: 0 12px !important;
    background: transparent !important;
    border: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .sidebar .sidebar-bottom-zone::before,
  html:not(.react-student-embedded) body[data-active-panel]
    .sidebar .sidebar-bottom-zone::after,
  html:not(.react-student-embedded) body[data-active-panel]
    .sidebar .sidebar-account-card::before,
  html:not(.react-student-embedded) body[data-active-panel]
    .sidebar .sidebar-account-card::after {
    content: none !important;
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded:hover > .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded:has(> .sidebar:hover) > .sidebar .sidebar-account-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar #sidebarAccountBtn.sidebar-account-button,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded:hover > .sidebar #sidebarAccountBtn.sidebar-account-button,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded:has(> .sidebar:hover) > .sidebar #sidebarAccountBtn.sidebar-account-button {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) 24px !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    color: #1f2937 !important;
    text-align: left !important;
    background: rgba(241, 245, 249, 0.82) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 140ms ease, border-color 140ms ease !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar #sidebarAccountBtn.sidebar-account-button:hover,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar #sidebarAccountBtn.sidebar-account-button:focus-visible {
    background: #eef2f7 !important;
    border-color: rgba(100, 116, 139, 0.24) !important;
    box-shadow: none !important;
    outline: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar #sidebarAccountAvatar.sidebar-account-avatar,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded:hover > .sidebar #sidebarAccountAvatar.sidebar-account-avatar,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded:has(> .sidebar:hover) > .sidebar #sidebarAccountAvatar.sidebar-account-avatar {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    inline-size: 36px !important;
    block-size: 36px !important;
    flex: 0 0 36px !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar .sidebar-account-copy {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar .sidebar-account-copy strong {
    overflow: hidden !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 18px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar .sidebar-account-copy small {
    display: block !important;
    overflow: hidden !important;
    color: #8a97a8 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 14px !important;
    opacity: 1 !important;
    text-overflow: ellipsis !important;
    visibility: visible !important;
    white-space: nowrap !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar #sidebarAccountBtn.sidebar-account-button > i {
    display: grid !important;
    width: 24px !important;
    height: 24px !important;
    place-items: center !important;
    color: #7b8798 !important;
    font-size: 13px !important;
    font-style: normal !important;
    background: transparent !important;
    border-radius: 7px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed > .sidebar > .sidebar-bottom-zone,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed:hover > .sidebar > .sidebar-bottom-zone,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed:has(> .sidebar:hover) > .sidebar > .sidebar-bottom-zone {
    display: grid !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    place-items: center !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed > .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed:hover > .sidebar .sidebar-account-card {
    display: grid !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    place-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed > .sidebar #sidebarAccountBtn.sidebar-account-button,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed:hover > .sidebar #sidebarAccountBtn.sidebar-account-button {
    display: grid !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 4px !important;
    place-items: center !important;
    background: rgba(241, 245, 249, 0.82) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed > .sidebar #sidebarAccountAvatar.sidebar-account-avatar,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed:hover > .sidebar #sidebarAccountAvatar.sidebar-account-avatar {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    inline-size: 34px !important;
    block-size: 34px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed > .sidebar .sidebar-account-copy,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed:hover > .sidebar .sidebar-account-copy,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed > .sidebar #sidebarAccountBtn > i,
  html:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed:hover > .sidebar #sidebarAccountBtn > i {
    display: none !important;
  }

  html[data-theme="dark"]:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar #sidebarAccountBtn.sidebar-account-button,
  html[data-theme="dark"]:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-collapsed > .sidebar #sidebarAccountBtn.sidebar-account-button {
    color: #e5edf8 !important;
    background: rgba(30, 41, 59, 0.72) !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
  }

  html[data-theme="dark"]:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar .sidebar-account-copy strong {
    color: #e5edf8 !important;
  }

  html[data-theme="dark"]:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar .sidebar-account-copy small,
  html[data-theme="dark"]:not(.react-student-embedded) body[data-active-panel]
    .shell.sidebar-expanded > .sidebar #sidebarAccountBtn > i {
    color: #94a3b8 !important;
  }
}
