/* V13.8 · Final surface lock: one navigation, no chat launcher, only meaningful preferences. */

html:not(.react-student-embedded) body #companionAvatarDock,
html:not(.react-student-embedded) body #companionDock,
html:not(.react-student-embedded) body #companionMini,
html:not(.react-student-embedded) body #companionPanel,
html:not(.react-student-embedded) body #companionAmbientStage,
html:not(.react-student-embedded) body #companionMiniBubble,
html:not(.react-student-embedded) body #companionExitModal {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html:not(.react-student-embedded) body .workspace-nav .menu-item[aria-hidden="true"],
html:not(.react-student-embedded) body .workspace-nav-group[aria-hidden="true"],
html:not(.react-student-embedded) body [data-target="settings"],
html:not(.react-student-embedded) body [data-panel-target="settings"],
html:not(.react-student-embedded) body .final-hidden-setting {
  display: none !important;
}

html:not(.react-student-embedded) body .sidebar-account-button {
  grid-template-columns: 36px minmax(0, 1fr) !important;
}

html:not(.react-student-embedded) body .sidebar-account-button > i {
  display: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="my"] .engineer-dossier-summary-actions {
  justify-content: flex-end !important;
}

html:not(.react-student-embedded) body[data-active-panel="settings"] .user-settings-grid {
  align-items: start !important;
}

html:not(.react-student-embedded) body[data-active-panel="settings"] .final-hidden-setting {
  display: none !important;
}

@media (max-width: 760px) {
  html:not(.react-student-embedded) body .sidebar-account-button {
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }
}
