#adminSettingsSheet .admin-settings-panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 90vh;
  height: 90dvh;
  max-height: 90vh;
  max-height: 90dvh;
  min-height: 0;
  overflow: hidden;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}

#adminSettingsSheet .sheet-handle,
#adminSettingsSheet .sheet-head {
  flex: 0 0 auto;
}

#adminSettingsSheet .device-admin {
  box-sizing: border-box;
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(36px, env(safe-area-inset-bottom));
  scrollbar-width: thin;
}

#adminSettingsSheet .device-list {
  padding-bottom: 16px;
}

#adminSettingsSheet .device-row {
  min-height: 68px;
}
