.selection-drawer-layout { grid-template-columns: minmax(0, 1fr) !important; }
body.premium-m365-page #m365-users { grid-template-columns: minmax(0, 1fr) !important; }
.selection-drawer-layout > :not(.selection-drawer) { min-width: 0; }
html body .selection-drawer.selection-drawer {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  width: min(440px, 100vw) !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  overflow: auto !important;
  overscroll-behavior: contain;
  z-index: 1200 !important;
  background: #fff;
  box-shadow: -12px 0 36px #18233426;
  visibility: hidden !important;
  transform: translateX(100%) !important;
  transition: transform 180ms ease, visibility 0s 180ms !important;
  padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
  overflow-wrap: anywhere;
}
html body .selection-drawer.selection-drawer-open {
  display: block !important;
  visibility: visible !important;
  transform: translateX(0) !important;
  transition-delay: 0s !important;
}
body .selection-drawer-toolbar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 16px; margin: 0;
  background: #fff; border-bottom: 1px solid #dce3ec;
  color: #263345; font-size: 14px; font-weight: 600;
}
body .selection-drawer-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; flex: 0 0 36px;
  border: 1px solid #dce3ec; border-radius: 6px;
  background: #fff; color: #263345; cursor: pointer;
}
.selection-drawer-close svg { width: 18px; height: 18px; }
.selection-drawer-close > span { font-size: 22px; line-height: 1; }
.selection-drawer-trigger { cursor: pointer; }
.selection-drawer-trigger:focus-visible, .selection-drawer-close:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }
html[data-theme=dark] .selection-drawer,
html[data-theme=dark] .selection-drawer-toolbar,
html[data-theme=dark] .selection-drawer-close { background: #18212b; color: #edf2f7; border-color: #394452; }
@media (prefers-reduced-motion: reduce) { body .selection-drawer { transition: none !important; } }
@media print { body .selection-drawer { display: none !important; } }
